@syncfusion/ej2-vue-documenteditor 20.1.58 → 20.1.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,18 @@
|
|
|
6
6
|
|
|
7
7
|
#### Bug Fixes
|
|
8
8
|
|
|
9
|
+
- `#F174916` - Resolved the numbering pop-up binding issue.
|
|
10
|
+
- `#I376243` - Resolved the script error in importing document with empty author.
|
|
11
|
+
- `#I369585` - Resolved the selection issue in selecting document with large number of pages.
|
|
12
|
+
- `#I375798` - Resolved the control hanging issue in opening the document.
|
|
13
|
+
- `#I367499` - Resolved the shape and chart rendering issue.
|
|
14
|
+
|
|
15
|
+
## 20.1.58 (2022-05-31)
|
|
16
|
+
|
|
17
|
+
### Document Editor
|
|
18
|
+
|
|
19
|
+
#### Bug Fixes
|
|
20
|
+
|
|
9
21
|
- `#I378991` - Resolved the corruption issue in exporting the document with chart.
|
|
10
22
|
- `#I378564` - Resolved the script error in replacing more than 100 items.
|
|
11
23
|
- `#I378450`, `#I373175` - Resolved the script error in deleting the tracked content.
|
|
@@ -1,11 +1,38 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-vue-documenteditor.umd.min.js
|
|
3
|
-
* version : 20.1.
|
|
3
|
+
* version : 20.1.59
|
|
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("@syncfusion/ej2-documenteditor"),require("@syncfusion/ej2-vue-base"),require("@syncfusion/ej2-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-documenteditor","@syncfusion/ej2-vue-base","@syncfusion/ej2-base"],t):t(e.ej={},e.ej2Documenteditor,e.ej2VueBase,e.ej2Base)}(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)}}(),s=function(e,t,n,o){var r,s=arguments.length,a=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var i=e.length-1;i>=0;i--)(r=e[i])&&(a=(s<3?r(a):s>3?r(t,n,a):r(t,n))||a);return s>3&&a&&Object.defineProperty(t,n,a),a},a=["isLazyUpdate","acceptTab","currentUser","defaultPasteOption","documentEditorSettings","documentName","documentSettings","enableBookmarkDialog","enableBordersAndShadingDialog","enableComment","enableContextMenu","enableCursorOnReadOnly","enableEditor","enableEditorHistory","enableFontDialog","enableFootnoteAndEndnoteDialog","enableFormField","enableHyperlinkDialog","enableImageResizer","enableListDialog","enableLocalPaste","enableLockAndEdit","enableOptionsPane","enablePageSetupDialog","enableParagraphDialog","enablePersistence","enablePrint","enableRtl","enableSearch","enableSelection","enableSfdtExport","enableSpellCheck","enableStyleDialog","enableTableDialog","enableTableOfContentsDialog","enableTableOptionsDialog","enableTablePropertiesDialog","enableTextExport","enableTrackChanges","enableWordExport","headers","height","isReadOnly","layoutType","locale","pageGap","pageOutline","serverActionSettings","serviceUrl","showComments","showRevisions","useCtrlClickToFollowHyperlink","userColor","width","zIndex","zoomFactor","actionComplete","afterFormFieldFill","beforeCommentAction","beforeFileOpen","beforeFormFieldFill","beforePaneSwitch","commentBegin","commentDelete","commentEnd","contentChange","contentControl","created","customContextMenuBeforeOpen","customContextMenuSelect","destroyed","documentChange","keyDown","requestNavigate","searchResultsChange","selectionChange","serviceFailure","trackChange","viewChange","zoomFactorChange","beforeXmlHttpRequestSend"],i=[],c=n.getProps({props:a}),l=(c[0],c[1]),u=Object.keys(l);u.push("modelchanged");for(var p=0,d=i;p<d.length;p++){var h=d[p];u.push("update:"+h)}var f=!n.gh,m=function(e){function c(){var n=e.call(this,arguments)||this;return n.propKeys=a,n.models=i,n.hasChildDirective=!1,n.hasInjectedModules=!0,n.tagMapper={},n.tagNameMapper={},n.isVue3=!f,n.ej2Instances=new t.DocumentEditor({}),n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n.ej2Instances.clearTemplate=n.clearTemplate,n.updated=n.updated,n}return r(c,e),c.prototype.clearTemplate=function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,n=e;t<n.length;t++){var r=n[t],s=this.templateCollection[r];if(s&&s.length){for(var a=0,i=s;a<i.length;a++){var c=i[a];o.getValue("__vue__.$destroy",c)&&c.__vue__.$destroy(),c.innerHTML&&(c.innerHTML="")}delete this.templateCollection[r]}}},c.prototype.setProperties=function(e,t){var n=this;this.isVue3&&(this.models=this.models?this.models:this.ej2Instances.referModels),this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||(n.isVue3?n.ej2Instances.vueInstance.$emit("update:"+t,e[t]):(n.$emit("update:"+t,e[t]),n.$emit("modelchanged",e[t])))})})},c.prototype.render=function(e){var t=n.gh||e,r=null;return o.isNullOrUndefined(this.$slots.default)||(r=n.gh?this.$slots.default():this.$slots.default),t("div",r)},c.prototype.custom=function(){this.updated()},c.prototype.enableAllModules=function(){return this.ej2Instances.enableAllModules()},c.prototype.exportAsImage=function(e,t){return this.ej2Instances.exportAsImage(e,t)},c.prototype.exportFormData=function(){return this.ej2Instances.exportFormData()},c.prototype.fitPage=function(e){return this.ej2Instances.fitPage(e)},c.prototype.focusIn=function(){return this.ej2Instances.focusIn()},c.prototype.getBookmarks=function(){return this.ej2Instances.getBookmarks()},c.prototype.getFormFieldInfo=function(e){return this.ej2Instances.getFormFieldInfo(e)},c.prototype.getFormFieldNames=function(){return this.ej2Instances.getFormFieldNames()},c.prototype.getStyleNames=function(e){return this.ej2Instances.getStyleNames(e)},c.prototype.getStyles=function(e){return this.ej2Instances.getStyles(e)},c.prototype.importFormData=function(e){return this.ej2Instances.importFormData(e)},c.prototype.open=function(e){return this.ej2Instances.open(e)},c.prototype.openBlank=function(){return this.ej2Instances.openBlank()},c.prototype.print=function(e){return this.ej2Instances.print(e)},c.prototype.resetFormFields=function(e){return this.ej2Instances.resetFormFields(e)},c.prototype.resize=function(e,t){return this.ej2Instances.resize(e,t)},c.prototype.save=function(e,t){return this.ej2Instances.save(e,t)},c.prototype.saveAsBlob=function(e){return this.ej2Instances.saveAsBlob(e)},c.prototype.scrollToPage=function(e){return this.ej2Instances.scrollToPage(e)},c.prototype.serialize=function(){return this.ej2Instances.serialize()},c.prototype.setDefaultCharacterFormat=function(e){return this.ej2Instances.setDefaultCharacterFormat(e)},c.prototype.setDefaultParagraphFormat=function(e){return this.ej2Instances.setDefaultParagraphFormat(e)},c.prototype.setDefaultSectionFormat=function(e){return this.ej2Instances.setDefaultSectionFormat(e)},c.prototype.setFormFieldInfo=function(e,t){return this.ej2Instances.setFormFieldInfo(e,t)},c.prototype.showDialog=function(e){return this.ej2Instances.showDialog(e)},c.prototype.showOptionsPane=function(){return this.ej2Instances.showOptionsPane()},c.prototype.showRestrictEditingPane=function(e){return this.ej2Instances.showRestrictEditingPane(e)},c.prototype.updateFields=function(){return this.ej2Instances.updateFields()},c=s([n.EJComponentDecorator({props:a},f)],c)}(n.ComponentBase),g={name:"ejs-documenteditor",install:function(e){e.component(g.name,m)}},y=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)}}(),b=function(e,t,n,o){var r,s=arguments.length,a=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var i=e.length-1;i>=0;i--)(r=e[i])&&(a=(s<3?r(a):s>3?r(t,n,a):r(t,n))||a);return s>3&&a&&Object.defineProperty(t,n,a),a},j=["isLazyUpdate","currentUser","documentEditorSettings","documentSettings","enableComment","enableCsp","enableLocalPaste","enableLockAndEdit","enablePersistence","enableRtl","enableSpellCheck","enableToolbar","enableTrackChanges","headers","height","layoutType","locale","restrictEditing","serverActionSettings","serviceUrl","showPropertiesPane","toolbarItems","userColor","width","zIndex","beforeCommentAction","beforePaneSwitch","commentDelete","contentChange","contentControl","created","customContextMenuBeforeOpen","customContextMenuSelect","destroyed","documentChange","selectionChange","serviceFailure","toolbarClick","trackChange","beforeXmlHttpRequestSend"],I=[],C=n.getProps({props:j}),v=(C[0],C[1]),P=Object.keys(v);P.push("modelchanged");for(var F=0,D=I;F<D.length;F++){var _=D[F];P.push("update:"+_)}var O=!n.gh,k=function(e){function r(){var n=e.call(this,arguments)||this;return n.propKeys=j,n.models=I,n.hasChildDirective=!1,n.hasInjectedModules=!0,n.tagMapper={},n.tagNameMapper={},n.isVue3=!O,n.ej2Instances=new t.DocumentEditorContainer({}),n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n.ej2Instances.clearTemplate=n.clearTemplate,n.updated=n.updated,n}return y(r,e),r.prototype.clearTemplate=function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,n=e;t<n.length;t++){var r=n[t],s=this.templateCollection[r];if(s&&s.length){for(var a=0,i=s;a<i.length;a++){var c=i[a];o.getValue("__vue__.$destroy",c)&&c.__vue__.$destroy(),c.innerHTML&&(c.innerHTML="")}delete this.templateCollection[r]}}},r.prototype.setProperties=function(e,t){var n=this;this.isVue3&&(this.models=this.models?this.models:this.ej2Instances.referModels),this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||(n.isVue3?n.ej2Instances.vueInstance.$emit("update:"+t,e[t]):(n.$emit("update:"+t,e[t]),n.$emit("modelchanged",e[t])))})})},r.prototype.render=function(e){var t=n.gh||e,r=null;return o.isNullOrUndefined(this.$slots.default)||(r=n.gh?this.$slots.default():this.$slots.default),t("div",r)},r.prototype.custom=function(){this.updated()},r.prototype.resize=function(e,t){return this.ej2Instances.resize(e,t)},r.prototype.setDefaultCharacterFormat=function(e){return this.ej2Instances.setDefaultCharacterFormat(e)},r.prototype.setDefaultParagraphFormat=function(e){return this.ej2Instances.setDefaultParagraphFormat(e)},r.prototype.setDefaultSectionFormat=function(e){return this.ej2Instances.setDefaultSectionFormat(e)},r=b([n.EJComponentDecorator({props:j},O)],r)}(n.ComponentBase),S={name:"ejs-documenteditorcontainer",install:function(e){e.component(S.name,k)}};e.DocumentEditorComponent=m,e.DocumentEditorPlugin=g,e.DocumentEditorContainerComponent=k,e.DocumentEditorContainerPlugin=S,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})});
|
|
10
|
+
/*!
|
|
11
|
+
* filename: ej2-vue-documenteditor.umd.min.js
|
|
12
|
+
* version : 20.1.47
|
|
13
|
+
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
|
14
|
+
* Use of this code is subject to the terms of our license.
|
|
15
|
+
* A copy of the current license can be obtained at any time by e-mailing
|
|
16
|
+
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
17
|
+
* applicable laws.
|
|
18
|
+
*/
|
|
19
|
+
/*!
|
|
20
|
+
* filename: ej2-vue-documenteditor.umd.min.js
|
|
21
|
+
* version : 19.4.38
|
|
22
|
+
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
|
23
|
+
* Use of this code is subject to the terms of our license.
|
|
24
|
+
* A copy of the current license can be obtained at any time by e-mailing
|
|
25
|
+
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
26
|
+
* applicable laws.
|
|
27
|
+
*/
|
|
28
|
+
/*!
|
|
29
|
+
* filename: ej2-vue-documenteditor.umd.min.js
|
|
30
|
+
* version : 19.1.63
|
|
31
|
+
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
|
32
|
+
* Use of this code is subject to the terms of our license.
|
|
33
|
+
* A copy of the current license can be obtained at any time by e-mailing
|
|
34
|
+
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
35
|
+
* applicable laws.
|
|
36
|
+
*/
|
|
37
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-documenteditor"),require("@syncfusion/ej2-vue-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-documenteditor","@syncfusion/ej2-vue-base"],t):t(e.ej={},e.ej2Documenteditor,e.ej2VueBase)}(this,function(e,t,n){"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 o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),r=function(e,t,n,o){var r,s=arguments.length,a=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var i=e.length-1;i>=0;i--)(r=e[i])&&(a=(s<3?r(a):s>3?r(t,n,a):r(t,n))||a);return s>3&&a&&Object.defineProperty(t,n,a),a},s=["acceptTab","currentUser","defaultPasteOption","documentEditorSettings","documentName","enableBookmarkDialog","enableBordersAndShadingDialog","enableComment","enableContextMenu","enableCursorOnReadOnly","enableEditor","enableEditorHistory","enableFontDialog","enableFootnoteAndEndnoteDialog","enableFormField","enableHyperlinkDialog","enableImageResizer","enableListDialog","enableLocalPaste","enableLockAndEdit","enableOptionsPane","enablePageSetupDialog","enableParagraphDialog","enablePersistence","enablePrint","enableRtl","enableSearch","enableSelection","enableSfdtExport","enableSpellCheck","enableStyleDialog","enableTableDialog","enableTableOfContentsDialog","enableTableOptionsDialog","enableTablePropertiesDialog","enableTextExport","enableTrackChanges","enableWordExport","headers","height","isReadOnly","layoutType","locale","pageGap","pageOutline","serverActionSettings","serviceUrl","showComments","showRevisions","useCtrlClickToFollowHyperlink","userColor","width","zIndex","zoomFactor","actionComplete","afterFormFieldFill","beforeCommentAction","beforeFileOpen","beforeFormFieldFill","beforePaneSwitch","commentBegin","commentDelete","commentEnd","contentChange","contentControl","created","customContextMenuBeforeOpen","customContextMenuSelect","destroyed","documentChange","keyDown","requestNavigate","searchResultsChange","selectionChange","serviceFailure","trackChange","viewChange","zoomFactorChange"],a=[],i=function(e){function i(){var n=e.call(this)||this;return n.propKeys=s,n.models=a,n.hasChildDirective=!1,n.hasInjectedModules=!0,n.tagMapper={},n.tagNameMapper={},n.ej2Instances=new t.DocumentEditor({}),n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n}return o(i,e),i.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},i.prototype.render=function(e){return e("div",this.$slots.default)},i.prototype.enableAllModules=function(){return this.ej2Instances.enableAllModules()},i.prototype.exportFormData=function(){return this.ej2Instances.exportFormData()},i.prototype.fitPage=function(e){return this.ej2Instances.fitPage(e)},i.prototype.focusIn=function(){return this.ej2Instances.focusIn()},i.prototype.getBookmarks=function(){return this.ej2Instances.getBookmarks()},i.prototype.getFormFieldInfo=function(e){return this.ej2Instances.getFormFieldInfo(e)},i.prototype.getFormFieldNames=function(){return this.ej2Instances.getFormFieldNames()},i.prototype.getStyleNames=function(e){return this.ej2Instances.getStyleNames(e)},i.prototype.getStyles=function(e){return this.ej2Instances.getStyles(e)},i.prototype.importFormData=function(e){return this.ej2Instances.importFormData(e)},i.prototype.open=function(e){return this.ej2Instances.open(e)},i.prototype.openBlank=function(){return this.ej2Instances.openBlank()},i.prototype.print=function(e){return this.ej2Instances.print(e)},i.prototype.resetFormFields=function(e){return this.ej2Instances.resetFormFields(e)},i.prototype.resize=function(e,t){return this.ej2Instances.resize(e,t)},i.prototype.save=function(e,t){return this.ej2Instances.save(e,t)},i.prototype.saveAsBlob=function(e){return this.ej2Instances.saveAsBlob(e)},i.prototype.scrollToPage=function(e){return this.ej2Instances.scrollToPage(e)},i.prototype.serialize=function(){return this.ej2Instances.serialize()},i.prototype.setDefaultCharacterFormat=function(e){return this.ej2Instances.setDefaultCharacterFormat(e)},i.prototype.setDefaultParagraphFormat=function(e){return this.ej2Instances.setDefaultParagraphFormat(e)},i.prototype.setDefaultSectionFormat=function(e){return this.ej2Instances.setDefaultSectionFormat(e)},i.prototype.setFormFieldInfo=function(e,t){return this.ej2Instances.setFormFieldInfo(e,t)},i.prototype.showDialog=function(e){return this.ej2Instances.showDialog(e)},i.prototype.showOptionsPane=function(){return this.ej2Instances.showOptionsPane()},i.prototype.showRestrictEditingPane=function(e){return this.ej2Instances.showRestrictEditingPane(e)},i.prototype.updateFields=function(){return this.ej2Instances.updateFields()},i=r([n.EJComponentDecorator({props:s})],i)}(n.ComponentBase),c={name:"ejs-documenteditor",install:function(e){e.component(c.name,i)}},l=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)}}(),p=function(e,t,n,o){var r,s=arguments.length,a=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var i=e.length-1;i>=0;i--)(r=e[i])&&(a=(s<3?r(a):s>3?r(t,n,a):r(t,n))||a);return s>3&&a&&Object.defineProperty(t,n,a),a},u=["currentUser","documentEditorSettings","enableComment","enableCsp","enableLocalPaste","enableLockAndEdit","enablePersistence","enableRtl","enableSpellCheck","enableToolbar","enableTrackChanges","headers","height","layoutType","locale","restrictEditing","serverActionSettings","serviceUrl","showPropertiesPane","toolbarItems","userColor","width","zIndex","beforeCommentAction","beforePaneSwitch","commentDelete","contentChange","contentControl","created","customContextMenuBeforeOpen","customContextMenuSelect","destroyed","documentChange","selectionChange","serviceFailure","toolbarClick","trackChange"],f=[],h=function(e){function o(){var n=e.call(this)||this;return n.propKeys=u,n.models=f,n.hasChildDirective=!1,n.hasInjectedModules=!0,n.tagMapper={},n.tagNameMapper={},n.ej2Instances=new t.DocumentEditorContainer({}),n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n}return l(o,e),o.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},o.prototype.render=function(e){return e("div",this.$slots.default)},o.prototype.resize=function(e,t){return this.ej2Instances.resize(e,t)},o.prototype.setDefaultCharacterFormat=function(e){return this.ej2Instances.setDefaultCharacterFormat(e)},o.prototype.setDefaultParagraphFormat=function(e){return this.ej2Instances.setDefaultParagraphFormat(e)},o.prototype.setDefaultSectionFormat=function(e){return this.ej2Instances.setDefaultSectionFormat(e)},o=p([n.EJComponentDecorator({props:u})],o)}(n.ComponentBase),d={name:"ejs-documenteditorcontainer",install:function(e){e.component(d.name,h)}};e.DocumentEditorComponent=i,e.DocumentEditorPlugin=c,e.DocumentEditorContainerComponent=h,e.DocumentEditorContainerPlugin=d,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})});
|
|
11
38
|
//# sourceMappingURL=ej2-vue-documenteditor.umd.min.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ej2-vue-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})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { DocumentEditor } from '@syncfusion/ej2-documenteditor';\n// {{VueImport}}\nexport var properties = ['isLazyUpdate', 'acceptTab', 'currentUser', 'defaultPasteOption', 'documentEditorSettings', 'documentName', 'documentSettings', 'enableBookmarkDialog', 'enableBordersAndShadingDialog', 'enableComment', 'enableContextMenu', 'enableCursorOnReadOnly', 'enableEditor', 'enableEditorHistory', 'enableFontDialog', 'enableFootnoteAndEndnoteDialog', 'enableFormField', 'enableHyperlinkDialog', 'enableImageResizer', 'enableListDialog', 'enableLocalPaste', 'enableLockAndEdit', 'enableOptionsPane', 'enablePageSetupDialog', 'enableParagraphDialog', 'enablePersistence', 'enablePrint', 'enableRtl', 'enableSearch', 'enableSelection', 'enableSfdtExport', 'enableSpellCheck', 'enableStyleDialog', 'enableTableDialog', 'enableTableOfContentsDialog', 'enableTableOptionsDialog', 'enableTablePropertiesDialog', 'enableTextExport', 'enableTrackChanges', 'enableWordExport', 'headers', 'height', 'isReadOnly', 'layoutType', 'locale', 'pageGap', 'pageOutline', 'serverActionSettings', 'serviceUrl', 'showComments', 'showRevisions', 'useCtrlClickToFollowHyperlink', 'userColor', 'width', 'zIndex', 'zoomFactor', 'actionComplete', 'afterFormFieldFill', 'beforeCommentAction', 'beforeFileOpen', 'beforeFormFieldFill', 'beforePaneSwitch', 'commentBegin', 'commentDelete', 'commentEnd', 'contentChange', 'contentControl', 'created', 'customContextMenuBeforeOpen', 'customContextMenuSelect', 'destroyed', 'documentChange', 'keyDown', 'requestNavigate', 'searchResultsChange', 'selectionChange', 'serviceFailure', 'trackChange', 'viewChange', 'zoomFactorChange', 'beforeXmlHttpRequestSend'];\nexport var modelProps = [];\nexport var testProp = getProps({ props: properties });\nexport var props = testProp[0];\nexport var watch = testProp[1];\nexport var emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged');\nfor (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {\n var props_1 = modelProps_1[_i];\n emitProbs.push('update:' + props_1);\n}\nexport var isExecute = gh ? false : true;\n/**\n * Represents the Essential JS 2 VueJS Document Editor Component\n * ```html\n * <ejs-documenteditor id='container'></ejs-documenteditor>\n * ```\n */\nvar DocumentEditorComponent = /** @class */ (function (_super) {\n __extends(DocumentEditorComponent, _super);\n function DocumentEditorComponent() {\n var _this = _super.call(this, arguments) || this;\n _this.propKeys = properties;\n _this.models = modelProps;\n _this.hasChildDirective = false;\n _this.hasInjectedModules = true;\n _this.tagMapper = {};\n _this.tagNameMapper = {};\n _this.isVue3 = !isExecute;\n _this.ej2Instances = new DocumentEditor({});\n _this.bindProperties();\n _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;\n _this.ej2Instances.setProperties = _this.setProperties;\n _this.ej2Instances.clearTemplate = _this.clearTemplate;\n _this.updated = _this.updated;\n return _this;\n }\n DocumentEditorComponent.prototype.clearTemplate = function (templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {\n var tempName = templateNames_1[_i];\n var elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {\n var ele = elementCollection_1[_a];\n var destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n };\n DocumentEditorComponent.prototype.setProperties = function (prop, muteOnChange) {\n var _this = this;\n if (this.isVue3) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n if (_this.isVue3) {\n _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);\n }\n else {\n _this.$emit('update:' + key, prop[key]);\n _this.$emit('modelchanged', prop[key]);\n }\n }\n });\n });\n }\n };\n DocumentEditorComponent.prototype.render = function (createElement) {\n var h = gh || createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = gh ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n };\n DocumentEditorComponent.prototype.custom = function () {\n this.updated();\n };\n DocumentEditorComponent.prototype.enableAllModules = function () {\n return this.ej2Instances.enableAllModules();\n };\n DocumentEditorComponent.prototype.exportAsImage = function (pageNumber, format) {\n return this.ej2Instances.exportAsImage(pageNumber, format);\n };\n DocumentEditorComponent.prototype.exportFormData = function () {\n return this.ej2Instances.exportFormData();\n };\n DocumentEditorComponent.prototype.fitPage = function (pageFitType) {\n return this.ej2Instances.fitPage(pageFitType);\n };\n DocumentEditorComponent.prototype.focusIn = function () {\n return this.ej2Instances.focusIn();\n };\n DocumentEditorComponent.prototype.getBookmarks = function () {\n return this.ej2Instances.getBookmarks();\n };\n DocumentEditorComponent.prototype.getFormFieldInfo = function (name) {\n return this.ej2Instances.getFormFieldInfo(name);\n };\n DocumentEditorComponent.prototype.getFormFieldNames = function () {\n return this.ej2Instances.getFormFieldNames();\n };\n DocumentEditorComponent.prototype.getStyleNames = function (styleType) {\n return this.ej2Instances.getStyleNames(styleType);\n };\n DocumentEditorComponent.prototype.getStyles = function (styleType) {\n return this.ej2Instances.getStyles(styleType);\n };\n DocumentEditorComponent.prototype.importFormData = function (formData) {\n return this.ej2Instances.importFormData(formData);\n };\n DocumentEditorComponent.prototype.open = function (sfdtText) {\n return this.ej2Instances.open(sfdtText);\n };\n DocumentEditorComponent.prototype.openBlank = function () {\n return this.ej2Instances.openBlank();\n };\n DocumentEditorComponent.prototype.print = function (printWindow) {\n return this.ej2Instances.print(printWindow);\n };\n DocumentEditorComponent.prototype.resetFormFields = function (name) {\n return this.ej2Instances.resetFormFields(name);\n };\n DocumentEditorComponent.prototype.resize = function (width, height) {\n return this.ej2Instances.resize(width, height);\n };\n DocumentEditorComponent.prototype.save = function (fileName, formatType) {\n return this.ej2Instances.save(fileName, formatType);\n };\n DocumentEditorComponent.prototype.saveAsBlob = function (formatType) {\n return this.ej2Instances.saveAsBlob(formatType);\n };\n DocumentEditorComponent.prototype.scrollToPage = function (pageNumber) {\n return this.ej2Instances.scrollToPage(pageNumber);\n };\n DocumentEditorComponent.prototype.serialize = function () {\n return this.ej2Instances.serialize();\n };\n DocumentEditorComponent.prototype.setDefaultCharacterFormat = function (characterFormat) {\n return this.ej2Instances.setDefaultCharacterFormat(characterFormat);\n };\n DocumentEditorComponent.prototype.setDefaultParagraphFormat = function (paragraphFormat) {\n return this.ej2Instances.setDefaultParagraphFormat(paragraphFormat);\n };\n DocumentEditorComponent.prototype.setDefaultSectionFormat = function (sectionFormat) {\n return this.ej2Instances.setDefaultSectionFormat(sectionFormat);\n };\n DocumentEditorComponent.prototype.setFormFieldInfo = function (name, formFieldInfo) {\n return this.ej2Instances.setFormFieldInfo(name, formFieldInfo);\n };\n DocumentEditorComponent.prototype.showDialog = function (dialogType) {\n return this.ej2Instances.showDialog(dialogType);\n };\n DocumentEditorComponent.prototype.showOptionsPane = function () {\n return this.ej2Instances.showOptionsPane();\n };\n DocumentEditorComponent.prototype.showRestrictEditingPane = function (show) {\n return this.ej2Instances.showRestrictEditingPane(show);\n };\n DocumentEditorComponent.prototype.updateFields = function () {\n return this.ej2Instances.updateFields();\n };\n DocumentEditorComponent = __decorate([\n EJComponentDecorator({\n props: properties\n }, isExecute)\n /* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function provide() {\n return {\n custom: this.custom\n };\n }\n }) End */\n ], DocumentEditorComponent);\n return DocumentEditorComponent;\n}(ComponentBase));\nexport { DocumentEditorComponent };\nexport var DocumentEditorPlugin = {\n name: 'ejs-documenteditor',\n install: function (Vue) {\n Vue.component(DocumentEditorPlugin.name, DocumentEditorComponent);\n }\n};\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})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { DocumentEditorContainer } from '@syncfusion/ej2-documenteditor';\n// {{VueImport}}\nexport var properties = ['isLazyUpdate', 'currentUser', 'documentEditorSettings', 'documentSettings', 'enableComment', 'enableCsp', 'enableLocalPaste', 'enableLockAndEdit', 'enablePersistence', 'enableRtl', 'enableSpellCheck', 'enableToolbar', 'enableTrackChanges', 'headers', 'height', 'layoutType', 'locale', 'restrictEditing', 'serverActionSettings', 'serviceUrl', 'showPropertiesPane', 'toolbarItems', 'userColor', 'width', 'zIndex', 'beforeCommentAction', 'beforePaneSwitch', 'commentDelete', 'contentChange', 'contentControl', 'created', 'customContextMenuBeforeOpen', 'customContextMenuSelect', 'destroyed', 'documentChange', 'selectionChange', 'serviceFailure', 'toolbarClick', 'trackChange', 'beforeXmlHttpRequestSend'];\nexport var modelProps = [];\nexport var testProp = getProps({ props: properties });\nexport var props = testProp[0];\nexport var watch = testProp[1];\nexport var emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged');\nfor (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {\n var props_1 = modelProps_1[_i];\n emitProbs.push('update:' + props_1);\n}\nexport var isExecute = gh ? false : true;\n/**\n * Represents the Essential JS 2 VueJS Document Editor Container\n * ```html\n * <ejs-documenteditor-container id='container'></ejs-documenteditor-container>\n * ```\n */\nvar DocumentEditorContainerComponent = /** @class */ (function (_super) {\n __extends(DocumentEditorContainerComponent, _super);\n function DocumentEditorContainerComponent() {\n var _this = _super.call(this, arguments) || this;\n _this.propKeys = properties;\n _this.models = modelProps;\n _this.hasChildDirective = false;\n _this.hasInjectedModules = true;\n _this.tagMapper = {};\n _this.tagNameMapper = {};\n _this.isVue3 = !isExecute;\n _this.ej2Instances = new DocumentEditorContainer({});\n _this.bindProperties();\n _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;\n _this.ej2Instances.setProperties = _this.setProperties;\n _this.ej2Instances.clearTemplate = _this.clearTemplate;\n _this.updated = _this.updated;\n return _this;\n }\n DocumentEditorContainerComponent.prototype.clearTemplate = function (templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {\n var tempName = templateNames_1[_i];\n var elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {\n var ele = elementCollection_1[_a];\n var destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n };\n DocumentEditorContainerComponent.prototype.setProperties = function (prop, muteOnChange) {\n var _this = this;\n if (this.isVue3) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n if (_this.isVue3) {\n _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);\n }\n else {\n _this.$emit('update:' + key, prop[key]);\n _this.$emit('modelchanged', prop[key]);\n }\n }\n });\n });\n }\n };\n DocumentEditorContainerComponent.prototype.render = function (createElement) {\n var h = gh || createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = gh ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n };\n DocumentEditorContainerComponent.prototype.custom = function () {\n this.updated();\n };\n DocumentEditorContainerComponent.prototype.resize = function (width, height) {\n return this.ej2Instances.resize(width, height);\n };\n DocumentEditorContainerComponent.prototype.setDefaultCharacterFormat = function (characterFormat) {\n return this.ej2Instances.setDefaultCharacterFormat(characterFormat);\n };\n DocumentEditorContainerComponent.prototype.setDefaultParagraphFormat = function (paragraphFormat) {\n return this.ej2Instances.setDefaultParagraphFormat(paragraphFormat);\n };\n DocumentEditorContainerComponent.prototype.setDefaultSectionFormat = function (sectionFormat) {\n return this.ej2Instances.setDefaultSectionFormat(sectionFormat);\n };\n DocumentEditorContainerComponent = __decorate([\n EJComponentDecorator({\n props: properties\n }, isExecute)\n /* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function provide() {\n return {\n custom: this.custom\n };\n }\n }) End */\n ], DocumentEditorContainerComponent);\n return DocumentEditorContainerComponent;\n}(ComponentBase));\nexport { DocumentEditorContainerComponent };\nexport var DocumentEditorContainerPlugin = {\n name: 'ejs-documenteditorcontainer',\n install: function (Vue) {\n Vue.component(DocumentEditorContainerPlugin.name, DocumentEditorContainerComponent);\n }\n};\n"],"names":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","__decorate","decorators","target","key","desc","c","arguments","length","r","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","properties","modelProps","testProp","getProps","props","watch","emitProbs","keys","push","_i","modelProps_1","props_1","isExecute","gh","DocumentEditorComponent","_super","_this","call","propKeys","models","hasChildDirective","hasInjectedModules","tagMapper","tagNameMapper","isVue3","ej2Instances","DocumentEditor","bindProperties","_setProperties","setProperties","clearTemplate","updated","templateNames","templateCollection","templateNames_1","tempName","elementCollection","_a","elementCollection_1","ele","getValue","__vue__","$destroy","innerHTML","prop","muteOnChange","referModels","map","model","test","vueInstance","$emit","render","createElement","h","slots","isNullOrUndefined","$slots","default","custom","enableAllModules","exportAsImage","pageNumber","format","exportFormData","fitPage","pageFitType","focusIn","getBookmarks","getFormFieldInfo","name","getFormFieldNames","getStyleNames","styleType","getStyles","importFormData","formData","open","sfdtText","openBlank","print","printWindow","resetFormFields","resize","width","height","save","fileName","formatType","saveAsBlob","scrollToPage","serialize","setDefaultCharacterFormat","characterFormat","setDefaultParagraphFormat","paragraphFormat","setDefaultSectionFormat","sectionFormat","setFormFieldInfo","formFieldInfo","showDialog","dialogType","showOptionsPane","showRestrictEditingPane","show","updateFields","EJComponentDecorator","ComponentBase","DocumentEditorPlugin","install","Vue","component","DocumentEditorContainerComponent","DocumentEditorContainer","DocumentEditorContainerPlugin"],"mappings":"uaAAA,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,GAaxCK,EAA0C,SAAUC,EAAYC,EAAQC,EAAKC,GAC7E,IAA2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aAAayB,YAAYC,MAAM,UAAY9D,EAAKuD,EAAKvD,KAG3D2B,EAAMmC,MAAM,UAAY9D,EAAKuD,EAAKvD,IAClC2B,EAAMmC,MAAM,eAAgBP,EAAKvD,WAOzD2H,EAAiChI,UAAUoE,OAAS,SAAUC,GAC1D,IAAIC,EAAIzC,MAAMwC,EACVE,EAAQ,KAIZ,OAHKC,oBAAkB1E,KAAK2E,OAAOC,WAC/BH,EAAQ1C,KAAK/B,KAAK2E,OAAOC,UAAY5E,KAAK2E,OAAOC,SAE9CJ,EAAE,MAAOC,IAEpByD,EAAiChI,UAAU2E,OAAS,WAChD7E,KAAKiD,WAETiF,EAAiChI,UAAUmG,OAAS,SAAUC,EAAOC,GACjE,OAAOvG,KAAK2C,aAAa0D,OAAOC,EAAOC,IAE3C2B,EAAiChI,UAAU4G,0BAA4B,SAAUC,GAC7E,OAAO/G,KAAK2C,aAAamE,0BAA0BC,IAEvDmB,EAAiChI,UAAU8G,0BAA4B,SAAUC,GAC7E,OAAOjH,KAAK2C,aAAaqE,0BAA0BC,IAEvDiB,EAAiChI,UAAUgH,wBAA0B,SAAUC,GAC3E,OAAOnH,KAAK2C,aAAauE,wBAAwBC,IAErDe,EAAmC9H,GAC/BwH,wBACItG,MAAOJ,GACRY,IAWJoG,IAELL,iBAESO,GACP5C,KAAM,8BACNuC,QAAS,SAAUC,GACfA,EAAIC,UAAUG,EAA8B5C,KAAM0C"}
|
|
1
|
+
{"version":3,"file":"ej2-vue-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})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { ComponentBase, EJComponentDecorator } from '@syncfusion/ej2-vue-base';\nimport { DocumentEditor } from '@syncfusion/ej2-documenteditor';\nexport var properties = ['acceptTab', 'currentUser', 'defaultPasteOption', 'documentEditorSettings', 'documentName', 'enableBookmarkDialog', 'enableBordersAndShadingDialog', 'enableComment', 'enableContextMenu', 'enableCursorOnReadOnly', 'enableEditor', 'enableEditorHistory', 'enableFontDialog', 'enableFootnoteAndEndnoteDialog', 'enableFormField', 'enableHyperlinkDialog', 'enableImageResizer', 'enableListDialog', 'enableLocalPaste', 'enableLockAndEdit', 'enableOptionsPane', 'enablePageSetupDialog', 'enableParagraphDialog', 'enablePersistence', 'enablePrint', 'enableRtl', 'enableSearch', 'enableSelection', 'enableSfdtExport', 'enableSpellCheck', 'enableStyleDialog', 'enableTableDialog', 'enableTableOfContentsDialog', 'enableTableOptionsDialog', 'enableTablePropertiesDialog', 'enableTextExport', 'enableTrackChanges', 'enableWordExport', 'headers', 'height', 'isReadOnly', 'layoutType', 'locale', 'pageGap', 'pageOutline', 'serverActionSettings', 'serviceUrl', 'showComments', 'showRevisions', 'useCtrlClickToFollowHyperlink', 'userColor', 'width', 'zIndex', 'zoomFactor', 'actionComplete', 'afterFormFieldFill', 'beforeCommentAction', 'beforeFileOpen', 'beforeFormFieldFill', 'beforePaneSwitch', 'commentBegin', 'commentDelete', 'commentEnd', 'contentChange', 'contentControl', 'created', 'customContextMenuBeforeOpen', 'customContextMenuSelect', 'destroyed', 'documentChange', 'keyDown', 'requestNavigate', 'searchResultsChange', 'selectionChange', 'serviceFailure', 'trackChange', 'viewChange', 'zoomFactorChange'];\nexport var modelProps = [];\n/**\n * Represents the Essential JS 2 VueJS Document Editor Component\n * ```html\n * <ejs-documenteditor id='container'></ejs-documenteditor>\n * ```\n */\nvar DocumentEditorComponent = /** @class */ (function (_super) {\n __extends(DocumentEditorComponent, _super);\n function DocumentEditorComponent() {\n var _this = _super.call(this) || this;\n _this.propKeys = properties;\n _this.models = modelProps;\n _this.hasChildDirective = false;\n _this.hasInjectedModules = true;\n _this.tagMapper = {};\n _this.tagNameMapper = {};\n _this.ej2Instances = new DocumentEditor({});\n _this.bindProperties();\n _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;\n _this.ej2Instances.setProperties = _this.setProperties;\n return _this;\n }\n DocumentEditorComponent.prototype.setProperties = function (prop, muteOnChange) {\n var _this = this;\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n _this.$emit('update:' + key, prop[key]);\n }\n });\n });\n }\n };\n DocumentEditorComponent.prototype.render = function (createElement) {\n return createElement('div', this.$slots.default);\n };\n DocumentEditorComponent.prototype.enableAllModules = function () {\n return this.ej2Instances.enableAllModules();\n };\n DocumentEditorComponent.prototype.exportFormData = function () {\n return this.ej2Instances.exportFormData();\n };\n DocumentEditorComponent.prototype.fitPage = function (pageFitType) {\n return this.ej2Instances.fitPage(pageFitType);\n };\n DocumentEditorComponent.prototype.focusIn = function () {\n return this.ej2Instances.focusIn();\n };\n DocumentEditorComponent.prototype.getBookmarks = function () {\n return this.ej2Instances.getBookmarks();\n };\n DocumentEditorComponent.prototype.getFormFieldInfo = function (name) {\n return this.ej2Instances.getFormFieldInfo(name);\n };\n DocumentEditorComponent.prototype.getFormFieldNames = function () {\n return this.ej2Instances.getFormFieldNames();\n };\n DocumentEditorComponent.prototype.getStyleNames = function (styleType) {\n return this.ej2Instances.getStyleNames(styleType);\n };\n DocumentEditorComponent.prototype.getStyles = function (styleType) {\n return this.ej2Instances.getStyles(styleType);\n };\n DocumentEditorComponent.prototype.importFormData = function (formData) {\n return this.ej2Instances.importFormData(formData);\n };\n DocumentEditorComponent.prototype.open = function (sfdtText) {\n return this.ej2Instances.open(sfdtText);\n };\n DocumentEditorComponent.prototype.openBlank = function () {\n return this.ej2Instances.openBlank();\n };\n DocumentEditorComponent.prototype.print = function (printWindow) {\n return this.ej2Instances.print(printWindow);\n };\n DocumentEditorComponent.prototype.resetFormFields = function (name) {\n return this.ej2Instances.resetFormFields(name);\n };\n DocumentEditorComponent.prototype.resize = function (width, height) {\n return this.ej2Instances.resize(width, height);\n };\n DocumentEditorComponent.prototype.save = function (fileName, formatType) {\n return this.ej2Instances.save(fileName, formatType);\n };\n DocumentEditorComponent.prototype.saveAsBlob = function (formatType) {\n return this.ej2Instances.saveAsBlob(formatType);\n };\n DocumentEditorComponent.prototype.scrollToPage = function (pageNumber) {\n return this.ej2Instances.scrollToPage(pageNumber);\n };\n DocumentEditorComponent.prototype.serialize = function () {\n return this.ej2Instances.serialize();\n };\n DocumentEditorComponent.prototype.setDefaultCharacterFormat = function (characterFormat) {\n return this.ej2Instances.setDefaultCharacterFormat(characterFormat);\n };\n DocumentEditorComponent.prototype.setDefaultParagraphFormat = function (paragraphFormat) {\n return this.ej2Instances.setDefaultParagraphFormat(paragraphFormat);\n };\n DocumentEditorComponent.prototype.setDefaultSectionFormat = function (sectionFormat) {\n return this.ej2Instances.setDefaultSectionFormat(sectionFormat);\n };\n DocumentEditorComponent.prototype.setFormFieldInfo = function (name, formFieldInfo) {\n return this.ej2Instances.setFormFieldInfo(name, formFieldInfo);\n };\n DocumentEditorComponent.prototype.showDialog = function (dialogType) {\n return this.ej2Instances.showDialog(dialogType);\n };\n DocumentEditorComponent.prototype.showOptionsPane = function () {\n return this.ej2Instances.showOptionsPane();\n };\n DocumentEditorComponent.prototype.showRestrictEditingPane = function (show) {\n return this.ej2Instances.showRestrictEditingPane(show);\n };\n DocumentEditorComponent.prototype.updateFields = function () {\n return this.ej2Instances.updateFields();\n };\n DocumentEditorComponent = __decorate([\n EJComponentDecorator({\n props: properties\n })\n ], DocumentEditorComponent);\n return DocumentEditorComponent;\n}(ComponentBase));\nexport { DocumentEditorComponent };\nexport var DocumentEditorPlugin = {\n name: 'ejs-documenteditor',\n install: function (Vue) {\n Vue.component(DocumentEditorPlugin.name, DocumentEditorComponent);\n }\n};\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})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { ComponentBase, EJComponentDecorator } from '@syncfusion/ej2-vue-base';\nimport { DocumentEditorContainer } from '@syncfusion/ej2-documenteditor';\nexport var properties = ['currentUser', 'documentEditorSettings', 'enableComment', 'enableCsp', 'enableLocalPaste', 'enableLockAndEdit', 'enablePersistence', 'enableRtl', 'enableSpellCheck', 'enableToolbar', 'enableTrackChanges', 'headers', 'height', 'layoutType', 'locale', 'restrictEditing', 'serverActionSettings', 'serviceUrl', 'showPropertiesPane', 'toolbarItems', 'userColor', 'width', 'zIndex', 'beforeCommentAction', 'beforePaneSwitch', 'commentDelete', 'contentChange', 'contentControl', 'created', 'customContextMenuBeforeOpen', 'customContextMenuSelect', 'destroyed', 'documentChange', 'selectionChange', 'serviceFailure', 'toolbarClick', 'trackChange'];\nexport var modelProps = [];\n/**\n * Represents the Essential JS 2 VueJS Document Editor Container\n * ```html\n * <ejs-documenteditor-container id='container'></ejs-documenteditor-container>\n * ```\n */\nvar DocumentEditorContainerComponent = /** @class */ (function (_super) {\n __extends(DocumentEditorContainerComponent, _super);\n function DocumentEditorContainerComponent() {\n var _this = _super.call(this) || this;\n _this.propKeys = properties;\n _this.models = modelProps;\n _this.hasChildDirective = false;\n _this.hasInjectedModules = true;\n _this.tagMapper = {};\n _this.tagNameMapper = {};\n _this.ej2Instances = new DocumentEditorContainer({});\n _this.bindProperties();\n _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;\n _this.ej2Instances.setProperties = _this.setProperties;\n return _this;\n }\n DocumentEditorContainerComponent.prototype.setProperties = function (prop, muteOnChange) {\n var _this = this;\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n _this.$emit('update:' + key, prop[key]);\n }\n });\n });\n }\n };\n DocumentEditorContainerComponent.prototype.render = function (createElement) {\n return createElement('div', this.$slots.default);\n };\n DocumentEditorContainerComponent.prototype.resize = function (width, height) {\n return this.ej2Instances.resize(width, height);\n };\n DocumentEditorContainerComponent.prototype.setDefaultCharacterFormat = function (characterFormat) {\n return this.ej2Instances.setDefaultCharacterFormat(characterFormat);\n };\n DocumentEditorContainerComponent.prototype.setDefaultParagraphFormat = function (paragraphFormat) {\n return this.ej2Instances.setDefaultParagraphFormat(paragraphFormat);\n };\n DocumentEditorContainerComponent.prototype.setDefaultSectionFormat = function (sectionFormat) {\n return this.ej2Instances.setDefaultSectionFormat(sectionFormat);\n };\n DocumentEditorContainerComponent = __decorate([\n EJComponentDecorator({\n props: properties\n })\n ], DocumentEditorContainerComponent);\n return DocumentEditorContainerComponent;\n}(ComponentBase));\nexport { DocumentEditorContainerComponent };\nexport var DocumentEditorContainerPlugin = {\n name: 'ejs-documenteditorcontainer',\n install: function (Vue) {\n Vue.component(DocumentEditorContainerPlugin.name, DocumentEditorContainerComponent);\n }\n};\n"],"names":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","__decorate","decorators","target","key","desc","c","arguments","length","r","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","properties","modelProps","DocumentEditorComponent","_super","_this","call","propKeys","models","hasChildDirective","hasInjectedModules","tagMapper","tagNameMapper","ej2Instances","DocumentEditor","bindProperties","_setProperties","setProperties","prop","muteOnChange","keys","map","model","test","$emit","render","createElement","$slots","default","enableAllModules","exportFormData","fitPage","pageFitType","focusIn","getBookmarks","getFormFieldInfo","name","getFormFieldNames","getStyleNames","styleType","getStyles","importFormData","formData","open","sfdtText","openBlank","print","printWindow","resetFormFields","resize","width","height","save","fileName","formatType","saveAsBlob","scrollToPage","pageNumber","serialize","setDefaultCharacterFormat","characterFormat","setDefaultParagraphFormat","paragraphFormat","setDefaultSectionFormat","sectionFormat","setFormFieldInfo","formFieldInfo","showDialog","dialogType","showOptionsPane","showRestrictEditingPane","show","updateFields","EJComponentDecorator","props","ComponentBase","DocumentEditorPlugin","install","Vue","component","DocumentEditorContainerComponent","DocumentEditorContainer","DocumentEditorContainerPlugin"],"mappings":"oWAAA,IAAIA,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAA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