@syncfusion/ej2-angular-richtexteditor 31.1.21-ngcc → 31.1.22-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-richtexteditor.es5.js +369 -369
- package/@syncfusion/ej2-angular-richtexteditor.es5.js.map +1 -1
- package/@syncfusion/ej2-angular-richtexteditor.js +335 -335
- package/@syncfusion/ej2-angular-richtexteditor.js.map +1 -1
- package/{license → LICENSE} +10 -10
- package/dist/ej2-angular-richtexteditor.umd.js +432 -384
- package/dist/ej2-angular-richtexteditor.umd.js.map +1 -1
- package/dist/ej2-angular-richtexteditor.umd.min.js +3 -3
- package/dist/ej2-angular-richtexteditor.umd.min.js.map +1 -1
- package/ej2-angular-richtexteditor.d.ts +5 -5
- package/ej2-angular-richtexteditor.metadata.json +1 -1
- package/package.json +14 -45
- package/public_api.d.ts +1 -1
- package/schematics/utils/lib-details.d.ts +2 -2
- package/schematics/utils/lib-details.js +2 -2
- package/schematics/utils/lib-details.ts +4 -4
- package/src/index.d.ts +4 -4
- package/src/rich-text-editor/richtexteditor-all.module.d.ts +24 -24
- package/src/rich-text-editor/richtexteditor.component.d.ts +87 -85
- package/src/rich-text-editor/richtexteditor.module.d.ts +5 -5
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-angular-richtexteditor.umd.js
|
|
3
|
-
* version : 31.1.
|
|
4
|
-
* Copyright Syncfusion Inc. 2001 -
|
|
3
|
+
* version : 31.1.22
|
|
4
|
+
* Copyright Syncfusion Inc. 2001 - 2025. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
|
7
7
|
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
@@ -13,364 +13,364 @@
|
|
|
13
13
|
(factory((global['ej2-angular-richtexteditor'] = {}),global.ng.core,global.ng.forms,global.ej2.angular.base,global.ej2.richtexteditor,global.ng.common));
|
|
14
14
|
}(this, (function (exports,core,forms,ej2AngularBase,ej2Richtexteditor,common) { 'use strict';
|
|
15
15
|
|
|
16
|
-
var __extends = (this && this.__extends) || (function () {
|
|
17
|
-
var extendStatics = Object.setPrototypeOf ||
|
|
18
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
20
|
-
return function (d, b) {
|
|
21
|
-
extendStatics(d, b);
|
|
22
|
-
function __() { this.constructor = d; }
|
|
23
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
24
|
-
};
|
|
25
|
-
})();
|
|
26
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
27
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
28
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
29
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
30
|
-
else
|
|
31
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
32
|
-
if (d = decorators[i])
|
|
33
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
34
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
35
|
-
};
|
|
36
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
37
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
38
|
-
return Reflect.metadata(k, v);
|
|
39
|
-
};
|
|
40
|
-
var inputs = ['autoSaveOnIdle', 'backgroundColor', 'bulletFormatList', 'codeBlockSettings', 'cssClass', 'editorMode', 'emojiPickerSettings', 'enableAutoUrl', 'enableHtmlEncode', 'enableHtmlSanitizer', 'enablePersistence', 'enableResize', 'enableRtl', 'enableTabKey', 'enableXhtml', 'enabled', 'enterKey', 'exportPdf', 'exportWord', 'fileManagerSettings', 'floatingToolbarOffset', 'fontColor', 'fontFamily', 'fontSize', 'format', 'formatPainterSettings', 'formatter', 'height', 'htmlAttributes', 'iframeSettings', 'importWord', 'inlineMode', 'insertAudioSettings', 'insertImageSettings', 'insertVideoSettings', 'keyConfig', 'locale', 'maxLength', 'numberFormatList', 'pasteCleanupSettings', 'placeholder', 'quickToolbarSettings', 'readonly', 'saveInterval', 'shiftEnterKey', 'showCharCount', 'showTooltip', 'slashMenuSettings', 'tableSettings', 'toolbarSettings', 'undoRedoSteps', 'undoRedoTimer', 'value', 'valueTemplate', 'width'];
|
|
41
|
-
var outputs = ['actionBegin', 'actionComplete', 'afterImageDelete', 'afterMediaDelete', 'afterPasteCleanup', 'beforeDialogClose', 'beforeDialogOpen', 'beforeFileUpload', 'beforeImageDrop', 'beforeImageUpload', 'beforePasteCleanup', 'beforeQuickToolbarOpen', 'beforeSanitizeHtml', 'blur', 'change', 'created', 'destroyed', 'dialogClose', 'dialogOpen', 'fileRemoving', 'fileSelected', 'fileUploadFailed', 'fileUploadSuccess', 'fileUploading', 'focus', 'imageRemoving', 'imageSelected', 'imageUploadFailed', 'imageUploadSuccess', 'imageUploading', 'quickToolbarClose', 'quickToolbarOpen', 'resizeStart', 'resizeStop', 'resizing', 'slashMenuItemSelect', 'toolbarClick', 'toolbarStatusUpdate', 'updatedToolbarStatus', 'valueChange'];
|
|
42
|
-
var twoWays = ['value'];
|
|
43
|
-
/**
|
|
44
|
-
* `ejs-richtexteditor` represents the Angular richtexteditor Component.
|
|
45
|
-
* ```html
|
|
46
|
-
* <ejs-richtexteditor></ejs-richtexteditor>
|
|
47
|
-
* ```
|
|
48
|
-
*/
|
|
49
|
-
exports.RichTextEditorComponent = RichTextEditorComponent_1 = /** @class */ (function (_super) {
|
|
50
|
-
__extends(RichTextEditorComponent, _super);
|
|
51
|
-
/**
|
|
52
|
-
* @param {?} ngEle
|
|
53
|
-
* @param {?} srenderer
|
|
54
|
-
* @param {?} viewContainerRef
|
|
55
|
-
* @param {?} injector
|
|
56
|
-
* @param {?} cdr
|
|
57
|
-
*/
|
|
58
|
-
function RichTextEditorComponent(ngEle, srenderer, viewContainerRef, injector, cdr) {
|
|
59
|
-
var _this = _super.call(this) || this;
|
|
60
|
-
_this.ngEle = ngEle;
|
|
61
|
-
_this.srenderer = srenderer;
|
|
62
|
-
_this.viewContainerRef = viewContainerRef;
|
|
63
|
-
_this.injector = injector;
|
|
64
|
-
_this.cdr = cdr;
|
|
65
|
-
_this.skipFromEvent = true;
|
|
66
|
-
_this.element = _this.ngEle.nativeElement;
|
|
67
|
-
_this.injectedModules = _this.injectedModules || [];
|
|
68
|
-
try {
|
|
69
|
-
var mod = _this.injector.get('RichTextEditorToolbar');
|
|
70
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
71
|
-
_this.injectedModules.push(mod);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
catch (_a) { }
|
|
75
|
-
try {
|
|
76
|
-
var mod = _this.injector.get('RichTextEditorLink');
|
|
77
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
78
|
-
_this.injectedModules.push(mod);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
catch (_b) { }
|
|
82
|
-
try {
|
|
83
|
-
var mod = _this.injector.get('RichTextEditorImage');
|
|
84
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
85
|
-
_this.injectedModules.push(mod);
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
catch (_c) { }
|
|
89
|
-
try {
|
|
90
|
-
var mod = _this.injector.get('RichTextEditorImportExport');
|
|
91
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
92
|
-
_this.injectedModules.push(mod);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
catch (_d) { }
|
|
96
|
-
try {
|
|
97
|
-
var mod = _this.injector.get('RichTextEditorAudio');
|
|
98
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
99
|
-
_this.injectedModules.push(mod);
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
catch (_e) { }
|
|
103
|
-
try {
|
|
104
|
-
var mod = _this.injector.get('RichTextEditorVideo');
|
|
105
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
106
|
-
_this.injectedModules.push(mod);
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
catch (_f) { }
|
|
110
|
-
try {
|
|
111
|
-
var mod = _this.injector.get('RichTextEditorCount');
|
|
112
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
113
|
-
_this.injectedModules.push(mod);
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
catch (_g) { }
|
|
117
|
-
try {
|
|
118
|
-
var mod = _this.injector.get('RichTextEditorQuickToolbar');
|
|
119
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
120
|
-
_this.injectedModules.push(mod);
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
catch (_h) { }
|
|
124
|
-
try {
|
|
125
|
-
var mod = _this.injector.get('RichTextEditorHtmlEditor');
|
|
126
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
127
|
-
_this.injectedModules.push(mod);
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
catch (_j) { }
|
|
131
|
-
try {
|
|
132
|
-
var mod = _this.injector.get('RichTextEditorMarkdownEditor');
|
|
133
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
134
|
-
_this.injectedModules.push(mod);
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
catch (_k) { }
|
|
138
|
-
try {
|
|
139
|
-
var mod = _this.injector.get('RichTextEditorTable');
|
|
140
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
141
|
-
_this.injectedModules.push(mod);
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
catch (_l) { }
|
|
145
|
-
try {
|
|
146
|
-
var mod = _this.injector.get('RichTextEditorPasteCleanup');
|
|
147
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
148
|
-
_this.injectedModules.push(mod);
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
catch (_m) { }
|
|
152
|
-
try {
|
|
153
|
-
var mod = _this.injector.get('RichTextEditorResize');
|
|
154
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
155
|
-
_this.injectedModules.push(mod);
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
catch (_o) { }
|
|
159
|
-
try {
|
|
160
|
-
var mod = _this.injector.get('RichTextEditorFileManager');
|
|
161
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
162
|
-
_this.injectedModules.push(mod);
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
catch (_p) { }
|
|
166
|
-
try {
|
|
167
|
-
var mod = _this.injector.get('RichTextEditorFormatPainter');
|
|
168
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
169
|
-
_this.injectedModules.push(mod);
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
catch (_q) { }
|
|
173
|
-
try {
|
|
174
|
-
var mod = _this.injector.get('RichTextEditorEmojiPicker');
|
|
175
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
176
|
-
_this.injectedModules.push(mod);
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
catch (_r) { }
|
|
180
|
-
try {
|
|
181
|
-
var mod = _this.injector.get('RichTextEditorSlashMenu');
|
|
182
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
183
|
-
_this.injectedModules.push(mod);
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
catch (_s) { }
|
|
187
|
-
try {
|
|
188
|
-
var mod = _this.injector.get('RichTextEditorCodeBlock');
|
|
189
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
190
|
-
_this.injectedModules.push(mod);
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
catch (_t) { }
|
|
194
|
-
_this.registerEvents(outputs);
|
|
195
|
-
_this.addTwoWay.call(_this, twoWays);
|
|
196
|
-
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
197
|
-
_this.formContext = new ej2AngularBase.FormBase();
|
|
198
|
-
_this.formCompContext = new ej2AngularBase.ComponentBase();
|
|
199
|
-
return _this;
|
|
200
|
-
}
|
|
201
|
-
/**
|
|
202
|
-
* @param {?} registerFunction
|
|
203
|
-
* @return {?}
|
|
204
|
-
*/
|
|
205
|
-
RichTextEditorComponent.prototype.registerOnChange = function (registerFunction) {
|
|
206
|
-
};
|
|
207
|
-
/**
|
|
208
|
-
* @param {?} registerFunction
|
|
209
|
-
* @return {?}
|
|
210
|
-
*/
|
|
211
|
-
RichTextEditorComponent.prototype.registerOnTouched = function (registerFunction) {
|
|
212
|
-
};
|
|
213
|
-
/**
|
|
214
|
-
* @param {?} value
|
|
215
|
-
* @return {?}
|
|
216
|
-
*/
|
|
217
|
-
RichTextEditorComponent.prototype.writeValue = function (value) {
|
|
218
|
-
};
|
|
219
|
-
/**
|
|
220
|
-
* @param {?} disabled
|
|
221
|
-
* @return {?}
|
|
222
|
-
*/
|
|
223
|
-
RichTextEditorComponent.prototype.setDisabledState = function (disabled) {
|
|
224
|
-
};
|
|
225
|
-
/**
|
|
226
|
-
* @return {?}
|
|
227
|
-
*/
|
|
228
|
-
RichTextEditorComponent.prototype.ngOnInit = function () {
|
|
229
|
-
this.formCompContext.ngOnInit(this);
|
|
230
|
-
};
|
|
231
|
-
/**
|
|
232
|
-
* @return {?}
|
|
233
|
-
*/
|
|
234
|
-
RichTextEditorComponent.prototype.ngAfterViewInit = function () {
|
|
235
|
-
this.formContext.ngAfterViewInit(this);
|
|
236
|
-
};
|
|
237
|
-
/**
|
|
238
|
-
* @return {?}
|
|
239
|
-
*/
|
|
240
|
-
RichTextEditorComponent.prototype.ngOnDestroy = function () {
|
|
241
|
-
this.formCompContext.ngOnDestroy(this);
|
|
242
|
-
};
|
|
243
|
-
/**
|
|
244
|
-
* @return {?}
|
|
245
|
-
*/
|
|
246
|
-
RichTextEditorComponent.prototype.ngAfterContentChecked = function () {
|
|
247
|
-
this.formCompContext.ngAfterContentChecked(this);
|
|
248
|
-
};
|
|
249
|
-
return RichTextEditorComponent;
|
|
250
|
-
}(ej2Richtexteditor.RichTextEditor));
|
|
251
|
-
exports.RichTextEditorComponent.decorators = [
|
|
252
|
-
{ type: core.Component, args: [{
|
|
253
|
-
selector: 'ejs-richtexteditor',
|
|
254
|
-
inputs: inputs,
|
|
255
|
-
outputs: outputs,
|
|
256
|
-
template: '',
|
|
257
|
-
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
258
|
-
providers: [
|
|
259
|
-
{
|
|
260
|
-
provide: forms.NG_VALUE_ACCESSOR,
|
|
261
|
-
useExisting: core.forwardRef(function () { return RichTextEditorComponent_1; }),
|
|
262
|
-
multi: true
|
|
263
|
-
}
|
|
264
|
-
],
|
|
265
|
-
queries: {}
|
|
266
|
-
},] },
|
|
267
|
-
];
|
|
268
|
-
/**
|
|
269
|
-
* @nocollapse
|
|
270
|
-
*/
|
|
271
|
-
exports.RichTextEditorComponent.ctorParameters = function () { return [
|
|
272
|
-
{ type: core.ElementRef, },
|
|
273
|
-
{ type: core.Renderer2, },
|
|
274
|
-
{ type: core.ViewContainerRef, },
|
|
275
|
-
{ type: core.Injector, },
|
|
276
|
-
{ type: core.ChangeDetectorRef, },
|
|
277
|
-
]; };
|
|
278
|
-
exports.RichTextEditorComponent.propDecorators = {
|
|
279
|
-
'valueTemplate': [{ type: core.ContentChild, args: ['valueTemplate',] },],
|
|
280
|
-
};
|
|
281
|
-
__decorate([
|
|
282
|
-
ej2AngularBase.Template(),
|
|
283
|
-
__metadata("design:type", Object)
|
|
284
|
-
], exports.RichTextEditorComponent.prototype, "valueTemplate", void 0);
|
|
285
|
-
exports.RichTextEditorComponent = RichTextEditorComponent_1 = __decorate([
|
|
286
|
-
ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase, ej2AngularBase.FormBase]),
|
|
287
|
-
__metadata("design:paramtypes", [core.ElementRef,
|
|
288
|
-
core.Renderer2,
|
|
289
|
-
core.ViewContainerRef,
|
|
290
|
-
core.Injector,
|
|
291
|
-
core.ChangeDetectorRef])
|
|
292
|
-
], exports.RichTextEditorComponent);
|
|
293
|
-
var RichTextEditorComponent_1;
|
|
294
|
-
/**
|
|
295
|
-
* NgModule definition for the RichTextEditor component.
|
|
296
|
-
*/
|
|
297
|
-
var RichTextEditorModule = /** @class */ (function () {
|
|
298
|
-
function RichTextEditorModule() {
|
|
299
|
-
}
|
|
300
|
-
return RichTextEditorModule;
|
|
301
|
-
}());
|
|
302
|
-
RichTextEditorModule.decorators = [
|
|
303
|
-
{ type: core.NgModule, args: [{
|
|
304
|
-
imports: [common.CommonModule],
|
|
305
|
-
declarations: [
|
|
306
|
-
exports.RichTextEditorComponent
|
|
307
|
-
],
|
|
308
|
-
exports: [
|
|
309
|
-
exports.RichTextEditorComponent
|
|
310
|
-
]
|
|
311
|
-
},] },
|
|
312
|
-
];
|
|
313
|
-
/**
|
|
314
|
-
* @nocollapse
|
|
315
|
-
*/
|
|
316
|
-
RichTextEditorModule.ctorParameters = function () { return []; };
|
|
317
|
-
var ToolbarService = { provide: 'RichTextEditorToolbar', useValue: ej2Richtexteditor.Toolbar };
|
|
318
|
-
var LinkService = { provide: 'RichTextEditorLink', useValue: ej2Richtexteditor.Link };
|
|
319
|
-
var ImageService = { provide: 'RichTextEditorImage', useValue: ej2Richtexteditor.Image };
|
|
320
|
-
var ImportExportService = { provide: 'RichTextEditorImportExport', useValue: ej2Richtexteditor.ImportExport };
|
|
321
|
-
var AudioService = { provide: 'RichTextEditorAudio', useValue: ej2Richtexteditor.Audio };
|
|
322
|
-
var VideoService = { provide: 'RichTextEditorVideo', useValue: ej2Richtexteditor.Video };
|
|
323
|
-
var CountService = { provide: 'RichTextEditorCount', useValue: ej2Richtexteditor.Count };
|
|
324
|
-
var QuickToolbarService = { provide: 'RichTextEditorQuickToolbar', useValue: ej2Richtexteditor.QuickToolbar };
|
|
325
|
-
var HtmlEditorService = { provide: 'RichTextEditorHtmlEditor', useValue: ej2Richtexteditor.HtmlEditor };
|
|
326
|
-
var MarkdownEditorService = { provide: 'RichTextEditorMarkdownEditor', useValue: ej2Richtexteditor.MarkdownEditor };
|
|
327
|
-
var TableService = { provide: 'RichTextEditorTable', useValue: ej2Richtexteditor.Table };
|
|
328
|
-
var PasteCleanupService = { provide: 'RichTextEditorPasteCleanup', useValue: ej2Richtexteditor.PasteCleanup };
|
|
329
|
-
var ResizeService = { provide: 'RichTextEditorResize', useValue: ej2Richtexteditor.Resize };
|
|
330
|
-
var FileManagerService = { provide: 'RichTextEditorFileManager', useValue: ej2Richtexteditor.FileManager };
|
|
331
|
-
var FormatPainterService = { provide: 'RichTextEditorFormatPainter', useValue: ej2Richtexteditor.FormatPainter };
|
|
332
|
-
var EmojiPickerService = { provide: 'RichTextEditorEmojiPicker', useValue: ej2Richtexteditor.EmojiPicker };
|
|
333
|
-
var SlashMenuService = { provide: 'RichTextEditorSlashMenu', useValue: ej2Richtexteditor.SlashMenu };
|
|
334
|
-
var CodeBlockService = { provide: 'RichTextEditorCodeBlock', useValue: ej2Richtexteditor.CodeBlock };
|
|
335
|
-
/**
|
|
336
|
-
* NgModule definition for the RichTextEditor component with providers.
|
|
337
|
-
*/
|
|
338
|
-
var RichTextEditorAllModule = /** @class */ (function () {
|
|
339
|
-
function RichTextEditorAllModule() {
|
|
340
|
-
}
|
|
341
|
-
return RichTextEditorAllModule;
|
|
342
|
-
}());
|
|
343
|
-
RichTextEditorAllModule.decorators = [
|
|
344
|
-
{ type: core.NgModule, args: [{
|
|
345
|
-
imports: [common.CommonModule, RichTextEditorModule],
|
|
346
|
-
exports: [
|
|
347
|
-
RichTextEditorModule
|
|
348
|
-
],
|
|
349
|
-
providers: [
|
|
350
|
-
ToolbarService,
|
|
351
|
-
LinkService,
|
|
352
|
-
ImageService,
|
|
353
|
-
ImportExportService,
|
|
354
|
-
AudioService,
|
|
355
|
-
VideoService,
|
|
356
|
-
CountService,
|
|
357
|
-
QuickToolbarService,
|
|
358
|
-
HtmlEditorService,
|
|
359
|
-
MarkdownEditorService,
|
|
360
|
-
TableService,
|
|
361
|
-
PasteCleanupService,
|
|
362
|
-
ResizeService,
|
|
363
|
-
FileManagerService,
|
|
364
|
-
FormatPainterService,
|
|
365
|
-
EmojiPickerService,
|
|
366
|
-
SlashMenuService,
|
|
367
|
-
CodeBlockService
|
|
368
|
-
]
|
|
369
|
-
},] },
|
|
370
|
-
];
|
|
371
|
-
/**
|
|
372
|
-
* @nocollapse
|
|
373
|
-
*/
|
|
16
|
+
var __extends = (this && this.__extends) || (function () {
|
|
17
|
+
var extendStatics = Object.setPrototypeOf ||
|
|
18
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
20
|
+
return function (d, b) {
|
|
21
|
+
extendStatics(d, b);
|
|
22
|
+
function __() { this.constructor = d; }
|
|
23
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
24
|
+
};
|
|
25
|
+
})();
|
|
26
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
27
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
28
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
29
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
30
|
+
else
|
|
31
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
32
|
+
if (d = decorators[i])
|
|
33
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
34
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
35
|
+
};
|
|
36
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
37
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
38
|
+
return Reflect.metadata(k, v);
|
|
39
|
+
};
|
|
40
|
+
var inputs = ['autoSaveOnIdle', 'backgroundColor', 'bulletFormatList', 'codeBlockSettings', 'cssClass', 'editorMode', 'emojiPickerSettings', 'enableAutoUrl', 'enableHtmlEncode', 'enableHtmlSanitizer', 'enablePersistence', 'enableResize', 'enableRtl', 'enableTabKey', 'enableXhtml', 'enabled', 'enterKey', 'exportPdf', 'exportWord', 'fileManagerSettings', 'floatingToolbarOffset', 'fontColor', 'fontFamily', 'fontSize', 'format', 'formatPainterSettings', 'formatter', 'height', 'htmlAttributes', 'iframeSettings', 'importWord', 'inlineMode', 'insertAudioSettings', 'insertImageSettings', 'insertVideoSettings', 'keyConfig', 'locale', 'maxLength', 'numberFormatList', 'pasteCleanupSettings', 'placeholder', 'quickToolbarSettings', 'readonly', 'saveInterval', 'shiftEnterKey', 'showCharCount', 'showTooltip', 'slashMenuSettings', 'tableSettings', 'toolbarSettings', 'undoRedoSteps', 'undoRedoTimer', 'value', 'valueTemplate', 'width'];
|
|
41
|
+
var outputs = ['actionBegin', 'actionComplete', 'afterImageDelete', 'afterMediaDelete', 'afterPasteCleanup', 'beforeDialogClose', 'beforeDialogOpen', 'beforeFileUpload', 'beforeImageDrop', 'beforeImageUpload', 'beforeMediaDrop', 'beforePasteCleanup', 'beforeQuickToolbarOpen', 'beforeSanitizeHtml', 'blur', 'change', 'created', 'destroyed', 'dialogClose', 'dialogOpen', 'fileRemoving', 'fileSelected', 'fileUploadFailed', 'fileUploadSuccess', 'fileUploading', 'focus', 'imageRemoving', 'imageSelected', 'imageUploadFailed', 'imageUploadSuccess', 'imageUploading', 'quickToolbarClose', 'quickToolbarOpen', 'resizeStart', 'resizeStop', 'resizing', 'selectionChanged', 'slashMenuItemSelect', 'toolbarClick', 'toolbarStatusUpdate', 'updatedToolbarStatus', 'valueChange'];
|
|
42
|
+
var twoWays = ['value'];
|
|
43
|
+
/**
|
|
44
|
+
* `ejs-richtexteditor` represents the Angular richtexteditor Component.
|
|
45
|
+
* ```html
|
|
46
|
+
* <ejs-richtexteditor></ejs-richtexteditor>
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
49
|
+
exports.RichTextEditorComponent = RichTextEditorComponent_1 = /** @class */ (function (_super) {
|
|
50
|
+
__extends(RichTextEditorComponent, _super);
|
|
51
|
+
/**
|
|
52
|
+
* @param {?} ngEle
|
|
53
|
+
* @param {?} srenderer
|
|
54
|
+
* @param {?} viewContainerRef
|
|
55
|
+
* @param {?} injector
|
|
56
|
+
* @param {?} cdr
|
|
57
|
+
*/
|
|
58
|
+
function RichTextEditorComponent(ngEle, srenderer, viewContainerRef, injector, cdr) {
|
|
59
|
+
var _this = _super.call(this) || this;
|
|
60
|
+
_this.ngEle = ngEle;
|
|
61
|
+
_this.srenderer = srenderer;
|
|
62
|
+
_this.viewContainerRef = viewContainerRef;
|
|
63
|
+
_this.injector = injector;
|
|
64
|
+
_this.cdr = cdr;
|
|
65
|
+
_this.skipFromEvent = true;
|
|
66
|
+
_this.element = _this.ngEle.nativeElement;
|
|
67
|
+
_this.injectedModules = _this.injectedModules || [];
|
|
68
|
+
try {
|
|
69
|
+
var mod = _this.injector.get('RichTextEditorToolbar');
|
|
70
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
71
|
+
_this.injectedModules.push(mod);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
catch (_a) { }
|
|
75
|
+
try {
|
|
76
|
+
var mod = _this.injector.get('RichTextEditorLink');
|
|
77
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
78
|
+
_this.injectedModules.push(mod);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
catch (_b) { }
|
|
82
|
+
try {
|
|
83
|
+
var mod = _this.injector.get('RichTextEditorImage');
|
|
84
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
85
|
+
_this.injectedModules.push(mod);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
catch (_c) { }
|
|
89
|
+
try {
|
|
90
|
+
var mod = _this.injector.get('RichTextEditorImportExport');
|
|
91
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
92
|
+
_this.injectedModules.push(mod);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
catch (_d) { }
|
|
96
|
+
try {
|
|
97
|
+
var mod = _this.injector.get('RichTextEditorAudio');
|
|
98
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
99
|
+
_this.injectedModules.push(mod);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
catch (_e) { }
|
|
103
|
+
try {
|
|
104
|
+
var mod = _this.injector.get('RichTextEditorVideo');
|
|
105
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
106
|
+
_this.injectedModules.push(mod);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
catch (_f) { }
|
|
110
|
+
try {
|
|
111
|
+
var mod = _this.injector.get('RichTextEditorCount');
|
|
112
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
113
|
+
_this.injectedModules.push(mod);
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
catch (_g) { }
|
|
117
|
+
try {
|
|
118
|
+
var mod = _this.injector.get('RichTextEditorQuickToolbar');
|
|
119
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
120
|
+
_this.injectedModules.push(mod);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
catch (_h) { }
|
|
124
|
+
try {
|
|
125
|
+
var mod = _this.injector.get('RichTextEditorHtmlEditor');
|
|
126
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
127
|
+
_this.injectedModules.push(mod);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
catch (_j) { }
|
|
131
|
+
try {
|
|
132
|
+
var mod = _this.injector.get('RichTextEditorMarkdownEditor');
|
|
133
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
134
|
+
_this.injectedModules.push(mod);
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
catch (_k) { }
|
|
138
|
+
try {
|
|
139
|
+
var mod = _this.injector.get('RichTextEditorTable');
|
|
140
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
141
|
+
_this.injectedModules.push(mod);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
catch (_l) { }
|
|
145
|
+
try {
|
|
146
|
+
var mod = _this.injector.get('RichTextEditorPasteCleanup');
|
|
147
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
148
|
+
_this.injectedModules.push(mod);
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
catch (_m) { }
|
|
152
|
+
try {
|
|
153
|
+
var mod = _this.injector.get('RichTextEditorResize');
|
|
154
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
155
|
+
_this.injectedModules.push(mod);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
catch (_o) { }
|
|
159
|
+
try {
|
|
160
|
+
var mod = _this.injector.get('RichTextEditorFileManager');
|
|
161
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
162
|
+
_this.injectedModules.push(mod);
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
catch (_p) { }
|
|
166
|
+
try {
|
|
167
|
+
var mod = _this.injector.get('RichTextEditorFormatPainter');
|
|
168
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
169
|
+
_this.injectedModules.push(mod);
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
catch (_q) { }
|
|
173
|
+
try {
|
|
174
|
+
var mod = _this.injector.get('RichTextEditorEmojiPicker');
|
|
175
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
176
|
+
_this.injectedModules.push(mod);
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
catch (_r) { }
|
|
180
|
+
try {
|
|
181
|
+
var mod = _this.injector.get('RichTextEditorSlashMenu');
|
|
182
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
183
|
+
_this.injectedModules.push(mod);
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
catch (_s) { }
|
|
187
|
+
try {
|
|
188
|
+
var mod = _this.injector.get('RichTextEditorCodeBlock');
|
|
189
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
190
|
+
_this.injectedModules.push(mod);
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
catch (_t) { }
|
|
194
|
+
_this.registerEvents(outputs);
|
|
195
|
+
_this.addTwoWay.call(_this, twoWays);
|
|
196
|
+
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
197
|
+
_this.formContext = new ej2AngularBase.FormBase();
|
|
198
|
+
_this.formCompContext = new ej2AngularBase.ComponentBase();
|
|
199
|
+
return _this;
|
|
200
|
+
}
|
|
201
|
+
/**
|
|
202
|
+
* @param {?} registerFunction
|
|
203
|
+
* @return {?}
|
|
204
|
+
*/
|
|
205
|
+
RichTextEditorComponent.prototype.registerOnChange = function (registerFunction) {
|
|
206
|
+
};
|
|
207
|
+
/**
|
|
208
|
+
* @param {?} registerFunction
|
|
209
|
+
* @return {?}
|
|
210
|
+
*/
|
|
211
|
+
RichTextEditorComponent.prototype.registerOnTouched = function (registerFunction) {
|
|
212
|
+
};
|
|
213
|
+
/**
|
|
214
|
+
* @param {?} value
|
|
215
|
+
* @return {?}
|
|
216
|
+
*/
|
|
217
|
+
RichTextEditorComponent.prototype.writeValue = function (value) {
|
|
218
|
+
};
|
|
219
|
+
/**
|
|
220
|
+
* @param {?} disabled
|
|
221
|
+
* @return {?}
|
|
222
|
+
*/
|
|
223
|
+
RichTextEditorComponent.prototype.setDisabledState = function (disabled) {
|
|
224
|
+
};
|
|
225
|
+
/**
|
|
226
|
+
* @return {?}
|
|
227
|
+
*/
|
|
228
|
+
RichTextEditorComponent.prototype.ngOnInit = function () {
|
|
229
|
+
this.formCompContext.ngOnInit(this);
|
|
230
|
+
};
|
|
231
|
+
/**
|
|
232
|
+
* @return {?}
|
|
233
|
+
*/
|
|
234
|
+
RichTextEditorComponent.prototype.ngAfterViewInit = function () {
|
|
235
|
+
this.formContext.ngAfterViewInit(this);
|
|
236
|
+
};
|
|
237
|
+
/**
|
|
238
|
+
* @return {?}
|
|
239
|
+
*/
|
|
240
|
+
RichTextEditorComponent.prototype.ngOnDestroy = function () {
|
|
241
|
+
this.formCompContext.ngOnDestroy(this);
|
|
242
|
+
};
|
|
243
|
+
/**
|
|
244
|
+
* @return {?}
|
|
245
|
+
*/
|
|
246
|
+
RichTextEditorComponent.prototype.ngAfterContentChecked = function () {
|
|
247
|
+
this.formCompContext.ngAfterContentChecked(this);
|
|
248
|
+
};
|
|
249
|
+
return RichTextEditorComponent;
|
|
250
|
+
}(ej2Richtexteditor.RichTextEditor));
|
|
251
|
+
exports.RichTextEditorComponent.decorators = [
|
|
252
|
+
{ type: core.Component, args: [{
|
|
253
|
+
selector: 'ejs-richtexteditor',
|
|
254
|
+
inputs: inputs,
|
|
255
|
+
outputs: outputs,
|
|
256
|
+
template: '',
|
|
257
|
+
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
258
|
+
providers: [
|
|
259
|
+
{
|
|
260
|
+
provide: forms.NG_VALUE_ACCESSOR,
|
|
261
|
+
useExisting: core.forwardRef(function () { return RichTextEditorComponent_1; }),
|
|
262
|
+
multi: true
|
|
263
|
+
}
|
|
264
|
+
],
|
|
265
|
+
queries: {}
|
|
266
|
+
},] },
|
|
267
|
+
];
|
|
268
|
+
/**
|
|
269
|
+
* @nocollapse
|
|
270
|
+
*/
|
|
271
|
+
exports.RichTextEditorComponent.ctorParameters = function () { return [
|
|
272
|
+
{ type: core.ElementRef, },
|
|
273
|
+
{ type: core.Renderer2, },
|
|
274
|
+
{ type: core.ViewContainerRef, },
|
|
275
|
+
{ type: core.Injector, },
|
|
276
|
+
{ type: core.ChangeDetectorRef, },
|
|
277
|
+
]; };
|
|
278
|
+
exports.RichTextEditorComponent.propDecorators = {
|
|
279
|
+
'valueTemplate': [{ type: core.ContentChild, args: ['valueTemplate',] },],
|
|
280
|
+
};
|
|
281
|
+
__decorate([
|
|
282
|
+
ej2AngularBase.Template(),
|
|
283
|
+
__metadata("design:type", Object)
|
|
284
|
+
], exports.RichTextEditorComponent.prototype, "valueTemplate", void 0);
|
|
285
|
+
exports.RichTextEditorComponent = RichTextEditorComponent_1 = __decorate([
|
|
286
|
+
ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase, ej2AngularBase.FormBase]),
|
|
287
|
+
__metadata("design:paramtypes", [core.ElementRef,
|
|
288
|
+
core.Renderer2,
|
|
289
|
+
core.ViewContainerRef,
|
|
290
|
+
core.Injector,
|
|
291
|
+
core.ChangeDetectorRef])
|
|
292
|
+
], exports.RichTextEditorComponent);
|
|
293
|
+
var RichTextEditorComponent_1;
|
|
294
|
+
/**
|
|
295
|
+
* NgModule definition for the RichTextEditor component.
|
|
296
|
+
*/
|
|
297
|
+
var RichTextEditorModule = /** @class */ (function () {
|
|
298
|
+
function RichTextEditorModule() {
|
|
299
|
+
}
|
|
300
|
+
return RichTextEditorModule;
|
|
301
|
+
}());
|
|
302
|
+
RichTextEditorModule.decorators = [
|
|
303
|
+
{ type: core.NgModule, args: [{
|
|
304
|
+
imports: [common.CommonModule],
|
|
305
|
+
declarations: [
|
|
306
|
+
exports.RichTextEditorComponent
|
|
307
|
+
],
|
|
308
|
+
exports: [
|
|
309
|
+
exports.RichTextEditorComponent
|
|
310
|
+
]
|
|
311
|
+
},] },
|
|
312
|
+
];
|
|
313
|
+
/**
|
|
314
|
+
* @nocollapse
|
|
315
|
+
*/
|
|
316
|
+
RichTextEditorModule.ctorParameters = function () { return []; };
|
|
317
|
+
var ToolbarService = { provide: 'RichTextEditorToolbar', useValue: ej2Richtexteditor.Toolbar };
|
|
318
|
+
var LinkService = { provide: 'RichTextEditorLink', useValue: ej2Richtexteditor.Link };
|
|
319
|
+
var ImageService = { provide: 'RichTextEditorImage', useValue: ej2Richtexteditor.Image };
|
|
320
|
+
var ImportExportService = { provide: 'RichTextEditorImportExport', useValue: ej2Richtexteditor.ImportExport };
|
|
321
|
+
var AudioService = { provide: 'RichTextEditorAudio', useValue: ej2Richtexteditor.Audio };
|
|
322
|
+
var VideoService = { provide: 'RichTextEditorVideo', useValue: ej2Richtexteditor.Video };
|
|
323
|
+
var CountService = { provide: 'RichTextEditorCount', useValue: ej2Richtexteditor.Count };
|
|
324
|
+
var QuickToolbarService = { provide: 'RichTextEditorQuickToolbar', useValue: ej2Richtexteditor.QuickToolbar };
|
|
325
|
+
var HtmlEditorService = { provide: 'RichTextEditorHtmlEditor', useValue: ej2Richtexteditor.HtmlEditor };
|
|
326
|
+
var MarkdownEditorService = { provide: 'RichTextEditorMarkdownEditor', useValue: ej2Richtexteditor.MarkdownEditor };
|
|
327
|
+
var TableService = { provide: 'RichTextEditorTable', useValue: ej2Richtexteditor.Table };
|
|
328
|
+
var PasteCleanupService = { provide: 'RichTextEditorPasteCleanup', useValue: ej2Richtexteditor.PasteCleanup };
|
|
329
|
+
var ResizeService = { provide: 'RichTextEditorResize', useValue: ej2Richtexteditor.Resize };
|
|
330
|
+
var FileManagerService = { provide: 'RichTextEditorFileManager', useValue: ej2Richtexteditor.FileManager };
|
|
331
|
+
var FormatPainterService = { provide: 'RichTextEditorFormatPainter', useValue: ej2Richtexteditor.FormatPainter };
|
|
332
|
+
var EmojiPickerService = { provide: 'RichTextEditorEmojiPicker', useValue: ej2Richtexteditor.EmojiPicker };
|
|
333
|
+
var SlashMenuService = { provide: 'RichTextEditorSlashMenu', useValue: ej2Richtexteditor.SlashMenu };
|
|
334
|
+
var CodeBlockService = { provide: 'RichTextEditorCodeBlock', useValue: ej2Richtexteditor.CodeBlock };
|
|
335
|
+
/**
|
|
336
|
+
* NgModule definition for the RichTextEditor component with providers.
|
|
337
|
+
*/
|
|
338
|
+
var RichTextEditorAllModule = /** @class */ (function () {
|
|
339
|
+
function RichTextEditorAllModule() {
|
|
340
|
+
}
|
|
341
|
+
return RichTextEditorAllModule;
|
|
342
|
+
}());
|
|
343
|
+
RichTextEditorAllModule.decorators = [
|
|
344
|
+
{ type: core.NgModule, args: [{
|
|
345
|
+
imports: [common.CommonModule, RichTextEditorModule],
|
|
346
|
+
exports: [
|
|
347
|
+
RichTextEditorModule
|
|
348
|
+
],
|
|
349
|
+
providers: [
|
|
350
|
+
ToolbarService,
|
|
351
|
+
LinkService,
|
|
352
|
+
ImageService,
|
|
353
|
+
ImportExportService,
|
|
354
|
+
AudioService,
|
|
355
|
+
VideoService,
|
|
356
|
+
CountService,
|
|
357
|
+
QuickToolbarService,
|
|
358
|
+
HtmlEditorService,
|
|
359
|
+
MarkdownEditorService,
|
|
360
|
+
TableService,
|
|
361
|
+
PasteCleanupService,
|
|
362
|
+
ResizeService,
|
|
363
|
+
FileManagerService,
|
|
364
|
+
FormatPainterService,
|
|
365
|
+
EmojiPickerService,
|
|
366
|
+
SlashMenuService,
|
|
367
|
+
CodeBlockService
|
|
368
|
+
]
|
|
369
|
+
},] },
|
|
370
|
+
];
|
|
371
|
+
/**
|
|
372
|
+
* @nocollapse
|
|
373
|
+
*/
|
|
374
374
|
RichTextEditorAllModule.ctorParameters = function () { return []; };
|
|
375
375
|
|
|
376
376
|
exports.RichTextEditorModule = RichTextEditorModule;
|
|
@@ -438,9 +438,6 @@ exports.QuickPopupRenderer = ej2Richtexteditor.QuickPopupRenderer;
|
|
|
438
438
|
exports.SlashMenu = ej2Richtexteditor.SlashMenu;
|
|
439
439
|
exports.RichTextEditor = ej2Richtexteditor.RichTextEditor;
|
|
440
440
|
exports.RenderType = ej2Richtexteditor.RenderType;
|
|
441
|
-
exports.ToolbarType = ej2Richtexteditor.ToolbarType;
|
|
442
|
-
exports.DialogType = ej2Richtexteditor.DialogType;
|
|
443
|
-
exports.ImageInputSource = ej2Richtexteditor.ImageInputSource;
|
|
444
441
|
exports.executeGroup = ej2Richtexteditor.executeGroup;
|
|
445
442
|
exports.created = ej2Richtexteditor.created;
|
|
446
443
|
exports.destroyed = ej2Richtexteditor.destroyed;
|
|
@@ -537,6 +534,7 @@ exports.codeBlockEnter = ej2Richtexteditor.codeBlockEnter;
|
|
|
537
534
|
exports.imgModule = ej2Richtexteditor.imgModule;
|
|
538
535
|
exports.rtlMode = ej2Richtexteditor.rtlMode;
|
|
539
536
|
exports.createTable = ej2Richtexteditor.createTable;
|
|
537
|
+
exports.updateProperty = ej2Richtexteditor.updateProperty;
|
|
540
538
|
exports.docClick = ej2Richtexteditor.docClick;
|
|
541
539
|
exports.tableToolbarAction = ej2Richtexteditor.tableToolbarAction;
|
|
542
540
|
exports.checkUndo = ej2Richtexteditor.checkUndo;
|
|
@@ -545,7 +543,6 @@ exports.pasteClean = ej2Richtexteditor.pasteClean;
|
|
|
545
543
|
exports.enterHandler = ej2Richtexteditor.enterHandler;
|
|
546
544
|
exports.beforeDialogOpen = ej2Richtexteditor.beforeDialogOpen;
|
|
547
545
|
exports.clearDialogObj = ej2Richtexteditor.clearDialogObj;
|
|
548
|
-
exports.hideTableQuickToolbar = ej2Richtexteditor.hideTableQuickToolbar;
|
|
549
546
|
exports.dialogOpen = ej2Richtexteditor.dialogOpen;
|
|
550
547
|
exports.beforeDialogClose = ej2Richtexteditor.beforeDialogClose;
|
|
551
548
|
exports.dialogClose = ej2Richtexteditor.dialogClose;
|
|
@@ -573,6 +570,7 @@ exports.beforeFileUpload = ej2Richtexteditor.beforeFileUpload;
|
|
|
573
570
|
exports.resizeInitialized = ej2Richtexteditor.resizeInitialized;
|
|
574
571
|
exports.renderFileManager = ej2Richtexteditor.renderFileManager;
|
|
575
572
|
exports.beforeImageDrop = ej2Richtexteditor.beforeImageDrop;
|
|
573
|
+
exports.beforeMediaDrop = ej2Richtexteditor.beforeMediaDrop;
|
|
576
574
|
exports.dynamicModule = ej2Richtexteditor.dynamicModule;
|
|
577
575
|
exports.beforePasteCleanup = ej2Richtexteditor.beforePasteCleanup;
|
|
578
576
|
exports.afterPasteCleanup = ej2Richtexteditor.afterPasteCleanup;
|
|
@@ -601,12 +599,14 @@ exports.showColorPicker = ej2Richtexteditor.showColorPicker;
|
|
|
601
599
|
exports.showDropDown = ej2Richtexteditor.showDropDown;
|
|
602
600
|
exports.closeTooltip = ej2Richtexteditor.closeTooltip;
|
|
603
601
|
exports.autoResize = ej2Richtexteditor.autoResize;
|
|
602
|
+
exports.selectionChangeMouseUp = ej2Richtexteditor.selectionChangeMouseUp;
|
|
604
603
|
exports.blockEmptyNodes = ej2Richtexteditor.blockEmptyNodes;
|
|
605
604
|
exports.inlineEmptyNodes = ej2Richtexteditor.inlineEmptyNodes;
|
|
606
605
|
exports.supportedUnits = ej2Richtexteditor.supportedUnits;
|
|
607
606
|
exports.conversionFactors = ej2Richtexteditor.conversionFactors;
|
|
608
607
|
exports.onHandleFontsizeChange = ej2Richtexteditor.onHandleFontsizeChange;
|
|
609
608
|
exports.preventQuickToolbarClose = ej2Richtexteditor.preventQuickToolbarClose;
|
|
609
|
+
exports.selectionChanged = ej2Richtexteditor.selectionChanged;
|
|
610
610
|
exports.CLS_RTE = ej2Richtexteditor.CLS_RTE;
|
|
611
611
|
exports.CLS_RTL = ej2Richtexteditor.CLS_RTL;
|
|
612
612
|
exports.CLS_CONTENT = ej2Richtexteditor.CLS_CONTENT;
|
|
@@ -629,7 +629,6 @@ exports.CLS_AUDIO_QUICK_TB = ej2Richtexteditor.CLS_AUDIO_QUICK_TB;
|
|
|
629
629
|
exports.CLS_VIDEO_QUICK_TB = ej2Richtexteditor.CLS_VIDEO_QUICK_TB;
|
|
630
630
|
exports.CLS_TABLE_QUICK_TB = ej2Richtexteditor.CLS_TABLE_QUICK_TB;
|
|
631
631
|
exports.CLS_LINK_QUICK_TB = ej2Richtexteditor.CLS_LINK_QUICK_TB;
|
|
632
|
-
exports.CLS_POP = ej2Richtexteditor.CLS_POP;
|
|
633
632
|
exports.CLS_TB_STATIC = ej2Richtexteditor.CLS_TB_STATIC;
|
|
634
633
|
exports.CLS_QUICK_POP = ej2Richtexteditor.CLS_QUICK_POP;
|
|
635
634
|
exports.CLS_INLINE_POP = ej2Richtexteditor.CLS_INLINE_POP;
|
|
@@ -691,6 +690,9 @@ exports.CLS_FORMATS_TB_BTN = ej2Richtexteditor.CLS_FORMATS_TB_BTN;
|
|
|
691
690
|
exports.CLS_FONT_NAME_TB_BTN = ej2Richtexteditor.CLS_FONT_NAME_TB_BTN;
|
|
692
691
|
exports.CLS_FONT_SIZE_TB_BTN = ej2Richtexteditor.CLS_FONT_SIZE_TB_BTN;
|
|
693
692
|
exports.CLS_ALIGN_TB_BTN = ej2Richtexteditor.CLS_ALIGN_TB_BTN;
|
|
693
|
+
exports.CLS_BORDER_STYLE_BTN = ej2Richtexteditor.CLS_BORDER_STYLE_BTN;
|
|
694
|
+
exports.CLS_BORDERCOLOR_COLORPICKER = ej2Richtexteditor.CLS_BORDERCOLOR_COLORPICKER;
|
|
695
|
+
exports.CLS_TABLE_BGCOLOR_COLORPICKER = ej2Richtexteditor.CLS_TABLE_BGCOLOR_COLORPICKER;
|
|
694
696
|
exports.CLS_FONT_COLORPICKER = ej2Richtexteditor.CLS_FONT_COLORPICKER;
|
|
695
697
|
exports.CLS_BACKGROUND_COLORPICKER = ej2Richtexteditor.CLS_BACKGROUND_COLORPICKER;
|
|
696
698
|
exports.CLS_NUMBERFORMATLIST_DROPDOWN = ej2Richtexteditor.CLS_NUMBERFORMATLIST_DROPDOWN;
|
|
@@ -698,14 +700,6 @@ exports.CLS_BULLETFORMATLIST_DROPDOWN = ej2Richtexteditor.CLS_BULLETFORMATLIST_D
|
|
|
698
700
|
exports.CLS_DROPDOWN = ej2Richtexteditor.CLS_DROPDOWN;
|
|
699
701
|
exports.CLS_COLOR_PALETTE = ej2Richtexteditor.CLS_COLOR_PALETTE;
|
|
700
702
|
exports.CLS_RTE_READONLY = ej2Richtexteditor.CLS_RTE_READONLY;
|
|
701
|
-
exports.CLS_TABLE_SEL = ej2Richtexteditor.CLS_TABLE_SEL;
|
|
702
|
-
exports.CLS_TABLE_SEL_END = ej2Richtexteditor.CLS_TABLE_SEL_END;
|
|
703
|
-
exports.CLS_TABLE_MULTI_CELL = ej2Richtexteditor.CLS_TABLE_MULTI_CELL;
|
|
704
|
-
exports.CLS_TB_DASH_BOR = ej2Richtexteditor.CLS_TB_DASH_BOR;
|
|
705
|
-
exports.CLS_TB_ALT_BOR = ej2Richtexteditor.CLS_TB_ALT_BOR;
|
|
706
|
-
exports.CLS_TB_COL_RES = ej2Richtexteditor.CLS_TB_COL_RES;
|
|
707
|
-
exports.CLS_TB_ROW_RES = ej2Richtexteditor.CLS_TB_ROW_RES;
|
|
708
|
-
exports.CLS_TB_BOX_RES = ej2Richtexteditor.CLS_TB_BOX_RES;
|
|
709
703
|
exports.CLS_RTE_HIDDEN = ej2Richtexteditor.CLS_RTE_HIDDEN;
|
|
710
704
|
exports.CLS_RTE_PASTE_KEEP_FORMAT = ej2Richtexteditor.CLS_RTE_PASTE_KEEP_FORMAT;
|
|
711
705
|
exports.CLS_RTE_PASTE_REMOVE_FORMAT = ej2Richtexteditor.CLS_RTE_PASTE_REMOVE_FORMAT;
|
|
@@ -716,15 +710,11 @@ exports.CLS_RTE_DIALOG_MIN_HEIGHT = ej2Richtexteditor.CLS_RTE_DIALOG_MIN_HEIGHT;
|
|
|
716
710
|
exports.CLS_RTE_RES_HANDLE = ej2Richtexteditor.CLS_RTE_RES_HANDLE;
|
|
717
711
|
exports.CLS_RTE_RES_EAST = ej2Richtexteditor.CLS_RTE_RES_EAST;
|
|
718
712
|
exports.CLS_RTE_IMAGE = ej2Richtexteditor.CLS_RTE_IMAGE;
|
|
719
|
-
exports.CLS_RESIZE = ej2Richtexteditor.CLS_RESIZE;
|
|
720
|
-
exports.CLS_IMG_FOCUS = ej2Richtexteditor.CLS_IMG_FOCUS;
|
|
721
|
-
exports.CLS_AUD_FOCUS = ej2Richtexteditor.CLS_AUD_FOCUS;
|
|
722
|
-
exports.CLS_VID_FOCUS = ej2Richtexteditor.CLS_VID_FOCUS;
|
|
723
|
-
exports.CLS_RTE_DRAG_IMAGE = ej2Richtexteditor.CLS_RTE_DRAG_IMAGE;
|
|
724
713
|
exports.CLS_RTE_UPLOAD_POPUP = ej2Richtexteditor.CLS_RTE_UPLOAD_POPUP;
|
|
725
714
|
exports.CLS_POPUP_OPEN = ej2Richtexteditor.CLS_POPUP_OPEN;
|
|
726
715
|
exports.CLS_POPUP_CLOSE = ej2Richtexteditor.CLS_POPUP_CLOSE;
|
|
727
716
|
exports.CLS_IMG_RESIZE = ej2Richtexteditor.CLS_IMG_RESIZE;
|
|
717
|
+
exports.CLS_VID_RESIZE = ej2Richtexteditor.CLS_VID_RESIZE;
|
|
728
718
|
exports.CLS_DROPAREA = ej2Richtexteditor.CLS_DROPAREA;
|
|
729
719
|
exports.CLS_IMG_INNER = ej2Richtexteditor.CLS_IMG_INNER;
|
|
730
720
|
exports.CLS_UPLOAD_FILES = ej2Richtexteditor.CLS_UPLOAD_FILES;
|
|
@@ -734,15 +724,16 @@ exports.CLS_CUSTOM_TILE = ej2Richtexteditor.CLS_CUSTOM_TILE;
|
|
|
734
724
|
exports.CLS_NOCOLOR_ITEM = ej2Richtexteditor.CLS_NOCOLOR_ITEM;
|
|
735
725
|
exports.CLS_TABLE = ej2Richtexteditor.CLS_TABLE;
|
|
736
726
|
exports.CLS_TABLE_BORDER = ej2Richtexteditor.CLS_TABLE_BORDER;
|
|
737
|
-
exports.CLS_RTE_TABLE_RESIZE = ej2Richtexteditor.CLS_RTE_TABLE_RESIZE;
|
|
738
727
|
exports.CLS_RTE_FIXED_TB_EXPAND = ej2Richtexteditor.CLS_RTE_FIXED_TB_EXPAND;
|
|
739
728
|
exports.CLS_RTE_TB_ENABLED = ej2Richtexteditor.CLS_RTE_TB_ENABLED;
|
|
740
729
|
exports.CLS_RTE_RES_WEST = ej2Richtexteditor.CLS_RTE_RES_WEST;
|
|
741
730
|
exports.CLS_RTE_SOURCE_CODE_TXTAREA = ej2Richtexteditor.CLS_RTE_SOURCE_CODE_TXTAREA;
|
|
731
|
+
exports.CLS_RTE_IMAGE_UPLOAD_POPUP = ej2Richtexteditor.CLS_RTE_IMAGE_UPLOAD_POPUP;
|
|
732
|
+
exports.CLS_RTE_VIDEO_UPLOAD_POPUP = ej2Richtexteditor.CLS_RTE_VIDEO_UPLOAD_POPUP;
|
|
733
|
+
exports.CLS_RTE_AUDIO_UPLOAD_POPUP = ej2Richtexteditor.CLS_RTE_AUDIO_UPLOAD_POPUP;
|
|
742
734
|
exports.getIndex = ej2Richtexteditor.getIndex;
|
|
743
735
|
exports.hasClass = ej2Richtexteditor.hasClass;
|
|
744
736
|
exports.getDropDownValue = ej2Richtexteditor.getDropDownValue;
|
|
745
|
-
exports.isIDevice = ej2Richtexteditor.isIDevice;
|
|
746
737
|
exports.getFormattedFontSize = ej2Richtexteditor.getFormattedFontSize;
|
|
747
738
|
exports.pageYOffset = ej2Richtexteditor.pageYOffset;
|
|
748
739
|
exports.getTooltipText = ej2Richtexteditor.getTooltipText;
|
|
@@ -756,16 +747,13 @@ exports.parseHtml = ej2Richtexteditor.parseHtml;
|
|
|
756
747
|
exports.getTextNodesUnder = ej2Richtexteditor.getTextNodesUnder;
|
|
757
748
|
exports.toObjectLowerCase = ej2Richtexteditor.toObjectLowerCase;
|
|
758
749
|
exports.getEditValue = ej2Richtexteditor.getEditValue;
|
|
759
|
-
exports.
|
|
750
|
+
exports.formatRTEContent = ej2Richtexteditor.formatRTEContent;
|
|
760
751
|
exports.getDefaultValue = ej2Richtexteditor.getDefaultValue;
|
|
761
752
|
exports.isEditableValueEmpty = ej2Richtexteditor.isEditableValueEmpty;
|
|
762
753
|
exports.decode = ej2Richtexteditor.decode;
|
|
763
754
|
exports.sanitizeHelper = ej2Richtexteditor.sanitizeHelper;
|
|
764
755
|
exports.parseHelper = ej2Richtexteditor.parseHelper;
|
|
765
756
|
exports.getLocaleFontFormat = ej2Richtexteditor.getLocaleFontFormat;
|
|
766
|
-
exports.resetContentEditableElements = ej2Richtexteditor.resetContentEditableElements;
|
|
767
|
-
exports.cleanupInternalElements = ej2Richtexteditor.cleanupInternalElements;
|
|
768
|
-
exports.removeSelectionClassStates = ej2Richtexteditor.removeSelectionClassStates;
|
|
769
757
|
exports.updateDropDownFontFormatLocale = ej2Richtexteditor.updateDropDownFontFormatLocale;
|
|
770
758
|
exports.ServiceLocator = ej2Richtexteditor.ServiceLocator;
|
|
771
759
|
exports.RendererFactory = ej2Richtexteditor.RendererFactory;
|
|
@@ -903,6 +891,66 @@ exports.DESTROY = ej2Richtexteditor.DESTROY;
|
|
|
903
891
|
exports.INTERNAL_DESTROY = ej2Richtexteditor.INTERNAL_DESTROY;
|
|
904
892
|
exports.CODEBLOCK_INDENTATION = ej2Richtexteditor.CODEBLOCK_INDENTATION;
|
|
905
893
|
exports.CODEBLOCK_DISABLETOOLBAR = ej2Richtexteditor.CODEBLOCK_DISABLETOOLBAR;
|
|
894
|
+
exports.CLS_RTE_TABLE_RESIZE = ej2Richtexteditor.CLS_RTE_TABLE_RESIZE;
|
|
895
|
+
exports.CLS_TB_ROW_INSERT = ej2Richtexteditor.CLS_TB_ROW_INSERT;
|
|
896
|
+
exports.CLS_TB_COL_INSERT = ej2Richtexteditor.CLS_TB_COL_INSERT;
|
|
897
|
+
exports.CLS_TB_DASH_BOR = ej2Richtexteditor.CLS_TB_DASH_BOR;
|
|
898
|
+
exports.CLS_TB_ALT_BOR = ej2Richtexteditor.CLS_TB_ALT_BOR;
|
|
899
|
+
exports.CLS_TB_COL_RES = ej2Richtexteditor.CLS_TB_COL_RES;
|
|
900
|
+
exports.CLS_TB_ROW_RES = ej2Richtexteditor.CLS_TB_ROW_RES;
|
|
901
|
+
exports.CLS_TB_BOX_RES = ej2Richtexteditor.CLS_TB_BOX_RES;
|
|
902
|
+
exports.CLS_IMG_FOCUS = ej2Richtexteditor.CLS_IMG_FOCUS;
|
|
903
|
+
exports.CLS_TABLE_SEL = ej2Richtexteditor.CLS_TABLE_SEL;
|
|
904
|
+
exports.CLS_TABLE_SEL_END = ej2Richtexteditor.CLS_TABLE_SEL_END;
|
|
905
|
+
exports.CLS_TABLE_MULTI_CELL = ej2Richtexteditor.CLS_TABLE_MULTI_CELL;
|
|
906
|
+
exports.CLS_AUD_FOCUS = ej2Richtexteditor.CLS_AUD_FOCUS;
|
|
907
|
+
exports.CLS_VID_FOCUS = ej2Richtexteditor.CLS_VID_FOCUS;
|
|
908
|
+
exports.CLS_RTE_DRAG_IMAGE = ej2Richtexteditor.CLS_RTE_DRAG_IMAGE;
|
|
909
|
+
exports.CLS_RESIZE = ej2Richtexteditor.CLS_RESIZE;
|
|
910
|
+
exports.hideTableQuickToolbar = ej2Richtexteditor.hideTableQuickToolbar;
|
|
911
|
+
exports.DialogType = ej2Richtexteditor.DialogType;
|
|
912
|
+
exports.ToolbarType = ej2Richtexteditor.ToolbarType;
|
|
913
|
+
exports.ImageInputSource = ej2Richtexteditor.ImageInputSource;
|
|
914
|
+
exports.MediaInputSource = ej2Richtexteditor.MediaInputSource;
|
|
915
|
+
exports.isIDevice = ej2Richtexteditor.isIDevice;
|
|
916
|
+
exports.setEditFrameFocus = ej2Richtexteditor.setEditFrameFocus;
|
|
917
|
+
exports.updateTextNode = ej2Richtexteditor.updateTextNode;
|
|
918
|
+
exports.getLastTextNode = ej2Richtexteditor.getLastTextNode;
|
|
919
|
+
exports.getDefaultHtmlTbStatus = ej2Richtexteditor.getDefaultHtmlTbStatus;
|
|
920
|
+
exports.getDefaultMDTbStatus = ej2Richtexteditor.getDefaultMDTbStatus;
|
|
921
|
+
exports.hasAnyFormatting = ej2Richtexteditor.hasAnyFormatting;
|
|
922
|
+
exports.nestedListCleanUp = ej2Richtexteditor.nestedListCleanUp;
|
|
923
|
+
exports.scrollToCursor = ej2Richtexteditor.scrollToCursor;
|
|
924
|
+
exports.insertItemsAtIndex = ej2Richtexteditor.insertItemsAtIndex;
|
|
925
|
+
exports.removeClassWithAttr = ej2Richtexteditor.removeClassWithAttr;
|
|
926
|
+
exports.getCorrespondingColumns = ej2Richtexteditor.getCorrespondingColumns;
|
|
927
|
+
exports.mapCellToMatrixPositions = ej2Richtexteditor.mapCellToMatrixPositions;
|
|
928
|
+
exports.getCorrespondingIndex = ej2Richtexteditor.getCorrespondingIndex;
|
|
929
|
+
exports.insertColGroupWithSizes = ej2Richtexteditor.insertColGroupWithSizes;
|
|
930
|
+
exports.getColGroup = ej2Richtexteditor.getColGroup;
|
|
931
|
+
exports.getMaxCellCount = ej2Richtexteditor.getMaxCellCount;
|
|
932
|
+
exports.getCellIndex = ej2Richtexteditor.getCellIndex;
|
|
933
|
+
exports.convertPixelToPercentage = ej2Richtexteditor.convertPixelToPercentage;
|
|
934
|
+
exports.resetContentEditableElements = ej2Richtexteditor.resetContentEditableElements;
|
|
935
|
+
exports.cleanupInternalElements = ej2Richtexteditor.cleanupInternalElements;
|
|
936
|
+
exports.removeSelectionClassStates = ej2Richtexteditor.removeSelectionClassStates;
|
|
937
|
+
exports.getStructuredHtml = ej2Richtexteditor.getStructuredHtml;
|
|
938
|
+
exports.isInSet = ej2Richtexteditor.isInSet;
|
|
939
|
+
exports.wrapTextAndInlineNodes = ej2Richtexteditor.wrapTextAndInlineNodes;
|
|
940
|
+
exports.getNextMeaningfulSibling = ej2Richtexteditor.getNextMeaningfulSibling;
|
|
941
|
+
exports.getPreviousMeaningfulSibling = ej2Richtexteditor.getPreviousMeaningfulSibling;
|
|
942
|
+
exports.needToWrapLiChild = ej2Richtexteditor.needToWrapLiChild;
|
|
943
|
+
exports.cleanHTMLString = ej2Richtexteditor.cleanHTMLString;
|
|
944
|
+
exports.convertToBlob = ej2Richtexteditor.convertToBlob;
|
|
945
|
+
exports.escaseHtml = ej2Richtexteditor.escaseHtml;
|
|
946
|
+
exports.alignmentHtml = ej2Richtexteditor.alignmentHtml;
|
|
947
|
+
exports.formatNode = ej2Richtexteditor.formatNode;
|
|
948
|
+
exports.openPrintWindow = ej2Richtexteditor.openPrintWindow;
|
|
949
|
+
exports.IFRAME_EDITOR_STYLES = ej2Richtexteditor.IFRAME_EDITOR_STYLES;
|
|
950
|
+
exports.IFRAME_EDITOR_LIGHT_THEME_STYLES = ej2Richtexteditor.IFRAME_EDITOR_LIGHT_THEME_STYLES;
|
|
951
|
+
exports.IFRAME_EDITOR_DARK_THEME_STYLES = ej2Richtexteditor.IFRAME_EDITOR_DARK_THEME_STYLES;
|
|
952
|
+
exports.EXPORT_STYLES = ej2Richtexteditor.EXPORT_STYLES;
|
|
953
|
+
exports.CustomUserAgentData = ej2Richtexteditor.CustomUserAgentData;
|
|
906
954
|
|
|
907
955
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
908
956
|
|