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