@syncfusion/ej2-angular-documenteditor 30.1.39-ngcc → 30.1.40-ngcc

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/@syncfusion/ej2-angular-documenteditor.es5.js +646 -0
  2. package/@syncfusion/ej2-angular-documenteditor.es5.js.map +1 -0
  3. package/@syncfusion/ej2-angular-documenteditor.js +616 -0
  4. package/@syncfusion/ej2-angular-documenteditor.js.map +1 -0
  5. package/LICENSE +10 -0
  6. package/dist/ej2-angular-documenteditor.umd.js +1360 -0
  7. package/dist/ej2-angular-documenteditor.umd.js.map +1 -0
  8. package/dist/ej2-angular-documenteditor.umd.min.js +11 -0
  9. package/dist/ej2-angular-documenteditor.umd.min.js.map +1 -0
  10. package/ej2-angular-documenteditor.d.ts +6 -0
  11. package/ej2-angular-documenteditor.metadata.json +1 -0
  12. package/package.json +8 -21
  13. package/public_api.d.ts +1 -1
  14. package/schematics/utils/lib-details.d.ts +2 -2
  15. package/schematics/utils/lib-details.js +2 -2
  16. package/schematics/utils/lib-details.ts +2 -2
  17. package/src/document-editor/documenteditor-all.module.d.ts +42 -48
  18. package/src/document-editor/documenteditor.component.d.ts +54 -57
  19. package/src/document-editor/documenteditor.module.d.ts +5 -11
  20. package/src/document-editor-container/documenteditorcontainer-all.module.d.ts +8 -14
  21. package/src/document-editor-container/documenteditorcontainer.component.d.ts +44 -47
  22. package/src/document-editor-container/documenteditorcontainer.module.d.ts +5 -11
  23. package/src/index.d.ts +7 -7
  24. package/CHANGELOG.md +0 -4549
  25. package/esm2020/public_api.mjs +0 -2
  26. package/esm2020/src/document-editor/documenteditor-all.module.mjs +0 -134
  27. package/esm2020/src/document-editor/documenteditor.component.mjs +0 -311
  28. package/esm2020/src/document-editor/documenteditor.module.mjs +0 -25
  29. package/esm2020/src/document-editor-container/documenteditorcontainer-all.module.mjs +0 -32
  30. package/esm2020/src/document-editor-container/documenteditorcontainer.component.mjs +0 -73
  31. package/esm2020/src/document-editor-container/documenteditorcontainer.module.mjs +0 -25
  32. package/esm2020/src/index.mjs +0 -8
  33. package/esm2020/syncfusion-ej2-angular-documenteditor.mjs +0 -5
  34. package/fesm2015/syncfusion-ej2-angular-documenteditor.mjs +0 -584
  35. package/fesm2015/syncfusion-ej2-angular-documenteditor.mjs.map +0 -1
  36. package/fesm2020/syncfusion-ej2-angular-documenteditor.mjs +0 -584
  37. package/fesm2020/syncfusion-ej2-angular-documenteditor.mjs.map +0 -1
  38. package/syncfusion-ej2-angular-documenteditor.d.ts +0 -5
@@ -0,0 +1,616 @@
1
+ import { ChangeDetectionStrategy, Component, ElementRef, Injector, NgModule, Renderer2, ViewContainerRef } from '@angular/core';
2
+ import { ComponentBase, ComponentMixins, setValue } from '@syncfusion/ej2-angular-base';
3
+ import { BookmarkDialog, BordersAndShadingDialog, BulletsAndNumberingDialog, CellOptionsDialog, CheckBoxFormFieldDialog, CollaborativeEditing, CollaborativeEditingHandler, ColumnsDialog, ContextMenu, DocumentEditor, DocumentEditorContainer, DropDownFormFieldDialog, Editor, EditorHistory, FontDialog, HyperlinkDialog, ImageResizer, ListDialog, Optimized, OptionsPane, PageSetupDialog, ParagraphDialog, Print, Ribbon, Search, Selection, SfdtExport, SpellCheckDialog, SpellChecker, StyleDialog, StylesDialog, TabDialog, TableDialog, TableOfContentsDialog, TableOptionsDialog, TablePropertiesDialog, TextExport, TextFormFieldDialog, Toolbar, WordExport } from '@syncfusion/ej2-documenteditor';
4
+ import { CommonModule } from '@angular/common';
5
+
6
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
7
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
8
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
9
+ 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;
10
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
11
+ };
12
+ var __metadata = (this && this.__metadata) || function (k, v) {
13
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
14
+ };
15
+ const inputs = ['acceptTab', 'autoResizeOnVisibilityChange', 'currentUser', 'defaultPasteOption', 'documentEditorSettings', 'documentName', 'documentSettings', 'enableAutoFocus', 'enableBookmarkDialog', 'enableBordersAndShadingDialog', 'enableCollaborativeEditing', 'enableColumnsDialog', 'enableComment', 'enableContextMenu', 'enableCursorOnReadOnly', 'enableEditor', 'enableEditorHistory', 'enableFontDialog', 'enableFootnoteAndEndnoteDialog', 'enableFormField', 'enableHyperlinkDialog', 'enableImageResizer', 'enableLayout', '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'];
16
+ const outputs = ['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'];
17
+ const twoWays = [];
18
+ /**
19
+ * `ejs-documenteditor` represents the Angular Document Editor Component.
20
+ * ```html
21
+ * <ejs-documenteditor isReadOnly='true' enableSelection='true'></ejs-documenteditor>
22
+ * ```
23
+ */
24
+ let DocumentEditorComponent = class DocumentEditorComponent extends DocumentEditor {
25
+ /**
26
+ * @param {?} ngEle
27
+ * @param {?} srenderer
28
+ * @param {?} viewContainerRef
29
+ * @param {?} injector
30
+ */
31
+ constructor(ngEle, srenderer, viewContainerRef, injector) {
32
+ super();
33
+ this.ngEle = ngEle;
34
+ this.srenderer = srenderer;
35
+ this.viewContainerRef = viewContainerRef;
36
+ this.injector = injector;
37
+ this.element = this.ngEle.nativeElement;
38
+ this.injectedModules = this.injectedModules || [];
39
+ try {
40
+ let mod = this.injector.get('DocumentEditorPrint');
41
+ if (this.injectedModules.indexOf(mod) === -1) {
42
+ this.injectedModules.push(mod);
43
+ }
44
+ }
45
+ catch (_a) { }
46
+ try {
47
+ let mod = this.injector.get('DocumentEditorSfdtExport');
48
+ if (this.injectedModules.indexOf(mod) === -1) {
49
+ this.injectedModules.push(mod);
50
+ }
51
+ }
52
+ catch (_b) { }
53
+ try {
54
+ let mod = this.injector.get('DocumentEditorWordExport');
55
+ if (this.injectedModules.indexOf(mod) === -1) {
56
+ this.injectedModules.push(mod);
57
+ }
58
+ }
59
+ catch (_c) { }
60
+ try {
61
+ let mod = this.injector.get('DocumentEditorTextExport');
62
+ if (this.injectedModules.indexOf(mod) === -1) {
63
+ this.injectedModules.push(mod);
64
+ }
65
+ }
66
+ catch (_d) { }
67
+ try {
68
+ let mod = this.injector.get('DocumentEditorSelection');
69
+ if (this.injectedModules.indexOf(mod) === -1) {
70
+ this.injectedModules.push(mod);
71
+ }
72
+ }
73
+ catch (_e) { }
74
+ try {
75
+ let mod = this.injector.get('DocumentEditorSearch');
76
+ if (this.injectedModules.indexOf(mod) === -1) {
77
+ this.injectedModules.push(mod);
78
+ }
79
+ }
80
+ catch (_f) { }
81
+ try {
82
+ let mod = this.injector.get('DocumentEditorEditor');
83
+ if (this.injectedModules.indexOf(mod) === -1) {
84
+ this.injectedModules.push(mod);
85
+ }
86
+ }
87
+ catch (_g) { }
88
+ try {
89
+ let mod = this.injector.get('DocumentEditorEditorHistory');
90
+ if (this.injectedModules.indexOf(mod) === -1) {
91
+ this.injectedModules.push(mod);
92
+ }
93
+ }
94
+ catch (_h) { }
95
+ try {
96
+ let mod = this.injector.get('DocumentEditorOptionsPane');
97
+ if (this.injectedModules.indexOf(mod) === -1) {
98
+ this.injectedModules.push(mod);
99
+ }
100
+ }
101
+ catch (_j) { }
102
+ try {
103
+ let mod = this.injector.get('DocumentEditorContextMenu');
104
+ if (this.injectedModules.indexOf(mod) === -1) {
105
+ this.injectedModules.push(mod);
106
+ }
107
+ }
108
+ catch (_k) { }
109
+ try {
110
+ let mod = this.injector.get('DocumentEditorImageResizer');
111
+ if (this.injectedModules.indexOf(mod) === -1) {
112
+ this.injectedModules.push(mod);
113
+ }
114
+ }
115
+ catch (_l) { }
116
+ try {
117
+ let mod = this.injector.get('DocumentEditorHyperlinkDialog');
118
+ if (this.injectedModules.indexOf(mod) === -1) {
119
+ this.injectedModules.push(mod);
120
+ }
121
+ }
122
+ catch (_m) { }
123
+ try {
124
+ let mod = this.injector.get('DocumentEditorTableDialog');
125
+ if (this.injectedModules.indexOf(mod) === -1) {
126
+ this.injectedModules.push(mod);
127
+ }
128
+ }
129
+ catch (_o) { }
130
+ try {
131
+ let mod = this.injector.get('DocumentEditorBookmarkDialog');
132
+ if (this.injectedModules.indexOf(mod) === -1) {
133
+ this.injectedModules.push(mod);
134
+ }
135
+ }
136
+ catch (_p) { }
137
+ try {
138
+ let mod = this.injector.get('DocumentEditorTableOfContentsDialog');
139
+ if (this.injectedModules.indexOf(mod) === -1) {
140
+ this.injectedModules.push(mod);
141
+ }
142
+ }
143
+ catch (_q) { }
144
+ try {
145
+ let mod = this.injector.get('DocumentEditorPageSetupDialog');
146
+ if (this.injectedModules.indexOf(mod) === -1) {
147
+ this.injectedModules.push(mod);
148
+ }
149
+ }
150
+ catch (_r) { }
151
+ try {
152
+ let mod = this.injector.get('DocumentEditorParagraphDialog');
153
+ if (this.injectedModules.indexOf(mod) === -1) {
154
+ this.injectedModules.push(mod);
155
+ }
156
+ }
157
+ catch (_s) { }
158
+ try {
159
+ let mod = this.injector.get('DocumentEditorListDialog');
160
+ if (this.injectedModules.indexOf(mod) === -1) {
161
+ this.injectedModules.push(mod);
162
+ }
163
+ }
164
+ catch (_t) { }
165
+ try {
166
+ let mod = this.injector.get('DocumentEditorStyleDialog');
167
+ if (this.injectedModules.indexOf(mod) === -1) {
168
+ this.injectedModules.push(mod);
169
+ }
170
+ }
171
+ catch (_u) { }
172
+ try {
173
+ let mod = this.injector.get('DocumentEditorStylesDialog');
174
+ if (this.injectedModules.indexOf(mod) === -1) {
175
+ this.injectedModules.push(mod);
176
+ }
177
+ }
178
+ catch (_v) { }
179
+ try {
180
+ let mod = this.injector.get('DocumentEditorBulletsAndNumberingDialog');
181
+ if (this.injectedModules.indexOf(mod) === -1) {
182
+ this.injectedModules.push(mod);
183
+ }
184
+ }
185
+ catch (_w) { }
186
+ try {
187
+ let mod = this.injector.get('DocumentEditorFontDialog');
188
+ if (this.injectedModules.indexOf(mod) === -1) {
189
+ this.injectedModules.push(mod);
190
+ }
191
+ }
192
+ catch (_x) { }
193
+ try {
194
+ let mod = this.injector.get('DocumentEditorTablePropertiesDialog');
195
+ if (this.injectedModules.indexOf(mod) === -1) {
196
+ this.injectedModules.push(mod);
197
+ }
198
+ }
199
+ catch (_y) { }
200
+ try {
201
+ let mod = this.injector.get('DocumentEditorBordersAndShadingDialog');
202
+ if (this.injectedModules.indexOf(mod) === -1) {
203
+ this.injectedModules.push(mod);
204
+ }
205
+ }
206
+ catch (_z) { }
207
+ try {
208
+ let mod = this.injector.get('DocumentEditorTableOptionsDialog');
209
+ if (this.injectedModules.indexOf(mod) === -1) {
210
+ this.injectedModules.push(mod);
211
+ }
212
+ }
213
+ catch (_0) { }
214
+ try {
215
+ let mod = this.injector.get('DocumentEditorCellOptionsDialog');
216
+ if (this.injectedModules.indexOf(mod) === -1) {
217
+ this.injectedModules.push(mod);
218
+ }
219
+ }
220
+ catch (_1) { }
221
+ try {
222
+ let mod = this.injector.get('DocumentEditorSpellChecker');
223
+ if (this.injectedModules.indexOf(mod) === -1) {
224
+ this.injectedModules.push(mod);
225
+ }
226
+ }
227
+ catch (_2) { }
228
+ try {
229
+ let mod = this.injector.get('DocumentEditorSpellCheckDialog');
230
+ if (this.injectedModules.indexOf(mod) === -1) {
231
+ this.injectedModules.push(mod);
232
+ }
233
+ }
234
+ catch (_3) { }
235
+ try {
236
+ let mod = this.injector.get('DocumentEditorCollaborativeEditing');
237
+ if (this.injectedModules.indexOf(mod) === -1) {
238
+ this.injectedModules.push(mod);
239
+ }
240
+ }
241
+ catch (_4) { }
242
+ try {
243
+ let mod = this.injector.get('DocumentEditorColumnsDialog');
244
+ if (this.injectedModules.indexOf(mod) === -1) {
245
+ this.injectedModules.push(mod);
246
+ }
247
+ }
248
+ catch (_5) { }
249
+ try {
250
+ let mod = this.injector.get('DocumentEditorCollaborativeEditingHandler');
251
+ if (this.injectedModules.indexOf(mod) === -1) {
252
+ this.injectedModules.push(mod);
253
+ }
254
+ }
255
+ catch (_6) { }
256
+ try {
257
+ let mod = this.injector.get('DocumentEditorOptimized');
258
+ if (this.injectedModules.indexOf(mod) === -1) {
259
+ this.injectedModules.push(mod);
260
+ }
261
+ }
262
+ catch (_7) { }
263
+ try {
264
+ let mod = this.injector.get('DocumentEditorTabDialog');
265
+ if (this.injectedModules.indexOf(mod) === -1) {
266
+ this.injectedModules.push(mod);
267
+ }
268
+ }
269
+ catch (_8) { }
270
+ try {
271
+ let mod = this.injector.get('DocumentEditorTextFormFieldDialog');
272
+ if (this.injectedModules.indexOf(mod) === -1) {
273
+ this.injectedModules.push(mod);
274
+ }
275
+ }
276
+ catch (_9) { }
277
+ try {
278
+ let mod = this.injector.get('DocumentEditorDropDownFormFieldDialog');
279
+ if (this.injectedModules.indexOf(mod) === -1) {
280
+ this.injectedModules.push(mod);
281
+ }
282
+ }
283
+ catch (_10) { }
284
+ try {
285
+ let mod = this.injector.get('DocumentEditorCheckBoxFormFieldDialog');
286
+ if (this.injectedModules.indexOf(mod) === -1) {
287
+ this.injectedModules.push(mod);
288
+ }
289
+ }
290
+ catch (_11) { }
291
+ this.registerEvents(outputs);
292
+ this.addTwoWay.call(this, twoWays);
293
+ setValue('currentInstance', this, this.viewContainerRef);
294
+ this.context = new ComponentBase();
295
+ }
296
+ /**
297
+ * @return {?}
298
+ */
299
+ ngOnInit() {
300
+ this.context.ngOnInit(this);
301
+ }
302
+ /**
303
+ * @return {?}
304
+ */
305
+ ngAfterViewInit() {
306
+ this.context.ngAfterViewInit(this);
307
+ }
308
+ /**
309
+ * @return {?}
310
+ */
311
+ ngOnDestroy() {
312
+ this.context.ngOnDestroy(this);
313
+ }
314
+ /**
315
+ * @return {?}
316
+ */
317
+ ngAfterContentChecked() {
318
+ this.context.ngAfterContentChecked(this);
319
+ }
320
+ };
321
+ DocumentEditorComponent.decorators = [
322
+ { type: Component, args: [{
323
+ selector: 'ejs-documenteditor',
324
+ inputs: inputs,
325
+ outputs: outputs,
326
+ template: '',
327
+ changeDetection: ChangeDetectionStrategy.OnPush,
328
+ queries: {}
329
+ },] },
330
+ ];
331
+ /**
332
+ * @nocollapse
333
+ */
334
+ DocumentEditorComponent.ctorParameters = () => [
335
+ { type: ElementRef, },
336
+ { type: Renderer2, },
337
+ { type: ViewContainerRef, },
338
+ { type: Injector, },
339
+ ];
340
+ DocumentEditorComponent = __decorate([
341
+ ComponentMixins([ComponentBase]),
342
+ __metadata("design:paramtypes", [ElementRef,
343
+ Renderer2,
344
+ ViewContainerRef,
345
+ Injector])
346
+ ], DocumentEditorComponent);
347
+
348
+ /**
349
+ * NgModule definition for the DocumentEditor component.
350
+ */
351
+ class DocumentEditorModule {
352
+ }
353
+ DocumentEditorModule.decorators = [
354
+ { type: NgModule, args: [{
355
+ imports: [CommonModule],
356
+ declarations: [
357
+ DocumentEditorComponent
358
+ ],
359
+ exports: [
360
+ DocumentEditorComponent
361
+ ]
362
+ },] },
363
+ ];
364
+ /**
365
+ * @nocollapse
366
+ */
367
+ DocumentEditorModule.ctorParameters = () => [];
368
+
369
+ const PrintService = { provide: 'DocumentEditorPrint', useValue: Print };
370
+ const SfdtExportService = { provide: 'DocumentEditorSfdtExport', useValue: SfdtExport };
371
+ const WordExportService = { provide: 'DocumentEditorWordExport', useValue: WordExport };
372
+ const TextExportService = { provide: 'DocumentEditorTextExport', useValue: TextExport };
373
+ const SelectionService = { provide: 'DocumentEditorSelection', useValue: Selection };
374
+ const SearchService = { provide: 'DocumentEditorSearch', useValue: Search };
375
+ const EditorService = { provide: 'DocumentEditorEditor', useValue: Editor };
376
+ const EditorHistoryService = { provide: 'DocumentEditorEditorHistory', useValue: EditorHistory };
377
+ const OptionsPaneService = { provide: 'DocumentEditorOptionsPane', useValue: OptionsPane };
378
+ const ContextMenuService = { provide: 'DocumentEditorContextMenu', useValue: ContextMenu };
379
+ const ImageResizerService = { provide: 'DocumentEditorImageResizer', useValue: ImageResizer };
380
+ const HyperlinkDialogService = { provide: 'DocumentEditorHyperlinkDialog', useValue: HyperlinkDialog };
381
+ const TableDialogService = { provide: 'DocumentEditorTableDialog', useValue: TableDialog };
382
+ const BookmarkDialogService = { provide: 'DocumentEditorBookmarkDialog', useValue: BookmarkDialog };
383
+ const TableOfContentsDialogService = { provide: 'DocumentEditorTableOfContentsDialog', useValue: TableOfContentsDialog };
384
+ const PageSetupDialogService = { provide: 'DocumentEditorPageSetupDialog', useValue: PageSetupDialog };
385
+ const ParagraphDialogService = { provide: 'DocumentEditorParagraphDialog', useValue: ParagraphDialog };
386
+ const ListDialogService = { provide: 'DocumentEditorListDialog', useValue: ListDialog };
387
+ const StyleDialogService = { provide: 'DocumentEditorStyleDialog', useValue: StyleDialog };
388
+ const StylesDialogService = { provide: 'DocumentEditorStylesDialog', useValue: StylesDialog };
389
+ const BulletsAndNumberingDialogService = { provide: 'DocumentEditorBulletsAndNumberingDialog', useValue: BulletsAndNumberingDialog };
390
+ const FontDialogService = { provide: 'DocumentEditorFontDialog', useValue: FontDialog };
391
+ const TablePropertiesDialogService = { provide: 'DocumentEditorTablePropertiesDialog', useValue: TablePropertiesDialog };
392
+ const BordersAndShadingDialogService = { provide: 'DocumentEditorBordersAndShadingDialog', useValue: BordersAndShadingDialog };
393
+ const TableOptionsDialogService = { provide: 'DocumentEditorTableOptionsDialog', useValue: TableOptionsDialog };
394
+ const CellOptionsDialogService = { provide: 'DocumentEditorCellOptionsDialog', useValue: CellOptionsDialog };
395
+ const SpellCheckerService = { provide: 'DocumentEditorSpellChecker', useValue: SpellChecker };
396
+ const SpellCheckDialogService = { provide: 'DocumentEditorSpellCheckDialog', useValue: SpellCheckDialog };
397
+ const CollaborativeEditingService = { provide: 'DocumentEditorCollaborativeEditing', useValue: CollaborativeEditing };
398
+ const ColumnsDialogService = { provide: 'DocumentEditorColumnsDialog', useValue: ColumnsDialog };
399
+ const CollaborativeEditingHandlerService = { provide: 'DocumentEditorCollaborativeEditingHandler', useValue: CollaborativeEditingHandler };
400
+ const OptimizedService = { provide: 'DocumentEditorOptimized', useValue: Optimized };
401
+ const TabDialogService = { provide: 'DocumentEditorTabDialog', useValue: TabDialog };
402
+ const TextFormFieldDialogService = { provide: 'DocumentEditorTextFormFieldDialog', useValue: TextFormFieldDialog };
403
+ const DropDownFormFieldDialogService = { provide: 'DocumentEditorDropDownFormFieldDialog', useValue: DropDownFormFieldDialog };
404
+ const CheckBoxFormFieldDialogService = { provide: 'DocumentEditorCheckBoxFormFieldDialog', useValue: CheckBoxFormFieldDialog };
405
+ /**
406
+ * NgModule definition for the DocumentEditor component with providers.
407
+ */
408
+ class DocumentEditorAllModule {
409
+ }
410
+ DocumentEditorAllModule.decorators = [
411
+ { type: NgModule, args: [{
412
+ imports: [CommonModule, DocumentEditorModule],
413
+ exports: [
414
+ DocumentEditorModule
415
+ ],
416
+ providers: [
417
+ PrintService,
418
+ SfdtExportService,
419
+ WordExportService,
420
+ TextExportService,
421
+ SelectionService,
422
+ SearchService,
423
+ EditorService,
424
+ EditorHistoryService,
425
+ OptionsPaneService,
426
+ ContextMenuService,
427
+ ImageResizerService,
428
+ HyperlinkDialogService,
429
+ TableDialogService,
430
+ BookmarkDialogService,
431
+ TableOfContentsDialogService,
432
+ PageSetupDialogService,
433
+ ParagraphDialogService,
434
+ ListDialogService,
435
+ StyleDialogService,
436
+ StylesDialogService,
437
+ BulletsAndNumberingDialogService,
438
+ FontDialogService,
439
+ TablePropertiesDialogService,
440
+ BordersAndShadingDialogService,
441
+ TableOptionsDialogService,
442
+ CellOptionsDialogService,
443
+ SpellCheckerService,
444
+ SpellCheckDialogService,
445
+ CollaborativeEditingService,
446
+ ColumnsDialogService,
447
+ CollaborativeEditingHandlerService,
448
+ OptimizedService,
449
+ TabDialogService,
450
+ TextFormFieldDialogService,
451
+ DropDownFormFieldDialogService,
452
+ CheckBoxFormFieldDialogService
453
+ ]
454
+ },] },
455
+ ];
456
+ /**
457
+ * @nocollapse
458
+ */
459
+ DocumentEditorAllModule.ctorParameters = () => [];
460
+
461
+ var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
462
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
463
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
464
+ 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;
465
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
466
+ };
467
+ var __metadata$1 = (this && this.__metadata) || function (k, v) {
468
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
469
+ };
470
+ const inputs$1 = ['autoResizeOnVisibilityChange', 'backstageMenu', 'currentUser', 'documentEditorSettings', 'documentSettings', 'enableAutoFocus', 'enableComment', 'enableCsp', 'enableLocalPaste', 'enableLockAndEdit', 'enablePersistence', 'enableRtl', 'enableSpellCheck', 'enableToolbar', 'enableTrackChanges', 'fileMenuItems', 'headers', 'height', 'layoutType', 'locale', 'restrictEditing', 'ribbonLayout', 'serverActionSettings', 'serviceUrl', 'showPropertiesPane', 'toolbarItems', 'toolbarMode', 'userColor', 'width', 'zIndex'];
471
+ const outputs$1 = ['beforeAcceptRejectChanges', 'beforeCommentAction', 'beforePaneSwitch', 'commentDelete', 'contentChange', 'contentControl', 'created', 'customContextMenuBeforeOpen', 'customContextMenuSelect', 'destroyed', 'documentChange', 'fileMenuItemClick', 'selectionChange', 'serviceFailure', 'toolbarClick', 'trackChange', 'beforeXmlHttpRequestSend'];
472
+ const twoWays$1 = [];
473
+ /**
474
+ * `ejs-documenteditor-container` represents the Angular Document Editor Container.
475
+ * ```html
476
+ * <ejs-documenteditor-container></ejs-documenteditor-container>
477
+ * ```
478
+ */
479
+ let DocumentEditorContainerComponent = class DocumentEditorContainerComponent extends DocumentEditorContainer {
480
+ /**
481
+ * @param {?} ngEle
482
+ * @param {?} srenderer
483
+ * @param {?} viewContainerRef
484
+ * @param {?} injector
485
+ */
486
+ constructor(ngEle, srenderer, viewContainerRef, injector) {
487
+ super();
488
+ this.ngEle = ngEle;
489
+ this.srenderer = srenderer;
490
+ this.viewContainerRef = viewContainerRef;
491
+ this.injector = injector;
492
+ this.element = this.ngEle.nativeElement;
493
+ this.injectedModules = this.injectedModules || [];
494
+ try {
495
+ let mod = this.injector.get('DocumentEditorToolbar');
496
+ if (this.injectedModules.indexOf(mod) === -1) {
497
+ this.injectedModules.push(mod);
498
+ }
499
+ }
500
+ catch (_a) { }
501
+ try {
502
+ let mod = this.injector.get('DocumentEditorRibbon');
503
+ if (this.injectedModules.indexOf(mod) === -1) {
504
+ this.injectedModules.push(mod);
505
+ }
506
+ }
507
+ catch (_b) { }
508
+ this.registerEvents(outputs$1);
509
+ this.addTwoWay.call(this, twoWays$1);
510
+ setValue('currentInstance', this, this.viewContainerRef);
511
+ this.context = new ComponentBase();
512
+ }
513
+ /**
514
+ * @return {?}
515
+ */
516
+ ngOnInit() {
517
+ this.context.ngOnInit(this);
518
+ }
519
+ /**
520
+ * @return {?}
521
+ */
522
+ ngAfterViewInit() {
523
+ this.context.ngAfterViewInit(this);
524
+ }
525
+ /**
526
+ * @return {?}
527
+ */
528
+ ngOnDestroy() {
529
+ this.context.ngOnDestroy(this);
530
+ }
531
+ /**
532
+ * @return {?}
533
+ */
534
+ ngAfterContentChecked() {
535
+ this.context.ngAfterContentChecked(this);
536
+ }
537
+ };
538
+ DocumentEditorContainerComponent.decorators = [
539
+ { type: Component, args: [{
540
+ selector: 'ejs-documenteditorcontainer',
541
+ inputs: inputs$1,
542
+ outputs: outputs$1,
543
+ template: '',
544
+ changeDetection: ChangeDetectionStrategy.OnPush,
545
+ queries: {}
546
+ },] },
547
+ ];
548
+ /**
549
+ * @nocollapse
550
+ */
551
+ DocumentEditorContainerComponent.ctorParameters = () => [
552
+ { type: ElementRef, },
553
+ { type: Renderer2, },
554
+ { type: ViewContainerRef, },
555
+ { type: Injector, },
556
+ ];
557
+ DocumentEditorContainerComponent = __decorate$1([
558
+ ComponentMixins([ComponentBase]),
559
+ __metadata$1("design:paramtypes", [ElementRef,
560
+ Renderer2,
561
+ ViewContainerRef,
562
+ Injector])
563
+ ], DocumentEditorContainerComponent);
564
+
565
+ /**
566
+ * NgModule definition for the DocumentEditorContainer component.
567
+ */
568
+ class DocumentEditorContainerModule {
569
+ }
570
+ DocumentEditorContainerModule.decorators = [
571
+ { type: NgModule, args: [{
572
+ imports: [CommonModule],
573
+ declarations: [
574
+ DocumentEditorContainerComponent
575
+ ],
576
+ exports: [
577
+ DocumentEditorContainerComponent
578
+ ]
579
+ },] },
580
+ ];
581
+ /**
582
+ * @nocollapse
583
+ */
584
+ DocumentEditorContainerModule.ctorParameters = () => [];
585
+
586
+ const ToolbarService = { provide: 'DocumentEditorToolbar', useValue: Toolbar };
587
+ const RibbonService = { provide: 'DocumentEditorRibbon', useValue: Ribbon };
588
+ /**
589
+ * NgModule definition for the DocumentEditorContainer component with providers.
590
+ */
591
+ class DocumentEditorContainerAllModule {
592
+ }
593
+ DocumentEditorContainerAllModule.decorators = [
594
+ { type: NgModule, args: [{
595
+ imports: [CommonModule, DocumentEditorContainerModule],
596
+ exports: [
597
+ DocumentEditorContainerModule
598
+ ],
599
+ providers: [
600
+ ToolbarService,
601
+ RibbonService
602
+ ]
603
+ },] },
604
+ ];
605
+ /**
606
+ * @nocollapse
607
+ */
608
+ DocumentEditorContainerAllModule.ctorParameters = () => [];
609
+
610
+ /**
611
+ * Generated bundle index. Do not edit.
612
+ */
613
+
614
+ export { DocumentEditorComponent, DocumentEditorModule, DocumentEditorAllModule, PrintService, SfdtExportService, WordExportService, TextExportService, SelectionService, SearchService, EditorService, EditorHistoryService, OptionsPaneService, ContextMenuService, ImageResizerService, HyperlinkDialogService, TableDialogService, BookmarkDialogService, TableOfContentsDialogService, PageSetupDialogService, ParagraphDialogService, ListDialogService, StyleDialogService, StylesDialogService, BulletsAndNumberingDialogService, FontDialogService, TablePropertiesDialogService, BordersAndShadingDialogService, TableOptionsDialogService, CellOptionsDialogService, SpellCheckerService, SpellCheckDialogService, CollaborativeEditingService, ColumnsDialogService, CollaborativeEditingHandlerService, OptimizedService, TabDialogService, TextFormFieldDialogService, DropDownFormFieldDialogService, CheckBoxFormFieldDialogService, DocumentEditorContainerComponent, DocumentEditorContainerModule, DocumentEditorContainerAllModule, ToolbarService, RibbonService, inputs$1 as ɵc, outputs$1 as ɵd, inputs as ɵa, outputs as ɵb };
615
+ export { CharacterRangeType, FontScriptType, LocaleId, SectionBreakType, CONTROL_CHARACTERS, Comment, Dictionary, WUniqueFormat, WUniqueFormats, XmlHttpRequestHandler, internalZoomFactorChange, contentChangeEvent, documentChangeEvent, selectionChangeEvent, zoomFactorChangeEvent, beforeFieldFillEvent, afterFieldFillEvent, afterFormFieldFillEvent, beforeFormFieldFillEvent, serviceFailureEvent, viewChangeEvent, customContextMenuSelectEvent, customContextMenuBeforeOpenEvent, contentControlEvent, beforecontentControlFillEvent, aftercontentControlFillEvent, commentBeginEvent, commentEndEvent, beforeCommentActionEvent, commentDeleteEvent, revisionActionEvent, beforePaneSwitchEvent, requestNavigateEvent, actionCompleteEvent, trackChangeEvent, searchResultsChangeEvent, keyDownEvent, toolbarClickEvent, beforeFileOpenEvent, internalviewChangeEvent, beforeXmlHttpRequestSend, protectionTypeChangeEvent, internalDocumentEditorSettingsChange, internalStyleCollectionChange, defaultFont, internalAutoResize, beforeAutoResize, trackChanges, internalOptionPaneChange, documentLoadFailedEvent, fileMenuItemClickEvent, sectionsProperty, fontSubstitutionTableProperty, characterFormatProperty, paragraphFormatProperty, listsProperty, abstractListsProperty, backgroundProperty, stylesProperty, commentsProperty, revisionsProperty, customXmlProperty, defaultTabWidthProperty, formattingProperty, trackChangesProperty, protectionTypeProperty, enforcementProperty, hashValueProperty, saltValueProperty, cryptProviderTypeProperty, cryptAlgorithmClassProperty, cryptAlgorithmTypeProperty, cryptAlgorithmSidProperty, cryptSpinCountProperty, doNotUseHTMLParagraphAutoSpacingProperty, alignTablesRowByRowProperty, formFieldShadingProperty, lastParagraphMarkCopiedProperty, footnotesProperty, endnotesProperty, compatibilityModeProperty, themeFontLanguagesProperty, themesProperty, nameProperty, basedOnProperty, nextProperty, linkProperty, localeIdProperty, localeIdFarEastProperty, localeIdBidiProperty, boldProperty, italicProperty, underlineProperty, underlineColorProperty, fontHintTypeProperty, baselineAlignmentProperty, strikethroughProperty, highlightColorProperty, fontSizeProperty, fontColorProperty, fontFamilyProperty, styleNameProperty, bidiProperty, bdoProperty, breakClearTypeProperty, fontSizeBidiProperty, fontFamilyBidiProperty, boldBidiProperty, italicBidiProperty, allCapsProperty, complexScriptProperty, fontFamilyAsciiProperty, fontFamilyFarEastProperty, fontFamilyNonFarEastProperty, revisionIdsProperty, listIdProperty, characterSpacingProperty, scalingProperty, listLevelNumberProperty, leftIndentProperty, rightIndentProperty, firstLineIndentProperty, textAlignmentProperty, afterSpacingProperty, beforeSpacingProperty, spaceAfterAutoProperty, spaceBeforeAutoProperty, lineSpacingProperty, lineSpacingTypeProperty, listFormatProperty, keepWithNextProperty, widowControlProperty, keepLinesTogetherProperty, outlineLevelProperty, contextualSpacingProperty, bordersProperty, tabsProperty, headerDistanceProperty, footerDistanceProperty, differentFirstPageProperty, differentOddAndEvenPagesProperty, pageWidthProperty, pageHeightProperty, leftMarginProperty, rightMarginProperty, topMarginProperty, bottomMarginProperty, restartPageNumberingProperty, pageStartingNumberProperty, endnoteNumberFormatProperty, footNoteNumberFormatProperty, restartIndexForFootnotesProperty, restartIndexForEndnotesProperty, initialFootNoteNumberProperty, initialEndNoteNumberProperty, pageNumberStyleProperty, columnsProperty, numberOfColumnsProperty, equalWidthProperty, lineBetweenColumnsProperty, breakCodeProperty, cellWidthProperty, columnSpanProperty, rowSpanProperty, verticalAlignmentProperty, allowBreakAcrossPagesProperty, isHeaderProperty, heightTypeProperty, beforeWidthProperty, afterWidthProperty, gridBeforeProperty, gridBeforeWidthProperty, gridBeforeWidthTypeProperty, gridAfterProperty, gridAfterWidthProperty, gridAfterWidthTypeProperty, allowAutoFitProperty, cellSpacingProperty, shadingProperty, tableAlignmentProperty, preferredWidthProperty, preferredWidthTypeProperty, horizontalPositionAbsProperty, textureProperty, backgroundColorProperty, foregroundColorProperty, shadowProperty, hasNoneStyleProperty, verticalProperty, horizontalProperty, diagonalUpProperty, diagonalDownProperty, lineStyleProperty, lineWidthProperty, layoutProperty, dataFormatProperty, yValueProperty, chartDataProperty, categoryXNameProperty, lineProperty, foreColorProperty, patternProperty, layoutXProperty, layoutYProperty, directionProperty, endStyleProperty, numberValueProperty, markerStyleProperty, markerColorProperty, markerSizeProperty, forwardProperty, backwardProperty, interceptProperty, isDisplayRSquaredProperty, isDisplayEquationProperty, seriesNameProperty, dataLabelProperty, errorBarProperty, seriesFormatProperty, trendLinesProperty, dataPointsProperty, firstSliceAngleProperty, holeSizeProperty, isLegendKeyProperty, isBubbleSizeProperty, isCategoryNameProperty, isSeriesNameProperty, isValueProperty, isPercentageProperty, isLeaderLinesProperty, showSeriesKeysProperty, hasHorizontalBorderProperty, hasVerticalBorderProperty, hasBordersProperty, categoryTypeProperty, chartCategoryProperty, chartSeriesProperty, chartAreaProperty, chartTitleAreaProperty, plotAreaProperty, chartLegendProperty, chartPrimaryCategoryAxisProperty, chartPrimaryValueAxisProperty, chartTitleProperty, chartTypeProperty, gapWidthProperty, overlapProperty, chartDataTableProperty, textProperty, shapeIdProperty, alternativeTextProperty, visibleProperty, belowTextProperty, horizontalRuleProperty, widthProperty, heightProperty, widthScaleProperty, heightScaleProperty, lineFormatProperty, fillFormatProperty, textWrappingStyleProperty, textWrappingTypeProperty, verticalRelativePercentProperty, horizontalRelativePercentProperty, heightRelativePercentProperty, widthRelativePercentProperty, zOrderPositionProperty, layoutInCellProperty, lockAnchorProperty, autoShapeTypeProperty, textFrameProperty, colorProperty, fillProperty, textVerticalAlignmentProperty, imageStringProperty, metaFileImageStringProperty, lengthProperty, isInlineImageProperty, isMetaFileProperty, topProperty, bottomProperty, rightProperty, leftProperty, getImageHeightProperty, getImageWidthProperty, hasFieldEndProperty, formFieldDataProperty, fieldTypeProperty, isCreatedUsingHtmlSpanTagProperty, enabledProperty, helpTextProperty, statusTextProperty, textInputProperty, checkBoxProperty, dropDownListProperty, maxLengthProperty, defaultValueProperty, formatProperty, sizeTypeProperty, sizeProperty, checkedProperty, dropDownItemsProperty, selectedIndexProperty, commentIdProperty, commentCharacterTypeProperty, authorProperty, initialProperty, dateProperty, doneProperty, replyCommentsProperty, revisionTypeProperty, revisionIdProperty, customDataProperty, itemIDProperty, xmlProperty, footnoteTypeProperty, symbolCodeProperty, symbolFontNameProperty, customMarkerProperty, inlinesProperty, contentControlPropertiesProperty, lockContentControlProperty, lockContentsProperty, tagProperty, titleProperty, hasPlaceHolderTextProperty, multiLineProperty, isTemporaryProperty, dateCalendarTypeProperty, dateStorageFormatProperty, dateDisplayLocaleProperty, dateDisplayFormatProperty, isCheckedProperty, uncheckedStateProperty, checkedStateProperty, contentControlListItemsProperty, xmlMappingProperty, fontProperty, valueProperty, displayTextProperty, isMappedProperty, isWordMlProperty, prefixMappingProperty, xPathProperty, storeItemIdProperty, customXmlPartProperty, idProperty, cellFormatProperty, rowFormatProperty, cellsProperty, rowsProperty, descriptionProperty, wrapTextAroundProperty, isLegalStyleNumberingProperty, positioningProperty, tableFormatProperty, allowOverlapProperty, distanceTopProperty, distanceRightProperty, distanceLeftProperty, distanceBottomProperty, verticalOriginProperty, verticalPositionProperty, horizontalOriginProperty, horizontalAlignmentProperty, horizontalPositionProperty, blocksProperty, headerProperty, footerProperty, evenHeaderProperty, evenFooterProperty, firstPageHeaderProperty, firstPageFooterProperty, headersFootersProperty, sectionFormatProperty, listLevelPatternProperty, followCharacterProperty, startAtProperty, restartLevelProperty, levelNumberProperty, numberFormatProperty, paraStyleNameProperty, abstractListIdProperty, nsidProperty, levelsProperty, overrideListLevelProperty, levelOverridesProperty, separatorProperty, continuationSeparatorProperty, continuationNoticeProperty, bookmarkTypeProperty, propertiesProperty, tabJustificationProperty, positionProperty, deletePositionProperty, leaderProperty, tabLeaderProperty, editRangeIdProperty, columnFirstProperty, columnLastProperty, userProperty, groupProperty, editableRangeStartProperty, spaceProperty, fontSchemeProperty, fontSchemeNameProperty, majorFontSchemeProperty, minorFontSchemeProperty, fontSchemeListProperty, fontTypefaceProperty, typefaceProperty, panoseProperty, typeProperty, majorUnitProperty, isAutoMajorProperty, maximumValueProperty, minimumValueProperty, hasMajorGridLinesProperty, hasMinorGridLinesProperty, majorTickMarkProperty, minorTickMarkProperty, tickLabelPositionProperty, rgbProperty, appearanceProperty, lineFormatTypeProperty, allowSpaceOfSameStyleInTableProperty, weightProperty, inlineFormatProperty, fontNameProperty, isCompressedProperty, columnIndexProperty, imagesProperty, isAfterParagraphMarkProperty, isAfterCellMarkProperty, isAfterRowMarkProperty, gridProperty, columnCountProperty, isAfterTableMarkProperty, incrementalOps, hiddenProperty, editingPointsProperty, childShapeProperty, offsetXValue, offsetYValue, extentXValue, extentYValue, Print, ContextMenu, CommentReviewPane, CommentPane, CommentView, HyperlinkDialog, TableDialog, BookmarkDialog, TableOfContentsDialog, PageSetupDialog, ParagraphDialog, ListDialog, StyleDialog, BulletsAndNumberingDialog, FontDialog, TablePropertiesDialog, BordersAndShadingDialog, TableOptionsDialog, CellOptionsDialog, StylesDialog, SpellCheckDialog, CheckBoxFormFieldDialog, TextFormFieldDialog, DropDownFormFieldDialog, FormFieldPopUp, ColumnsDialog, TabDialog, Editor, ImageResizer, ImageResizingPoints, SelectedImageInfo, TableResizer, HelperMethods, Point, Base64, WrapPosition, CollaborativeEditing, XmlPane, EditorHistory, BaseHistoryInfo, HistoryInfo, ModifiedLevel, ModifiedParagraphFormat, RowHistoryFormat, TableHistoryInfo, TableFormatHistoryInfo, RowFormatHistoryInfo, CellFormatHistoryInfo, CellHistoryFormat, WSectionFormat, WColumnFormat, WStyle, WParagraphStyle, WCharacterStyle, WTableStyle, WStyles, WCharacterFormat, WListFormat, WTabStop, WParagraphFormat, WTableFormat, WRowFormat, WCellFormat, WBorder, WBorders, WShading, WList, WAbstractList, WListLevel, WLevelOverride, AddUserDialog, EnforceProtectionDialog, UnProtectDocumentDialog, RestrictEditing, Search, OptionsPane, TextSearch, SearchWidgetInfo, TextSearchResult, TextSearchResults, Selection, SelectionCharacterFormat, SelectionBorder, SelectionBorders, SelectionParagraphFormat, SelectionHeaderFooter, SelectionSectionFormat, SelectionTableFormat, SelectionCellFormat, SelectionRowFormat, SelectionImageFormat, SelectionColumnFormat, TextPosition, SelectionWidgetInfo, Hyperlink, ImageSizeInfo, SpellChecker, Optimized, Regular, Revision, RevisionCollection, TrackChangesPane, ChangesSingleView, DocumentHelper, LayoutViewer, PageLayoutViewer, WebLayoutViewer, ColumnLayout, Rect, Padding, Margin, Widget, BlockContainer, BodyWidget, HeaderFooterWidget, BlockWidget, FootNoteWidget, ParagraphWidget, TablePosition, TableWidget, TableRowWidget, TableCellWidget, LineWidget, ElementBox, FieldElementBox, FormField, TextFormField, CheckBoxFormField, DropDownFormField, TextElementBox, Footnote, FootnoteElementBox, ErrorTextElementBox, FieldTextElementBox, TabElementBox, BookmarkElementBox, ContentControl, ContentControlProperties, ContentControlListItems, CheckBoxState, XmlMapping, CustomXmlPart, ShapeCommon, ShapeBase, ShapeElementBox, GroupShapeElementBox, TextFrame, LineFormat, FillFormat, ImageElementBox, ListTextElementBox, EditRangeEndElementBox, EditRangeStartElementBox, ChartElementBox, ChartArea, ChartCategory, ChartData, ChartLegend, ChartSeries, ChartErrorBar, ChartSeriesFormat, ChartDataLabels, ChartTrendLines, ChartTitleArea, ChartDataFormat, ChartFill, ChartLayout, ChartCategoryAxis, ChartDataTable, CommentCharacterElementBox, CommentElementBox, Page, WTableHolder, WColumn, ColumnSizeInfo, CommentEditInfo, MentionDataEditInfo, BreakElementBox, TabStopListInfo, FootnoteEndnoteMarkerElementBox, Layout, Renderer, SfdtReader, TextHelper, Zoom, WordExport, TextExport, SfdtExport, HtmlExport, FontScheme, FontSchemeStruct, Themes, MajorMinorFontScheme, CollaborativeEditingHandler, DocumentEditorSettings, DocumentSettings, RevisionSettings, AutoResizeSettings, DocumentEditor, ServerActionSettings, FormFieldSettings, CollaborativeEditingSettings, ContainerServerActionSettings, Toolbar, Ribbon, HOME_TAB_ID, HOME_TAB_TEXT, HomeTab, VIEW_TAB_ID, ViewTab, DocumentEditorContainer } from '@syncfusion/ej2-documenteditor';
616
+ //# sourceMappingURL=ej2-angular-documenteditor.js.map