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

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