@syncfusion/ej2-vue-documenteditor 20.2.38 → 20.2.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +91 -26
- package/dist/ej2-vue-documenteditor.umd.min.js +2 -20
- package/dist/ej2-vue-documenteditor.umd.min.js.map +1 -1
- package/dist/es6/ej2-vue-documenteditor.es2015.js +2 -2
- package/dist/es6/ej2-vue-documenteditor.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-documenteditor.es5.js +2 -2
- package/dist/es6/ej2-vue-documenteditor.es5.js.map +1 -1
- package/dist/global/ej2-vue-documenteditor.min.js +2 -2
- package/package.json +8 -8
- package/src/document-editor/documenteditor.component.js +1 -1
- package/src/document-editor-container/documenteditorcontainer.component.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,17 +2,74 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## 20.2.40 (2022-07-26)
|
|
6
|
+
|
|
7
|
+
### Document Editor
|
|
8
|
+
|
|
9
|
+
#### Bug Fixes
|
|
10
|
+
|
|
11
|
+
- `#I392289`, `#I392289` - Resolved issue in adding custom context menu item.
|
|
12
|
+
- `#I391927` - Resolved issue in `stopProtection` API.
|
|
13
|
+
- `#I381509`, `#I376243`, `#I383105`, `#I378540`, `#I379501` - Resolved document layouting issue due to footnote element.
|
|
14
|
+
- `#I389862` - Resoled issued in accepting revision inside the table.
|
|
15
|
+
- `#I383928` - The cell background color is now rendered properly.
|
|
16
|
+
- `#I381259` - Resolved the script error while switching between print and web layout.
|
|
17
|
+
- `#I379297` - Resolved the issue with the header footer while pasting content.
|
|
18
|
+
- `#I380334` - Resolved table layouting issue.
|
|
19
|
+
- `#I376898` - Resolved issue with pasting table inside another table.
|
|
20
|
+
- `#I383930` - Resolved the table collapse issue while inserting a column in the merged cell.
|
|
21
|
+
- `#I383369` - Improved performance of replacing more than 10000 occurrences of a text.
|
|
22
|
+
- `#I381261` - Next editing range is now navigated properly.
|
|
23
|
+
|
|
24
|
+
## 20.2.39 (2022-07-19)
|
|
25
|
+
|
|
5
26
|
### Document Editor
|
|
6
27
|
|
|
7
28
|
#### Bug Fixes
|
|
8
29
|
|
|
9
|
-
- `#
|
|
30
|
+
- `#I386312` - Resolved issue in increase/decrease indent using tab key.
|
|
31
|
+
- `#I378136` - Resolved the content hanging issue while opening the document with tab character.
|
|
32
|
+
- `#I390208`, `#I376243` - Resolved script error while loading the attached document.
|
|
33
|
+
- `#I389150` - Locked regions are not synced properly.
|
|
34
|
+
- `#I381259` - Resolved script error while navigating between print and web layout.
|
|
35
|
+
- `#I381509` - Resolved layouting issue due to footnote element.
|
|
36
|
+
- `#I381367` - Resolved script error while adding comment.
|
|
37
|
+
- `#I384633` - Restricted margin value in page setup dialog similar to MS Word.
|
|
38
|
+
- `#I383938` - New table is now adjust properly to the page width.
|
|
39
|
+
- `#F173898` - Resolved issue with copy & pasting text with highlight color.
|
|
40
|
+
- `#I379350` - Resolved layouting issue due to list format.
|
|
41
|
+
- `#I383921` - Resolved ok button disabled after selecting bookmark in hyperlink dialog.
|
|
42
|
+
|
|
43
|
+
- `#I386312` - Resolved issue in increase/decrease indent using tab key.
|
|
44
|
+
- `#I378136` - Resolved the content hanging issue while opening the document with tab character.
|
|
45
|
+
- `#I390208`, `#I376243` - Resolved script error while loading the attached document.
|
|
46
|
+
- `#I389150` - Locked regions are not synced properly.
|
|
47
|
+
- `#I381259` - Resolved script error while navigating between print and web layout.
|
|
48
|
+
- `#I381509` - Resolved layouting issue due to footnote element.
|
|
49
|
+
- `#I381367` - Resolved script error while adding comment.
|
|
50
|
+
- `#I384633` - Restricted margin value in page setup dialog similar to MS Word.
|
|
51
|
+
- `#I383938` - New table is now adjust properly to the page width.
|
|
52
|
+
- `#F173898` - Resolved issue with copy & pasting text with highlight color.
|
|
53
|
+
- `#I379350`- Resolved layouting issue due to list format.
|
|
54
|
+
- `#I383921` - Resolved ok button disabled after selecting bookmark in hyperlink dialog.
|
|
55
|
+
|
|
56
|
+
#### New Feature
|
|
57
|
+
|
|
58
|
+
- `#I381313` - Added API to get clipboard content.
|
|
59
|
+
|
|
60
|
+
## 20.2.38 (2022-07-12)
|
|
61
|
+
|
|
62
|
+
### Document Editor
|
|
63
|
+
|
|
64
|
+
#### Bug Fixes
|
|
65
|
+
|
|
66
|
+
- `#I379353`, `#I378987` - Resolved floating table overlapping issue.
|
|
10
67
|
- `#F174378` - Improved performance while editing in the protected document.
|
|
11
|
-
- `#
|
|
12
|
-
- `#
|
|
13
|
-
- `#
|
|
14
|
-
- `#
|
|
15
|
-
- `#
|
|
68
|
+
- `#I375732` - Resolved issue in rendering merged cell.
|
|
69
|
+
- `#I376914` - Resolved script error while updating the list.
|
|
70
|
+
- `#I378333` - Resolved tab character layouting issue.
|
|
71
|
+
- `#I381087` - Resolved issue in `stopProtection` API.
|
|
72
|
+
- `#I382546`, `#I384249` - Resolved table disappearing issue while applying top margin.
|
|
16
73
|
|
|
17
74
|
## 20.1.52 (2022-05-04)
|
|
18
75
|
|
|
@@ -20,26 +77,26 @@
|
|
|
20
77
|
|
|
21
78
|
#### Bug Fixes
|
|
22
79
|
|
|
23
|
-
- `#
|
|
24
|
-
- `#
|
|
25
|
-
- `#
|
|
26
|
-
- `#
|
|
27
|
-
- `#
|
|
28
|
-
- `#
|
|
29
|
-
- `#
|
|
30
|
-
- `#
|
|
31
|
-
- `#
|
|
32
|
-
- `#
|
|
33
|
-
- `#
|
|
34
|
-
- `#
|
|
35
|
-
- `#
|
|
36
|
-
- `#
|
|
37
|
-
- `#
|
|
38
|
-
- `#
|
|
39
|
-
- `#
|
|
40
|
-
- `#
|
|
41
|
-
- `#
|
|
42
|
-
- `#
|
|
80
|
+
- `#I368653` - Resolved the Document Editor numbering continuity issue.
|
|
81
|
+
- `#I376374` - Resolved the exception thrown on exporting a sfdt without a metafile property in server-side.
|
|
82
|
+
- `#I373298` - Resolved the extra paragraph added while updating the table of contents.
|
|
83
|
+
- `#I373359` - Resolved the multiples instances of table of content creation when track changes is enabled.
|
|
84
|
+
- `#I373451` - Resolved exception while open the document with image without relation identifier.
|
|
85
|
+
- `#I373159` - Resolved the console error thrown on pasting a content and then changing page orientation.
|
|
86
|
+
- `#I373175` - Resolved the script error thrown on deleting the revision text.
|
|
87
|
+
- `#I372741` - Resolved inconsistent behaviour of text selection inside an editable table cell within a read only document.
|
|
88
|
+
- `#I372794` - Resolved the script error while serializing sfdt document with page break to html format in server-side.
|
|
89
|
+
- `#I372636` - Resolved the text inside the shape with wrapping style 'in-front of text'.
|
|
90
|
+
- `#I372159` - Default number format for Page field is now displayed properly.
|
|
91
|
+
- `#I371816` - List format is now preserved properly on importing.
|
|
92
|
+
- `#I371644` - Table formatting is now preserved properly while copy pasting table and resolved the document hanging in copying.
|
|
93
|
+
- `#I370909` - Resolved the script error rendering after content delete.
|
|
94
|
+
- `#I369585` - Resolved the scrolling becomes quite slow while selecting the text in document with more than 20 pages.
|
|
95
|
+
- `#I368794` - Resolved the tab space issue.
|
|
96
|
+
- `#I366157`, `#I367362` - Resolved the table rendering issue at the bottom of the page.
|
|
97
|
+
- `#I293527` - Justify paragraph layout issue in new page first paragraph is now resolved.
|
|
98
|
+
- `#I373340` - Resolved the content hanging issue while opening the attached document.
|
|
99
|
+
- `#I372431` - Resolved the table misalignment issue if the table has positioning properties.
|
|
43
100
|
|
|
44
101
|
## 20.1.51 (2022-04-26)
|
|
45
102
|
|
|
@@ -350,6 +407,14 @@
|
|
|
350
407
|
- `#I347523` - Resolved the invalid SFDT generation after pasting formatted content.
|
|
351
408
|
- `#SF-357703` - Resolved the table row splitting issue.
|
|
352
409
|
|
|
410
|
+
- `#I347750` - Resolved the hanging issue when pasting large non-formatted content.
|
|
411
|
+
- `#I349289`, `#I349128` - Resolved the endnote shifting and overlapping issue.
|
|
412
|
+
- `#F171307` - Resolved the track changes issue in editing paragraph inside table.
|
|
413
|
+
- `#SF-359156` - Resolved the cropped image issue rendering in header/footer.
|
|
414
|
+
- `#SF-356951`, `#F170963`, `#SF-351886`, #`#I359815`, `#SF-359312` - Resolved the merged cell width rendering issue.
|
|
415
|
+
- `#I347523` - Resolved the invalid SFDT generation after pasting formatted content.
|
|
416
|
+
- `#SF-357703` - Resolved the table row splitting issue.
|
|
417
|
+
|
|
353
418
|
## 19.4.38 (2021-12-17)
|
|
354
419
|
|
|
355
420
|
### Document Editor
|
|
@@ -1,29 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-vue-documenteditor.umd.min.js
|
|
3
|
-
* version : 20.2.
|
|
3
|
+
* version : 20.2.43
|
|
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
|
-
|
|
11
|
-
* filename: ej2-vue-documenteditor.umd.min.js
|
|
12
|
-
* version : 19.2.55
|
|
13
|
-
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
|
14
|
-
* Use of this code is subject to the terms of our license.
|
|
15
|
-
* A copy of the current license can be obtained at any time by e-mailing
|
|
16
|
-
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
17
|
-
* applicable laws.
|
|
18
|
-
*/
|
|
19
|
-
/*!
|
|
20
|
-
* filename: ej2-vue-documenteditor.umd.min.js
|
|
21
|
-
* version : 19.1.63
|
|
22
|
-
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
|
23
|
-
* Use of this code is subject to the terms of our license.
|
|
24
|
-
* A copy of the current license can be obtained at any time by e-mailing
|
|
25
|
-
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
26
|
-
* applicable laws.
|
|
27
|
-
*/
|
|
28
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-documenteditor"),require("@syncfusion/ej2-vue-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-documenteditor","@syncfusion/ej2-vue-base"],t):t(e.ej={},e.ej2Documenteditor,e.ej2VueBase)}(this,function(e,t,n){"use strict";var o=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),r=function(e,t,n,o){var r,s=arguments.length,a=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var i=e.length-1;i>=0;i--)(r=e[i])&&(a=(s<3?r(a):s>3?r(t,n,a):r(t,n))||a);return s>3&&a&&Object.defineProperty(t,n,a),a},s=["acceptTab","currentUser","defaultPasteOption","documentEditorSettings","documentName","enableBookmarkDialog","enableBordersAndShadingDialog","enableComment","enableContextMenu","enableCursorOnReadOnly","enableEditor","enableEditorHistory","enableFontDialog","enableFootnoteAndEndnoteDialog","enableFormField","enableHyperlinkDialog","enableImageResizer","enableListDialog","enableLocalPaste","enableLockAndEdit","enableOptionsPane","enablePageSetupDialog","enableParagraphDialog","enablePersistence","enablePrint","enableRtl","enableSearch","enableSelection","enableSfdtExport","enableSpellCheck","enableStyleDialog","enableTableDialog","enableTableOfContentsDialog","enableTableOptionsDialog","enableTablePropertiesDialog","enableTextExport","enableTrackChanges","enableWordExport","headers","height","isReadOnly","layoutType","locale","pageGap","pageOutline","serverActionSettings","serviceUrl","showComments","showRevisions","useCtrlClickToFollowHyperlink","userColor","width","zIndex","zoomFactor","actionComplete","afterFormFieldFill","beforeCommentAction","beforeFileOpen","beforeFormFieldFill","beforePaneSwitch","commentBegin","commentDelete","commentEnd","contentChange","contentControl","created","customContextMenuBeforeOpen","customContextMenuSelect","destroyed","documentChange","keyDown","requestNavigate","searchResultsChange","selectionChange","serviceFailure","trackChange","viewChange","zoomFactorChange"],a=[],i=function(e){function i(){var n=e.call(this)||this;return n.propKeys=s,n.models=a,n.hasChildDirective=!1,n.hasInjectedModules=!0,n.tagMapper={},n.tagNameMapper={},n.ej2Instances=new t.DocumentEditor({}),n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n}return o(i,e),i.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},i.prototype.render=function(e){return e("div",this.$slots.default)},i.prototype.enableAllModules=function(){return this.ej2Instances.enableAllModules()},i.prototype.exportFormData=function(){return this.ej2Instances.exportFormData()},i.prototype.fitPage=function(e){return this.ej2Instances.fitPage(e)},i.prototype.focusIn=function(){return this.ej2Instances.focusIn()},i.prototype.getBookmarks=function(){return this.ej2Instances.getBookmarks()},i.prototype.getFormFieldInfo=function(e){return this.ej2Instances.getFormFieldInfo(e)},i.prototype.getFormFieldNames=function(){return this.ej2Instances.getFormFieldNames()},i.prototype.getStyleNames=function(e){return this.ej2Instances.getStyleNames(e)},i.prototype.getStyles=function(e){return this.ej2Instances.getStyles(e)},i.prototype.importFormData=function(e){return this.ej2Instances.importFormData(e)},i.prototype.open=function(e){return this.ej2Instances.open(e)},i.prototype.openBlank=function(){return this.ej2Instances.openBlank()},i.prototype.print=function(e){return this.ej2Instances.print(e)},i.prototype.resetFormFields=function(e){return this.ej2Instances.resetFormFields(e)},i.prototype.resize=function(e,t){return this.ej2Instances.resize(e,t)},i.prototype.save=function(e,t){return this.ej2Instances.save(e,t)},i.prototype.saveAsBlob=function(e){return this.ej2Instances.saveAsBlob(e)},i.prototype.scrollToPage=function(e){return this.ej2Instances.scrollToPage(e)},i.prototype.serialize=function(){return this.ej2Instances.serialize()},i.prototype.setDefaultCharacterFormat=function(e){return this.ej2Instances.setDefaultCharacterFormat(e)},i.prototype.setDefaultParagraphFormat=function(e){return this.ej2Instances.setDefaultParagraphFormat(e)},i.prototype.setDefaultSectionFormat=function(e){return this.ej2Instances.setDefaultSectionFormat(e)},i.prototype.setFormFieldInfo=function(e,t){return this.ej2Instances.setFormFieldInfo(e,t)},i.prototype.showDialog=function(e){return this.ej2Instances.showDialog(e)},i.prototype.showOptionsPane=function(){return this.ej2Instances.showOptionsPane()},i.prototype.showRestrictEditingPane=function(e){return this.ej2Instances.showRestrictEditingPane(e)},i.prototype.updateFields=function(){return this.ej2Instances.updateFields()},i=r([n.EJComponentDecorator({props:s})],i)}(n.ComponentBase),c={name:"ejs-documenteditor",install:function(e){e.component(c.name,i)}},l=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),p=function(e,t,n,o){var r,s=arguments.length,a=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var i=e.length-1;i>=0;i--)(r=e[i])&&(a=(s<3?r(a):s>3?r(t,n,a):r(t,n))||a);return s>3&&a&&Object.defineProperty(t,n,a),a},u=["currentUser","documentEditorSettings","enableComment","enableCsp","enableLocalPaste","enableLockAndEdit","enablePersistence","enableRtl","enableSpellCheck","enableToolbar","enableTrackChanges","headers","height","layoutType","locale","restrictEditing","serverActionSettings","serviceUrl","showPropertiesPane","toolbarItems","userColor","width","zIndex","beforeCommentAction","beforePaneSwitch","commentDelete","contentChange","contentControl","created","customContextMenuBeforeOpen","customContextMenuSelect","destroyed","documentChange","selectionChange","serviceFailure","toolbarClick","trackChange"],f=[],h=function(e){function o(){var n=e.call(this)||this;return n.propKeys=u,n.models=f,n.hasChildDirective=!1,n.hasInjectedModules=!0,n.tagMapper={},n.tagNameMapper={},n.ej2Instances=new t.DocumentEditorContainer({}),n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n}return l(o,e),o.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},o.prototype.render=function(e){return e("div",this.$slots.default)},o.prototype.resize=function(e,t){return this.ej2Instances.resize(e,t)},o.prototype.setDefaultCharacterFormat=function(e){return this.ej2Instances.setDefaultCharacterFormat(e)},o.prototype.setDefaultParagraphFormat=function(e){return this.ej2Instances.setDefaultParagraphFormat(e)},o.prototype.setDefaultSectionFormat=function(e){return this.ej2Instances.setDefaultSectionFormat(e)},o=p([n.EJComponentDecorator({props:u})],o)}(n.ComponentBase),d={name:"ejs-documenteditorcontainer",install:function(e){e.component(d.name,h)}};e.DocumentEditorComponent=i,e.DocumentEditorPlugin=c,e.DocumentEditorContainerComponent=h,e.DocumentEditorContainerPlugin=d,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})});
|
|
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","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=[],h=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),m={name:"ejs-documenteditorcontainer",install:function(e){e.component(m.name,h)}};e.DocumentEditorComponent=c,e.DocumentEditorPlugin=l,e.DocumentEditorContainerComponent=h,e.DocumentEditorContainerPlugin=m,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})});
|
|
29
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":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { ComponentBase, EJComponentDecorator } from '@syncfusion/ej2-vue-base';\nimport { DocumentEditor } from '@syncfusion/ej2-documenteditor';\nexport var properties = ['acceptTab', 'currentUser', 'defaultPasteOption', 'documentEditorSettings', 'documentName', 'enableBookmarkDialog', 'enableBordersAndShadingDialog', 'enableComment', 'enableContextMenu', 'enableCursorOnReadOnly', 'enableEditor', 'enableEditorHistory', 'enableFontDialog', 'enableFootnoteAndEndnoteDialog', 'enableFormField', 'enableHyperlinkDialog', 'enableImageResizer', 'enableListDialog', 'enableLocalPaste', 'enableLockAndEdit', 'enableOptionsPane', 'enablePageSetupDialog', 'enableParagraphDialog', 'enablePersistence', 'enablePrint', 'enableRtl', 'enableSearch', 'enableSelection', 'enableSfdtExport', 'enableSpellCheck', 'enableStyleDialog', 'enableTableDialog', 'enableTableOfContentsDialog', 'enableTableOptionsDialog', 'enableTablePropertiesDialog', 'enableTextExport', 'enableTrackChanges', 'enableWordExport', 'headers', 'height', 'isReadOnly', 'layoutType', 'locale', 'pageGap', 'pageOutline', 'serverActionSettings', 'serviceUrl', 'showComments', 'showRevisions', 'useCtrlClickToFollowHyperlink', 'userColor', 'width', 'zIndex', 'zoomFactor', 'actionComplete', 'afterFormFieldFill', 'beforeCommentAction', 'beforeFileOpen', 'beforeFormFieldFill', 'beforePaneSwitch', 'commentBegin', 'commentDelete', 'commentEnd', 'contentChange', 'contentControl', 'created', 'customContextMenuBeforeOpen', 'customContextMenuSelect', 'destroyed', 'documentChange', 'keyDown', 'requestNavigate', 'searchResultsChange', 'selectionChange', 'serviceFailure', 'trackChange', 'viewChange', 'zoomFactorChange'];\nexport var modelProps = [];\n/**\n * Represents the Essential JS 2 VueJS Document Editor Component\n * ```html\n * <ejs-documenteditor id='container'></ejs-documenteditor>\n * ```\n */\nvar DocumentEditorComponent = /** @class */ (function (_super) {\n __extends(DocumentEditorComponent, _super);\n function DocumentEditorComponent() {\n var _this = _super.call(this) || this;\n _this.propKeys = properties;\n _this.models = modelProps;\n _this.hasChildDirective = false;\n _this.hasInjectedModules = true;\n _this.tagMapper = {};\n _this.tagNameMapper = {};\n _this.ej2Instances = new DocumentEditor({});\n _this.bindProperties();\n _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;\n _this.ej2Instances.setProperties = _this.setProperties;\n return _this;\n }\n DocumentEditorComponent.prototype.setProperties = function (prop, muteOnChange) {\n var _this = this;\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n _this.$emit('update:' + key, prop[key]);\n }\n });\n });\n }\n };\n DocumentEditorComponent.prototype.render = function (createElement) {\n return createElement('div', this.$slots.default);\n };\n DocumentEditorComponent.prototype.enableAllModules = function () {\n return this.ej2Instances.enableAllModules();\n };\n DocumentEditorComponent.prototype.exportFormData = function () {\n return this.ej2Instances.exportFormData();\n };\n DocumentEditorComponent.prototype.fitPage = function (pageFitType) {\n return this.ej2Instances.fitPage(pageFitType);\n };\n DocumentEditorComponent.prototype.focusIn = function () {\n return this.ej2Instances.focusIn();\n };\n DocumentEditorComponent.prototype.getBookmarks = function () {\n return this.ej2Instances.getBookmarks();\n };\n DocumentEditorComponent.prototype.getFormFieldInfo = function (name) {\n return this.ej2Instances.getFormFieldInfo(name);\n };\n DocumentEditorComponent.prototype.getFormFieldNames = function () {\n return this.ej2Instances.getFormFieldNames();\n };\n DocumentEditorComponent.prototype.getStyleNames = function (styleType) {\n return this.ej2Instances.getStyleNames(styleType);\n };\n DocumentEditorComponent.prototype.getStyles = function (styleType) {\n return this.ej2Instances.getStyles(styleType);\n };\n DocumentEditorComponent.prototype.importFormData = function (formData) {\n return this.ej2Instances.importFormData(formData);\n };\n DocumentEditorComponent.prototype.open = function (sfdtText) {\n return this.ej2Instances.open(sfdtText);\n };\n DocumentEditorComponent.prototype.openBlank = function () {\n return this.ej2Instances.openBlank();\n };\n DocumentEditorComponent.prototype.print = function (printWindow) {\n return this.ej2Instances.print(printWindow);\n };\n DocumentEditorComponent.prototype.resetFormFields = function (name) {\n return this.ej2Instances.resetFormFields(name);\n };\n DocumentEditorComponent.prototype.resize = function (width, height) {\n return this.ej2Instances.resize(width, height);\n };\n DocumentEditorComponent.prototype.save = function (fileName, formatType) {\n return this.ej2Instances.save(fileName, formatType);\n };\n DocumentEditorComponent.prototype.saveAsBlob = function (formatType) {\n return this.ej2Instances.saveAsBlob(formatType);\n };\n DocumentEditorComponent.prototype.scrollToPage = function (pageNumber) {\n return this.ej2Instances.scrollToPage(pageNumber);\n };\n DocumentEditorComponent.prototype.serialize = function () {\n return this.ej2Instances.serialize();\n };\n DocumentEditorComponent.prototype.setDefaultCharacterFormat = function (characterFormat) {\n return this.ej2Instances.setDefaultCharacterFormat(characterFormat);\n };\n DocumentEditorComponent.prototype.setDefaultParagraphFormat = function (paragraphFormat) {\n return this.ej2Instances.setDefaultParagraphFormat(paragraphFormat);\n };\n DocumentEditorComponent.prototype.setDefaultSectionFormat = function (sectionFormat) {\n return this.ej2Instances.setDefaultSectionFormat(sectionFormat);\n };\n DocumentEditorComponent.prototype.setFormFieldInfo = function (name, formFieldInfo) {\n return this.ej2Instances.setFormFieldInfo(name, formFieldInfo);\n };\n DocumentEditorComponent.prototype.showDialog = function (dialogType) {\n return this.ej2Instances.showDialog(dialogType);\n };\n DocumentEditorComponent.prototype.showOptionsPane = function () {\n return this.ej2Instances.showOptionsPane();\n };\n DocumentEditorComponent.prototype.showRestrictEditingPane = function (show) {\n return this.ej2Instances.showRestrictEditingPane(show);\n };\n DocumentEditorComponent.prototype.updateFields = function () {\n return this.ej2Instances.updateFields();\n };\n DocumentEditorComponent = __decorate([\n EJComponentDecorator({\n props: properties\n })\n ], DocumentEditorComponent);\n return DocumentEditorComponent;\n}(ComponentBase));\nexport { DocumentEditorComponent };\nexport var DocumentEditorPlugin = {\n name: 'ejs-documenteditor',\n install: function (Vue) {\n Vue.component(DocumentEditorPlugin.name, DocumentEditorComponent);\n }\n};\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { ComponentBase, EJComponentDecorator } from '@syncfusion/ej2-vue-base';\nimport { DocumentEditorContainer } from '@syncfusion/ej2-documenteditor';\nexport var properties = ['currentUser', 'documentEditorSettings', 'enableComment', 'enableCsp', 'enableLocalPaste', 'enableLockAndEdit', 'enablePersistence', 'enableRtl', 'enableSpellCheck', 'enableToolbar', 'enableTrackChanges', 'headers', 'height', 'layoutType', 'locale', 'restrictEditing', 'serverActionSettings', 'serviceUrl', 'showPropertiesPane', 'toolbarItems', 'userColor', 'width', 'zIndex', 'beforeCommentAction', 'beforePaneSwitch', 'commentDelete', 'contentChange', 'contentControl', 'created', 'customContextMenuBeforeOpen', 'customContextMenuSelect', 'destroyed', 'documentChange', 'selectionChange', 'serviceFailure', 'toolbarClick', 'trackChange'];\nexport var modelProps = [];\n/**\n * Represents the Essential JS 2 VueJS Document Editor Container\n * ```html\n * <ejs-documenteditor-container id='container'></ejs-documenteditor-container>\n * ```\n */\nvar DocumentEditorContainerComponent = /** @class */ (function (_super) {\n __extends(DocumentEditorContainerComponent, _super);\n function DocumentEditorContainerComponent() {\n var _this = _super.call(this) || this;\n _this.propKeys = properties;\n _this.models = modelProps;\n _this.hasChildDirective = false;\n _this.hasInjectedModules = true;\n _this.tagMapper = {};\n _this.tagNameMapper = {};\n _this.ej2Instances = new DocumentEditorContainer({});\n _this.bindProperties();\n _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;\n _this.ej2Instances.setProperties = _this.setProperties;\n return _this;\n }\n DocumentEditorContainerComponent.prototype.setProperties = function (prop, muteOnChange) {\n var _this = this;\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n _this.$emit('update:' + key, prop[key]);\n }\n });\n });\n }\n };\n DocumentEditorContainerComponent.prototype.render = function (createElement) {\n return createElement('div', this.$slots.default);\n };\n DocumentEditorContainerComponent.prototype.resize = function (width, height) {\n return this.ej2Instances.resize(width, height);\n };\n DocumentEditorContainerComponent.prototype.setDefaultCharacterFormat = function (characterFormat) {\n return this.ej2Instances.setDefaultCharacterFormat(characterFormat);\n };\n DocumentEditorContainerComponent.prototype.setDefaultParagraphFormat = function (paragraphFormat) {\n return this.ej2Instances.setDefaultParagraphFormat(paragraphFormat);\n };\n DocumentEditorContainerComponent.prototype.setDefaultSectionFormat = function (sectionFormat) {\n return this.ej2Instances.setDefaultSectionFormat(sectionFormat);\n };\n DocumentEditorContainerComponent = __decorate([\n EJComponentDecorator({\n props: properties\n })\n ], DocumentEditorContainerComponent);\n return DocumentEditorContainerComponent;\n}(ComponentBase));\nexport { DocumentEditorContainerComponent };\nexport var DocumentEditorContainerPlugin = {\n name: 'ejs-documenteditorcontainer',\n install: function (Vue) {\n Vue.component(DocumentEditorContainerPlugin.name, DocumentEditorContainerComponent);\n }\n};\n"],"names":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","__decorate","decorators","target","key","desc","c","arguments","length","r","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","properties","modelProps","DocumentEditorComponent","_super","_this","call","propKeys","models","hasChildDirective","hasInjectedModules","tagMapper","tagNameMapper","ej2Instances","DocumentEditor","bindProperties","_setProperties","setProperties","prop","muteOnChange","keys","map","model","test","$emit","render","createElement","$slots","default","enableAllModules","exportFormData","fitPage","pageFitType","focusIn","getBookmarks","getFormFieldInfo","name","getFormFieldNames","getStyleNames","styleType","getStyles","importFormData","formData","open","sfdtText","openBlank","print","printWindow","resetFormFields","resize","width","height","save","fileName","formatType","saveAsBlob","scrollToPage","pageNumber","serialize","setDefaultCharacterFormat","characterFormat","setDefaultParagraphFormat","paragraphFormat","setDefaultSectionFormat","sectionFormat","setFormFieldInfo","formFieldInfo","showDialog","dialogType","showOptionsPane","showRestrictEditingPane","show","updateFields","EJComponentDecorator","props","ComponentBase","DocumentEditorPlugin","install","Vue","component","DocumentEditorContainerComponent","DocumentEditorContainer","DocumentEditorContainerPlugin"],"mappings":"oWAAA,IAAIA,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,KAAIN,EAAEM,GAAKL,EAAEK,MACpDN,EAAGC,IAE5B,OAAO,SAAUD,EAAGC,GAEhB,SAASO,IAAOC,KAAKC,YAAcV,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEW,UAAkB,OAANV,EAAaC,OAAOU,OAAOX,IAAMO,EAAGG,UAAYV,EAAEU,UAAW,IAAIH,IAV3C,GAaxCK,EAA0C,SAAUC,EAAYC,EAAQC,EAAKC,GAC7E,IAA2HjB,EAAvHkB,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIH,EAAkB,OAATE,EAAgBA,EAAOf,OAAOoB,yBAAyBP,EAAQC,GAAOC,EACrH,GAAuB,iBAAZM,SAAoD,mBAArBA,QAAQC,SAAyBH,EAAIE,QAAQC,SAASV,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAIQ,EAAIX,EAAWM,OAAS,EAAGK,GAAK,EAAGA,KAAS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BC,IAEvDoB,EAAiC/F,UAAU4E,0BAA4B,SAAUC,GAC7E,OAAO/E,KAAK8B,aAAagD,0BAA0BC,IAEvDkB,EAAiC/F,UAAU8E,wBAA0B,SAAUC,GAC3E,OAAOjF,KAAK8B,aAAakD,wBAAwBC,IAErDgB,EAAmC7F,GAC/BsF,wBACIC,MAAOzE,KAEZ+E,IAELL,iBAESO,GACP9C,KAAM,8BACNyC,QAAS,SAAUC,GACfA,EAAIC,UAAUG,EAA8B9C,KAAM4C"}
|
|
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', '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,EAAOA,EAAEM,eAAeD,KAAIN,EAAEM,GAAKL,EAAEK,MACpDN,EAAGC,IAE5B,OAAO,SAAUD,EAAGC,GAEhB,SAASO,IAAOC,KAAKC,YAAcV,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEW,UAAkB,OAANV,EAAaC,OAAOU,OAAOX,IAAMO,EAAGG,UAAYV,EAAEU,UAAW,IAAIH,IAV3C,GAaxCK,EAA0C,SAAUC,EAAYC,EAAQC,EAAKC,GAC7E,IAA2HjB,EAAvHkB,EAAIC,UAAUC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nD,KAAKyB,QAAUzB,KAAKyB,OAAOd,QACnClB,OAAO6C,KAAKa,GAAME,IAAI,SAAU9C,GAC5Be,EAAMG,OAAO4B,IAAI,SAAUC,GAClB/C,IAAQ+C,GAAY,cAAcC,KAAKhD,IACxCe,EAAMkC,MAAM,UAAYjD,EAAK4C,EAAK5C,SAMtD4G,EAAiCjH,UAAUuD,OAAS,SAAUC,GAC1D,OAAOA,EAAc,MAAO1D,KAAK2D,OAAOC,UAE5CuD,EAAiCjH,UAAU2D,OAAS,WAChD7D,KAAKoC,WAET+E,EAAiCjH,UAAUmF,OAAS,SAAUC,EAAOC,GACjE,OAAOvF,KAAK8B,aAAauD,OAAOC,EAAOC,IAE3C4B,EAAiCjH,UAAU4F,0BAA4B,SAAUC,GAC7E,OAAO/F,KAAK8B,aAAagE,0BAA0BC,IAEvDoB,EAAiCjH,UAAU8F,0BAA4B,SAAUC,GAC7E,OAAOjG,KAAK8B,aAAakE,0BAA0BC,IAEvDkB,EAAiCjH,UAAUgG,wBAA0B,SAAUC,GAC3E,OAAOnG,KAAK8B,aAAaoE,wBAAwBC,IAErDgB,EAAmC/G,GAC/BwG,wBACIC,MAAO3F,KAEZiG,IAELL,iBAESO,GACP7C,KAAM,8BACNwC,QAAS,SAAUC,GACfA,EAAIC,UAAUG,EAA8B7C,KAAM2C"}
|
|
@@ -15,7 +15,7 @@ const testProp = getProps({ props: properties });
|
|
|
15
15
|
const props = testProp[0];
|
|
16
16
|
const watch = testProp[1];
|
|
17
17
|
const emitProbs = Object.keys(watch);
|
|
18
|
-
emitProbs.push('modelchanged');
|
|
18
|
+
emitProbs.push('modelchanged', 'update:modelValue');
|
|
19
19
|
for (let props of modelProps) {
|
|
20
20
|
emitProbs.push('update:' + props);
|
|
21
21
|
}
|
|
@@ -230,7 +230,7 @@ const testProp$1 = getProps({ props: properties$1 });
|
|
|
230
230
|
const props$1 = testProp$1[0];
|
|
231
231
|
const watch$1 = testProp$1[1];
|
|
232
232
|
const emitProbs$1 = Object.keys(watch$1);
|
|
233
|
-
emitProbs$1.push('modelchanged');
|
|
233
|
+
emitProbs$1.push('modelchanged', 'update:modelValue');
|
|
234
234
|
for (let props of modelProps$1) {
|
|
235
235
|
emitProbs$1.push('update:' + props);
|
|
236
236
|
}
|
|
@@ -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":["var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { DocumentEditor } from '@syncfusion/ej2-documenteditor';\n// {{VueImport}}\nexport const properties = ['isLazyUpdate', 'plugins', 'acceptTab', 'currentUser', 'defaultPasteOption', 'documentEditorSettings', 'documentName', 'documentSettings', 'enableBookmarkDialog', 'enableBordersAndShadingDialog', 'enableComment', 'enableContextMenu', 'enableCursorOnReadOnly', 'enableEditor', 'enableEditorHistory', 'enableFontDialog', 'enableFootnoteAndEndnoteDialog', 'enableFormField', 'enableHyperlinkDialog', 'enableImageResizer', 'enableListDialog', 'enableLocalPaste', 'enableLockAndEdit', 'enableOptionsPane', 'enablePageSetupDialog', 'enableParagraphDialog', 'enablePersistence', 'enablePrint', 'enableRtl', 'enableSearch', 'enableSelection', 'enableSfdtExport', 'enableSpellCheck', 'enableStyleDialog', 'enableTableDialog', 'enableTableOfContentsDialog', 'enableTableOptionsDialog', 'enableTablePropertiesDialog', 'enableTextExport', 'enableTrackChanges', 'enableWordExport', 'headers', 'height', 'isReadOnly', 'layoutType', 'locale', 'pageGap', 'pageOutline', 'serverActionSettings', 'serviceUrl', 'showComments', 'showRevisions', 'useCtrlClickToFollowHyperlink', 'userColor', 'width', 'zIndex', 'zoomFactor', 'actionComplete', 'afterFormFieldFill', 'beforeCommentAction', 'beforeFileOpen', 'beforeFormFieldFill', 'beforePaneSwitch', 'commentBegin', 'commentDelete', 'commentEnd', 'contentChange', 'contentControl', 'created', 'customContextMenuBeforeOpen', 'customContextMenuSelect', 'destroyed', 'documentChange', 'keyDown', 'requestNavigate', 'searchResultsChange', 'selectionChange', 'serviceFailure', 'trackChange', 'viewChange', 'zoomFactorChange', 'beforeXmlHttpRequestSend'];\nexport const modelProps = [];\nexport const testProp = getProps({ props: properties });\nexport const props = testProp[0];\nexport const watch = testProp[1];\nexport const emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged');\nfor (let props of modelProps) {\n emitProbs.push('update:' + props);\n}\nexport const isExecute = gh ? false : true;\n/**\n * Represents the Essential JS 2 VueJS Document Editor Component\n * ```html\n * <ejs-documenteditor id='container'></ejs-documenteditor>\n * ```\n */\nlet DocumentEditorComponent = \n/* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function provide() {\n return {\n custom: this.custom\n };\n }\n}) End */\nclass DocumentEditorComponent extends ComponentBase {\n constructor() {\n super(arguments);\n this.propKeys = properties;\n this.models = modelProps;\n this.hasChildDirective = false;\n this.hasInjectedModules = true;\n this.tagMapper = {};\n this.tagNameMapper = {};\n this.isVue3 = !isExecute;\n this.ej2Instances = new DocumentEditor({});\n this.bindProperties();\n this.ej2Instances._setProperties = this.ej2Instances.setProperties;\n this.ej2Instances.setProperties = this.setProperties;\n this.ej2Instances.clearTemplate = this.clearTemplate;\n this.updated = this.updated;\n }\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 render(createElement) {\n let h = gh || createElement;\n let slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = gh ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n }\n 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};\nDocumentEditorComponent = __decorate([\n EJComponentDecorator({\n props: properties\n }, isExecute)\n /* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function provide() {\n return {\n custom: this.custom\n };\n }\n }) End */\n], DocumentEditorComponent);\nexport { DocumentEditorComponent };\nexport const DocumentEditorPlugin = {\n name: 'ejs-documenteditor',\n install(Vue) {\n Vue.component(DocumentEditorPlugin.name, DocumentEditorComponent);\n }\n};\n","var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { DocumentEditorContainer } from '@syncfusion/ej2-documenteditor';\n// {{VueImport}}\nexport const 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 const modelProps = [];\nexport const testProp = getProps({ props: properties });\nexport const props = testProp[0];\nexport const watch = testProp[1];\nexport const emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged');\nfor (let props of modelProps) {\n emitProbs.push('update:' + props);\n}\nexport const isExecute = gh ? false : true;\n/**\n * Represents the Essential JS 2 VueJS Document Editor Container\n * ```html\n * <ejs-documenteditor-container id='container'></ejs-documenteditor-container>\n * ```\n */\nlet DocumentEditorContainerComponent = \n/* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function provide() {\n return {\n custom: this.custom\n };\n }\n}) End */\nclass DocumentEditorContainerComponent extends ComponentBase {\n constructor() {\n super(arguments);\n this.propKeys = properties;\n this.models = modelProps;\n this.hasChildDirective = false;\n this.hasInjectedModules = true;\n this.tagMapper = {};\n this.tagNameMapper = {};\n this.isVue3 = !isExecute;\n this.ej2Instances = new DocumentEditorContainer({});\n this.bindProperties();\n this.ej2Instances._setProperties = this.ej2Instances.setProperties;\n this.ej2Instances.setProperties = this.setProperties;\n this.ej2Instances.clearTemplate = this.clearTemplate;\n this.updated = this.updated;\n }\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 render(createElement) {\n let h = gh || createElement;\n let slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = gh ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n }\n 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};\nDocumentEditorContainerComponent = __decorate([\n EJComponentDecorator({\n props: properties\n }, isExecute)\n /* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function provide() {\n return {\n custom: this.custom\n };\n }\n }) End */\n], DocumentEditorContainerComponent);\nexport { DocumentEditorContainerComponent };\nexport const DocumentEditorContainerPlugin = {\n name: 'ejs-documenteditorcontainer',\n install(Vue) {\n Vue.component(DocumentEditorContainerPlugin.name, DocumentEditorContainerComponent);\n }\n};\n"],"names":["this","__decorate","properties","modelProps","testProp","props","watch","emitProbs","isExecute"],"mappings":";;;;AAAA,IAAI,UAAU,GAAG,CAACA,SAAI,IAAIA,SAAI,CAAC,UAAU,KAAK,UAAU,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE;IACnF,IAAI,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,MAAM,GAAG,IAAI,KAAK,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC,wBAAwB,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,EAAE,CAAC,CAAC;IAC7H,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,OAAO,OAAO,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,CAAC,CAAC;SAC1H,KAAK,IAAI,CAAC,GAAG,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,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ACvE;IACD,yBAAyB,CAAC,eAAe,EAAE;QACvC,OAAO,IAAI,CAAC,YAAY,CAAC,yBAAyB,CAAC,eAAe,CAAC,CAAC;KACvE;IACD,uBAAuB,CAAC,aAAa,EAAE;QACnC,OAAO,IAAI,CAAC,YAAY,CAAC,uBAAuB,CAAC,aAAa,CAAC,CAAC;KACnE;CACJ,CAAC;AACF,gCAAgC,GAAGP,YAAU,CAAC;IAC1C,oBAAoB,CAAC;QACjB,KAAK,EAAEC,YAAU;KACpB,EAAEM,WAAS,CAAC;;;;;;;;;;;CAWhB,EAAE,gCAAgC,CAAC,CAAC;AACrC,AACO,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":["var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { DocumentEditor } from '@syncfusion/ej2-documenteditor';\n// {{VueImport}}\nexport const properties = ['isLazyUpdate', 'plugins', 'acceptTab', 'currentUser', 'defaultPasteOption', 'documentEditorSettings', 'documentName', 'documentSettings', 'enableBookmarkDialog', 'enableBordersAndShadingDialog', 'enableComment', 'enableContextMenu', 'enableCursorOnReadOnly', 'enableEditor', 'enableEditorHistory', 'enableFontDialog', 'enableFootnoteAndEndnoteDialog', 'enableFormField', 'enableHyperlinkDialog', 'enableImageResizer', 'enableListDialog', 'enableLocalPaste', 'enableLockAndEdit', 'enableOptionsPane', 'enablePageSetupDialog', 'enableParagraphDialog', 'enablePersistence', 'enablePrint', 'enableRtl', 'enableSearch', 'enableSelection', 'enableSfdtExport', 'enableSpellCheck', 'enableStyleDialog', 'enableTableDialog', 'enableTableOfContentsDialog', 'enableTableOptionsDialog', 'enableTablePropertiesDialog', 'enableTextExport', 'enableTrackChanges', 'enableWordExport', 'headers', 'height', 'isReadOnly', 'layoutType', 'locale', 'pageGap', 'pageOutline', 'serverActionSettings', 'serviceUrl', 'showComments', 'showRevisions', 'useCtrlClickToFollowHyperlink', 'userColor', 'width', 'zIndex', 'zoomFactor', 'actionComplete', 'afterFormFieldFill', 'beforeCommentAction', 'beforeFileOpen', 'beforeFormFieldFill', 'beforePaneSwitch', 'commentBegin', 'commentDelete', 'commentEnd', 'contentChange', 'contentControl', 'created', 'customContextMenuBeforeOpen', 'customContextMenuSelect', 'destroyed', 'documentChange', 'keyDown', 'requestNavigate', 'searchResultsChange', 'selectionChange', 'serviceFailure', 'trackChange', 'viewChange', 'zoomFactorChange', 'beforeXmlHttpRequestSend'];\nexport const modelProps = [];\nexport const testProp = getProps({ props: properties });\nexport const props = testProp[0];\nexport const watch = testProp[1];\nexport const emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\nfor (let props of modelProps) {\n emitProbs.push('update:' + props);\n}\nexport const isExecute = gh ? false : true;\n/**\n * Represents the Essential JS 2 VueJS Document Editor Component\n * ```html\n * <ejs-documenteditor id='container'></ejs-documenteditor>\n * ```\n */\nlet DocumentEditorComponent = \n/* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function provide() {\n return {\n custom: this.custom\n };\n }\n}) End */\nclass DocumentEditorComponent extends ComponentBase {\n constructor() {\n super(arguments);\n this.propKeys = properties;\n this.models = modelProps;\n this.hasChildDirective = false;\n this.hasInjectedModules = true;\n this.tagMapper = {};\n this.tagNameMapper = {};\n this.isVue3 = !isExecute;\n this.ej2Instances = new DocumentEditor({});\n this.bindProperties();\n this.ej2Instances._setProperties = this.ej2Instances.setProperties;\n this.ej2Instances.setProperties = this.setProperties;\n this.ej2Instances.clearTemplate = this.clearTemplate;\n this.updated = this.updated;\n }\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 render(createElement) {\n let h = gh || createElement;\n let slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = gh ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n }\n 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};\nDocumentEditorComponent = __decorate([\n EJComponentDecorator({\n props: properties\n }, isExecute)\n /* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function provide() {\n return {\n custom: this.custom\n };\n }\n }) End */\n], DocumentEditorComponent);\nexport { DocumentEditorComponent };\nexport const DocumentEditorPlugin = {\n name: 'ejs-documenteditor',\n install(Vue) {\n Vue.component(DocumentEditorPlugin.name, DocumentEditorComponent);\n }\n};\n","var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { DocumentEditorContainer } from '@syncfusion/ej2-documenteditor';\n// {{VueImport}}\nexport const 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 const modelProps = [];\nexport const testProp = getProps({ props: properties });\nexport const props = testProp[0];\nexport const watch = testProp[1];\nexport const emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\nfor (let props of modelProps) {\n emitProbs.push('update:' + props);\n}\nexport const isExecute = gh ? false : true;\n/**\n * Represents the Essential JS 2 VueJS Document Editor Container\n * ```html\n * <ejs-documenteditor-container id='container'></ejs-documenteditor-container>\n * ```\n */\nlet DocumentEditorContainerComponent = \n/* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function provide() {\n return {\n custom: this.custom\n };\n }\n}) End */\nclass DocumentEditorContainerComponent extends ComponentBase {\n constructor() {\n super(arguments);\n this.propKeys = properties;\n this.models = modelProps;\n this.hasChildDirective = false;\n this.hasInjectedModules = true;\n this.tagMapper = {};\n this.tagNameMapper = {};\n this.isVue3 = !isExecute;\n this.ej2Instances = new DocumentEditorContainer({});\n this.bindProperties();\n this.ej2Instances._setProperties = this.ej2Instances.setProperties;\n this.ej2Instances.setProperties = this.setProperties;\n this.ej2Instances.clearTemplate = this.clearTemplate;\n this.updated = this.updated;\n }\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 render(createElement) {\n let h = gh || createElement;\n let slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = gh ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n }\n 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};\nDocumentEditorContainerComponent = __decorate([\n EJComponentDecorator({\n props: properties\n }, isExecute)\n /* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function provide() {\n return {\n custom: this.custom\n };\n }\n }) End */\n], DocumentEditorContainerComponent);\nexport { DocumentEditorContainerComponent };\nexport const DocumentEditorContainerPlugin = {\n name: 'ejs-documenteditorcontainer',\n install(Vue) {\n Vue.component(DocumentEditorContainerPlugin.name, DocumentEditorContainerComponent);\n }\n};\n"],"names":["this","__decorate","properties","modelProps","testProp","props","watch","emitProbs","isExecute"],"mappings":";;;;AAAA,IAAI,UAAU,GAAG,CAACA,SAAI,IAAIA,SAAI,CAAC,UAAU,KAAK,UAAU,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE;IACnF,IAAI,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,MAAM,GAAG,IAAI,KAAK,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC,wBAAwB,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,EAAE,CAAC,CAAC;IAC7H,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,OAAO,OAAO,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC,GAAG,OA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CAAC,MAAM,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC;SAC5D;QACD,OAAO,CAAC,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;KAC1B;IACD,MAAM,GAAG;QACL,IAAI,CAAC,OAAO,EAAE,CAAC;KAClB;IACD,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE;QAClB,OAAO,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;KAClD;IACD,yBAAyB,CAAC,eAAe,EAAE;QACvC,OAAO,IAAI,CAAC,YAAY,CAAC,yBAAyB,CAAC,eAAe,CAAC,CAAC;KACvE;IACD,yBAAyB,CAAC,eAAe,EAAE;QACvC,OAAO,IAAI,CAAC,YAAY,CAAC,yBAAyB,CAAC,eAAe,CAAC,CAAC;KACvE;IACD,uBAAuB,CAAC,aAAa,EAAE;QACnC,OAAO,IAAI,CAAC,YAAY,CAAC,uBAAuB,CAAC,aAAa,CAAC,CAAC;KACnE;CACJ,CAAC;AACF,gCAAgC,GAAGP,YAAU,CAAC;IAC1C,oBAAoB,CAAC;QACjB,KAAK,EAAEC,YAAU;KACpB,EAAEM,WAAS,CAAC;;;;;;;;;;;CAWhB,EAAE,gCAAgC,CAAC,CAAC;AACrC,AACO,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;;;;;"}
|
|
@@ -28,7 +28,7 @@ var testProp = getProps({ props: properties });
|
|
|
28
28
|
var props = testProp[0];
|
|
29
29
|
var watch = testProp[1];
|
|
30
30
|
var emitProbs = Object.keys(watch);
|
|
31
|
-
emitProbs.push('modelchanged');
|
|
31
|
+
emitProbs.push('modelchanged', 'update:modelValue');
|
|
32
32
|
for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
|
|
33
33
|
var props_1 = modelProps_1[_i];
|
|
34
34
|
emitProbs.push('update:' + props_1);
|
|
@@ -252,7 +252,7 @@ var testProp$1 = getProps({ props: properties$1 });
|
|
|
252
252
|
var props$1 = testProp$1[0];
|
|
253
253
|
var watch$1 = testProp$1[1];
|
|
254
254
|
var emitProbs$1 = Object.keys(watch$1);
|
|
255
|
-
emitProbs$1.push('modelchanged');
|
|
255
|
+
emitProbs$1.push('modelchanged', 'update:modelValue');
|
|
256
256
|
for (var _i$1 = 0, modelProps_1$1 = modelProps$1; _i$1 < modelProps_1$1.length; _i$1++) {
|
|
257
257
|
var props_1$1 = modelProps_1$1[_i$1];
|
|
258
258
|
emitProbs$1.push('update:' + props_1$1);
|