@syncfusion/ej2-react-documenteditor 20.4.54 → 21.1.37
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 +46 -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 +9 -9
- 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/styles/bootstrap-dark.css +64 -21
- package/styles/bootstrap.css +60 -17
- package/styles/bootstrap4.css +74 -28
- package/styles/bootstrap5-dark.css +84 -37
- package/styles/bootstrap5.css +84 -37
- package/styles/document-editor/bootstrap-dark.css +6 -2
- package/styles/document-editor/bootstrap.css +6 -2
- package/styles/document-editor/bootstrap4.css +8 -4
- package/styles/document-editor/bootstrap5-dark.css +25 -17
- package/styles/document-editor/bootstrap5.css +25 -17
- package/styles/document-editor/fabric-dark.css +6 -2
- package/styles/document-editor/fabric.css +6 -2
- package/styles/document-editor/fluent-dark.css +40 -27
- package/styles/document-editor/fluent.css +40 -27
- package/styles/document-editor/highcontrast-light.css +4 -0
- package/styles/document-editor/highcontrast.css +6 -2
- package/styles/document-editor/material-dark.css +6 -2
- package/styles/document-editor/material.css +6 -2
- package/styles/document-editor/tailwind-dark.css +22 -17
- package/styles/document-editor/tailwind.css +25 -17
- package/styles/document-editor-container/bootstrap-dark.css +58 -19
- package/styles/document-editor-container/bootstrap.css +54 -15
- package/styles/document-editor-container/bootstrap4.css +66 -24
- package/styles/document-editor-container/bootstrap5-dark.css +59 -20
- package/styles/document-editor-container/bootstrap5.css +59 -20
- package/styles/document-editor-container/fabric-dark.css +58 -19
- package/styles/document-editor-container/fabric.css +58 -19
- package/styles/document-editor-container/fluent-dark.css +63 -27
- package/styles/document-editor-container/fluent.css +63 -27
- package/styles/document-editor-container/highcontrast-light.css +58 -19
- package/styles/document-editor-container/highcontrast.css +58 -19
- package/styles/document-editor-container/material-dark.css +58 -19
- package/styles/document-editor-container/material.css +57 -18
- package/styles/document-editor-container/tailwind-dark.css +58 -19
- package/styles/document-editor-container/tailwind.css +58 -19
- package/styles/fabric-dark.css +64 -21
- package/styles/fabric.css +64 -21
- package/styles/fluent-dark.css +103 -54
- package/styles/fluent.css +103 -54
- package/styles/highcontrast-light.css +62 -19
- package/styles/highcontrast.css +64 -21
- package/styles/material-dark.css +64 -21
- package/styles/material.css +63 -20
- package/styles/tailwind-dark.css +80 -36
- package/styles/tailwind.css +83 -36
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +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.
|
|
14
|
+
|
|
15
|
+
- `#425697` - Resolved the positioning and line spacing issue in shape document
|
|
16
|
+
|
|
17
|
+
#### Breaking Changes
|
|
18
|
+
|
|
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).
|
|
20
|
+
|
|
21
|
+
#### New Features
|
|
22
|
+
|
|
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.
|
|
28
|
+
|
|
29
|
+
## 21.1.35 (2023-03-23)
|
|
30
|
+
|
|
31
|
+
### Document Editor
|
|
32
|
+
|
|
33
|
+
#### Breaking Changes
|
|
34
|
+
|
|
35
|
+
- 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
|
+
|
|
37
|
+
#### Bug Fixes
|
|
38
|
+
|
|
39
|
+
- `#425697` - Resolved the positioning and line spacing issue in shape document
|
|
40
|
+
|
|
41
|
+
#### New Features
|
|
42
|
+
|
|
43
|
+
- `#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.
|
|
44
|
+
- `#I422408`, `#I435125` - Optimized SFDT file to reduce the file size relative to a Docx file.
|
|
45
|
+
- `#I330729`, `#I256794` - Added support to display bookmark start and end in DocumentEditor.
|
|
46
|
+
- `#I333042`, `#I349829` - Added support disable the auto focus to DocumentEditor.
|
|
47
|
+
- `#I175038` - Added API to modify the predefine styles in DocumentEditor.
|
|
48
|
+
|
|
49
|
+
## 20.4.54 (2023-03-14)
|
|
50
|
+
|
|
51
|
+
### Document Editor
|
|
52
|
+
|
|
53
|
+
#### Bug Fixes
|
|
54
|
+
|
|
9
55
|
- `#I436974` - Combined the next paragraph while removing the paragraph mark.
|
|
10
56
|
- `#I436444` - Resolved the control hanging issue when editing inside table.
|
|
11
57
|
- `#I442823` - Restricted text inserting issue when restrict editing is in enabled state.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-react-documenteditor.min.js
|
|
3
|
-
* version :
|
|
3
|
+
* version : 21.1.37
|
|
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.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.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.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)}])});
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-react-documenteditor.umd.min.js
|
|
3
|
-
* version :
|
|
3
|
+
* version : 21.1.37
|
|
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.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.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.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})});
|
|
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.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.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","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.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,KAAKS,kBAAqBT,KAAKgB,aAAgBhB,KAAKiB,oBAKvE,OAAOC,gBAAoB,MAAOlB,KAAKmB,0BAA2BC,OAAOpB,KAAKM,MAAMe,SAAUrB,KAAKa,UAJnGR,EAAOH,UAAUY,OAAON,KAAKR,MAC7BA,KAAKS,kBAAmB,GAMzBL,GACTkB,kBACFC,cACYnB,GAA0BoB,gBAAeC,cC7CrD,IAAIpC,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,GAsBxC2B,EAAkD,SAAUrB,GAE5D,SAASqB,EAAiCpB,GACtC,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,EAAUqC,EAAkCrB,GAU5CqB,EAAiCxB,UAAUY,OAAS,WAChD,KAAMd,KAAKe,UAAYf,KAAKS,kBAAqBT,KAAKgB,aAAgBhB,KAAKiB,oBAKvE,OAAOC,gBAAoB,MAAOlB,KAAKmB,0BAA2BC,OAAOpB,KAAKM,MAAMe,SAAUrB,KAAKa,UAJnGR,EAAOH,UAAUY,OAAON,KAAKR,MAC7BA,KAAKS,kBAAmB,GAMzBiB,GACTC,2BACFJ,cACYG,GAAmCF,gBAAeC"}
|
|
@@ -13,6 +13,7 @@ class DocumentEditorComponent extends DocumentEditor {
|
|
|
13
13
|
super(props);
|
|
14
14
|
this.initRenderCalled = false;
|
|
15
15
|
this.checkInjectedModules = true;
|
|
16
|
+
this.statelessTemplateProps = null;
|
|
16
17
|
this.immediateRender = true;
|
|
17
18
|
this.portals = [];
|
|
18
19
|
}
|
|
@@ -39,6 +40,7 @@ class DocumentEditorContainerComponent extends DocumentEditorContainer {
|
|
|
39
40
|
super(props);
|
|
40
41
|
this.initRenderCalled = false;
|
|
41
42
|
this.checkInjectedModules = true;
|
|
43
|
+
this.statelessTemplateProps = null;
|
|
42
44
|
this.immediateRender = true;
|
|
43
45
|
this.portals = [];
|
|
44
46
|
}
|
|
@@ -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.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.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,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.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;;ACzBvE;;;;;;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,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@
|
|
3
|
+
"_id": "@syncfusion/ej2-react-documenteditor@19.61.0",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-3UdXKJ6qvPwHpbFeD4FepEV4EQX7swDwvsGlVxGJdb2FEBjasLlj2XoqcI7Jmeieg0EAFhf9wGPSbLg+BmNDWQ==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-react-documenteditor",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"_requiredBy": [
|
|
20
20
|
"/"
|
|
21
21
|
],
|
|
22
|
-
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-react-documenteditor/-/ej2-react-documenteditor-
|
|
23
|
-
"_shasum": "
|
|
22
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-react-documenteditor/-/ej2-react-documenteditor-19.61.0.tgz",
|
|
23
|
+
"_shasum": "a9bb81fa9f67d77656de6de6dfa21f13ac121105",
|
|
24
24
|
"_spec": "@syncfusion/ej2-react-documenteditor@*",
|
|
25
|
-
"_where": "/jenkins/workspace/
|
|
25
|
+
"_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
|
|
26
26
|
"author": {
|
|
27
27
|
"name": "Syncfusion Inc."
|
|
28
28
|
},
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
},
|
|
32
32
|
"bundleDependencies": false,
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@syncfusion/ej2-base": "~
|
|
35
|
-
"@syncfusion/ej2-documenteditor": "
|
|
36
|
-
"@syncfusion/ej2-react-base": "~
|
|
34
|
+
"@syncfusion/ej2-base": "~21.1.37",
|
|
35
|
+
"@syncfusion/ej2-documenteditor": "21.1.37",
|
|
36
|
+
"@syncfusion/ej2-react-base": "~21.1.37"
|
|
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": "
|
|
56
|
+
"version": "21.1.37",
|
|
57
57
|
"sideEffects": false
|
|
58
58
|
}
|
|
@@ -15,6 +15,7 @@ export declare class DocumentEditorComponent extends DocumentEditor {
|
|
|
15
15
|
private getDefaultAttributes;
|
|
16
16
|
initRenderCalled: boolean;
|
|
17
17
|
private checkInjectedModules;
|
|
18
|
+
private statelessTemplateProps;
|
|
18
19
|
private immediateRender;
|
|
19
20
|
props: Readonly<{
|
|
20
21
|
children?: React.ReactNode | React.ReactNode[];
|
|
@@ -26,6 +26,7 @@ var DocumentEditorComponent = /** @class */ (function (_super) {
|
|
|
26
26
|
var _this = _super.call(this, props) || this;
|
|
27
27
|
_this.initRenderCalled = false;
|
|
28
28
|
_this.checkInjectedModules = true;
|
|
29
|
+
_this.statelessTemplateProps = null;
|
|
29
30
|
_this.immediateRender = true;
|
|
30
31
|
_this.portals = [];
|
|
31
32
|
return _this;
|
|
@@ -15,6 +15,7 @@ export declare class DocumentEditorContainerComponent extends DocumentEditorCont
|
|
|
15
15
|
private getDefaultAttributes;
|
|
16
16
|
initRenderCalled: boolean;
|
|
17
17
|
private checkInjectedModules;
|
|
18
|
+
private statelessTemplateProps;
|
|
18
19
|
private immediateRender;
|
|
19
20
|
props: Readonly<{
|
|
20
21
|
children?: React.ReactNode | React.ReactNode[];
|
|
@@ -26,6 +26,7 @@ var DocumentEditorContainerComponent = /** @class */ (function (_super) {
|
|
|
26
26
|
var _this = _super.call(this, props) || this;
|
|
27
27
|
_this.initRenderCalled = false;
|
|
28
28
|
_this.checkInjectedModules = true;
|
|
29
|
+
_this.statelessTemplateProps = null;
|
|
29
30
|
_this.immediateRender = true;
|
|
30
31
|
_this.portals = [];
|
|
31
32
|
return _this;
|
|
@@ -43,6 +43,10 @@
|
|
|
43
43
|
font-family: "e-icons";
|
|
44
44
|
font-size: 13px;
|
|
45
45
|
}
|
|
46
|
+
.e-documenteditor .e-de-multi-cmt-mark::before {
|
|
47
|
+
content: "\e98a";
|
|
48
|
+
font-family: "e-icons";
|
|
49
|
+
}
|
|
46
50
|
.e-documenteditor .e-de-cmt-post::before {
|
|
47
51
|
content: "\e816";
|
|
48
52
|
font-family: "e-icons";
|
|
@@ -1690,7 +1694,7 @@ label[for*=_wholeWord_e-de-rtl] {
|
|
|
1690
1694
|
|
|
1691
1695
|
.e-de-restrict-pane,
|
|
1692
1696
|
.e-de-op {
|
|
1693
|
-
background
|
|
1697
|
+
background: #1a1a1a;
|
|
1694
1698
|
}
|
|
1695
1699
|
|
|
1696
1700
|
.e-de-restrict-pane .e-tab-header .e-toolbar-items,
|
|
@@ -2383,7 +2387,7 @@ label[for*=_wholeWord_e-de-rtl] {
|
|
|
2383
2387
|
margin-right: 20px;
|
|
2384
2388
|
}
|
|
2385
2389
|
|
|
2386
|
-
.e-de-style-
|
|
2390
|
+
.e-de-style-dlg-name-input {
|
|
2387
2391
|
height: 32px;
|
|
2388
2392
|
}
|
|
2389
2393
|
|
|
@@ -4345,7 +4349,7 @@ label[for*=_wholeWord_e-de-rtl] {
|
|
|
4345
4349
|
}
|
|
4346
4350
|
|
|
4347
4351
|
.e-de-statusbar-pageweb {
|
|
4348
|
-
background
|
|
4352
|
+
background: #1a1a1a;
|
|
4349
4353
|
border: 0;
|
|
4350
4354
|
box-shadow: none;
|
|
4351
4355
|
float: right;
|
|
@@ -4374,12 +4378,22 @@ label[for*=_wholeWord_e-de-rtl] {
|
|
|
4374
4378
|
font-size: 16px;
|
|
4375
4379
|
}
|
|
4376
4380
|
|
|
4381
|
+
.e-listview .e-list-icon {
|
|
4382
|
+
height: 24px;
|
|
4383
|
+
width: 16px;
|
|
4384
|
+
margin-right: 12px;
|
|
4385
|
+
}
|
|
4386
|
+
|
|
4387
|
+
.e-de-listview-icon {
|
|
4388
|
+
line-height: 22px;
|
|
4389
|
+
}
|
|
4390
|
+
|
|
4377
4391
|
.e-de-linespacing {
|
|
4378
4392
|
margin-top: 6px;
|
|
4379
4393
|
}
|
|
4380
4394
|
|
|
4381
4395
|
.e-de-statusbar-zoom {
|
|
4382
|
-
background
|
|
4396
|
+
background: #1a1a1a;
|
|
4383
4397
|
border: 0;
|
|
4384
4398
|
color: #fff;
|
|
4385
4399
|
float: right;
|
|
@@ -4487,7 +4501,7 @@ label[for*=_wholeWord_e-de-rtl] {
|
|
|
4487
4501
|
|
|
4488
4502
|
.e-de-tool-ctnr-properties-pane,
|
|
4489
4503
|
.e-de-ctnr-properties-pane {
|
|
4490
|
-
background
|
|
4504
|
+
background: #1a1a1a;
|
|
4491
4505
|
border-bottom: 1px solid #505050;
|
|
4492
4506
|
border-top: 1px solid #505050;
|
|
4493
4507
|
}
|
|
@@ -4597,7 +4611,7 @@ label[for*=_wholeWord_e-de-rtl] {
|
|
|
4597
4611
|
margin: 0 5.5px;
|
|
4598
4612
|
}
|
|
4599
4613
|
.e-de-toolbar.e-toolbar .e-toolbar-items .e-toolbar-item.e-de-toolbar-btn-start {
|
|
4600
|
-
margin-left: 12px;
|
|
4614
|
+
margin-left: 12px !important;
|
|
4601
4615
|
margin-right: 6px;
|
|
4602
4616
|
}
|
|
4603
4617
|
.e-de-toolbar.e-toolbar .e-toolbar-items .e-toolbar-item.e-de-toolbar-btn-middle {
|
|
@@ -4613,20 +4627,23 @@ label[for*=_wholeWord_e-de-rtl] {
|
|
|
4613
4627
|
}
|
|
4614
4628
|
|
|
4615
4629
|
.e-de-toolbar.e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn {
|
|
4630
|
+
-ms-flex-direction: column;
|
|
4631
|
+
flex-direction: column;
|
|
4632
|
+
height: calc(100% - 10px);
|
|
4616
4633
|
padding: 0;
|
|
4617
|
-
padding-bottom:
|
|
4634
|
+
padding-bottom: 5px;
|
|
4618
4635
|
}
|
|
4619
4636
|
.e-de-toolbar.e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn:focus {
|
|
4620
4637
|
padding: 0;
|
|
4621
|
-
padding-bottom:
|
|
4638
|
+
padding-bottom: 5px;
|
|
4622
4639
|
}
|
|
4623
4640
|
.e-de-toolbar.e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn:active {
|
|
4624
4641
|
padding: 0;
|
|
4625
|
-
padding-bottom:
|
|
4642
|
+
padding-bottom: 5px;
|
|
4626
4643
|
}
|
|
4627
4644
|
.e-de-toolbar.e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn:hover {
|
|
4628
4645
|
padding: 0;
|
|
4629
|
-
padding-bottom:
|
|
4646
|
+
padding-bottom: 5px;
|
|
4630
4647
|
}
|
|
4631
4648
|
|
|
4632
4649
|
.e-de-toolbar.e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn .e-tbar-btn-text {
|
|
@@ -4655,7 +4672,7 @@ label[for*=_wholeWord_e-de-rtl] {
|
|
|
4655
4672
|
}
|
|
4656
4673
|
|
|
4657
4674
|
.e-de-ctnr-properties-pane-btn .e-btn {
|
|
4658
|
-
background
|
|
4675
|
+
background: #131313;
|
|
4659
4676
|
border-radius: 0;
|
|
4660
4677
|
box-shadow: none;
|
|
4661
4678
|
color: #0070f0;
|
|
@@ -4697,6 +4714,7 @@ label[for*=_wholeWord_e-de-rtl] {
|
|
|
4697
4714
|
.e-de-toolbar.e-toolbar .e-toolbar-items .e-toolbar-item button.e-btn.e-tbtn-txt .e-icons.e-btn-icon,
|
|
4698
4715
|
.e-de-toolbar.e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn.e-tbtn-txt .e-icons.e-btn-icon {
|
|
4699
4716
|
padding: 0 !important;
|
|
4717
|
+
min-height: 16px;
|
|
4700
4718
|
}
|
|
4701
4719
|
|
|
4702
4720
|
.e-de-hdr-ftr-frst-div {
|
|
@@ -5051,8 +5069,8 @@ label[for*=_wholeWord_e-de-rtl] {
|
|
|
5051
5069
|
border: 1px solid #505050;
|
|
5052
5070
|
color: #acacac;
|
|
5053
5071
|
height: 129px;
|
|
5054
|
-
margin-left: 78px;
|
|
5055
5072
|
width: 94px;
|
|
5073
|
+
margin-left: 78px;
|
|
5056
5074
|
}
|
|
5057
5075
|
|
|
5058
5076
|
.e-de-toc-template1.e-de-rtl {
|
|
@@ -5107,7 +5125,7 @@ label[for*=_wholeWord_e-de-rtl] {
|
|
|
5107
5125
|
}
|
|
5108
5126
|
|
|
5109
5127
|
.e-de-status-bar {
|
|
5110
|
-
background
|
|
5128
|
+
background: #1a1a1a;
|
|
5111
5129
|
display: -ms-flexbox;
|
|
5112
5130
|
display: flex;
|
|
5113
5131
|
padding-top: 2.5px;
|
|
@@ -5240,8 +5258,8 @@ label[for*=_wholeWord_e-de-rtl] {
|
|
|
5240
5258
|
}
|
|
5241
5259
|
|
|
5242
5260
|
.e-de-grp-btn-ctnr .e-de-ctnr-group-btn > button {
|
|
5243
|
-
height: 38px;
|
|
5244
5261
|
width: 38px;
|
|
5262
|
+
height: 38px;
|
|
5245
5263
|
}
|
|
5246
5264
|
|
|
5247
5265
|
.e-bigger .e-de-grp-btn-ctnr .e-de-ctnr-group-btn > button {
|
|
@@ -5253,6 +5271,15 @@ label[for*=_wholeWord_e-de-rtl] {
|
|
|
5253
5271
|
width: 70px;
|
|
5254
5272
|
}
|
|
5255
5273
|
|
|
5274
|
+
.e-rtl .e-listview .e-list-icon {
|
|
5275
|
+
height: 24px;
|
|
5276
|
+
width: 16px;
|
|
5277
|
+
margin-left: 12px;
|
|
5278
|
+
}
|
|
5279
|
+
.e-rtl .e-de-listview-icon {
|
|
5280
|
+
line-height: 22px;
|
|
5281
|
+
}
|
|
5282
|
+
|
|
5256
5283
|
.e-bigger .de-split-button > div:first-child {
|
|
5257
5284
|
margin-right: 16px;
|
|
5258
5285
|
}
|
|
@@ -5374,7 +5401,7 @@ label[for*=_wholeWord_e-de-rtl] {
|
|
|
5374
5401
|
margin: 0 7.5px;
|
|
5375
5402
|
}
|
|
5376
5403
|
.e-bigger .e-de-toolbar.e-toolbar .e-toolbar-items .e-toolbar-item.e-de-toolbar-btn-start {
|
|
5377
|
-
margin-left: 16px;
|
|
5404
|
+
margin-left: 16px !important;
|
|
5378
5405
|
margin-right: 8px;
|
|
5379
5406
|
}
|
|
5380
5407
|
.e-bigger .e-de-toolbar.e-toolbar .e-toolbar-items .e-toolbar-item.e-de-toolbar-btn-middle {
|
|
@@ -5391,22 +5418,22 @@ label[for*=_wholeWord_e-de-rtl] {
|
|
|
5391
5418
|
.e-bigger .e-de-toolbar.e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn,
|
|
5392
5419
|
.e-bigger .e-de-toolbar.e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn.e-control {
|
|
5393
5420
|
padding: 0;
|
|
5394
|
-
padding-bottom:
|
|
5421
|
+
padding-bottom: 5px;
|
|
5395
5422
|
}
|
|
5396
5423
|
.e-bigger .e-de-toolbar.e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn:focus,
|
|
5397
5424
|
.e-bigger .e-de-toolbar.e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn.e-control:focus {
|
|
5398
5425
|
padding: 0;
|
|
5399
|
-
padding-bottom:
|
|
5426
|
+
padding-bottom: 5px;
|
|
5400
5427
|
}
|
|
5401
5428
|
.e-bigger .e-de-toolbar.e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn:active,
|
|
5402
5429
|
.e-bigger .e-de-toolbar.e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn.e-control:active {
|
|
5403
5430
|
padding: 0;
|
|
5404
|
-
padding-bottom:
|
|
5431
|
+
padding-bottom: 5px;
|
|
5405
5432
|
}
|
|
5406
5433
|
.e-bigger .e-de-toolbar.e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn:hover,
|
|
5407
5434
|
.e-bigger .e-de-toolbar.e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn.e-control:hover {
|
|
5408
5435
|
padding: 0;
|
|
5409
|
-
padding-bottom:
|
|
5436
|
+
padding-bottom: 5px;
|
|
5410
5437
|
}
|
|
5411
5438
|
.e-bigger .e-de-toolbar.e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn .e-tbar-btn-text {
|
|
5412
5439
|
padding: 0 !important;
|
|
@@ -5422,7 +5449,7 @@ label[for*=_wholeWord_e-de-rtl] {
|
|
|
5422
5449
|
width: 75px;
|
|
5423
5450
|
}
|
|
5424
5451
|
.e-bigger .e-de-ctnr-properties-pane-btn .e-btn {
|
|
5425
|
-
background
|
|
5452
|
+
background: #131313;
|
|
5426
5453
|
border-radius: 0;
|
|
5427
5454
|
box-shadow: none;
|
|
5428
5455
|
min-height: 100%;
|
|
@@ -5450,7 +5477,7 @@ label[for*=_wholeWord_e-de-rtl] {
|
|
|
5450
5477
|
}
|
|
5451
5478
|
.e-bigger .e-de-toolbar.e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn-text {
|
|
5452
5479
|
display: table;
|
|
5453
|
-
font-size: 12px;
|
|
5480
|
+
font-size: 12px !important;
|
|
5454
5481
|
margin: 0 6px;
|
|
5455
5482
|
padding: 0;
|
|
5456
5483
|
white-space: normal;
|
|
@@ -5606,6 +5633,22 @@ label[for*=_wholeWord_e-de-rtl] {
|
|
|
5606
5633
|
height: 0;
|
|
5607
5634
|
line-height: 0;
|
|
5608
5635
|
}
|
|
5636
|
+
.e-bigger .e-listview .e-list-icon {
|
|
5637
|
+
height: 24px;
|
|
5638
|
+
width: 16px;
|
|
5639
|
+
margin-right: 16px;
|
|
5640
|
+
}
|
|
5641
|
+
.e-bigger .e-de-listview-icon {
|
|
5642
|
+
line-height: 22px;
|
|
5643
|
+
}
|
|
5644
|
+
.e-bigger .e-rtl .e-listview .e-list-icon {
|
|
5645
|
+
height: 24px;
|
|
5646
|
+
width: 16px;
|
|
5647
|
+
margin-left: 16px;
|
|
5648
|
+
}
|
|
5649
|
+
.e-bigger .e-rtl .e-de-listview-icon {
|
|
5650
|
+
line-height: 22px;
|
|
5651
|
+
}
|
|
5609
5652
|
|
|
5610
5653
|
.e-de-ctn .e-de-bzr-button {
|
|
5611
5654
|
font-size: 12px;
|