@syncfusion/ej2-angular-documenteditor 29.2.11-ngcc → 30.1.37-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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: ej2-angular-documenteditor.umd.js
3
- * version : 29.2.11
3
+ * version : 30.1.37
4
4
  * Copyright Syncfusion Inc. 2001 - 2024. 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
@@ -13,632 +13,641 @@
13
13
  (factory((global['ej2-angular-documenteditor'] = {}),global.ng.core,global.ej2.angular.base,global.ej2.documenteditor,global.ng.common));
14
14
  }(this, (function (exports,core,ej2AngularBase,ej2Documenteditor,common) { 'use strict';
15
15
 
16
- var __extends = (this && this.__extends) || (function () {
17
- var extendStatics = Object.setPrototypeOf ||
18
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
20
- return function (d, b) {
21
- extendStatics(d, b);
22
- function __() { this.constructor = d; }
23
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
24
- };
25
- })();
26
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
27
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
28
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
29
- r = Reflect.decorate(decorators, target, key, desc);
30
- else
31
- for (var i = decorators.length - 1; i >= 0; i--)
32
- if (d = decorators[i])
33
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
34
- return c > 3 && r && Object.defineProperty(target, key, r), r;
35
- };
36
- var __metadata = (this && this.__metadata) || function (k, v) {
37
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
38
- return Reflect.metadata(k, v);
39
- };
40
- var inputs = ['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'];
41
- var 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'];
42
- var twoWays = [];
43
- /**
44
- * `ejs-documenteditor` represents the Angular Document Editor Component.
45
- * ```html
46
- * <ejs-documenteditor isReadOnly='true' enableSelection='true'></ejs-documenteditor>
47
- * ```
48
- */
49
- exports.DocumentEditorComponent = /** @class */ (function (_super) {
50
- __extends(DocumentEditorComponent, _super);
51
- /**
52
- * @param {?} ngEle
53
- * @param {?} srenderer
54
- * @param {?} viewContainerRef
55
- * @param {?} injector
56
- */
57
- function DocumentEditorComponent(ngEle, srenderer, viewContainerRef, injector) {
58
- var _this = _super.call(this) || this;
59
- _this.ngEle = ngEle;
60
- _this.srenderer = srenderer;
61
- _this.viewContainerRef = viewContainerRef;
62
- _this.injector = injector;
63
- _this.element = _this.ngEle.nativeElement;
64
- _this.injectedModules = _this.injectedModules || [];
65
- try {
66
- var mod = _this.injector.get('DocumentEditorPrint');
67
- if (_this.injectedModules.indexOf(mod) === -1) {
68
- _this.injectedModules.push(mod);
69
- }
70
- }
71
- catch (_a) { }
72
- try {
73
- var mod = _this.injector.get('DocumentEditorSfdtExport');
74
- if (_this.injectedModules.indexOf(mod) === -1) {
75
- _this.injectedModules.push(mod);
76
- }
77
- }
78
- catch (_b) { }
79
- try {
80
- var mod = _this.injector.get('DocumentEditorWordExport');
81
- if (_this.injectedModules.indexOf(mod) === -1) {
82
- _this.injectedModules.push(mod);
83
- }
84
- }
85
- catch (_c) { }
86
- try {
87
- var mod = _this.injector.get('DocumentEditorTextExport');
88
- if (_this.injectedModules.indexOf(mod) === -1) {
89
- _this.injectedModules.push(mod);
90
- }
91
- }
92
- catch (_d) { }
93
- try {
94
- var mod = _this.injector.get('DocumentEditorSelection');
95
- if (_this.injectedModules.indexOf(mod) === -1) {
96
- _this.injectedModules.push(mod);
97
- }
98
- }
99
- catch (_e) { }
100
- try {
101
- var mod = _this.injector.get('DocumentEditorSearch');
102
- if (_this.injectedModules.indexOf(mod) === -1) {
103
- _this.injectedModules.push(mod);
104
- }
105
- }
106
- catch (_f) { }
107
- try {
108
- var mod = _this.injector.get('DocumentEditorEditor');
109
- if (_this.injectedModules.indexOf(mod) === -1) {
110
- _this.injectedModules.push(mod);
111
- }
112
- }
113
- catch (_g) { }
114
- try {
115
- var mod = _this.injector.get('DocumentEditorEditorHistory');
116
- if (_this.injectedModules.indexOf(mod) === -1) {
117
- _this.injectedModules.push(mod);
118
- }
119
- }
120
- catch (_h) { }
121
- try {
122
- var mod = _this.injector.get('DocumentEditorOptionsPane');
123
- if (_this.injectedModules.indexOf(mod) === -1) {
124
- _this.injectedModules.push(mod);
125
- }
126
- }
127
- catch (_j) { }
128
- try {
129
- var mod = _this.injector.get('DocumentEditorContextMenu');
130
- if (_this.injectedModules.indexOf(mod) === -1) {
131
- _this.injectedModules.push(mod);
132
- }
133
- }
134
- catch (_k) { }
135
- try {
136
- var mod = _this.injector.get('DocumentEditorImageResizer');
137
- if (_this.injectedModules.indexOf(mod) === -1) {
138
- _this.injectedModules.push(mod);
139
- }
140
- }
141
- catch (_l) { }
142
- try {
143
- var mod = _this.injector.get('DocumentEditorHyperlinkDialog');
144
- if (_this.injectedModules.indexOf(mod) === -1) {
145
- _this.injectedModules.push(mod);
146
- }
147
- }
148
- catch (_m) { }
149
- try {
150
- var mod = _this.injector.get('DocumentEditorTableDialog');
151
- if (_this.injectedModules.indexOf(mod) === -1) {
152
- _this.injectedModules.push(mod);
153
- }
154
- }
155
- catch (_o) { }
156
- try {
157
- var mod = _this.injector.get('DocumentEditorBookmarkDialog');
158
- if (_this.injectedModules.indexOf(mod) === -1) {
159
- _this.injectedModules.push(mod);
160
- }
161
- }
162
- catch (_p) { }
163
- try {
164
- var mod = _this.injector.get('DocumentEditorTableOfContentsDialog');
165
- if (_this.injectedModules.indexOf(mod) === -1) {
166
- _this.injectedModules.push(mod);
167
- }
168
- }
169
- catch (_q) { }
170
- try {
171
- var mod = _this.injector.get('DocumentEditorPageSetupDialog');
172
- if (_this.injectedModules.indexOf(mod) === -1) {
173
- _this.injectedModules.push(mod);
174
- }
175
- }
176
- catch (_r) { }
177
- try {
178
- var mod = _this.injector.get('DocumentEditorParagraphDialog');
179
- if (_this.injectedModules.indexOf(mod) === -1) {
180
- _this.injectedModules.push(mod);
181
- }
182
- }
183
- catch (_s) { }
184
- try {
185
- var mod = _this.injector.get('DocumentEditorListDialog');
186
- if (_this.injectedModules.indexOf(mod) === -1) {
187
- _this.injectedModules.push(mod);
188
- }
189
- }
190
- catch (_t) { }
191
- try {
192
- var mod = _this.injector.get('DocumentEditorStyleDialog');
193
- if (_this.injectedModules.indexOf(mod) === -1) {
194
- _this.injectedModules.push(mod);
195
- }
196
- }
197
- catch (_u) { }
198
- try {
199
- var mod = _this.injector.get('DocumentEditorStylesDialog');
200
- if (_this.injectedModules.indexOf(mod) === -1) {
201
- _this.injectedModules.push(mod);
202
- }
203
- }
204
- catch (_v) { }
205
- try {
206
- var mod = _this.injector.get('DocumentEditorBulletsAndNumberingDialog');
207
- if (_this.injectedModules.indexOf(mod) === -1) {
208
- _this.injectedModules.push(mod);
209
- }
210
- }
211
- catch (_w) { }
212
- try {
213
- var mod = _this.injector.get('DocumentEditorFontDialog');
214
- if (_this.injectedModules.indexOf(mod) === -1) {
215
- _this.injectedModules.push(mod);
216
- }
217
- }
218
- catch (_x) { }
219
- try {
220
- var mod = _this.injector.get('DocumentEditorTablePropertiesDialog');
221
- if (_this.injectedModules.indexOf(mod) === -1) {
222
- _this.injectedModules.push(mod);
223
- }
224
- }
225
- catch (_y) { }
226
- try {
227
- var mod = _this.injector.get('DocumentEditorBordersAndShadingDialog');
228
- if (_this.injectedModules.indexOf(mod) === -1) {
229
- _this.injectedModules.push(mod);
230
- }
231
- }
232
- catch (_z) { }
233
- try {
234
- var mod = _this.injector.get('DocumentEditorTableOptionsDialog');
235
- if (_this.injectedModules.indexOf(mod) === -1) {
236
- _this.injectedModules.push(mod);
237
- }
238
- }
239
- catch (_0) { }
240
- try {
241
- var mod = _this.injector.get('DocumentEditorCellOptionsDialog');
242
- if (_this.injectedModules.indexOf(mod) === -1) {
243
- _this.injectedModules.push(mod);
244
- }
245
- }
246
- catch (_1) { }
247
- try {
248
- var mod = _this.injector.get('DocumentEditorSpellChecker');
249
- if (_this.injectedModules.indexOf(mod) === -1) {
250
- _this.injectedModules.push(mod);
251
- }
252
- }
253
- catch (_2) { }
254
- try {
255
- var mod = _this.injector.get('DocumentEditorSpellCheckDialog');
256
- if (_this.injectedModules.indexOf(mod) === -1) {
257
- _this.injectedModules.push(mod);
258
- }
259
- }
260
- catch (_3) { }
261
- try {
262
- var mod = _this.injector.get('DocumentEditorCollaborativeEditing');
263
- if (_this.injectedModules.indexOf(mod) === -1) {
264
- _this.injectedModules.push(mod);
265
- }
266
- }
267
- catch (_4) { }
268
- try {
269
- var mod = _this.injector.get('DocumentEditorColumnsDialog');
270
- if (_this.injectedModules.indexOf(mod) === -1) {
271
- _this.injectedModules.push(mod);
272
- }
273
- }
274
- catch (_5) { }
275
- try {
276
- var mod = _this.injector.get('DocumentEditorCollaborativeEditingHandler');
277
- if (_this.injectedModules.indexOf(mod) === -1) {
278
- _this.injectedModules.push(mod);
279
- }
280
- }
281
- catch (_6) { }
282
- try {
283
- var mod = _this.injector.get('DocumentEditorOptimized');
284
- if (_this.injectedModules.indexOf(mod) === -1) {
285
- _this.injectedModules.push(mod);
286
- }
287
- }
288
- catch (_7) { }
289
- try {
290
- var mod = _this.injector.get('DocumentEditorTabDialog');
291
- if (_this.injectedModules.indexOf(mod) === -1) {
292
- _this.injectedModules.push(mod);
293
- }
294
- }
295
- catch (_8) { }
296
- try {
297
- var mod = _this.injector.get('DocumentEditorTextFormFieldDialog');
298
- if (_this.injectedModules.indexOf(mod) === -1) {
299
- _this.injectedModules.push(mod);
300
- }
301
- }
302
- catch (_9) { }
303
- try {
304
- var mod = _this.injector.get('DocumentEditorDropDownFormFieldDialog');
305
- if (_this.injectedModules.indexOf(mod) === -1) {
306
- _this.injectedModules.push(mod);
307
- }
308
- }
309
- catch (_10) { }
310
- try {
311
- var mod = _this.injector.get('DocumentEditorCheckBoxFormFieldDialog');
312
- if (_this.injectedModules.indexOf(mod) === -1) {
313
- _this.injectedModules.push(mod);
314
- }
315
- }
316
- catch (_11) { }
317
- _this.registerEvents(outputs);
318
- _this.addTwoWay.call(_this, twoWays);
319
- ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
320
- _this.context = new ej2AngularBase.ComponentBase();
321
- return _this;
322
- }
323
- /**
324
- * @return {?}
325
- */
326
- DocumentEditorComponent.prototype.ngOnInit = function () {
327
- this.context.ngOnInit(this);
328
- };
329
- /**
330
- * @return {?}
331
- */
332
- DocumentEditorComponent.prototype.ngAfterViewInit = function () {
333
- this.context.ngAfterViewInit(this);
334
- };
335
- /**
336
- * @return {?}
337
- */
338
- DocumentEditorComponent.prototype.ngOnDestroy = function () {
339
- this.context.ngOnDestroy(this);
340
- };
341
- /**
342
- * @return {?}
343
- */
344
- DocumentEditorComponent.prototype.ngAfterContentChecked = function () {
345
- this.context.ngAfterContentChecked(this);
346
- };
347
- return DocumentEditorComponent;
348
- }(ej2Documenteditor.DocumentEditor));
349
- exports.DocumentEditorComponent.decorators = [
350
- { type: core.Component, args: [{
351
- selector: 'ejs-documenteditor',
352
- inputs: inputs,
353
- outputs: outputs,
354
- template: '',
355
- changeDetection: core.ChangeDetectionStrategy.OnPush,
356
- queries: {}
357
- },] },
358
- ];
359
- /**
360
- * @nocollapse
361
- */
362
- exports.DocumentEditorComponent.ctorParameters = function () { return [
363
- { type: core.ElementRef, },
364
- { type: core.Renderer2, },
365
- { type: core.ViewContainerRef, },
366
- { type: core.Injector, },
367
- ]; };
368
- exports.DocumentEditorComponent = __decorate([
369
- ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase]),
370
- __metadata("design:paramtypes", [core.ElementRef,
371
- core.Renderer2,
372
- core.ViewContainerRef,
373
- core.Injector])
374
- ], exports.DocumentEditorComponent);
375
- /**
376
- * NgModule definition for the DocumentEditor component.
377
- */
378
- var DocumentEditorModule = /** @class */ (function () {
379
- function DocumentEditorModule() {
380
- }
381
- return DocumentEditorModule;
382
- }());
383
- DocumentEditorModule.decorators = [
384
- { type: core.NgModule, args: [{
385
- imports: [common.CommonModule],
386
- declarations: [
387
- exports.DocumentEditorComponent
388
- ],
389
- exports: [
390
- exports.DocumentEditorComponent
391
- ]
392
- },] },
393
- ];
394
- /**
395
- * @nocollapse
396
- */
397
- DocumentEditorModule.ctorParameters = function () { return []; };
398
- var PrintService = { provide: 'DocumentEditorPrint', useValue: ej2Documenteditor.Print };
399
- var SfdtExportService = { provide: 'DocumentEditorSfdtExport', useValue: ej2Documenteditor.SfdtExport };
400
- var WordExportService = { provide: 'DocumentEditorWordExport', useValue: ej2Documenteditor.WordExport };
401
- var TextExportService = { provide: 'DocumentEditorTextExport', useValue: ej2Documenteditor.TextExport };
402
- var SelectionService = { provide: 'DocumentEditorSelection', useValue: ej2Documenteditor.Selection };
403
- var SearchService = { provide: 'DocumentEditorSearch', useValue: ej2Documenteditor.Search };
404
- var EditorService = { provide: 'DocumentEditorEditor', useValue: ej2Documenteditor.Editor };
405
- var EditorHistoryService = { provide: 'DocumentEditorEditorHistory', useValue: ej2Documenteditor.EditorHistory };
406
- var OptionsPaneService = { provide: 'DocumentEditorOptionsPane', useValue: ej2Documenteditor.OptionsPane };
407
- var ContextMenuService = { provide: 'DocumentEditorContextMenu', useValue: ej2Documenteditor.ContextMenu };
408
- var ImageResizerService = { provide: 'DocumentEditorImageResizer', useValue: ej2Documenteditor.ImageResizer };
409
- var HyperlinkDialogService = { provide: 'DocumentEditorHyperlinkDialog', useValue: ej2Documenteditor.HyperlinkDialog };
410
- var TableDialogService = { provide: 'DocumentEditorTableDialog', useValue: ej2Documenteditor.TableDialog };
411
- var BookmarkDialogService = { provide: 'DocumentEditorBookmarkDialog', useValue: ej2Documenteditor.BookmarkDialog };
412
- var TableOfContentsDialogService = { provide: 'DocumentEditorTableOfContentsDialog', useValue: ej2Documenteditor.TableOfContentsDialog };
413
- var PageSetupDialogService = { provide: 'DocumentEditorPageSetupDialog', useValue: ej2Documenteditor.PageSetupDialog };
414
- var ParagraphDialogService = { provide: 'DocumentEditorParagraphDialog', useValue: ej2Documenteditor.ParagraphDialog };
415
- var ListDialogService = { provide: 'DocumentEditorListDialog', useValue: ej2Documenteditor.ListDialog };
416
- var StyleDialogService = { provide: 'DocumentEditorStyleDialog', useValue: ej2Documenteditor.StyleDialog };
417
- var StylesDialogService = { provide: 'DocumentEditorStylesDialog', useValue: ej2Documenteditor.StylesDialog };
418
- var BulletsAndNumberingDialogService = { provide: 'DocumentEditorBulletsAndNumberingDialog', useValue: ej2Documenteditor.BulletsAndNumberingDialog };
419
- var FontDialogService = { provide: 'DocumentEditorFontDialog', useValue: ej2Documenteditor.FontDialog };
420
- var TablePropertiesDialogService = { provide: 'DocumentEditorTablePropertiesDialog', useValue: ej2Documenteditor.TablePropertiesDialog };
421
- var BordersAndShadingDialogService = { provide: 'DocumentEditorBordersAndShadingDialog', useValue: ej2Documenteditor.BordersAndShadingDialog };
422
- var TableOptionsDialogService = { provide: 'DocumentEditorTableOptionsDialog', useValue: ej2Documenteditor.TableOptionsDialog };
423
- var CellOptionsDialogService = { provide: 'DocumentEditorCellOptionsDialog', useValue: ej2Documenteditor.CellOptionsDialog };
424
- var SpellCheckerService = { provide: 'DocumentEditorSpellChecker', useValue: ej2Documenteditor.SpellChecker };
425
- var SpellCheckDialogService = { provide: 'DocumentEditorSpellCheckDialog', useValue: ej2Documenteditor.SpellCheckDialog };
426
- var CollaborativeEditingService = { provide: 'DocumentEditorCollaborativeEditing', useValue: ej2Documenteditor.CollaborativeEditing };
427
- var ColumnsDialogService = { provide: 'DocumentEditorColumnsDialog', useValue: ej2Documenteditor.ColumnsDialog };
428
- var CollaborativeEditingHandlerService = { provide: 'DocumentEditorCollaborativeEditingHandler', useValue: ej2Documenteditor.CollaborativeEditingHandler };
429
- var OptimizedService = { provide: 'DocumentEditorOptimized', useValue: ej2Documenteditor.Optimized };
430
- var TabDialogService = { provide: 'DocumentEditorTabDialog', useValue: ej2Documenteditor.TabDialog };
431
- var TextFormFieldDialogService = { provide: 'DocumentEditorTextFormFieldDialog', useValue: ej2Documenteditor.TextFormFieldDialog };
432
- var DropDownFormFieldDialogService = { provide: 'DocumentEditorDropDownFormFieldDialog', useValue: ej2Documenteditor.DropDownFormFieldDialog };
433
- var CheckBoxFormFieldDialogService = { provide: 'DocumentEditorCheckBoxFormFieldDialog', useValue: ej2Documenteditor.CheckBoxFormFieldDialog };
434
- /**
435
- * NgModule definition for the DocumentEditor component with providers.
436
- */
437
- var DocumentEditorAllModule = /** @class */ (function () {
438
- function DocumentEditorAllModule() {
439
- }
440
- return DocumentEditorAllModule;
441
- }());
442
- DocumentEditorAllModule.decorators = [
443
- { type: core.NgModule, args: [{
444
- imports: [common.CommonModule, DocumentEditorModule],
445
- exports: [
446
- DocumentEditorModule
447
- ],
448
- providers: [
449
- PrintService,
450
- SfdtExportService,
451
- WordExportService,
452
- TextExportService,
453
- SelectionService,
454
- SearchService,
455
- EditorService,
456
- EditorHistoryService,
457
- OptionsPaneService,
458
- ContextMenuService,
459
- ImageResizerService,
460
- HyperlinkDialogService,
461
- TableDialogService,
462
- BookmarkDialogService,
463
- TableOfContentsDialogService,
464
- PageSetupDialogService,
465
- ParagraphDialogService,
466
- ListDialogService,
467
- StyleDialogService,
468
- StylesDialogService,
469
- BulletsAndNumberingDialogService,
470
- FontDialogService,
471
- TablePropertiesDialogService,
472
- BordersAndShadingDialogService,
473
- TableOptionsDialogService,
474
- CellOptionsDialogService,
475
- SpellCheckerService,
476
- SpellCheckDialogService,
477
- CollaborativeEditingService,
478
- ColumnsDialogService,
479
- CollaborativeEditingHandlerService,
480
- OptimizedService,
481
- TabDialogService,
482
- TextFormFieldDialogService,
483
- DropDownFormFieldDialogService,
484
- CheckBoxFormFieldDialogService
485
- ]
486
- },] },
487
- ];
488
- /**
489
- * @nocollapse
490
- */
491
- DocumentEditorAllModule.ctorParameters = function () { return []; };
492
- var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
493
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
494
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
495
- r = Reflect.decorate(decorators, target, key, desc);
496
- else
497
- for (var i = decorators.length - 1; i >= 0; i--)
498
- if (d = decorators[i])
499
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
500
- return c > 3 && r && Object.defineProperty(target, key, r), r;
501
- };
502
- var __metadata$1 = (this && this.__metadata) || function (k, v) {
503
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
504
- return Reflect.metadata(k, v);
505
- };
506
- var inputs$1 = ['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'];
507
- var outputs$1 = ['beforeAcceptRejectChanges', 'beforeCommentAction', 'beforePaneSwitch', 'commentDelete', 'contentChange', 'contentControl', 'created', 'customContextMenuBeforeOpen', 'customContextMenuSelect', 'destroyed', 'documentChange', 'selectionChange', 'serviceFailure', 'toolbarClick', 'trackChange', 'beforeXmlHttpRequestSend'];
508
- var twoWays$1 = [];
509
- /**
510
- * `ejs-documenteditor-container` represents the Angular Document Editor Container.
511
- * ```html
512
- * <ejs-documenteditor-container></ejs-documenteditor-container>
513
- * ```
514
- */
515
- exports.DocumentEditorContainerComponent = /** @class */ (function (_super) {
516
- __extends(DocumentEditorContainerComponent, _super);
517
- /**
518
- * @param {?} ngEle
519
- * @param {?} srenderer
520
- * @param {?} viewContainerRef
521
- * @param {?} injector
522
- */
523
- function DocumentEditorContainerComponent(ngEle, srenderer, viewContainerRef, injector) {
524
- var _this = _super.call(this) || this;
525
- _this.ngEle = ngEle;
526
- _this.srenderer = srenderer;
527
- _this.viewContainerRef = viewContainerRef;
528
- _this.injector = injector;
529
- _this.element = _this.ngEle.nativeElement;
530
- _this.injectedModules = _this.injectedModules || [];
531
- try {
532
- var mod = _this.injector.get('DocumentEditorToolbar');
533
- if (_this.injectedModules.indexOf(mod) === -1) {
534
- _this.injectedModules.push(mod);
535
- }
536
- }
537
- catch (_a) { }
538
- _this.registerEvents(outputs$1);
539
- _this.addTwoWay.call(_this, twoWays$1);
540
- ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
541
- _this.context = new ej2AngularBase.ComponentBase();
542
- return _this;
543
- }
544
- /**
545
- * @return {?}
546
- */
547
- DocumentEditorContainerComponent.prototype.ngOnInit = function () {
548
- this.context.ngOnInit(this);
549
- };
550
- /**
551
- * @return {?}
552
- */
553
- DocumentEditorContainerComponent.prototype.ngAfterViewInit = function () {
554
- this.context.ngAfterViewInit(this);
555
- };
556
- /**
557
- * @return {?}
558
- */
559
- DocumentEditorContainerComponent.prototype.ngOnDestroy = function () {
560
- this.context.ngOnDestroy(this);
561
- };
562
- /**
563
- * @return {?}
564
- */
565
- DocumentEditorContainerComponent.prototype.ngAfterContentChecked = function () {
566
- this.context.ngAfterContentChecked(this);
567
- };
568
- return DocumentEditorContainerComponent;
569
- }(ej2Documenteditor.DocumentEditorContainer));
570
- exports.DocumentEditorContainerComponent.decorators = [
571
- { type: core.Component, args: [{
572
- selector: 'ejs-documenteditorcontainer',
573
- inputs: inputs$1,
574
- outputs: outputs$1,
575
- template: '',
576
- changeDetection: core.ChangeDetectionStrategy.OnPush,
577
- queries: {}
578
- },] },
579
- ];
580
- /**
581
- * @nocollapse
582
- */
583
- exports.DocumentEditorContainerComponent.ctorParameters = function () { return [
584
- { type: core.ElementRef, },
585
- { type: core.Renderer2, },
586
- { type: core.ViewContainerRef, },
587
- { type: core.Injector, },
588
- ]; };
589
- exports.DocumentEditorContainerComponent = __decorate$1([
590
- ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase]),
591
- __metadata$1("design:paramtypes", [core.ElementRef,
592
- core.Renderer2,
593
- core.ViewContainerRef,
594
- core.Injector])
595
- ], exports.DocumentEditorContainerComponent);
596
- /**
597
- * NgModule definition for the DocumentEditorContainer component.
598
- */
599
- var DocumentEditorContainerModule = /** @class */ (function () {
600
- function DocumentEditorContainerModule() {
601
- }
602
- return DocumentEditorContainerModule;
603
- }());
604
- DocumentEditorContainerModule.decorators = [
605
- { type: core.NgModule, args: [{
606
- imports: [common.CommonModule],
607
- declarations: [
608
- exports.DocumentEditorContainerComponent
609
- ],
610
- exports: [
611
- exports.DocumentEditorContainerComponent
612
- ]
613
- },] },
614
- ];
615
- /**
616
- * @nocollapse
617
- */
618
- DocumentEditorContainerModule.ctorParameters = function () { return []; };
619
- var ToolbarService = { provide: 'DocumentEditorToolbar', useValue: ej2Documenteditor.Toolbar };
620
- /**
621
- * NgModule definition for the DocumentEditorContainer component with providers.
622
- */
623
- var DocumentEditorContainerAllModule = /** @class */ (function () {
624
- function DocumentEditorContainerAllModule() {
625
- }
626
- return DocumentEditorContainerAllModule;
627
- }());
628
- DocumentEditorContainerAllModule.decorators = [
629
- { type: core.NgModule, args: [{
630
- imports: [common.CommonModule, DocumentEditorContainerModule],
631
- exports: [
632
- DocumentEditorContainerModule
633
- ],
634
- providers: [
635
- ToolbarService
636
- ]
637
- },] },
638
- ];
639
- /**
640
- * @nocollapse
641
- */
16
+ var __extends = (this && this.__extends) || (function () {
17
+ var extendStatics = Object.setPrototypeOf ||
18
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
20
+ return function (d, b) {
21
+ extendStatics(d, b);
22
+ function __() { this.constructor = d; }
23
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
24
+ };
25
+ })();
26
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
27
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
28
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
29
+ r = Reflect.decorate(decorators, target, key, desc);
30
+ else
31
+ for (var i = decorators.length - 1; i >= 0; i--)
32
+ if (d = decorators[i])
33
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
34
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
35
+ };
36
+ var __metadata = (this && this.__metadata) || function (k, v) {
37
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
38
+ return Reflect.metadata(k, v);
39
+ };
40
+ var 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'];
41
+ var 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'];
42
+ var twoWays = [];
43
+ /**
44
+ * `ejs-documenteditor` represents the Angular Document Editor Component.
45
+ * ```html
46
+ * <ejs-documenteditor isReadOnly='true' enableSelection='true'></ejs-documenteditor>
47
+ * ```
48
+ */
49
+ exports.DocumentEditorComponent = /** @class */ (function (_super) {
50
+ __extends(DocumentEditorComponent, _super);
51
+ /**
52
+ * @param {?} ngEle
53
+ * @param {?} srenderer
54
+ * @param {?} viewContainerRef
55
+ * @param {?} injector
56
+ */
57
+ function DocumentEditorComponent(ngEle, srenderer, viewContainerRef, injector) {
58
+ var _this = _super.call(this) || this;
59
+ _this.ngEle = ngEle;
60
+ _this.srenderer = srenderer;
61
+ _this.viewContainerRef = viewContainerRef;
62
+ _this.injector = injector;
63
+ _this.element = _this.ngEle.nativeElement;
64
+ _this.injectedModules = _this.injectedModules || [];
65
+ try {
66
+ var mod = _this.injector.get('DocumentEditorPrint');
67
+ if (_this.injectedModules.indexOf(mod) === -1) {
68
+ _this.injectedModules.push(mod);
69
+ }
70
+ }
71
+ catch (_a) { }
72
+ try {
73
+ var mod = _this.injector.get('DocumentEditorSfdtExport');
74
+ if (_this.injectedModules.indexOf(mod) === -1) {
75
+ _this.injectedModules.push(mod);
76
+ }
77
+ }
78
+ catch (_b) { }
79
+ try {
80
+ var mod = _this.injector.get('DocumentEditorWordExport');
81
+ if (_this.injectedModules.indexOf(mod) === -1) {
82
+ _this.injectedModules.push(mod);
83
+ }
84
+ }
85
+ catch (_c) { }
86
+ try {
87
+ var mod = _this.injector.get('DocumentEditorTextExport');
88
+ if (_this.injectedModules.indexOf(mod) === -1) {
89
+ _this.injectedModules.push(mod);
90
+ }
91
+ }
92
+ catch (_d) { }
93
+ try {
94
+ var mod = _this.injector.get('DocumentEditorSelection');
95
+ if (_this.injectedModules.indexOf(mod) === -1) {
96
+ _this.injectedModules.push(mod);
97
+ }
98
+ }
99
+ catch (_e) { }
100
+ try {
101
+ var mod = _this.injector.get('DocumentEditorSearch');
102
+ if (_this.injectedModules.indexOf(mod) === -1) {
103
+ _this.injectedModules.push(mod);
104
+ }
105
+ }
106
+ catch (_f) { }
107
+ try {
108
+ var mod = _this.injector.get('DocumentEditorEditor');
109
+ if (_this.injectedModules.indexOf(mod) === -1) {
110
+ _this.injectedModules.push(mod);
111
+ }
112
+ }
113
+ catch (_g) { }
114
+ try {
115
+ var mod = _this.injector.get('DocumentEditorEditorHistory');
116
+ if (_this.injectedModules.indexOf(mod) === -1) {
117
+ _this.injectedModules.push(mod);
118
+ }
119
+ }
120
+ catch (_h) { }
121
+ try {
122
+ var mod = _this.injector.get('DocumentEditorOptionsPane');
123
+ if (_this.injectedModules.indexOf(mod) === -1) {
124
+ _this.injectedModules.push(mod);
125
+ }
126
+ }
127
+ catch (_j) { }
128
+ try {
129
+ var mod = _this.injector.get('DocumentEditorContextMenu');
130
+ if (_this.injectedModules.indexOf(mod) === -1) {
131
+ _this.injectedModules.push(mod);
132
+ }
133
+ }
134
+ catch (_k) { }
135
+ try {
136
+ var mod = _this.injector.get('DocumentEditorImageResizer');
137
+ if (_this.injectedModules.indexOf(mod) === -1) {
138
+ _this.injectedModules.push(mod);
139
+ }
140
+ }
141
+ catch (_l) { }
142
+ try {
143
+ var mod = _this.injector.get('DocumentEditorHyperlinkDialog');
144
+ if (_this.injectedModules.indexOf(mod) === -1) {
145
+ _this.injectedModules.push(mod);
146
+ }
147
+ }
148
+ catch (_m) { }
149
+ try {
150
+ var mod = _this.injector.get('DocumentEditorTableDialog');
151
+ if (_this.injectedModules.indexOf(mod) === -1) {
152
+ _this.injectedModules.push(mod);
153
+ }
154
+ }
155
+ catch (_o) { }
156
+ try {
157
+ var mod = _this.injector.get('DocumentEditorBookmarkDialog');
158
+ if (_this.injectedModules.indexOf(mod) === -1) {
159
+ _this.injectedModules.push(mod);
160
+ }
161
+ }
162
+ catch (_p) { }
163
+ try {
164
+ var mod = _this.injector.get('DocumentEditorTableOfContentsDialog');
165
+ if (_this.injectedModules.indexOf(mod) === -1) {
166
+ _this.injectedModules.push(mod);
167
+ }
168
+ }
169
+ catch (_q) { }
170
+ try {
171
+ var mod = _this.injector.get('DocumentEditorPageSetupDialog');
172
+ if (_this.injectedModules.indexOf(mod) === -1) {
173
+ _this.injectedModules.push(mod);
174
+ }
175
+ }
176
+ catch (_r) { }
177
+ try {
178
+ var mod = _this.injector.get('DocumentEditorParagraphDialog');
179
+ if (_this.injectedModules.indexOf(mod) === -1) {
180
+ _this.injectedModules.push(mod);
181
+ }
182
+ }
183
+ catch (_s) { }
184
+ try {
185
+ var mod = _this.injector.get('DocumentEditorListDialog');
186
+ if (_this.injectedModules.indexOf(mod) === -1) {
187
+ _this.injectedModules.push(mod);
188
+ }
189
+ }
190
+ catch (_t) { }
191
+ try {
192
+ var mod = _this.injector.get('DocumentEditorStyleDialog');
193
+ if (_this.injectedModules.indexOf(mod) === -1) {
194
+ _this.injectedModules.push(mod);
195
+ }
196
+ }
197
+ catch (_u) { }
198
+ try {
199
+ var mod = _this.injector.get('DocumentEditorStylesDialog');
200
+ if (_this.injectedModules.indexOf(mod) === -1) {
201
+ _this.injectedModules.push(mod);
202
+ }
203
+ }
204
+ catch (_v) { }
205
+ try {
206
+ var mod = _this.injector.get('DocumentEditorBulletsAndNumberingDialog');
207
+ if (_this.injectedModules.indexOf(mod) === -1) {
208
+ _this.injectedModules.push(mod);
209
+ }
210
+ }
211
+ catch (_w) { }
212
+ try {
213
+ var mod = _this.injector.get('DocumentEditorFontDialog');
214
+ if (_this.injectedModules.indexOf(mod) === -1) {
215
+ _this.injectedModules.push(mod);
216
+ }
217
+ }
218
+ catch (_x) { }
219
+ try {
220
+ var mod = _this.injector.get('DocumentEditorTablePropertiesDialog');
221
+ if (_this.injectedModules.indexOf(mod) === -1) {
222
+ _this.injectedModules.push(mod);
223
+ }
224
+ }
225
+ catch (_y) { }
226
+ try {
227
+ var mod = _this.injector.get('DocumentEditorBordersAndShadingDialog');
228
+ if (_this.injectedModules.indexOf(mod) === -1) {
229
+ _this.injectedModules.push(mod);
230
+ }
231
+ }
232
+ catch (_z) { }
233
+ try {
234
+ var mod = _this.injector.get('DocumentEditorTableOptionsDialog');
235
+ if (_this.injectedModules.indexOf(mod) === -1) {
236
+ _this.injectedModules.push(mod);
237
+ }
238
+ }
239
+ catch (_0) { }
240
+ try {
241
+ var mod = _this.injector.get('DocumentEditorCellOptionsDialog');
242
+ if (_this.injectedModules.indexOf(mod) === -1) {
243
+ _this.injectedModules.push(mod);
244
+ }
245
+ }
246
+ catch (_1) { }
247
+ try {
248
+ var mod = _this.injector.get('DocumentEditorSpellChecker');
249
+ if (_this.injectedModules.indexOf(mod) === -1) {
250
+ _this.injectedModules.push(mod);
251
+ }
252
+ }
253
+ catch (_2) { }
254
+ try {
255
+ var mod = _this.injector.get('DocumentEditorSpellCheckDialog');
256
+ if (_this.injectedModules.indexOf(mod) === -1) {
257
+ _this.injectedModules.push(mod);
258
+ }
259
+ }
260
+ catch (_3) { }
261
+ try {
262
+ var mod = _this.injector.get('DocumentEditorCollaborativeEditing');
263
+ if (_this.injectedModules.indexOf(mod) === -1) {
264
+ _this.injectedModules.push(mod);
265
+ }
266
+ }
267
+ catch (_4) { }
268
+ try {
269
+ var mod = _this.injector.get('DocumentEditorColumnsDialog');
270
+ if (_this.injectedModules.indexOf(mod) === -1) {
271
+ _this.injectedModules.push(mod);
272
+ }
273
+ }
274
+ catch (_5) { }
275
+ try {
276
+ var mod = _this.injector.get('DocumentEditorCollaborativeEditingHandler');
277
+ if (_this.injectedModules.indexOf(mod) === -1) {
278
+ _this.injectedModules.push(mod);
279
+ }
280
+ }
281
+ catch (_6) { }
282
+ try {
283
+ var mod = _this.injector.get('DocumentEditorOptimized');
284
+ if (_this.injectedModules.indexOf(mod) === -1) {
285
+ _this.injectedModules.push(mod);
286
+ }
287
+ }
288
+ catch (_7) { }
289
+ try {
290
+ var mod = _this.injector.get('DocumentEditorTabDialog');
291
+ if (_this.injectedModules.indexOf(mod) === -1) {
292
+ _this.injectedModules.push(mod);
293
+ }
294
+ }
295
+ catch (_8) { }
296
+ try {
297
+ var mod = _this.injector.get('DocumentEditorTextFormFieldDialog');
298
+ if (_this.injectedModules.indexOf(mod) === -1) {
299
+ _this.injectedModules.push(mod);
300
+ }
301
+ }
302
+ catch (_9) { }
303
+ try {
304
+ var mod = _this.injector.get('DocumentEditorDropDownFormFieldDialog');
305
+ if (_this.injectedModules.indexOf(mod) === -1) {
306
+ _this.injectedModules.push(mod);
307
+ }
308
+ }
309
+ catch (_10) { }
310
+ try {
311
+ var mod = _this.injector.get('DocumentEditorCheckBoxFormFieldDialog');
312
+ if (_this.injectedModules.indexOf(mod) === -1) {
313
+ _this.injectedModules.push(mod);
314
+ }
315
+ }
316
+ catch (_11) { }
317
+ _this.registerEvents(outputs);
318
+ _this.addTwoWay.call(_this, twoWays);
319
+ ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
320
+ _this.context = new ej2AngularBase.ComponentBase();
321
+ return _this;
322
+ }
323
+ /**
324
+ * @return {?}
325
+ */
326
+ DocumentEditorComponent.prototype.ngOnInit = function () {
327
+ this.context.ngOnInit(this);
328
+ };
329
+ /**
330
+ * @return {?}
331
+ */
332
+ DocumentEditorComponent.prototype.ngAfterViewInit = function () {
333
+ this.context.ngAfterViewInit(this);
334
+ };
335
+ /**
336
+ * @return {?}
337
+ */
338
+ DocumentEditorComponent.prototype.ngOnDestroy = function () {
339
+ this.context.ngOnDestroy(this);
340
+ };
341
+ /**
342
+ * @return {?}
343
+ */
344
+ DocumentEditorComponent.prototype.ngAfterContentChecked = function () {
345
+ this.context.ngAfterContentChecked(this);
346
+ };
347
+ return DocumentEditorComponent;
348
+ }(ej2Documenteditor.DocumentEditor));
349
+ exports.DocumentEditorComponent.decorators = [
350
+ { type: core.Component, args: [{
351
+ selector: 'ejs-documenteditor',
352
+ inputs: inputs,
353
+ outputs: outputs,
354
+ template: '',
355
+ changeDetection: core.ChangeDetectionStrategy.OnPush,
356
+ queries: {}
357
+ },] },
358
+ ];
359
+ /**
360
+ * @nocollapse
361
+ */
362
+ exports.DocumentEditorComponent.ctorParameters = function () { return [
363
+ { type: core.ElementRef, },
364
+ { type: core.Renderer2, },
365
+ { type: core.ViewContainerRef, },
366
+ { type: core.Injector, },
367
+ ]; };
368
+ exports.DocumentEditorComponent = __decorate([
369
+ ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase]),
370
+ __metadata("design:paramtypes", [core.ElementRef,
371
+ core.Renderer2,
372
+ core.ViewContainerRef,
373
+ core.Injector])
374
+ ], exports.DocumentEditorComponent);
375
+ /**
376
+ * NgModule definition for the DocumentEditor component.
377
+ */
378
+ var DocumentEditorModule = /** @class */ (function () {
379
+ function DocumentEditorModule() {
380
+ }
381
+ return DocumentEditorModule;
382
+ }());
383
+ DocumentEditorModule.decorators = [
384
+ { type: core.NgModule, args: [{
385
+ imports: [common.CommonModule],
386
+ declarations: [
387
+ exports.DocumentEditorComponent
388
+ ],
389
+ exports: [
390
+ exports.DocumentEditorComponent
391
+ ]
392
+ },] },
393
+ ];
394
+ /**
395
+ * @nocollapse
396
+ */
397
+ DocumentEditorModule.ctorParameters = function () { return []; };
398
+ var PrintService = { provide: 'DocumentEditorPrint', useValue: ej2Documenteditor.Print };
399
+ var SfdtExportService = { provide: 'DocumentEditorSfdtExport', useValue: ej2Documenteditor.SfdtExport };
400
+ var WordExportService = { provide: 'DocumentEditorWordExport', useValue: ej2Documenteditor.WordExport };
401
+ var TextExportService = { provide: 'DocumentEditorTextExport', useValue: ej2Documenteditor.TextExport };
402
+ var SelectionService = { provide: 'DocumentEditorSelection', useValue: ej2Documenteditor.Selection };
403
+ var SearchService = { provide: 'DocumentEditorSearch', useValue: ej2Documenteditor.Search };
404
+ var EditorService = { provide: 'DocumentEditorEditor', useValue: ej2Documenteditor.Editor };
405
+ var EditorHistoryService = { provide: 'DocumentEditorEditorHistory', useValue: ej2Documenteditor.EditorHistory };
406
+ var OptionsPaneService = { provide: 'DocumentEditorOptionsPane', useValue: ej2Documenteditor.OptionsPane };
407
+ var ContextMenuService = { provide: 'DocumentEditorContextMenu', useValue: ej2Documenteditor.ContextMenu };
408
+ var ImageResizerService = { provide: 'DocumentEditorImageResizer', useValue: ej2Documenteditor.ImageResizer };
409
+ var HyperlinkDialogService = { provide: 'DocumentEditorHyperlinkDialog', useValue: ej2Documenteditor.HyperlinkDialog };
410
+ var TableDialogService = { provide: 'DocumentEditorTableDialog', useValue: ej2Documenteditor.TableDialog };
411
+ var BookmarkDialogService = { provide: 'DocumentEditorBookmarkDialog', useValue: ej2Documenteditor.BookmarkDialog };
412
+ var TableOfContentsDialogService = { provide: 'DocumentEditorTableOfContentsDialog', useValue: ej2Documenteditor.TableOfContentsDialog };
413
+ var PageSetupDialogService = { provide: 'DocumentEditorPageSetupDialog', useValue: ej2Documenteditor.PageSetupDialog };
414
+ var ParagraphDialogService = { provide: 'DocumentEditorParagraphDialog', useValue: ej2Documenteditor.ParagraphDialog };
415
+ var ListDialogService = { provide: 'DocumentEditorListDialog', useValue: ej2Documenteditor.ListDialog };
416
+ var StyleDialogService = { provide: 'DocumentEditorStyleDialog', useValue: ej2Documenteditor.StyleDialog };
417
+ var StylesDialogService = { provide: 'DocumentEditorStylesDialog', useValue: ej2Documenteditor.StylesDialog };
418
+ var BulletsAndNumberingDialogService = { provide: 'DocumentEditorBulletsAndNumberingDialog', useValue: ej2Documenteditor.BulletsAndNumberingDialog };
419
+ var FontDialogService = { provide: 'DocumentEditorFontDialog', useValue: ej2Documenteditor.FontDialog };
420
+ var TablePropertiesDialogService = { provide: 'DocumentEditorTablePropertiesDialog', useValue: ej2Documenteditor.TablePropertiesDialog };
421
+ var BordersAndShadingDialogService = { provide: 'DocumentEditorBordersAndShadingDialog', useValue: ej2Documenteditor.BordersAndShadingDialog };
422
+ var TableOptionsDialogService = { provide: 'DocumentEditorTableOptionsDialog', useValue: ej2Documenteditor.TableOptionsDialog };
423
+ var CellOptionsDialogService = { provide: 'DocumentEditorCellOptionsDialog', useValue: ej2Documenteditor.CellOptionsDialog };
424
+ var SpellCheckerService = { provide: 'DocumentEditorSpellChecker', useValue: ej2Documenteditor.SpellChecker };
425
+ var SpellCheckDialogService = { provide: 'DocumentEditorSpellCheckDialog', useValue: ej2Documenteditor.SpellCheckDialog };
426
+ var CollaborativeEditingService = { provide: 'DocumentEditorCollaborativeEditing', useValue: ej2Documenteditor.CollaborativeEditing };
427
+ var ColumnsDialogService = { provide: 'DocumentEditorColumnsDialog', useValue: ej2Documenteditor.ColumnsDialog };
428
+ var CollaborativeEditingHandlerService = { provide: 'DocumentEditorCollaborativeEditingHandler', useValue: ej2Documenteditor.CollaborativeEditingHandler };
429
+ var OptimizedService = { provide: 'DocumentEditorOptimized', useValue: ej2Documenteditor.Optimized };
430
+ var TabDialogService = { provide: 'DocumentEditorTabDialog', useValue: ej2Documenteditor.TabDialog };
431
+ var TextFormFieldDialogService = { provide: 'DocumentEditorTextFormFieldDialog', useValue: ej2Documenteditor.TextFormFieldDialog };
432
+ var DropDownFormFieldDialogService = { provide: 'DocumentEditorDropDownFormFieldDialog', useValue: ej2Documenteditor.DropDownFormFieldDialog };
433
+ var CheckBoxFormFieldDialogService = { provide: 'DocumentEditorCheckBoxFormFieldDialog', useValue: ej2Documenteditor.CheckBoxFormFieldDialog };
434
+ /**
435
+ * NgModule definition for the DocumentEditor component with providers.
436
+ */
437
+ var DocumentEditorAllModule = /** @class */ (function () {
438
+ function DocumentEditorAllModule() {
439
+ }
440
+ return DocumentEditorAllModule;
441
+ }());
442
+ DocumentEditorAllModule.decorators = [
443
+ { type: core.NgModule, args: [{
444
+ imports: [common.CommonModule, DocumentEditorModule],
445
+ exports: [
446
+ DocumentEditorModule
447
+ ],
448
+ providers: [
449
+ PrintService,
450
+ SfdtExportService,
451
+ WordExportService,
452
+ TextExportService,
453
+ SelectionService,
454
+ SearchService,
455
+ EditorService,
456
+ EditorHistoryService,
457
+ OptionsPaneService,
458
+ ContextMenuService,
459
+ ImageResizerService,
460
+ HyperlinkDialogService,
461
+ TableDialogService,
462
+ BookmarkDialogService,
463
+ TableOfContentsDialogService,
464
+ PageSetupDialogService,
465
+ ParagraphDialogService,
466
+ ListDialogService,
467
+ StyleDialogService,
468
+ StylesDialogService,
469
+ BulletsAndNumberingDialogService,
470
+ FontDialogService,
471
+ TablePropertiesDialogService,
472
+ BordersAndShadingDialogService,
473
+ TableOptionsDialogService,
474
+ CellOptionsDialogService,
475
+ SpellCheckerService,
476
+ SpellCheckDialogService,
477
+ CollaborativeEditingService,
478
+ ColumnsDialogService,
479
+ CollaborativeEditingHandlerService,
480
+ OptimizedService,
481
+ TabDialogService,
482
+ TextFormFieldDialogService,
483
+ DropDownFormFieldDialogService,
484
+ CheckBoxFormFieldDialogService
485
+ ]
486
+ },] },
487
+ ];
488
+ /**
489
+ * @nocollapse
490
+ */
491
+ DocumentEditorAllModule.ctorParameters = function () { return []; };
492
+ var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
493
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
494
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
495
+ r = Reflect.decorate(decorators, target, key, desc);
496
+ else
497
+ for (var i = decorators.length - 1; i >= 0; i--)
498
+ if (d = decorators[i])
499
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
500
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
501
+ };
502
+ var __metadata$1 = (this && this.__metadata) || function (k, v) {
503
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
504
+ return Reflect.metadata(k, v);
505
+ };
506
+ var 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'];
507
+ var outputs$1 = ['beforeAcceptRejectChanges', 'beforeCommentAction', 'beforePaneSwitch', 'commentDelete', 'contentChange', 'contentControl', 'created', 'customContextMenuBeforeOpen', 'customContextMenuSelect', 'destroyed', 'documentChange', 'fileMenuItemClick', 'selectionChange', 'serviceFailure', 'toolbarClick', 'trackChange', 'beforeXmlHttpRequestSend'];
508
+ var twoWays$1 = [];
509
+ /**
510
+ * `ejs-documenteditor-container` represents the Angular Document Editor Container.
511
+ * ```html
512
+ * <ejs-documenteditor-container></ejs-documenteditor-container>
513
+ * ```
514
+ */
515
+ exports.DocumentEditorContainerComponent = /** @class */ (function (_super) {
516
+ __extends(DocumentEditorContainerComponent, _super);
517
+ /**
518
+ * @param {?} ngEle
519
+ * @param {?} srenderer
520
+ * @param {?} viewContainerRef
521
+ * @param {?} injector
522
+ */
523
+ function DocumentEditorContainerComponent(ngEle, srenderer, viewContainerRef, injector) {
524
+ var _this = _super.call(this) || this;
525
+ _this.ngEle = ngEle;
526
+ _this.srenderer = srenderer;
527
+ _this.viewContainerRef = viewContainerRef;
528
+ _this.injector = injector;
529
+ _this.element = _this.ngEle.nativeElement;
530
+ _this.injectedModules = _this.injectedModules || [];
531
+ try {
532
+ var mod = _this.injector.get('DocumentEditorToolbar');
533
+ if (_this.injectedModules.indexOf(mod) === -1) {
534
+ _this.injectedModules.push(mod);
535
+ }
536
+ }
537
+ catch (_a) { }
538
+ try {
539
+ var mod = _this.injector.get('DocumentEditorRibbon');
540
+ if (_this.injectedModules.indexOf(mod) === -1) {
541
+ _this.injectedModules.push(mod);
542
+ }
543
+ }
544
+ catch (_b) { }
545
+ _this.registerEvents(outputs$1);
546
+ _this.addTwoWay.call(_this, twoWays$1);
547
+ ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
548
+ _this.context = new ej2AngularBase.ComponentBase();
549
+ return _this;
550
+ }
551
+ /**
552
+ * @return {?}
553
+ */
554
+ DocumentEditorContainerComponent.prototype.ngOnInit = function () {
555
+ this.context.ngOnInit(this);
556
+ };
557
+ /**
558
+ * @return {?}
559
+ */
560
+ DocumentEditorContainerComponent.prototype.ngAfterViewInit = function () {
561
+ this.context.ngAfterViewInit(this);
562
+ };
563
+ /**
564
+ * @return {?}
565
+ */
566
+ DocumentEditorContainerComponent.prototype.ngOnDestroy = function () {
567
+ this.context.ngOnDestroy(this);
568
+ };
569
+ /**
570
+ * @return {?}
571
+ */
572
+ DocumentEditorContainerComponent.prototype.ngAfterContentChecked = function () {
573
+ this.context.ngAfterContentChecked(this);
574
+ };
575
+ return DocumentEditorContainerComponent;
576
+ }(ej2Documenteditor.DocumentEditorContainer));
577
+ exports.DocumentEditorContainerComponent.decorators = [
578
+ { type: core.Component, args: [{
579
+ selector: 'ejs-documenteditorcontainer',
580
+ inputs: inputs$1,
581
+ outputs: outputs$1,
582
+ template: '',
583
+ changeDetection: core.ChangeDetectionStrategy.OnPush,
584
+ queries: {}
585
+ },] },
586
+ ];
587
+ /**
588
+ * @nocollapse
589
+ */
590
+ exports.DocumentEditorContainerComponent.ctorParameters = function () { return [
591
+ { type: core.ElementRef, },
592
+ { type: core.Renderer2, },
593
+ { type: core.ViewContainerRef, },
594
+ { type: core.Injector, },
595
+ ]; };
596
+ exports.DocumentEditorContainerComponent = __decorate$1([
597
+ ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase]),
598
+ __metadata$1("design:paramtypes", [core.ElementRef,
599
+ core.Renderer2,
600
+ core.ViewContainerRef,
601
+ core.Injector])
602
+ ], exports.DocumentEditorContainerComponent);
603
+ /**
604
+ * NgModule definition for the DocumentEditorContainer component.
605
+ */
606
+ var DocumentEditorContainerModule = /** @class */ (function () {
607
+ function DocumentEditorContainerModule() {
608
+ }
609
+ return DocumentEditorContainerModule;
610
+ }());
611
+ DocumentEditorContainerModule.decorators = [
612
+ { type: core.NgModule, args: [{
613
+ imports: [common.CommonModule],
614
+ declarations: [
615
+ exports.DocumentEditorContainerComponent
616
+ ],
617
+ exports: [
618
+ exports.DocumentEditorContainerComponent
619
+ ]
620
+ },] },
621
+ ];
622
+ /**
623
+ * @nocollapse
624
+ */
625
+ DocumentEditorContainerModule.ctorParameters = function () { return []; };
626
+ var ToolbarService = { provide: 'DocumentEditorToolbar', useValue: ej2Documenteditor.Toolbar };
627
+ var RibbonService = { provide: 'DocumentEditorRibbon', useValue: ej2Documenteditor.Ribbon };
628
+ /**
629
+ * NgModule definition for the DocumentEditorContainer component with providers.
630
+ */
631
+ var DocumentEditorContainerAllModule = /** @class */ (function () {
632
+ function DocumentEditorContainerAllModule() {
633
+ }
634
+ return DocumentEditorContainerAllModule;
635
+ }());
636
+ DocumentEditorContainerAllModule.decorators = [
637
+ { type: core.NgModule, args: [{
638
+ imports: [common.CommonModule, DocumentEditorContainerModule],
639
+ exports: [
640
+ DocumentEditorContainerModule
641
+ ],
642
+ providers: [
643
+ ToolbarService,
644
+ RibbonService
645
+ ]
646
+ },] },
647
+ ];
648
+ /**
649
+ * @nocollapse
650
+ */
642
651
  DocumentEditorContainerAllModule.ctorParameters = function () { return []; };
643
652
 
644
653
  exports.DocumentEditorModule = DocumentEditorModule;
@@ -682,6 +691,7 @@ exports.CheckBoxFormFieldDialogService = CheckBoxFormFieldDialogService;
682
691
  exports.DocumentEditorContainerModule = DocumentEditorContainerModule;
683
692
  exports.DocumentEditorContainerAllModule = DocumentEditorContainerAllModule;
684
693
  exports.ToolbarService = ToolbarService;
694
+ exports.RibbonService = RibbonService;
685
695
  exports.ɵc = inputs$1;
686
696
  exports.ɵd = outputs$1;
687
697
  exports.ɵa = inputs;
@@ -736,6 +746,7 @@ exports.beforeAutoResize = ej2Documenteditor.beforeAutoResize;
736
746
  exports.trackChanges = ej2Documenteditor.trackChanges;
737
747
  exports.internalOptionPaneChange = ej2Documenteditor.internalOptionPaneChange;
738
748
  exports.documentLoadFailedEvent = ej2Documenteditor.documentLoadFailedEvent;
749
+ exports.fileMenuItemClickEvent = ej2Documenteditor.fileMenuItemClickEvent;
739
750
  exports.sectionsProperty = ej2Documenteditor.sectionsProperty;
740
751
  exports.fontSubstitutionTableProperty = ej2Documenteditor.fontSubstitutionTableProperty;
741
752
  exports.characterFormatProperty = ej2Documenteditor.characterFormatProperty;
@@ -1327,6 +1338,12 @@ exports.FormFieldSettings = ej2Documenteditor.FormFieldSettings;
1327
1338
  exports.CollaborativeEditingSettings = ej2Documenteditor.CollaborativeEditingSettings;
1328
1339
  exports.ContainerServerActionSettings = ej2Documenteditor.ContainerServerActionSettings;
1329
1340
  exports.Toolbar = ej2Documenteditor.Toolbar;
1341
+ exports.Ribbon = ej2Documenteditor.Ribbon;
1342
+ exports.HOME_TAB_ID = ej2Documenteditor.HOME_TAB_ID;
1343
+ exports.HOME_TAB_TEXT = ej2Documenteditor.HOME_TAB_TEXT;
1344
+ exports.HomeTab = ej2Documenteditor.HomeTab;
1345
+ exports.VIEW_TAB_ID = ej2Documenteditor.VIEW_TAB_ID;
1346
+ exports.ViewTab = ej2Documenteditor.ViewTab;
1330
1347
  exports.DocumentEditorContainer = ej2Documenteditor.DocumentEditorContainer;
1331
1348
 
1332
1349
  Object.defineProperty(exports, '__esModule', { value: true });