@syncfusion/ej2-angular-documenteditor 20.2.38 → 20.2.39-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 (160) hide show
  1. package/@syncfusion/ej2-angular-documenteditor.es5.js +574 -0
  2. package/@syncfusion/ej2-angular-documenteditor.es5.js.map +1 -0
  3. package/@syncfusion/ej2-angular-documenteditor.js +544 -0
  4. package/@syncfusion/ej2-angular-documenteditor.js.map +1 -0
  5. package/CHANGELOG.md +3015 -0
  6. package/dist/ej2-angular-documenteditor.umd.js +841 -0
  7. package/dist/ej2-angular-documenteditor.umd.js.map +1 -0
  8. package/dist/ej2-angular-documenteditor.umd.min.js +11 -0
  9. package/dist/ej2-angular-documenteditor.umd.min.js.map +1 -0
  10. package/ej2-angular-documenteditor.d.ts +6 -0
  11. package/ej2-angular-documenteditor.metadata.json +1 -0
  12. package/package.json +13 -27
  13. package/postinstall/tagchange.js +18 -0
  14. package/schematics/collection.json +15 -0
  15. package/schematics/generators/documenteditorcontainer-default/index.d.ts +3 -0
  16. package/schematics/generators/documenteditorcontainer-default/index.js +8 -0
  17. package/schematics/generators/documenteditorcontainer-default/sample-details.d.ts +5 -0
  18. package/schematics/generators/documenteditorcontainer-default/sample-details.js +7 -0
  19. package/schematics/generators/documenteditorcontainer-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
  20. package/schematics/generators/documenteditorcontainer-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +8 -0
  21. package/schematics/generators/documenteditorcontainer-default/schema.d.ts +3 -0
  22. package/schematics/generators/documenteditorcontainer-default/schema.js +2 -0
  23. package/schematics/generators/documenteditorcontainer-default/schema.json +125 -0
  24. package/schematics/ng-add/index.d.ts +3 -0
  25. package/schematics/ng-add/index.js +9 -0
  26. package/schematics/ng-add/schema.d.ts +13 -0
  27. package/schematics/ng-add/schema.js +2 -0
  28. package/schematics/ng-add/schema.json +34 -0
  29. package/schematics/tsconfig.json +25 -0
  30. package/schematics/utils/lib-details.d.ts +4 -0
  31. package/schematics/utils/lib-details.js +6 -0
  32. package/schematics/utils/lib-details.ts +2 -2
  33. package/src/document-editor/documenteditor-all.module.d.ts +0 -6
  34. package/src/document-editor/documenteditor.component.d.ts +0 -3
  35. package/src/document-editor/documenteditor.module.d.ts +0 -6
  36. package/src/document-editor-container/documenteditorcontainer-all.module.d.ts +0 -6
  37. package/src/document-editor-container/documenteditorcontainer.component.d.ts +0 -3
  38. package/src/document-editor-container/documenteditorcontainer.module.d.ts +0 -6
  39. package/styles/document-editor/bootstrap-dark.scss +1 -4
  40. package/styles/document-editor/bootstrap.scss +1 -4
  41. package/styles/document-editor/bootstrap4.scss +1 -4
  42. package/styles/document-editor/bootstrap5-dark.scss +1 -4
  43. package/styles/document-editor/bootstrap5.scss +1 -4
  44. package/styles/document-editor/fabric-dark.scss +1 -4
  45. package/styles/document-editor/fabric.scss +1 -4
  46. package/styles/document-editor/fluent-dark.scss +1 -4
  47. package/styles/document-editor/fluent.scss +1 -4
  48. package/styles/document-editor/highcontrast-light.scss +1 -4
  49. package/styles/document-editor/highcontrast.scss +1 -4
  50. package/styles/document-editor/material-dark.scss +1 -4
  51. package/styles/document-editor/material.scss +1 -4
  52. package/styles/document-editor/tailwind-dark.scss +1 -4
  53. package/styles/document-editor/tailwind.scss +1 -4
  54. package/styles/document-editor-container/bootstrap-dark.scss +1 -5
  55. package/styles/document-editor-container/bootstrap.scss +1 -5
  56. package/styles/document-editor-container/bootstrap4.scss +1 -5
  57. package/styles/document-editor-container/bootstrap5-dark.scss +1 -5
  58. package/styles/document-editor-container/bootstrap5.scss +1 -5
  59. package/styles/document-editor-container/fabric-dark.scss +1 -5
  60. package/styles/document-editor-container/fabric.scss +1 -5
  61. package/styles/document-editor-container/fluent-dark.css +1 -1
  62. package/styles/document-editor-container/fluent-dark.scss +1 -5
  63. package/styles/document-editor-container/fluent.scss +1 -5
  64. package/styles/document-editor-container/highcontrast-light.scss +1 -5
  65. package/styles/document-editor-container/highcontrast.scss +1 -5
  66. package/styles/document-editor-container/material-dark.scss +1 -5
  67. package/styles/document-editor-container/material.scss +1 -5
  68. package/styles/document-editor-container/tailwind-dark.scss +1 -5
  69. package/styles/document-editor-container/tailwind.scss +1 -5
  70. package/styles/fluent-dark.css +1 -1
  71. package/esm2020/public_api.mjs +0 -3
  72. package/esm2020/src/document-editor/documenteditor-all.module.mjs +0 -113
  73. package/esm2020/src/document-editor/documenteditor.component.mjs +0 -262
  74. package/esm2020/src/document-editor/documenteditor.module.mjs +0 -25
  75. package/esm2020/src/document-editor-container/documenteditorcontainer-all.module.mjs +0 -29
  76. package/esm2020/src/document-editor-container/documenteditorcontainer.component.mjs +0 -66
  77. package/esm2020/src/document-editor-container/documenteditorcontainer.module.mjs +0 -25
  78. package/esm2020/src/index.mjs +0 -8
  79. package/esm2020/syncfusion-ej2-angular-documenteditor.mjs +0 -5
  80. package/fesm2015/syncfusion-ej2-angular-documenteditor.mjs +0 -506
  81. package/fesm2015/syncfusion-ej2-angular-documenteditor.mjs.map +0 -1
  82. package/fesm2020/syncfusion-ej2-angular-documenteditor.mjs +0 -506
  83. package/fesm2020/syncfusion-ej2-angular-documenteditor.mjs.map +0 -1
  84. package/styles/document-editor/_all.scss +0 -3
  85. package/styles/document-editor/_bootstrap-dark-definition.scss +0 -544
  86. package/styles/document-editor/_bootstrap-definition.scss +0 -543
  87. package/styles/document-editor/_bootstrap4-definition.scss +0 -556
  88. package/styles/document-editor/_bootstrap5-dark-definition.scss +0 -1
  89. package/styles/document-editor/_bootstrap5-definition.scss +0 -556
  90. package/styles/document-editor/_fabric-dark-definition.scss +0 -546
  91. package/styles/document-editor/_fabric-definition.scss +0 -545
  92. package/styles/document-editor/_fluent-dark-definition.scss +0 -1
  93. package/styles/document-editor/_fluent-definition.scss +0 -564
  94. package/styles/document-editor/_fusionnew-definition.scss +0 -556
  95. package/styles/document-editor/_highcontrast-definition.scss +0 -545
  96. package/styles/document-editor/_highcontrast-light-definition.scss +0 -2988
  97. package/styles/document-editor/_layout.scss +0 -217
  98. package/styles/document-editor/_material-dark-definition.scss +0 -561
  99. package/styles/document-editor/_material-definition.scss +0 -563
  100. package/styles/document-editor/_material3-definition.scss +0 -556
  101. package/styles/document-editor/_tailwind-dark-definition.scss +0 -1
  102. package/styles/document-editor/_tailwind-definition.scss +0 -555
  103. package/styles/document-editor/_theme.scss +0 -3395
  104. package/styles/document-editor/icons/_bootstrap-dark.scss +0 -609
  105. package/styles/document-editor/icons/_bootstrap.scss +0 -609
  106. package/styles/document-editor/icons/_bootstrap4.scss +0 -592
  107. package/styles/document-editor/icons/_bootstrap5-dark.scss +0 -1
  108. package/styles/document-editor/icons/_bootstrap5.scss +0 -642
  109. package/styles/document-editor/icons/_fabric-dark.scss +0 -608
  110. package/styles/document-editor/icons/_fabric.scss +0 -608
  111. package/styles/document-editor/icons/_fluent-dark.scss +0 -1
  112. package/styles/document-editor/icons/_fluent.scss +0 -640
  113. package/styles/document-editor/icons/_fusionnew.scss +0 -642
  114. package/styles/document-editor/icons/_highcontrast-light.scss +0 -612
  115. package/styles/document-editor/icons/_highcontrast.scss +0 -607
  116. package/styles/document-editor/icons/_material-dark.scss +0 -600
  117. package/styles/document-editor/icons/_material.scss +0 -600
  118. package/styles/document-editor/icons/_material3.scss +0 -642
  119. package/styles/document-editor/icons/_tailwind-dark.scss +0 -642
  120. package/styles/document-editor/icons/_tailwind.scss +0 -642
  121. package/styles/document-editor/implementation/dailogs/_paragraph-dailogs.scss +0 -171
  122. package/styles/document-editor-container/_all.scss +0 -2
  123. package/styles/document-editor-container/_bootstrap-dark-definition.scss +0 -125
  124. package/styles/document-editor-container/_bootstrap-definition.scss +0 -125
  125. package/styles/document-editor-container/_bootstrap4-definition.scss +0 -141
  126. package/styles/document-editor-container/_bootstrap5-dark-definition.scss +0 -1
  127. package/styles/document-editor-container/_bootstrap5-definition.scss +0 -152
  128. package/styles/document-editor-container/_definition.scss +0 -10
  129. package/styles/document-editor-container/_fabric-dark-definition.scss +0 -130
  130. package/styles/document-editor-container/_fabric-definition.scss +0 -127
  131. package/styles/document-editor-container/_fluent-dark-definition.scss +0 -1
  132. package/styles/document-editor-container/_fluent-definition.scss +0 -153
  133. package/styles/document-editor-container/_fusionnew-definition.scss +0 -152
  134. package/styles/document-editor-container/_highcontrast-definition.scss +0 -128
  135. package/styles/document-editor-container/_highcontrast-light-definition.scss +0 -131
  136. package/styles/document-editor-container/_layout.scss +0 -88
  137. package/styles/document-editor-container/_material-dark-definition.scss +0 -129
  138. package/styles/document-editor-container/_material-definition.scss +0 -128
  139. package/styles/document-editor-container/_material3-definition.scss +0 -152
  140. package/styles/document-editor-container/_tailwind-dark-definition.scss +0 -1
  141. package/styles/document-editor-container/_tailwind-definition.scss +0 -146
  142. package/styles/document-editor-container/_theme.scss +0 -2004
  143. package/styles/document-editor-container/icons/_bootstrap-dark.scss +0 -397
  144. package/styles/document-editor-container/icons/_bootstrap.scss +0 -397
  145. package/styles/document-editor-container/icons/_bootstrap4.scss +0 -397
  146. package/styles/document-editor-container/icons/_bootstrap5-dark.scss +0 -1
  147. package/styles/document-editor-container/icons/_bootstrap5.scss +0 -423
  148. package/styles/document-editor-container/icons/_fabric-dark.scss +0 -397
  149. package/styles/document-editor-container/icons/_fabric.scss +0 -397
  150. package/styles/document-editor-container/icons/_fluent-dark.scss +0 -1
  151. package/styles/document-editor-container/icons/_fluent.scss +0 -423
  152. package/styles/document-editor-container/icons/_fusionnew.scss +0 -423
  153. package/styles/document-editor-container/icons/_highcontrast-light.scss +0 -397
  154. package/styles/document-editor-container/icons/_highcontrast.scss +0 -397
  155. package/styles/document-editor-container/icons/_material-dark.scss +0 -400
  156. package/styles/document-editor-container/icons/_material.scss +0 -400
  157. package/styles/document-editor-container/icons/_material3.scss +0 -423
  158. package/styles/document-editor-container/icons/_tailwind-dark.scss +0 -423
  159. package/styles/document-editor-container/icons/_tailwind.scss +0 -423
  160. package/syncfusion-ej2-angular-documenteditor.d.ts +0 -5
@@ -0,0 +1,574 @@
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, 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', '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
+ _this.registerEvents(outputs);
258
+ _this.addTwoWay.call(_this, twoWays);
259
+ setValue('currentInstance', _this, _this.viewContainerRef);
260
+ _this.context = new ComponentBase();
261
+ return _this;
262
+ }
263
+ /**
264
+ * @return {?}
265
+ */
266
+ DocumentEditorComponent.prototype.ngOnInit = function () {
267
+ this.context.ngOnInit(this);
268
+ };
269
+ /**
270
+ * @return {?}
271
+ */
272
+ DocumentEditorComponent.prototype.ngAfterViewInit = function () {
273
+ this.context.ngAfterViewInit(this);
274
+ };
275
+ /**
276
+ * @return {?}
277
+ */
278
+ DocumentEditorComponent.prototype.ngOnDestroy = function () {
279
+ this.context.ngOnDestroy(this);
280
+ };
281
+ /**
282
+ * @return {?}
283
+ */
284
+ DocumentEditorComponent.prototype.ngAfterContentChecked = function () {
285
+ this.context.ngAfterContentChecked(this);
286
+ };
287
+ return DocumentEditorComponent;
288
+ }(DocumentEditor));
289
+ DocumentEditorComponent.decorators = [
290
+ { type: Component, args: [{
291
+ selector: 'ejs-documenteditor',
292
+ inputs: inputs,
293
+ outputs: outputs,
294
+ template: '',
295
+ changeDetection: ChangeDetectionStrategy.OnPush,
296
+ queries: {}
297
+ },] },
298
+ ];
299
+ /**
300
+ * @nocollapse
301
+ */
302
+ DocumentEditorComponent.ctorParameters = function () { return [
303
+ { type: ElementRef, },
304
+ { type: Renderer2, },
305
+ { type: ViewContainerRef, },
306
+ { type: Injector, },
307
+ ]; };
308
+ DocumentEditorComponent = __decorate([
309
+ ComponentMixins([ComponentBase]),
310
+ __metadata("design:paramtypes", [ElementRef,
311
+ Renderer2,
312
+ ViewContainerRef,
313
+ Injector])
314
+ ], DocumentEditorComponent);
315
+ /**
316
+ * NgModule definition for the DocumentEditor component.
317
+ */
318
+ var DocumentEditorModule = /** @class */ (function () {
319
+ function DocumentEditorModule() {
320
+ }
321
+ return DocumentEditorModule;
322
+ }());
323
+ DocumentEditorModule.decorators = [
324
+ { type: NgModule, args: [{
325
+ imports: [CommonModule],
326
+ declarations: [
327
+ DocumentEditorComponent
328
+ ],
329
+ exports: [
330
+ DocumentEditorComponent
331
+ ]
332
+ },] },
333
+ ];
334
+ /**
335
+ * @nocollapse
336
+ */
337
+ DocumentEditorModule.ctorParameters = function () { return []; };
338
+ var PrintService = { provide: 'DocumentEditorPrint', useValue: Print };
339
+ var SfdtExportService = { provide: 'DocumentEditorSfdtExport', useValue: SfdtExport };
340
+ var WordExportService = { provide: 'DocumentEditorWordExport', useValue: WordExport };
341
+ var TextExportService = { provide: 'DocumentEditorTextExport', useValue: TextExport };
342
+ var SelectionService = { provide: 'DocumentEditorSelection', useValue: Selection };
343
+ var SearchService = { provide: 'DocumentEditorSearch', useValue: Search };
344
+ var EditorService = { provide: 'DocumentEditorEditor', useValue: Editor };
345
+ var EditorHistoryService = { provide: 'DocumentEditorEditorHistory', useValue: EditorHistory };
346
+ var OptionsPaneService = { provide: 'DocumentEditorOptionsPane', useValue: OptionsPane };
347
+ var ContextMenuService = { provide: 'DocumentEditorContextMenu', useValue: ContextMenu };
348
+ var ImageResizerService = { provide: 'DocumentEditorImageResizer', useValue: ImageResizer };
349
+ var HyperlinkDialogService = { provide: 'DocumentEditorHyperlinkDialog', useValue: HyperlinkDialog };
350
+ var TableDialogService = { provide: 'DocumentEditorTableDialog', useValue: TableDialog };
351
+ var BookmarkDialogService = { provide: 'DocumentEditorBookmarkDialog', useValue: BookmarkDialog };
352
+ var TableOfContentsDialogService = { provide: 'DocumentEditorTableOfContentsDialog', useValue: TableOfContentsDialog };
353
+ var PageSetupDialogService = { provide: 'DocumentEditorPageSetupDialog', useValue: PageSetupDialog };
354
+ var ParagraphDialogService = { provide: 'DocumentEditorParagraphDialog', useValue: ParagraphDialog };
355
+ var ListDialogService = { provide: 'DocumentEditorListDialog', useValue: ListDialog };
356
+ var StyleDialogService = { provide: 'DocumentEditorStyleDialog', useValue: StyleDialog };
357
+ var StylesDialogService = { provide: 'DocumentEditorStylesDialog', useValue: StylesDialog };
358
+ var BulletsAndNumberingDialogService = { provide: 'DocumentEditorBulletsAndNumberingDialog', useValue: BulletsAndNumberingDialog };
359
+ var FontDialogService = { provide: 'DocumentEditorFontDialog', useValue: FontDialog };
360
+ var TablePropertiesDialogService = { provide: 'DocumentEditorTablePropertiesDialog', useValue: TablePropertiesDialog };
361
+ var BordersAndShadingDialogService = { provide: 'DocumentEditorBordersAndShadingDialog', useValue: BordersAndShadingDialog };
362
+ var TableOptionsDialogService = { provide: 'DocumentEditorTableOptionsDialog', useValue: TableOptionsDialog };
363
+ var CellOptionsDialogService = { provide: 'DocumentEditorCellOptionsDialog', useValue: CellOptionsDialog };
364
+ var SpellCheckerService = { provide: 'DocumentEditorSpellChecker', useValue: SpellChecker };
365
+ var SpellCheckDialogService = { provide: 'DocumentEditorSpellCheckDialog', useValue: SpellCheckDialog };
366
+ var CollaborativeEditingService = { provide: 'DocumentEditorCollaborativeEditing', useValue: CollaborativeEditing };
367
+ /**
368
+ * NgModule definition for the DocumentEditor component with providers.
369
+ */
370
+ var DocumentEditorAllModule = /** @class */ (function () {
371
+ function DocumentEditorAllModule() {
372
+ }
373
+ return DocumentEditorAllModule;
374
+ }());
375
+ DocumentEditorAllModule.decorators = [
376
+ { type: NgModule, args: [{
377
+ imports: [CommonModule, DocumentEditorModule],
378
+ exports: [
379
+ DocumentEditorModule
380
+ ],
381
+ providers: [
382
+ PrintService,
383
+ SfdtExportService,
384
+ WordExportService,
385
+ TextExportService,
386
+ SelectionService,
387
+ SearchService,
388
+ EditorService,
389
+ EditorHistoryService,
390
+ OptionsPaneService,
391
+ ContextMenuService,
392
+ ImageResizerService,
393
+ HyperlinkDialogService,
394
+ TableDialogService,
395
+ BookmarkDialogService,
396
+ TableOfContentsDialogService,
397
+ PageSetupDialogService,
398
+ ParagraphDialogService,
399
+ ListDialogService,
400
+ StyleDialogService,
401
+ StylesDialogService,
402
+ BulletsAndNumberingDialogService,
403
+ FontDialogService,
404
+ TablePropertiesDialogService,
405
+ BordersAndShadingDialogService,
406
+ TableOptionsDialogService,
407
+ CellOptionsDialogService,
408
+ SpellCheckerService,
409
+ SpellCheckDialogService,
410
+ CollaborativeEditingService
411
+ ]
412
+ },] },
413
+ ];
414
+ /**
415
+ * @nocollapse
416
+ */
417
+ DocumentEditorAllModule.ctorParameters = function () { return []; };
418
+ var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
419
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
420
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
421
+ r = Reflect.decorate(decorators, target, key, desc);
422
+ else
423
+ for (var i = decorators.length - 1; i >= 0; i--)
424
+ if (d = decorators[i])
425
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
426
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
427
+ };
428
+ var __metadata$1 = (this && this.__metadata) || function (k, v) {
429
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
430
+ return Reflect.metadata(k, v);
431
+ };
432
+ 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'];
433
+ var outputs$1 = ['beforeCommentAction', 'beforePaneSwitch', 'commentDelete', 'contentChange', 'contentControl', 'created', 'customContextMenuBeforeOpen', 'customContextMenuSelect', 'destroyed', 'documentChange', 'selectionChange', 'serviceFailure', 'toolbarClick', 'trackChange', 'beforeXmlHttpRequestSend'];
434
+ var twoWays$1 = [];
435
+ /**
436
+ * `ejs-documenteditor-container` represents the Angular Document Editor Container.
437
+ * ```html
438
+ * <ejs-documenteditor-container></ejs-documenteditor-container>
439
+ * ```
440
+ */
441
+ var DocumentEditorContainerComponent = /** @class */ (function (_super) {
442
+ __extends(DocumentEditorContainerComponent, _super);
443
+ /**
444
+ * @param {?} ngEle
445
+ * @param {?} srenderer
446
+ * @param {?} viewContainerRef
447
+ * @param {?} injector
448
+ */
449
+ function DocumentEditorContainerComponent(ngEle, srenderer, viewContainerRef, injector) {
450
+ var _this = _super.call(this) || this;
451
+ _this.ngEle = ngEle;
452
+ _this.srenderer = srenderer;
453
+ _this.viewContainerRef = viewContainerRef;
454
+ _this.injector = injector;
455
+ _this.element = _this.ngEle.nativeElement;
456
+ _this.injectedModules = _this.injectedModules || [];
457
+ try {
458
+ var mod = _this.injector.get('DocumentEditorToolbar');
459
+ if (_this.injectedModules.indexOf(mod) === -1) {
460
+ _this.injectedModules.push(mod);
461
+ }
462
+ }
463
+ catch (_a) { }
464
+ _this.registerEvents(outputs$1);
465
+ _this.addTwoWay.call(_this, twoWays$1);
466
+ setValue('currentInstance', _this, _this.viewContainerRef);
467
+ _this.context = new ComponentBase();
468
+ return _this;
469
+ }
470
+ /**
471
+ * @return {?}
472
+ */
473
+ DocumentEditorContainerComponent.prototype.ngOnInit = function () {
474
+ this.context.ngOnInit(this);
475
+ };
476
+ /**
477
+ * @return {?}
478
+ */
479
+ DocumentEditorContainerComponent.prototype.ngAfterViewInit = function () {
480
+ this.context.ngAfterViewInit(this);
481
+ };
482
+ /**
483
+ * @return {?}
484
+ */
485
+ DocumentEditorContainerComponent.prototype.ngOnDestroy = function () {
486
+ this.context.ngOnDestroy(this);
487
+ };
488
+ /**
489
+ * @return {?}
490
+ */
491
+ DocumentEditorContainerComponent.prototype.ngAfterContentChecked = function () {
492
+ this.context.ngAfterContentChecked(this);
493
+ };
494
+ return DocumentEditorContainerComponent;
495
+ }(DocumentEditorContainer));
496
+ DocumentEditorContainerComponent.decorators = [
497
+ { type: Component, args: [{
498
+ selector: 'ejs-documenteditorcontainer',
499
+ inputs: inputs$1,
500
+ outputs: outputs$1,
501
+ template: '',
502
+ changeDetection: ChangeDetectionStrategy.OnPush,
503
+ queries: {}
504
+ },] },
505
+ ];
506
+ /**
507
+ * @nocollapse
508
+ */
509
+ DocumentEditorContainerComponent.ctorParameters = function () { return [
510
+ { type: ElementRef, },
511
+ { type: Renderer2, },
512
+ { type: ViewContainerRef, },
513
+ { type: Injector, },
514
+ ]; };
515
+ DocumentEditorContainerComponent = __decorate$1([
516
+ ComponentMixins([ComponentBase]),
517
+ __metadata$1("design:paramtypes", [ElementRef,
518
+ Renderer2,
519
+ ViewContainerRef,
520
+ Injector])
521
+ ], DocumentEditorContainerComponent);
522
+ /**
523
+ * NgModule definition for the DocumentEditorContainer component.
524
+ */
525
+ var DocumentEditorContainerModule = /** @class */ (function () {
526
+ function DocumentEditorContainerModule() {
527
+ }
528
+ return DocumentEditorContainerModule;
529
+ }());
530
+ DocumentEditorContainerModule.decorators = [
531
+ { type: NgModule, args: [{
532
+ imports: [CommonModule],
533
+ declarations: [
534
+ DocumentEditorContainerComponent
535
+ ],
536
+ exports: [
537
+ DocumentEditorContainerComponent
538
+ ]
539
+ },] },
540
+ ];
541
+ /**
542
+ * @nocollapse
543
+ */
544
+ DocumentEditorContainerModule.ctorParameters = function () { return []; };
545
+ var ToolbarService = { provide: 'DocumentEditorToolbar', useValue: Toolbar };
546
+ /**
547
+ * NgModule definition for the DocumentEditorContainer component with providers.
548
+ */
549
+ var DocumentEditorContainerAllModule = /** @class */ (function () {
550
+ function DocumentEditorContainerAllModule() {
551
+ }
552
+ return DocumentEditorContainerAllModule;
553
+ }());
554
+ DocumentEditorContainerAllModule.decorators = [
555
+ { type: NgModule, args: [{
556
+ imports: [CommonModule, DocumentEditorContainerModule],
557
+ exports: [
558
+ DocumentEditorContainerModule
559
+ ],
560
+ providers: [
561
+ ToolbarService
562
+ ]
563
+ },] },
564
+ ];
565
+ /**
566
+ * @nocollapse
567
+ */
568
+ DocumentEditorContainerAllModule.ctorParameters = function () { return []; };
569
+ /**
570
+ * Generated bundle index. Do not edit.
571
+ */
572
+ 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, DocumentEditorContainerComponent, DocumentEditorContainerModule, DocumentEditorContainerAllModule, ToolbarService, inputs$1 as ɵc, outputs$1 as ɵd, inputs as ɵa, outputs as ɵb };
573
+ export { CharacterRangeType, 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, 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, Editor, ImageResizer, ImageResizingPoints, SelectedImageInfo, TableResizer, HelperMethods, Point, Base64, WrapPosition, CollaborativeEditing, EditorHistory, BaseHistoryInfo, HistoryInfo, ModifiedLevel, ModifiedParagraphFormat, RowHistoryFormat, TableHistoryInfo, TableFormatHistoryInfo, RowFormatHistoryInfo, CellFormatHistoryInfo, CellHistoryFormat, WSectionFormat, 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, TextPosition, SelectionWidgetInfo, Hyperlink, ImageInfo, SpellChecker, Optimized, Regular, Revision, RevisionCollection, TrackChangesPane, ChangesSingleView, DocumentHelper, LayoutViewer, PageLayoutViewer, WebLayoutViewer, 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, DocumentEditorSettings, DocumentSettings, DocumentEditor, ServerActionSettings, FormFieldSettings, CollaborativeEditingSettings, ContainerServerActionSettings, Toolbar, DocumentEditorContainer } from '@syncfusion/ej2-documenteditor';
574
+ //# sourceMappingURL=ej2-angular-documenteditor.es5.js.map