@syncfusion/ej2-vue-documenteditor 19.4.54 → 20.1.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 +0 -227
- package/dist/ej2-vue-documenteditor.umd.min.js +2 -2
- package/dist/es6/ej2-vue-documenteditor.es2015.js +32 -4
- package/dist/es6/ej2-vue-documenteditor.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-documenteditor.es5.js +20 -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.d.ts +1 -0
- package/src/document-editor/documenteditor.component.js +10 -1
- package/src/document-editor-container/documenteditorcontainer.component.d.ts +1 -0
- package/src/document-editor-container/documenteditorcontainer.component.js +10 -1
- package/styles/bootstrap-dark.css +218 -151
- package/styles/bootstrap.css +218 -151
- package/styles/bootstrap4.css +224 -157
- package/styles/bootstrap5-dark.css +253 -172
- package/styles/bootstrap5.css +253 -172
- package/styles/document-editor/bootstrap-dark.css +192 -50
- package/styles/document-editor/bootstrap.css +192 -50
- package/styles/document-editor/bootstrap4.css +194 -52
- package/styles/document-editor/bootstrap5-dark.css +207 -61
- package/styles/document-editor/bootstrap5.css +207 -61
- package/styles/document-editor/fabric-dark.css +193 -51
- package/styles/document-editor/fabric.css +193 -51
- package/styles/document-editor/fluent-dark.css +3782 -0
- package/styles/document-editor/fluent-dark.scss +1 -0
- package/styles/document-editor/fluent.css +3782 -0
- package/styles/document-editor/fluent.scss +1 -0
- package/styles/document-editor/highcontrast-light.css +5 -9
- package/styles/document-editor/highcontrast.css +193 -51
- package/styles/document-editor/material-dark.css +193 -51
- package/styles/document-editor/material.css +193 -51
- package/styles/document-editor/tailwind-dark.css +319 -261
- package/styles/document-editor/tailwind.css +319 -261
- package/styles/document-editor-container/bootstrap-dark.css +26 -101
- package/styles/document-editor-container/bootstrap.css +26 -101
- package/styles/document-editor-container/bootstrap4.css +30 -105
- package/styles/document-editor-container/bootstrap5-dark.css +46 -111
- package/styles/document-editor-container/bootstrap5.css +46 -111
- package/styles/document-editor-container/fabric-dark.css +26 -101
- package/styles/document-editor-container/fabric.css +26 -101
- package/styles/document-editor-container/fluent-dark.css +1996 -0
- package/styles/document-editor-container/fluent-dark.scss +1 -0
- package/styles/document-editor-container/fluent.css +1996 -0
- package/styles/document-editor-container/fluent.scss +1 -0
- package/styles/document-editor-container/highcontrast-light.css +29 -104
- package/styles/document-editor-container/highcontrast.css +26 -101
- package/styles/document-editor-container/material-dark.css +26 -101
- package/styles/document-editor-container/material.css +26 -101
- package/styles/document-editor-container/tailwind-dark.css +134 -271
- package/styles/document-editor-container/tailwind.css +134 -271
- package/styles/fabric-dark.css +219 -152
- package/styles/fabric.css +219 -152
- package/styles/fluent-dark.css +5779 -0
- package/styles/fluent-dark.scss +2 -0
- package/styles/fluent.css +5779 -0
- package/styles/fluent.scss +2 -0
- package/styles/highcontrast-light.css +31 -110
- package/styles/highcontrast.css +219 -152
- package/styles/material-dark.css +219 -152
- package/styles/material.css +219 -152
- package/styles/tailwind-dark.css +453 -532
- package/styles/tailwind.css +453 -532
package/CHANGELOG.md
CHANGED
|
@@ -2,233 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
-
### Document Editor
|
|
6
|
-
|
|
7
|
-
#### Bug Fixes
|
|
8
|
-
|
|
9
|
-
- `#SF-365347` - Resolved the copy/paste for match destination formatting.
|
|
10
|
-
- `#SF-366101` - Resolved the font size binding issue in font dialog.
|
|
11
|
-
- `#SF-362395` - Resolved the table delete issue when track changes is enabled.
|
|
12
|
-
- `#SF-359599` - Resolved the empty paragraph track changes not showing in track changes pane.
|
|
13
|
-
- `#SF-361140` - Endnote splitting issue to new page is resolved.
|
|
14
|
-
- `#SF-367119` - Resolved the script error in opening document with shapes.
|
|
15
|
-
|
|
16
|
-
## 19.4.53 (2022-02-22)
|
|
17
|
-
|
|
18
|
-
### Document Editor
|
|
19
|
-
|
|
20
|
-
#### Bug Fixes
|
|
21
|
-
|
|
22
|
-
- `#F172362` - Resolved the script error in removing form field
|
|
23
|
-
- `#SF-363487` - Resolved the spell check call triggering issue along with spell check by page.
|
|
24
|
-
- `#SF-365295` - Comment and track changes date time is now compatible with MS Word.
|
|
25
|
-
- `#SF-363790` - Resolved the performance issue in selection when focus moves out for Document editor.
|
|
26
|
-
- `#SF-293910` - Comment operation is are restricted in the read only mode.
|
|
27
|
-
- `#F171981` - Resolved the `beforeFormFieldFill` event triggering issue keyboard navigation.
|
|
28
|
-
- `#SF-363546` - Resolved the script error in deleting the table with the bookmark.
|
|
29
|
-
- `#FB31160` - Resolved the empty lines tracked changes.
|
|
30
|
-
- `#SF-364322`, `#SF-365061` - Resolved the high light colour exporting issue in server-side saving.
|
|
31
|
-
- `#FB32346` - Resolved the script error in deleting the image in spell check enabled mode.
|
|
32
|
-
|
|
33
|
-
- `#F172362` - Resolved the script error in removing form field
|
|
34
|
-
- `#SF-363487` - Resolved the spell check call triggering issue along with spell check by page.
|
|
35
|
-
- `#SF-365295` - Comment and track changes date time is now compatible with MS Word.
|
|
36
|
-
- `#SF-363790` - Resolved the performance issue in selection when focus moves out for Document editor.
|
|
37
|
-
- `#SF-293910` - Comment operation is are restricted in the read only mode.
|
|
38
|
-
- `#F171981` - Resolved the `beforeFormFieldFill` event triggering issue keyboard navigation.
|
|
39
|
-
- `#SF-363546` - Resolved the script error in deleting the table with the bookmark.
|
|
40
|
-
- `#FB31160` - Resolved the empty lines tracked changes.
|
|
41
|
-
- `#SF-364322`, `#SF-365061` - Resolved the high light colour exporting issue in server-side saving.
|
|
42
|
-
- `#FB32346` - Resolved the script error in deleting the image in spell check enabled mode.
|
|
43
|
-
- `#SF-366101` - Resolved the font size binding issue in font dialog.
|
|
44
|
-
|
|
45
|
-
## 19.4.52 (2022-02-15)
|
|
46
|
-
|
|
47
|
-
### Document Editor
|
|
48
|
-
|
|
49
|
-
#### Bug Fixes
|
|
50
|
-
|
|
51
|
-
- `#SF-356242`, `#SF-364511` - Resolved the character format and paragraph format in inserting new row and column.
|
|
52
|
-
- `#SF-363021` - Resolved the bullet list copy paste issue.
|
|
53
|
-
- `#SF-363285` - Resolved the bulleted list deletion issue inside table.
|
|
54
|
-
- `#SF-362395` - Resolved the table delete issue when track changes is enabled.
|
|
55
|
-
- `#F171944` - Resolved the document scrolling issue.
|
|
56
|
-
- `#SF-361169` - Resolved the pasting issue in large non-formatted content.
|
|
57
|
-
- `#SF-356384` - Resolved the merged cell rendering issue.
|
|
58
|
-
- `#SF-355425` - Resolved the relayout issue in editing wrapped table editing.
|
|
59
|
-
- `#SF-352941` - Resolved the table border rendering.
|
|
60
|
-
- `#SF-353976` - Resolved the table merged cells rendering issue.
|
|
61
|
-
|
|
62
|
-
#### New Features
|
|
63
|
-
|
|
64
|
-
- `#F168557` - Added support for insert new paragraph using \r\n, \r, \n
|
|
65
|
-
- `#SF-358641` - Added API to get/set field information.
|
|
66
|
-
|
|
67
|
-
## 19.4.50 (2022-02-08)
|
|
68
|
-
|
|
69
|
-
### Document Editor
|
|
70
|
-
|
|
71
|
-
#### Bug Fixes
|
|
72
|
-
|
|
73
|
-
- `#F171012` - Character style is now applied properly.
|
|
74
|
-
- `#SF-361141` - Resolved the endnote number format rendering issue.
|
|
75
|
-
- `#SF-359056` - Resolved the hanging issue in loading document with hebrew text.
|
|
76
|
-
- `#SF-352586`, `#F170330` - Resolved the track changes and restrict editing region issues in header/footer.
|
|
77
|
-
- `#SF-364411` - Resolved the image height and width serialization issue in server-side exporting.
|
|
78
|
-
- `#SF-361566` - Resolved the wrapping style issue in header/footer.
|
|
79
|
-
- `#SF-361147` - Resolved the relayout issue in footnote moving to next page.
|
|
80
|
-
- `#SF-361532` - Resolved the strike through applying issue for bulleted list.
|
|
81
|
-
- `#F171673`, `#SF-362944` - Resolved the comments pane opening issue in editing.
|
|
82
|
-
- `#SF-361056`, `#SF-364408` - Resolved the empty revision loading issue track changes pane.
|
|
83
|
-
|
|
84
|
-
undefined- `#F171012` - Character style is now applied properly.
|
|
85
|
-
- `#SF-361141` - Resolved the endnote number format rendering issue.
|
|
86
|
-
- `#SF-359056` - Resolved the hanging issue in loading document with hebrew text.
|
|
87
|
-
- `#SF-352586`, `#F170330` - Resolved the track changes and restrict editing region issues in header/footer.
|
|
88
|
-
- `#SF-364411` - Resolved the image height and width serialization issue in server-side exporting.
|
|
89
|
-
- `#SF-361566` - Resolved the wrapping style issue in header/footer.
|
|
90
|
-
- `#SF-361147` - Resolved the relayout issue in footnote moving to next page.
|
|
91
|
-
- `#SF-361532` - Resolved the strike through applying issue for bulleted list.
|
|
92
|
-
- `#F171673`, `#SF-362944` - Resolved the comments pane opening issue in editing.
|
|
93
|
-
- `#SF-361056`, `#SF-364408` - Resolved the empty revision loading issue track changes pane.
|
|
94
|
-
|
|
95
|
-
## 19.4.48 (2022-01-31)
|
|
96
|
-
|
|
97
|
-
### Document Editor
|
|
98
|
-
|
|
99
|
-
#### Bug Fixes
|
|
100
|
-
|
|
101
|
-
- `#SF-355895` - Resolved the stacked column rendering issue.
|
|
102
|
-
- `#SF-359392` - Resolved the pie chart color rendering issue.
|
|
103
|
-
- `#F171212` - Resolved the section format copy/paste issue.
|
|
104
|
-
- `#SF-359809` - Table formatting is not applied properly.
|
|
105
|
-
- `#SF-359914` - Resolved the nested table height issue.
|
|
106
|
-
- `#SF-362938` - Resolved the spell check shows error for correct word after backspace/delete.
|
|
107
|
-
- `#SF-358997` - Resolved the script error in selection when first page of the document filled with shape with image and wrapping style.
|
|
108
|
-
- `#SF-361108` - Resolved the script error in the copy/paste.
|
|
109
|
-
- `#FB29987` - Resolved the table layouting issue in conversion from HTML to Document.
|
|
110
|
-
- `#SF-362365` - Resolved the modifying level in drop down.
|
|
111
|
-
- `#SF-363485` - Resolved the preferred width type mismatch in server-side SFDT to Docx conversion.
|
|
112
|
-
- `#F171941` - Resolved the insert page break in optimized spell check mode.
|
|
113
|
-
- `#SF-359775` - Column Clustered is not rendered properly.
|
|
114
|
-
- `#SF-359392` - Resolved the default chart color applied to pie chart.
|
|
115
|
-
- `#SF-359223` - Resolved the backspace issue in track changes.
|
|
116
|
-
- `#SF-356022` - Resolved the wrong comma placing in Hebrew language.
|
|
117
|
-
- `#SF-359056` - Resolved document hanging issue opening hebrew document.
|
|
118
|
-
- `#F169863`, `#SF-354348` - Resolved the server-side exporting issue in SFDT to Docx.
|
|
119
|
-
- `#SF-359780` - Resolved the layout issue in word 2013 justification for list applied text.
|
|
120
|
-
- `#SF-356294` - Resolved the extra space adding while copying and pasting text with bookmarks.
|
|
121
|
-
- `#SF-356242` - Resolved the style issue for the newly added rows & columns in the table.
|
|
122
|
-
- `#SF-358936` - Resolved the HTML Element ContentEditable property issue in DocumentEditor.
|
|
123
|
-
- `#SF-357051` - Resolved the element alignment issue due to page break.
|
|
124
|
-
- `#SF-355713` - Resolved the script error in applying restrict editing in DocumentEditorContainer.
|
|
125
|
-
- `#SF-354207` - Resolved the atleast line spacing type line height issue.
|
|
126
|
-
- `#SF-354215` - Resolved the floating elements positioning issue after update form fields.
|
|
127
|
-
- `#SF-357939` - Resolved the footer overlapping issue after pasting large content.
|
|
128
|
-
- `#SF-354644` - Resolved the overlapping issue for image with top and bottom wrapping style in header.
|
|
129
|
-
- `#SF-358814` - Document with applied list format is exported properly.
|
|
130
|
-
- `#F171012` - Resolved the script error in applying the list format to character style applied text.
|
|
131
|
-
- `#SF-358474` - Resolved the header/footer tooltip and toolbar item text wrap issue when localized.
|
|
132
|
-
- `#SF-358523` - Resolved the status bar and font family style issue when localized.
|
|
133
|
-
- `#SF-356958` - Resolved the misalignment after list applying.
|
|
134
|
-
- `#SF-355425` - Resolved the auto fit table with preferred with type 'Point' is now layouted properly.
|
|
135
|
-
- `#SF-359606` - Resolved the default tab width calculation with tab stop.
|
|
136
|
-
- `#SF-355860` - Resolved the tab element layout issue in footer.
|
|
137
|
-
- `#SF-359156` - Resolved the cropped image issue rendering in header/footer.
|
|
138
|
-
- `#SF-354038` - Resolved the performance issue in inserting table more rows.
|
|
139
|
-
- `#SF-354463` - Resolved the crashing issue in splitting rows in rendering table.
|
|
140
|
-
- `#SF-353961` - Resolved the performance issue in editing document with merge field.
|
|
141
|
-
- `#SF-355429` - Resolved selection issue for the shape with in front of text wrapping.
|
|
142
|
-
- `#SF-360442` - Resolved the spell check suggestion replace issue in localized document editor.
|
|
143
|
-
- `#F171032` - Resolved the empty line adding in text exporting.
|
|
144
|
-
- `#F171461` - Resolved the content control preservation issue in exporting.
|
|
145
|
-
- `#I347750` - Resolved the hanging issue when pasting large non-formatted content.
|
|
146
|
-
- `#I349289`, `#I349128` - Resolved the endnote shifting and overlapping issue.
|
|
147
|
-
- `#F171307` - Resolved the track changes issue in editing paragraph inside table.
|
|
148
|
-
- `#SF-356951`, `#F170963`, `#SF-351886`, `#SF-359815`, `#SF-359312` - Resolved the merged cell width rendering issue.
|
|
149
|
-
- `#I347523` - Resolved the invalid SFDT generation after pasting formatted content.
|
|
150
|
-
- `#SF-357703` - Resolved the table row splitting issue.
|
|
151
|
-
|
|
152
|
-
#### New Features
|
|
153
|
-
|
|
154
|
-
- `#SF-354038` - Added API to restrict the maximum number of rows in insert table dialog(`DocumentEditorSettings.maximumRows`)
|
|
155
|
-
- `#SF-348990` - Added screen tip support for hyperlink.
|
|
156
|
-
|
|
157
|
-
## 19.4.47 (2022-01-25)
|
|
158
|
-
|
|
159
|
-
### Document Editor
|
|
160
|
-
|
|
161
|
-
#### Bug Fixes
|
|
162
|
-
|
|
163
|
-
- `#FB29987` - Resolved the table layouting issue in conversion from HTML to Document.
|
|
164
|
-
- `#SF-362365` - Resolved the modifying level in drop down.
|
|
165
|
-
- `#SF-363485` - Resolved the preferred width type mismatch in server-side SFDT to Docx conversion.
|
|
166
|
-
- `#F171941` - Resolved the insert page break in optimized spell check mode.
|
|
167
|
-
- `#SF-359775` - Column Clustered is not rendered properly.
|
|
168
|
-
- `#SF-359392` - Resolved the default chart color applied to pie chart.
|
|
169
|
-
- `#SF-359223` - Resolved the backspace issue in track changes.
|
|
170
|
-
- `#SF-356022` - Resolved the wrong comma placing in Hebrew language.
|
|
171
|
-
- `#SF-359056` - Resolved document hanging issue opening hebrew document.
|
|
172
|
-
|
|
173
|
-
## 19.4.43 (2022-01-18)
|
|
174
|
-
|
|
175
|
-
### Document Editor
|
|
176
|
-
|
|
177
|
-
#### Bug Fixes
|
|
178
|
-
|
|
179
|
-
- `#F169863`, `#SF-354348` - Resolved the server-side exporting issue in SFDT to Docx.
|
|
180
|
-
- `#SF-359780` - Resolved the layout issue in word 2013 justification for list applied text.
|
|
181
|
-
- `#SF-356294` - Resolved the extra space adding while copying and pasting text with bookmarks.
|
|
182
|
-
- `#SF-356242` - Resolved the style issue for the newly added rows & columns in the table.
|
|
183
|
-
- `#SF-358936` - Resolved the HTML Element ContentEditable property issue in DocumentEditor.
|
|
184
|
-
- `#SF-357051` - Resolved the element alignment issue due to page break.
|
|
185
|
-
- `#SF-355713` - Resolved the script error in applying restrict editing in DocumentEditorContainer.
|
|
186
|
-
- `#SF-354207` - Resolved the atleast line spacing type line height issue.
|
|
187
|
-
- `#SF-354215` - Resolved the floating elements positioning issue after update form fields.
|
|
188
|
-
- `#SF-357939` - Resolved the footer overlapping issue after pasting large content.
|
|
189
|
-
- `#SF-354644` - Resolved the overlapping issue for image with top and bottom wrapping style in header.
|
|
190
|
-
- `#SF-358814` - Document with applied list format is exported properly.
|
|
191
|
-
- `#F171012` - Resolved the script error in applying the list format to character style applied text.
|
|
192
|
-
- `#SF-358474` - Resolved the header/footer tooltip and toolbar item text wrap issue when localized.
|
|
193
|
-
- `#SF-358523` - Resolved the status bar and font family style issue when localized.
|
|
194
|
-
- `#SF-356958` - Resolved the misalignment after list applying.
|
|
195
|
-
- `#SF-355425` - Resolved the auto fit table with preferred with type 'Point' is now layouted properly.
|
|
196
|
-
- `#SF-359606` - Resolved the default tab width calculation with tab stop.
|
|
197
|
-
- `#SF-355860` - Resolved the tab element layout issue in footer.
|
|
198
|
-
- `#SF-359156` - Resolved the cropped image issue rendering in header/footer.
|
|
199
|
-
- `#SF-354038` - Resolved the performance issue in inserting table more rows.
|
|
200
|
-
|
|
201
|
-
## 19.4.41 (2022-01-04)
|
|
202
|
-
|
|
203
|
-
### Document Editor
|
|
204
|
-
|
|
205
|
-
#### Bug Fixes
|
|
206
|
-
|
|
207
|
-
- `#SF-354463` - Resolved the crashing issue in splitting rows in rendering table.
|
|
208
|
-
- `#SF-353961` - Resolved the performance issue in editing document with merge field.
|
|
209
|
-
- `#SF-355429` - Resolved selection issue for the shape with in front of text wrapping.
|
|
210
|
-
- `#SF-360442` - Resolved the spell check suggestion replace issue in localized document editor.
|
|
211
|
-
- `#F171032` - Resolved the empty line adding in text exporting.
|
|
212
|
-
- `#F171461` - Resolved the content control preservation issue in exporting.
|
|
213
|
-
|
|
214
|
-
#### New Features
|
|
215
|
-
|
|
216
|
-
- `#SF-354038` - Added API to restrict the maximum number of rows in insert table dialog(`DocumentEditorSettings.maximumRows`)
|
|
217
|
-
|
|
218
|
-
## 19.4.40 (2021-12-28)
|
|
219
|
-
|
|
220
|
-
### Document Editor
|
|
221
|
-
|
|
222
|
-
#### Bug Fixes
|
|
223
|
-
|
|
224
|
-
- `#I347750` - Resolved the hanging issue when pasting large non-formatted content.
|
|
225
|
-
- `#I349289`, `#I349128` - Resolved the endnote shifting and overlapping issue.
|
|
226
|
-
- `#F171307` - Resolved the track changes issue in editing paragraph inside table.
|
|
227
|
-
- `#SF-359156` - Resolved the cropped image issue rendering in header/footer.
|
|
228
|
-
- `#SF-356951`, `#F170963`, `#SF-351886`, #`SF-359815`, `#SF-359312` - Resolved the merged cell width rendering issue.
|
|
229
|
-
- `#I347523` - Resolved the invalid SFDT generation after pasting formatted content.
|
|
230
|
-
- `#SF-357703` - Resolved the table row splitting issue.
|
|
231
|
-
|
|
232
5
|
## 19.4.38 (2021-12-17)
|
|
233
6
|
|
|
234
7
|
### Document Editor
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-vue-documenteditor.umd.min.js
|
|
3
|
-
* version :
|
|
3
|
+
* version : 20.1.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
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*/
|
|
10
10
|
/*!
|
|
11
11
|
* filename: ej2-vue-documenteditor.umd.min.js
|
|
12
|
-
* version : 19.
|
|
12
|
+
* version : 19.4.38
|
|
13
13
|
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
|
14
14
|
* Use of this code is subject to the terms of our license.
|
|
15
15
|
* A copy of the current license can be obtained at any time by e-mailing
|
|
@@ -30,7 +30,12 @@ let DocumentEditorComponent =
|
|
|
30
30
|
/* Start Options({
|
|
31
31
|
props: props,
|
|
32
32
|
watch: watch,
|
|
33
|
-
emits: emitProbs
|
|
33
|
+
emits: emitProbs,
|
|
34
|
+
provide: function provide() {
|
|
35
|
+
return {
|
|
36
|
+
custom: this.custom
|
|
37
|
+
};
|
|
38
|
+
}
|
|
34
39
|
}) End */
|
|
35
40
|
class DocumentEditorComponent extends ComponentBase {
|
|
36
41
|
constructor() {
|
|
@@ -47,6 +52,7 @@ class DocumentEditorComponent extends ComponentBase {
|
|
|
47
52
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
48
53
|
this.ej2Instances.setProperties = this.setProperties;
|
|
49
54
|
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
55
|
+
this.updated = this.updated;
|
|
50
56
|
}
|
|
51
57
|
clearTemplate(templateNames) {
|
|
52
58
|
if (!templateNames) {
|
|
@@ -101,6 +107,9 @@ class DocumentEditorComponent extends ComponentBase {
|
|
|
101
107
|
}
|
|
102
108
|
return h('div', slots);
|
|
103
109
|
}
|
|
110
|
+
custom() {
|
|
111
|
+
this.updated();
|
|
112
|
+
}
|
|
104
113
|
enableAllModules() {
|
|
105
114
|
return this.ej2Instances.enableAllModules();
|
|
106
115
|
}
|
|
@@ -193,7 +202,12 @@ DocumentEditorComponent = __decorate([
|
|
|
193
202
|
/* Start Options({
|
|
194
203
|
props: props,
|
|
195
204
|
watch: watch,
|
|
196
|
-
emits: emitProbs
|
|
205
|
+
emits: emitProbs,
|
|
206
|
+
provide: function provide() {
|
|
207
|
+
return {
|
|
208
|
+
custom: this.custom
|
|
209
|
+
};
|
|
210
|
+
}
|
|
197
211
|
}) End */
|
|
198
212
|
], DocumentEditorComponent);
|
|
199
213
|
const DocumentEditorPlugin = {
|
|
@@ -231,7 +245,12 @@ let DocumentEditorContainerComponent =
|
|
|
231
245
|
/* Start Options({
|
|
232
246
|
props: props,
|
|
233
247
|
watch: watch,
|
|
234
|
-
emits: emitProbs
|
|
248
|
+
emits: emitProbs,
|
|
249
|
+
provide: function provide() {
|
|
250
|
+
return {
|
|
251
|
+
custom: this.custom
|
|
252
|
+
};
|
|
253
|
+
}
|
|
235
254
|
}) End */
|
|
236
255
|
class DocumentEditorContainerComponent extends ComponentBase {
|
|
237
256
|
constructor() {
|
|
@@ -248,6 +267,7 @@ class DocumentEditorContainerComponent extends ComponentBase {
|
|
|
248
267
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
249
268
|
this.ej2Instances.setProperties = this.setProperties;
|
|
250
269
|
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
270
|
+
this.updated = this.updated;
|
|
251
271
|
}
|
|
252
272
|
clearTemplate(templateNames) {
|
|
253
273
|
if (!templateNames) {
|
|
@@ -302,6 +322,9 @@ class DocumentEditorContainerComponent extends ComponentBase {
|
|
|
302
322
|
}
|
|
303
323
|
return h('div', slots);
|
|
304
324
|
}
|
|
325
|
+
custom() {
|
|
326
|
+
this.updated();
|
|
327
|
+
}
|
|
305
328
|
resize(width, height) {
|
|
306
329
|
return this.ej2Instances.resize(width, height);
|
|
307
330
|
}
|
|
@@ -322,7 +345,12 @@ DocumentEditorContainerComponent = __decorate$1([
|
|
|
322
345
|
/* Start Options({
|
|
323
346
|
props: props,
|
|
324
347
|
watch: watch,
|
|
325
|
-
emits: emitProbs
|
|
348
|
+
emits: emitProbs,
|
|
349
|
+
provide: function provide() {
|
|
350
|
+
return {
|
|
351
|
+
custom: this.custom
|
|
352
|
+
};
|
|
353
|
+
}
|
|
326
354
|
}) End */
|
|
327
355
|
], DocumentEditorContainerComponent);
|
|
328
356
|
const DocumentEditorContainerPlugin = {
|
|
@@ -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', '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}) 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 }\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 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 }) 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', '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}) 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 }\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 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 }) 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,MAAM,EAAE,GAAG,CAAC,KAAK,C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AEC,YAAU;KACpB,EAAEM,WAAS,CAAC;;;;;;CAMhB,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', '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', '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,CA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,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;;;;;"}
|
|
@@ -56,6 +56,7 @@ var DocumentEditorComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
56
56
|
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
57
57
|
_this.ej2Instances.setProperties = _this.setProperties;
|
|
58
58
|
_this.ej2Instances.clearTemplate = _this.clearTemplate;
|
|
59
|
+
_this.updated = _this.updated;
|
|
59
60
|
return _this;
|
|
60
61
|
}
|
|
61
62
|
DocumentEditorComponent.prototype.clearTemplate = function (templateNames) {
|
|
@@ -114,6 +115,9 @@ var DocumentEditorComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
114
115
|
}
|
|
115
116
|
return h('div', slots);
|
|
116
117
|
};
|
|
118
|
+
DocumentEditorComponent.prototype.custom = function () {
|
|
119
|
+
this.updated();
|
|
120
|
+
};
|
|
117
121
|
DocumentEditorComponent.prototype.enableAllModules = function () {
|
|
118
122
|
return this.ej2Instances.enableAllModules();
|
|
119
123
|
};
|
|
@@ -205,7 +209,12 @@ var DocumentEditorComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
205
209
|
,Options({
|
|
206
210
|
props: props,
|
|
207
211
|
watch: watch,
|
|
208
|
-
emits: emitProbs
|
|
212
|
+
emits: emitProbs,
|
|
213
|
+
provide: function provide() {
|
|
214
|
+
return {
|
|
215
|
+
custom: this.custom
|
|
216
|
+
};
|
|
217
|
+
}
|
|
209
218
|
})
|
|
210
219
|
], DocumentEditorComponent);
|
|
211
220
|
return DocumentEditorComponent;
|
|
@@ -271,6 +280,7 @@ var DocumentEditorContainerComponent = /** @__PURE__ @class */ (function (_super
|
|
|
271
280
|
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
272
281
|
_this.ej2Instances.setProperties = _this.setProperties;
|
|
273
282
|
_this.ej2Instances.clearTemplate = _this.clearTemplate;
|
|
283
|
+
_this.updated = _this.updated;
|
|
274
284
|
return _this;
|
|
275
285
|
}
|
|
276
286
|
DocumentEditorContainerComponent.prototype.clearTemplate = function (templateNames) {
|
|
@@ -329,6 +339,9 @@ var DocumentEditorContainerComponent = /** @__PURE__ @class */ (function (_super
|
|
|
329
339
|
}
|
|
330
340
|
return h('div', slots);
|
|
331
341
|
};
|
|
342
|
+
DocumentEditorContainerComponent.prototype.custom = function () {
|
|
343
|
+
this.updated();
|
|
344
|
+
};
|
|
332
345
|
DocumentEditorContainerComponent.prototype.resize = function (width, height) {
|
|
333
346
|
return this.ej2Instances.resize(width, height);
|
|
334
347
|
};
|
|
@@ -348,7 +361,12 @@ var DocumentEditorContainerComponent = /** @__PURE__ @class */ (function (_super
|
|
|
348
361
|
,Options({
|
|
349
362
|
props: props,
|
|
350
363
|
watch: watch,
|
|
351
|
-
emits: emitProbs
|
|
364
|
+
emits: emitProbs,
|
|
365
|
+
provide: function provide() {
|
|
366
|
+
return {
|
|
367
|
+
custom: this.custom
|
|
368
|
+
};
|
|
369
|
+
}
|
|
352
370
|
})
|
|
353
371
|
], DocumentEditorContainerComponent);
|
|
354
372
|
return DocumentEditorContainerComponent;
|