@syncfusion/ej2-angular-richtexteditor 30.1.37-ngcc → 30.1.38-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/dist/ej2-angular-richtexteditor.umd.js +383 -410
- package/dist/ej2-angular-richtexteditor.umd.js.map +1 -1
- package/dist/ej2-angular-richtexteditor.umd.min.js +2 -2
- package/ej2-angular-richtexteditor.d.ts +5 -5
- package/{LICENSE → license} +10 -10
- package/package.json +45 -14
- 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 +85 -85
- package/src/rich-text-editor/richtexteditor.module.d.ts +5 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-angular-richtexteditor.umd.js
|
|
3
|
-
* version : 30.1.
|
|
3
|
+
* version : 30.1.38
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2024. 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
|
|
@@ -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', '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
|
+
*/
|
|
374
374
|
RichTextEditorAllModule.ctorParameters = function () { return []; };
|
|
375
375
|
|
|
376
376
|
exports.RichTextEditorModule = RichTextEditorModule;
|
|
@@ -438,6 +438,9 @@ 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;
|
|
441
444
|
exports.executeGroup = ej2Richtexteditor.executeGroup;
|
|
442
445
|
exports.created = ej2Richtexteditor.created;
|
|
443
446
|
exports.destroyed = ej2Richtexteditor.destroyed;
|
|
@@ -534,7 +537,6 @@ exports.codeBlockEnter = ej2Richtexteditor.codeBlockEnter;
|
|
|
534
537
|
exports.imgModule = ej2Richtexteditor.imgModule;
|
|
535
538
|
exports.rtlMode = ej2Richtexteditor.rtlMode;
|
|
536
539
|
exports.createTable = ej2Richtexteditor.createTable;
|
|
537
|
-
exports.updateProperty = ej2Richtexteditor.updateProperty;
|
|
538
540
|
exports.docClick = ej2Richtexteditor.docClick;
|
|
539
541
|
exports.tableToolbarAction = ej2Richtexteditor.tableToolbarAction;
|
|
540
542
|
exports.checkUndo = ej2Richtexteditor.checkUndo;
|
|
@@ -543,6 +545,7 @@ exports.pasteClean = ej2Richtexteditor.pasteClean;
|
|
|
543
545
|
exports.enterHandler = ej2Richtexteditor.enterHandler;
|
|
544
546
|
exports.beforeDialogOpen = ej2Richtexteditor.beforeDialogOpen;
|
|
545
547
|
exports.clearDialogObj = ej2Richtexteditor.clearDialogObj;
|
|
548
|
+
exports.hideTableQuickToolbar = ej2Richtexteditor.hideTableQuickToolbar;
|
|
546
549
|
exports.dialogOpen = ej2Richtexteditor.dialogOpen;
|
|
547
550
|
exports.beforeDialogClose = ej2Richtexteditor.beforeDialogClose;
|
|
548
551
|
exports.dialogClose = ej2Richtexteditor.dialogClose;
|
|
@@ -626,6 +629,7 @@ exports.CLS_AUDIO_QUICK_TB = ej2Richtexteditor.CLS_AUDIO_QUICK_TB;
|
|
|
626
629
|
exports.CLS_VIDEO_QUICK_TB = ej2Richtexteditor.CLS_VIDEO_QUICK_TB;
|
|
627
630
|
exports.CLS_TABLE_QUICK_TB = ej2Richtexteditor.CLS_TABLE_QUICK_TB;
|
|
628
631
|
exports.CLS_LINK_QUICK_TB = ej2Richtexteditor.CLS_LINK_QUICK_TB;
|
|
632
|
+
exports.CLS_POP = ej2Richtexteditor.CLS_POP;
|
|
629
633
|
exports.CLS_TB_STATIC = ej2Richtexteditor.CLS_TB_STATIC;
|
|
630
634
|
exports.CLS_QUICK_POP = ej2Richtexteditor.CLS_QUICK_POP;
|
|
631
635
|
exports.CLS_INLINE_POP = ej2Richtexteditor.CLS_INLINE_POP;
|
|
@@ -694,6 +698,14 @@ exports.CLS_BULLETFORMATLIST_DROPDOWN = ej2Richtexteditor.CLS_BULLETFORMATLIST_D
|
|
|
694
698
|
exports.CLS_DROPDOWN = ej2Richtexteditor.CLS_DROPDOWN;
|
|
695
699
|
exports.CLS_COLOR_PALETTE = ej2Richtexteditor.CLS_COLOR_PALETTE;
|
|
696
700
|
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;
|
|
697
709
|
exports.CLS_RTE_HIDDEN = ej2Richtexteditor.CLS_RTE_HIDDEN;
|
|
698
710
|
exports.CLS_RTE_PASTE_KEEP_FORMAT = ej2Richtexteditor.CLS_RTE_PASTE_KEEP_FORMAT;
|
|
699
711
|
exports.CLS_RTE_PASTE_REMOVE_FORMAT = ej2Richtexteditor.CLS_RTE_PASTE_REMOVE_FORMAT;
|
|
@@ -704,6 +716,11 @@ exports.CLS_RTE_DIALOG_MIN_HEIGHT = ej2Richtexteditor.CLS_RTE_DIALOG_MIN_HEIGHT;
|
|
|
704
716
|
exports.CLS_RTE_RES_HANDLE = ej2Richtexteditor.CLS_RTE_RES_HANDLE;
|
|
705
717
|
exports.CLS_RTE_RES_EAST = ej2Richtexteditor.CLS_RTE_RES_EAST;
|
|
706
718
|
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;
|
|
707
724
|
exports.CLS_RTE_UPLOAD_POPUP = ej2Richtexteditor.CLS_RTE_UPLOAD_POPUP;
|
|
708
725
|
exports.CLS_POPUP_OPEN = ej2Richtexteditor.CLS_POPUP_OPEN;
|
|
709
726
|
exports.CLS_POPUP_CLOSE = ej2Richtexteditor.CLS_POPUP_CLOSE;
|
|
@@ -717,6 +734,7 @@ exports.CLS_CUSTOM_TILE = ej2Richtexteditor.CLS_CUSTOM_TILE;
|
|
|
717
734
|
exports.CLS_NOCOLOR_ITEM = ej2Richtexteditor.CLS_NOCOLOR_ITEM;
|
|
718
735
|
exports.CLS_TABLE = ej2Richtexteditor.CLS_TABLE;
|
|
719
736
|
exports.CLS_TABLE_BORDER = ej2Richtexteditor.CLS_TABLE_BORDER;
|
|
737
|
+
exports.CLS_RTE_TABLE_RESIZE = ej2Richtexteditor.CLS_RTE_TABLE_RESIZE;
|
|
720
738
|
exports.CLS_RTE_FIXED_TB_EXPAND = ej2Richtexteditor.CLS_RTE_FIXED_TB_EXPAND;
|
|
721
739
|
exports.CLS_RTE_TB_ENABLED = ej2Richtexteditor.CLS_RTE_TB_ENABLED;
|
|
722
740
|
exports.CLS_RTE_RES_WEST = ej2Richtexteditor.CLS_RTE_RES_WEST;
|
|
@@ -724,6 +742,7 @@ exports.CLS_RTE_SOURCE_CODE_TXTAREA = ej2Richtexteditor.CLS_RTE_SOURCE_CODE_TXTA
|
|
|
724
742
|
exports.getIndex = ej2Richtexteditor.getIndex;
|
|
725
743
|
exports.hasClass = ej2Richtexteditor.hasClass;
|
|
726
744
|
exports.getDropDownValue = ej2Richtexteditor.getDropDownValue;
|
|
745
|
+
exports.isIDevice = ej2Richtexteditor.isIDevice;
|
|
727
746
|
exports.getFormattedFontSize = ej2Richtexteditor.getFormattedFontSize;
|
|
728
747
|
exports.pageYOffset = ej2Richtexteditor.pageYOffset;
|
|
729
748
|
exports.getTooltipText = ej2Richtexteditor.getTooltipText;
|
|
@@ -737,13 +756,16 @@ exports.parseHtml = ej2Richtexteditor.parseHtml;
|
|
|
737
756
|
exports.getTextNodesUnder = ej2Richtexteditor.getTextNodesUnder;
|
|
738
757
|
exports.toObjectLowerCase = ej2Richtexteditor.toObjectLowerCase;
|
|
739
758
|
exports.getEditValue = ej2Richtexteditor.getEditValue;
|
|
740
|
-
exports.
|
|
759
|
+
exports.updateTextNode = ej2Richtexteditor.updateTextNode;
|
|
741
760
|
exports.getDefaultValue = ej2Richtexteditor.getDefaultValue;
|
|
742
761
|
exports.isEditableValueEmpty = ej2Richtexteditor.isEditableValueEmpty;
|
|
743
762
|
exports.decode = ej2Richtexteditor.decode;
|
|
744
763
|
exports.sanitizeHelper = ej2Richtexteditor.sanitizeHelper;
|
|
745
764
|
exports.parseHelper = ej2Richtexteditor.parseHelper;
|
|
746
765
|
exports.getLocaleFontFormat = ej2Richtexteditor.getLocaleFontFormat;
|
|
766
|
+
exports.resetContentEditableElements = ej2Richtexteditor.resetContentEditableElements;
|
|
767
|
+
exports.cleanupInternalElements = ej2Richtexteditor.cleanupInternalElements;
|
|
768
|
+
exports.removeSelectionClassStates = ej2Richtexteditor.removeSelectionClassStates;
|
|
747
769
|
exports.updateDropDownFontFormatLocale = ej2Richtexteditor.updateDropDownFontFormatLocale;
|
|
748
770
|
exports.ServiceLocator = ej2Richtexteditor.ServiceLocator;
|
|
749
771
|
exports.RendererFactory = ej2Richtexteditor.RendererFactory;
|
|
@@ -881,55 +903,6 @@ exports.DESTROY = ej2Richtexteditor.DESTROY;
|
|
|
881
903
|
exports.INTERNAL_DESTROY = ej2Richtexteditor.INTERNAL_DESTROY;
|
|
882
904
|
exports.CODEBLOCK_INDENTATION = ej2Richtexteditor.CODEBLOCK_INDENTATION;
|
|
883
905
|
exports.CODEBLOCK_DISABLETOOLBAR = ej2Richtexteditor.CODEBLOCK_DISABLETOOLBAR;
|
|
884
|
-
exports.CLS_RTE_TABLE_RESIZE = ej2Richtexteditor.CLS_RTE_TABLE_RESIZE;
|
|
885
|
-
exports.CLS_TB_DASH_BOR = ej2Richtexteditor.CLS_TB_DASH_BOR;
|
|
886
|
-
exports.CLS_TB_ALT_BOR = ej2Richtexteditor.CLS_TB_ALT_BOR;
|
|
887
|
-
exports.CLS_TB_COL_RES = ej2Richtexteditor.CLS_TB_COL_RES;
|
|
888
|
-
exports.CLS_TB_ROW_RES = ej2Richtexteditor.CLS_TB_ROW_RES;
|
|
889
|
-
exports.CLS_TB_BOX_RES = ej2Richtexteditor.CLS_TB_BOX_RES;
|
|
890
|
-
exports.CLS_IMG_FOCUS = ej2Richtexteditor.CLS_IMG_FOCUS;
|
|
891
|
-
exports.CLS_TABLE_SEL = ej2Richtexteditor.CLS_TABLE_SEL;
|
|
892
|
-
exports.CLS_TABLE_SEL_END = ej2Richtexteditor.CLS_TABLE_SEL_END;
|
|
893
|
-
exports.CLS_TABLE_MULTI_CELL = ej2Richtexteditor.CLS_TABLE_MULTI_CELL;
|
|
894
|
-
exports.CLS_AUD_FOCUS = ej2Richtexteditor.CLS_AUD_FOCUS;
|
|
895
|
-
exports.CLS_VID_FOCUS = ej2Richtexteditor.CLS_VID_FOCUS;
|
|
896
|
-
exports.CLS_RTE_DRAG_IMAGE = ej2Richtexteditor.CLS_RTE_DRAG_IMAGE;
|
|
897
|
-
exports.CLS_RESIZE = ej2Richtexteditor.CLS_RESIZE;
|
|
898
|
-
exports.hideTableQuickToolbar = ej2Richtexteditor.hideTableQuickToolbar;
|
|
899
|
-
exports.DialogType = ej2Richtexteditor.DialogType;
|
|
900
|
-
exports.ToolbarType = ej2Richtexteditor.ToolbarType;
|
|
901
|
-
exports.ImageInputSource = ej2Richtexteditor.ImageInputSource;
|
|
902
|
-
exports.isIDevice = ej2Richtexteditor.isIDevice;
|
|
903
|
-
exports.setEditFrameFocus = ej2Richtexteditor.setEditFrameFocus;
|
|
904
|
-
exports.updateTextNode = ej2Richtexteditor.updateTextNode;
|
|
905
|
-
exports.getLastTextNode = ej2Richtexteditor.getLastTextNode;
|
|
906
|
-
exports.getDefaultHtmlTbStatus = ej2Richtexteditor.getDefaultHtmlTbStatus;
|
|
907
|
-
exports.getDefaultMDTbStatus = ej2Richtexteditor.getDefaultMDTbStatus;
|
|
908
|
-
exports.nestedListCleanUp = ej2Richtexteditor.nestedListCleanUp;
|
|
909
|
-
exports.scrollToCursor = ej2Richtexteditor.scrollToCursor;
|
|
910
|
-
exports.insertItemsAtIndex = ej2Richtexteditor.insertItemsAtIndex;
|
|
911
|
-
exports.removeClassWithAttr = ej2Richtexteditor.removeClassWithAttr;
|
|
912
|
-
exports.getCorrespondingColumns = ej2Richtexteditor.getCorrespondingColumns;
|
|
913
|
-
exports.mapCellToMatrixPositions = ej2Richtexteditor.mapCellToMatrixPositions;
|
|
914
|
-
exports.getCorrespondingIndex = ej2Richtexteditor.getCorrespondingIndex;
|
|
915
|
-
exports.insertColGroupWithSizes = ej2Richtexteditor.insertColGroupWithSizes;
|
|
916
|
-
exports.getColGroup = ej2Richtexteditor.getColGroup;
|
|
917
|
-
exports.getMaxCellCount = ej2Richtexteditor.getMaxCellCount;
|
|
918
|
-
exports.getCellIndex = ej2Richtexteditor.getCellIndex;
|
|
919
|
-
exports.convertPixelToPercentage = ej2Richtexteditor.convertPixelToPercentage;
|
|
920
|
-
exports.resetContentEditableElements = ej2Richtexteditor.resetContentEditableElements;
|
|
921
|
-
exports.cleanupInternalElements = ej2Richtexteditor.cleanupInternalElements;
|
|
922
|
-
exports.removeSelectionClassStates = ej2Richtexteditor.removeSelectionClassStates;
|
|
923
|
-
exports.getStructuredHtml = ej2Richtexteditor.getStructuredHtml;
|
|
924
|
-
exports.isInSet = ej2Richtexteditor.isInSet;
|
|
925
|
-
exports.wrapTextAndInlineNodes = ej2Richtexteditor.wrapTextAndInlineNodes;
|
|
926
|
-
exports.cleanHTMLString = ej2Richtexteditor.cleanHTMLString;
|
|
927
|
-
exports.convertToBlob = ej2Richtexteditor.convertToBlob;
|
|
928
|
-
exports.IFRAME_EDITOR_STYLES = ej2Richtexteditor.IFRAME_EDITOR_STYLES;
|
|
929
|
-
exports.IFRAME_EDITOR_LIGHT_THEME_STYLES = ej2Richtexteditor.IFRAME_EDITOR_LIGHT_THEME_STYLES;
|
|
930
|
-
exports.IFRAME_EDITOR_DARK_THEME_STYLES = ej2Richtexteditor.IFRAME_EDITOR_DARK_THEME_STYLES;
|
|
931
|
-
exports.EXPORT_STYLES = ej2Richtexteditor.EXPORT_STYLES;
|
|
932
|
-
exports.CustomUserAgentData = ej2Richtexteditor.CustomUserAgentData;
|
|
933
906
|
|
|
934
907
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
935
908
|
|