@syncfusion/ej2-angular-documenteditor 29.2.8-ngcc → 29.2.8
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 +4513 -0
- package/esm2020/public_api.mjs +2 -0
- package/esm2020/src/document-editor/documenteditor-all.module.mjs +134 -0
- package/esm2020/src/document-editor/documenteditor.component.mjs +311 -0
- package/esm2020/src/document-editor/documenteditor.module.mjs +25 -0
- package/esm2020/src/document-editor-container/documenteditorcontainer-all.module.mjs +29 -0
- package/esm2020/src/document-editor-container/documenteditorcontainer.component.mjs +66 -0
- package/esm2020/src/document-editor-container/documenteditorcontainer.module.mjs +25 -0
- package/esm2020/src/index.mjs +8 -0
- package/esm2020/syncfusion-ej2-angular-documenteditor.mjs +5 -0
- package/fesm2015/syncfusion-ej2-angular-documenteditor.mjs +574 -0
- package/fesm2015/syncfusion-ej2-angular-documenteditor.mjs.map +1 -0
- package/fesm2020/syncfusion-ej2-angular-documenteditor.mjs +574 -0
- package/fesm2020/syncfusion-ej2-angular-documenteditor.mjs.map +1 -0
- package/package.json +20 -7
- package/src/document-editor/documenteditor-all.module.d.ts +6 -0
- package/src/document-editor/documenteditor.component.d.ts +3 -0
- package/src/document-editor/documenteditor.module.d.ts +6 -0
- package/src/document-editor-container/documenteditorcontainer-all.module.d.ts +6 -0
- package/src/document-editor-container/documenteditorcontainer.component.d.ts +3 -0
- package/src/document-editor-container/documenteditorcontainer.module.d.ts +6 -0
- package/syncfusion-ej2-angular-documenteditor.d.ts +5 -0
- package/@syncfusion/ej2-angular-documenteditor.es5.js +0 -637
- package/@syncfusion/ej2-angular-documenteditor.es5.js.map +0 -1
- package/@syncfusion/ej2-angular-documenteditor.js +0 -607
- package/@syncfusion/ej2-angular-documenteditor.js.map +0 -1
- package/dist/ej2-angular-documenteditor.umd.js +0 -1335
- package/dist/ej2-angular-documenteditor.umd.js.map +0 -1
- package/dist/ej2-angular-documenteditor.umd.min.js +0 -11
- package/dist/ej2-angular-documenteditor.umd.min.js.map +0 -1
- package/ej2-angular-documenteditor.d.ts +0 -6
- package/ej2-angular-documenteditor.metadata.json +0 -1
- package/license +0 -10
@@ -0,0 +1,574 @@
|
|
1
|
+
import { __decorate } from 'tslib';
|
2
|
+
import * as i0 from '@angular/core';
|
3
|
+
import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
4
|
+
import { setValue, ComponentBase, ComponentMixins } from '@syncfusion/ej2-angular-base';
|
5
|
+
import { DocumentEditor, Print, SfdtExport, WordExport, TextExport, Selection, Search, Editor, EditorHistory, OptionsPane, ContextMenu, ImageResizer, HyperlinkDialog, TableDialog, BookmarkDialog, TableOfContentsDialog, PageSetupDialog, ParagraphDialog, ListDialog, StyleDialog, StylesDialog, BulletsAndNumberingDialog, FontDialog, TablePropertiesDialog, BordersAndShadingDialog, TableOptionsDialog, CellOptionsDialog, SpellChecker, SpellCheckDialog, CollaborativeEditing, ColumnsDialog, CollaborativeEditingHandler, Optimized, TabDialog, TextFormFieldDialog, DropDownFormFieldDialog, CheckBoxFormFieldDialog, DocumentEditorContainer, Toolbar } from '@syncfusion/ej2-documenteditor';
|
6
|
+
export * from '@syncfusion/ej2-documenteditor';
|
7
|
+
import { CommonModule } from '@angular/common';
|
8
|
+
|
9
|
+
const inputs$1 = ['acceptTab', 'autoResizeOnVisibilityChange', 'currentUser', 'defaultPasteOption', 'documentEditorSettings', 'documentName', 'documentSettings', 'enableAutoFocus', 'enableBookmarkDialog', 'enableBordersAndShadingDialog', 'enableCollaborativeEditing', 'enableColumnsDialog', 'enableComment', 'enableContextMenu', 'enableCursorOnReadOnly', 'enableEditor', 'enableEditorHistory', 'enableFontDialog', 'enableFootnoteAndEndnoteDialog', 'enableFormField', 'enableHyperlinkDialog', 'enableImageResizer', 'enableListDialog', 'enableLocalPaste', 'enableLockAndEdit', 'enableOptionsPane', 'enablePageSetupDialog', 'enableParagraphDialog', 'enablePersistence', 'enablePrint', 'enableRtl', 'enableSearch', 'enableSelection', 'enableSfdtExport', 'enableSpellCheck', 'enableStyleDialog', 'enableTableDialog', 'enableTableOfContentsDialog', 'enableTableOptionsDialog', 'enableTablePropertiesDialog', 'enableTextExport', 'enableTrackChanges', 'enableWordExport', 'headers', 'height', 'isReadOnly', 'layoutType', 'locale', 'pageGap', 'pageOutline', 'serverActionSettings', 'serviceUrl', 'showComments', 'showRevisions', 'useCtrlClickToFollowHyperlink', 'userColor', 'width', 'zIndex', 'zoomFactor'];
|
10
|
+
const outputs$1 = ['actionComplete', 'afterFormFieldFill', 'beforeAcceptRejectChanges', 'beforeCommentAction', 'beforeFileOpen', 'beforeFormFieldFill', 'beforePaneSwitch', 'commentBegin', 'commentDelete', 'commentEnd', 'contentChange', 'contentControl', 'created', 'customContextMenuBeforeOpen', 'customContextMenuSelect', 'destroyed', 'documentChange', 'keyDown', 'requestNavigate', 'searchResultsChange', 'selectionChange', 'serviceFailure', 'trackChange', 'viewChange', 'zoomFactorChange', 'beforeXmlHttpRequestSend', 'documentLoadFailed'];
|
11
|
+
const twoWays$1 = [];
|
12
|
+
/**
|
13
|
+
* `ejs-documenteditor` represents the Angular Document Editor Component.
|
14
|
+
* ```html
|
15
|
+
* <ejs-documenteditor isReadOnly='true' enableSelection='true'></ejs-documenteditor>
|
16
|
+
* ```
|
17
|
+
*/
|
18
|
+
let DocumentEditorComponent = class DocumentEditorComponent extends DocumentEditor {
|
19
|
+
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
20
|
+
super();
|
21
|
+
this.ngEle = ngEle;
|
22
|
+
this.srenderer = srenderer;
|
23
|
+
this.viewContainerRef = viewContainerRef;
|
24
|
+
this.injector = injector;
|
25
|
+
this.element = this.ngEle.nativeElement;
|
26
|
+
this.injectedModules = this.injectedModules || [];
|
27
|
+
try {
|
28
|
+
let mod = this.injector.get('DocumentEditorPrint');
|
29
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
30
|
+
this.injectedModules.push(mod);
|
31
|
+
}
|
32
|
+
}
|
33
|
+
catch { }
|
34
|
+
try {
|
35
|
+
let mod = this.injector.get('DocumentEditorSfdtExport');
|
36
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
37
|
+
this.injectedModules.push(mod);
|
38
|
+
}
|
39
|
+
}
|
40
|
+
catch { }
|
41
|
+
try {
|
42
|
+
let mod = this.injector.get('DocumentEditorWordExport');
|
43
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
44
|
+
this.injectedModules.push(mod);
|
45
|
+
}
|
46
|
+
}
|
47
|
+
catch { }
|
48
|
+
try {
|
49
|
+
let mod = this.injector.get('DocumentEditorTextExport');
|
50
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
51
|
+
this.injectedModules.push(mod);
|
52
|
+
}
|
53
|
+
}
|
54
|
+
catch { }
|
55
|
+
try {
|
56
|
+
let mod = this.injector.get('DocumentEditorSelection');
|
57
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
58
|
+
this.injectedModules.push(mod);
|
59
|
+
}
|
60
|
+
}
|
61
|
+
catch { }
|
62
|
+
try {
|
63
|
+
let mod = this.injector.get('DocumentEditorSearch');
|
64
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
65
|
+
this.injectedModules.push(mod);
|
66
|
+
}
|
67
|
+
}
|
68
|
+
catch { }
|
69
|
+
try {
|
70
|
+
let mod = this.injector.get('DocumentEditorEditor');
|
71
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
72
|
+
this.injectedModules.push(mod);
|
73
|
+
}
|
74
|
+
}
|
75
|
+
catch { }
|
76
|
+
try {
|
77
|
+
let mod = this.injector.get('DocumentEditorEditorHistory');
|
78
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
79
|
+
this.injectedModules.push(mod);
|
80
|
+
}
|
81
|
+
}
|
82
|
+
catch { }
|
83
|
+
try {
|
84
|
+
let mod = this.injector.get('DocumentEditorOptionsPane');
|
85
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
86
|
+
this.injectedModules.push(mod);
|
87
|
+
}
|
88
|
+
}
|
89
|
+
catch { }
|
90
|
+
try {
|
91
|
+
let mod = this.injector.get('DocumentEditorContextMenu');
|
92
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
93
|
+
this.injectedModules.push(mod);
|
94
|
+
}
|
95
|
+
}
|
96
|
+
catch { }
|
97
|
+
try {
|
98
|
+
let mod = this.injector.get('DocumentEditorImageResizer');
|
99
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
100
|
+
this.injectedModules.push(mod);
|
101
|
+
}
|
102
|
+
}
|
103
|
+
catch { }
|
104
|
+
try {
|
105
|
+
let mod = this.injector.get('DocumentEditorHyperlinkDialog');
|
106
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
107
|
+
this.injectedModules.push(mod);
|
108
|
+
}
|
109
|
+
}
|
110
|
+
catch { }
|
111
|
+
try {
|
112
|
+
let mod = this.injector.get('DocumentEditorTableDialog');
|
113
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
114
|
+
this.injectedModules.push(mod);
|
115
|
+
}
|
116
|
+
}
|
117
|
+
catch { }
|
118
|
+
try {
|
119
|
+
let mod = this.injector.get('DocumentEditorBookmarkDialog');
|
120
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
121
|
+
this.injectedModules.push(mod);
|
122
|
+
}
|
123
|
+
}
|
124
|
+
catch { }
|
125
|
+
try {
|
126
|
+
let mod = this.injector.get('DocumentEditorTableOfContentsDialog');
|
127
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
128
|
+
this.injectedModules.push(mod);
|
129
|
+
}
|
130
|
+
}
|
131
|
+
catch { }
|
132
|
+
try {
|
133
|
+
let mod = this.injector.get('DocumentEditorPageSetupDialog');
|
134
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
135
|
+
this.injectedModules.push(mod);
|
136
|
+
}
|
137
|
+
}
|
138
|
+
catch { }
|
139
|
+
try {
|
140
|
+
let mod = this.injector.get('DocumentEditorParagraphDialog');
|
141
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
142
|
+
this.injectedModules.push(mod);
|
143
|
+
}
|
144
|
+
}
|
145
|
+
catch { }
|
146
|
+
try {
|
147
|
+
let mod = this.injector.get('DocumentEditorListDialog');
|
148
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
149
|
+
this.injectedModules.push(mod);
|
150
|
+
}
|
151
|
+
}
|
152
|
+
catch { }
|
153
|
+
try {
|
154
|
+
let mod = this.injector.get('DocumentEditorStyleDialog');
|
155
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
156
|
+
this.injectedModules.push(mod);
|
157
|
+
}
|
158
|
+
}
|
159
|
+
catch { }
|
160
|
+
try {
|
161
|
+
let mod = this.injector.get('DocumentEditorStylesDialog');
|
162
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
163
|
+
this.injectedModules.push(mod);
|
164
|
+
}
|
165
|
+
}
|
166
|
+
catch { }
|
167
|
+
try {
|
168
|
+
let mod = this.injector.get('DocumentEditorBulletsAndNumberingDialog');
|
169
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
170
|
+
this.injectedModules.push(mod);
|
171
|
+
}
|
172
|
+
}
|
173
|
+
catch { }
|
174
|
+
try {
|
175
|
+
let mod = this.injector.get('DocumentEditorFontDialog');
|
176
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
177
|
+
this.injectedModules.push(mod);
|
178
|
+
}
|
179
|
+
}
|
180
|
+
catch { }
|
181
|
+
try {
|
182
|
+
let mod = this.injector.get('DocumentEditorTablePropertiesDialog');
|
183
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
184
|
+
this.injectedModules.push(mod);
|
185
|
+
}
|
186
|
+
}
|
187
|
+
catch { }
|
188
|
+
try {
|
189
|
+
let mod = this.injector.get('DocumentEditorBordersAndShadingDialog');
|
190
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
191
|
+
this.injectedModules.push(mod);
|
192
|
+
}
|
193
|
+
}
|
194
|
+
catch { }
|
195
|
+
try {
|
196
|
+
let mod = this.injector.get('DocumentEditorTableOptionsDialog');
|
197
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
198
|
+
this.injectedModules.push(mod);
|
199
|
+
}
|
200
|
+
}
|
201
|
+
catch { }
|
202
|
+
try {
|
203
|
+
let mod = this.injector.get('DocumentEditorCellOptionsDialog');
|
204
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
205
|
+
this.injectedModules.push(mod);
|
206
|
+
}
|
207
|
+
}
|
208
|
+
catch { }
|
209
|
+
try {
|
210
|
+
let mod = this.injector.get('DocumentEditorSpellChecker');
|
211
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
212
|
+
this.injectedModules.push(mod);
|
213
|
+
}
|
214
|
+
}
|
215
|
+
catch { }
|
216
|
+
try {
|
217
|
+
let mod = this.injector.get('DocumentEditorSpellCheckDialog');
|
218
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
219
|
+
this.injectedModules.push(mod);
|
220
|
+
}
|
221
|
+
}
|
222
|
+
catch { }
|
223
|
+
try {
|
224
|
+
let mod = this.injector.get('DocumentEditorCollaborativeEditing');
|
225
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
226
|
+
this.injectedModules.push(mod);
|
227
|
+
}
|
228
|
+
}
|
229
|
+
catch { }
|
230
|
+
try {
|
231
|
+
let mod = this.injector.get('DocumentEditorColumnsDialog');
|
232
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
233
|
+
this.injectedModules.push(mod);
|
234
|
+
}
|
235
|
+
}
|
236
|
+
catch { }
|
237
|
+
try {
|
238
|
+
let mod = this.injector.get('DocumentEditorCollaborativeEditingHandler');
|
239
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
240
|
+
this.injectedModules.push(mod);
|
241
|
+
}
|
242
|
+
}
|
243
|
+
catch { }
|
244
|
+
try {
|
245
|
+
let mod = this.injector.get('DocumentEditorOptimized');
|
246
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
247
|
+
this.injectedModules.push(mod);
|
248
|
+
}
|
249
|
+
}
|
250
|
+
catch { }
|
251
|
+
try {
|
252
|
+
let mod = this.injector.get('DocumentEditorTabDialog');
|
253
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
254
|
+
this.injectedModules.push(mod);
|
255
|
+
}
|
256
|
+
}
|
257
|
+
catch { }
|
258
|
+
try {
|
259
|
+
let mod = this.injector.get('DocumentEditorTextFormFieldDialog');
|
260
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
261
|
+
this.injectedModules.push(mod);
|
262
|
+
}
|
263
|
+
}
|
264
|
+
catch { }
|
265
|
+
try {
|
266
|
+
let mod = this.injector.get('DocumentEditorDropDownFormFieldDialog');
|
267
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
268
|
+
this.injectedModules.push(mod);
|
269
|
+
}
|
270
|
+
}
|
271
|
+
catch { }
|
272
|
+
try {
|
273
|
+
let mod = this.injector.get('DocumentEditorCheckBoxFormFieldDialog');
|
274
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
275
|
+
this.injectedModules.push(mod);
|
276
|
+
}
|
277
|
+
}
|
278
|
+
catch { }
|
279
|
+
this.registerEvents(outputs$1);
|
280
|
+
this.addTwoWay.call(this, twoWays$1);
|
281
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
282
|
+
this.context = new ComponentBase();
|
283
|
+
}
|
284
|
+
ngOnInit() {
|
285
|
+
this.context.ngOnInit(this);
|
286
|
+
}
|
287
|
+
ngAfterViewInit() {
|
288
|
+
this.context.ngAfterViewInit(this);
|
289
|
+
}
|
290
|
+
ngOnDestroy() {
|
291
|
+
this.context.ngOnDestroy(this);
|
292
|
+
}
|
293
|
+
ngAfterContentChecked() {
|
294
|
+
this.context.ngAfterContentChecked(this);
|
295
|
+
}
|
296
|
+
};
|
297
|
+
DocumentEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DocumentEditorComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
298
|
+
DocumentEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: DocumentEditorComponent, selector: "ejs-documenteditor", inputs: { acceptTab: "acceptTab", autoResizeOnVisibilityChange: "autoResizeOnVisibilityChange", currentUser: "currentUser", defaultPasteOption: "defaultPasteOption", documentEditorSettings: "documentEditorSettings", documentName: "documentName", documentSettings: "documentSettings", enableAutoFocus: "enableAutoFocus", enableBookmarkDialog: "enableBookmarkDialog", enableBordersAndShadingDialog: "enableBordersAndShadingDialog", enableCollaborativeEditing: "enableCollaborativeEditing", enableColumnsDialog: "enableColumnsDialog", enableComment: "enableComment", enableContextMenu: "enableContextMenu", enableCursorOnReadOnly: "enableCursorOnReadOnly", enableEditor: "enableEditor", enableEditorHistory: "enableEditorHistory", enableFontDialog: "enableFontDialog", enableFootnoteAndEndnoteDialog: "enableFootnoteAndEndnoteDialog", enableFormField: "enableFormField", enableHyperlinkDialog: "enableHyperlinkDialog", enableImageResizer: "enableImageResizer", enableListDialog: "enableListDialog", enableLocalPaste: "enableLocalPaste", enableLockAndEdit: "enableLockAndEdit", enableOptionsPane: "enableOptionsPane", enablePageSetupDialog: "enablePageSetupDialog", enableParagraphDialog: "enableParagraphDialog", enablePersistence: "enablePersistence", enablePrint: "enablePrint", enableRtl: "enableRtl", enableSearch: "enableSearch", enableSelection: "enableSelection", enableSfdtExport: "enableSfdtExport", enableSpellCheck: "enableSpellCheck", enableStyleDialog: "enableStyleDialog", enableTableDialog: "enableTableDialog", enableTableOfContentsDialog: "enableTableOfContentsDialog", enableTableOptionsDialog: "enableTableOptionsDialog", enableTablePropertiesDialog: "enableTablePropertiesDialog", enableTextExport: "enableTextExport", enableTrackChanges: "enableTrackChanges", enableWordExport: "enableWordExport", headers: "headers", height: "height", isReadOnly: "isReadOnly", layoutType: "layoutType", locale: "locale", pageGap: "pageGap", pageOutline: "pageOutline", serverActionSettings: "serverActionSettings", serviceUrl: "serviceUrl", showComments: "showComments", showRevisions: "showRevisions", useCtrlClickToFollowHyperlink: "useCtrlClickToFollowHyperlink", userColor: "userColor", width: "width", zIndex: "zIndex", zoomFactor: "zoomFactor" }, outputs: { actionComplete: "actionComplete", afterFormFieldFill: "afterFormFieldFill", beforeAcceptRejectChanges: "beforeAcceptRejectChanges", beforeCommentAction: "beforeCommentAction", beforeFileOpen: "beforeFileOpen", beforeFormFieldFill: "beforeFormFieldFill", beforePaneSwitch: "beforePaneSwitch", commentBegin: "commentBegin", commentDelete: "commentDelete", commentEnd: "commentEnd", contentChange: "contentChange", contentControl: "contentControl", created: "created", customContextMenuBeforeOpen: "customContextMenuBeforeOpen", customContextMenuSelect: "customContextMenuSelect", destroyed: "destroyed", documentChange: "documentChange", keyDown: "keyDown", requestNavigate: "requestNavigate", searchResultsChange: "searchResultsChange", selectionChange: "selectionChange", serviceFailure: "serviceFailure", trackChange: "trackChange", viewChange: "viewChange", zoomFactorChange: "zoomFactorChange", beforeXmlHttpRequestSend: "beforeXmlHttpRequestSend", documentLoadFailed: "documentLoadFailed" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
299
|
+
DocumentEditorComponent = __decorate([
|
300
|
+
ComponentMixins([ComponentBase])
|
301
|
+
], DocumentEditorComponent);
|
302
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DocumentEditorComponent, decorators: [{
|
303
|
+
type: Component,
|
304
|
+
args: [{
|
305
|
+
selector: 'ejs-documenteditor',
|
306
|
+
inputs: inputs$1,
|
307
|
+
outputs: outputs$1,
|
308
|
+
template: '',
|
309
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
310
|
+
queries: {}
|
311
|
+
}]
|
312
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }]; } });
|
313
|
+
|
314
|
+
/**
|
315
|
+
* NgModule definition for the DocumentEditor component.
|
316
|
+
*/
|
317
|
+
class DocumentEditorModule {
|
318
|
+
}
|
319
|
+
DocumentEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DocumentEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
320
|
+
DocumentEditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DocumentEditorModule, declarations: [DocumentEditorComponent], imports: [CommonModule], exports: [DocumentEditorComponent] });
|
321
|
+
DocumentEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DocumentEditorModule, imports: [[CommonModule]] });
|
322
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DocumentEditorModule, decorators: [{
|
323
|
+
type: NgModule,
|
324
|
+
args: [{
|
325
|
+
imports: [CommonModule],
|
326
|
+
declarations: [
|
327
|
+
DocumentEditorComponent
|
328
|
+
],
|
329
|
+
exports: [
|
330
|
+
DocumentEditorComponent
|
331
|
+
]
|
332
|
+
}]
|
333
|
+
}] });
|
334
|
+
|
335
|
+
const PrintService = { provide: 'DocumentEditorPrint', useValue: Print };
|
336
|
+
const SfdtExportService = { provide: 'DocumentEditorSfdtExport', useValue: SfdtExport };
|
337
|
+
const WordExportService = { provide: 'DocumentEditorWordExport', useValue: WordExport };
|
338
|
+
const TextExportService = { provide: 'DocumentEditorTextExport', useValue: TextExport };
|
339
|
+
const SelectionService = { provide: 'DocumentEditorSelection', useValue: Selection };
|
340
|
+
const SearchService = { provide: 'DocumentEditorSearch', useValue: Search };
|
341
|
+
const EditorService = { provide: 'DocumentEditorEditor', useValue: Editor };
|
342
|
+
const EditorHistoryService = { provide: 'DocumentEditorEditorHistory', useValue: EditorHistory };
|
343
|
+
const OptionsPaneService = { provide: 'DocumentEditorOptionsPane', useValue: OptionsPane };
|
344
|
+
const ContextMenuService = { provide: 'DocumentEditorContextMenu', useValue: ContextMenu };
|
345
|
+
const ImageResizerService = { provide: 'DocumentEditorImageResizer', useValue: ImageResizer };
|
346
|
+
const HyperlinkDialogService = { provide: 'DocumentEditorHyperlinkDialog', useValue: HyperlinkDialog };
|
347
|
+
const TableDialogService = { provide: 'DocumentEditorTableDialog', useValue: TableDialog };
|
348
|
+
const BookmarkDialogService = { provide: 'DocumentEditorBookmarkDialog', useValue: BookmarkDialog };
|
349
|
+
const TableOfContentsDialogService = { provide: 'DocumentEditorTableOfContentsDialog', useValue: TableOfContentsDialog };
|
350
|
+
const PageSetupDialogService = { provide: 'DocumentEditorPageSetupDialog', useValue: PageSetupDialog };
|
351
|
+
const ParagraphDialogService = { provide: 'DocumentEditorParagraphDialog', useValue: ParagraphDialog };
|
352
|
+
const ListDialogService = { provide: 'DocumentEditorListDialog', useValue: ListDialog };
|
353
|
+
const StyleDialogService = { provide: 'DocumentEditorStyleDialog', useValue: StyleDialog };
|
354
|
+
const StylesDialogService = { provide: 'DocumentEditorStylesDialog', useValue: StylesDialog };
|
355
|
+
const BulletsAndNumberingDialogService = { provide: 'DocumentEditorBulletsAndNumberingDialog', useValue: BulletsAndNumberingDialog };
|
356
|
+
const FontDialogService = { provide: 'DocumentEditorFontDialog', useValue: FontDialog };
|
357
|
+
const TablePropertiesDialogService = { provide: 'DocumentEditorTablePropertiesDialog', useValue: TablePropertiesDialog };
|
358
|
+
const BordersAndShadingDialogService = { provide: 'DocumentEditorBordersAndShadingDialog', useValue: BordersAndShadingDialog };
|
359
|
+
const TableOptionsDialogService = { provide: 'DocumentEditorTableOptionsDialog', useValue: TableOptionsDialog };
|
360
|
+
const CellOptionsDialogService = { provide: 'DocumentEditorCellOptionsDialog', useValue: CellOptionsDialog };
|
361
|
+
const SpellCheckerService = { provide: 'DocumentEditorSpellChecker', useValue: SpellChecker };
|
362
|
+
const SpellCheckDialogService = { provide: 'DocumentEditorSpellCheckDialog', useValue: SpellCheckDialog };
|
363
|
+
const CollaborativeEditingService = { provide: 'DocumentEditorCollaborativeEditing', useValue: CollaborativeEditing };
|
364
|
+
const ColumnsDialogService = { provide: 'DocumentEditorColumnsDialog', useValue: ColumnsDialog };
|
365
|
+
const CollaborativeEditingHandlerService = { provide: 'DocumentEditorCollaborativeEditingHandler', useValue: CollaborativeEditingHandler };
|
366
|
+
const OptimizedService = { provide: 'DocumentEditorOptimized', useValue: Optimized };
|
367
|
+
const TabDialogService = { provide: 'DocumentEditorTabDialog', useValue: TabDialog };
|
368
|
+
const TextFormFieldDialogService = { provide: 'DocumentEditorTextFormFieldDialog', useValue: TextFormFieldDialog };
|
369
|
+
const DropDownFormFieldDialogService = { provide: 'DocumentEditorDropDownFormFieldDialog', useValue: DropDownFormFieldDialog };
|
370
|
+
const CheckBoxFormFieldDialogService = { provide: 'DocumentEditorCheckBoxFormFieldDialog', useValue: CheckBoxFormFieldDialog };
|
371
|
+
/**
|
372
|
+
* NgModule definition for the DocumentEditor component with providers.
|
373
|
+
*/
|
374
|
+
class DocumentEditorAllModule {
|
375
|
+
}
|
376
|
+
DocumentEditorAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DocumentEditorAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
377
|
+
DocumentEditorAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DocumentEditorAllModule, imports: [CommonModule, DocumentEditorModule], exports: [DocumentEditorModule] });
|
378
|
+
DocumentEditorAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DocumentEditorAllModule, providers: [
|
379
|
+
PrintService,
|
380
|
+
SfdtExportService,
|
381
|
+
WordExportService,
|
382
|
+
TextExportService,
|
383
|
+
SelectionService,
|
384
|
+
SearchService,
|
385
|
+
EditorService,
|
386
|
+
EditorHistoryService,
|
387
|
+
OptionsPaneService,
|
388
|
+
ContextMenuService,
|
389
|
+
ImageResizerService,
|
390
|
+
HyperlinkDialogService,
|
391
|
+
TableDialogService,
|
392
|
+
BookmarkDialogService,
|
393
|
+
TableOfContentsDialogService,
|
394
|
+
PageSetupDialogService,
|
395
|
+
ParagraphDialogService,
|
396
|
+
ListDialogService,
|
397
|
+
StyleDialogService,
|
398
|
+
StylesDialogService,
|
399
|
+
BulletsAndNumberingDialogService,
|
400
|
+
FontDialogService,
|
401
|
+
TablePropertiesDialogService,
|
402
|
+
BordersAndShadingDialogService,
|
403
|
+
TableOptionsDialogService,
|
404
|
+
CellOptionsDialogService,
|
405
|
+
SpellCheckerService,
|
406
|
+
SpellCheckDialogService,
|
407
|
+
CollaborativeEditingService,
|
408
|
+
ColumnsDialogService,
|
409
|
+
CollaborativeEditingHandlerService,
|
410
|
+
OptimizedService,
|
411
|
+
TabDialogService,
|
412
|
+
TextFormFieldDialogService,
|
413
|
+
DropDownFormFieldDialogService,
|
414
|
+
CheckBoxFormFieldDialogService
|
415
|
+
], imports: [[CommonModule, DocumentEditorModule], DocumentEditorModule] });
|
416
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DocumentEditorAllModule, decorators: [{
|
417
|
+
type: NgModule,
|
418
|
+
args: [{
|
419
|
+
imports: [CommonModule, DocumentEditorModule],
|
420
|
+
exports: [
|
421
|
+
DocumentEditorModule
|
422
|
+
],
|
423
|
+
providers: [
|
424
|
+
PrintService,
|
425
|
+
SfdtExportService,
|
426
|
+
WordExportService,
|
427
|
+
TextExportService,
|
428
|
+
SelectionService,
|
429
|
+
SearchService,
|
430
|
+
EditorService,
|
431
|
+
EditorHistoryService,
|
432
|
+
OptionsPaneService,
|
433
|
+
ContextMenuService,
|
434
|
+
ImageResizerService,
|
435
|
+
HyperlinkDialogService,
|
436
|
+
TableDialogService,
|
437
|
+
BookmarkDialogService,
|
438
|
+
TableOfContentsDialogService,
|
439
|
+
PageSetupDialogService,
|
440
|
+
ParagraphDialogService,
|
441
|
+
ListDialogService,
|
442
|
+
StyleDialogService,
|
443
|
+
StylesDialogService,
|
444
|
+
BulletsAndNumberingDialogService,
|
445
|
+
FontDialogService,
|
446
|
+
TablePropertiesDialogService,
|
447
|
+
BordersAndShadingDialogService,
|
448
|
+
TableOptionsDialogService,
|
449
|
+
CellOptionsDialogService,
|
450
|
+
SpellCheckerService,
|
451
|
+
SpellCheckDialogService,
|
452
|
+
CollaborativeEditingService,
|
453
|
+
ColumnsDialogService,
|
454
|
+
CollaborativeEditingHandlerService,
|
455
|
+
OptimizedService,
|
456
|
+
TabDialogService,
|
457
|
+
TextFormFieldDialogService,
|
458
|
+
DropDownFormFieldDialogService,
|
459
|
+
CheckBoxFormFieldDialogService
|
460
|
+
]
|
461
|
+
}]
|
462
|
+
}] });
|
463
|
+
|
464
|
+
const inputs = ['autoResizeOnVisibilityChange', 'currentUser', 'documentEditorSettings', 'documentSettings', 'enableAutoFocus', 'enableComment', 'enableCsp', 'enableLocalPaste', 'enableLockAndEdit', 'enablePersistence', 'enableRtl', 'enableSpellCheck', 'enableToolbar', 'enableTrackChanges', 'headers', 'height', 'layoutType', 'locale', 'restrictEditing', 'serverActionSettings', 'serviceUrl', 'showPropertiesPane', 'toolbarItems', 'userColor', 'width', 'zIndex'];
|
465
|
+
const outputs = ['beforeAcceptRejectChanges', 'beforeCommentAction', 'beforePaneSwitch', 'commentDelete', 'contentChange', 'contentControl', 'created', 'customContextMenuBeforeOpen', 'customContextMenuSelect', 'destroyed', 'documentChange', 'selectionChange', 'serviceFailure', 'toolbarClick', 'trackChange', 'beforeXmlHttpRequestSend'];
|
466
|
+
const twoWays = [];
|
467
|
+
/**
|
468
|
+
* `ejs-documenteditor-container` represents the Angular Document Editor Container.
|
469
|
+
* ```html
|
470
|
+
* <ejs-documenteditor-container></ejs-documenteditor-container>
|
471
|
+
* ```
|
472
|
+
*/
|
473
|
+
let DocumentEditorContainerComponent = class DocumentEditorContainerComponent extends DocumentEditorContainer {
|
474
|
+
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
475
|
+
super();
|
476
|
+
this.ngEle = ngEle;
|
477
|
+
this.srenderer = srenderer;
|
478
|
+
this.viewContainerRef = viewContainerRef;
|
479
|
+
this.injector = injector;
|
480
|
+
this.element = this.ngEle.nativeElement;
|
481
|
+
this.injectedModules = this.injectedModules || [];
|
482
|
+
try {
|
483
|
+
let mod = this.injector.get('DocumentEditorToolbar');
|
484
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
485
|
+
this.injectedModules.push(mod);
|
486
|
+
}
|
487
|
+
}
|
488
|
+
catch { }
|
489
|
+
this.registerEvents(outputs);
|
490
|
+
this.addTwoWay.call(this, twoWays);
|
491
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
492
|
+
this.context = new ComponentBase();
|
493
|
+
}
|
494
|
+
ngOnInit() {
|
495
|
+
this.context.ngOnInit(this);
|
496
|
+
}
|
497
|
+
ngAfterViewInit() {
|
498
|
+
this.context.ngAfterViewInit(this);
|
499
|
+
}
|
500
|
+
ngOnDestroy() {
|
501
|
+
this.context.ngOnDestroy(this);
|
502
|
+
}
|
503
|
+
ngAfterContentChecked() {
|
504
|
+
this.context.ngAfterContentChecked(this);
|
505
|
+
}
|
506
|
+
};
|
507
|
+
DocumentEditorContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DocumentEditorContainerComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
508
|
+
DocumentEditorContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: DocumentEditorContainerComponent, selector: "ejs-documenteditorcontainer", inputs: { autoResizeOnVisibilityChange: "autoResizeOnVisibilityChange", currentUser: "currentUser", documentEditorSettings: "documentEditorSettings", documentSettings: "documentSettings", enableAutoFocus: "enableAutoFocus", enableComment: "enableComment", enableCsp: "enableCsp", enableLocalPaste: "enableLocalPaste", enableLockAndEdit: "enableLockAndEdit", enablePersistence: "enablePersistence", enableRtl: "enableRtl", enableSpellCheck: "enableSpellCheck", enableToolbar: "enableToolbar", enableTrackChanges: "enableTrackChanges", headers: "headers", height: "height", layoutType: "layoutType", locale: "locale", restrictEditing: "restrictEditing", serverActionSettings: "serverActionSettings", serviceUrl: "serviceUrl", showPropertiesPane: "showPropertiesPane", toolbarItems: "toolbarItems", userColor: "userColor", width: "width", zIndex: "zIndex" }, outputs: { beforeAcceptRejectChanges: "beforeAcceptRejectChanges", beforeCommentAction: "beforeCommentAction", beforePaneSwitch: "beforePaneSwitch", commentDelete: "commentDelete", contentChange: "contentChange", contentControl: "contentControl", created: "created", customContextMenuBeforeOpen: "customContextMenuBeforeOpen", customContextMenuSelect: "customContextMenuSelect", destroyed: "destroyed", documentChange: "documentChange", selectionChange: "selectionChange", serviceFailure: "serviceFailure", toolbarClick: "toolbarClick", trackChange: "trackChange", beforeXmlHttpRequestSend: "beforeXmlHttpRequestSend" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
509
|
+
DocumentEditorContainerComponent = __decorate([
|
510
|
+
ComponentMixins([ComponentBase])
|
511
|
+
], DocumentEditorContainerComponent);
|
512
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DocumentEditorContainerComponent, decorators: [{
|
513
|
+
type: Component,
|
514
|
+
args: [{
|
515
|
+
selector: 'ejs-documenteditorcontainer',
|
516
|
+
inputs: inputs,
|
517
|
+
outputs: outputs,
|
518
|
+
template: '',
|
519
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
520
|
+
queries: {}
|
521
|
+
}]
|
522
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }]; } });
|
523
|
+
|
524
|
+
/**
|
525
|
+
* NgModule definition for the DocumentEditorContainer component.
|
526
|
+
*/
|
527
|
+
class DocumentEditorContainerModule {
|
528
|
+
}
|
529
|
+
DocumentEditorContainerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DocumentEditorContainerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
530
|
+
DocumentEditorContainerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DocumentEditorContainerModule, declarations: [DocumentEditorContainerComponent], imports: [CommonModule], exports: [DocumentEditorContainerComponent] });
|
531
|
+
DocumentEditorContainerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DocumentEditorContainerModule, imports: [[CommonModule]] });
|
532
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DocumentEditorContainerModule, decorators: [{
|
533
|
+
type: NgModule,
|
534
|
+
args: [{
|
535
|
+
imports: [CommonModule],
|
536
|
+
declarations: [
|
537
|
+
DocumentEditorContainerComponent
|
538
|
+
],
|
539
|
+
exports: [
|
540
|
+
DocumentEditorContainerComponent
|
541
|
+
]
|
542
|
+
}]
|
543
|
+
}] });
|
544
|
+
|
545
|
+
const ToolbarService = { provide: 'DocumentEditorToolbar', useValue: Toolbar };
|
546
|
+
/**
|
547
|
+
* NgModule definition for the DocumentEditorContainer component with providers.
|
548
|
+
*/
|
549
|
+
class DocumentEditorContainerAllModule {
|
550
|
+
}
|
551
|
+
DocumentEditorContainerAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DocumentEditorContainerAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
552
|
+
DocumentEditorContainerAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DocumentEditorContainerAllModule, imports: [CommonModule, DocumentEditorContainerModule], exports: [DocumentEditorContainerModule] });
|
553
|
+
DocumentEditorContainerAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DocumentEditorContainerAllModule, providers: [
|
554
|
+
ToolbarService
|
555
|
+
], imports: [[CommonModule, DocumentEditorContainerModule], DocumentEditorContainerModule] });
|
556
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DocumentEditorContainerAllModule, decorators: [{
|
557
|
+
type: NgModule,
|
558
|
+
args: [{
|
559
|
+
imports: [CommonModule, DocumentEditorContainerModule],
|
560
|
+
exports: [
|
561
|
+
DocumentEditorContainerModule
|
562
|
+
],
|
563
|
+
providers: [
|
564
|
+
ToolbarService
|
565
|
+
]
|
566
|
+
}]
|
567
|
+
}] });
|
568
|
+
|
569
|
+
/**
|
570
|
+
* Generated bundle index. Do not edit.
|
571
|
+
*/
|
572
|
+
|
573
|
+
export { BookmarkDialogService, BordersAndShadingDialogService, BulletsAndNumberingDialogService, CellOptionsDialogService, CheckBoxFormFieldDialogService, CollaborativeEditingHandlerService, CollaborativeEditingService, ColumnsDialogService, ContextMenuService, DocumentEditorAllModule, DocumentEditorComponent, DocumentEditorContainerAllModule, DocumentEditorContainerComponent, DocumentEditorContainerModule, DocumentEditorModule, DropDownFormFieldDialogService, EditorHistoryService, EditorService, FontDialogService, HyperlinkDialogService, ImageResizerService, ListDialogService, OptimizedService, OptionsPaneService, PageSetupDialogService, ParagraphDialogService, PrintService, SearchService, SelectionService, SfdtExportService, SpellCheckDialogService, SpellCheckerService, StyleDialogService, StylesDialogService, TabDialogService, TableDialogService, TableOfContentsDialogService, TableOptionsDialogService, TablePropertiesDialogService, TextExportService, TextFormFieldDialogService, ToolbarService, WordExportService };
|
574
|
+
//# sourceMappingURL=syncfusion-ej2-angular-documenteditor.mjs.map
|