@syncfusion/ej2-angular-documenteditor 29.1.39-ngcc → 29.1.39

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