@syncfusion/ej2-react-documenteditor
Advanced tools
Comparing version 16.3.34 to 16.4.40-beta
@@ -7,2 +7,12 @@ # Changelog | ||
#### New Features | ||
- Added support for Right-to-left flow direction in control. | ||
- Added support for table auto fit layout. | ||
- Added Document Editor Container component for toolbar and properties pane. | ||
## 16.3.33 (2018-11-20) | ||
### Document Editor | ||
#### Bug Fixes | ||
@@ -9,0 +19,0 @@ |
@@ -14,3 +14,4 @@ { | ||
"document-editor", | ||
"word-editor" | ||
"word-editor", | ||
"ej2-documenteditor-container" | ||
], | ||
@@ -95,4 +96,37 @@ "angular": [ | ||
] | ||
}, | ||
{ | ||
"baseClass": "DocumentEditorContainer", | ||
"directoryName": "document-editor-container", | ||
"type": "simple", | ||
"defaultTag": "<documenteditor-container id='container'></documenteditor-container>", | ||
"dynamicModules": [ | ||
"Toolbar" | ||
], | ||
"comment": [ | ||
"/**", | ||
" * `ejs-documenteditor-container` represents the Angular Document Editor Container.", | ||
" * ```html", | ||
" * <ejs-documenteditor-container></ejs-documenteditor-container>", | ||
" * ```", | ||
" */" | ||
], | ||
"reactComment": [ | ||
"/**", | ||
" * Represents react Document Editor Container", | ||
" * ```ts", | ||
" * <DocumentEditorContainer></DocumentEditorContainer>", | ||
" * ```", | ||
" */" | ||
], | ||
"vueComment": [ | ||
"/**", | ||
" * Represents the Essential JS 2 VueJS Document Editor Container", | ||
" * ```html", | ||
" * <ejs-documenteditor-container id='container'></ejs-documenteditor-container>", | ||
" * ```", | ||
" */" | ||
] | ||
} | ||
] | ||
} |
/*! | ||
* filename: ej2-react-documenteditor.umd.min.js | ||
* version : 16.3.34 | ||
* version : 16.4.40-beta | ||
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved. | ||
@@ -12,3 +12,3 @@ * Use of this code is subject to the terms of our license. | ||
* filename: ej2-react-documenteditor.umd.min.js | ||
* version : 16.3.30 | ||
* version : 16.3.34 | ||
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved. | ||
@@ -21,3 +21,3 @@ * Use of this code is subject to the terms of our license. | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("@syncfusion/ej2-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,o){"use strict";var r=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 o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),i=function(e){function n(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n}return r(n,e),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing))return t.createElement("div",this.getDefaultAttributes(),this.props.children);e.prototype.render.call(this),this.initRenderCalled=!0},n}(n.DocumentEditor);o.applyMixins(i,[o.ComponentBase,t.PureComponent]),e.Inject=o.Inject,e.DocumentEditorComponent=i,Object.keys(n).forEach(function(t){e[t]=n[t]}),Object.defineProperty(e,"__esModule",{value:!0})}); | ||
!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}return o(n,e),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing))return t.createElement("div",this.getDefaultAttributes(),this.props.children);e.prototype.render.call(this),this.initRenderCalled=!0},n}(n.DocumentEditor);r.applyMixins(i,[r.ComponentBase,t.PureComponent]);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)}}(),u=function(e){function n(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n}return c(n,e),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing))return t.createElement("div",this.getDefaultAttributes(),this.props.children);e.prototype.render.call(this),this.initRenderCalled=!0},n}(n.DocumentEditorContainer);r.applyMixins(u,[r.ComponentBase,t.PureComponent]),e.Inject=r.Inject,e.DocumentEditorComponent=i,e.DocumentEditorContainerComponent=u,Object.keys(n).forEach(function(t){e[t]=n[t]}),Object.defineProperty(e,"__esModule",{value:!0})}); | ||
//# sourceMappingURL=ej2-react-documenteditor.umd.min.js.map |
import { PureComponent, createElement } from 'react'; | ||
import { DocumentEditor } from '@syncfusion/ej2-documenteditor'; | ||
import { DocumentEditor, DocumentEditorContainer } from '@syncfusion/ej2-documenteditor'; | ||
import { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base'; | ||
@@ -29,5 +29,29 @@ | ||
export { DocumentEditorComponent }; | ||
/** | ||
* Represents react Document Editor Container | ||
* ```ts | ||
* <DocumentEditorContainer></DocumentEditorContainer> | ||
* ``` | ||
*/ | ||
class DocumentEditorContainerComponent extends DocumentEditorContainer { | ||
constructor(props) { | ||
super(props); | ||
this.initRenderCalled = false; | ||
this.checkInjectedModules = true; | ||
} | ||
render() { | ||
if ((this.element && !this.initRenderCalled) || this.refreshing) { | ||
super.render(); | ||
this.initRenderCalled = true; | ||
} | ||
else { | ||
return createElement('div', this.getDefaultAttributes(), this.props.children); | ||
} | ||
} | ||
} | ||
applyMixins(DocumentEditorContainerComponent, [ComponentBase, PureComponent]); | ||
export { DocumentEditorComponent, DocumentEditorContainerComponent }; | ||
export * from '@syncfusion/ej2-documenteditor'; | ||
export { Inject } from '@syncfusion/ej2-react-base'; | ||
//# sourceMappingURL=ej2-react-documenteditor.es2015.js.map |
{ | ||
"name": "@syncfusion/ej2-react-documenteditor", | ||
"version": "16.3.34", | ||
"version": "16.4.40-beta", | ||
"description": "Feature-rich document editor control with built-in support for context menu, options pane and dialogs. for React", | ||
@@ -17,2 +17,3 @@ "author": "Syncfusion Inc.", | ||
"word-editor", | ||
"ej2-documenteditor-container", | ||
"react", | ||
@@ -31,5 +32,5 @@ "react-documenteditor", | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~16.3.34", | ||
"@syncfusion/ej2-react-base": "~16.3.34", | ||
"@syncfusion/ej2-documenteditor": "16.3.34" | ||
"@syncfusion/ej2-base": "~16.4.40-beta", | ||
"@syncfusion/ej2-react-base": "~16.4.40-beta", | ||
"@syncfusion/ej2-documenteditor": "16.4.40-beta" | ||
}, | ||
@@ -36,0 +37,0 @@ "devDependencies": { |
export * from './document-editor'; | ||
export * from './document-editor-container'; | ||
export { Inject } from '@syncfusion/ej2-react-base'; | ||
export * from '@syncfusion/ej2-documenteditor'; |
export * from './document-editor'; | ||
export * from './document-editor-container'; | ||
export { Inject } from '@syncfusion/ej2-react-base'; | ||
export * from '@syncfusion/ej2-documenteditor'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
932107
68
43673
3
1
+ Added@syncfusion/ej2-base@16.4.52(transitive)
+ Added@syncfusion/ej2-buttons@16.4.55(transitive)
+ Added@syncfusion/ej2-compression@16.4.52(transitive)
+ Added@syncfusion/ej2-data@16.4.52(transitive)
+ Added@syncfusion/ej2-documenteditor@16.4.40-beta(transitive)
+ Added@syncfusion/ej2-dropdowns@16.4.55(transitive)
+ Added@syncfusion/ej2-file-utils@16.4.52(transitive)
+ Added@syncfusion/ej2-inputs@16.4.55(transitive)
+ Added@syncfusion/ej2-lists@16.4.52(transitive)
+ Added@syncfusion/ej2-navigations@16.4.54(transitive)
+ Added@syncfusion/ej2-popups@16.4.54(transitive)
+ Added@syncfusion/ej2-react-base@16.4.52(transitive)
+ Added@syncfusion/ej2-splitbuttons@16.4.53(transitive)
- Removed@syncfusion/ej2-base@16.3.34(transitive)
- Removed@syncfusion/ej2-buttons@16.3.34(transitive)
- Removed@syncfusion/ej2-compression@16.3.34(transitive)
- Removed@syncfusion/ej2-data@16.3.34(transitive)
- Removed@syncfusion/ej2-documenteditor@16.3.34(transitive)
- Removed@syncfusion/ej2-dropdowns@16.3.34(transitive)
- Removed@syncfusion/ej2-file-utils@16.3.34(transitive)
- Removed@syncfusion/ej2-inputs@16.3.34(transitive)
- Removed@syncfusion/ej2-lists@16.3.34(transitive)
- Removed@syncfusion/ej2-navigations@16.3.34(transitive)
- Removed@syncfusion/ej2-popups@16.3.34(transitive)
- Removed@syncfusion/ej2-react-base@16.3.34(transitive)
- Removed@syncfusion/ej2-splitbuttons@16.3.34(transitive)