@syncfusion/ej2-vue-documenteditor 21.1.35 → 21.1.36

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.
Files changed (69) hide show
  1. package/CHANGELOG.md +186 -0
  2. package/README.md +1 -1
  3. package/dist/ej2-vue-documenteditor.umd.min.js +2 -2
  4. package/dist/ej2-vue-documenteditor.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-vue-documenteditor.es2015.js +4 -4
  6. package/dist/es6/ej2-vue-documenteditor.es2015.js.map +1 -1
  7. package/dist/es6/ej2-vue-documenteditor.es5.js +4 -4
  8. package/dist/es6/ej2-vue-documenteditor.es5.js.map +1 -1
  9. package/dist/global/ej2-vue-documenteditor.min.js +2 -2
  10. package/package.json +10 -9
  11. package/src/document-editor/documenteditor.component.js +2 -2
  12. package/src/document-editor-container/documenteditorcontainer.component.js +2 -2
  13. package/styles/bootstrap-dark.css +103 -37
  14. package/styles/bootstrap.css +107 -37
  15. package/styles/bootstrap4.css +111 -37
  16. package/styles/bootstrap5-dark.css +103 -37
  17. package/styles/bootstrap5.css +103 -37
  18. package/styles/document-editor/bootstrap-dark.css +7 -0
  19. package/styles/document-editor/bootstrap.css +11 -0
  20. package/styles/document-editor/bootstrap4.css +15 -0
  21. package/styles/document-editor/bootstrap5-dark.css +7 -0
  22. package/styles/document-editor/bootstrap5.css +7 -0
  23. package/styles/document-editor/fabric-dark.css +7 -0
  24. package/styles/document-editor/fabric.css +11 -0
  25. package/styles/document-editor/fluent-dark.css +7 -0
  26. package/styles/document-editor/fluent.css +7 -0
  27. package/styles/document-editor/highcontrast-light.css +1 -0
  28. package/styles/document-editor/highcontrast.css +7 -0
  29. package/styles/document-editor/material-dark.css +7 -0
  30. package/styles/document-editor/material.css +7 -0
  31. package/styles/document-editor/material3-dark.css +3971 -0
  32. package/styles/document-editor/material3-dark.scss +2 -0
  33. package/styles/document-editor/material3.css +4027 -0
  34. package/styles/document-editor/material3.scss +2 -0
  35. package/styles/document-editor/tailwind-dark.css +7 -0
  36. package/styles/document-editor/tailwind.css +7 -0
  37. package/styles/document-editor-container/bootstrap-dark.css +96 -37
  38. package/styles/document-editor-container/bootstrap.css +96 -37
  39. package/styles/document-editor-container/bootstrap4.css +96 -37
  40. package/styles/document-editor-container/bootstrap5-dark.css +96 -37
  41. package/styles/document-editor-container/bootstrap5.css +96 -37
  42. package/styles/document-editor-container/fabric-dark.css +96 -37
  43. package/styles/document-editor-container/fabric.css +96 -37
  44. package/styles/document-editor-container/fluent-dark.css +96 -37
  45. package/styles/document-editor-container/fluent.css +96 -37
  46. package/styles/document-editor-container/highcontrast-light.css +96 -37
  47. package/styles/document-editor-container/highcontrast.css +96 -37
  48. package/styles/document-editor-container/material-dark.css +101 -42
  49. package/styles/document-editor-container/material.css +97 -37
  50. package/styles/document-editor-container/material3-dark.css +2178 -0
  51. package/styles/document-editor-container/material3-dark.scss +2 -0
  52. package/styles/document-editor-container/material3.css +2234 -0
  53. package/styles/document-editor-container/material3.scss +2 -0
  54. package/styles/document-editor-container/tailwind-dark.css +95 -36
  55. package/styles/document-editor-container/tailwind.css +95 -36
  56. package/styles/fabric-dark.css +103 -37
  57. package/styles/fabric.css +107 -37
  58. package/styles/fluent-dark.css +103 -37
  59. package/styles/fluent.css +103 -37
  60. package/styles/highcontrast-light.css +97 -37
  61. package/styles/highcontrast.css +103 -37
  62. package/styles/material-dark.css +108 -42
  63. package/styles/material.css +104 -37
  64. package/styles/material3-dark.css +6150 -0
  65. package/styles/material3-dark.scss +3 -0
  66. package/styles/material3.css +6261 -0
  67. package/styles/material3.scss +3 -0
  68. package/styles/tailwind-dark.css +102 -36
  69. package/styles/tailwind.css +102 -36
package/CHANGELOG.md CHANGED
@@ -4,6 +4,192 @@
4
4
 
5
5
  ### Document Editor
6
6
 
7
+ #### New Features
8
+
9
+ - `#I397854`, `#I401771` - Added support for editing alternate text for images.
10
+ - `#I370306`, `#I438565` - Added support for character spacing and scaling.
11
+ - `#I273864`, `#I318326`, `#I325320`, `#I331615`, `#I339872`, `#F164047` - Added support for linking to the previous header/footer.
12
+ - `#I445060`, `#I468741` - Added a property in the `selectionChanged` event arguments to identify whether the user has completed their selection.
13
+
14
+ ## 21.2.10 (2023-06-13)
15
+
16
+ ### Document Editor
17
+
18
+ #### Bug Fixes
19
+
20
+ - `#I470779` - Resolved the script error when inserting comments while restrict editing is enabled.
21
+ - `#I467632` - Resolved the Script error is thrown when opening a document after performing FindAllAsync.
22
+ - `#I444469`, `#I467461` - Resolved the Script error occurs when opening a document.
23
+ - `#I467769` - Print widow now closed properly after closing the parent window.
24
+
25
+ ## 21.2.9 (2023-06-06)
26
+
27
+ ### Document Editor
28
+
29
+ #### Bug Fixes
30
+
31
+ - `#I454822` - Resolved the issue occurred when performing the pasting functionality.
32
+ - `#I455887` - Resolved the Editor height is increased issue when selecting or inserting text.
33
+ - `#I461390` - Resolved the Endnote/footnote number inconsistency.
34
+ - `#F182256` - Table cell border now applying properly.
35
+ - `#I458144` - Now, Docx exporting properly.
36
+ - `#I464522` - Resolved the issue in bookmark removal when deleting table.
37
+ - `#I466742` - Resolved the text selection issue while retrieving the selected text.
38
+
39
+ ## 21.2.8 (2023-05-30)
40
+
41
+ ### Document Editor
42
+
43
+ #### Bug Fixes
44
+
45
+ - `#I454919` - ShowComment API is now working properly.
46
+ - `#FB43366` - when track changes is enabled, chinese letters are now properly rendered.
47
+ - `#I457517` - Resolved script error occurred when removing the content.
48
+ - `#I454821` - Resolved the issue with document parsing in the Tika server.
49
+ - `#I457688` - Resolved the selected content removing issue.
50
+ - `#I457853` - Select all content is now removed properly.
51
+ - `#I458134` - Table is now rendered properly without overlapping issue.
52
+ - `#I459215` - Resolved Black color chart appearance while exporting as Docx.
53
+ - `#I459220` - Resolved the component hanging issue on loading a document.
54
+ - `#I459229` - Delete/backspace is now working for RTL last content.
55
+ - `#I461305` - Resolved the style issue while pasting content from office 365.
56
+ - `#I453980` - When opening the exported document with chart in Document Editor is not throwing an error.
57
+ - `#I459906` - Header/Footer class is now added while converting docx/SFDT into HTML.
58
+ - `#F182457` - Resolved the style issue while pasting content from office 365.
59
+
60
+ ## 21.2.6 (2023-05-23)
61
+
62
+ ### Document Editor
63
+
64
+ #### Bug Fixes
65
+
66
+ - `#I455945` - Resolved the issue in Shape position.
67
+ - `#I457467` - Now, getStyle() API will return the paragraph format.
68
+ - `#I454858` - Resolved the image missing issue in footer.
69
+ - `#I451667` - Horizontal scroll bar is not update properly based on cursor position.
70
+ - `#I457039` - Resolved the console error while giving accept all.
71
+ - `#I453407` - Resolved the script error when loading the document with smileys.
72
+
73
+ #### New Features
74
+
75
+ - `#I448978` - Added preservation support for text wrapping break.
76
+ - `#F179297` - Added navigation support between the multiple comments in a single line while clicking the comment icon.
77
+ - `#I433546` - Added support to show start and end markers for restricted range.
78
+ - `#I450206` - Added support to restrict maximum number of columns when creating a table.
79
+
80
+ ## 21.2.5 (2023-05-16)
81
+
82
+ ### Document Editor
83
+
84
+ #### Bug Fixes
85
+
86
+ - `#I449912` - Resolved layout issue while opening document.
87
+ - `#I450342` - Resolved the wrong Font issue while opening a document.
88
+ - `#I458331` - Resolved the paragraph combine issue when insert and delete comment.
89
+ - `#I458334` - Cursor position issue is resolved when shift enter key is pressed.
90
+ - `#I449581` - Resolved the script error when loading the track changes document with author field empty
91
+ - `#I452303` - Layout issue is now not occurred when editing the document.
92
+ - `#I452150` - Resolved the hanging issue when opening the attached document.
93
+ - `#I453495` - Resolved the Overlapping issue when we do enter/page break before the shape.
94
+ - `#I453196` - Resolved the issue in when perform undo action for Arabic content
95
+ - `#I454659` - Resolved the issue occurred when performing track changes for Arabic content.
96
+ - `#I449049` - A performance issue is resolved when typing inside the table.
97
+
98
+ ## 21.2.4 (2023-05-09)
99
+
100
+ ### Document Editor
101
+
102
+ #### Bug Fixes
103
+
104
+ - `#I451421` - Resolved the issue with list indentation.
105
+ - `#I450834` - Resolved the Script issue while opening SFDT.
106
+ - `#I452243` - Resolved the issue with modifying the style in existing styles.
107
+ - `#I449324` - Resolved the issue occurred while exporting the document in the .docx format.
108
+
109
+ ## 21.2.3 (2023-05-03)
110
+
111
+ ### Document Editor
112
+
113
+ #### Bug Fixes
114
+
115
+ - `#SF-446881` - Using getFormFieldNames() methods, now form fields are retrieved in order.
116
+ - `#F181200` - Resolved Script error thrown when attempting to delete a checkbox form field.
117
+ - `#SF-448155` - Resolved the position issue while resizing table.
118
+ - `#FB42313`- Resolved Table Merge Cell & Insert Column bug.
119
+ - `#SF-449967` - Resolved the problem with the loading of the document.
120
+
121
+ ## 21.1.41 (2023-04-18)
122
+
123
+ ### Document Editor
124
+
125
+ #### Bug Fixes
126
+
127
+ - `#SF-447180` - Resolved Allow row to break across pages issue.
128
+ - `#SF-439301` - Resolved Textbox and picture is not preserved properly in Header.
129
+ - `#SF-442538` - Resolved the script error while updating table of contents.
130
+ - `#SF-447249` - Resolved issue in default character format.
131
+ - `#SF-447180` - Resolved Layouting issue while opening the document.
132
+ - `#SF-447117` - Resolved the issue with the replacement of the incorrect word.
133
+ - `#SF-444154` - Resolved the text is not preserved while drag and drop.
134
+ - `#SF-452497` - Resolved the script error while pasting images with text content.
135
+
136
+ ## 21.1.39 (2023-04-11)
137
+
138
+ ### Document Editor
139
+
140
+ #### Bug Fixes
141
+
142
+ - `#SF-442240` - Resolved the space issue while opening document.
143
+ - `#SF-446434` - Resolved the border rendering issue in first page.
144
+ - `#SF-442538` - Resolved the list number issue when updating table of contents.
145
+ - `#SF-443314` - Resolved the script errors while delete the content with track changes enabled.
146
+ - `#SF-444283` - Resolved the script error while loading mail merged document.
147
+ - `#SF-448042` - Resolved the Blank page created while printing with A5 paper.
148
+ - `#SF-434487` - Improved the cache logic in spell check for text with special character.
149
+
150
+ - `#SF-442240` - Resolved the space issue while opening document.
151
+ - `#SF-446434` - Resolved the border rendering issue in first page.
152
+ - `#SF-442538` - Resolved the list number issue when updating table of contents.
153
+ - `#SF-443314` - Resolved the script errors while delete the content with track changes enabled.
154
+ - `#SF-444283` - Resolved the script error while loading mail merged document.
155
+ - `#SF-448042` - Resolved the Blank page created while printing with A5 paper.
156
+ - `#SF-441437` - Resolved the dropdown form field items expanding issue.
157
+
158
+ #### New Features
159
+
160
+ - `#SF-438580` - Added support for the event `beforeAcceptRejectChanges` to prevent accepting or rejecting tracked changes.
161
+
162
+ ## 21.1.38 (2023-04-04)
163
+
164
+ ### Document Editor
165
+
166
+ #### Bug Fixes
167
+
168
+ - `#SF-440282` - Resolved an error while trying to change font for whole document.
169
+ - `#SF-441499` - Resolved the script error while opening Document.
170
+ - `#SF-438842` - Header/Footer area are now resized based on the inserted image.
171
+ - `#SF-441437` - Resolved the dropdown form field items expanding issue.
172
+
173
+ #### New Features
174
+
175
+ - `#I418721` - Added API to auto resize when the Document editor became visible.
176
+
177
+ ## 21.1.37 (2023-03-29)
178
+
179
+ ### Document Editor
180
+
181
+ #### Bug Fixes
182
+
183
+ - `#I438125` - Resolved the header issue when editing in different section format.
184
+ - `#I439280` - Selection is now working properly in the paragraph with indentation.
185
+ - `#I436536`, `#I435119` - Table and paragraph is not overlapped while loading the attached document.
186
+ - `#I436445` - Resolved the overlapping issue while opening the document.
187
+ - `#I446019` - Resolved the issue in opening "Dotx" format document.
188
+
189
+ ## 21.1.35 (2023-03-23)
190
+
191
+ ### Document Editor
192
+
7
193
  #### Breaking Changes
8
194
 
9
195
  - 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).
package/README.md CHANGED
@@ -13,7 +13,7 @@ Syncfusion provides a predefined [Word Processor server docker image](https://hu
13
13
  </p>
14
14
 
15
15
  <p align="center">
16
- ![Vue Word Processor Component](https://raw.githubusercontent.com/SyncfusionExamples/nuget-img/master/vue/vue-word-processor.png)
16
+ <img src="https://raw.githubusercontent.com/SyncfusionExamples/nuget-img/master/vue/vue-word-processor.png" alt="Vue Word Processor Component">
17
17
  </p>
18
18
 
19
19
  <p align="center">
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * filename: ej2-vue-documenteditor.umd.min.js
3
- * version : 21.1.35
3
+ * version : 21.1.36
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,s){"use strict";var o=["isLazyUpdate","plugins","acceptTab","currentUser","defaultPasteOption","documentEditorSettings","documentName","documentSettings","enableAutoFocus","enableBookmarkDialog","enableBordersAndShadingDialog","enableColumnsDialog","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"],a=[],i=n.getProps({props:o}),r=i[0],l=i[1],c=Object.keys(l);c.push("modelchanged","update:modelValue");for(var u=0,d=a;u<d.length;u++){var h=d[u];c.push("update:"+h)}var m=n.vueDefineComponent({name:"DocumentEditorComponent",mixins:[n.ComponentBase],props:r,watch:l,emits:c,provide:function(){return{custom:this.custom}},data:function(){return{ej2Instances:new t.DocumentEditor({}),propKeys:o,models:a,hasChildDirective:!1,hasInjectedModules:!0,tagMapper:{},tagNameMapper:{},isVue3:!n.isExecute,templateCollection:{}}},created:function(){this.bindProperties(),this.ej2Instances._setProperties=this.ej2Instances.setProperties,this.ej2Instances.setProperties=this.setProperties,this.ej2Instances.clearTemplate=this.clearTemplate,this.updated=this.updated},render:function(e){var t=n.isExecute?e:n.gh,o=null;return s.isNullOrUndefined(this.$slots.default)||(o=n.isExecute?this.$slots.default:this.$slots.default()),t("div",o)},methods:{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 o=n[t],a=this.templateCollection[o];if(a&&a.length){for(var i=0,r=a;i<r.length;i++){var l=r[i];s.getValue("__vue__.$destroy",l)&&l.__vue__.$destroy(),l.innerHTML&&(l.innerHTML="")}delete this.templateCollection[o]}}},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(s){t!==s||/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])))})})},custom:function(){this.updated()},enableAllModules:function(){return this.ej2Instances.enableAllModules()},exportAsImage:function(e,t){return this.ej2Instances.exportAsImage(e,t)},exportFormData:function(){return this.ej2Instances.exportFormData()},fitPage:function(e){return this.ej2Instances.fitPage(e)},focusIn:function(){return this.ej2Instances.focusIn()},getBookmarks:function(){return this.ej2Instances.getBookmarks()},getFormFieldInfo:function(e){return this.ej2Instances.getFormFieldInfo(e)},getFormFieldNames:function(){return this.ej2Instances.getFormFieldNames()},getStyleNames:function(e){return this.ej2Instances.getStyleNames(e)},getStyles:function(e){return this.ej2Instances.getStyles(e)},importFormData:function(e){return this.ej2Instances.importFormData(e)},open:function(e){return this.ej2Instances.open(e)},openBlank:function(){return this.ej2Instances.openBlank()},print:function(e){return this.ej2Instances.print(e)},resetFormFields:function(e){return this.ej2Instances.resetFormFields(e)},resize:function(e,t){return this.ej2Instances.resize(e,t)},save:function(e,t){return this.ej2Instances.save(e,t)},saveAsBlob:function(e){return this.ej2Instances.saveAsBlob(e)},scrollToPage:function(e){return this.ej2Instances.scrollToPage(e)},serialize:function(){return this.ej2Instances.serialize()},setDefaultCharacterFormat:function(e){return this.ej2Instances.setDefaultCharacterFormat(e)},setDefaultParagraphFormat:function(e){return this.ej2Instances.setDefaultParagraphFormat(e)},setDefaultSectionFormat:function(e){return this.ej2Instances.setDefaultSectionFormat(e)},setFormFieldInfo:function(e,t){return this.ej2Instances.setFormFieldInfo(e,t)},showDialog:function(e){return this.ej2Instances.showDialog(e)},showOptionsPane:function(){return this.ej2Instances.showOptionsPane()},showRestrictEditingPane:function(e){return this.ej2Instances.showRestrictEditingPane(e)},updateFields:function(){return this.ej2Instances.updateFields()}}}),p={name:"ejs-documenteditor",install:function(e){e.component(p.name,m)}},f=["isLazyUpdate","plugins","currentUser","documentEditorSettings","documentSettings","enableAutoFocus","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"],g=[],b=n.getProps({props:f}),j=b[0],I=b[1],C=Object.keys(I);C.push("modelchanged","update:modelValue");for(var F=0,v=g;F<v.length;F++){var D=v[F];C.push("update:"+D)}var P=n.vueDefineComponent({name:"DocumentEditorContainerComponent",mixins:[n.ComponentBase],props:j,watch:I,emits:C,provide:function(){return{custom:this.custom}},data:function(){return{ej2Instances:new t.DocumentEditorContainer({}),propKeys:f,models:g,hasChildDirective:!1,hasInjectedModules:!0,tagMapper:{},tagNameMapper:{},isVue3:!n.isExecute,templateCollection:{}}},created:function(){this.bindProperties(),this.ej2Instances._setProperties=this.ej2Instances.setProperties,this.ej2Instances.setProperties=this.setProperties,this.ej2Instances.clearTemplate=this.clearTemplate,this.updated=this.updated},render:function(e){var t=n.isExecute?e:n.gh,o=null;return s.isNullOrUndefined(this.$slots.default)||(o=n.isExecute?this.$slots.default:this.$slots.default()),t("div",o)},methods:{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 o=n[t],a=this.templateCollection[o];if(a&&a.length){for(var i=0,r=a;i<r.length;i++){var l=r[i];s.getValue("__vue__.$destroy",l)&&l.__vue__.$destroy(),l.innerHTML&&(l.innerHTML="")}delete this.templateCollection[o]}}},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(s){t!==s||/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])))})})},custom:function(){this.updated()},resize:function(e,t){return this.ej2Instances.resize(e,t)},setDefaultCharacterFormat:function(e){return this.ej2Instances.setDefaultCharacterFormat(e)},setDefaultParagraphFormat:function(e){return this.ej2Instances.setDefaultParagraphFormat(e)},setDefaultSectionFormat:function(e){return this.ej2Instances.setDefaultSectionFormat(e)}}}),y={name:"ejs-documenteditorcontainer",install:function(e){e.component(y.name,P)}};e.DocumentEditorComponent=m,e.DocumentEditorPlugin=p,e.DocumentEditorContainerComponent=P,e.DocumentEditorContainerPlugin=y,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})});
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,s){"use strict";var o=["isLazyUpdate","plugins","acceptTab","autoResizeOnVisibilityChange","currentUser","defaultPasteOption","documentEditorSettings","documentName","documentSettings","enableAutoFocus","enableBookmarkDialog","enableBordersAndShadingDialog","enableColumnsDialog","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","beforeAcceptRejectChanges","beforeCommentAction","beforeFileOpen","beforeFormFieldFill","beforePaneSwitch","commentBegin","commentDelete","commentEnd","contentChange","contentControl","created","customContextMenuBeforeOpen","customContextMenuSelect","destroyed","documentChange","keyDown","requestNavigate","searchResultsChange","selectionChange","serviceFailure","trackChange","viewChange","zoomFactorChange","beforeXmlHttpRequestSend"],a=[],i=n.getProps({props:o}),r=i[0],l=i[1],c=Object.keys(l);c.push("modelchanged","update:modelValue");for(var u=0,h=a;u<h.length;u++){var d=h[u];c.push("update:"+d)}var m=n.vueDefineComponent({name:"DocumentEditorComponent",mixins:[n.ComponentBase],props:r,watch:l,emits:c,provide:function(){return{custom:this.custom}},data:function(){return{ej2Instance:new t.DocumentEditor({}),propKeys:o,models:a,hasChildDirective:!1,hasInjectedModules:!0,tagMapper:{},tagNameMapper:{},isVue3:!n.isExecute,templateCollection:{}}},created:function(){this.bindProperties(),this.ej2Instances._setProperties=this.ej2Instances.setProperties,this.ej2Instances.setProperties=this.setProperties,this.ej2Instances.clearTemplate=this.clearTemplate,this.updated=this.updated},render:function(e){var t=n.isExecute?e:n.gh,o=null;return s.isNullOrUndefined(this.$slots.default)||(o=n.isExecute?this.$slots.default:this.$slots.default()),t("div",o)},methods:{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 o=n[t],a=this.templateCollection[o];if(a&&a.length){for(var i=0,r=a;i<r.length;i++){var l=r[i];s.getValue("__vue__.$destroy",l)&&l.__vue__.$destroy(),l.innerHTML&&(l.innerHTML="")}delete this.templateCollection[o]}}},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(s){t!==s||/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])))})})},custom:function(){this.updated()},enableAllModules:function(){return this.ej2Instances.enableAllModules()},exportAsImage:function(e,t){return this.ej2Instances.exportAsImage(e,t)},exportFormData:function(){return this.ej2Instances.exportFormData()},fitPage:function(e){return this.ej2Instances.fitPage(e)},focusIn:function(){return this.ej2Instances.focusIn()},getBookmarks:function(){return this.ej2Instances.getBookmarks()},getFormFieldInfo:function(e){return this.ej2Instances.getFormFieldInfo(e)},getFormFieldNames:function(){return this.ej2Instances.getFormFieldNames()},getStyleNames:function(e){return this.ej2Instances.getStyleNames(e)},getStyles:function(e){return this.ej2Instances.getStyles(e)},importFormData:function(e){return this.ej2Instances.importFormData(e)},open:function(e){return this.ej2Instances.open(e)},openBlank:function(){return this.ej2Instances.openBlank()},print:function(e){return this.ej2Instances.print(e)},resetFormFields:function(e){return this.ej2Instances.resetFormFields(e)},resize:function(e,t){return this.ej2Instances.resize(e,t)},save:function(e,t){return this.ej2Instances.save(e,t)},saveAsBlob:function(e){return this.ej2Instances.saveAsBlob(e)},scrollToPage:function(e){return this.ej2Instances.scrollToPage(e)},serialize:function(){return this.ej2Instances.serialize()},setDefaultCharacterFormat:function(e){return this.ej2Instances.setDefaultCharacterFormat(e)},setDefaultParagraphFormat:function(e){return this.ej2Instances.setDefaultParagraphFormat(e)},setDefaultSectionFormat:function(e){return this.ej2Instances.setDefaultSectionFormat(e)},setFormFieldInfo:function(e,t){return this.ej2Instances.setFormFieldInfo(e,t)},showDialog:function(e){return this.ej2Instances.showDialog(e)},showOptionsPane:function(){return this.ej2Instances.showOptionsPane()},showRestrictEditingPane:function(e){return this.ej2Instances.showRestrictEditingPane(e)},updateFields:function(){return this.ej2Instances.updateFields()}}}),p={name:"ejs-documenteditor",install:function(e){e.component(p.name,m)}},f=["isLazyUpdate","plugins","autoResizeOnVisibilityChange","currentUser","documentEditorSettings","documentSettings","enableAutoFocus","enableComment","enableCsp","enableLocalPaste","enableLockAndEdit","enablePersistence","enableRtl","enableSpellCheck","enableToolbar","enableTrackChanges","headers","height","layoutType","locale","restrictEditing","serverActionSettings","serviceUrl","showPropertiesPane","toolbarItems","userColor","width","zIndex","beforeAcceptRejectChanges","beforeCommentAction","beforePaneSwitch","commentDelete","contentChange","contentControl","created","customContextMenuBeforeOpen","customContextMenuSelect","destroyed","documentChange","selectionChange","serviceFailure","toolbarClick","trackChange","beforeXmlHttpRequestSend"],g=[],b=n.getProps({props:f}),j=b[0],C=b[1],I=Object.keys(C);I.push("modelchanged","update:modelValue");for(var F=0,v=g;F<v.length;F++){var D=v[F];I.push("update:"+D)}var P=n.vueDefineComponent({name:"DocumentEditorContainerComponent",mixins:[n.ComponentBase],props:j,watch:C,emits:I,provide:function(){return{custom:this.custom}},data:function(){return{ej2Instance:new t.DocumentEditorContainer({}),propKeys:f,models:g,hasChildDirective:!1,hasInjectedModules:!0,tagMapper:{},tagNameMapper:{},isVue3:!n.isExecute,templateCollection:{}}},created:function(){this.bindProperties(),this.ej2Instances._setProperties=this.ej2Instances.setProperties,this.ej2Instances.setProperties=this.setProperties,this.ej2Instances.clearTemplate=this.clearTemplate,this.updated=this.updated},render:function(e){var t=n.isExecute?e:n.gh,o=null;return s.isNullOrUndefined(this.$slots.default)||(o=n.isExecute?this.$slots.default:this.$slots.default()),t("div",o)},methods:{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 o=n[t],a=this.templateCollection[o];if(a&&a.length){for(var i=0,r=a;i<r.length;i++){var l=r[i];s.getValue("__vue__.$destroy",l)&&l.__vue__.$destroy(),l.innerHTML&&(l.innerHTML="")}delete this.templateCollection[o]}}},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(s){t!==s||/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])))})})},custom:function(){this.updated()},resize:function(e,t){return this.ej2Instances.resize(e,t)},setDefaultCharacterFormat:function(e){return this.ej2Instances.setDefaultCharacterFormat(e)},setDefaultParagraphFormat:function(e){return this.ej2Instances.setDefaultParagraphFormat(e)},setDefaultSectionFormat:function(e){return this.ej2Instances.setDefaultSectionFormat(e)}}}),y={name:"ejs-documenteditorcontainer",install:function(e){e.component(y.name,P)}};e.DocumentEditorComponent=m,e.DocumentEditorPlugin=p,e.DocumentEditorContainerComponent=P,e.DocumentEditorContainerPlugin=y,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})});
11
11
  //# 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":["import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { DocumentEditor } from '@syncfusion/ej2-documenteditor';\nexport var properties = ['isLazyUpdate', 'plugins', 'acceptTab', 'currentUser', 'defaultPasteOption', 'documentEditorSettings', 'documentName', 'documentSettings', 'enableAutoFocus', 'enableBookmarkDialog', 'enableBordersAndShadingDialog', 'enableColumnsDialog', '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], watch = testProp[1], emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\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}\n/**\n * Represents the Essential JS 2 VueJS Document Editor Component\n * ```html\n * <ejs-documenteditor id='container'></ejs-documenteditor>\n * ```\n */\nexport var DocumentEditorComponent = vueDefineComponent({\n name: 'DocumentEditorComponent',\n mixins: [ComponentBase],\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function () { return { custom: this.custom }; },\n data: function () {\n return {\n ej2Instances: new DocumentEditor({}),\n propKeys: properties,\n models: modelProps,\n hasChildDirective: false,\n hasInjectedModules: true,\n tagMapper: {},\n tagNameMapper: {},\n isVue3: !isExecute,\n templateCollection: {},\n };\n },\n created: function () {\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 },\n render: function (createElement) {\n var h = !isExecute ? gh : createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n },\n methods: {\n 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 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 custom: function () {\n this.updated();\n },\n enableAllModules: function () {\n return this.ej2Instances.enableAllModules();\n },\n exportAsImage: function (pageNumber, format) {\n return this.ej2Instances.exportAsImage(pageNumber, format);\n },\n exportFormData: function () {\n return this.ej2Instances.exportFormData();\n },\n fitPage: function (pageFitType) {\n return this.ej2Instances.fitPage(pageFitType);\n },\n focusIn: function () {\n return this.ej2Instances.focusIn();\n },\n getBookmarks: function () {\n return this.ej2Instances.getBookmarks();\n },\n getFormFieldInfo: function (name) {\n return this.ej2Instances.getFormFieldInfo(name);\n },\n getFormFieldNames: function () {\n return this.ej2Instances.getFormFieldNames();\n },\n getStyleNames: function (styleType) {\n return this.ej2Instances.getStyleNames(styleType);\n },\n getStyles: function (styleType) {\n return this.ej2Instances.getStyles(styleType);\n },\n importFormData: function (formData) {\n return this.ej2Instances.importFormData(formData);\n },\n open: function (sfdtText) {\n return this.ej2Instances.open(sfdtText);\n },\n openBlank: function () {\n return this.ej2Instances.openBlank();\n },\n print: function (printWindow) {\n return this.ej2Instances.print(printWindow);\n },\n resetFormFields: function (name) {\n return this.ej2Instances.resetFormFields(name);\n },\n resize: function (width, height) {\n return this.ej2Instances.resize(width, height);\n },\n save: function (fileName, formatType) {\n return this.ej2Instances.save(fileName, formatType);\n },\n saveAsBlob: function (formatType) {\n return this.ej2Instances.saveAsBlob(formatType);\n },\n scrollToPage: function (pageNumber) {\n return this.ej2Instances.scrollToPage(pageNumber);\n },\n serialize: function () {\n return this.ej2Instances.serialize();\n },\n setDefaultCharacterFormat: function (characterFormat) {\n return this.ej2Instances.setDefaultCharacterFormat(characterFormat);\n },\n setDefaultParagraphFormat: function (paragraphFormat) {\n return this.ej2Instances.setDefaultParagraphFormat(paragraphFormat);\n },\n setDefaultSectionFormat: function (sectionFormat) {\n return this.ej2Instances.setDefaultSectionFormat(sectionFormat);\n },\n setFormFieldInfo: function (name, formFieldInfo) {\n return this.ej2Instances.setFormFieldInfo(name, formFieldInfo);\n },\n showDialog: function (dialogType) {\n return this.ej2Instances.showDialog(dialogType);\n },\n showOptionsPane: function () {\n return this.ej2Instances.showOptionsPane();\n },\n showRestrictEditingPane: function (show) {\n return this.ej2Instances.showRestrictEditingPane(show);\n },\n updateFields: function () {\n return this.ej2Instances.updateFields();\n },\n }\n});\nexport var DocumentEditorPlugin = {\n name: 'ejs-documenteditor',\n install: function (Vue) {\n Vue.component(DocumentEditorPlugin.name, DocumentEditorComponent);\n }\n};\n","import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { DocumentEditorContainer } from '@syncfusion/ej2-documenteditor';\nexport var properties = ['isLazyUpdate', 'plugins', 'currentUser', 'documentEditorSettings', 'documentSettings', 'enableAutoFocus', '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], watch = testProp[1], emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\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}\n/**\n * Represents the Essential JS 2 VueJS Document Editor Container\n * ```html\n * <ejs-documenteditor-container id='container'></ejs-documenteditor-container>\n * ```\n */\nexport var DocumentEditorContainerComponent = vueDefineComponent({\n name: 'DocumentEditorContainerComponent',\n mixins: [ComponentBase],\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function () { return { custom: this.custom }; },\n data: function () {\n return {\n ej2Instances: new DocumentEditorContainer({}),\n propKeys: properties,\n models: modelProps,\n hasChildDirective: false,\n hasInjectedModules: true,\n tagMapper: {},\n tagNameMapper: {},\n isVue3: !isExecute,\n templateCollection: {},\n };\n },\n created: function () {\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 },\n render: function (createElement) {\n var h = !isExecute ? gh : createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n },\n methods: {\n 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 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 custom: function () {\n this.updated();\n },\n resize: function (width, height) {\n return this.ej2Instances.resize(width, height);\n },\n setDefaultCharacterFormat: function (characterFormat) {\n return this.ej2Instances.setDefaultCharacterFormat(characterFormat);\n },\n setDefaultParagraphFormat: function (paragraphFormat) {\n return this.ej2Instances.setDefaultParagraphFormat(paragraphFormat);\n },\n setDefaultSectionFormat: function (sectionFormat) {\n return this.ej2Instances.setDefaultSectionFormat(sectionFormat);\n },\n }\n});\nexport var DocumentEditorContainerPlugin = {\n name: 'ejs-documenteditorcontainer',\n install: function (Vue) {\n Vue.component(DocumentEditorContainerPlugin.name, DocumentEditorContainerComponent);\n }\n};\n"],"names":["properties","modelProps","testProp","getProps","props","watch","emitProbs","Object","keys","push","_i","modelProps_1","length","props_1","DocumentEditorComponent","vueDefineComponent","name","mixins","ComponentBase","emits","provide","custom","this","data","ej2Instances","DocumentEditor","propKeys","models","hasChildDirective","hasInjectedModules","tagMapper","tagNameMapper","isVue3","isExecute","templateCollection","created","bindProperties","_setProperties","setProperties","clearTemplate","updated","render","createElement","h","gh","slots","isNullOrUndefined","$slots","default","methods","templateNames","templateNames_1","tempName","elementCollection","_a","elementCollection_1","ele","getValue","__vue__","$destroy","innerHTML","prop","muteOnChange","_this","referModels","map","key","model","test","vueInstance","$emit","enableAllModules","exportAsImage","pageNumber","format","exportFormData","fitPage","pageFitType","focusIn","getBookmarks","getFormFieldInfo","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","DocumentEditorPlugin","install","Vue","component","DocumentEditorContainerComponent","DocumentEditorContainer","DocumentEditorContainerPlugin"],"mappings":"uaAGO,IAAIA,GAAc,eAAgB,UAAW,YAAa,cAAe,qBAAsB,yBAA0B,eAAgB,mBAAoB,kBAAmB,uBAAwB,gCAAiC,sBAAuB,gBAAiB,oBAAqB,yBAA0B,eAAgB,sBAAuB,mBAAoB,iCAAkC,kBAAmB,wBAAyB,qBAAsB,mBAAoB,mBAAoB,oBAAqB,oBAAqB,wBAAyB,wBAAyB,oBAAqB,cAAe,YAAa,eAAgB,kBAAmB,mBAA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AAUE,GAClBD,IAAQC,GAAY,cAAcC,KAAKF,KACpCH,EAAM/B,OACN+B,EAAMvC,aAAa6C,YAAYC,MAAM,UAAYJ,EAAKL,EAAKK,KAG3DH,EAAMO,MAAM,UAAYJ,EAAKL,EAAKK,IAClCH,EAAMO,MAAM,eAAgBT,EAAKK,WAOzD7C,OAAQ,WACJC,KAAKkB,WAETqD,OAAQ,SAAUC,EAAOC,GACrB,OAAOzE,KAAKE,aAAaqE,OAAOC,EAAOC,IAE3CO,0BAA2B,SAAUC,GACjC,OAAOjF,KAAKE,aAAa8E,0BAA0BC,IAEvDC,0BAA2B,SAAUC,GACjC,OAAOnF,KAAKE,aAAagF,0BAA0BC,IAEvDC,wBAAyB,SAAUC,GAC/B,OAAOrF,KAAKE,aAAakF,wBAAwBC,OAIlDe,GACP1G,KAAM,8BACNqG,QAAS,SAAUC,GACfA,EAAIC,UAAUG,EAA8B1G,KAAMwG"}
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":["import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { DocumentEditor } from '@syncfusion/ej2-documenteditor';\nexport var properties = ['isLazyUpdate', 'plugins', 'acceptTab', 'autoResizeOnVisibilityChange', 'currentUser', 'defaultPasteOption', 'documentEditorSettings', 'documentName', 'documentSettings', 'enableAutoFocus', 'enableBookmarkDialog', 'enableBordersAndShadingDialog', 'enableColumnsDialog', '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', 'beforeAcceptRejectChanges', '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], watch = testProp[1], emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\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}\n/**\n * Represents the Essential JS 2 VueJS Document Editor Component\n * ```html\n * <ejs-documenteditor id='container'></ejs-documenteditor>\n * ```\n */\nexport var DocumentEditorComponent = vueDefineComponent({\n name: 'DocumentEditorComponent',\n mixins: [ComponentBase],\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function () { return { custom: this.custom }; },\n data: function () {\n return {\n ej2Instance: new DocumentEditor({}),\n propKeys: properties,\n models: modelProps,\n hasChildDirective: false,\n hasInjectedModules: true,\n tagMapper: {},\n tagNameMapper: {},\n isVue3: !isExecute,\n templateCollection: {},\n };\n },\n created: function () {\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 },\n render: function (createElement) {\n var h = !isExecute ? gh : createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n },\n methods: {\n 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 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 custom: function () {\n this.updated();\n },\n enableAllModules: function () {\n return this.ej2Instances.enableAllModules();\n },\n exportAsImage: function (pageNumber, format) {\n return this.ej2Instances.exportAsImage(pageNumber, format);\n },\n exportFormData: function () {\n return this.ej2Instances.exportFormData();\n },\n fitPage: function (pageFitType) {\n return this.ej2Instances.fitPage(pageFitType);\n },\n focusIn: function () {\n return this.ej2Instances.focusIn();\n },\n getBookmarks: function () {\n return this.ej2Instances.getBookmarks();\n },\n getFormFieldInfo: function (name) {\n return this.ej2Instances.getFormFieldInfo(name);\n },\n getFormFieldNames: function () {\n return this.ej2Instances.getFormFieldNames();\n },\n getStyleNames: function (styleType) {\n return this.ej2Instances.getStyleNames(styleType);\n },\n getStyles: function (styleType) {\n return this.ej2Instances.getStyles(styleType);\n },\n importFormData: function (formData) {\n return this.ej2Instances.importFormData(formData);\n },\n open: function (sfdtText) {\n return this.ej2Instances.open(sfdtText);\n },\n openBlank: function () {\n return this.ej2Instances.openBlank();\n },\n print: function (printWindow) {\n return this.ej2Instances.print(printWindow);\n },\n resetFormFields: function (name) {\n return this.ej2Instances.resetFormFields(name);\n },\n resize: function (width, height) {\n return this.ej2Instances.resize(width, height);\n },\n save: function (fileName, formatType) {\n return this.ej2Instances.save(fileName, formatType);\n },\n saveAsBlob: function (formatType) {\n return this.ej2Instances.saveAsBlob(formatType);\n },\n scrollToPage: function (pageNumber) {\n return this.ej2Instances.scrollToPage(pageNumber);\n },\n serialize: function () {\n return this.ej2Instances.serialize();\n },\n setDefaultCharacterFormat: function (characterFormat) {\n return this.ej2Instances.setDefaultCharacterFormat(characterFormat);\n },\n setDefaultParagraphFormat: function (paragraphFormat) {\n return this.ej2Instances.setDefaultParagraphFormat(paragraphFormat);\n },\n setDefaultSectionFormat: function (sectionFormat) {\n return this.ej2Instances.setDefaultSectionFormat(sectionFormat);\n },\n setFormFieldInfo: function (name, formFieldInfo) {\n return this.ej2Instances.setFormFieldInfo(name, formFieldInfo);\n },\n showDialog: function (dialogType) {\n return this.ej2Instances.showDialog(dialogType);\n },\n showOptionsPane: function () {\n return this.ej2Instances.showOptionsPane();\n },\n showRestrictEditingPane: function (show) {\n return this.ej2Instances.showRestrictEditingPane(show);\n },\n updateFields: function () {\n return this.ej2Instances.updateFields();\n },\n }\n});\nexport var DocumentEditorPlugin = {\n name: 'ejs-documenteditor',\n install: function (Vue) {\n Vue.component(DocumentEditorPlugin.name, DocumentEditorComponent);\n }\n};\n","import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { DocumentEditorContainer } from '@syncfusion/ej2-documenteditor';\nexport var properties = ['isLazyUpdate', 'plugins', 'autoResizeOnVisibilityChange', 'currentUser', 'documentEditorSettings', 'documentSettings', 'enableAutoFocus', 'enableComment', 'enableCsp', 'enableLocalPaste', 'enableLockAndEdit', 'enablePersistence', 'enableRtl', 'enableSpellCheck', 'enableToolbar', 'enableTrackChanges', 'headers', 'height', 'layoutType', 'locale', 'restrictEditing', 'serverActionSettings', 'serviceUrl', 'showPropertiesPane', 'toolbarItems', 'userColor', 'width', 'zIndex', 'beforeAcceptRejectChanges', '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], watch = testProp[1], emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\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}\n/**\n * Represents the Essential JS 2 VueJS Document Editor Container\n * ```html\n * <ejs-documenteditor-container id='container'></ejs-documenteditor-container>\n * ```\n */\nexport var DocumentEditorContainerComponent = vueDefineComponent({\n name: 'DocumentEditorContainerComponent',\n mixins: [ComponentBase],\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function () { return { custom: this.custom }; },\n data: function () {\n return {\n ej2Instance: new DocumentEditorContainer({}),\n propKeys: properties,\n models: modelProps,\n hasChildDirective: false,\n hasInjectedModules: true,\n tagMapper: {},\n tagNameMapper: {},\n isVue3: !isExecute,\n templateCollection: {},\n };\n },\n created: function () {\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 },\n render: function (createElement) {\n var h = !isExecute ? gh : createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n },\n methods: {\n 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 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 custom: function () {\n this.updated();\n },\n resize: function (width, height) {\n return this.ej2Instances.resize(width, height);\n },\n setDefaultCharacterFormat: function (characterFormat) {\n return this.ej2Instances.setDefaultCharacterFormat(characterFormat);\n },\n setDefaultParagraphFormat: function (paragraphFormat) {\n return this.ej2Instances.setDefaultParagraphFormat(paragraphFormat);\n },\n setDefaultSectionFormat: function (sectionFormat) {\n return this.ej2Instances.setDefaultSectionFormat(sectionFormat);\n },\n }\n});\nexport var DocumentEditorContainerPlugin = {\n name: 'ejs-documenteditorcontainer',\n install: function (Vue) {\n Vue.component(DocumentEditorContainerPlugin.name, DocumentEditorContainerComponent);\n }\n};\n"],"names":["properties","modelProps","testProp","getProps","props","watch","emitProbs","Object","keys","push","_i","modelProps_1","length","props_1","DocumentEditorComponent","vueDefineComponent","name","mixins","ComponentBase","emits","provide","custom","this","data","ej2Instance","DocumentEditor","propKeys","models","hasChildDirective","hasInjectedModules","tagMapper","tagNameMapper","isVue3","isExecute","templateCollection","created","bindProperties","ej2Instances","_setProperties","setProperties","clearTemplate","updated","render","createElement","h","gh","slots","isNullOrUndefined","$slots","default","methods","templateNames","templateNames_1","tempName","elementCollection","_a","elementCollection_1","ele","getValue","__vue__","$destroy","innerHTML","prop","muteOnChange","_this","referModels","map","key","model","test","vueInstance","$emit","enableAllModules","exportAsImage","pageNumber","format","exportFormData","fitPage","pageFitType","focusIn","getBookmarks","getFormFieldInfo","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","DocumentEditorPlugin","install","Vue","component","DocumentEditorContainerComponent","DocumentEditorContainer","DocumentEditorContainerPlugin"],"mappings":"uaAGO,IAAIA,GAAc,eAAgB,UAAW,YAAa,+BAAgC,cAAe,qBAAsB,yBAA0B,eAAgB,mBAAoB,kBAAmB,uBAAwB,gCAAiC,sBAAuB,gBAAiB,o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,aAAa4B,aAE/C3C,KAAKe,cAAgBf,KAAKe,aAAaC,gBACvChB,KAAKe,aAAaC,eAAewB,EAAMC,GAEvCD,GAAQxC,KAAKK,QAAUL,KAAKK,OAAOf,QACnCL,OAAOC,KAAKsD,GAAMI,IAAI,SAAUC,GAC5BH,EAAMrC,OAAOuC,IAAI,SAAUE,GAClBD,IAAQC,GAAY,cAAcC,KAAKF,KACpCH,EAAMhC,OACNgC,EAAM3B,aAAaiC,YAAYC,MAAM,UAAYJ,EAAKL,EAAKK,KAG3DH,EAAMO,MAAM,UAAYJ,EAAKL,EAAKK,IAClCH,EAAMO,MAAM,eAAgBT,EAAKK,WAOzD9C,OAAQ,WACJC,KAAKmB,WAETqD,OAAQ,SAAUC,EAAOC,GACrB,OAAO1E,KAAKe,aAAayD,OAAOC,EAAOC,IAE3CO,0BAA2B,SAAUC,GACjC,OAAOlF,KAAKe,aAAakE,0BAA0BC,IAEvDC,0BAA2B,SAAUC,GACjC,OAAOpF,KAAKe,aAAaoE,0BAA0BC,IAEvDC,wBAAyB,SAAUC,GAC/B,OAAOtF,KAAKe,aAAasE,wBAAwBC,OAIlDe,GACP3G,KAAM,8BACNsG,QAAS,SAAUC,GACfA,EAAIC,UAAUG,EAA8B3G,KAAMyG"}
@@ -2,7 +2,7 @@ import { DocumentEditor, DocumentEditorContainer } from '@syncfusion/ej2-documen
2
2
  import { ComponentBase, getProps, gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
3
3
  import { getValue, isNullOrUndefined } from '@syncfusion/ej2-base';
4
4
 
5
- const properties = ['isLazyUpdate', 'plugins', 'acceptTab', 'currentUser', 'defaultPasteOption', 'documentEditorSettings', 'documentName', 'documentSettings', 'enableAutoFocus', 'enableBookmarkDialog', 'enableBordersAndShadingDialog', 'enableColumnsDialog', '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'];
5
+ const properties = ['isLazyUpdate', 'plugins', 'acceptTab', 'autoResizeOnVisibilityChange', 'currentUser', 'defaultPasteOption', 'documentEditorSettings', 'documentName', 'documentSettings', 'enableAutoFocus', 'enableBookmarkDialog', 'enableBordersAndShadingDialog', 'enableColumnsDialog', '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', 'beforeAcceptRejectChanges', 'beforeCommentAction', 'beforeFileOpen', 'beforeFormFieldFill', 'beforePaneSwitch', 'commentBegin', 'commentDelete', 'commentEnd', 'contentChange', 'contentControl', 'created', 'customContextMenuBeforeOpen', 'customContextMenuSelect', 'destroyed', 'documentChange', 'keyDown', 'requestNavigate', 'searchResultsChange', 'selectionChange', 'serviceFailure', 'trackChange', 'viewChange', 'zoomFactorChange', 'beforeXmlHttpRequestSend'];
6
6
  const modelProps = [];
7
7
  const testProp = getProps({ props: properties });
8
8
  const props = testProp[0];
@@ -27,7 +27,7 @@ let DocumentEditorComponent = vueDefineComponent({
27
27
  provide() { return { custom: this.custom }; },
28
28
  data() {
29
29
  return {
30
- ej2Instances: new DocumentEditor({}),
30
+ ej2Instance: new DocumentEditor({}),
31
31
  propKeys: properties,
32
32
  models: modelProps,
33
33
  hasChildDirective: false,
@@ -195,7 +195,7 @@ const DocumentEditorPlugin = {
195
195
  }
196
196
  };
197
197
 
198
- const properties$1 = ['isLazyUpdate', 'plugins', 'currentUser', 'documentEditorSettings', 'documentSettings', 'enableAutoFocus', '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'];
198
+ const properties$1 = ['isLazyUpdate', 'plugins', 'autoResizeOnVisibilityChange', 'currentUser', 'documentEditorSettings', 'documentSettings', 'enableAutoFocus', 'enableComment', 'enableCsp', 'enableLocalPaste', 'enableLockAndEdit', 'enablePersistence', 'enableRtl', 'enableSpellCheck', 'enableToolbar', 'enableTrackChanges', 'headers', 'height', 'layoutType', 'locale', 'restrictEditing', 'serverActionSettings', 'serviceUrl', 'showPropertiesPane', 'toolbarItems', 'userColor', 'width', 'zIndex', 'beforeAcceptRejectChanges', 'beforeCommentAction', 'beforePaneSwitch', 'commentDelete', 'contentChange', 'contentControl', 'created', 'customContextMenuBeforeOpen', 'customContextMenuSelect', 'destroyed', 'documentChange', 'selectionChange', 'serviceFailure', 'toolbarClick', 'trackChange', 'beforeXmlHttpRequestSend'];
199
199
  const modelProps$1 = [];
200
200
  const testProp$1 = getProps({ props: properties$1 });
201
201
  const props$1 = testProp$1[0];
@@ -220,7 +220,7 @@ let DocumentEditorContainerComponent = vueDefineComponent({
220
220
  provide() { return { custom: this.custom }; },
221
221
  data() {
222
222
  return {
223
- ej2Instances: new DocumentEditorContainer({}),
223
+ ej2Instance: new DocumentEditorContainer({}),
224
224
  propKeys: properties$1,
225
225
  models: modelProps$1,
226
226
  hasChildDirective: false,
@@ -1 +1 @@
1
- {"version":3,"file":"ej2-vue-documenteditor.es2015.js","sources":["../src/es6/document-editor/documenteditor.component.js","../src/es6/document-editor-container/documenteditorcontainer.component.js"],"sourcesContent":["import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { DocumentEditor } from '@syncfusion/ej2-documenteditor';\nexport const properties = ['isLazyUpdate', 'plugins', 'acceptTab', 'currentUser', 'defaultPasteOption', 'documentEditorSettings', 'documentName', 'documentSettings', 'enableAutoFocus', 'enableBookmarkDialog', 'enableBordersAndShadingDialog', 'enableColumnsDialog', '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 const modelProps = [];\nexport const testProp = getProps({ props: properties });\nexport const props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\nfor (let props of modelProps) {\n emitProbs.push('update:' + props);\n}\n/**\n * Represents the Essential JS 2 VueJS Document Editor Component\n * ```html\n * <ejs-documenteditor id='container'></ejs-documenteditor>\n * ```\n */\nexport let DocumentEditorComponent = vueDefineComponent({\n name: 'DocumentEditorComponent',\n mixins: [ComponentBase],\n props: props,\n watch: watch,\n emits: emitProbs,\n provide() { return { custom: this.custom }; },\n data() {\n return {\n ej2Instances: new DocumentEditor({}),\n propKeys: properties,\n models: modelProps,\n hasChildDirective: false,\n hasInjectedModules: true,\n tagMapper: {},\n tagNameMapper: {},\n isVue3: !isExecute,\n templateCollection: {},\n };\n },\n created() {\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 },\n render(createElement) {\n let h = !isExecute ? gh : createElement;\n let slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n },\n methods: {\n clearTemplate(templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (let tempName of templateNames) {\n let elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (let ele of elementCollection) {\n let 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 setProperties(prop, muteOnChange) {\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((key) => {\n this.models.map((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 custom() {\n this.updated();\n },\n enableAllModules() {\n return this.ej2Instances.enableAllModules();\n },\n exportAsImage(pageNumber, format) {\n return this.ej2Instances.exportAsImage(pageNumber, format);\n },\n exportFormData() {\n return this.ej2Instances.exportFormData();\n },\n fitPage(pageFitType) {\n return this.ej2Instances.fitPage(pageFitType);\n },\n focusIn() {\n return this.ej2Instances.focusIn();\n },\n getBookmarks() {\n return this.ej2Instances.getBookmarks();\n },\n getFormFieldInfo(name) {\n return this.ej2Instances.getFormFieldInfo(name);\n },\n getFormFieldNames() {\n return this.ej2Instances.getFormFieldNames();\n },\n getStyleNames(styleType) {\n return this.ej2Instances.getStyleNames(styleType);\n },\n getStyles(styleType) {\n return this.ej2Instances.getStyles(styleType);\n },\n importFormData(formData) {\n return this.ej2Instances.importFormData(formData);\n },\n open(sfdtText) {\n return this.ej2Instances.open(sfdtText);\n },\n openBlank() {\n return this.ej2Instances.openBlank();\n },\n print(printWindow) {\n return this.ej2Instances.print(printWindow);\n },\n resetFormFields(name) {\n return this.ej2Instances.resetFormFields(name);\n },\n resize(width, height) {\n return this.ej2Instances.resize(width, height);\n },\n save(fileName, formatType) {\n return this.ej2Instances.save(fileName, formatType);\n },\n saveAsBlob(formatType) {\n return this.ej2Instances.saveAsBlob(formatType);\n },\n scrollToPage(pageNumber) {\n return this.ej2Instances.scrollToPage(pageNumber);\n },\n serialize() {\n return this.ej2Instances.serialize();\n },\n setDefaultCharacterFormat(characterFormat) {\n return this.ej2Instances.setDefaultCharacterFormat(characterFormat);\n },\n setDefaultParagraphFormat(paragraphFormat) {\n return this.ej2Instances.setDefaultParagraphFormat(paragraphFormat);\n },\n setDefaultSectionFormat(sectionFormat) {\n return this.ej2Instances.setDefaultSectionFormat(sectionFormat);\n },\n setFormFieldInfo(name, formFieldInfo) {\n return this.ej2Instances.setFormFieldInfo(name, formFieldInfo);\n },\n showDialog(dialogType) {\n return this.ej2Instances.showDialog(dialogType);\n },\n showOptionsPane() {\n return this.ej2Instances.showOptionsPane();\n },\n showRestrictEditingPane(show) {\n return this.ej2Instances.showRestrictEditingPane(show);\n },\n updateFields() {\n return this.ej2Instances.updateFields();\n },\n }\n});\nexport const DocumentEditorPlugin = {\n name: 'ejs-documenteditor',\n install(Vue) {\n Vue.component(DocumentEditorPlugin.name, DocumentEditorComponent);\n }\n};\n","import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { DocumentEditorContainer } from '@syncfusion/ej2-documenteditor';\nexport const properties = ['isLazyUpdate', 'plugins', 'currentUser', 'documentEditorSettings', 'documentSettings', 'enableAutoFocus', '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 const modelProps = [];\nexport const testProp = getProps({ props: properties });\nexport const props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\nfor (let props of modelProps) {\n emitProbs.push('update:' + props);\n}\n/**\n * Represents the Essential JS 2 VueJS Document Editor Container\n * ```html\n * <ejs-documenteditor-container id='container'></ejs-documenteditor-container>\n * ```\n */\nexport let DocumentEditorContainerComponent = vueDefineComponent({\n name: 'DocumentEditorContainerComponent',\n mixins: [ComponentBase],\n props: props,\n watch: watch,\n emits: emitProbs,\n provide() { return { custom: this.custom }; },\n data() {\n return {\n ej2Instances: new DocumentEditorContainer({}),\n propKeys: properties,\n models: modelProps,\n hasChildDirective: false,\n hasInjectedModules: true,\n tagMapper: {},\n tagNameMapper: {},\n isVue3: !isExecute,\n templateCollection: {},\n };\n },\n created() {\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 },\n render(createElement) {\n let h = !isExecute ? gh : createElement;\n let slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n },\n methods: {\n clearTemplate(templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (let tempName of templateNames) {\n let elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (let ele of elementCollection) {\n let 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 setProperties(prop, muteOnChange) {\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((key) => {\n this.models.map((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 custom() {\n this.updated();\n },\n resize(width, height) {\n return this.ej2Instances.resize(width, height);\n },\n setDefaultCharacterFormat(characterFormat) {\n return this.ej2Instances.setDefaultCharacterFormat(characterFormat);\n },\n setDefaultParagraphFormat(paragraphFormat) {\n return this.ej2Instances.setDefaultParagraphFormat(paragraphFormat);\n },\n setDefaultSectionFormat(sectionFormat) {\n return this.ej2Instances.setDefaultSectionFormat(sectionFormat);\n },\n }\n});\nexport const DocumentEditorContainerPlugin = {\n name: 'ejs-documenteditorcontainer',\n install(Vue) {\n Vue.component(DocumentEdit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Ae,EAAE;YACvC,OAAO,IAAI,CAAC,YAAY,CAAC,yBAAyB,CAAC,eAAe,CAAC,CAAC;SACvE;QACD,yBAAyB,CAAC,eAAe,EAAE;YACvC,OAAO,IAAI,CAAC,YAAY,CAAC,yBAAyB,CAAC,eAAe,CAAC,CAAC;SACvE;QACD,uBAAuB,CAAC,aAAa,EAAE;YACnC,OAAO,IAAI,CAAC,YAAY,CAAC,uBAAuB,CAAC,aAAa,CAAC,CAAC;SACnE;KACJ;CACJ,CAAC,CAAC;AACH,AAAO,MAAM,6BAA6B,GAAG;IACzC,IAAI,EAAE,6BAA6B;IACnC,OAAO,CAAC,GAAG,EAAE;QACT,GAAG,CAAC,SAAS,CAAC,6BAA6B,CAAC,IAAI,EAAE,gCAAgC,CAAC,CAAC;KACvF;CACJ;;;;;"}
1
+ {"version":3,"file":"ej2-vue-documenteditor.es2015.js","sources":["../src/es6/document-editor/documenteditor.component.js","../src/es6/document-editor-container/documenteditorcontainer.component.js"],"sourcesContent":["import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { DocumentEditor } from '@syncfusion/ej2-documenteditor';\nexport const properties = ['isLazyUpdate', 'plugins', 'acceptTab', 'autoResizeOnVisibilityChange', 'currentUser', 'defaultPasteOption', 'documentEditorSettings', 'documentName', 'documentSettings', 'enableAutoFocus', 'enableBookmarkDialog', 'enableBordersAndShadingDialog', 'enableColumnsDialog', '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', 'beforeAcceptRejectChanges', 'beforeCommentAction', 'beforeFileOpen', 'beforeFormFieldFill', 'beforePaneSwitch', 'commentBegin', 'commentDelete', 'commentEnd', 'contentChange', 'contentControl', 'created', 'customContextMenuBeforeOpen', 'customContextMenuSelect', 'destroyed', 'documentChange', 'keyDown', 'requestNavigate', 'searchResultsChange', 'selectionChange', 'serviceFailure', 'trackChange', 'viewChange', 'zoomFactorChange', 'beforeXmlHttpRequestSend'];\nexport const modelProps = [];\nexport const testProp = getProps({ props: properties });\nexport const props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\nfor (let props of modelProps) {\n emitProbs.push('update:' + props);\n}\n/**\n * Represents the Essential JS 2 VueJS Document Editor Component\n * ```html\n * <ejs-documenteditor id='container'></ejs-documenteditor>\n * ```\n */\nexport let DocumentEditorComponent = vueDefineComponent({\n name: 'DocumentEditorComponent',\n mixins: [ComponentBase],\n props: props,\n watch: watch,\n emits: emitProbs,\n provide() { return { custom: this.custom }; },\n data() {\n return {\n ej2Instance: new DocumentEditor({}),\n propKeys: properties,\n models: modelProps,\n hasChildDirective: false,\n hasInjectedModules: true,\n tagMapper: {},\n tagNameMapper: {},\n isVue3: !isExecute,\n templateCollection: {},\n };\n },\n created() {\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 },\n render(createElement) {\n let h = !isExecute ? gh : createElement;\n let slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n },\n methods: {\n clearTemplate(templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (let tempName of templateNames) {\n let elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (let ele of elementCollection) {\n let 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 setProperties(prop, muteOnChange) {\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((key) => {\n this.models.map((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 custom() {\n this.updated();\n },\n enableAllModules() {\n return this.ej2Instances.enableAllModules();\n },\n exportAsImage(pageNumber, format) {\n return this.ej2Instances.exportAsImage(pageNumber, format);\n },\n exportFormData() {\n return this.ej2Instances.exportFormData();\n },\n fitPage(pageFitType) {\n return this.ej2Instances.fitPage(pageFitType);\n },\n focusIn() {\n return this.ej2Instances.focusIn();\n },\n getBookmarks() {\n return this.ej2Instances.getBookmarks();\n },\n getFormFieldInfo(name) {\n return this.ej2Instances.getFormFieldInfo(name);\n },\n getFormFieldNames() {\n return this.ej2Instances.getFormFieldNames();\n },\n getStyleNames(styleType) {\n return this.ej2Instances.getStyleNames(styleType);\n },\n getStyles(styleType) {\n return this.ej2Instances.getStyles(styleType);\n },\n importFormData(formData) {\n return this.ej2Instances.importFormData(formData);\n },\n open(sfdtText) {\n return this.ej2Instances.open(sfdtText);\n },\n openBlank() {\n return this.ej2Instances.openBlank();\n },\n print(printWindow) {\n return this.ej2Instances.print(printWindow);\n },\n resetFormFields(name) {\n return this.ej2Instances.resetFormFields(name);\n },\n resize(width, height) {\n return this.ej2Instances.resize(width, height);\n },\n save(fileName, formatType) {\n return this.ej2Instances.save(fileName, formatType);\n },\n saveAsBlob(formatType) {\n return this.ej2Instances.saveAsBlob(formatType);\n },\n scrollToPage(pageNumber) {\n return this.ej2Instances.scrollToPage(pageNumber);\n },\n serialize() {\n return this.ej2Instances.serialize();\n },\n setDefaultCharacterFormat(characterFormat) {\n return this.ej2Instances.setDefaultCharacterFormat(characterFormat);\n },\n setDefaultParagraphFormat(paragraphFormat) {\n return this.ej2Instances.setDefaultParagraphFormat(paragraphFormat);\n },\n setDefaultSectionFormat(sectionFormat) {\n return this.ej2Instances.setDefaultSectionFormat(sectionFormat);\n },\n setFormFieldInfo(name, formFieldInfo) {\n return this.ej2Instances.setFormFieldInfo(name, formFieldInfo);\n },\n showDialog(dialogType) {\n return this.ej2Instances.showDialog(dialogType);\n },\n showOptionsPane() {\n return this.ej2Instances.showOptionsPane();\n },\n showRestrictEditingPane(show) {\n return this.ej2Instances.showRestrictEditingPane(show);\n },\n updateFields() {\n return this.ej2Instances.updateFields();\n },\n }\n});\nexport const DocumentEditorPlugin = {\n name: 'ejs-documenteditor',\n install(Vue) {\n Vue.component(DocumentEditorPlugin.name, DocumentEditorComponent);\n }\n};\n","import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { DocumentEditorContainer } from '@syncfusion/ej2-documenteditor';\nexport const properties = ['isLazyUpdate', 'plugins', 'autoResizeOnVisibilityChange', 'currentUser', 'documentEditorSettings', 'documentSettings', 'enableAutoFocus', 'enableComment', 'enableCsp', 'enableLocalPaste', 'enableLockAndEdit', 'enablePersistence', 'enableRtl', 'enableSpellCheck', 'enableToolbar', 'enableTrackChanges', 'headers', 'height', 'layoutType', 'locale', 'restrictEditing', 'serverActionSettings', 'serviceUrl', 'showPropertiesPane', 'toolbarItems', 'userColor', 'width', 'zIndex', 'beforeAcceptRejectChanges', 'beforeCommentAction', 'beforePaneSwitch', 'commentDelete', 'contentChange', 'contentControl', 'created', 'customContextMenuBeforeOpen', 'customContextMenuSelect', 'destroyed', 'documentChange', 'selectionChange', 'serviceFailure', 'toolbarClick', 'trackChange', 'beforeXmlHttpRequestSend'];\nexport const modelProps = [];\nexport const testProp = getProps({ props: properties });\nexport const props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\nfor (let props of modelProps) {\n emitProbs.push('update:' + props);\n}\n/**\n * Represents the Essential JS 2 VueJS Document Editor Container\n * ```html\n * <ejs-documenteditor-container id='container'></ejs-documenteditor-container>\n * ```\n */\nexport let DocumentEditorContainerComponent = vueDefineComponent({\n name: 'DocumentEditorContainerComponent',\n mixins: [ComponentBase],\n props: props,\n watch: watch,\n emits: emitProbs,\n provide() { return { custom: this.custom }; },\n data() {\n return {\n ej2Instance: new DocumentEditorContainer({}),\n propKeys: properties,\n models: modelProps,\n hasChildDirective: false,\n hasInjectedModules: true,\n tagMapper: {},\n tagNameMapper: {},\n isVue3: !isExecute,\n templateCollection: {},\n };\n },\n created() {\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 },\n render(createElement) {\n let h = !isExecute ? gh : createElement;\n let slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n },\n methods: {\n clearTemplate(templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (let tempName of templateNames) {\n let elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (let ele of elementCollection) {\n let 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 setProperties(prop, muteOnChange) {\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((key) => {\n this.models.map((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 custom() {\n this.updated();\n },\n resize(width, height) {\n return this.ej2Instances.resize(width, height);\n },\n setDefaultCharacterFormat(characterFormat) {\n return this.ej2Instances.setDefaultCharacterFormat(characterFormat);\n },\n setDefaultParagraphFormat(paragraphFormat) {\n return this.ej2Instances.setDefaultParagraphFormat(paragraphFormat);\n },\n setDefaultSectionFormat(sectionFormat) {\n return this.ej2Instances.setDefaultSectionFormat(sectionFormat);\n },\n }\n});\nexport const DocumentEditorContainerPlugin = {\n name: 'ejs-documenteditorcontainer',\n install(Vue) {\n Vue.component(DocumentEditorContainerPlugin.name, DocumentEditorContainerComponent);\n }\n};\n"],"names":["properties","modelProps","testProp","props","watch","emitProbs"],"mappings":";;;;AAGO,MAAM,UAAU,GAAG,CAAC,cAAc,EAAE,SAAS,EAAE,WAAW,EAAE,8BAA8B,EAAE,aAAa,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,cAAc,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,+BAA+B,EAAE,qBAAqB,EAA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,IAAI,CAAC,YAAY,CAAC,uBAAuB,CAAC,aAAa,CAAC,CAAC;SACnE;KACJ;CACJ,CAAC,CAAC;AACH,AAAO,MAAM,6BAA6B,GAAG;IACzC,IAAI,EAAE,6BAA6B;IACnC,OAAO,CAAC,GAAG,EAAE;QACT,GAAG,CAAC,SAAS,CAAC,6BAA6B,CAAC,IAAI,EAAE,gCAAgC,CAAC,CAAC;KACvF;CACJ;;;;;"}
@@ -2,7 +2,7 @@ import { DocumentEditor, DocumentEditorContainer } from '@syncfusion/ej2-documen
2
2
  import { ComponentBase, getProps, gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
3
3
  import { getValue, isNullOrUndefined } from '@syncfusion/ej2-base';
4
4
 
5
- var properties = ['isLazyUpdate', 'plugins', 'acceptTab', 'currentUser', 'defaultPasteOption', 'documentEditorSettings', 'documentName', 'documentSettings', 'enableAutoFocus', 'enableBookmarkDialog', 'enableBordersAndShadingDialog', 'enableColumnsDialog', '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'];
5
+ var properties = ['isLazyUpdate', 'plugins', 'acceptTab', 'autoResizeOnVisibilityChange', 'currentUser', 'defaultPasteOption', 'documentEditorSettings', 'documentName', 'documentSettings', 'enableAutoFocus', 'enableBookmarkDialog', 'enableBordersAndShadingDialog', 'enableColumnsDialog', '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', 'beforeAcceptRejectChanges', 'beforeCommentAction', 'beforeFileOpen', 'beforeFormFieldFill', 'beforePaneSwitch', 'commentBegin', 'commentDelete', 'commentEnd', 'contentChange', 'contentControl', 'created', 'customContextMenuBeforeOpen', 'customContextMenuSelect', 'destroyed', 'documentChange', 'keyDown', 'requestNavigate', 'searchResultsChange', 'selectionChange', 'serviceFailure', 'trackChange', 'viewChange', 'zoomFactorChange', 'beforeXmlHttpRequestSend'];
6
6
  var modelProps = [];
7
7
  var testProp = getProps({ props: properties });
8
8
  var props = testProp[0];
@@ -28,7 +28,7 @@ var DocumentEditorComponent = vueDefineComponent({
28
28
  provide: function () { return { custom: this.custom }; },
29
29
  data: function () {
30
30
  return {
31
- ej2Instances: new DocumentEditor({}),
31
+ ej2Instance: new DocumentEditor({}),
32
32
  propKeys: properties,
33
33
  models: modelProps,
34
34
  hasChildDirective: false,
@@ -199,7 +199,7 @@ var DocumentEditorPlugin = {
199
199
  }
200
200
  };
201
201
 
202
- var properties$1 = ['isLazyUpdate', 'plugins', 'currentUser', 'documentEditorSettings', 'documentSettings', 'enableAutoFocus', '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'];
202
+ var properties$1 = ['isLazyUpdate', 'plugins', 'autoResizeOnVisibilityChange', 'currentUser', 'documentEditorSettings', 'documentSettings', 'enableAutoFocus', 'enableComment', 'enableCsp', 'enableLocalPaste', 'enableLockAndEdit', 'enablePersistence', 'enableRtl', 'enableSpellCheck', 'enableToolbar', 'enableTrackChanges', 'headers', 'height', 'layoutType', 'locale', 'restrictEditing', 'serverActionSettings', 'serviceUrl', 'showPropertiesPane', 'toolbarItems', 'userColor', 'width', 'zIndex', 'beforeAcceptRejectChanges', 'beforeCommentAction', 'beforePaneSwitch', 'commentDelete', 'contentChange', 'contentControl', 'created', 'customContextMenuBeforeOpen', 'customContextMenuSelect', 'destroyed', 'documentChange', 'selectionChange', 'serviceFailure', 'toolbarClick', 'trackChange', 'beforeXmlHttpRequestSend'];
203
203
  var modelProps$1 = [];
204
204
  var testProp$1 = getProps({ props: properties$1 });
205
205
  var props$1 = testProp$1[0];
@@ -225,7 +225,7 @@ var DocumentEditorContainerComponent = vueDefineComponent({
225
225
  provide: function () { return { custom: this.custom }; },
226
226
  data: function () {
227
227
  return {
228
- ej2Instances: new DocumentEditorContainer({}),
228
+ ej2Instance: new DocumentEditorContainer({}),
229
229
  propKeys: properties$1,
230
230
  models: modelProps$1,
231
231
  hasChildDirective: false,