@syncfusion/ej2-angular-documenteditor 20.4.48 → 20.4.49-ngcc

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (143) hide show
  1. package/@syncfusion/ej2-angular-documenteditor.es5.js +583 -0
  2. package/@syncfusion/ej2-angular-documenteditor.es5.js.map +1 -0
  3. package/@syncfusion/ej2-angular-documenteditor.js +553 -0
  4. package/@syncfusion/ej2-angular-documenteditor.js.map +1 -0
  5. package/CHANGELOG.md +3195 -0
  6. package/README.md +137 -45
  7. package/dist/ej2-angular-documenteditor.umd.js +866 -0
  8. package/dist/ej2-angular-documenteditor.umd.js.map +1 -0
  9. package/dist/ej2-angular-documenteditor.umd.min.js +11 -0
  10. package/dist/ej2-angular-documenteditor.umd.min.js.map +1 -0
  11. package/ej2-angular-documenteditor.d.ts +6 -0
  12. package/ej2-angular-documenteditor.metadata.json +1 -0
  13. package/package.json +13 -27
  14. package/postinstall/tagchange.js +18 -0
  15. package/schematics/utils/lib-details.d.ts +2 -2
  16. package/schematics/utils/lib-details.js +2 -2
  17. package/schematics/utils/lib-details.ts +2 -2
  18. package/src/document-editor/documenteditor-all.module.d.ts +0 -6
  19. package/src/document-editor/documenteditor.component.d.ts +0 -3
  20. package/src/document-editor/documenteditor.module.d.ts +0 -6
  21. package/src/document-editor-container/documenteditorcontainer-all.module.d.ts +0 -6
  22. package/src/document-editor-container/documenteditorcontainer.component.d.ts +0 -3
  23. package/src/document-editor-container/documenteditorcontainer.module.d.ts +0 -6
  24. package/styles/document-editor/bootstrap-dark.scss +1 -4
  25. package/styles/document-editor/bootstrap.scss +1 -4
  26. package/styles/document-editor/bootstrap4.scss +1 -4
  27. package/styles/document-editor/bootstrap5-dark.scss +1 -4
  28. package/styles/document-editor/bootstrap5.scss +1 -4
  29. package/styles/document-editor/fabric-dark.scss +1 -4
  30. package/styles/document-editor/fabric.scss +1 -4
  31. package/styles/document-editor/fluent-dark.scss +1 -4
  32. package/styles/document-editor/fluent.scss +1 -4
  33. package/styles/document-editor/highcontrast-light.scss +1 -4
  34. package/styles/document-editor/highcontrast.scss +1 -4
  35. package/styles/document-editor/material-dark.scss +1 -4
  36. package/styles/document-editor/material.scss +1 -4
  37. package/styles/document-editor/tailwind-dark.scss +1 -4
  38. package/styles/document-editor/tailwind.scss +1 -4
  39. package/styles/document-editor-container/bootstrap-dark.scss +1 -5
  40. package/styles/document-editor-container/bootstrap.scss +1 -5
  41. package/styles/document-editor-container/bootstrap4.scss +1 -5
  42. package/styles/document-editor-container/bootstrap5-dark.scss +1 -5
  43. package/styles/document-editor-container/bootstrap5.scss +1 -5
  44. package/styles/document-editor-container/fabric-dark.scss +1 -5
  45. package/styles/document-editor-container/fabric.scss +1 -5
  46. package/styles/document-editor-container/fluent-dark.scss +1 -5
  47. package/styles/document-editor-container/fluent.scss +1 -5
  48. package/styles/document-editor-container/highcontrast-light.scss +1 -5
  49. package/styles/document-editor-container/highcontrast.scss +1 -5
  50. package/styles/document-editor-container/material-dark.scss +1 -5
  51. package/styles/document-editor-container/material.scss +1 -5
  52. package/styles/document-editor-container/tailwind-dark.scss +1 -5
  53. package/styles/document-editor-container/tailwind.scss +1 -5
  54. package/esm2020/public_api.mjs +0 -3
  55. package/esm2020/src/document-editor/documenteditor-all.module.mjs +0 -116
  56. package/esm2020/src/document-editor/documenteditor.component.mjs +0 -269
  57. package/esm2020/src/document-editor/documenteditor.module.mjs +0 -25
  58. package/esm2020/src/document-editor-container/documenteditorcontainer-all.module.mjs +0 -29
  59. package/esm2020/src/document-editor-container/documenteditorcontainer.component.mjs +0 -66
  60. package/esm2020/src/document-editor-container/documenteditorcontainer.module.mjs +0 -25
  61. package/esm2020/src/index.mjs +0 -8
  62. package/esm2020/syncfusion-ej2-angular-documenteditor.mjs +0 -5
  63. package/fesm2015/syncfusion-ej2-angular-documenteditor.mjs +0 -516
  64. package/fesm2015/syncfusion-ej2-angular-documenteditor.mjs.map +0 -1
  65. package/fesm2020/syncfusion-ej2-angular-documenteditor.mjs +0 -516
  66. package/fesm2020/syncfusion-ej2-angular-documenteditor.mjs.map +0 -1
  67. package/styles/document-editor/_all.scss +0 -3
  68. package/styles/document-editor/_bootstrap-dark-definition.scss +0 -547
  69. package/styles/document-editor/_bootstrap-definition.scss +0 -546
  70. package/styles/document-editor/_bootstrap4-definition.scss +0 -559
  71. package/styles/document-editor/_bootstrap5-dark-definition.scss +0 -1
  72. package/styles/document-editor/_bootstrap5-definition.scss +0 -560
  73. package/styles/document-editor/_fabric-dark-definition.scss +0 -549
  74. package/styles/document-editor/_fabric-definition.scss +0 -548
  75. package/styles/document-editor/_fluent-dark-definition.scss +0 -1
  76. package/styles/document-editor/_fluent-definition.scss +0 -569
  77. package/styles/document-editor/_fusionnew-definition.scss +0 -560
  78. package/styles/document-editor/_highcontrast-definition.scss +0 -548
  79. package/styles/document-editor/_highcontrast-light-definition.scss +0 -2988
  80. package/styles/document-editor/_layout.scss +0 -216
  81. package/styles/document-editor/_material-dark-definition.scss +0 -565
  82. package/styles/document-editor/_material-definition.scss +0 -565
  83. package/styles/document-editor/_material3-definition.scss +0 -560
  84. package/styles/document-editor/_tailwind-dark-definition.scss +0 -1
  85. package/styles/document-editor/_tailwind-definition.scss +0 -557
  86. package/styles/document-editor/_theme.scss +0 -3404
  87. package/styles/document-editor/icons/_bootstrap-dark.scss +0 -654
  88. package/styles/document-editor/icons/_bootstrap.scss +0 -654
  89. package/styles/document-editor/icons/_bootstrap4.scss +0 -639
  90. package/styles/document-editor/icons/_bootstrap5-dark.scss +0 -1
  91. package/styles/document-editor/icons/_bootstrap5.scss +0 -689
  92. package/styles/document-editor/icons/_fabric-dark.scss +0 -654
  93. package/styles/document-editor/icons/_fabric.scss +0 -654
  94. package/styles/document-editor/icons/_fluent-dark.scss +0 -1
  95. package/styles/document-editor/icons/_fluent.scss +0 -687
  96. package/styles/document-editor/icons/_fusionnew.scss +0 -689
  97. package/styles/document-editor/icons/_highcontrast-light.scss +0 -659
  98. package/styles/document-editor/icons/_highcontrast.scss +0 -654
  99. package/styles/document-editor/icons/_material-dark.scss +0 -647
  100. package/styles/document-editor/icons/_material.scss +0 -647
  101. package/styles/document-editor/icons/_material3.scss +0 -689
  102. package/styles/document-editor/icons/_tailwind-dark.scss +0 -689
  103. package/styles/document-editor/icons/_tailwind.scss +0 -689
  104. package/styles/document-editor/implementation/dailogs/_paragraph-dailogs.scss +0 -171
  105. package/styles/document-editor-container/_all.scss +0 -2
  106. package/styles/document-editor-container/_bootstrap-dark-definition.scss +0 -127
  107. package/styles/document-editor-container/_bootstrap-definition.scss +0 -127
  108. package/styles/document-editor-container/_bootstrap4-definition.scss +0 -143
  109. package/styles/document-editor-container/_bootstrap5-dark-definition.scss +0 -1
  110. package/styles/document-editor-container/_bootstrap5-definition.scss +0 -153
  111. package/styles/document-editor-container/_definition.scss +0 -11
  112. package/styles/document-editor-container/_fabric-dark-definition.scss +0 -132
  113. package/styles/document-editor-container/_fabric-definition.scss +0 -129
  114. package/styles/document-editor-container/_fluent-dark-definition.scss +0 -1
  115. package/styles/document-editor-container/_fluent-definition.scss +0 -154
  116. package/styles/document-editor-container/_fusionnew-definition.scss +0 -153
  117. package/styles/document-editor-container/_highcontrast-definition.scss +0 -130
  118. package/styles/document-editor-container/_highcontrast-light-definition.scss +0 -133
  119. package/styles/document-editor-container/_layout.scss +0 -87
  120. package/styles/document-editor-container/_material-dark-definition.scss +0 -131
  121. package/styles/document-editor-container/_material-definition.scss +0 -130
  122. package/styles/document-editor-container/_material3-definition.scss +0 -153
  123. package/styles/document-editor-container/_tailwind-dark-definition.scss +0 -1
  124. package/styles/document-editor-container/_tailwind-definition.scss +0 -147
  125. package/styles/document-editor-container/_theme.scss +0 -2005
  126. package/styles/document-editor-container/icons/_bootstrap-dark.scss +0 -467
  127. package/styles/document-editor-container/icons/_bootstrap.scss +0 -467
  128. package/styles/document-editor-container/icons/_bootstrap4.scss +0 -467
  129. package/styles/document-editor-container/icons/_bootstrap5-dark.scss +0 -1
  130. package/styles/document-editor-container/icons/_bootstrap5.scss +0 -494
  131. package/styles/document-editor-container/icons/_fabric-dark.scss +0 -468
  132. package/styles/document-editor-container/icons/_fabric.scss +0 -467
  133. package/styles/document-editor-container/icons/_fluent-dark.scss +0 -1
  134. package/styles/document-editor-container/icons/_fluent.scss +0 -493
  135. package/styles/document-editor-container/icons/_fusionnew.scss +0 -493
  136. package/styles/document-editor-container/icons/_highcontrast-light.scss +0 -467
  137. package/styles/document-editor-container/icons/_highcontrast.scss +0 -467
  138. package/styles/document-editor-container/icons/_material-dark.scss +0 -469
  139. package/styles/document-editor-container/icons/_material.scss +0 -469
  140. package/styles/document-editor-container/icons/_material3.scss +0 -493
  141. package/styles/document-editor-container/icons/_tailwind-dark.scss +0 -493
  142. package/styles/document-editor-container/icons/_tailwind.scss +0 -493
  143. package/syncfusion-ej2-angular-documenteditor.d.ts +0 -5
@@ -0,0 +1,583 @@
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, CollaborativeEditing, 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';
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', 'currentUser', 'defaultPasteOption', 'documentEditorSettings', 'documentName', 'documentSettings', 'enableBookmarkDialog', 'enableBordersAndShadingDialog', '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', 'beforeCommentAction', 'beforeFileOpen', 'beforeFormFieldFill', 'beforePaneSwitch', 'commentBegin', 'commentDelete', 'commentEnd', 'contentChange', 'contentControl', 'created', 'customContextMenuBeforeOpen', 'customContextMenuSelect', 'destroyed', 'documentChange', 'keyDown', 'requestNavigate', 'searchResultsChange', 'selectionChange', 'serviceFailure', 'trackChange', 'viewChange', 'zoomFactorChange', 'beforeXmlHttpRequestSend'];
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
+ _this.registerEvents(outputs);
265
+ _this.addTwoWay.call(_this, twoWays);
266
+ setValue('currentInstance', _this, _this.viewContainerRef);
267
+ _this.context = new ComponentBase();
268
+ return _this;
269
+ }
270
+ /**
271
+ * @return {?}
272
+ */
273
+ DocumentEditorComponent.prototype.ngOnInit = function () {
274
+ this.context.ngOnInit(this);
275
+ };
276
+ /**
277
+ * @return {?}
278
+ */
279
+ DocumentEditorComponent.prototype.ngAfterViewInit = function () {
280
+ this.context.ngAfterViewInit(this);
281
+ };
282
+ /**
283
+ * @return {?}
284
+ */
285
+ DocumentEditorComponent.prototype.ngOnDestroy = function () {
286
+ this.context.ngOnDestroy(this);
287
+ };
288
+ /**
289
+ * @return {?}
290
+ */
291
+ DocumentEditorComponent.prototype.ngAfterContentChecked = function () {
292
+ this.context.ngAfterContentChecked(this);
293
+ };
294
+ return DocumentEditorComponent;
295
+ }(DocumentEditor));
296
+ DocumentEditorComponent.decorators = [
297
+ { type: Component, args: [{
298
+ selector: 'ejs-documenteditor',
299
+ inputs: inputs,
300
+ outputs: outputs,
301
+ template: '',
302
+ changeDetection: ChangeDetectionStrategy.OnPush,
303
+ queries: {}
304
+ },] },
305
+ ];
306
+ /**
307
+ * @nocollapse
308
+ */
309
+ DocumentEditorComponent.ctorParameters = function () { return [
310
+ { type: ElementRef, },
311
+ { type: Renderer2, },
312
+ { type: ViewContainerRef, },
313
+ { type: Injector, },
314
+ ]; };
315
+ DocumentEditorComponent = __decorate([
316
+ ComponentMixins([ComponentBase]),
317
+ __metadata("design:paramtypes", [ElementRef,
318
+ Renderer2,
319
+ ViewContainerRef,
320
+ Injector])
321
+ ], DocumentEditorComponent);
322
+ /**
323
+ * NgModule definition for the DocumentEditor component.
324
+ */
325
+ var DocumentEditorModule = /** @class */ (function () {
326
+ function DocumentEditorModule() {
327
+ }
328
+ return DocumentEditorModule;
329
+ }());
330
+ DocumentEditorModule.decorators = [
331
+ { type: NgModule, args: [{
332
+ imports: [CommonModule],
333
+ declarations: [
334
+ DocumentEditorComponent
335
+ ],
336
+ exports: [
337
+ DocumentEditorComponent
338
+ ]
339
+ },] },
340
+ ];
341
+ /**
342
+ * @nocollapse
343
+ */
344
+ DocumentEditorModule.ctorParameters = function () { return []; };
345
+ var PrintService = { provide: 'DocumentEditorPrint', useValue: Print };
346
+ var SfdtExportService = { provide: 'DocumentEditorSfdtExport', useValue: SfdtExport };
347
+ var WordExportService = { provide: 'DocumentEditorWordExport', useValue: WordExport };
348
+ var TextExportService = { provide: 'DocumentEditorTextExport', useValue: TextExport };
349
+ var SelectionService = { provide: 'DocumentEditorSelection', useValue: Selection };
350
+ var SearchService = { provide: 'DocumentEditorSearch', useValue: Search };
351
+ var EditorService = { provide: 'DocumentEditorEditor', useValue: Editor };
352
+ var EditorHistoryService = { provide: 'DocumentEditorEditorHistory', useValue: EditorHistory };
353
+ var OptionsPaneService = { provide: 'DocumentEditorOptionsPane', useValue: OptionsPane };
354
+ var ContextMenuService = { provide: 'DocumentEditorContextMenu', useValue: ContextMenu };
355
+ var ImageResizerService = { provide: 'DocumentEditorImageResizer', useValue: ImageResizer };
356
+ var HyperlinkDialogService = { provide: 'DocumentEditorHyperlinkDialog', useValue: HyperlinkDialog };
357
+ var TableDialogService = { provide: 'DocumentEditorTableDialog', useValue: TableDialog };
358
+ var BookmarkDialogService = { provide: 'DocumentEditorBookmarkDialog', useValue: BookmarkDialog };
359
+ var TableOfContentsDialogService = { provide: 'DocumentEditorTableOfContentsDialog', useValue: TableOfContentsDialog };
360
+ var PageSetupDialogService = { provide: 'DocumentEditorPageSetupDialog', useValue: PageSetupDialog };
361
+ var ParagraphDialogService = { provide: 'DocumentEditorParagraphDialog', useValue: ParagraphDialog };
362
+ var ListDialogService = { provide: 'DocumentEditorListDialog', useValue: ListDialog };
363
+ var StyleDialogService = { provide: 'DocumentEditorStyleDialog', useValue: StyleDialog };
364
+ var StylesDialogService = { provide: 'DocumentEditorStylesDialog', useValue: StylesDialog };
365
+ var BulletsAndNumberingDialogService = { provide: 'DocumentEditorBulletsAndNumberingDialog', useValue: BulletsAndNumberingDialog };
366
+ var FontDialogService = { provide: 'DocumentEditorFontDialog', useValue: FontDialog };
367
+ var TablePropertiesDialogService = { provide: 'DocumentEditorTablePropertiesDialog', useValue: TablePropertiesDialog };
368
+ var BordersAndShadingDialogService = { provide: 'DocumentEditorBordersAndShadingDialog', useValue: BordersAndShadingDialog };
369
+ var TableOptionsDialogService = { provide: 'DocumentEditorTableOptionsDialog', useValue: TableOptionsDialog };
370
+ var CellOptionsDialogService = { provide: 'DocumentEditorCellOptionsDialog', useValue: CellOptionsDialog };
371
+ var SpellCheckerService = { provide: 'DocumentEditorSpellChecker', useValue: SpellChecker };
372
+ var SpellCheckDialogService = { provide: 'DocumentEditorSpellCheckDialog', useValue: SpellCheckDialog };
373
+ var CollaborativeEditingService = { provide: 'DocumentEditorCollaborativeEditing', useValue: CollaborativeEditing };
374
+ var ColumnsDialogService = { provide: 'DocumentEditorColumnsDialog', useValue: ColumnsDialog };
375
+ /**
376
+ * NgModule definition for the DocumentEditor component with providers.
377
+ */
378
+ var DocumentEditorAllModule = /** @class */ (function () {
379
+ function DocumentEditorAllModule() {
380
+ }
381
+ return DocumentEditorAllModule;
382
+ }());
383
+ DocumentEditorAllModule.decorators = [
384
+ { type: NgModule, args: [{
385
+ imports: [CommonModule, DocumentEditorModule],
386
+ exports: [
387
+ DocumentEditorModule
388
+ ],
389
+ providers: [
390
+ PrintService,
391
+ SfdtExportService,
392
+ WordExportService,
393
+ TextExportService,
394
+ SelectionService,
395
+ SearchService,
396
+ EditorService,
397
+ EditorHistoryService,
398
+ OptionsPaneService,
399
+ ContextMenuService,
400
+ ImageResizerService,
401
+ HyperlinkDialogService,
402
+ TableDialogService,
403
+ BookmarkDialogService,
404
+ TableOfContentsDialogService,
405
+ PageSetupDialogService,
406
+ ParagraphDialogService,
407
+ ListDialogService,
408
+ StyleDialogService,
409
+ StylesDialogService,
410
+ BulletsAndNumberingDialogService,
411
+ FontDialogService,
412
+ TablePropertiesDialogService,
413
+ BordersAndShadingDialogService,
414
+ TableOptionsDialogService,
415
+ CellOptionsDialogService,
416
+ SpellCheckerService,
417
+ SpellCheckDialogService,
418
+ CollaborativeEditingService,
419
+ ColumnsDialogService
420
+ ]
421
+ },] },
422
+ ];
423
+ /**
424
+ * @nocollapse
425
+ */
426
+ DocumentEditorAllModule.ctorParameters = function () { return []; };
427
+ var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
428
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
429
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
430
+ r = Reflect.decorate(decorators, target, key, desc);
431
+ else
432
+ for (var i = decorators.length - 1; i >= 0; i--)
433
+ if (d = decorators[i])
434
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
435
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
436
+ };
437
+ var __metadata$1 = (this && this.__metadata) || function (k, v) {
438
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
439
+ return Reflect.metadata(k, v);
440
+ };
441
+ var inputs$1 = ['currentUser', 'documentEditorSettings', 'documentSettings', 'enableComment', 'enableCsp', 'enableLocalPaste', 'enableLockAndEdit', 'enablePersistence', 'enableRtl', 'enableSpellCheck', 'enableToolbar', 'enableTrackChanges', 'headers', 'height', 'layoutType', 'locale', 'restrictEditing', 'serverActionSettings', 'serviceUrl', 'showPropertiesPane', 'toolbarItems', 'userColor', 'width', 'zIndex'];
442
+ var outputs$1 = ['beforeCommentAction', 'beforePaneSwitch', 'commentDelete', 'contentChange', 'contentControl', 'created', 'customContextMenuBeforeOpen', 'customContextMenuSelect', 'destroyed', 'documentChange', 'selectionChange', 'serviceFailure', 'toolbarClick', 'trackChange', 'beforeXmlHttpRequestSend'];
443
+ var twoWays$1 = [];
444
+ /**
445
+ * `ejs-documenteditor-container` represents the Angular Document Editor Container.
446
+ * ```html
447
+ * <ejs-documenteditor-container></ejs-documenteditor-container>
448
+ * ```
449
+ */
450
+ var DocumentEditorContainerComponent = /** @class */ (function (_super) {
451
+ __extends(DocumentEditorContainerComponent, _super);
452
+ /**
453
+ * @param {?} ngEle
454
+ * @param {?} srenderer
455
+ * @param {?} viewContainerRef
456
+ * @param {?} injector
457
+ */
458
+ function DocumentEditorContainerComponent(ngEle, srenderer, viewContainerRef, injector) {
459
+ var _this = _super.call(this) || this;
460
+ _this.ngEle = ngEle;
461
+ _this.srenderer = srenderer;
462
+ _this.viewContainerRef = viewContainerRef;
463
+ _this.injector = injector;
464
+ _this.element = _this.ngEle.nativeElement;
465
+ _this.injectedModules = _this.injectedModules || [];
466
+ try {
467
+ var mod = _this.injector.get('DocumentEditorToolbar');
468
+ if (_this.injectedModules.indexOf(mod) === -1) {
469
+ _this.injectedModules.push(mod);
470
+ }
471
+ }
472
+ catch (_a) { }
473
+ _this.registerEvents(outputs$1);
474
+ _this.addTwoWay.call(_this, twoWays$1);
475
+ setValue('currentInstance', _this, _this.viewContainerRef);
476
+ _this.context = new ComponentBase();
477
+ return _this;
478
+ }
479
+ /**
480
+ * @return {?}
481
+ */
482
+ DocumentEditorContainerComponent.prototype.ngOnInit = function () {
483
+ this.context.ngOnInit(this);
484
+ };
485
+ /**
486
+ * @return {?}
487
+ */
488
+ DocumentEditorContainerComponent.prototype.ngAfterViewInit = function () {
489
+ this.context.ngAfterViewInit(this);
490
+ };
491
+ /**
492
+ * @return {?}
493
+ */
494
+ DocumentEditorContainerComponent.prototype.ngOnDestroy = function () {
495
+ this.context.ngOnDestroy(this);
496
+ };
497
+ /**
498
+ * @return {?}
499
+ */
500
+ DocumentEditorContainerComponent.prototype.ngAfterContentChecked = function () {
501
+ this.context.ngAfterContentChecked(this);
502
+ };
503
+ return DocumentEditorContainerComponent;
504
+ }(DocumentEditorContainer));
505
+ DocumentEditorContainerComponent.decorators = [
506
+ { type: Component, args: [{
507
+ selector: 'ejs-documenteditorcontainer',
508
+ inputs: inputs$1,
509
+ outputs: outputs$1,
510
+ template: '',
511
+ changeDetection: ChangeDetectionStrategy.OnPush,
512
+ queries: {}
513
+ },] },
514
+ ];
515
+ /**
516
+ * @nocollapse
517
+ */
518
+ DocumentEditorContainerComponent.ctorParameters = function () { return [
519
+ { type: ElementRef, },
520
+ { type: Renderer2, },
521
+ { type: ViewContainerRef, },
522
+ { type: Injector, },
523
+ ]; };
524
+ DocumentEditorContainerComponent = __decorate$1([
525
+ ComponentMixins([ComponentBase]),
526
+ __metadata$1("design:paramtypes", [ElementRef,
527
+ Renderer2,
528
+ ViewContainerRef,
529
+ Injector])
530
+ ], DocumentEditorContainerComponent);
531
+ /**
532
+ * NgModule definition for the DocumentEditorContainer component.
533
+ */
534
+ var DocumentEditorContainerModule = /** @class */ (function () {
535
+ function DocumentEditorContainerModule() {
536
+ }
537
+ return DocumentEditorContainerModule;
538
+ }());
539
+ DocumentEditorContainerModule.decorators = [
540
+ { type: NgModule, args: [{
541
+ imports: [CommonModule],
542
+ declarations: [
543
+ DocumentEditorContainerComponent
544
+ ],
545
+ exports: [
546
+ DocumentEditorContainerComponent
547
+ ]
548
+ },] },
549
+ ];
550
+ /**
551
+ * @nocollapse
552
+ */
553
+ DocumentEditorContainerModule.ctorParameters = function () { return []; };
554
+ var ToolbarService = { provide: 'DocumentEditorToolbar', useValue: Toolbar };
555
+ /**
556
+ * NgModule definition for the DocumentEditorContainer component with providers.
557
+ */
558
+ var DocumentEditorContainerAllModule = /** @class */ (function () {
559
+ function DocumentEditorContainerAllModule() {
560
+ }
561
+ return DocumentEditorContainerAllModule;
562
+ }());
563
+ DocumentEditorContainerAllModule.decorators = [
564
+ { type: NgModule, args: [{
565
+ imports: [CommonModule, DocumentEditorContainerModule],
566
+ exports: [
567
+ DocumentEditorContainerModule
568
+ ],
569
+ providers: [
570
+ ToolbarService
571
+ ]
572
+ },] },
573
+ ];
574
+ /**
575
+ * @nocollapse
576
+ */
577
+ DocumentEditorContainerAllModule.ctorParameters = function () { return []; };
578
+ /**
579
+ * Generated bundle index. Do not edit.
580
+ */
581
+ 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, DocumentEditorContainerComponent, DocumentEditorContainerModule, DocumentEditorContainerAllModule, ToolbarService, inputs$1 as ɵc, outputs$1 as ɵd, inputs as ɵa, outputs as ɵb };
582
+ export { CharacterRangeType, FontScriptType, FontHintType, LocaleId, SectionBreakType, Dictionary, WUniqueFormat, WUniqueFormats, XmlHttpRequestHandler, internalZoomFactorChange, contentChangeEvent, documentChangeEvent, selectionChangeEvent, zoomFactorChangeEvent, beforeFieldFillEvent, afterFieldFillEvent, afterFormFieldFillEvent, beforeFormFieldFillEvent, serviceFailureEvent, viewChangeEvent, customContextMenuSelectEvent, customContextMenuBeforeOpenEvent, contentControlEvent, commentBeginEvent, commentEndEvent, beforeCommentActionEvent, commentDeleteEvent, beforePaneSwitchEvent, requestNavigateEvent, actionCompleteEvent, trackChangeEvent, searchResultsChangeEvent, keyDownEvent, toolbarClickEvent, beforeFileOpenEvent, internalviewChangeEvent, beforeXmlHttpRequestSend, protectionTypeChangeEvent, internalDocumentEditorSettingsChange, internalStyleCollectionChange, defaultFont, 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, Editor, ImageResizer, ImageResizingPoints, SelectedImageInfo, TableResizer, HelperMethods, Point, Base64, WrapPosition, CollaborativeEditing, EditorHistory, BaseHistoryInfo, HistoryInfo, ModifiedLevel, ModifiedParagraphFormat, RowHistoryFormat, TableHistoryInfo, TableFormatHistoryInfo, RowFormatHistoryInfo, CellFormatHistoryInfo, CellHistoryFormat, WSectionFormat, WColumnFormat, WStyle, WParagraphStyle, WCharacterStyle, 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, SelectionSectionFormat, SelectionTableFormat, SelectionCellFormat, SelectionRowFormat, SelectionImageFormat, SelectionColumnFormat, TextPosition, SelectionWidgetInfo, Hyperlink, ImageInfo, 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, Layout, Renderer, SfdtReader, TextHelper, Zoom, WordExport, TextExport, SfdtExport, HtmlExport, FontScheme, FontSchemeStruct, Themes, MajorMinorFontScheme, DocumentEditorSettings, DocumentSettings, DocumentEditor, ServerActionSettings, FormFieldSettings, CollaborativeEditingSettings, ContainerServerActionSettings, Toolbar, DocumentEditorContainer } from '@syncfusion/ej2-documenteditor';
583
+ //# sourceMappingURL=ej2-angular-documenteditor.es5.js.map