@syncfusion/ej2-vue-documenteditor 20.4.54 → 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 (71) hide show
  1. package/CHANGELOG.md +208 -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 +240 -282
  6. package/dist/es6/ej2-vue-documenteditor.es2015.js.map +1 -1
  7. package/dist/es6/ej2-vue-documenteditor.es5.js +261 -313
  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 +11 -10
  11. package/src/document-editor/documenteditor.component.d.ts +3 -50
  12. package/src/document-editor/documenteditor.component.js +168 -197
  13. package/src/document-editor-container/documenteditorcontainer.component.d.ts +3 -26
  14. package/src/document-editor-container/documenteditorcontainer.component.js +96 -125
  15. package/styles/bootstrap-dark.css +167 -58
  16. package/styles/bootstrap.css +167 -54
  17. package/styles/bootstrap4.css +185 -65
  18. package/styles/bootstrap5-dark.css +187 -74
  19. package/styles/bootstrap5.css +187 -74
  20. package/styles/document-editor/bootstrap-dark.css +13 -2
  21. package/styles/document-editor/bootstrap.css +17 -2
  22. package/styles/document-editor/bootstrap4.css +23 -4
  23. package/styles/document-editor/bootstrap5-dark.css +32 -17
  24. package/styles/document-editor/bootstrap5.css +32 -17
  25. package/styles/document-editor/fabric-dark.css +13 -2
  26. package/styles/document-editor/fabric.css +17 -2
  27. package/styles/document-editor/fluent-dark.css +47 -27
  28. package/styles/document-editor/fluent.css +47 -27
  29. package/styles/document-editor/highcontrast-light.css +5 -0
  30. package/styles/document-editor/highcontrast.css +13 -2
  31. package/styles/document-editor/material-dark.css +13 -2
  32. package/styles/document-editor/material.css +13 -2
  33. package/styles/document-editor/material3-dark.css +3971 -0
  34. package/styles/document-editor/material3-dark.scss +2 -0
  35. package/styles/document-editor/material3.css +4027 -0
  36. package/styles/document-editor/material3.scss +2 -0
  37. package/styles/document-editor/tailwind-dark.css +29 -17
  38. package/styles/document-editor/tailwind.css +32 -17
  39. package/styles/document-editor-container/bootstrap-dark.css +154 -56
  40. package/styles/document-editor-container/bootstrap.css +150 -52
  41. package/styles/document-editor-container/bootstrap4.css +162 -61
  42. package/styles/document-editor-container/bootstrap5-dark.css +155 -57
  43. package/styles/document-editor-container/bootstrap5.css +155 -57
  44. package/styles/document-editor-container/fabric-dark.css +154 -56
  45. package/styles/document-editor-container/fabric.css +154 -56
  46. package/styles/document-editor-container/fluent-dark.css +159 -64
  47. package/styles/document-editor-container/fluent.css +159 -64
  48. package/styles/document-editor-container/highcontrast-light.css +154 -56
  49. package/styles/document-editor-container/highcontrast.css +154 -56
  50. package/styles/document-editor-container/material-dark.css +159 -61
  51. package/styles/document-editor-container/material.css +154 -55
  52. package/styles/document-editor-container/material3-dark.css +2178 -0
  53. package/styles/document-editor-container/material3-dark.scss +2 -0
  54. package/styles/document-editor-container/material3.css +2234 -0
  55. package/styles/document-editor-container/material3.scss +2 -0
  56. package/styles/document-editor-container/tailwind-dark.css +153 -55
  57. package/styles/document-editor-container/tailwind.css +153 -55
  58. package/styles/fabric-dark.css +167 -58
  59. package/styles/fabric.css +171 -58
  60. package/styles/fluent-dark.css +206 -91
  61. package/styles/fluent.css +206 -91
  62. package/styles/highcontrast-light.css +159 -56
  63. package/styles/highcontrast.css +167 -58
  64. package/styles/material-dark.css +172 -63
  65. package/styles/material.css +167 -57
  66. package/styles/material3-dark.css +6150 -0
  67. package/styles/material3-dark.scss +3 -0
  68. package/styles/material3.css +6261 -0
  69. package/styles/material3.scss +3 -0
  70. package/styles/tailwind-dark.css +182 -72
  71. package/styles/tailwind.css +185 -72
package/CHANGELOG.md CHANGED
@@ -4,6 +4,214 @@
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
+
193
+ #### Breaking Changes
194
+
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).
196
+
197
+ - 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/vue/documentation/document-editor/how-to/optimize-sfdt).
198
+
199
+ #### Bug Fixes
200
+
201
+ - `#425697` - Resolved the positioning and line spacing issue in shape document
202
+
203
+ #### New Features
204
+
205
+ - `#I249004`, `#I250933`, `#I256703`, `#I286287`, `#I290760`, `#I301513`, `#I313194`, `#I314827`, `#I316496`, `#I317964`, `#I320201`, `#I320872`, `#I327636`, `#I331310`, `#I333899`, `#I334058`, `#I334929`, `#I337202`, `#I341931`, `#I341953`, `#I345929`, `#I348344`, `#I349206`, `#I349683`, `#I349895`, `#I354081`, `#I356432` - Added support for continuous section break in DocumentEditor.
206
+ - `#I422408`, `#I435125` - Optimized SFDT file to reduce the file size relative to a Docx file.
207
+ - `#I330729`, `#I256794` - Added support to display bookmark start and end in DocumentEditor.
208
+ - `#I333042`, `#I349829` - Added support disable the auto focus to DocumentEditor.
209
+ - `#I175038` - Added API to modify the predefine styles in DocumentEditor.
210
+
211
+ ## 20.4.54 (2023-03-14)
212
+
213
+ ### Document Editor
214
+
7
215
  #### Bug Fixes
8
216
 
9
217
  - `#I436974` - Combined the next paragraph while removing the paragraph mark.
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 : 20.4.54
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,o){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),s=function(e,t,n,o){var r,s=arguments.length,a=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var i=e.length-1;i>=0;i--)(r=e[i])&&(a=(s<3?r(a):s>3?r(t,n,a):r(t,n))||a);return s>3&&a&&Object.defineProperty(t,n,a),a},a=["isLazyUpdate","plugins","acceptTab","currentUser","defaultPasteOption","documentEditorSettings","documentName","documentSettings","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"],i=[],c=function(e){function c(){var n=e.call(this,arguments)||this;return n.propKeys=a,n.models=i,n.hasChildDirective=!1,n.hasInjectedModules=!0,n.tagMapper={},n.tagNameMapper={},n.ej2Instances=new t.DocumentEditor({}),n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n.ej2Instances.clearTemplate=n.clearTemplate,n.updated=n.updated,n}return r(c,e),c.prototype.clearTemplate=function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,n=e;t<n.length;t++){var r=n[t],s=this.templateCollection[r];if(s&&s.length){for(var a=0,i=s;a<i.length;a++){var c=i[a];o.getValue("__vue__.$destroy",c)&&c.__vue__.$destroy(),c.innerHTML&&(c.innerHTML="")}delete this.templateCollection[r]}}},c.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},c.prototype.render=function(e){return e("div",this.$slots.default)},c.prototype.custom=function(){this.updated()},c.prototype.enableAllModules=function(){return this.ej2Instances.enableAllModules()},c.prototype.exportAsImage=function(e,t){return this.ej2Instances.exportAsImage(e,t)},c.prototype.exportFormData=function(){return this.ej2Instances.exportFormData()},c.prototype.fitPage=function(e){return this.ej2Instances.fitPage(e)},c.prototype.focusIn=function(){return this.ej2Instances.focusIn()},c.prototype.getBookmarks=function(){return this.ej2Instances.getBookmarks()},c.prototype.getFormFieldInfo=function(e){return this.ej2Instances.getFormFieldInfo(e)},c.prototype.getFormFieldNames=function(){return this.ej2Instances.getFormFieldNames()},c.prototype.getStyleNames=function(e){return this.ej2Instances.getStyleNames(e)},c.prototype.getStyles=function(e){return this.ej2Instances.getStyles(e)},c.prototype.importFormData=function(e){return this.ej2Instances.importFormData(e)},c.prototype.open=function(e){return this.ej2Instances.open(e)},c.prototype.openBlank=function(){return this.ej2Instances.openBlank()},c.prototype.print=function(e){return this.ej2Instances.print(e)},c.prototype.resetFormFields=function(e){return this.ej2Instances.resetFormFields(e)},c.prototype.resize=function(e,t){return this.ej2Instances.resize(e,t)},c.prototype.save=function(e,t){return this.ej2Instances.save(e,t)},c.prototype.saveAsBlob=function(e){return this.ej2Instances.saveAsBlob(e)},c.prototype.scrollToPage=function(e){return this.ej2Instances.scrollToPage(e)},c.prototype.serialize=function(){return this.ej2Instances.serialize()},c.prototype.setDefaultCharacterFormat=function(e){return this.ej2Instances.setDefaultCharacterFormat(e)},c.prototype.setDefaultParagraphFormat=function(e){return this.ej2Instances.setDefaultParagraphFormat(e)},c.prototype.setDefaultSectionFormat=function(e){return this.ej2Instances.setDefaultSectionFormat(e)},c.prototype.setFormFieldInfo=function(e,t){return this.ej2Instances.setFormFieldInfo(e,t)},c.prototype.showDialog=function(e){return this.ej2Instances.showDialog(e)},c.prototype.showOptionsPane=function(){return this.ej2Instances.showOptionsPane()},c.prototype.showRestrictEditingPane=function(e){return this.ej2Instances.showRestrictEditingPane(e)},c.prototype.updateFields=function(){return this.ej2Instances.updateFields()},c=s([n.EJComponentDecorator({props:a})],c)}(n.ComponentBase),l={name:"ejs-documenteditor",install:function(e){e.component(l.name,c)}},p=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),u=function(e,t,n,o){var r,s=arguments.length,a=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var i=e.length-1;i>=0;i--)(r=e[i])&&(a=(s<3?r(a):s>3?r(t,n,a):r(t,n))||a);return s>3&&a&&Object.defineProperty(t,n,a),a},f=["isLazyUpdate","plugins","currentUser","documentEditorSettings","documentSettings","enableComment","enableCsp","enableLocalPaste","enableLockAndEdit","enablePersistence","enableRtl","enableSpellCheck","enableToolbar","enableTrackChanges","headers","height","layoutType","locale","restrictEditing","serverActionSettings","serviceUrl","showPropertiesPane","toolbarItems","userColor","width","zIndex","beforeCommentAction","beforePaneSwitch","commentDelete","contentChange","contentControl","created","customContextMenuBeforeOpen","customContextMenuSelect","destroyed","documentChange","selectionChange","serviceFailure","toolbarClick","trackChange","beforeXmlHttpRequestSend"],d=[],m=function(e){function r(){var n=e.call(this,arguments)||this;return n.propKeys=f,n.models=d,n.hasChildDirective=!1,n.hasInjectedModules=!0,n.tagMapper={},n.tagNameMapper={},n.ej2Instances=new t.DocumentEditorContainer({}),n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n.ej2Instances.clearTemplate=n.clearTemplate,n.updated=n.updated,n}return p(r,e),r.prototype.clearTemplate=function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,n=e;t<n.length;t++){var r=n[t],s=this.templateCollection[r];if(s&&s.length){for(var a=0,i=s;a<i.length;a++){var c=i[a];o.getValue("__vue__.$destroy",c)&&c.__vue__.$destroy(),c.innerHTML&&(c.innerHTML="")}delete this.templateCollection[r]}}},r.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},r.prototype.render=function(e){return e("div",this.$slots.default)},r.prototype.custom=function(){this.updated()},r.prototype.resize=function(e,t){return this.ej2Instances.resize(e,t)},r.prototype.setDefaultCharacterFormat=function(e){return this.ej2Instances.setDefaultCharacterFormat(e)},r.prototype.setDefaultParagraphFormat=function(e){return this.ej2Instances.setDefaultParagraphFormat(e)},r.prototype.setDefaultSectionFormat=function(e){return this.ej2Instances.setDefaultSectionFormat(e)},r=u([n.EJComponentDecorator({props:f})],r)}(n.ComponentBase),h={name:"ejs-documenteditorcontainer",install:function(e){e.component(h.name,m)}};e.DocumentEditorComponent=c,e.DocumentEditorPlugin=l,e.DocumentEditorContainerComponent=m,e.DocumentEditorContainerPlugin=h,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":["../vue2/src/document-editor/documenteditor.component.js","../vue2/src/document-editor-container/documenteditorcontainer.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { ComponentBase, EJComponentDecorator } from '@syncfusion/ej2-vue-base';\nimport { getValue } from '@syncfusion/ej2-base';\nimport { DocumentEditor } from '@syncfusion/ej2-documenteditor';\nexport var properties = ['isLazyUpdate', 'plugins', 'acceptTab', 'currentUser', 'defaultPasteOption', 'documentEditorSettings', 'documentName', 'documentSettings', '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 = [];\n/**\n * Represents the Essential JS 2 VueJS Document Editor Component\n * ```html\n * <ejs-documenteditor id='container'></ejs-documenteditor>\n * ```\n */\nvar DocumentEditorComponent = /** @class */ (function (_super) {\n __extends(DocumentEditorComponent, _super);\n function DocumentEditorComponent() {\n var _this = _super.call(this, arguments) || this;\n _this.propKeys = properties;\n _this.models = modelProps;\n _this.hasChildDirective = false;\n _this.hasInjectedModules = true;\n _this.tagMapper = {};\n _this.tagNameMapper = {};\n _this.ej2Instances = new DocumentEditor({});\n _this.bindProperties();\n _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;\n _this.ej2Instances.setProperties = _this.setProperties;\n _this.ej2Instances.clearTemplate = _this.clearTemplate;\n _this.updated = _this.updated;\n return _this;\n }\n DocumentEditorComponent.prototype.clearTemplate = function (templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {\n var tempName = templateNames_1[_i];\n var elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {\n var ele = elementCollection_1[_a];\n var destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n };\n DocumentEditorComponent.prototype.setProperties = function (prop, muteOnChange) {\n var _this = this;\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n _this.$emit('update:' + key, prop[key]);\n }\n });\n });\n }\n };\n DocumentEditorComponent.prototype.render = function (createElement) {\n return createElement('div', this.$slots.default);\n };\n DocumentEditorComponent.prototype.custom = function () {\n this.updated();\n };\n DocumentEditorComponent.prototype.enableAllModules = function () {\n return this.ej2Instances.enableAllModules();\n };\n DocumentEditorComponent.prototype.exportAsImage = function (pageNumber, format) {\n return this.ej2Instances.exportAsImage(pageNumber, format);\n };\n DocumentEditorComponent.prototype.exportFormData = function () {\n return this.ej2Instances.exportFormData();\n };\n DocumentEditorComponent.prototype.fitPage = function (pageFitType) {\n return this.ej2Instances.fitPage(pageFitType);\n };\n DocumentEditorComponent.prototype.focusIn = function () {\n return this.ej2Instances.focusIn();\n };\n DocumentEditorComponent.prototype.getBookmarks = function () {\n return this.ej2Instances.getBookmarks();\n };\n DocumentEditorComponent.prototype.getFormFieldInfo = function (name) {\n return this.ej2Instances.getFormFieldInfo(name);\n };\n DocumentEditorComponent.prototype.getFormFieldNames = function () {\n return this.ej2Instances.getFormFieldNames();\n };\n DocumentEditorComponent.prototype.getStyleNames = function (styleType) {\n return this.ej2Instances.getStyleNames(styleType);\n };\n DocumentEditorComponent.prototype.getStyles = function (styleType) {\n return this.ej2Instances.getStyles(styleType);\n };\n DocumentEditorComponent.prototype.importFormData = function (formData) {\n return this.ej2Instances.importFormData(formData);\n };\n DocumentEditorComponent.prototype.open = function (sfdtText) {\n return this.ej2Instances.open(sfdtText);\n };\n DocumentEditorComponent.prototype.openBlank = function () {\n return this.ej2Instances.openBlank();\n };\n DocumentEditorComponent.prototype.print = function (printWindow) {\n return this.ej2Instances.print(printWindow);\n };\n DocumentEditorComponent.prototype.resetFormFields = function (name) {\n return this.ej2Instances.resetFormFields(name);\n };\n DocumentEditorComponent.prototype.resize = function (width, height) {\n return this.ej2Instances.resize(width, height);\n };\n DocumentEditorComponent.prototype.save = function (fileName, formatType) {\n return this.ej2Instances.save(fileName, formatType);\n };\n DocumentEditorComponent.prototype.saveAsBlob = function (formatType) {\n return this.ej2Instances.saveAsBlob(formatType);\n };\n DocumentEditorComponent.prototype.scrollToPage = function (pageNumber) {\n return this.ej2Instances.scrollToPage(pageNumber);\n };\n DocumentEditorComponent.prototype.serialize = function () {\n return this.ej2Instances.serialize();\n };\n DocumentEditorComponent.prototype.setDefaultCharacterFormat = function (characterFormat) {\n return this.ej2Instances.setDefaultCharacterFormat(characterFormat);\n };\n DocumentEditorComponent.prototype.setDefaultParagraphFormat = function (paragraphFormat) {\n return this.ej2Instances.setDefaultParagraphFormat(paragraphFormat);\n };\n DocumentEditorComponent.prototype.setDefaultSectionFormat = function (sectionFormat) {\n return this.ej2Instances.setDefaultSectionFormat(sectionFormat);\n };\n DocumentEditorComponent.prototype.setFormFieldInfo = function (name, formFieldInfo) {\n return this.ej2Instances.setFormFieldInfo(name, formFieldInfo);\n };\n DocumentEditorComponent.prototype.showDialog = function (dialogType) {\n return this.ej2Instances.showDialog(dialogType);\n };\n DocumentEditorComponent.prototype.showOptionsPane = function () {\n return this.ej2Instances.showOptionsPane();\n };\n DocumentEditorComponent.prototype.showRestrictEditingPane = function (show) {\n return this.ej2Instances.showRestrictEditingPane(show);\n };\n DocumentEditorComponent.prototype.updateFields = function () {\n return this.ej2Instances.updateFields();\n };\n DocumentEditorComponent = __decorate([\n EJComponentDecorator({\n props: properties\n })\n ], DocumentEditorComponent);\n return DocumentEditorComponent;\n}(ComponentBase));\nexport { DocumentEditorComponent };\nexport var DocumentEditorPlugin = {\n name: 'ejs-documenteditor',\n install: function (Vue) {\n Vue.component(DocumentEditorPlugin.name, DocumentEditorComponent);\n }\n};\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { ComponentBase, EJComponentDecorator } from '@syncfusion/ej2-vue-base';\nimport { getValue } from '@syncfusion/ej2-base';\nimport { DocumentEditorContainer } from '@syncfusion/ej2-documenteditor';\nexport var properties = ['isLazyUpdate', 'plugins', 'currentUser', 'documentEditorSettings', 'documentSettings', 'enableComment', 'enableCsp', 'enableLocalPaste', 'enableLockAndEdit', 'enablePersistence', 'enableRtl', 'enableSpellCheck', 'enableToolbar', 'enableTrackChanges', 'headers', 'height', 'layoutType', 'locale', 'restrictEditing', 'serverActionSettings', 'serviceUrl', 'showPropertiesPane', 'toolbarItems', 'userColor', 'width', 'zIndex', 'beforeCommentAction', 'beforePaneSwitch', 'commentDelete', 'contentChange', 'contentControl', 'created', 'customContextMenuBeforeOpen', 'customContextMenuSelect', 'destroyed', 'documentChange', 'selectionChange', 'serviceFailure', 'toolbarClick', 'trackChange', 'beforeXmlHttpRequestSend'];\nexport var modelProps = [];\n/**\n * Represents the Essential JS 2 VueJS Document Editor Container\n * ```html\n * <ejs-documenteditor-container id='container'></ejs-documenteditor-container>\n * ```\n */\nvar DocumentEditorContainerComponent = /** @class */ (function (_super) {\n __extends(DocumentEditorContainerComponent, _super);\n function DocumentEditorContainerComponent() {\n var _this = _super.call(this, arguments) || this;\n _this.propKeys = properties;\n _this.models = modelProps;\n _this.hasChildDirective = false;\n _this.hasInjectedModules = true;\n _this.tagMapper = {};\n _this.tagNameMapper = {};\n _this.ej2Instances = new DocumentEditorContainer({});\n _this.bindProperties();\n _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;\n _this.ej2Instances.setProperties = _this.setProperties;\n _this.ej2Instances.clearTemplate = _this.clearTemplate;\n _this.updated = _this.updated;\n return _this;\n }\n DocumentEditorContainerComponent.prototype.clearTemplate = function (templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {\n var tempName = templateNames_1[_i];\n var elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {\n var ele = elementCollection_1[_a];\n var destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n };\n DocumentEditorContainerComponent.prototype.setProperties = function (prop, muteOnChange) {\n var _this = this;\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n _this.$emit('update:' + key, prop[key]);\n }\n });\n });\n }\n };\n DocumentEditorContainerComponent.prototype.render = function (createElement) {\n return createElement('div', this.$slots.default);\n };\n DocumentEditorContainerComponent.prototype.custom = function () {\n this.updated();\n };\n DocumentEditorContainerComponent.prototype.resize = function (width, height) {\n return this.ej2Instances.resize(width, height);\n };\n DocumentEditorContainerComponent.prototype.setDefaultCharacterFormat = function (characterFormat) {\n return this.ej2Instances.setDefaultCharacterFormat(characterFormat);\n };\n DocumentEditorContainerComponent.prototype.setDefaultParagraphFormat = function (paragraphFormat) {\n return this.ej2Instances.setDefaultParagraphFormat(paragraphFormat);\n };\n DocumentEditorContainerComponent.prototype.setDefaultSectionFormat = function (sectionFormat) {\n return this.ej2Instances.setDefaultSectionFormat(sectionFormat);\n };\n DocumentEditorContainerComponent = __decorate([\n EJComponentDecorator({\n props: properties\n })\n ], DocumentEditorContainerComponent);\n return DocumentEditorContainerComponent;\n}(ComponentBase));\nexport { DocumentEditorContainerComponent };\nexport var DocumentEditorContainerPlugin = {\n name: 'ejs-documenteditorcontainer',\n install: function (Vue) {\n Vue.component(DocumentEditorContainerPlugin.name, DocumentEditorContainerComponent);\n }\n};\n"],"names":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","__decorate","decorators","target","key","desc","c","arguments","length","r","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","properties","modelProps","DocumentEditorComponent","_super","_this","call","propKeys","models","hasChildDirective","hasInjectedModules","tagMapper","tagNameMapper","ej2Instances","DocumentEditor","bindProperties","_setProperties","setProperties","clearTemplate","updated","templateNames","keys","templateCollection","_i","templateNames_1","tempName","elementCollection","_a","elementCollection_1","ele","getValue","__vue__","$destroy","innerHTML","prop","muteOnChange","map","model","test","$emit","render","createElement","$slots","default","custom","enableAllModules","exportAsImage","pageNumber","format","exportFormData","fitPage","pageFitType","focusIn","getBookmarks","getFormFieldInfo","name","getFormFieldNames","getStyleNames","styleType","getStyles","importFormData","formData","open","sfdtText","openBlank","print","printWindow","resetFormFields","resize","width","height","save","fileName","formatType","saveAsBlob","scrollToPage","serialize","setDefaultCharacterFormat","characterFormat","setDefaultParagraphFormat","paragraphFormat","setDefaultSectionFormat","sectionFormat","setFormFieldInfo","formFieldInfo","showDialog","dialogType","showOptionsPane","showRestrictEditingPane","show","updateFields","EJComponentDecorator","props","ComponentBase","DocumentEditorPlugin","install","Vue","component","DocumentEditorContainerComponent","DocumentEditorContainer","DocumentEditorContainerPlugin"],"mappings":"uaAAA,IAAIA,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,E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/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,oBAAqB,yBAA0B,eAAgB,sBAAuB,mBAAoB,iCAAkC,kBAAmB,wBAAyB,qBAAsB,mBAAoB,mBAAoB,oBAAqB,oBAAqB,wBAAyB,wBAAyB,oBAAqB,cAAe,YAAa,eAAgB,kBAAmB,mBAAoB,mBAAoB,oBAAqB,oBAAqB,8BAA+B,2BAA4B,8BAA+B,mBAAoB,qBAAsB,mBAAoB,UAAW,SAAU,aAAc,aAAc,SAAU,UAAW,cAAe,uBAAwB,aAAc,eAAgB,gBAAiB,gCAAiC,YAAa,QAAS,SAAU,aAAc,iBAAkB,qBAAsB,4BAA6B,sBAAuB,iBAAkB,sBAAuB,mBAAoB,eAAgB,gBAAiB,aAAc,gBAAiB,iBAAkB,UAAW,8BAA+B,0BAA2B,YAAa,iBAAkB,UAAW,kBAAmB,sBAAuB,kBAAmB,iBAAkB,cAAe,aAAc,mBAAoB,4BACloDC,KACAC,EAAWC,YAAWC,MAAOJ,IAC7BI,EAAQF,EAAS,GAAIG,EAAQH,EAAS,GAAII,EAAYC,OAAOC,KA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