@syncfusion/ej2-richtexteditor 28.1.39 → 28.1.41-642043
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/.eslintignore +4 -4
- package/.eslintrc.json +260 -260
- package/README.md +76 -76
- package/dist/ej2-richtexteditor.umd.min.js +1 -10
- package/dist/ej2-richtexteditor.umd.min.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es2015.js +91 -69
- package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es5.js +326 -304
- package/dist/es6/ej2-richtexteditor.es5.js.map +1 -1
- package/helpers/e2e/index.js +3 -3
- package/helpers/e2e/rte-helper.js +13 -13
- package/license +9 -9
- package/package.json +85 -85
- package/src/common/interface.d.ts +8 -8
- package/src/editor-manager/base/classes.d.ts +1 -1
- package/src/editor-manager/base/classes.js +1 -1
- package/src/editor-manager/base/editor-manager.d.ts +3 -3
- package/src/editor-manager/base/editor-manager.js +3 -3
- package/src/editor-manager/base/enum.d.ts +2 -2
- package/src/editor-manager/base/interface.d.ts +9 -9
- package/src/editor-manager/base/types.d.ts +1 -1
- package/src/editor-manager/plugin/alignments.d.ts +2 -2
- package/src/editor-manager/plugin/alignments.js +2 -2
- package/src/editor-manager/plugin/audio.d.ts +3 -3
- package/src/editor-manager/plugin/audio.js +3 -3
- package/src/editor-manager/plugin/clearformat-exec.d.ts +2 -2
- package/src/editor-manager/plugin/clearformat-exec.js +2 -2
- package/src/editor-manager/plugin/clearformat.d.ts +1 -1
- package/src/editor-manager/plugin/clearformat.js +1 -1
- package/src/editor-manager/plugin/dom-node.d.ts +36 -36
- package/src/editor-manager/plugin/dom-node.js +36 -36
- package/src/editor-manager/plugin/format-painter-actions.d.ts +1 -1
- package/src/editor-manager/plugin/format-painter-actions.js +1 -1
- package/src/editor-manager/plugin/formats.d.ts +2 -2
- package/src/editor-manager/plugin/formats.js +2 -2
- package/src/editor-manager/plugin/image.d.ts +3 -3
- package/src/editor-manager/plugin/image.js +3 -3
- package/src/editor-manager/plugin/indents.d.ts +2 -2
- package/src/editor-manager/plugin/indents.js +2 -2
- package/src/editor-manager/plugin/insert-methods.d.ts +4 -4
- package/src/editor-manager/plugin/insert-methods.js +4 -4
- package/src/editor-manager/plugin/insert-text.d.ts +2 -2
- package/src/editor-manager/plugin/insert-text.js +2 -2
- package/src/editor-manager/plugin/inserthtml-exec.d.ts +2 -2
- package/src/editor-manager/plugin/inserthtml-exec.js +2 -2
- package/src/editor-manager/plugin/inserthtml.d.ts +2 -2
- package/src/editor-manager/plugin/inserthtml.js +2 -2
- package/src/editor-manager/plugin/isformatted.d.ts +9 -9
- package/src/editor-manager/plugin/isformatted.js +9 -9
- package/src/editor-manager/plugin/link.d.ts +2 -2
- package/src/editor-manager/plugin/link.js +2 -2
- package/src/editor-manager/plugin/lists.d.ts +2 -2
- package/src/editor-manager/plugin/lists.js +2 -2
- package/src/editor-manager/plugin/ms-word-clean-up.d.ts +1 -1
- package/src/editor-manager/plugin/ms-word-clean-up.js +1 -1
- package/src/editor-manager/plugin/nodecutter.d.ts +6 -6
- package/src/editor-manager/plugin/nodecutter.js +6 -6
- package/src/editor-manager/plugin/selection-commands.d.ts +1 -1
- package/src/editor-manager/plugin/selection-commands.js +1 -1
- package/src/editor-manager/plugin/selection-exec.d.ts +2 -2
- package/src/editor-manager/plugin/selection-exec.js +2 -2
- package/src/editor-manager/plugin/table.d.ts +2 -2
- package/src/editor-manager/plugin/table.js +2 -2
- package/src/editor-manager/plugin/toolbar-status.d.ts +2 -2
- package/src/editor-manager/plugin/toolbar-status.js +2 -2
- package/src/editor-manager/plugin/undo.d.ts +6 -6
- package/src/editor-manager/plugin/undo.js +6 -6
- package/src/editor-manager/plugin/video.d.ts +3 -3
- package/src/editor-manager/plugin/video.js +3 -3
- package/src/markdown-parser/base/interface.d.ts +10 -10
- package/src/markdown-parser/base/markdown-parser.d.ts +3 -3
- package/src/markdown-parser/base/markdown-parser.js +3 -3
- package/src/markdown-parser/base/types.d.ts +1 -1
- package/src/markdown-parser/plugin/clearformat.d.ts +2 -2
- package/src/markdown-parser/plugin/clearformat.js +2 -2
- package/src/markdown-parser/plugin/formats.d.ts +2 -2
- package/src/markdown-parser/plugin/formats.js +2 -2
- package/src/markdown-parser/plugin/insert-text.d.ts +2 -2
- package/src/markdown-parser/plugin/insert-text.js +2 -2
- package/src/markdown-parser/plugin/link.d.ts +2 -2
- package/src/markdown-parser/plugin/link.js +2 -2
- package/src/markdown-parser/plugin/markdown-selection.d.ts +14 -14
- package/src/markdown-parser/plugin/markdown-selection.js +14 -14
- package/src/markdown-parser/plugin/md-selection-formats.d.ts +1 -1
- package/src/markdown-parser/plugin/md-selection-formats.js +1 -1
- package/src/markdown-parser/plugin/table.d.ts +3 -3
- package/src/markdown-parser/plugin/table.js +3 -3
- package/src/markdown-parser/plugin/undo.d.ts +6 -6
- package/src/markdown-parser/plugin/undo.js +6 -6
- package/src/rich-text-editor/actions/base-quick-toolbar.d.ts +9 -9
- package/src/rich-text-editor/actions/base-quick-toolbar.js +9 -9
- package/src/rich-text-editor/actions/base-toolbar.d.ts +3 -3
- package/src/rich-text-editor/actions/base-toolbar.js +3 -3
- package/src/rich-text-editor/actions/color-picker.d.ts +2 -2
- package/src/rich-text-editor/actions/color-picker.js +2 -2
- package/src/rich-text-editor/actions/count.d.ts +3 -3
- package/src/rich-text-editor/actions/count.js +3 -3
- package/src/rich-text-editor/actions/dropdown-buttons.d.ts +2 -2
- package/src/rich-text-editor/actions/dropdown-buttons.js +2 -2
- package/src/rich-text-editor/actions/emoji-picker.d.ts +1 -1
- package/src/rich-text-editor/actions/emoji-picker.js +1 -1
- package/src/rich-text-editor/actions/full-screen.d.ts +3 -3
- package/src/rich-text-editor/actions/full-screen.js +3 -3
- package/src/rich-text-editor/actions/html-editor.d.ts +3 -3
- package/src/rich-text-editor/actions/html-editor.js +23 -3
- package/src/rich-text-editor/actions/keyboard.d.ts +1 -1
- package/src/rich-text-editor/actions/keyboard.js +20 -20
- package/src/rich-text-editor/actions/markdown-editor.d.ts +2 -2
- package/src/rich-text-editor/actions/markdown-editor.js +2 -2
- package/src/rich-text-editor/actions/paste-clean-up.d.ts +1 -1
- package/src/rich-text-editor/actions/paste-clean-up.js +23 -32
- package/src/rich-text-editor/actions/quick-toolbar.d.ts +9 -9
- package/src/rich-text-editor/actions/quick-toolbar.js +9 -9
- package/src/rich-text-editor/actions/resize.d.ts +2 -0
- package/src/rich-text-editor/actions/resize.js +13 -2
- package/src/rich-text-editor/actions/toolbar.d.ts +13 -13
- package/src/rich-text-editor/actions/toolbar.js +13 -13
- package/src/rich-text-editor/actions/xhtml-validation.d.ts +1 -1
- package/src/rich-text-editor/actions/xhtml-validation.js +1 -1
- package/src/rich-text-editor/base/classes.d.ts +125 -125
- package/src/rich-text-editor/base/classes.js +125 -125
- package/src/rich-text-editor/base/constant.d.ts +158 -158
- package/src/rich-text-editor/base/constant.js +158 -158
- package/src/rich-text-editor/base/enum.d.ts +1 -1
- package/src/rich-text-editor/base/enum.js +1 -1
- package/src/rich-text-editor/base/interface.d.ts +51 -51
- package/src/rich-text-editor/base/interface.js +1 -1
- package/src/rich-text-editor/base/rich-text-editor-model.d.ts +1 -1
- package/src/rich-text-editor/base/rich-text-editor.d.ts +62 -62
- package/src/rich-text-editor/base/rich-text-editor.js +63 -63
- package/src/rich-text-editor/base/util.d.ts +1 -1
- package/src/rich-text-editor/base/util.js +1 -1
- package/src/rich-text-editor/formatter/formatter.d.ts +8 -8
- package/src/rich-text-editor/formatter/formatter.js +8 -8
- package/src/rich-text-editor/formatter/html-formatter.d.ts +2 -2
- package/src/rich-text-editor/formatter/html-formatter.js +15 -15
- package/src/rich-text-editor/formatter/markdown-formatter.d.ts +2 -2
- package/src/rich-text-editor/formatter/markdown-formatter.js +15 -15
- package/src/rich-text-editor/models/iframe-settings.js +19 -19
- package/src/rich-text-editor/models/inline-mode.js +19 -19
- package/src/rich-text-editor/models/slash-menu-settings.js +19 -19
- package/src/rich-text-editor/models/toolbar-settings.js +19 -19
- package/src/rich-text-editor/renderer/audio-module.d.ts +1 -1
- package/src/rich-text-editor/renderer/audio-module.js +1 -1
- package/src/rich-text-editor/renderer/content-renderer.d.ts +6 -6
- package/src/rich-text-editor/renderer/content-renderer.js +6 -6
- package/src/rich-text-editor/renderer/dialog-renderer.d.ts +2 -2
- package/src/rich-text-editor/renderer/dialog-renderer.js +2 -2
- package/src/rich-text-editor/renderer/iframe-content-renderer.d.ts +4 -4
- package/src/rich-text-editor/renderer/iframe-content-renderer.js +17 -17
- package/src/rich-text-editor/renderer/image-module.d.ts +1 -1
- package/src/rich-text-editor/renderer/image-module.js +1 -1
- package/src/rich-text-editor/renderer/link-module.d.ts +1 -1
- package/src/rich-text-editor/renderer/link-module.js +1 -1
- package/src/rich-text-editor/renderer/markdown-renderer.d.ts +6 -6
- package/src/rich-text-editor/renderer/markdown-renderer.js +6 -6
- package/src/rich-text-editor/renderer/popup-renderer.d.ts +5 -5
- package/src/rich-text-editor/renderer/popup-renderer.js +5 -5
- package/src/rich-text-editor/renderer/render.d.ts +2 -2
- package/src/rich-text-editor/renderer/render.js +2 -2
- package/src/rich-text-editor/renderer/table-module.d.ts +1 -1
- package/src/rich-text-editor/renderer/table-module.js +1 -1
- package/src/rich-text-editor/renderer/toolbar-renderer.d.ts +9 -9
- package/src/rich-text-editor/renderer/toolbar-renderer.js +9 -9
- package/src/rich-text-editor/renderer/video-module.d.ts +1 -1
- package/src/rich-text-editor/renderer/video-module.js +1 -1
- package/src/rich-text-editor/renderer/view-source.d.ts +5 -5
- package/src/rich-text-editor/renderer/view-source.js +5 -5
- package/src/rich-text-editor/services/renderer-factory.d.ts +3 -3
- package/src/rich-text-editor/services/renderer-factory.js +3 -3
- package/src/rich-text-editor/services/service-locator.d.ts +3 -3
- package/src/rich-text-editor/services/service-locator.js +3 -3
- package/src/selection/selection.d.ts +22 -22
- package/src/selection/selection.js +22 -22
- package/styles/material3-dark.scss +1 -1
- package/styles/material3.scss +1 -1
- package/styles/rich-text-editor/material3-dark.scss +1 -1
- package/styles/rich-text-editor/material3.scss +1 -1
- package/dist/ej2-richtexteditor.min.js +0 -10
- package/dist/global/ej2-richtexteditor.min.js +0 -11
- package/dist/global/ej2-richtexteditor.min.js.map +0 -1
- package/dist/global/index.d.ts +0 -14
- package/tslint.json +0 -111
|
@@ -3742,7 +3742,7 @@ function updateDropDownFontFormatLocale(self) {
|
|
|
3742
3742
|
* @hidden
|
|
3743
3743
|
* @deprecated
|
|
3744
3744
|
*/
|
|
3745
|
-
var ContentRender = /** @
|
|
3745
|
+
var ContentRender = /** @class */ (function () {
|
|
3746
3746
|
/**
|
|
3747
3747
|
* Constructor for content renderer module
|
|
3748
3748
|
*
|
|
@@ -3839,7 +3839,7 @@ var ContentRender = /** @__PURE__ @class */ (function () {
|
|
|
3839
3839
|
* @hidden
|
|
3840
3840
|
* @deprecated
|
|
3841
3841
|
*/
|
|
3842
|
-
var Render = /** @
|
|
3842
|
+
var Render = /** @class */ (function () {
|
|
3843
3843
|
/**
|
|
3844
3844
|
* Constructor for render module
|
|
3845
3845
|
*
|
|
@@ -3938,7 +3938,7 @@ var Render = /** @__PURE__ @class */ (function () {
|
|
|
3938
3938
|
* @hidden
|
|
3939
3939
|
* @deprecated
|
|
3940
3940
|
*/
|
|
3941
|
-
var IsFormatted = /** @
|
|
3941
|
+
var IsFormatted = /** @class */ (function () {
|
|
3942
3942
|
function IsFormatted() {
|
|
3943
3943
|
}
|
|
3944
3944
|
/**
|
|
@@ -4307,7 +4307,7 @@ var ALLOWED_TABLE_BLOCK_TAGS = ['article', 'aside', 'blockquote', 'body', 'canva
|
|
|
4307
4307
|
/**
|
|
4308
4308
|
* `Selection` module is used to handle RTE Selections.
|
|
4309
4309
|
*/
|
|
4310
|
-
var NodeSelection = /** @
|
|
4310
|
+
var NodeSelection = /** @class */ (function () {
|
|
4311
4311
|
function NodeSelection(editElement) {
|
|
4312
4312
|
this.startNodeName = [];
|
|
4313
4313
|
this.endNodeName = [];
|
|
@@ -5080,7 +5080,7 @@ function removeClassWithAttr(elements, classes) {
|
|
|
5080
5080
|
* @deprecated
|
|
5081
5081
|
*/
|
|
5082
5082
|
var statusCollection = getDefaultHtmlTbStatus();
|
|
5083
|
-
var ToolbarStatus = /** @
|
|
5083
|
+
var ToolbarStatus = /** @class */ (function () {
|
|
5084
5084
|
function ToolbarStatus() {
|
|
5085
5085
|
}
|
|
5086
5086
|
/**
|
|
@@ -5478,7 +5478,7 @@ var ToolbarStatus = /** @__PURE__ @class */ (function () {
|
|
|
5478
5478
|
* @hidden
|
|
5479
5479
|
* @deprecated
|
|
5480
5480
|
*/
|
|
5481
|
-
var ToolbarRenderer = /** @
|
|
5481
|
+
var ToolbarRenderer = /** @class */ (function () {
|
|
5482
5482
|
/**
|
|
5483
5483
|
* Constructor for toolbar renderer module
|
|
5484
5484
|
*
|
|
@@ -6232,7 +6232,7 @@ var ToolbarRenderer = /** @__PURE__ @class */ (function () {
|
|
|
6232
6232
|
/**
|
|
6233
6233
|
* `Link` module is used to handle undo actions.
|
|
6234
6234
|
*/
|
|
6235
|
-
var Link = /** @
|
|
6235
|
+
var Link = /** @class */ (function () {
|
|
6236
6236
|
function Link(parent, serviceLocator) {
|
|
6237
6237
|
this.parent = parent;
|
|
6238
6238
|
this.rteID = parent.element.id;
|
|
@@ -6968,7 +6968,7 @@ var mentionRestrictKeys = [
|
|
|
6968
6968
|
/**
|
|
6969
6969
|
* `Image` module is used to handle image actions.
|
|
6970
6970
|
*/
|
|
6971
|
-
var Image$1 = /** @
|
|
6971
|
+
var Image$1 = /** @class */ (function () {
|
|
6972
6972
|
function Image(parent, serviceLocator) {
|
|
6973
6973
|
this.isImgUploaded = false;
|
|
6974
6974
|
this.isAllowedTypes = true;
|
|
@@ -9460,7 +9460,7 @@ var Image$1 = /** @__PURE__ @class */ (function () {
|
|
|
9460
9460
|
/**
|
|
9461
9461
|
* `Audio` module is used to handle audio actions.
|
|
9462
9462
|
*/
|
|
9463
|
-
var Audio = /** @
|
|
9463
|
+
var Audio = /** @class */ (function () {
|
|
9464
9464
|
function Audio(parent, serviceLocator) {
|
|
9465
9465
|
this.isAudioUploaded = false;
|
|
9466
9466
|
this.isAllowedTypes = true;
|
|
@@ -10357,7 +10357,7 @@ var Audio = /** @__PURE__ @class */ (function () {
|
|
|
10357
10357
|
return Audio;
|
|
10358
10358
|
}());
|
|
10359
10359
|
|
|
10360
|
-
var Video = /** @
|
|
10360
|
+
var Video = /** @class */ (function () {
|
|
10361
10361
|
function Video(parent, serviceLocator) {
|
|
10362
10362
|
this.isVideoUploaded = false;
|
|
10363
10363
|
this.isAllowedTypes = true;
|
|
@@ -12001,25 +12001,25 @@ var DESTROY = 'destroy';
|
|
|
12001
12001
|
*/
|
|
12002
12002
|
var INTERNAL_DESTROY = 'internal_destroy';
|
|
12003
12003
|
|
|
12004
|
-
var __extends = (undefined && undefined.__extends) || (function () {
|
|
12005
|
-
var extendStatics = function (d, b) {
|
|
12006
|
-
extendStatics = Object.setPrototypeOf ||
|
|
12007
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
12008
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
12009
|
-
return extendStatics(d, b);
|
|
12010
|
-
};
|
|
12011
|
-
return function (d, b) {
|
|
12012
|
-
extendStatics(d, b);
|
|
12013
|
-
function __() { this.constructor = d; }
|
|
12014
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12015
|
-
};
|
|
12016
|
-
})();
|
|
12017
|
-
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
12018
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12019
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
12020
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
12021
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
12022
|
-
};
|
|
12004
|
+
var __extends = (undefined && undefined.__extends) || (function () {
|
|
12005
|
+
var extendStatics = function (d, b) {
|
|
12006
|
+
extendStatics = Object.setPrototypeOf ||
|
|
12007
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
12008
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
12009
|
+
return extendStatics(d, b);
|
|
12010
|
+
};
|
|
12011
|
+
return function (d, b) {
|
|
12012
|
+
extendStatics(d, b);
|
|
12013
|
+
function __() { this.constructor = d; }
|
|
12014
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12015
|
+
};
|
|
12016
|
+
})();
|
|
12017
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
12018
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12019
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
12020
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
12021
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
12022
|
+
};
|
|
12023
12023
|
var keyCode = {
|
|
12024
12024
|
'backspace': 8,
|
|
12025
12025
|
'tab': 9,
|
|
@@ -12090,7 +12090,7 @@ var keyCode = {
|
|
|
12090
12090
|
* @hidden
|
|
12091
12091
|
* @deprecated
|
|
12092
12092
|
*/
|
|
12093
|
-
var KeyboardEvents = /** @
|
|
12093
|
+
var KeyboardEvents = /** @class */ (function (_super) {
|
|
12094
12094
|
__extends(KeyboardEvents, _super);
|
|
12095
12095
|
/**
|
|
12096
12096
|
* Initializes the KeyboardEvents
|
|
@@ -12236,7 +12236,7 @@ var KeyboardEvents = /** @__PURE__ @class */ (function (_super) {
|
|
|
12236
12236
|
* @hidden
|
|
12237
12237
|
* @deprecated
|
|
12238
12238
|
*/
|
|
12239
|
-
var ViewSource = /** @
|
|
12239
|
+
var ViewSource = /** @class */ (function () {
|
|
12240
12240
|
/**
|
|
12241
12241
|
* Constructor for view source module
|
|
12242
12242
|
*
|
|
@@ -12475,7 +12475,7 @@ var ViewSource = /** @__PURE__ @class */ (function () {
|
|
|
12475
12475
|
/**
|
|
12476
12476
|
* `Table` module is used to handle table actions.
|
|
12477
12477
|
*/
|
|
12478
|
-
var Table = /** @
|
|
12478
|
+
var Table = /** @class */ (function () {
|
|
12479
12479
|
function Table(parent, serviceLocator) {
|
|
12480
12480
|
this.ensureInsideTableList = true;
|
|
12481
12481
|
this.pageX = null;
|
|
@@ -14668,7 +14668,7 @@ var Table = /** @__PURE__ @class */ (function () {
|
|
|
14668
14668
|
/**
|
|
14669
14669
|
* Dialog Renderer
|
|
14670
14670
|
*/
|
|
14671
|
-
var DialogRenderer = /** @
|
|
14671
|
+
var DialogRenderer = /** @class */ (function () {
|
|
14672
14672
|
function DialogRenderer(parent) {
|
|
14673
14673
|
this.parent = parent;
|
|
14674
14674
|
this.addEventListener();
|
|
@@ -14788,19 +14788,19 @@ var DialogRenderer = /** @__PURE__ @class */ (function () {
|
|
|
14788
14788
|
|
|
14789
14789
|
var IFRAME_EDITOR_STYLES = "\n@charset \"UTF-8\";\n\n* {\n box-sizing: border-box;\n}\n\nhtml {\n height: auto;\n}\n\nhtml, body {\n margin: 0;\n}\n\nbody {\n color: #333;\n word-wrap: break-word;\n}\n\n.e-content {\n background: unset;\n min-height: 100px;\n outline: 0 solid transparent;\n padding: 16px;\n position: relative;\n overflow-x: auto;\n font-weight: normal;\n line-height: 1.5;\n font-size: 14px;\n text-align: inherit;\n font-family: \"Roboto\", \"Segoe UI\", \"GeezaPro\", \"DejaVu Serif\", \"sans-serif\", \"-apple-system\", \"BlinkMacSystemFont\";\n}\n\n.e-content p {\n margin: 0 0 10px;\n margin-bottom: 10px;\n}\n\n.e-content h1 {\n font-size: 2.857em;\n font-weight: 600;\n line-height: 1.2;\n margin: 10px 0;\n}\n\n.e-content h2 {\n font-size: 2.285em;\n font-weight: 600;\n line-height: 1.2;\n margin: 10px 0;\n}\n\n.e-content h3 {\n font-size: 2em;\n font-weight: 600;\n line-height: 1.2;\n margin: 10px 0;\n}\n\n.e-content h4 {\n font-size: 1.714em;\n font-weight: 600;\n line-height: 1.2;\n margin: 10px 0;\n}\n\n.e-content h5 {\n font-size: 1.428em;\n font-weight: 600;\n line-height: 1.2;\n margin: 10px 0;\n}\n\n.e-content h6 {\n font-size: 1.142em;\n font-weight: 600;\n line-height: 1.5;\n margin: 10px 0;\n}\n\n.e-content blockquote {\n margin: 10px 0;\n padding-left: 12px;\n border-left: 2px solid #5c5c5c;\n}\n\n.e-rtl.e-content blockquote {\n padding-left: 0;\n padding-right: 12px;\n}\n\n.e-content pre {\n border: 0;\n border-radius: 0;\n color: #333;\n font-size: inherit;\n line-height: inherit;\n margin: 0 0 10px;\n overflow: visible;\n padding: 0;\n white-space: pre-wrap;\n word-break: inherit;\n word-wrap: break-word;\n}\n\n.e-content code {\n background: #9d9d9d26;\n color: #ed484c;\n}\n\n.e-content strong,\n.e-content b {\n font-weight: bold;\n}\n\n.e-content a {\n text-decoration: none;\n user-select: auto;\n}\n\n.e-content a:hover {\n text-decoration: underline;\n}\n\n.e-content li {\n margin-bottom: 10px;\n}\n\n.e-content li ol,\n.e-content li ul {\n margin-block-start: 10px;\n}\n\n.e-content ul {\n list-style-type: disc;\n}\n\n.e-content ul ul,\n.e-content ol ul {\n list-style-type: circle;\n}\n\n.e-content ul ul ul,\n.e-content ol ul ul,\n.e-content ul ol ul,\n.e-content ol ol ul {\n list-style-type: square;\n}\n\n.e-content p:last-child,\n.e-content pre:last-child,\n.e-content blockquote:last-child {\n margin-bottom: 0;\n}\n\n.e-content h3 + h4,\n.e-content h4 + h5,\n.e-content h5 + h6 {\n margin-top: 0.6em;\n}\n\n.e-content ul:last-child {\n margin-bottom: 0;\n}\n\n.e-content table {\n margin-bottom: 10px;\n border-collapse: collapse;\n empty-cells: show;\n}\n\n.e-content table.e-cell-select {\n position: relative;\n}\n\n.e-content table.e-cell-select::after {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n border: 2px solid #4a90e2;\n pointer-events: none;\n}\n\ntable .e-cell-select {\n border: 1px double #4a90e2 !important;\n}\n\n.e-content table.e-rte-table th {\n background-color: #E0E0E0;\n}\n\n.e-rte-table td,\n.e-rte-table th {\n border: 1px solid #BDBDBD;\n height: 20px;\n min-width: 20px;\n padding: 2px 5px;\n}\n\n.e-rte-table td.e-cell-select.e-multi-cells-select,\n.e-rte-table th.e-cell-select.e-multi-cells-select {\n position: relative;\n}\n\n.e-rte-table td.e-cell-select.e-multi-cells-select::after,\n.e-rte-table th.e-cell-select.e-multi-cells-select::after {\n background-color: rgba(13, 110, 253, 0.08);\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n bottom: 0;\n pointer-events: none;\n right: 0;\n}\n\ntable td.e-multi-cells-select ::selection,\ntable th.e-multi-cells-select ::selection {\n background-color: transparent;\n}\n\ntd.e-multi-cells-select,\nth.e-multi-cells-select {\n user-select: none !important;\n}\n\n.e-rte-table.e-dashed-border td,\n.e-rte-table.e-dashed-border th {\n border-style: dashed;\n}\n\n.e-rte-table.e-alternate-border tbody tr:nth-child(2n) {\n background-color: #F5F5F5;\n}\n\n.e-rte-image,\n.e-rte-audio,\n.e-rte-video {\n border: 0;\n cursor: pointer;\n display: block;\n float: none;\n margin: auto;\n max-width: 100%;\n position: relative;\n}\n\n.e-rte-image.e-imginline,\n.e-rte-audio.e-audio-inline,\n.e-rte-video.e-video-inline {\n margin-left: 5px;\n margin-right: 5px;\n display: inline-block;\n float: none;\n max-width: 100%;\n padding: 1px;\n vertical-align: bottom;\n}\n\n.e-rte-image.e-imgcenter,\n.e-rte-video.e-video-center {\n cursor: pointer;\n display: block;\n float: none;\n margin: 5px auto;\n max-width: 100%;\n position: relative;\n}\n\n.e-rte-image.e-imgright,\n.e-rte-video.e-video-right {\n float: right;\n margin: 0 auto;\n margin-left: 5px;\n text-align: right;\n}\n\n.e-rte-image.e-imgleft,\n.e-rte-video.e-video-left {\n float: left;\n margin: 0 auto;\n margin-right: 5px;\n text-align: left;\n}\n\n.e-rte-img-caption {\n display: inline-block;\n margin: 5px auto;\n max-width: 100%;\n position: relative;\n}\n\n.e-rte-img-caption.e-caption-inline {\n display: inline-block;\n margin: 5px auto;\n margin-left: 5px;\n margin-right: 5px;\n max-width: calc(100% - (2 * 5px));\n position: relative;\n text-align: center;\n vertical-align: bottom;\n}\n\n.e-rte-img-caption.e-imgcenter {\n display: contents;\n margin-left: auto;\n margin-right: auto;\n}\n\n.e-rte-img-caption.e-imgright {\n display: contents;\n margin-left: auto;\n margin-right: 0;\n}\n\n.e-rte-img-caption.e-imgleft {\n display: contents;\n margin-left: 0;\n margin-right: auto;\n}\n\n.e-img-caption.e-rte-img-caption.e-imgbreak {\n display: contents;\n}\n\n.e-rte-img-caption .e-img-inner {\n display: block;\n font-size: 16px;\n font-weight: initial;\n margin: auto;\n opacity: .9;\n position: relative;\n text-align: center;\n width: 100%;\n}\n\n.e-img-wrap {\n display: inline-block;\n margin: auto;\n padding: 0;\n text-align: center;\n width: 100%;\n}\n\n.e-imgleft,\n.e-video-left {\n float: left;\n margin: 0 5px 0 0;\n text-align: left;\n}\n\n.e-imgright,\n.e-video-right {\n float: right;\n margin: 0 0 0 5px;\n text-align: right;\n}\n\n.e-imgcenter,\n.e-video-center {\n cursor: pointer;\n display: block;\n float: none;\n height: auto;\n margin: 5px auto;\n max-width: 100%;\n position: relative;\n}\n\n.e-control img:not(.e-resize) {\n border: 2px solid transparent;\n z-index: 1000\n}\n\n.e-imginline,\n.e-audio-inline,\n.e-video-inline {\n display: inline-block;\n float: none;\n margin-left: 5px;\n margin-right: 5px;\n vertical-align: bottom;\n}\n\n.e-imgbreak,\n.e-audio-break,\n.e-video-break {\n border: 0;\n cursor: pointer;\n display: block;\n float: none;\n height: auto;\n margin: 5px auto;\n max-width: 100%;\n position: relative;\n}\n\n.e-rte-image.e-img-focus:not(.e-resize),\n.e-audio-focus:not(.e-resize),\n.e-video-focus:not(.e-resize) {\n border: solid 2px #4a90e2;\n}\n\nimg.e-img-focus::selection,\naudio.e-audio-focus::selection,\n.e-video-focus::selection {\n background: transparent;\n color: transparent;\n}\n\nspan.e-rte-imageboxmark,\nspan.e-rte-videoboxmark {\n width: 10px;\n height: 10px;\n position: absolute;\n display: block;\n background: #4a90e2;\n border: 1px solid #fff;\n z-index: 1000;\n}\n\n.e-mob-rte.e-mob-span span.e-rte-imageboxmark,\n.e-mob-rte.e-mob-span span.e-rte-videoboxmark {\n background: #4a90e2;\n border: 1px solid #fff;\n}\n\n.e-mob-rte span.e-rte-imageboxmark,\n.e-mob-rte span.e-rte-videoboxmark {\n background: #fff;\n border: 1px solid #4a90e2;\n border-radius: 15px;\n height: 20px;\n width: 20px;\n}\n\n.e-mob-rte.e-mob-span span.e-rte-imageboxmark,\n.e-mob-rte.e-mob-span span.e-rte-videoboxmark {\n background: #4a90e2;\n border: 1px solid #fff;\n}\n\n.e-content img.e-resize,\n.e-content video.e-resize {\n z-index: 1000;\n}\n\n.e-img-caption .e-img-inner {\n outline: 0;\n}\n\n.e-rte-img-caption.e-imgleft .e-img-inner {\n float: left;\n text-align: left;\n}\n\n.e-rte-img-caption.e-imgright .e-img-inner {\n float: right;\n text-align: right;\n}\n\n.e-rte-img-caption.e-imgleft .e-img-wrap,\n.e-rte-img-caption.e-imgright .e-img-wrap {\n display: contents;\n}\n\n.e-img-caption a:focus-visible {\n outline: none;\n}\n\n.e-rte-img-caption .e-rte-image.e-imgright {\n margin-left: auto;\n margin-right: 0;\n}\n\n.e-rte-img-caption .e-rte-image.e-imgleft {\n margin: 0;\n}\n\nspan.e-table-box {\n cursor: nwse-resize;\n display: block;\n height: 10px;\n position: absolute;\n width: 10px;\n background-color: #ffffff;\n border: 1px solid #BDBDBD;\n}\n\nspan.e-table-box.e-rmob {\n height: 14px;\n width: 14px;\n background-color: #BDBDBD;\n border: 1px solid #BDBDBD;\n}\n\n.e-row-resize,\n.e-column-resize {\n background-color: transparent;\n background-repeat: repeat;\n bottom: 0;\n cursor: col-resize;\n height: 1px;\n overflow: visible;\n position: absolute;\n width: 1px;\n}\n\n.e-row-resize {\n cursor: row-resize;\n height: 1px;\n}\n\n.e-table-rhelper {\n cursor: col-resize;\n opacity: .87;\n position: absolute;\n}\n\n.e-table-rhelper.e-column-helper {\n width: 1px;\n}\n\n.e-table-rhelper.e-row-helper {\n height: 1px;\n}\n\n.e-reicon::before {\n border-bottom: 6px solid transparent;\n border-right: 6px solid;\n border-top: 6px solid transparent;\n content: '';\n display: block;\n height: 0;\n position: absolute;\n right: 4px;\n top: 4px;\n width: 20px;\n}\n\n.e-reicon::after {\n border-bottom: 6px solid transparent;\n border-left: 6px solid;\n border-top: 6px solid transparent;\n content: '';\n display: block;\n height: 0;\n left: 4px;\n position: absolute;\n top: 4px;\n width: 20px;\n z-index: 3;\n}\n\n.e-row-helper.e-reicon::after {\n top: 10px;\n transform: rotate(90deg);\n}\n\n.e-row-helper.e-reicon::before {\n left: 4px;\n top: -20px;\n transform: rotate(90deg);\n}\n\n\n.e-table-rhelper {\n background-color: #4a90e2;\n}\n\n.e-rtl {\n direction: rtl;\n}\n\n.e-rte-placeholder::before {\n content: attr(placeholder);\n opacity: 0.54;\n overflow: hidden;\n padding-top: 16px;\n position: absolute;\n text-align: start;\n top: 0;\n z-index: 1;\n}\n\n.e-resize-enabled,\n.e-count-enabled {\n padding-bottom: 0px;\n}\n";
|
|
14790
14790
|
|
|
14791
|
-
var __extends$1 = (undefined && undefined.__extends) || (function () {
|
|
14792
|
-
var extendStatics = function (d, b) {
|
|
14793
|
-
extendStatics = Object.setPrototypeOf ||
|
|
14794
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
14795
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
14796
|
-
return extendStatics(d, b);
|
|
14797
|
-
};
|
|
14798
|
-
return function (d, b) {
|
|
14799
|
-
extendStatics(d, b);
|
|
14800
|
-
function __() { this.constructor = d; }
|
|
14801
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
14802
|
-
};
|
|
14803
|
-
})();
|
|
14791
|
+
var __extends$1 = (undefined && undefined.__extends) || (function () {
|
|
14792
|
+
var extendStatics = function (d, b) {
|
|
14793
|
+
extendStatics = Object.setPrototypeOf ||
|
|
14794
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
14795
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
14796
|
+
return extendStatics(d, b);
|
|
14797
|
+
};
|
|
14798
|
+
return function (d, b) {
|
|
14799
|
+
extendStatics(d, b);
|
|
14800
|
+
function __() { this.constructor = d; }
|
|
14801
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
14802
|
+
};
|
|
14803
|
+
})();
|
|
14804
14804
|
var IFRAMEHEADER = "\n <!DOCTYPE html> \n <html>\n <head>\n <meta charset='utf-8' /> \n <style>" +
|
|
14805
14805
|
IFRAME_EDITOR_STYLES.replace(/[\n\t]/g, '') + "\n </style>\n </head>\n";
|
|
14806
14806
|
/**
|
|
@@ -14809,7 +14809,7 @@ var IFRAMEHEADER = "\n <!DOCTYPE html> \n <html>\n <head>\n
|
|
|
14809
14809
|
* @hidden
|
|
14810
14810
|
* @deprecated
|
|
14811
14811
|
*/
|
|
14812
|
-
var IframeContentRender = /** @
|
|
14812
|
+
var IframeContentRender = /** @class */ (function (_super) {
|
|
14813
14813
|
__extends$1(IframeContentRender, _super);
|
|
14814
14814
|
function IframeContentRender() {
|
|
14815
14815
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -14917,7 +14917,7 @@ var IframeContentRender = /** @__PURE__ @class */ (function (_super) {
|
|
|
14917
14917
|
* @hidden
|
|
14918
14918
|
* @deprecated
|
|
14919
14919
|
*/
|
|
14920
|
-
var MarkdownRender = /** @
|
|
14920
|
+
var MarkdownRender = /** @class */ (function () {
|
|
14921
14921
|
/**
|
|
14922
14922
|
* Constructor for content renderer module
|
|
14923
14923
|
*
|
|
@@ -15003,7 +15003,7 @@ var MarkdownRender = /** @__PURE__ @class */ (function () {
|
|
|
15003
15003
|
* @hidden
|
|
15004
15004
|
* @deprecated
|
|
15005
15005
|
*/
|
|
15006
|
-
var PopupRenderer = /** @
|
|
15006
|
+
var PopupRenderer = /** @class */ (function () {
|
|
15007
15007
|
/**
|
|
15008
15008
|
* Constructor for popup renderer module
|
|
15009
15009
|
*
|
|
@@ -15069,29 +15069,29 @@ var PopupRenderer = /** @__PURE__ @class */ (function () {
|
|
|
15069
15069
|
return PopupRenderer;
|
|
15070
15070
|
}());
|
|
15071
15071
|
|
|
15072
|
-
var __extends$2 = (undefined && undefined.__extends) || (function () {
|
|
15073
|
-
var extendStatics = function (d, b) {
|
|
15074
|
-
extendStatics = Object.setPrototypeOf ||
|
|
15075
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
15076
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
15077
|
-
return extendStatics(d, b);
|
|
15078
|
-
};
|
|
15079
|
-
return function (d, b) {
|
|
15080
|
-
extendStatics(d, b);
|
|
15081
|
-
function __() { this.constructor = d; }
|
|
15082
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15083
|
-
};
|
|
15084
|
-
})();
|
|
15085
|
-
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
15086
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
15087
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
15088
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
15089
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15090
|
-
};
|
|
15072
|
+
var __extends$2 = (undefined && undefined.__extends) || (function () {
|
|
15073
|
+
var extendStatics = function (d, b) {
|
|
15074
|
+
extendStatics = Object.setPrototypeOf ||
|
|
15075
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
15076
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
15077
|
+
return extendStatics(d, b);
|
|
15078
|
+
};
|
|
15079
|
+
return function (d, b) {
|
|
15080
|
+
extendStatics(d, b);
|
|
15081
|
+
function __() { this.constructor = d; }
|
|
15082
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15083
|
+
};
|
|
15084
|
+
})();
|
|
15085
|
+
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
15086
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
15087
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
15088
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
15089
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15090
|
+
};
|
|
15091
15091
|
/**
|
|
15092
15092
|
* Configures the slash menu settings of the RichTextEditor.
|
|
15093
15093
|
*/
|
|
15094
|
-
var SlashMenuSettings = /** @
|
|
15094
|
+
var SlashMenuSettings = /** @class */ (function (_super) {
|
|
15095
15095
|
__extends$2(SlashMenuSettings, _super);
|
|
15096
15096
|
function SlashMenuSettings() {
|
|
15097
15097
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -15211,7 +15211,7 @@ var injectibleSlashMenuDataModel = [
|
|
|
15211
15211
|
}
|
|
15212
15212
|
];
|
|
15213
15213
|
|
|
15214
|
-
var SlashMenu = /** @
|
|
15214
|
+
var SlashMenu = /** @class */ (function () {
|
|
15215
15215
|
function SlashMenu(options, serviceLocator) {
|
|
15216
15216
|
this.parent = options;
|
|
15217
15217
|
this.currentDocument = this.parent.element.ownerDocument;
|
|
@@ -15421,7 +15421,7 @@ var SlashMenu = /** @__PURE__ @class */ (function () {
|
|
|
15421
15421
|
/**
|
|
15422
15422
|
* `Toolbar` module is used to handle Toolbar actions.
|
|
15423
15423
|
*/
|
|
15424
|
-
var BaseToolbar = /** @
|
|
15424
|
+
var BaseToolbar = /** @class */ (function () {
|
|
15425
15425
|
function BaseToolbar(parent, serviceLocator) {
|
|
15426
15426
|
this.tools = {};
|
|
15427
15427
|
this.parent = parent;
|
|
@@ -15659,7 +15659,7 @@ var BaseToolbar = /** @__PURE__ @class */ (function () {
|
|
|
15659
15659
|
/**
|
|
15660
15660
|
* `Toolbar` module is used to handle Toolbar actions.
|
|
15661
15661
|
*/
|
|
15662
|
-
var DropDownButtons = /** @
|
|
15662
|
+
var DropDownButtons = /** @class */ (function () {
|
|
15663
15663
|
function DropDownButtons(parent, serviceLocator) {
|
|
15664
15664
|
this.parent = parent;
|
|
15665
15665
|
this.locator = serviceLocator;
|
|
@@ -16194,7 +16194,7 @@ var DropDownButtons = /** @__PURE__ @class */ (function () {
|
|
|
16194
16194
|
/**
|
|
16195
16195
|
* `ToolbarAction` module is used to toolbar click action
|
|
16196
16196
|
*/
|
|
16197
|
-
var ToolbarAction = /** @
|
|
16197
|
+
var ToolbarAction = /** @class */ (function () {
|
|
16198
16198
|
function ToolbarAction(parent) {
|
|
16199
16199
|
this.parent = parent;
|
|
16200
16200
|
this.addEventListener();
|
|
@@ -16266,7 +16266,7 @@ var ToolbarAction = /** @__PURE__ @class */ (function () {
|
|
|
16266
16266
|
/**
|
|
16267
16267
|
* `Color Picker` module is used to handle ColorPicker actions.
|
|
16268
16268
|
*/
|
|
16269
|
-
var ColorPickerInput = /** @
|
|
16269
|
+
var ColorPickerInput = /** @class */ (function () {
|
|
16270
16270
|
function ColorPickerInput(parent, serviceLocator) {
|
|
16271
16271
|
this.tools = {};
|
|
16272
16272
|
this.parent = parent;
|
|
@@ -16521,7 +16521,7 @@ var ColorPickerInput = /** @__PURE__ @class */ (function () {
|
|
|
16521
16521
|
/**
|
|
16522
16522
|
* `Toolbar` module is used to handle Toolbar actions.
|
|
16523
16523
|
*/
|
|
16524
|
-
var Toolbar = /** @
|
|
16524
|
+
var Toolbar = /** @class */ (function () {
|
|
16525
16525
|
function Toolbar(parent, serviceLocator) {
|
|
16526
16526
|
this.tools = {};
|
|
16527
16527
|
this.parent = parent;
|
|
@@ -17143,7 +17143,7 @@ var Toolbar = /** @__PURE__ @class */ (function () {
|
|
|
17143
17143
|
/**
|
|
17144
17144
|
* `Quick toolbar` module is used to handle Quick toolbar actions.
|
|
17145
17145
|
*/
|
|
17146
|
-
var BaseQuickToolbar = /** @
|
|
17146
|
+
var BaseQuickToolbar = /** @class */ (function () {
|
|
17147
17147
|
function BaseQuickToolbar(parent, locator) {
|
|
17148
17148
|
this.parent = parent;
|
|
17149
17149
|
this.locator = locator;
|
|
@@ -17666,7 +17666,7 @@ var BaseQuickToolbar = /** @__PURE__ @class */ (function () {
|
|
|
17666
17666
|
/**
|
|
17667
17667
|
* `Quick toolbar` module is used to handle Quick toolbar actions.
|
|
17668
17668
|
*/
|
|
17669
|
-
var QuickToolbar = /** @
|
|
17669
|
+
var QuickToolbar = /** @class */ (function () {
|
|
17670
17670
|
function QuickToolbar(parent, locator) {
|
|
17671
17671
|
this.debounceTimeout = 1000;
|
|
17672
17672
|
this.parent = parent;
|
|
@@ -18278,7 +18278,7 @@ var QuickToolbar = /** @__PURE__ @class */ (function () {
|
|
|
18278
18278
|
/**
|
|
18279
18279
|
* `Count` module is used to handle Count actions.
|
|
18280
18280
|
*/
|
|
18281
|
-
var Count = /** @
|
|
18281
|
+
var Count = /** @class */ (function () {
|
|
18282
18282
|
function Count(parent, serviceLocator) {
|
|
18283
18283
|
this.parent = parent;
|
|
18284
18284
|
this.locator = serviceLocator;
|
|
@@ -18422,7 +18422,7 @@ var Count = /** @__PURE__ @class */ (function () {
|
|
|
18422
18422
|
* @hidden
|
|
18423
18423
|
* @deprecated
|
|
18424
18424
|
*/
|
|
18425
|
-
var MarkdownSelection = /** @
|
|
18425
|
+
var MarkdownSelection = /** @class */ (function () {
|
|
18426
18426
|
function MarkdownSelection() {
|
|
18427
18427
|
}
|
|
18428
18428
|
/**
|
|
@@ -18637,7 +18637,7 @@ var MarkdownSelection = /** @__PURE__ @class */ (function () {
|
|
|
18637
18637
|
/**
|
|
18638
18638
|
* MarkdownToolbarStatus module for refresh the toolbar status
|
|
18639
18639
|
*/
|
|
18640
|
-
var MarkdownToolbarStatus = /** @
|
|
18640
|
+
var MarkdownToolbarStatus = /** @class */ (function () {
|
|
18641
18641
|
function MarkdownToolbarStatus(parent) {
|
|
18642
18642
|
this.toolbarStatus = this.prevToolbarStatus = getDefaultMDTbStatus();
|
|
18643
18643
|
this.selection = new MarkdownSelection();
|
|
@@ -18760,7 +18760,7 @@ var MarkdownToolbarStatus = /** @__PURE__ @class */ (function () {
|
|
|
18760
18760
|
/**
|
|
18761
18761
|
* `ExecCommandCallBack` module is used to run the editor manager command
|
|
18762
18762
|
*/
|
|
18763
|
-
var ExecCommandCallBack = /** @
|
|
18763
|
+
var ExecCommandCallBack = /** @class */ (function () {
|
|
18764
18764
|
function ExecCommandCallBack(parent) {
|
|
18765
18765
|
this.parent = parent;
|
|
18766
18766
|
this.addEventListener();
|
|
@@ -18790,7 +18790,7 @@ var ExecCommandCallBack = /** @__PURE__ @class */ (function () {
|
|
|
18790
18790
|
* @hidden
|
|
18791
18791
|
* @deprecated
|
|
18792
18792
|
*/
|
|
18793
|
-
var Formatter = /** @
|
|
18793
|
+
var Formatter = /** @class */ (function () {
|
|
18794
18794
|
function Formatter() {
|
|
18795
18795
|
}
|
|
18796
18796
|
/**
|
|
@@ -19105,7 +19105,7 @@ var INSERT_TEXT_COMMAND = 'insert-text';
|
|
|
19105
19105
|
*
|
|
19106
19106
|
* @hidden
|
|
19107
19107
|
*/
|
|
19108
|
-
var MDLists = /** @
|
|
19108
|
+
var MDLists = /** @class */ (function () {
|
|
19109
19109
|
/**
|
|
19110
19110
|
* Constructor for creating the Lists plugin
|
|
19111
19111
|
*
|
|
@@ -19585,7 +19585,7 @@ var MDLists = /** @__PURE__ @class */ (function () {
|
|
|
19585
19585
|
* @hidden
|
|
19586
19586
|
* @deprecated
|
|
19587
19587
|
*/
|
|
19588
|
-
var MDFormats = /** @
|
|
19588
|
+
var MDFormats = /** @class */ (function () {
|
|
19589
19589
|
/**
|
|
19590
19590
|
* Constructor for creating the Formats plugin
|
|
19591
19591
|
*
|
|
@@ -19820,7 +19820,7 @@ var MDFormats = /** @__PURE__ @class */ (function () {
|
|
|
19820
19820
|
* @hidden
|
|
19821
19821
|
* @deprecated
|
|
19822
19822
|
*/
|
|
19823
|
-
var MDSelectionFormats = /** @
|
|
19823
|
+
var MDSelectionFormats = /** @class */ (function () {
|
|
19824
19824
|
function MDSelectionFormats(parent) {
|
|
19825
19825
|
extend(this, this, parent, true);
|
|
19826
19826
|
this.selection = this.parent.markdownSelection;
|
|
@@ -20157,7 +20157,7 @@ var MDSelectionFormats = /** @__PURE__ @class */ (function () {
|
|
|
20157
20157
|
/**
|
|
20158
20158
|
* `Undo` module is used to handle undo actions.
|
|
20159
20159
|
*/
|
|
20160
|
-
var UndoRedoCommands = /** @
|
|
20160
|
+
var UndoRedoCommands = /** @class */ (function () {
|
|
20161
20161
|
function UndoRedoCommands(parent, options) {
|
|
20162
20162
|
this.undoRedoStack = [];
|
|
20163
20163
|
this.parent = parent;
|
|
@@ -20354,7 +20354,7 @@ var UndoRedoCommands = /** @__PURE__ @class */ (function () {
|
|
|
20354
20354
|
* @hidden
|
|
20355
20355
|
* @deprecated
|
|
20356
20356
|
*/
|
|
20357
|
-
var MDLink = /** @
|
|
20357
|
+
var MDLink = /** @class */ (function () {
|
|
20358
20358
|
/**
|
|
20359
20359
|
* Constructor for creating the Formats plugin
|
|
20360
20360
|
*
|
|
@@ -20413,7 +20413,7 @@ var MDLink = /** @__PURE__ @class */ (function () {
|
|
|
20413
20413
|
* @hidden
|
|
20414
20414
|
* @deprecated
|
|
20415
20415
|
*/
|
|
20416
|
-
var MDTable = /** @
|
|
20416
|
+
var MDTable = /** @class */ (function () {
|
|
20417
20417
|
/**
|
|
20418
20418
|
* Constructor for creating the Formats plugin
|
|
20419
20419
|
*
|
|
@@ -20643,7 +20643,7 @@ var MDTable = /** @__PURE__ @class */ (function () {
|
|
|
20643
20643
|
* @hidden
|
|
20644
20644
|
* @deprecated
|
|
20645
20645
|
*/
|
|
20646
|
-
var ClearFormat = /** @
|
|
20646
|
+
var ClearFormat = /** @class */ (function () {
|
|
20647
20647
|
/**
|
|
20648
20648
|
* Constructor for creating the clear format plugin
|
|
20649
20649
|
*
|
|
@@ -20767,7 +20767,7 @@ var ClearFormat = /** @__PURE__ @class */ (function () {
|
|
|
20767
20767
|
* @hidden
|
|
20768
20768
|
* @deprecated
|
|
20769
20769
|
*/
|
|
20770
|
-
var MDInsertText = /** @
|
|
20770
|
+
var MDInsertText = /** @class */ (function () {
|
|
20771
20771
|
/**
|
|
20772
20772
|
* Constructor for creating the insert text plugin
|
|
20773
20773
|
*
|
|
@@ -20825,7 +20825,7 @@ var MDInsertText = /** @__PURE__ @class */ (function () {
|
|
|
20825
20825
|
* @hidden
|
|
20826
20826
|
* @deprecated
|
|
20827
20827
|
*/
|
|
20828
|
-
var MarkdownParser = /** @
|
|
20828
|
+
var MarkdownParser = /** @class */ (function () {
|
|
20829
20829
|
/**
|
|
20830
20830
|
* Constructor for creating the component
|
|
20831
20831
|
*
|
|
@@ -20930,26 +20930,26 @@ var MarkdownParser = /** @__PURE__ @class */ (function () {
|
|
|
20930
20930
|
return MarkdownParser;
|
|
20931
20931
|
}());
|
|
20932
20932
|
|
|
20933
|
-
var __extends$3 = (undefined && undefined.__extends) || (function () {
|
|
20934
|
-
var extendStatics = function (d, b) {
|
|
20935
|
-
extendStatics = Object.setPrototypeOf ||
|
|
20936
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
20937
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
20938
|
-
return extendStatics(d, b);
|
|
20939
|
-
};
|
|
20940
|
-
return function (d, b) {
|
|
20941
|
-
extendStatics(d, b);
|
|
20942
|
-
function __() { this.constructor = d; }
|
|
20943
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
20944
|
-
};
|
|
20945
|
-
})();
|
|
20933
|
+
var __extends$3 = (undefined && undefined.__extends) || (function () {
|
|
20934
|
+
var extendStatics = function (d, b) {
|
|
20935
|
+
extendStatics = Object.setPrototypeOf ||
|
|
20936
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
20937
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
20938
|
+
return extendStatics(d, b);
|
|
20939
|
+
};
|
|
20940
|
+
return function (d, b) {
|
|
20941
|
+
extendStatics(d, b);
|
|
20942
|
+
function __() { this.constructor = d; }
|
|
20943
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
20944
|
+
};
|
|
20945
|
+
})();
|
|
20946
20946
|
/**
|
|
20947
20947
|
* Markdown adapter
|
|
20948
20948
|
*
|
|
20949
20949
|
* @hidden
|
|
20950
20950
|
* @deprecated
|
|
20951
20951
|
*/
|
|
20952
|
-
var MarkdownFormatter = /** @
|
|
20952
|
+
var MarkdownFormatter = /** @class */ (function (_super) {
|
|
20953
20953
|
__extends$3(MarkdownFormatter, _super);
|
|
20954
20954
|
function MarkdownFormatter(options) {
|
|
20955
20955
|
var _this = _super.call(this) || this;
|
|
@@ -20993,7 +20993,7 @@ var MarkdownFormatter = /** @__PURE__ @class */ (function (_super) {
|
|
|
20993
20993
|
/**
|
|
20994
20994
|
* `MarkdownEditor` module is used to markdown editor
|
|
20995
20995
|
*/
|
|
20996
|
-
var MarkdownEditor = /** @
|
|
20996
|
+
var MarkdownEditor = /** @class */ (function () {
|
|
20997
20997
|
function MarkdownEditor(parent, serviceLocator) {
|
|
20998
20998
|
this.parent = parent;
|
|
20999
20999
|
this.locator = serviceLocator;
|
|
@@ -21172,7 +21172,7 @@ var MarkdownEditor = /** @__PURE__ @class */ (function () {
|
|
|
21172
21172
|
*
|
|
21173
21173
|
* @hidden
|
|
21174
21174
|
*/
|
|
21175
|
-
var InsertMethods = /** @
|
|
21175
|
+
var InsertMethods = /** @class */ (function () {
|
|
21176
21176
|
function InsertMethods() {
|
|
21177
21177
|
}
|
|
21178
21178
|
/**
|
|
@@ -21249,7 +21249,7 @@ var InsertMethods = /** @__PURE__ @class */ (function () {
|
|
|
21249
21249
|
* @hidden
|
|
21250
21250
|
* @deprecated
|
|
21251
21251
|
*/
|
|
21252
|
-
var NodeCutter = /** @
|
|
21252
|
+
var NodeCutter = /** @class */ (function () {
|
|
21253
21253
|
function NodeCutter() {
|
|
21254
21254
|
this.enterAction = 'P';
|
|
21255
21255
|
this.position = -1;
|
|
@@ -21466,7 +21466,7 @@ var NodeCutter = /** @__PURE__ @class */ (function () {
|
|
|
21466
21466
|
* @hidden
|
|
21467
21467
|
* @deprecated
|
|
21468
21468
|
*/
|
|
21469
|
-
var InsertHtml = /** @
|
|
21469
|
+
var InsertHtml = /** @class */ (function () {
|
|
21470
21470
|
function InsertHtml() {
|
|
21471
21471
|
}
|
|
21472
21472
|
InsertHtml.Insert = function (docElement, insertNode, editNode, isExternal, enterAction) {
|
|
@@ -22287,7 +22287,7 @@ var InsertHtml = /** @__PURE__ @class */ (function () {
|
|
|
22287
22287
|
/**
|
|
22288
22288
|
* Utilities to handle the table cell selection
|
|
22289
22289
|
*/
|
|
22290
|
-
var TableSelection = /** @
|
|
22290
|
+
var TableSelection = /** @class */ (function () {
|
|
22291
22291
|
function TableSelection(root, currentDocument) {
|
|
22292
22292
|
this.BLOCK_TAGS = ['p', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'blockquote', 'li', 'pre', 'td', 'th', 'div', 'hr', 'section', 'figure'];
|
|
22293
22293
|
this.BASIC_FORMATS = ['p', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'blockquote', 'pre'];
|
|
@@ -22522,7 +22522,7 @@ var markerClassName = {
|
|
|
22522
22522
|
* @hidden
|
|
22523
22523
|
* @deprecated
|
|
22524
22524
|
*/
|
|
22525
|
-
var DOMNode = /** @
|
|
22525
|
+
var DOMNode = /** @class */ (function () {
|
|
22526
22526
|
/**
|
|
22527
22527
|
* Constructor for creating the DOMNode plugin
|
|
22528
22528
|
*
|
|
@@ -23554,7 +23554,7 @@ var DOMNode = /** @__PURE__ @class */ (function () {
|
|
|
23554
23554
|
* @hidden
|
|
23555
23555
|
* @deprecated
|
|
23556
23556
|
*/
|
|
23557
|
-
var Lists = /** @
|
|
23557
|
+
var Lists = /** @class */ (function () {
|
|
23558
23558
|
/**
|
|
23559
23559
|
* Constructor for creating the Lists plugin
|
|
23560
23560
|
*
|
|
@@ -24580,7 +24580,7 @@ var Lists = /** @__PURE__ @class */ (function () {
|
|
|
24580
24580
|
* @hidden
|
|
24581
24581
|
* @deprecated
|
|
24582
24582
|
*/
|
|
24583
|
-
var Formats = /** @
|
|
24583
|
+
var Formats = /** @class */ (function () {
|
|
24584
24584
|
/**
|
|
24585
24585
|
* Constructor for creating the Formats plugin
|
|
24586
24586
|
*
|
|
@@ -25114,7 +25114,7 @@ var Formats = /** @__PURE__ @class */ (function () {
|
|
|
25114
25114
|
/**
|
|
25115
25115
|
* DOMTreeMethods - A `TreeWalkder` API implementation to get the block and text nodes in the selection.
|
|
25116
25116
|
*/
|
|
25117
|
-
var DOMMethods = /** @
|
|
25117
|
+
var DOMMethods = /** @class */ (function () {
|
|
25118
25118
|
function DOMMethods(editElement) {
|
|
25119
25119
|
this.directRangeElems = ['IMG', 'TABLE', 'AUDIO', 'VIDEO', 'HR'];
|
|
25120
25120
|
this.BLOCK_TAGS = ['address', 'article', 'aside', 'audio', 'blockquote',
|
|
@@ -25344,7 +25344,7 @@ var DOMMethods = /** @__PURE__ @class */ (function () {
|
|
|
25344
25344
|
* @hidden
|
|
25345
25345
|
* @deprecated
|
|
25346
25346
|
*/
|
|
25347
|
-
var LinkCommand = /** @
|
|
25347
|
+
var LinkCommand = /** @class */ (function () {
|
|
25348
25348
|
/**
|
|
25349
25349
|
* Constructor for creating the Formats plugin
|
|
25350
25350
|
*
|
|
@@ -25761,7 +25761,7 @@ var LinkCommand = /** @__PURE__ @class */ (function () {
|
|
|
25761
25761
|
* @hidden
|
|
25762
25762
|
* @deprecated
|
|
25763
25763
|
*/
|
|
25764
|
-
var Alignments = /** @
|
|
25764
|
+
var Alignments = /** @class */ (function () {
|
|
25765
25765
|
/**
|
|
25766
25766
|
* Constructor for creating the Formats plugin
|
|
25767
25767
|
*
|
|
@@ -25876,7 +25876,7 @@ var Alignments = /** @__PURE__ @class */ (function () {
|
|
|
25876
25876
|
* @hidden
|
|
25877
25877
|
* @deprecated
|
|
25878
25878
|
*/
|
|
25879
|
-
var Indents = /** @
|
|
25879
|
+
var Indents = /** @class */ (function () {
|
|
25880
25880
|
/**
|
|
25881
25881
|
* Constructor for creating the Formats plugin
|
|
25882
25882
|
*
|
|
@@ -26023,7 +26023,7 @@ var CLASS_VIDEO_INLINE = 'e-video-inline';
|
|
|
26023
26023
|
* @hidden
|
|
26024
26024
|
* @deprecated
|
|
26025
26025
|
*/
|
|
26026
|
-
var ImageCommand = /** @
|
|
26026
|
+
var ImageCommand = /** @class */ (function () {
|
|
26027
26027
|
/**
|
|
26028
26028
|
* Constructor for creating the Formats plugin
|
|
26029
26029
|
*
|
|
@@ -26428,7 +26428,7 @@ var ImageCommand = /** @__PURE__ @class */ (function () {
|
|
|
26428
26428
|
* @hidden
|
|
26429
26429
|
* @deprecated
|
|
26430
26430
|
*/
|
|
26431
|
-
var AudioCommand = /** @
|
|
26431
|
+
var AudioCommand = /** @class */ (function () {
|
|
26432
26432
|
/**
|
|
26433
26433
|
* Constructor for creating the Audio plugin
|
|
26434
26434
|
*
|
|
@@ -26581,7 +26581,7 @@ var AudioCommand = /** @__PURE__ @class */ (function () {
|
|
|
26581
26581
|
* @hidden
|
|
26582
26582
|
* @deprecated
|
|
26583
26583
|
*/
|
|
26584
|
-
var VideoCommand = /** @
|
|
26584
|
+
var VideoCommand = /** @class */ (function () {
|
|
26585
26585
|
/**
|
|
26586
26586
|
* Constructor for creating the Video plugin
|
|
26587
26587
|
*
|
|
@@ -26901,7 +26901,7 @@ var VideoCommand = /** @__PURE__ @class */ (function () {
|
|
|
26901
26901
|
* @hidden
|
|
26902
26902
|
* @deprecated
|
|
26903
26903
|
*/
|
|
26904
|
-
var TableCommand = /** @
|
|
26904
|
+
var TableCommand = /** @class */ (function () {
|
|
26905
26905
|
/**
|
|
26906
26906
|
* Constructor for creating the Formats plugin
|
|
26907
26907
|
*
|
|
@@ -27958,7 +27958,7 @@ var TableCommand = /** @__PURE__ @class */ (function () {
|
|
|
27958
27958
|
};
|
|
27959
27959
|
return TableCommand;
|
|
27960
27960
|
}());
|
|
27961
|
-
var MinMax = /** @
|
|
27961
|
+
var MinMax = /** @class */ (function () {
|
|
27962
27962
|
function MinMax() {
|
|
27963
27963
|
}
|
|
27964
27964
|
return MinMax;
|
|
@@ -27967,7 +27967,7 @@ var MinMax = /** @__PURE__ @class */ (function () {
|
|
|
27967
27967
|
/**
|
|
27968
27968
|
* `Selection` module is used to handle RTE Selections.
|
|
27969
27969
|
*/
|
|
27970
|
-
var SelectionCommands = /** @
|
|
27970
|
+
var SelectionCommands = /** @class */ (function () {
|
|
27971
27971
|
function SelectionCommands() {
|
|
27972
27972
|
}
|
|
27973
27973
|
/**
|
|
@@ -29004,7 +29004,7 @@ var SelectionCommands = /** @__PURE__ @class */ (function () {
|
|
|
29004
29004
|
* @hidden
|
|
29005
29005
|
* @deprecated
|
|
29006
29006
|
*/
|
|
29007
|
-
var SelectionBasedExec = /** @
|
|
29007
|
+
var SelectionBasedExec = /** @class */ (function () {
|
|
29008
29008
|
/**
|
|
29009
29009
|
* Constructor for creating the Formats plugin
|
|
29010
29010
|
*
|
|
@@ -29062,7 +29062,7 @@ var SelectionBasedExec = /** @__PURE__ @class */ (function () {
|
|
|
29062
29062
|
* @hidden
|
|
29063
29063
|
* @deprecated
|
|
29064
29064
|
*/
|
|
29065
|
-
var InsertHtmlExec = /** @
|
|
29065
|
+
var InsertHtmlExec = /** @class */ (function () {
|
|
29066
29066
|
/**
|
|
29067
29067
|
* Constructor for creating the Formats plugin
|
|
29068
29068
|
*
|
|
@@ -29117,7 +29117,7 @@ var InsertHtmlExec = /** @__PURE__ @class */ (function () {
|
|
|
29117
29117
|
/**
|
|
29118
29118
|
* `Clear Format` module is used to handle Clear Format.
|
|
29119
29119
|
*/
|
|
29120
|
-
var ClearFormat$1 = /** @
|
|
29120
|
+
var ClearFormat$1 = /** @class */ (function () {
|
|
29121
29121
|
function ClearFormat() {
|
|
29122
29122
|
}
|
|
29123
29123
|
/**
|
|
@@ -29379,7 +29379,7 @@ var ClearFormat$1 = /** @__PURE__ @class */ (function () {
|
|
|
29379
29379
|
* @hidden
|
|
29380
29380
|
* @deprecated
|
|
29381
29381
|
*/
|
|
29382
|
-
var ClearFormatExec = /** @
|
|
29382
|
+
var ClearFormatExec = /** @class */ (function () {
|
|
29383
29383
|
/**
|
|
29384
29384
|
* Constructor for creating the Formats plugin
|
|
29385
29385
|
*
|
|
@@ -29433,7 +29433,7 @@ var ClearFormatExec = /** @__PURE__ @class */ (function () {
|
|
|
29433
29433
|
/**
|
|
29434
29434
|
* `Undo` module is used to handle undo actions.
|
|
29435
29435
|
*/
|
|
29436
|
-
var UndoRedoManager = /** @
|
|
29436
|
+
var UndoRedoManager = /** @class */ (function () {
|
|
29437
29437
|
function UndoRedoManager(parent, options) {
|
|
29438
29438
|
this.undoRedoStack = [];
|
|
29439
29439
|
this.parent = parent;
|
|
@@ -29699,7 +29699,7 @@ var UndoRedoManager = /** @__PURE__ @class */ (function () {
|
|
|
29699
29699
|
* @hidden
|
|
29700
29700
|
* @deprecated
|
|
29701
29701
|
*/
|
|
29702
|
-
var MsWordPaste = /** @
|
|
29702
|
+
var MsWordPaste = /** @class */ (function () {
|
|
29703
29703
|
function MsWordPaste(parent) {
|
|
29704
29704
|
this.olData = [
|
|
29705
29705
|
'decimal',
|
|
@@ -30830,7 +30830,7 @@ var MsWordPaste = /** @__PURE__ @class */ (function () {
|
|
|
30830
30830
|
* @hidden
|
|
30831
30831
|
* @deprecated
|
|
30832
30832
|
*/
|
|
30833
|
-
var InsertTextExec = /** @
|
|
30833
|
+
var InsertTextExec = /** @class */ (function () {
|
|
30834
30834
|
/**
|
|
30835
30835
|
* Constructor for creating the InsertText plugin
|
|
30836
30836
|
*
|
|
@@ -30869,7 +30869,7 @@ var InsertTextExec = /** @__PURE__ @class */ (function () {
|
|
|
30869
30869
|
return InsertTextExec;
|
|
30870
30870
|
}());
|
|
30871
30871
|
|
|
30872
|
-
var EmojiPickerAction = /** @
|
|
30872
|
+
var EmojiPickerAction = /** @class */ (function () {
|
|
30873
30873
|
function EmojiPickerAction(parent) {
|
|
30874
30874
|
this.parent = parent;
|
|
30875
30875
|
this.addEventListener();
|
|
@@ -30954,7 +30954,7 @@ var EmojiPickerAction = /** @__PURE__ @class */ (function () {
|
|
|
30954
30954
|
return EmojiPickerAction;
|
|
30955
30955
|
}());
|
|
30956
30956
|
|
|
30957
|
-
var FormatPainterActions = /** @
|
|
30957
|
+
var FormatPainterActions = /** @class */ (function () {
|
|
30958
30958
|
function FormatPainterActions(parent, options) {
|
|
30959
30959
|
this.INVALID_TAGS = ['A', 'AUDIO', 'IMG', 'VIDEO', 'IFRAME'];
|
|
30960
30960
|
this.parent = parent;
|
|
@@ -31599,7 +31599,7 @@ var FormatPainterActions = /** @__PURE__ @class */ (function () {
|
|
|
31599
31599
|
* @hidden
|
|
31600
31600
|
* @deprecated
|
|
31601
31601
|
*/
|
|
31602
|
-
var EditorManager = /** @
|
|
31602
|
+
var EditorManager = /** @class */ (function () {
|
|
31603
31603
|
/**
|
|
31604
31604
|
* Constructor for creating the component
|
|
31605
31605
|
*
|
|
@@ -31949,26 +31949,26 @@ var EditorManager = /** @__PURE__ @class */ (function () {
|
|
|
31949
31949
|
return EditorManager;
|
|
31950
31950
|
}());
|
|
31951
31951
|
|
|
31952
|
-
var __extends$4 = (undefined && undefined.__extends) || (function () {
|
|
31953
|
-
var extendStatics = function (d, b) {
|
|
31954
|
-
extendStatics = Object.setPrototypeOf ||
|
|
31955
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
31956
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
31957
|
-
return extendStatics(d, b);
|
|
31958
|
-
};
|
|
31959
|
-
return function (d, b) {
|
|
31960
|
-
extendStatics(d, b);
|
|
31961
|
-
function __() { this.constructor = d; }
|
|
31962
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
31963
|
-
};
|
|
31964
|
-
})();
|
|
31952
|
+
var __extends$4 = (undefined && undefined.__extends) || (function () {
|
|
31953
|
+
var extendStatics = function (d, b) {
|
|
31954
|
+
extendStatics = Object.setPrototypeOf ||
|
|
31955
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
31956
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
31957
|
+
return extendStatics(d, b);
|
|
31958
|
+
};
|
|
31959
|
+
return function (d, b) {
|
|
31960
|
+
extendStatics(d, b);
|
|
31961
|
+
function __() { this.constructor = d; }
|
|
31962
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
31963
|
+
};
|
|
31964
|
+
})();
|
|
31965
31965
|
/**
|
|
31966
31966
|
* HTML adapter
|
|
31967
31967
|
*
|
|
31968
31968
|
* @hidden
|
|
31969
31969
|
* @deprecated
|
|
31970
31970
|
*/
|
|
31971
|
-
var HTMLFormatter = /** @
|
|
31971
|
+
var HTMLFormatter = /** @class */ (function (_super) {
|
|
31972
31972
|
__extends$4(HTMLFormatter, _super);
|
|
31973
31973
|
function HTMLFormatter(options) {
|
|
31974
31974
|
var _this = _super.call(this) || this;
|
|
@@ -32009,7 +32009,7 @@ var HTMLFormatter = /** @__PURE__ @class */ (function (_super) {
|
|
|
32009
32009
|
/**
|
|
32010
32010
|
* HtmlToolbarStatus module for refresh the toolbar status
|
|
32011
32011
|
*/
|
|
32012
|
-
var HtmlToolbarStatus = /** @
|
|
32012
|
+
var HtmlToolbarStatus = /** @class */ (function () {
|
|
32013
32013
|
function HtmlToolbarStatus(parent) {
|
|
32014
32014
|
this.parent = parent;
|
|
32015
32015
|
this.toolbarStatus = this.prevToolbarStatus = getDefaultHtmlTbStatus();
|
|
@@ -32055,7 +32055,7 @@ var HtmlToolbarStatus = /** @__PURE__ @class */ (function () {
|
|
|
32055
32055
|
/**
|
|
32056
32056
|
* XhtmlValidation module called when set enableXhtml as true
|
|
32057
32057
|
*/
|
|
32058
|
-
var XhtmlValidation = /** @
|
|
32058
|
+
var XhtmlValidation = /** @class */ (function () {
|
|
32059
32059
|
function XhtmlValidation(parent) {
|
|
32060
32060
|
this.parent = parent;
|
|
32061
32061
|
this.addEventListener();
|
|
@@ -32226,7 +32226,7 @@ var XhtmlValidation = /** @__PURE__ @class */ (function () {
|
|
|
32226
32226
|
/**
|
|
32227
32227
|
* `HtmlEditor` module is used to HTML editor
|
|
32228
32228
|
*/
|
|
32229
|
-
var HtmlEditor = /** @
|
|
32229
|
+
var HtmlEditor = /** @class */ (function () {
|
|
32230
32230
|
function HtmlEditor(parent, serviceLocator) {
|
|
32231
32231
|
this.rangeCollection = [];
|
|
32232
32232
|
this.isImageDelete = false;
|
|
@@ -32779,6 +32779,26 @@ var HtmlEditor = /** @__PURE__ @class */ (function () {
|
|
|
32779
32779
|
if (isNullOrUndefined(this.oldRangeElement)) {
|
|
32780
32780
|
return;
|
|
32781
32781
|
}
|
|
32782
|
+
else if (findBlockElement[0].previousSibling) {
|
|
32783
|
+
var prevSibling = findBlockElement[0].previousSibling;
|
|
32784
|
+
var currentElement = findBlockElement[0];
|
|
32785
|
+
if (prevSibling.textContent.trim()) {
|
|
32786
|
+
if (prevSibling.lastChild.nodeName === 'BR') {
|
|
32787
|
+
prevSibling.removeChild(prevSibling.lastChild);
|
|
32788
|
+
}
|
|
32789
|
+
var cursorpointer = prevSibling.lastChild.textContent.length;
|
|
32790
|
+
var lastChild = prevSibling.lastChild;
|
|
32791
|
+
var childNodes = Array.from(currentElement.childNodes);
|
|
32792
|
+
for (var i = 0; i < childNodes.length; i++) {
|
|
32793
|
+
prevSibling.appendChild(childNodes[i].cloneNode(true));
|
|
32794
|
+
}
|
|
32795
|
+
this.parent.formatter.editorManager.nodeSelection.setCursorPoint(this.parent.contentModule.getDocument(), lastChild, cursorpointer);
|
|
32796
|
+
currentElement.parentNode.removeChild(currentElement);
|
|
32797
|
+
}
|
|
32798
|
+
else {
|
|
32799
|
+
prevSibling.parentNode.removeChild(prevSibling);
|
|
32800
|
+
}
|
|
32801
|
+
}
|
|
32782
32802
|
else {
|
|
32783
32803
|
if (this.oldRangeElement.tagName === 'OL' || this.oldRangeElement.tagName === 'UL') {
|
|
32784
32804
|
this.oldRangeElement = this.oldRangeElement.lastElementChild.lastElementChild
|
|
@@ -33385,7 +33405,7 @@ var HtmlEditor = /** @__PURE__ @class */ (function () {
|
|
|
33385
33405
|
/**
|
|
33386
33406
|
* PasteCleanup module called when pasting content in RichTextEditor
|
|
33387
33407
|
*/
|
|
33388
|
-
var PasteCleanup = /** @
|
|
33408
|
+
var PasteCleanup = /** @class */ (function () {
|
|
33389
33409
|
function PasteCleanup(parent, serviceLocator) {
|
|
33390
33410
|
this.inlineNode = ['a', 'abbr', 'acronym', 'audio', 'b', 'bdi', 'bdo', 'big', 'br', 'button',
|
|
33391
33411
|
'canvas', 'cite', 'code', 'data', 'datalist', 'del', 'dfn', 'em', 'embed', 'font', 'i', 'iframe', 'img', 'input',
|
|
@@ -33560,28 +33580,6 @@ var PasteCleanup = /** @__PURE__ @class */ (function () {
|
|
|
33560
33580
|
value = tempDivElem.innerHTML;
|
|
33561
33581
|
var isValueNotEmpty = tempDivElem.textContent !== '' || !isNullOrUndefined(tempDivElem.querySelector('img')) ||
|
|
33562
33582
|
!isNullOrUndefined(tempDivElem.querySelector('table'));
|
|
33563
|
-
var imgElements = tempDivElem.querySelectorAll('img');
|
|
33564
|
-
var base_1 = this.parent.contentModule.getDocument().location.origin;
|
|
33565
|
-
imgElements.forEach(function (imgElement) {
|
|
33566
|
-
var imageFileFormat;
|
|
33567
|
-
var imgElementSrc = imgElement.getAttribute('src');
|
|
33568
|
-
if (!isNullOrUndefined(imgElementSrc) && imgElementSrc !== '') {
|
|
33569
|
-
if (imgElementSrc.indexOf('base64') > -1 && imgElementSrc.indexOf('data:') > -1) {
|
|
33570
|
-
imageFileFormat = imgElementSrc.split(';')[0].split('/')[1];
|
|
33571
|
-
}
|
|
33572
|
-
else {
|
|
33573
|
-
var parsedUrl = imgElementSrc.indexOf('http') > -1 ? new URL(imgElementSrc) : new URL(imgElementSrc, base_1);
|
|
33574
|
-
var path = parsedUrl.pathname;
|
|
33575
|
-
imageFileFormat = path.split('.').pop().toLowerCase();
|
|
33576
|
-
}
|
|
33577
|
-
if (!isNullOrUndefined(imageFileFormat) &&
|
|
33578
|
-
allowedTypes.every(function (type) { return imageFileFormat !== type.substring(1).toLowerCase(); }) &&
|
|
33579
|
-
imgElementSrc.indexOf('blob') === -1) {
|
|
33580
|
-
detach(imgElement);
|
|
33581
|
-
}
|
|
33582
|
-
}
|
|
33583
|
-
});
|
|
33584
|
-
value = tempDivElem.innerHTML;
|
|
33585
33583
|
this.parent.notify(cleanupResizeElements, {
|
|
33586
33584
|
value: value,
|
|
33587
33585
|
callBack: function (currentValue) {
|
|
@@ -33831,7 +33829,11 @@ var PasteCleanup = /** @__PURE__ @class */ (function () {
|
|
|
33831
33829
|
this.parent.inputElement.contentEditable = 'true';
|
|
33832
33830
|
detach(imgElem);
|
|
33833
33831
|
if (popupObj) {
|
|
33834
|
-
|
|
33832
|
+
this.parent.isBlur = false;
|
|
33833
|
+
popupObj.destroy();
|
|
33834
|
+
if (!isNullOrUndefined(popupObj.element)) {
|
|
33835
|
+
detach(popupObj.element);
|
|
33836
|
+
}
|
|
33835
33837
|
}
|
|
33836
33838
|
this.parent.trigger(imageUploadFailed, e);
|
|
33837
33839
|
if (uploadObj && document.body.contains(uploadObj.element)) {
|
|
@@ -33848,7 +33850,7 @@ var PasteCleanup = /** @__PURE__ @class */ (function () {
|
|
|
33848
33850
|
this.parent.trigger(imageUploadSuccess, e, function (e) {
|
|
33849
33851
|
if (!isNullOrUndefined(_this.parent.insertImageSettings.path)) {
|
|
33850
33852
|
var url = _this.parent.insertImageSettings.path + e.file.name;
|
|
33851
|
-
if (!_this.parent.inputElement.contains(imgElem)) {
|
|
33853
|
+
if (!_this.parent.inputElement.contains(imgElem) && imgElem.id) {
|
|
33852
33854
|
var imgHtmlElems = _this.parent.inputElement.querySelectorAll('#' + imgElem.id);
|
|
33853
33855
|
for (var i = 0; i < imgHtmlElems.length; i++) {
|
|
33854
33856
|
var imgHtmlElem = imgHtmlElems[i];
|
|
@@ -33873,13 +33875,22 @@ var PasteCleanup = /** @__PURE__ @class */ (function () {
|
|
|
33873
33875
|
});
|
|
33874
33876
|
}
|
|
33875
33877
|
this.popupCloseTime = setTimeout(function () {
|
|
33876
|
-
popupObj
|
|
33877
|
-
|
|
33878
|
-
|
|
33879
|
-
|
|
33880
|
-
|
|
33881
|
-
|
|
33882
|
-
|
|
33878
|
+
if (popupObj) {
|
|
33879
|
+
_this.parent.isBlur = false;
|
|
33880
|
+
popupObj.destroy();
|
|
33881
|
+
if (!isNullOrUndefined(popupObj.element)) {
|
|
33882
|
+
detach(popupObj.element);
|
|
33883
|
+
}
|
|
33884
|
+
}
|
|
33885
|
+
if (!_this.parent.inputElement.contains(imgElem) && (imgElem.id || imgElem.alt)) {
|
|
33886
|
+
var selector = imgElem.id ? "#" + imgElem.id : "[alt=\"" + imgElem.alt + "\"]";
|
|
33887
|
+
if (selector) {
|
|
33888
|
+
var imgHtmlElems = _this.parent.inputElement.querySelectorAll(selector);
|
|
33889
|
+
for (var i = 0; i < imgHtmlElems.length; i++) {
|
|
33890
|
+
var imgHtmlElem = imgHtmlElems[i];
|
|
33891
|
+
if (imgHtmlElem && imgHtmlElem.style && imgHtmlElem.style.opacity === '0.5') {
|
|
33892
|
+
imgHtmlElem.style.opacity = '1';
|
|
33893
|
+
}
|
|
33883
33894
|
}
|
|
33884
33895
|
}
|
|
33885
33896
|
}
|
|
@@ -34653,7 +34664,7 @@ var PasteCleanup = /** @__PURE__ @class */ (function () {
|
|
|
34653
34664
|
/**
|
|
34654
34665
|
* `Resize` module is used to resize the editor
|
|
34655
34666
|
*/
|
|
34656
|
-
var Resize = /** @
|
|
34667
|
+
var Resize = /** @class */ (function () {
|
|
34657
34668
|
function Resize(parent) {
|
|
34658
34669
|
this.parent = parent;
|
|
34659
34670
|
this.addEventListener();
|
|
@@ -34685,13 +34696,24 @@ var Resize = /** @__PURE__ @class */ (function () {
|
|
|
34685
34696
|
this.iframeElement = this.parent.contentModule.getDocument().querySelectorAll('iframe');
|
|
34686
34697
|
if (!isNullOrUndefined(this.iframeElement)) {
|
|
34687
34698
|
this.iframeElement.forEach(function (iframe) {
|
|
34688
|
-
EventHandler.add(iframe
|
|
34699
|
+
EventHandler.add(iframe, 'load', _this.onIFrameLoad, _this);
|
|
34689
34700
|
});
|
|
34690
34701
|
}
|
|
34691
34702
|
this.touchStartEvent = (Browser.info.name === 'msie') ? 'pointerdown' : 'touchstart';
|
|
34692
34703
|
EventHandler.add(this.resizer, 'mousedown', this.resizeStart, this);
|
|
34693
34704
|
EventHandler.add(this.resizer, this.touchStartEvent, this.resizeStart, this);
|
|
34694
34705
|
};
|
|
34706
|
+
Resize.prototype.onIFrameLoad = function (e) {
|
|
34707
|
+
var iframe = e.target;
|
|
34708
|
+
if (iframe.nodeName === 'IFRAME' && iframe.contentDocument) {
|
|
34709
|
+
EventHandler.add(iframe.contentDocument, 'mouseup', this.stopResize, this);
|
|
34710
|
+
}
|
|
34711
|
+
};
|
|
34712
|
+
Resize.prototype.removeMouseUpEventListener = function (iframe) {
|
|
34713
|
+
if (iframe.contentDocument) {
|
|
34714
|
+
EventHandler.remove(iframe.contentDocument, 'mouseup', this.stopResize);
|
|
34715
|
+
}
|
|
34716
|
+
};
|
|
34695
34717
|
Resize.prototype.resizeStart = function (e) {
|
|
34696
34718
|
var _this = this;
|
|
34697
34719
|
this.isResizing = false;
|
|
@@ -34798,7 +34820,7 @@ var Resize = /** @__PURE__ @class */ (function () {
|
|
|
34798
34820
|
}
|
|
34799
34821
|
if (!isNullOrUndefined(this.iframeElement)) {
|
|
34800
34822
|
this.iframeElement.forEach(function (iframe) {
|
|
34801
|
-
|
|
34823
|
+
_this.removeMouseUpEventListener(iframe);
|
|
34802
34824
|
});
|
|
34803
34825
|
}
|
|
34804
34826
|
if (this.resizer) {
|
|
@@ -34832,7 +34854,7 @@ var Resize = /** @__PURE__ @class */ (function () {
|
|
|
34832
34854
|
/**
|
|
34833
34855
|
* `FileManager` module is used to display the directories and images inside the editor.
|
|
34834
34856
|
*/
|
|
34835
|
-
var FileManager = /** @
|
|
34857
|
+
var FileManager = /** @class */ (function () {
|
|
34836
34858
|
function FileManager(parent, locator) {
|
|
34837
34859
|
FileManager$1.Inject(ContextMenu, DetailsView, NavigationPane, Toolbar$2);
|
|
34838
34860
|
this.parent = parent;
|
|
@@ -35089,7 +35111,7 @@ var FileManager = /** @__PURE__ @class */ (function () {
|
|
|
35089
35111
|
/**
|
|
35090
35112
|
* `FullScreen` module is used to maximize and minimize screen
|
|
35091
35113
|
*/
|
|
35092
|
-
var FullScreen = /** @
|
|
35114
|
+
var FullScreen = /** @class */ (function () {
|
|
35093
35115
|
function FullScreen(parent) {
|
|
35094
35116
|
this.parent = parent;
|
|
35095
35117
|
this.addEventListener();
|
|
@@ -35311,7 +35333,7 @@ function setAttributes(htmlAttributes, rte, isFrame, initial) {
|
|
|
35311
35333
|
}
|
|
35312
35334
|
}
|
|
35313
35335
|
|
|
35314
|
-
var FormatPainter = /** @
|
|
35336
|
+
var FormatPainter = /** @class */ (function () {
|
|
35315
35337
|
function FormatPainter(parent) {
|
|
35316
35338
|
this.isSticky = false;
|
|
35317
35339
|
this.isActive = false;
|
|
@@ -35470,7 +35492,7 @@ var FormatPainter = /** @__PURE__ @class */ (function () {
|
|
|
35470
35492
|
return FormatPainter;
|
|
35471
35493
|
}());
|
|
35472
35494
|
|
|
35473
|
-
var EmojiPicker = /** @
|
|
35495
|
+
var EmojiPicker = /** @class */ (function () {
|
|
35474
35496
|
function EmojiPicker(parent, serviceLocator) {
|
|
35475
35497
|
this.noResultsFoundCount = 0;
|
|
35476
35498
|
this.parent = parent;
|
|
@@ -36351,7 +36373,7 @@ var EmojiPicker = /** @__PURE__ @class */ (function () {
|
|
|
36351
36373
|
/**
|
|
36352
36374
|
* ImportExport module called when import and export content in RichTextEditor
|
|
36353
36375
|
*/
|
|
36354
|
-
var ImportExport = /** @
|
|
36376
|
+
var ImportExport = /** @class */ (function () {
|
|
36355
36377
|
function ImportExport(parent) {
|
|
36356
36378
|
this.parent = parent;
|
|
36357
36379
|
this.addEventListener();
|
|
@@ -36670,7 +36692,7 @@ var executeGroup = {
|
|
|
36670
36692
|
* @hidden
|
|
36671
36693
|
* @deprecated
|
|
36672
36694
|
*/
|
|
36673
|
-
var ServiceLocator = /** @
|
|
36695
|
+
var ServiceLocator = /** @class */ (function () {
|
|
36674
36696
|
function ServiceLocator() {
|
|
36675
36697
|
this.services = {};
|
|
36676
36698
|
}
|
|
@@ -36717,7 +36739,7 @@ var ServiceLocator = /** @__PURE__ @class */ (function () {
|
|
|
36717
36739
|
* @hidden
|
|
36718
36740
|
* @deprecated
|
|
36719
36741
|
*/
|
|
36720
|
-
var RendererFactory = /** @
|
|
36742
|
+
var RendererFactory = /** @class */ (function () {
|
|
36721
36743
|
function RendererFactory() {
|
|
36722
36744
|
this.rendererMap = {};
|
|
36723
36745
|
}
|
|
@@ -36760,29 +36782,29 @@ var RendererFactory = /** @__PURE__ @class */ (function () {
|
|
|
36760
36782
|
return RendererFactory;
|
|
36761
36783
|
}());
|
|
36762
36784
|
|
|
36763
|
-
var __extends$5 = (undefined && undefined.__extends) || (function () {
|
|
36764
|
-
var extendStatics = function (d, b) {
|
|
36765
|
-
extendStatics = Object.setPrototypeOf ||
|
|
36766
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
36767
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
36768
|
-
return extendStatics(d, b);
|
|
36769
|
-
};
|
|
36770
|
-
return function (d, b) {
|
|
36771
|
-
extendStatics(d, b);
|
|
36772
|
-
function __() { this.constructor = d; }
|
|
36773
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
36774
|
-
};
|
|
36775
|
-
})();
|
|
36776
|
-
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
36777
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
36778
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
36779
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
36780
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
36781
|
-
};
|
|
36785
|
+
var __extends$5 = (undefined && undefined.__extends) || (function () {
|
|
36786
|
+
var extendStatics = function (d, b) {
|
|
36787
|
+
extendStatics = Object.setPrototypeOf ||
|
|
36788
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
36789
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
36790
|
+
return extendStatics(d, b);
|
|
36791
|
+
};
|
|
36792
|
+
return function (d, b) {
|
|
36793
|
+
extendStatics(d, b);
|
|
36794
|
+
function __() { this.constructor = d; }
|
|
36795
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
36796
|
+
};
|
|
36797
|
+
})();
|
|
36798
|
+
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
36799
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
36800
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
36801
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
36802
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
36803
|
+
};
|
|
36782
36804
|
/**
|
|
36783
36805
|
* Configures the toolbar settings of the RichTextEditor.
|
|
36784
36806
|
*/
|
|
36785
|
-
var ToolbarSettings = /** @
|
|
36807
|
+
var ToolbarSettings = /** @class */ (function (_super) {
|
|
36786
36808
|
__extends$5(ToolbarSettings, _super);
|
|
36787
36809
|
function ToolbarSettings() {
|
|
36788
36810
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -36807,7 +36829,7 @@ var ToolbarSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
36807
36829
|
/**
|
|
36808
36830
|
* Configures the importWord settings of the RichTextEditor.
|
|
36809
36831
|
*/
|
|
36810
|
-
var ImportWord = /** @
|
|
36832
|
+
var ImportWord = /** @class */ (function (_super) {
|
|
36811
36833
|
__extends$5(ImportWord, _super);
|
|
36812
36834
|
function ImportWord() {
|
|
36813
36835
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -36820,7 +36842,7 @@ var ImportWord = /** @__PURE__ @class */ (function (_super) {
|
|
|
36820
36842
|
/**
|
|
36821
36843
|
* Configures the export word of the RichTextEditor.
|
|
36822
36844
|
*/
|
|
36823
|
-
var ExportWord = /** @
|
|
36845
|
+
var ExportWord = /** @class */ (function (_super) {
|
|
36824
36846
|
__extends$5(ExportWord, _super);
|
|
36825
36847
|
function ExportWord() {
|
|
36826
36848
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -36839,7 +36861,7 @@ var ExportWord = /** @__PURE__ @class */ (function (_super) {
|
|
|
36839
36861
|
/**
|
|
36840
36862
|
* Configures the export settings of the RichTextEditor.
|
|
36841
36863
|
*/
|
|
36842
|
-
var ExportPdf = /** @
|
|
36864
|
+
var ExportPdf = /** @class */ (function (_super) {
|
|
36843
36865
|
__extends$5(ExportPdf, _super);
|
|
36844
36866
|
function ExportPdf() {
|
|
36845
36867
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -36858,7 +36880,7 @@ var ExportPdf = /** @__PURE__ @class */ (function (_super) {
|
|
|
36858
36880
|
/**
|
|
36859
36881
|
* Configures the image settings of the RichTextEditor.
|
|
36860
36882
|
*/
|
|
36861
|
-
var ImageSettings = /** @
|
|
36883
|
+
var ImageSettings = /** @class */ (function (_super) {
|
|
36862
36884
|
__extends$5(ImageSettings, _super);
|
|
36863
36885
|
function ImageSettings() {
|
|
36864
36886
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -36910,7 +36932,7 @@ var ImageSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
36910
36932
|
/**
|
|
36911
36933
|
* Configures the audio settings of the RichTextEditor.
|
|
36912
36934
|
*/
|
|
36913
|
-
var AudioSettings = /** @
|
|
36935
|
+
var AudioSettings = /** @class */ (function (_super) {
|
|
36914
36936
|
__extends$5(AudioSettings, _super);
|
|
36915
36937
|
function AudioSettings() {
|
|
36916
36938
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -36938,7 +36960,7 @@ var AudioSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
36938
36960
|
/**
|
|
36939
36961
|
* Configures the video settings of the RichTextEditor.
|
|
36940
36962
|
*/
|
|
36941
|
-
var VideoSettings = /** @
|
|
36963
|
+
var VideoSettings = /** @class */ (function (_super) {
|
|
36942
36964
|
__extends$5(VideoSettings, _super);
|
|
36943
36965
|
function VideoSettings() {
|
|
36944
36966
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -36990,7 +37012,7 @@ var VideoSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
36990
37012
|
/**
|
|
36991
37013
|
* Configures the file manager settings of the RichTextEditor.
|
|
36992
37014
|
*/
|
|
36993
|
-
var FileManagerSettings = /** @
|
|
37015
|
+
var FileManagerSettings = /** @class */ (function (_super) {
|
|
36994
37016
|
__extends$5(FileManagerSettings, _super);
|
|
36995
37017
|
function FileManagerSettings() {
|
|
36996
37018
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -37051,7 +37073,7 @@ var FileManagerSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
37051
37073
|
], FileManagerSettings.prototype, "view", void 0);
|
|
37052
37074
|
return FileManagerSettings;
|
|
37053
37075
|
}(ChildProperty));
|
|
37054
|
-
var TableSettings = /** @
|
|
37076
|
+
var TableSettings = /** @class */ (function (_super) {
|
|
37055
37077
|
__extends$5(TableSettings, _super);
|
|
37056
37078
|
function TableSettings() {
|
|
37057
37079
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -37076,7 +37098,7 @@ var TableSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
37076
37098
|
/**
|
|
37077
37099
|
* Configures the quick toolbar settings of the RichTextEditor.
|
|
37078
37100
|
*/
|
|
37079
|
-
var QuickToolbarSettings = /** @
|
|
37101
|
+
var QuickToolbarSettings = /** @class */ (function (_super) {
|
|
37080
37102
|
__extends$5(QuickToolbarSettings, _super);
|
|
37081
37103
|
function QuickToolbarSettings() {
|
|
37082
37104
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -37113,7 +37135,7 @@ var QuickToolbarSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
37113
37135
|
/**
|
|
37114
37136
|
* Configure the format painter settings of the Rich Text Editor.
|
|
37115
37137
|
*/
|
|
37116
|
-
var FormatPainterSettings = /** @
|
|
37138
|
+
var FormatPainterSettings = /** @class */ (function (_super) {
|
|
37117
37139
|
__extends$5(FormatPainterSettings, _super);
|
|
37118
37140
|
function FormatPainterSettings() {
|
|
37119
37141
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -37129,7 +37151,7 @@ var FormatPainterSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
37129
37151
|
/**
|
|
37130
37152
|
* Specifies the emoji picker options in Rich Text Editor with the following properties.
|
|
37131
37153
|
*/
|
|
37132
|
-
var EmojiSettings = /** @
|
|
37154
|
+
var EmojiSettings = /** @class */ (function (_super) {
|
|
37133
37155
|
__extends$5(EmojiSettings, _super);
|
|
37134
37156
|
function EmojiSettings() {
|
|
37135
37157
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -37145,7 +37167,7 @@ var EmojiSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
37145
37167
|
/**
|
|
37146
37168
|
* Configures the Paste Cleanup settings of the RichTextEditor.
|
|
37147
37169
|
*/
|
|
37148
|
-
var PasteCleanupSettings = /** @
|
|
37170
|
+
var PasteCleanupSettings = /** @class */ (function (_super) {
|
|
37149
37171
|
__extends$5(PasteCleanupSettings, _super);
|
|
37150
37172
|
function PasteCleanupSettings() {
|
|
37151
37173
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -37173,7 +37195,7 @@ var PasteCleanupSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
37173
37195
|
/**
|
|
37174
37196
|
* Configures the font family settings of the RichTextEditor.
|
|
37175
37197
|
*/
|
|
37176
|
-
var FontFamily = /** @
|
|
37198
|
+
var FontFamily = /** @class */ (function (_super) {
|
|
37177
37199
|
__extends$5(FontFamily, _super);
|
|
37178
37200
|
function FontFamily() {
|
|
37179
37201
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -37192,7 +37214,7 @@ var FontFamily = /** @__PURE__ @class */ (function (_super) {
|
|
|
37192
37214
|
/**
|
|
37193
37215
|
* Configures the font size settings of the RichTextEditor.
|
|
37194
37216
|
*/
|
|
37195
|
-
var FontSize = /** @
|
|
37217
|
+
var FontSize = /** @class */ (function (_super) {
|
|
37196
37218
|
__extends$5(FontSize, _super);
|
|
37197
37219
|
function FontSize() {
|
|
37198
37220
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -37211,7 +37233,7 @@ var FontSize = /** @__PURE__ @class */ (function (_super) {
|
|
|
37211
37233
|
/**
|
|
37212
37234
|
* Configures the format settings of the RichTextEditor.
|
|
37213
37235
|
*/
|
|
37214
|
-
var Format = /** @
|
|
37236
|
+
var Format = /** @class */ (function (_super) {
|
|
37215
37237
|
__extends$5(Format, _super);
|
|
37216
37238
|
function Format() {
|
|
37217
37239
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -37230,7 +37252,7 @@ var Format = /** @__PURE__ @class */ (function (_super) {
|
|
|
37230
37252
|
/**
|
|
37231
37253
|
* Configures the font Color settings of the RichTextEditor.
|
|
37232
37254
|
*/
|
|
37233
|
-
var FontColor = /** @
|
|
37255
|
+
var FontColor = /** @class */ (function (_super) {
|
|
37234
37256
|
__extends$5(FontColor, _super);
|
|
37235
37257
|
function FontColor() {
|
|
37236
37258
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -37255,7 +37277,7 @@ var FontColor = /** @__PURE__ @class */ (function (_super) {
|
|
|
37255
37277
|
/**
|
|
37256
37278
|
* Configures the background Color settings of the RichTextEditor.
|
|
37257
37279
|
*/
|
|
37258
|
-
var BackgroundColor = /** @
|
|
37280
|
+
var BackgroundColor = /** @class */ (function (_super) {
|
|
37259
37281
|
__extends$5(BackgroundColor, _super);
|
|
37260
37282
|
function BackgroundColor() {
|
|
37261
37283
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -37280,7 +37302,7 @@ var BackgroundColor = /** @__PURE__ @class */ (function (_super) {
|
|
|
37280
37302
|
/**
|
|
37281
37303
|
* Configures the numberFormatList settings of the RichTextEditor.
|
|
37282
37304
|
*/
|
|
37283
|
-
var NumberFormatList = /** @
|
|
37305
|
+
var NumberFormatList = /** @class */ (function (_super) {
|
|
37284
37306
|
__extends$5(NumberFormatList, _super);
|
|
37285
37307
|
function NumberFormatList() {
|
|
37286
37308
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -37293,7 +37315,7 @@ var NumberFormatList = /** @__PURE__ @class */ (function (_super) {
|
|
|
37293
37315
|
/**
|
|
37294
37316
|
* Configures the bulletFormatList settings of the RichTextEditor.
|
|
37295
37317
|
*/
|
|
37296
|
-
var BulletFormatList = /** @
|
|
37318
|
+
var BulletFormatList = /** @class */ (function (_super) {
|
|
37297
37319
|
__extends$5(BulletFormatList, _super);
|
|
37298
37320
|
function BulletFormatList() {
|
|
37299
37321
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -37304,29 +37326,29 @@ var BulletFormatList = /** @__PURE__ @class */ (function (_super) {
|
|
|
37304
37326
|
return BulletFormatList;
|
|
37305
37327
|
}(ChildProperty));
|
|
37306
37328
|
|
|
37307
|
-
var __extends$6 = (undefined && undefined.__extends) || (function () {
|
|
37308
|
-
var extendStatics = function (d, b) {
|
|
37309
|
-
extendStatics = Object.setPrototypeOf ||
|
|
37310
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
37311
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
37312
|
-
return extendStatics(d, b);
|
|
37313
|
-
};
|
|
37314
|
-
return function (d, b) {
|
|
37315
|
-
extendStatics(d, b);
|
|
37316
|
-
function __() { this.constructor = d; }
|
|
37317
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
37318
|
-
};
|
|
37319
|
-
})();
|
|
37320
|
-
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
37321
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
37322
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
37323
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
37324
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
37325
|
-
};
|
|
37329
|
+
var __extends$6 = (undefined && undefined.__extends) || (function () {
|
|
37330
|
+
var extendStatics = function (d, b) {
|
|
37331
|
+
extendStatics = Object.setPrototypeOf ||
|
|
37332
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
37333
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
37334
|
+
return extendStatics(d, b);
|
|
37335
|
+
};
|
|
37336
|
+
return function (d, b) {
|
|
37337
|
+
extendStatics(d, b);
|
|
37338
|
+
function __() { this.constructor = d; }
|
|
37339
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
37340
|
+
};
|
|
37341
|
+
})();
|
|
37342
|
+
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
37343
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
37344
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
37345
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
37346
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
37347
|
+
};
|
|
37326
37348
|
/**
|
|
37327
37349
|
* Objects used for configuring the iframe resources properties.
|
|
37328
37350
|
*/
|
|
37329
|
-
var Resources = /** @
|
|
37351
|
+
var Resources = /** @class */ (function (_super) {
|
|
37330
37352
|
__extends$6(Resources, _super);
|
|
37331
37353
|
function Resources() {
|
|
37332
37354
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -37342,7 +37364,7 @@ var Resources = /** @__PURE__ @class */ (function (_super) {
|
|
|
37342
37364
|
/**
|
|
37343
37365
|
* Configures the iframe settings of the RTE.
|
|
37344
37366
|
*/
|
|
37345
|
-
var IFrameSettings = /** @
|
|
37367
|
+
var IFrameSettings = /** @class */ (function (_super) {
|
|
37346
37368
|
__extends$6(IFrameSettings, _super);
|
|
37347
37369
|
function IFrameSettings() {
|
|
37348
37370
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -37365,29 +37387,29 @@ var IFrameSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
37365
37387
|
return IFrameSettings;
|
|
37366
37388
|
}(ChildProperty));
|
|
37367
37389
|
|
|
37368
|
-
var __extends$7 = (undefined && undefined.__extends) || (function () {
|
|
37369
|
-
var extendStatics = function (d, b) {
|
|
37370
|
-
extendStatics = Object.setPrototypeOf ||
|
|
37371
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
37372
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
37373
|
-
return extendStatics(d, b);
|
|
37374
|
-
};
|
|
37375
|
-
return function (d, b) {
|
|
37376
|
-
extendStatics(d, b);
|
|
37377
|
-
function __() { this.constructor = d; }
|
|
37378
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
37379
|
-
};
|
|
37380
|
-
})();
|
|
37381
|
-
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
37382
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
37383
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
37384
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
37385
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
37386
|
-
};
|
|
37390
|
+
var __extends$7 = (undefined && undefined.__extends) || (function () {
|
|
37391
|
+
var extendStatics = function (d, b) {
|
|
37392
|
+
extendStatics = Object.setPrototypeOf ||
|
|
37393
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
37394
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
37395
|
+
return extendStatics(d, b);
|
|
37396
|
+
};
|
|
37397
|
+
return function (d, b) {
|
|
37398
|
+
extendStatics(d, b);
|
|
37399
|
+
function __() { this.constructor = d; }
|
|
37400
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
37401
|
+
};
|
|
37402
|
+
})();
|
|
37403
|
+
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
37404
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
37405
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
37406
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
37407
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
37408
|
+
};
|
|
37387
37409
|
/**
|
|
37388
37410
|
* Configures the inlineMode property of the RTE.
|
|
37389
37411
|
*/
|
|
37390
|
-
var InlineMode = /** @
|
|
37412
|
+
var InlineMode = /** @class */ (function (_super) {
|
|
37391
37413
|
__extends$7(InlineMode, _super);
|
|
37392
37414
|
function InlineMode() {
|
|
37393
37415
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -37404,7 +37426,7 @@ var InlineMode = /** @__PURE__ @class */ (function (_super) {
|
|
|
37404
37426
|
/**
|
|
37405
37427
|
* `EnterKey` module is used to handle enter key press actions.
|
|
37406
37428
|
*/
|
|
37407
|
-
var EnterKeyAction = /** @
|
|
37429
|
+
var EnterKeyAction = /** @class */ (function () {
|
|
37408
37430
|
function EnterKeyAction(parent) {
|
|
37409
37431
|
this.parent = parent;
|
|
37410
37432
|
this.addEventListener();
|
|
@@ -38128,36 +38150,36 @@ var EnterKeyAction = /** @__PURE__ @class */ (function () {
|
|
|
38128
38150
|
return EnterKeyAction;
|
|
38129
38151
|
}());
|
|
38130
38152
|
|
|
38131
|
-
var __extends$8 = (undefined && undefined.__extends) || (function () {
|
|
38132
|
-
var extendStatics = function (d, b) {
|
|
38133
|
-
extendStatics = Object.setPrototypeOf ||
|
|
38134
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
38135
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
38136
|
-
return extendStatics(d, b);
|
|
38137
|
-
};
|
|
38138
|
-
return function (d, b) {
|
|
38139
|
-
extendStatics(d, b);
|
|
38140
|
-
function __() { this.constructor = d; }
|
|
38141
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
38142
|
-
};
|
|
38143
|
-
})();
|
|
38144
|
-
var __assign = (undefined && undefined.__assign) || function () {
|
|
38145
|
-
__assign = Object.assign || function(t) {
|
|
38146
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
38147
|
-
s = arguments[i];
|
|
38148
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
38149
|
-
t[p] = s[p];
|
|
38150
|
-
}
|
|
38151
|
-
return t;
|
|
38152
|
-
};
|
|
38153
|
-
return __assign.apply(this, arguments);
|
|
38154
|
-
};
|
|
38155
|
-
var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
38156
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
38157
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
38158
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
38159
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
38160
|
-
};
|
|
38153
|
+
var __extends$8 = (undefined && undefined.__extends) || (function () {
|
|
38154
|
+
var extendStatics = function (d, b) {
|
|
38155
|
+
extendStatics = Object.setPrototypeOf ||
|
|
38156
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
38157
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
38158
|
+
return extendStatics(d, b);
|
|
38159
|
+
};
|
|
38160
|
+
return function (d, b) {
|
|
38161
|
+
extendStatics(d, b);
|
|
38162
|
+
function __() { this.constructor = d; }
|
|
38163
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
38164
|
+
};
|
|
38165
|
+
})();
|
|
38166
|
+
var __assign = (undefined && undefined.__assign) || function () {
|
|
38167
|
+
__assign = Object.assign || function(t) {
|
|
38168
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
38169
|
+
s = arguments[i];
|
|
38170
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
38171
|
+
t[p] = s[p];
|
|
38172
|
+
}
|
|
38173
|
+
return t;
|
|
38174
|
+
};
|
|
38175
|
+
return __assign.apply(this, arguments);
|
|
38176
|
+
};
|
|
38177
|
+
var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
38178
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
38179
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
38180
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
38181
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
38182
|
+
};
|
|
38161
38183
|
/**
|
|
38162
38184
|
* Represents the Rich Text Editor component.
|
|
38163
38185
|
* ```html
|
|
@@ -38168,7 +38190,7 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
38168
38190
|
* </script>
|
|
38169
38191
|
* ```
|
|
38170
38192
|
*/
|
|
38171
|
-
var RichTextEditor = /** @
|
|
38193
|
+
var RichTextEditor = /** @class */ (function (_super) {
|
|
38172
38194
|
__extends$8(RichTextEditor, _super);
|
|
38173
38195
|
function RichTextEditor(options, element) {
|
|
38174
38196
|
var _this = _super.call(this, options, element) || this;
|