@syncfusion/ej2-angular-documenteditor 20.1.60 → 20.2.36

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