@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
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@syncfusion/ej2-angular-documenteditor" />
5
+ export * from './public_api';
@@ -1,574 +0,0 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = Object.setPrototypeOf ||
3
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
4
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
5
- return function (d, b) {
6
- extendStatics(d, b);
7
- function __() { this.constructor = d; }
8
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
9
- };
10
- })();
11
- import { ChangeDetectionStrategy, Component, ElementRef, Injector, NgModule, Renderer2, ViewContainerRef } from '@angular/core';
12
- import { ComponentBase, ComponentMixins, setValue } from '@syncfusion/ej2-angular-base';
13
- import { BookmarkDialog, BordersAndShadingDialog, BulletsAndNumberingDialog, CellOptionsDialog, 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, 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';
574
- //# sourceMappingURL=ej2-angular-documenteditor.es5.js.map