@syncfusion/ej2-vue-documenteditor 20.2.50 → 20.3.47
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 +1 -180
- package/dist/ej2-vue-documenteditor.umd.min.js +1 -1
- package/dist/es6/ej2-vue-documenteditor.es2015.js +7 -9
- package/dist/es6/ej2-vue-documenteditor.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-documenteditor.es5.js +7 -9
- 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.d.ts +0 -1
- package/src/document-editor/documenteditor.component.js +3 -4
- package/src/document-editor-container/documenteditorcontainer.component.d.ts +0 -1
- package/src/document-editor-container/documenteditorcontainer.component.js +3 -4
- package/styles/bootstrap-dark.css +18 -1
- package/styles/bootstrap.css +18 -1
- package/styles/bootstrap4.css +19 -2
- package/styles/bootstrap5-dark.css +19 -3
- package/styles/bootstrap5.css +19 -3
- package/styles/document-editor/bootstrap-dark.css +5 -0
- package/styles/document-editor/bootstrap.css +5 -0
- package/styles/document-editor/bootstrap4.css +5 -0
- package/styles/document-editor/bootstrap5-dark.css +5 -0
- package/styles/document-editor/bootstrap5.css +5 -0
- package/styles/document-editor/fabric-dark.css +5 -0
- package/styles/document-editor/fabric.css +5 -0
- package/styles/document-editor/fluent-dark.css +5 -0
- package/styles/document-editor/fluent.css +5 -0
- package/styles/document-editor/highcontrast-light.css +18 -14
- package/styles/document-editor/highcontrast.css +5 -0
- package/styles/document-editor/material-dark.css +5 -0
- package/styles/document-editor/material.css +5 -0
- package/styles/document-editor/tailwind-dark.css +5 -0
- package/styles/document-editor/tailwind.css +5 -0
- package/styles/document-editor-container/bootstrap-dark.css +13 -1
- package/styles/document-editor-container/bootstrap.css +13 -1
- package/styles/document-editor-container/bootstrap4.css +14 -2
- package/styles/document-editor-container/bootstrap5-dark.css +14 -3
- package/styles/document-editor-container/bootstrap5.css +14 -3
- package/styles/document-editor-container/fabric-dark.css +13 -1
- package/styles/document-editor-container/fabric.css +13 -1
- package/styles/document-editor-container/fluent-dark.css +14 -3
- package/styles/document-editor-container/fluent.css +14 -3
- package/styles/document-editor-container/highcontrast-light.css +27 -15
- package/styles/document-editor-container/highcontrast.css +13 -1
- package/styles/document-editor-container/material-dark.css +13 -1
- package/styles/document-editor-container/material.css +13 -1
- package/styles/document-editor-container/tailwind-dark.css +14 -3
- package/styles/document-editor-container/tailwind.css +14 -3
- package/styles/fabric-dark.css +18 -1
- package/styles/fabric.css +18 -1
- package/styles/fluent-dark.css +19 -3
- package/styles/fluent.css +19 -3
- package/styles/highcontrast-light.css +31 -15
- package/styles/highcontrast.css +18 -1
- package/styles/material-dark.css +18 -1
- package/styles/material.css +18 -1
- package/styles/tailwind-dark.css +19 -3
- package/styles/tailwind.css +19 -3
package/CHANGELOG.md
CHANGED
|
@@ -4,180 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
### Document Editor
|
|
6
6
|
|
|
7
|
-
#### Bug Fixes
|
|
8
|
-
|
|
9
|
-
- `#I398138` - Resolved the script error while deleting the content at the end of the document.
|
|
10
|
-
- `#I398155` - Resolved the content overlapping issue while inserting section break.
|
|
11
|
-
- `#I401956` - Resolved the page number insertion issue in the header/footer.
|
|
12
|
-
- `#I398142` - Resolved the script error while switching the properties pane.
|
|
13
|
-
- `#I407009` - Resolved the track changes preservation issue while deleting the text.
|
|
14
|
-
- `#I403326` - Resolved the script error while deleting the text inside the table.
|
|
15
|
-
- `#I402272` - Resolved the text insertion issue inside the textbox shape.
|
|
16
|
-
- `#I399011` - Resolved the form field selection issue.
|
|
17
|
-
- `#I401957` - Resolved the table layouting issue after modifying the cell width.
|
|
18
|
-
- `#I401952` - Resolved the paper format preservation issue in the page setup dialog.
|
|
19
|
-
- `#I396264` - Added alert dialog to notify unsupported file type while opening the document.
|
|
20
|
-
|
|
21
|
-
## 20.2.49 (2022-09-13)
|
|
22
|
-
|
|
23
|
-
### Document Editor
|
|
24
|
-
|
|
25
|
-
#### Bug Fixes
|
|
26
|
-
|
|
27
|
-
- `#FB37084` - Header/Footer is now preserved properly.
|
|
28
|
-
- `#I398135`,`#I398144` - Resolved the text color changing issue while copying the text.
|
|
29
|
-
- `#I398152` - Resolved the count mismatch issue in track changes pane.
|
|
30
|
-
- `#FB36978` - Resolved the scrolling issue while copying text on Firefox browser.
|
|
31
|
-
- `#I404428` - Resolved the script error on find and replace.
|
|
32
|
-
|
|
33
|
-
## 20.2.48 (2022-09-06)
|
|
34
|
-
|
|
35
|
-
### Document Editor
|
|
36
|
-
|
|
37
|
-
#### Bug Fixes
|
|
38
|
-
|
|
39
|
-
- `#I401666`, `#I401858` - Resolved the issue with selecting bookmark.
|
|
40
|
-
- `#I396827` - Resolved the through wrapping style preservation issue.
|
|
41
|
-
- `#I397297` - Resolved the table alignment issue.
|
|
42
|
-
- `#I398051` - Resolved the invalid text rendering issue.
|
|
43
|
-
- `#I397670` - Resolved the browser hanging issue while changing the line spacing continuously.
|
|
44
|
-
- `#I390697` - Shape is now preserved properly on undo/redo.
|
|
45
|
-
|
|
46
|
-
- `#I390678` - Resolved the issue with rendering complex text.
|
|
47
|
-
- `#I393953` - Resolved the issue with pasting contents while switching paste options.
|
|
48
|
-
- `#I396125` - `AfterFormFieldFill` event is now triggered properly.
|
|
49
|
-
- `#I395575` - Resolved the issue with rendering cell right border.
|
|
50
|
-
- `#I390700` - Resolved the text overlapping issue with square wrapped image.
|
|
51
|
-
- `#I394115` - Resolved the table resizing issue.
|
|
52
|
-
- `#I379655` - Resolved the issue with rejecting empty paragraph.
|
|
53
|
-
|
|
54
|
-
## 20.2.46 (2022-08-30)
|
|
55
|
-
|
|
56
|
-
### Document Editor
|
|
57
|
-
|
|
58
|
-
#### Bug Fixes
|
|
59
|
-
|
|
60
|
-
- `#I390678` - Resolved the issue with rendering complex text.
|
|
61
|
-
- `#I393953` - Resolved the issue with pasting contents while switching paste options.
|
|
62
|
-
- `#I396125` - `AfterFormFieldFill` event is now triggered properly.
|
|
63
|
-
- `#I395575` - Resolved the issue with rendering cell right border.
|
|
64
|
-
- `#I390700` - Resolved the text overlapping issue with square wrapped image.
|
|
65
|
-
- `#I394115` - Resolved the table resizing issue.
|
|
66
|
-
- `#I379655` - Resolved the issue with rejecting empty paragraph.
|
|
67
|
-
|
|
68
|
-
- `#I390678` - Resolved the issue with rendering complex text.
|
|
69
|
-
- `#I393953` - Resolved the issue with pasting contents while switching paste options.
|
|
70
|
-
- `#I396125` - `AfterFormFieldFill` event is now triggered properly.
|
|
71
|
-
- `#I395575` - Resolved the issue with rendering cell right border.
|
|
72
|
-
- `#I390700` - Resolved the text overlapping issue with square wrapped image.
|
|
73
|
-
- `#I394115` - Resolved the table resizing issue.
|
|
74
|
-
|
|
75
|
-
## 20.2.45 (2022-08-23)
|
|
76
|
-
|
|
77
|
-
### Document Editor
|
|
78
|
-
|
|
79
|
-
#### Bug Fixes
|
|
80
|
-
|
|
81
|
-
- `#F175673` - Resolved search result navigation issue in header/footer.
|
|
82
|
-
- `#I390692` - Resolved issue with rendering paragraph border.
|
|
83
|
-
- `#I376858` - Resolved script error which scrolling the document.
|
|
84
|
-
- `#I376819`,`#I377834` - Resolved script error on accept all/ reject all.
|
|
85
|
-
- `#I381509` - Resolved issue with editing floating elements.
|
|
86
|
-
- `#I386049` - Font family is now applied properly for selected paragraphs.
|
|
87
|
-
- `#I383929` - Resolved issue with applying top border.
|
|
88
|
-
- `#I379641`, `#I392674` - Resolved the document layouting issue.
|
|
89
|
-
- `#I383391` - Track changes now preserved properly while accepting revisions.
|
|
90
|
-
- `#I387206`, `#I379404` - Resolved the table layouting issue.
|
|
91
|
-
|
|
92
|
-
## 20.2.44 (2022-08-16)
|
|
93
|
-
|
|
94
|
-
### Document Editor
|
|
95
|
-
|
|
96
|
-
#### Bug Fixes
|
|
97
|
-
|
|
98
|
-
- `#I380067` - Resolved the revision preservation issue in the nested table.
|
|
99
|
-
- `#FB35879` - Hyperlink is now preserved properly while converting word document to HTML document.
|
|
100
|
-
- `#I380080`, `#I389118`, `#I389521` - Resolved order rendering issue in merged cells.
|
|
101
|
-
- `#I390693` - Resolved issue with rendering textbox shape outline.
|
|
102
|
-
- `#I388738` - Resolved the cursor positioning issue.
|
|
103
|
-
- `#I364803` - Resolved the comment deletion issue after enabling track changes.
|
|
104
|
-
- `#I379697` - Resolved script error while accepting the revision.
|
|
105
|
-
- `#I386689` - Resolved script error while modifying section format.
|
|
106
|
-
- `#I383929` - Resolved issue with applying top border.
|
|
107
|
-
- `#I394545` - Resolved issue with applying the filter in the track changes pane.
|
|
108
|
-
- `#I397115` - Resolved issue in applying row height.
|
|
109
|
-
- `#I391148` - Auto convert hyperlink is now working properly.
|
|
110
|
-
- `#I390697` - Shape is now preserved properly on undo/redo.
|
|
111
|
-
- `#I392407` - Resolved issue with closing comments pane.
|
|
112
|
-
|
|
113
|
-
## 20.2.40 (2022-07-26)
|
|
114
|
-
|
|
115
|
-
### Document Editor
|
|
116
|
-
|
|
117
|
-
#### Bug Fixes
|
|
118
|
-
|
|
119
|
-
- `#I392289`, `#I392289` - Resolved issue in adding custom context menu item.
|
|
120
|
-
- `#I391927` - Resolved issue in `stopProtection` API.
|
|
121
|
-
- `#I381509`, `#I376243`, `#I383105`, `#I378540`, `#I379501` - Resolved document layouting issue due to footnote element.
|
|
122
|
-
- `#I389862` - Resoled issued in accepting revision inside the table.
|
|
123
|
-
- `#I383928` - The cell background color is now rendered properly.
|
|
124
|
-
- `#I381259` - Resolved the script error while switching between print and web layout.
|
|
125
|
-
- `#I379297` - Resolved the issue with the header footer while pasting content.
|
|
126
|
-
- `#I380334` - Resolved table layouting issue.
|
|
127
|
-
- `#I376898` - Resolved issue with pasting table inside another table.
|
|
128
|
-
- `#I383930` - Resolved the table collapse issue while inserting a column in the merged cell.
|
|
129
|
-
- `#I383369` - Improved performance of replacing more than 10000 occurrences of a text.
|
|
130
|
-
- `#I381261` - Next editing range is now navigated properly.
|
|
131
|
-
|
|
132
|
-
## 20.2.39 (2022-07-19)
|
|
133
|
-
|
|
134
|
-
### Document Editor
|
|
135
|
-
|
|
136
|
-
#### Bug Fixes
|
|
137
|
-
|
|
138
|
-
- `#I386312` - Resolved issue in increase/decrease indent using tab key.
|
|
139
|
-
- `#I378136` - Resolved the content hanging issue while opening the document with tab character.
|
|
140
|
-
- `#I390208`, `#I376243` - Resolved script error while loading the attached document.
|
|
141
|
-
- `#I389150` - Locked regions are not synced properly.
|
|
142
|
-
- `#I381259` - Resolved script error while navigating between print and web layout.
|
|
143
|
-
- `#I381509` - Resolved layouting issue due to footnote element.
|
|
144
|
-
- `#I381367` - Resolved script error while adding comment.
|
|
145
|
-
- `#I384633` - Restricted margin value in page setup dialog similar to MS Word.
|
|
146
|
-
- `#I383938` - New table is now adjust properly to the page width.
|
|
147
|
-
- `#F173898` - Resolved issue with copy & pasting text with highlight color.
|
|
148
|
-
- `#I379350` - Resolved layouting issue due to list format.
|
|
149
|
-
- `#I383921` - Resolved ok button disabled after selecting bookmark in hyperlink dialog.
|
|
150
|
-
|
|
151
|
-
- `#I386312` - Resolved issue in increase/decrease indent using tab key.
|
|
152
|
-
- `#I378136` - Resolved the content hanging issue while opening the document with tab character.
|
|
153
|
-
- `#I390208`, `#I376243` - Resolved script error while loading the attached document.
|
|
154
|
-
- `#I389150` - Locked regions are not synced properly.
|
|
155
|
-
- `#I381259` - Resolved script error while navigating between print and web layout.
|
|
156
|
-
- `#I381509` - Resolved layouting issue due to footnote element.
|
|
157
|
-
- `#I381367` - Resolved script error while adding comment.
|
|
158
|
-
- `#I384633` - Restricted margin value in page setup dialog similar to MS Word.
|
|
159
|
-
- `#I383938` - New table is now adjust properly to the page width.
|
|
160
|
-
- `#F173898` - Resolved issue with copy & pasting text with highlight color.
|
|
161
|
-
- `#I379350`- Resolved layouting issue due to list format.
|
|
162
|
-
- `#I383921` - Resolved ok button disabled after selecting bookmark in hyperlink dialog.
|
|
163
|
-
|
|
164
7
|
#### New Features
|
|
165
8
|
|
|
166
|
-
- `#
|
|
167
|
-
|
|
168
|
-
## 20.2.38 (2022-07-12)
|
|
169
|
-
|
|
170
|
-
### Document Editor
|
|
171
|
-
|
|
172
|
-
#### Bug Fixes
|
|
173
|
-
|
|
174
|
-
- `#I379353`, `#I378987` - Resolved floating table overlapping issue.
|
|
175
|
-
- `#F174378` - Improved performance while editing in the protected document.
|
|
176
|
-
- `#I375732` - Resolved issue in rendering merged cell.
|
|
177
|
-
- `#I376914` - Resolved script error while updating the list.
|
|
178
|
-
- `#I378333` - Resolved tab character layouting issue.
|
|
179
|
-
- `#I381087` - Resolved issue in `stopProtection` API.
|
|
180
|
-
- `#I382546`, `#I384249` - Resolved table disappearing issue while applying top margin.
|
|
9
|
+
- `#I345329`,`#I325944`,`#I302342`,`#I301994`,`#I258650`,`#F157122`,`#F164860` - Added support to show or hide the hidden formatting symbols like spaces, tab, paragraph marks, and breaks.
|
|
181
10
|
|
|
182
11
|
## 20.1.52 (2022-05-04)
|
|
183
12
|
|
|
@@ -515,14 +344,6 @@
|
|
|
515
344
|
- `#I347523` - Resolved the invalid SFDT generation after pasting formatted content.
|
|
516
345
|
- `#SF-357703` - Resolved the table row splitting issue.
|
|
517
346
|
|
|
518
|
-
- `#I347750` - Resolved the hanging issue when pasting large non-formatted content.
|
|
519
|
-
- `#I349289`, `#I349128` - Resolved the endnote shifting and overlapping issue.
|
|
520
|
-
- `#F171307` - Resolved the track changes issue in editing paragraph inside table.
|
|
521
|
-
- `#SF-359156` - Resolved the cropped image issue rendering in header/footer.
|
|
522
|
-
- `#SF-356951`, `#F170963`, `#SF-351886`, #`#I359815`, `#SF-359312` - Resolved the merged cell width rendering issue.
|
|
523
|
-
- `#I347523` - Resolved the invalid SFDT generation after pasting formatted content.
|
|
524
|
-
- `#SF-357703` - Resolved the table row splitting issue.
|
|
525
|
-
|
|
526
347
|
## 19.4.38 (2021-12-17)
|
|
527
348
|
|
|
528
349
|
### Document Editor
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-vue-documenteditor.umd.min.js
|
|
3
|
-
* version : 20.
|
|
3
|
+
* version : 20.3.47
|
|
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
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DocumentEditor, DocumentEditorContainer } from '@syncfusion/ej2-documenteditor';
|
|
2
|
-
import { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/ej2-vue-base';
|
|
2
|
+
import { ComponentBase, EJComponentDecorator, getProps, gh, isExecute } from '@syncfusion/ej2-vue-base';
|
|
3
3
|
import { getValue, isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
4
4
|
|
|
5
5
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -19,7 +19,6 @@ emitProbs.push('modelchanged', 'update:modelValue');
|
|
|
19
19
|
for (let props of modelProps) {
|
|
20
20
|
emitProbs.push('update:' + props);
|
|
21
21
|
}
|
|
22
|
-
const isExecute = gh ? false : true;
|
|
23
22
|
/**
|
|
24
23
|
* Represents the Essential JS 2 VueJS Document Editor Component
|
|
25
24
|
* ```html
|
|
@@ -100,10 +99,10 @@ class DocumentEditorComponent extends ComponentBase {
|
|
|
100
99
|
}
|
|
101
100
|
}
|
|
102
101
|
render(createElement) {
|
|
103
|
-
let h = gh
|
|
102
|
+
let h = !isExecute ? gh : createElement;
|
|
104
103
|
let slots = null;
|
|
105
104
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
106
|
-
slots =
|
|
105
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
107
106
|
}
|
|
108
107
|
return h('div', slots);
|
|
109
108
|
}
|
|
@@ -234,7 +233,6 @@ emitProbs$1.push('modelchanged', 'update:modelValue');
|
|
|
234
233
|
for (let props of modelProps$1) {
|
|
235
234
|
emitProbs$1.push('update:' + props);
|
|
236
235
|
}
|
|
237
|
-
const isExecute$1 = gh ? false : true;
|
|
238
236
|
/**
|
|
239
237
|
* Represents the Essential JS 2 VueJS Document Editor Container
|
|
240
238
|
* ```html
|
|
@@ -261,7 +259,7 @@ class DocumentEditorContainerComponent extends ComponentBase {
|
|
|
261
259
|
this.hasInjectedModules = true;
|
|
262
260
|
this.tagMapper = {};
|
|
263
261
|
this.tagNameMapper = {};
|
|
264
|
-
this.isVue3 = !isExecute
|
|
262
|
+
this.isVue3 = !isExecute;
|
|
265
263
|
this.ej2Instances = new DocumentEditorContainer({});
|
|
266
264
|
this.bindProperties();
|
|
267
265
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
@@ -315,10 +313,10 @@ class DocumentEditorContainerComponent extends ComponentBase {
|
|
|
315
313
|
}
|
|
316
314
|
}
|
|
317
315
|
render(createElement) {
|
|
318
|
-
let h = gh
|
|
316
|
+
let h = !isExecute ? gh : createElement;
|
|
319
317
|
let slots = null;
|
|
320
318
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
321
|
-
slots =
|
|
319
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
322
320
|
}
|
|
323
321
|
return h('div', slots);
|
|
324
322
|
}
|
|
@@ -341,7 +339,7 @@ class DocumentEditorContainerComponent extends ComponentBase {
|
|
|
341
339
|
DocumentEditorContainerComponent = __decorate$1([
|
|
342
340
|
EJComponentDecorator({
|
|
343
341
|
props: properties$1
|
|
344
|
-
}, isExecute
|
|
342
|
+
}, isExecute)
|
|
345
343
|
/* Start Options({
|
|
346
344
|
props: props,
|
|
347
345
|
watch: watch,
|
|
@@ -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', '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, Document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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, isExecute } 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}\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 = !isExecute ? gh : createElement;\n let slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n }\n 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, isExecute } 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}\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 = !isExecute ? gh : createElement;\n let slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n }\n 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"],"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,G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AAyB,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,GAAGF,YAAU,CAAC;IAC1C,oBAAoB,CAAC;QACjB,KAAK,EAAEC,YAAU;KACpB,EAAE,SAAS,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,5 +1,5 @@
|
|
|
1
1
|
import { DocumentEditor, DocumentEditorContainer } from '@syncfusion/ej2-documenteditor';
|
|
2
|
-
import { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/ej2-vue-base';
|
|
2
|
+
import { ComponentBase, EJComponentDecorator, getProps, gh, isExecute } from '@syncfusion/ej2-vue-base';
|
|
3
3
|
import { getValue, isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
4
4
|
|
|
5
5
|
var __extends = (undefined && undefined.__extends) || (function () {
|
|
@@ -33,7 +33,6 @@ 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);
|
|
35
35
|
}
|
|
36
|
-
var isExecute = gh ? false : true;
|
|
37
36
|
/**
|
|
38
37
|
* Represents the Essential JS 2 VueJS Document Editor Component
|
|
39
38
|
* ```html
|
|
@@ -108,10 +107,10 @@ var DocumentEditorComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
108
107
|
}
|
|
109
108
|
};
|
|
110
109
|
DocumentEditorComponent.prototype.render = function (createElement) {
|
|
111
|
-
var h = gh
|
|
110
|
+
var h = !isExecute ? gh : createElement;
|
|
112
111
|
var slots = null;
|
|
113
112
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
114
|
-
slots =
|
|
113
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
115
114
|
}
|
|
116
115
|
return h('div', slots);
|
|
117
116
|
};
|
|
@@ -257,7 +256,6 @@ for (var _i$1 = 0, modelProps_1$1 = modelProps$1; _i$1 < modelProps_1$1.length;
|
|
|
257
256
|
var props_1$1 = modelProps_1$1[_i$1];
|
|
258
257
|
emitProbs$1.push('update:' + props_1$1);
|
|
259
258
|
}
|
|
260
|
-
var isExecute$1 = gh ? false : true;
|
|
261
259
|
/**
|
|
262
260
|
* Represents the Essential JS 2 VueJS Document Editor Container
|
|
263
261
|
* ```html
|
|
@@ -274,7 +272,7 @@ var DocumentEditorContainerComponent = /** @__PURE__ @class */ (function (_super
|
|
|
274
272
|
_this.hasInjectedModules = true;
|
|
275
273
|
_this.tagMapper = {};
|
|
276
274
|
_this.tagNameMapper = {};
|
|
277
|
-
_this.isVue3 = !isExecute
|
|
275
|
+
_this.isVue3 = !isExecute;
|
|
278
276
|
_this.ej2Instances = new DocumentEditorContainer({});
|
|
279
277
|
_this.bindProperties();
|
|
280
278
|
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
@@ -332,10 +330,10 @@ var DocumentEditorContainerComponent = /** @__PURE__ @class */ (function (_super
|
|
|
332
330
|
}
|
|
333
331
|
};
|
|
334
332
|
DocumentEditorContainerComponent.prototype.render = function (createElement) {
|
|
335
|
-
var h = gh
|
|
333
|
+
var h = !isExecute ? gh : createElement;
|
|
336
334
|
var slots = null;
|
|
337
335
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
338
|
-
slots =
|
|
336
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
339
337
|
}
|
|
340
338
|
return h('div', slots);
|
|
341
339
|
};
|
|
@@ -357,7 +355,7 @@ var DocumentEditorContainerComponent = /** @__PURE__ @class */ (function (_super
|
|
|
357
355
|
DocumentEditorContainerComponent = __decorate$1([
|
|
358
356
|
EJComponentDecorator({
|
|
359
357
|
props: properties$1
|
|
360
|
-
}, isExecute
|
|
358
|
+
}, isExecute)
|
|
361
359
|
,Options({
|
|
362
360
|
props: props,
|
|
363
361
|
watch: watch,
|