New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

roosterjs-editor-types

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

roosterjs-editor-types - npm Package Compare versions

Comparing version 8.49.0 to 8.50.0

@@ -1,21 +0,11 @@

var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
define(["require", "exports", "./browser/index", "./corePluginState/index", "./compatibleEnum/index", "./event/index", "./interface/index", "./type/index"], function (require, exports, index_1, index_2, index_3, index_4, index_5, index_6) {
define(["require", "exports", "tslib", "./browser/index", "./corePluginState/index", "./compatibleEnum/index", "./event/index", "./interface/index", "./type/index"], function (require, exports, tslib_1, index_1, index_2, index_3, index_4, index_5, index_6) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(index_1, exports);
__exportStar(index_2, exports);
__exportStar(index_3, exports);
__exportStar(index_4, exports);
__exportStar(index_5, exports);
__exportStar(index_6, exports);
(0, tslib_1.__exportStar)(index_1, exports);
(0, tslib_1.__exportStar)(index_2, exports);
(0, tslib_1.__exportStar)(index_3, exports);
(0, tslib_1.__exportStar)(index_4, exports);
(0, tslib_1.__exportStar)(index_5, exports);
(0, tslib_1.__exportStar)(index_6, exports);
});
//# sourceMappingURL=compatibleTypes.js.map
define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Alignment = void 0;
/**
* enum for setting block alignment, used by setAlignment API
*/
var Alignment;
(function (Alignment) {
/**
* Align left
*/
Alignment[Alignment["Left"] = 0] = "Left";
/**
* Align center
*/
Alignment[Alignment["Center"] = 1] = "Center";
/**
* Align right
*/
Alignment[Alignment["Right"] = 2] = "Right";
})(Alignment = exports.Alignment || (exports.Alignment = {}));
});
//# sourceMappingURL=Alignment.js.map
define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.BulletListType = void 0;
/**
* Enum used to control the different types of bullet list
*/
var BulletListType;
(function (BulletListType) {
/**
* Minimum value of the enum
*/
BulletListType[BulletListType["Min"] = 1] = "Min";
/**
* Bullet triggered by *
*/
BulletListType[BulletListType["Disc"] = 1] = "Disc";
/**
* Bullet triggered by -
*/
BulletListType[BulletListType["Dash"] = 2] = "Dash";
/**
* Bullet triggered by --
*/
BulletListType[BulletListType["Square"] = 3] = "Square";
/**
* Bullet triggered by >
*/
BulletListType[BulletListType["ShortArrow"] = 4] = "ShortArrow";
/**
* Bullet triggered by ->
*/
BulletListType[BulletListType["LongArrow"] = 5] = "LongArrow";
/**
* Bullet triggered by =>
*/
BulletListType[BulletListType["UnfilledArrow"] = 6] = "UnfilledArrow";
/**
* Bullet triggered by —
*/
BulletListType[BulletListType["Hyphen"] = 7] = "Hyphen";
/**
* Bullet triggered by -->
*/
BulletListType[BulletListType["DoubleLongArrow"] = 8] = "DoubleLongArrow";
/**
* Bullet type circle
*/
BulletListType[BulletListType["Circle"] = 9] = "Circle";
/**
* Maximum value of the enum
*/
BulletListType[BulletListType["Max"] = 9] = "Max";
})(BulletListType = exports.BulletListType || (exports.BulletListType = {}));
});
//# sourceMappingURL=BulletListType.js.map
define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Capitalization = void 0;
/**
* The enum used for controlling the capitalization of text.
* Used by changeCapitalization API
*/
var Capitalization;
(function (Capitalization) {
/**
* Transforms the first character after punctuation mark followed by space
* to uppercase and the rest of characters to lowercase.
*/
Capitalization["Sentence"] = "sentence";
/**
* Transforms all characters to lowercase
*/
Capitalization["Lowercase"] = "lowercase";
/**
* Transforms all characters to uppercase
*/
Capitalization["Uppercase"] = "uppercase";
/**
* Transforms the first character of each word to uppercase
*/
Capitalization["CapitalizeEachWord"] = "capitalize";
})(Capitalization = exports.Capitalization || (exports.Capitalization = {}));
});
//# sourceMappingURL=Capitalization.js.map
define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ChangeSource = void 0;
/**
* Possible change sources. Here are the predefined sources.
* It can also be other string if the change source can't fall into these sources.
*/
var ChangeSource;
(function (ChangeSource) {
/**
* Content changed by auto link
*/
ChangeSource["AutoLink"] = "AutoLink";
/**
* Content changed by create link
*/
ChangeSource["CreateLink"] = "CreateLink";
/**
* Content changed by format
*/
ChangeSource["Format"] = "Format";
/**
* Content changed by image resize
*/
ChangeSource["ImageResize"] = "ImageResize";
/**
* Content changed by paste
*/
ChangeSource["Paste"] = "Paste";
/**
* Content changed by setContent API
*/
ChangeSource["SetContent"] = "SetContent";
/**
* Content changed by cut operation
*/
ChangeSource["Cut"] = "Cut";
/**
* Content changed by drag & drop operation
*/
ChangeSource["Drop"] = "Drop";
/**
* Insert a new entity into editor
*/
ChangeSource["InsertEntity"] = "InsertEntity";
/**
* Editor is switched to dark mode, content color is changed
*/
ChangeSource["SwitchToDarkMode"] = "SwitchToDarkMode";
/**
* Editor is switched to light mode, content color is changed
*/
ChangeSource["SwitchToLightMode"] = "SwitchToLightMode";
/**
* List chain reorganized numbers of lists
*/
ChangeSource["ListChain"] = "ListChain";
/**
* Keyboard event, used by Content Model.
* Data of this event will be the key code number
*/
ChangeSource["Keyboard"] = "Keyboard";
})(ChangeSource = exports.ChangeSource || (exports.ChangeSource = {}));
});
//# sourceMappingURL=ChangeSource.js.map
define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ClearFormatMode = void 0;
/**
* Represents the strategy to clear the format of the current editor selection
*/
var ClearFormatMode;
(function (ClearFormatMode) {
/**
* Inline format. Remove text format.
*/
ClearFormatMode[ClearFormatMode["Inline"] = 0] = "Inline";
/**
* BLock format. Remove text and structure format of the block.
*/
ClearFormatMode[ClearFormatMode["Block"] = 1] = "Block";
/**
* Detect Inline or Block format based on the current editor selector.
*/
ClearFormatMode[ClearFormatMode["AutoDetect"] = 2] = "AutoDetect";
})(ClearFormatMode = exports.ClearFormatMode || (exports.ClearFormatMode = {}));
});
//# sourceMappingURL=ClearFormatMode.js.map
define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ColorTransformDirection = void 0;
/**
* Represents the mode of color transformation
*/
var ColorTransformDirection;
(function (ColorTransformDirection) {
/**
* Transform from light to dark
*/
ColorTransformDirection[ColorTransformDirection["LightToDark"] = 0] = "LightToDark";
/**
* Transform from dark to light
*/
ColorTransformDirection[ColorTransformDirection["DarkToLight"] = 1] = "DarkToLight";
})(ColorTransformDirection = exports.ColorTransformDirection || (exports.ColorTransformDirection = {}));
});
//# sourceMappingURL=ColorTransformDirection.js.map
define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ContentPosition = void 0;
/**
* The position. Mostly used for content insertion and traversing
* On insertion, we will need to specify where we want the content to be placed (begin, end, selection or outside)
* On content traversing, we will need to specify the start position of traversing
*/
var ContentPosition;
(function (ContentPosition) {
/**
* Begin of the container
*/
ContentPosition[ContentPosition["Begin"] = 0] = "Begin";
/**
* End of the container
*/
ContentPosition[ContentPosition["End"] = 1] = "End";
/**
* End of the content div domain.
*/
ContentPosition[ContentPosition["DomEnd"] = 2] = "DomEnd";
/**
* Selection start
*/
ContentPosition[ContentPosition["SelectionStart"] = 3] = "SelectionStart";
/**
* Outside of editor
*/
ContentPosition[ContentPosition["Outside"] = 4] = "Outside";
/**
* Manually defined range
*/
ContentPosition[ContentPosition["Range"] = 5] = "Range";
})(ContentPosition = exports.ContentPosition || (exports.ContentPosition = {}));
});
//# sourceMappingURL=ContentPosition.js.map
define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ContentType = exports.ContentTypePrefix = void 0;
/**
* Prefix of content types
*/
var ContentTypePrefix;
(function (ContentTypePrefix) {
/**
* Text type prefix
*/
ContentTypePrefix["Text"] = "text/";
/**
* Image type prefix
*/
ContentTypePrefix["Image"] = "image/";
})(ContentTypePrefix = exports.ContentTypePrefix || (exports.ContentTypePrefix = {}));
/**
* Known content types
*/
var ContentType;
(function (ContentType) {
/**
* Plain text content type
*/
ContentType["PlainText"] = "text/plain";
/**
* HTML content type
*/
ContentType["HTML"] = "text/html";
})(ContentType = exports.ContentType || (exports.ContentType = {}));
});
//# sourceMappingURL=ContentType.js.map
define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DarkModeDatasetNames = void 0;
/**
* @deprecated
* Constants string for dataset names used by dark mode
*/
var DarkModeDatasetNames;
(function (DarkModeDatasetNames) {
/**
* Original style text color
*/
DarkModeDatasetNames["OriginalStyleColor"] = "ogsc";
/**
* Original style background color
*/
DarkModeDatasetNames["OriginalStyleBackgroundColor"] = "ogsb";
/**
* Original attribute text color
*/
DarkModeDatasetNames["OriginalAttributeColor"] = "ogac";
/**
* Original attribute background color
*/
DarkModeDatasetNames["OriginalAttributeBackgroundColor"] = "ogab";
})(DarkModeDatasetNames = exports.DarkModeDatasetNames || (exports.DarkModeDatasetNames = {}));
});
//# sourceMappingURL=DarkModeDatasetNames.js.map
define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DefinitionType = void 0;
/**
* Types of definitions, used by Definition type
*/
var DefinitionType;
(function (DefinitionType) {
/**
* Boolean type definition, represents a boolean type value
*/
DefinitionType[DefinitionType["Boolean"] = 0] = "Boolean";
/**
* Number type definition, represents a number type value
*/
DefinitionType[DefinitionType["Number"] = 1] = "Number";
/**
* String type definition, represents a string type value
*/
DefinitionType[DefinitionType["String"] = 2] = "String";
/**
* Array type definition, represents an array with a given item type
*/
DefinitionType[DefinitionType["Array"] = 3] = "Array";
/**
* Object type definition, represents an object with the given property types
*/
DefinitionType[DefinitionType["Object"] = 4] = "Object";
/**
* Customize type definition, represents a customized type with a validator function
*/
DefinitionType[DefinitionType["Customize"] = 5] = "Customize";
})(DefinitionType = exports.DefinitionType || (exports.DefinitionType = {}));
});
//# sourceMappingURL=DefinitionType.js.map
define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DelimiterClasses = void 0;
/**
* Class names for Delimiter
*/
var DelimiterClasses;
(function (DelimiterClasses) {
/**
* Class name to specify this delimiter is before an entity
*/
DelimiterClasses["DELIMITER_BEFORE"] = "entityDelimiterBefore";
/**
* Class name to specify this delimiter is after an entity
*/
DelimiterClasses["DELIMITER_AFTER"] = "entityDelimiterAfter";
})(DelimiterClasses = exports.DelimiterClasses || (exports.DelimiterClasses = {}));
});
//# sourceMappingURL=DelimiterClasses.js.map
define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Direction = void 0;
/**
* enum for setting block direction, used by setDirection API
*/
var Direction;
(function (Direction) {
/**
* Left to right
*/
Direction[Direction["LeftToRight"] = 0] = "LeftToRight";
/**
* Right to left
*/
Direction[Direction["RightToLeft"] = 1] = "RightToLeft";
})(Direction = exports.Direction || (exports.Direction = {}));
});
//# sourceMappingURL=Direction.js.map
define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DocumentCommand = void 0;
/**
* Command strings for Document.execCommand() API
* https://developer.mozilla.org/en-US/docs/Web/API/Document/execCommand
*/
var DocumentCommand;
(function (DocumentCommand) {
/**
* Changes the browser auto-link behavior (Internet Explorer only)
*/
DocumentCommand["AutoUrlDetect"] = "AutoUrlDetect";
/**
* Changes the document background color. In styleWithCss mode, it affects the background color of the containing block instead.
* This requires a <color> value string to be passed in as a value argument. Note that Internet Explorer uses this to set the
* text background color.
*/
DocumentCommand["BackColor"] = "backColor";
/**
* Toggles bold on/off for the selection or at the insertion point. Internet Explorer uses the <strong> tag instead of <b>.
*/
DocumentCommand["Bold"] = "bold";
/**
* Clears all authentication credentials from the cache.
*/
DocumentCommand["ClearAuthenticationCache"] = "ClearAuthenticationCache";
/**
* Makes the content document either read-only or editable. This requires a boolean true/false as the value argument.
* (Not supported by Internet Explorer.)
*/
DocumentCommand["ContentReadOnly"] = "contentReadOnly";
/**
* Copies the current selection to the clipboard. Conditions of having this behavior enabled vary from one browser to another,
* and have evolved over time. Check the compatibility table to determine if you can use it in your case.
*/
DocumentCommand["Copy"] = "copy";
/**
* Creates an hyperlink from the selection, but only if there is a selection. Requires a URI string as a value argument for the
* hyperlink's href. The URI must contain at least a single character, which may be whitespace.
* (Internet Explorer will create a link with a null value.)
*/
DocumentCommand["CreateLink"] = "createLink";
/**
* Removes the current selection and copies it to the clipboard. When this behavior is enabled varies between browsers,
* and its conditions have evolved over time. Check the compatibility table for usage details.
*/
DocumentCommand["Cut"] = "cut";
/**
* Adds a <small> tag around the selection or at the insertion point. (Not supported by Internet Explorer.)
*/
DocumentCommand["DecreaseFontSize"] = "decreaseFontSize";
/**
* Changes the paragraph separator used when new paragraphs are created in editable text regions. See Differences in markup
* generation for more details.
*/
DocumentCommand["DefaultParagraphSeparator"] = "defaultParagraphSeparator";
/**
* Deletes the current selection.
*/
DocumentCommand["Delete"] = "delete";
/**
* Enables or disables the table row/column insertion and deletion controls. (Not supported by Internet Explorer.)
*/
DocumentCommand["EnableInlineTableEditing"] = "enableInlineTableEditing";
/**
* Enables or disables the resize handles on images and other resizable objects. (Not supported by Internet Explorer.)
*/
DocumentCommand["EnableObjectResizing"] = "enableObjectResizing";
/**
* Changes the font name for the selection or at the insertion point. This requires a font name string (like "Arial")
* as a value argument.
*/
DocumentCommand["FontName"] = "fontName";
/**
* Changes the font size for the selection or at the insertion point. This requires an integer from 1-7 as a value argument.
*/
DocumentCommand["FontSize"] = "fontSize";
/**
* Changes a font color for the selection or at the insertion point. This requires a hexadecimal color value string
* as a value argument.
*/
DocumentCommand["ForeColor"] = "foreColor";
/**
* Adds an HTML block-level element around the line containing the current selection, replacing the block element containing
* the line if one exists (in Firefox, <blockquote> is the exception — it will wrap any containing block element).
* Requires a tag-name string as a value argument. Virtually all block-level elements can be used.
* (Internet Explorer supports only heading tags H1–H6, ADDRESS, and PRE, which must be wrapped in angle brackets, such as "<H1>".)
*/
DocumentCommand["FormatBlock"] = "formatBlock";
/**
* Deletes the character ahead of the cursor's position, identical to hitting the Delete key on a Windows keyboard.
*/
DocumentCommand["ForwardDelete"] = "forwardDelete";
/**
* Adds a heading element around a selection or insertion point line. Requires the tag-name strings a value argument (i.e. "H1", "H6").
* (Not supported by Internet Explorer and Safari.)
*/
DocumentCommand["Heading"] = "heading";
/**
* Changes the background color for the selection or at the insertion point. Requires a color value string as a value argument.
* useCSS must be true for this to function. (Not supported by Internet Explorer.)
*/
DocumentCommand["HiliteColor"] = "hiliteColor";
/**
* Adds a <big> tag around the selection or at the insertion point. (Not supported by Internet Explorer.)
*/
DocumentCommand["IncreaseFontSize"] = "increaseFontSize";
/**
* Indents the line containing the selection or insertion point. In Firefox, if the selection spans multiple lines at different
* levels of indentation, only the least indented lines in the selection will be indented.
*/
DocumentCommand["Indent"] = "indent";
/**
* Controls whether the Enter key inserts a <br> element, or splits the current block element into two.
* (Not supported by Internet Explorer.)
*/
DocumentCommand["InsertBrOnReturn"] = "insertBrOnReturn";
/**
* Inserts a <hr> element at the insertion point, or replaces the selection with it.
*/
DocumentCommand["InsertHorizontalRule"] = "insertHorizontalRule";
/**
* Inserts an HTML string at the insertion point (deletes selection). Requires a valid HTML string as a value argument.
* (Not supported by Internet Explorer.)
*/
DocumentCommand["InsertHTML"] = "insertHTML";
/**
* Inserts an image at the insertion point (deletes selection). Requires a URL string for the image's src as a value argument.
* The requirements for this string are the same as createLink.
*/
DocumentCommand["InsertImage"] = "insertImage";
/**
* Creates a numbered ordered list for the selection or at the insertion point.
*/
DocumentCommand["InsertOrderedList"] = "insertOrderedList";
/**
* Creates a bulleted unordered list for the selection or at the insertion point.
*/
DocumentCommand["InsertUnorderedList"] = "insertUnorderedList";
/**
* Inserts a paragraph around the selection or the current line.
* (Internet Explorer inserts a paragraph at the insertion point and deletes the selection.)
*/
DocumentCommand["InsertParagraph"] = "insertParagraph";
/**
* Inserts the given plain text at the insertion point (deletes selection).
*/
DocumentCommand["InsertText"] = "insertText";
/**
* Toggles italics on/off for the selection or at the insertion point.
* (Internet Explorer uses the <em> element instead of <i>.)
*/
DocumentCommand["Italic"] = "italic";
/**
* Centers the selection or insertion point.
*/
DocumentCommand["JustifyCenter"] = "justifyCenter";
/**
* Justifies the selection or insertion point.
*/
DocumentCommand["JustifyFull"] = "justifyFull";
/**
* Justifies the selection or insertion point to the left.
*/
DocumentCommand["JustifyLeft"] = "justifyLeft";
/**
* Right-justifies the selection or the insertion point.
*/
DocumentCommand["JustifyRight"] = "justifyRight";
/**
* Outdents the line containing the selection or insertion point.
*/
DocumentCommand["Outdent"] = "outdent";
/**
* Pastes the clipboard contents at the insertion point (replaces current selection). Disabled for web content. See [1].
*/
DocumentCommand["Paste"] = "paste";
/**
* Redoes the previous undo command.
*/
DocumentCommand["Redo"] = "redo";
/**
* Removes all formatting from the current selection.
*/
DocumentCommand["RemoveFormat"] = "removeFormat";
/**
* Selects all of the content of the editable region.
*/
DocumentCommand["SelectAll"] = "selectAll";
/**
* Toggles strikethrough on/off for the selection or at the insertion point.
*/
DocumentCommand["StrikeThrough"] = "strikeThrough";
/**
* Toggles subscript on/off for the selection or at the insertion point.
*/
DocumentCommand["Subscript"] = "subscript";
/**
* Toggles superscript on/off for the selection or at the insertion point.
*/
DocumentCommand["Superscript"] = "superscript";
/**
* Toggles underline on/off for the selection or at the insertion point.
*/
DocumentCommand["Underline"] = "underline";
/**
* Undoes the last executed command.
*/
DocumentCommand["Undo"] = "undo";
/**
* Removes the anchor element from a selected hyperlink.
*/
DocumentCommand["Unlink"] = "unlink";
/**
* Replaces the useCSS command. true modifies/generates style attributes in markup, false generates presentational elements.
*/
DocumentCommand["StyleWithCSS"] = "styleWithCSS";
})(DocumentCommand = exports.DocumentCommand || (exports.DocumentCommand = {}));
});
//# sourceMappingURL=DocumentCommand.js.map
define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DocumentPosition = void 0;
/**
* The is essentially an enum representing result from browser compareDocumentPosition API
* https://developer.mozilla.org/en-US/docs/Web/API/Node/compareDocumentPosition
*/
var DocumentPosition;
(function (DocumentPosition) {
/**
* Same node
*/
DocumentPosition[DocumentPosition["Same"] = 0] = "Same";
/**
* Node is disconnected from document
*/
DocumentPosition[DocumentPosition["Disconnected"] = 1] = "Disconnected";
/**
* Node is preceding the comparing node
*/
DocumentPosition[DocumentPosition["Preceding"] = 2] = "Preceding";
/**
* Node is following the comparing node
*/
DocumentPosition[DocumentPosition["Following"] = 4] = "Following";
/**
* Node contains the comparing node
*/
DocumentPosition[DocumentPosition["Contains"] = 8] = "Contains";
/**
* Node is contained by the comparing node
*/
DocumentPosition[DocumentPosition["ContainedBy"] = 16] = "ContainedBy";
})(DocumentPosition = exports.DocumentPosition || (exports.DocumentPosition = {}));
});
//# sourceMappingURL=DocumentPosition.js.map
define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EntityClasses = void 0;
/**
* CSS Class names for Entity
*/
var EntityClasses;
(function (EntityClasses) {
/**
* Class name to specify this is an entity
*/
EntityClasses["ENTITY_INFO_NAME"] = "_Entity";
/**
* Class name to specify the type of an entity
*/
EntityClasses["ENTITY_TYPE_PREFIX"] = "_EType_";
/**
* Class name to specify the ID of an entity
*/
EntityClasses["ENTITY_ID_PREFIX"] = "_EId_";
/**
* Class name to specify if the entity is readonly
*/
EntityClasses["ENTITY_READONLY_PREFIX"] = "_EReadonly_";
})(EntityClasses = exports.EntityClasses || (exports.EntityClasses = {}));
});
//# sourceMappingURL=EntityClasses.js.map
define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EntityOperation = void 0;
/**
* Define possible operations to an entity
*/
var EntityOperation;
(function (EntityOperation) {
/**
* Notify plugins that there is a new plugin was added into editor.
* Plugin can handle this event to entity hydration.
* This event will be only fired once for each entity DOM node.
* After undo, or copy/paste, since new DOM nodes were added, this event will be fired
* for those entities represented by newly added nodes.
*/
EntityOperation[EntityOperation["NewEntity"] = 0] = "NewEntity";
/**
* Notify plugins that user is clicking target to an entity
*/
EntityOperation[EntityOperation["Click"] = 1] = "Click";
/**
* Notify plugins that user is triggering context menu to an entity
*/
EntityOperation[EntityOperation["ContextMenu"] = 2] = "ContextMenu";
/**
* Notify plugins that user is escaping from an entity by pressing ESC key
*/
EntityOperation[EntityOperation["Escape"] = 3] = "Escape";
/**
* Notify plugins that user is removing an entity from its start position using DELETE key
*/
EntityOperation[EntityOperation["RemoveFromStart"] = 4] = "RemoveFromStart";
/**
* Notify plugins that user is remove an entity from its end position using BACKSPACE key
*/
EntityOperation[EntityOperation["RemoveFromEnd"] = 5] = "RemoveFromEnd";
/**
* Notify plugins that an entity is being overwritten.
* This can be caused by key in, cut, paste, delete, backspace ... on a selection
* which contains some entities.
*/
EntityOperation[EntityOperation["Overwrite"] = 6] = "Overwrite";
/**
* Notify plugins that an entity is being partially overwritten.
* This happens when user selected part of the entity then do key press, or cut, paste, delete, backspace, ...
*/
EntityOperation[EntityOperation["PartialOverwrite"] = 7] = "PartialOverwrite";
/**
* Notify plugins that editor is generating HTML content for save.
* Plugin should use this event to remove any temporary content, and only leave DOM nodes that
* should be saved as HTML string.
* This event will provide a cloned DOM tree for each entity, do NOT compare the DOM nodes with cached nodes
* because it will always return false.
*/
EntityOperation[EntityOperation["ReplaceTemporaryContent"] = 8] = "ReplaceTemporaryContent";
/**
* @deprecated
*/
EntityOperation[EntityOperation["AddShadowRoot"] = 9] = "AddShadowRoot";
/**
* @deprecated
*/
EntityOperation[EntityOperation["RemoveShadowRoot"] = 10] = "RemoveShadowRoot";
/**
* Notify plugins that a new entity state need to be updated to an entity.
* This is normally happened when user undo/redo the content with an entity snapshot added by a plugin that handles entity
*/
EntityOperation[EntityOperation["UpdateEntityState"] = 11] = "UpdateEntityState";
})(EntityOperation = exports.EntityOperation || (exports.EntityOperation = {}));
});
//# sourceMappingURL=EntityOperation.js.map
define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ExperimentalFeatures = void 0;
/**
* Experimental feature flags
*/
var ExperimentalFeatures;
(function (ExperimentalFeatures) {
// #region Graduated and deprecated features.
// These features will be removed in next major release
/**
* @deprecated This feature is always enabled
*/
ExperimentalFeatures["NewIndentation"] = "NewIndentation";
/**
* @deprecated This feature is always enabled
*/
ExperimentalFeatures["NewBullet"] = "NewBullet";
/**
* @deprecated This feature is always enabled
*/
ExperimentalFeatures["NewNumbering"] = "NewNumbering";
/**
* @deprecated This feature is always enabled
*/
ExperimentalFeatures["ListChain"] = "ListChain";
/**
* @deprecated This feature is always enabled
*/
ExperimentalFeatures["MergePastedLine"] = "MergePastedLine";
/**
* @deprecated This feature is always enabled
*/
ExperimentalFeatures["SingleDirectionResize"] = "SingleDirectionResize";
/**
* @deprecated This feature is always enabled
*/
ExperimentalFeatures["PasteWithLinkPreview"] = "PasteWithLinkPreview";
/**
* @deprecated This feature is always enabled
*/
ExperimentalFeatures["ImageRotate"] = "ImageRotate";
/**
* @deprecated This feature is always enabled
*/
ExperimentalFeatures["ImageCrop"] = "ImageCrop";
/**
* @deprecated This feature is always enabled
* Check if the element has a style attribute, if not, apply the default format
*/
ExperimentalFeatures["AlwaysApplyDefaultFormat"] = "AlwaysApplyDefaultFormat";
/**
* @deprecated This feature can be enabled/disabled using Paste Plugin contructor param
* Paste the Html instead of the Img when the Html Body only have one IMG Child node
*/
ExperimentalFeatures["ConvertSingleImageBody"] = "ConvertSingleImageBody";
/**
* @deprecated This feature is always enabled
* Align table elements to left, center and right using setAlignment API
*/
ExperimentalFeatures["TableAlignment"] = "TableAlignment";
/**
* @deprecated this feature is always enabled
* Provide a circular resize handles that adaptive the number od handles to the size of the image
*/
ExperimentalFeatures["AdaptiveHandlesResizer"] = "AdaptiveHandlesResizer";
/**
* @deprecated this feature is always disabled
* Automatically transform -- into hyphen, if typed between two words.
*/
ExperimentalFeatures["AutoHyphen"] = "AutoHyphen";
/**
* @deprecated this feature is always disabled
* Use pending format strategy to do style based format, e.g. Font size, Color.
* With this feature enabled, we don't need to insert temp ZeroWidthSpace character to hold pending format
* when selection is collapsed. Instead, we will hold the pending format in memory and only apply it when type something
*/
ExperimentalFeatures["PendingStyleBasedFormat"] = "PendingStyleBasedFormat";
/**
* @deprecated this feature is always disabled
* Normalize list to make sure it can be displayed correctly in other client
* e.g. We will move list items with "display: block" into previous list item and change tag to be DIV
*/
ExperimentalFeatures["NormalizeList"] = "NormalizeList";
/**
* @deprecated this feature is always enabled
* When a html image is selected, the selected image data will be stored by editor core.
*/
ExperimentalFeatures["ImageSelection"] = "ImageSelection";
/**
* @deprecated this feature is always enabled
* Use variable-based dark mode solution rather than dataset-based solution.
* When enable this feature, need to pass in a DarkModelHandler object to each call of setColor and applyFormat
* if you need them work for dark mode
*/
ExperimentalFeatures["VariableBasedDarkColor"] = "VariableBasedDarkColor";
/**
* @deprecated this feature is always enabled
* Align list elements elements to left, center and right using setAlignment API
*/
ExperimentalFeatures["ListItemAlignment"] = "ListItemAlignment";
/**
* @deprecated
*/
ExperimentalFeatures["DefaultFormatInSpan"] = "DefaultFormatInSpan";
/**
* @deprecated
*/
ExperimentalFeatures["DefaultFormatOnContainer"] = "DefaultFormatOnContainer";
//#endregion
/**
* Provide additional Tab Key Features. Requires Text Features Content Editable Features
*/
ExperimentalFeatures["TabKeyTextFeatures"] = "TabKeyTextFeatures";
/**
* Trigger formatting by a especial characters. Ex: (A), 1. i).
*/
ExperimentalFeatures["AutoFormatList"] = "AutoFormatList";
/**
* With this feature enabled, when writing back a list item we will re-use all
* ancestor list elements, even if they don't match the types currently in the
* listTypes array for that item. The only list that we will ensure is correct
* is the one closest to the item.
*/
ExperimentalFeatures["ReuseAllAncestorListElements"] = "ReuseAllAncestorListElements";
/**
* Reuse existing DOM structure if possible when convert Content Model back to DOM tree
*/
ExperimentalFeatures["ReusableContentModel"] = "ReusableContentModel";
/**
* Handle keyboard editing event with Content Model
*/
ExperimentalFeatures["EditWithContentModel"] = "EditWithContentModel";
/**
* Delete table with Backspace key with the whole was selected with table selector
*/
ExperimentalFeatures["DeleteTableWithBackspace"] = "DeleteTableWithBackspace";
/**
* Add entities around a Read Only Inline entity to prevent cursor to be hidden when cursor is next of it.
*/
ExperimentalFeatures["InlineEntityReadOnlyDelimiters"] = "InlineEntityReadOnlyDelimiters";
/**
* Paste with Content model
*/
ExperimentalFeatures["ContentModelPaste"] = "ContentModelPaste";
})(ExperimentalFeatures = exports.ExperimentalFeatures || (exports.ExperimentalFeatures = {}));
});
//# sourceMappingURL=ExperimentalFeatures.js.map
define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.FontSizeChange = void 0;
/**
* The enum used for increase or decrease font size
* Used by setFontSize API
*/
var FontSizeChange;
(function (FontSizeChange) {
/**
* Increase font size
*/
FontSizeChange[FontSizeChange["Increase"] = 0] = "Increase";
/**
* Decrease font size
*/
FontSizeChange[FontSizeChange["Decrease"] = 1] = "Decrease";
})(FontSizeChange = exports.FontSizeChange || (exports.FontSizeChange = {}));
});
//# sourceMappingURL=FontSizeChange.js.map
define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.GetContentMode = void 0;
/**
* Represents a mode number to indicate what kind of content to retrieve when call Editor.getContent()
*/
var GetContentMode;
(function (GetContentMode) {
/**
* The clean content without any temporary content only for editor.
* This is the default value. Call to Editor.getContent() with trigger an ExtractContentWithDom event
* so that plugins can remove their temporary content, and will return the HTML content
* which is ready for save to storage.
*/
GetContentMode[GetContentMode["CleanHTML"] = 0] = "CleanHTML";
/**
* Retrieve the raw HTML string in current editor. Temporary content will be included.
*/
GetContentMode[GetContentMode["RawHTMLOnly"] = 1] = "RawHTMLOnly";
/**
* Retrieve the raw HTML string in current editor with a selection marker. This can be used for
* save current editor state and call to SetContent with this result can fully restore editor state
* including current selection
*/
GetContentMode[GetContentMode["RawHTMLWithSelection"] = 2] = "RawHTMLWithSelection";
/**
* Get plain text content only, all format will be ignored
*/
GetContentMode[GetContentMode["PlainText"] = 3] = "PlainText";
/**
* A fast way to get plain text content, the line-end positions may not be exactly same with HTML content,
* but the text content should be the same. This is used for quickly retrieve text content and check
* text only
*/
GetContentMode[GetContentMode["PlainTextFast"] = 4] = "PlainTextFast";
})(GetContentMode = exports.GetContentMode || (exports.GetContentMode = {}));
});
//# sourceMappingURL=GetContentMode.js.map
define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ImageEditOperation = void 0;
/**
* Operation flags for ImageEdit plugin
*/
var ImageEditOperation;
(function (ImageEditOperation) {
/**
* No operation
*/
ImageEditOperation[ImageEditOperation["None"] = 0] = "None";
/**
* Resize image from corner ( horizontal and vertical resize)
*/
ImageEditOperation[ImageEditOperation["CornerResize"] = 1] = "CornerResize";
/**
* Resize image from side ( either horizontal or vertical resize)
*/
ImageEditOperation[ImageEditOperation["SideResize"] = 2] = "SideResize";
/**
* Image resize
*/
ImageEditOperation[ImageEditOperation["Resize"] = 3] = "Resize";
/**
* Image rotate
*/
ImageEditOperation[ImageEditOperation["Rotate"] = 4] = "Rotate";
/**
* Image resize and rotate
*/
ImageEditOperation[ImageEditOperation["ResizeAndRotate"] = 7] = "ResizeAndRotate";
/**
* Image crop
*/
ImageEditOperation[ImageEditOperation["Crop"] = 8] = "Crop";
/**
* All operations
*/
ImageEditOperation[ImageEditOperation["All"] = 15] = "All";
})(ImageEditOperation = exports.ImageEditOperation || (exports.ImageEditOperation = {}));
});
//# sourceMappingURL=ImageEditOperation.js.map
define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Indentation = void 0;
/**
* The enum used for increase or decrease indentation of a block
* Used by setIndentation API
*/
var Indentation;
(function (Indentation) {
/**
* Increase indentation
*/
Indentation[Indentation["Increase"] = 0] = "Increase";
/**
* Decrease indentation
*/
Indentation[Indentation["Decrease"] = 1] = "Decrease";
})(Indentation = exports.Indentation || (exports.Indentation = {}));
});
//# sourceMappingURL=Indentation.js.map

@@ -1,5 +0,42 @@

define(["require", "exports"], function (require, exports) {
define(["require", "exports", "./DocumentCommand", "./DocumentPosition", "./Keys", "./NodeType", "./ContentType", "./Alignment", "./ChangeSource", "./ColorTransformDirection", "./ContentPosition", "./DarkModeDatasetNames", "./DelimiterClasses", "./Direction", "./EntityClasses", "./EntityOperation", "./ExperimentalFeatures", "./FontSizeChange", "./GetContentMode", "./Indentation", "./Capitalization", "./ListType", "./PositionType", "./QueryScope", "./RegionType", "./TableOperation", "./ImageEditOperation", "./ClearFormatMode", "./KnownCreateElementDataIndex", "./KnownPasteSourceType", "./TableBorderFormat", "./PluginEventType", "./SelectionRangeTypes", "./NumberingListType", "./BulletListType", "./DefinitionType", "./PasteType"], function (require, exports, DocumentCommand_1, DocumentPosition_1, Keys_1, NodeType_1, ContentType_1, Alignment_1, ChangeSource_1, ColorTransformDirection_1, ContentPosition_1, DarkModeDatasetNames_1, DelimiterClasses_1, Direction_1, EntityClasses_1, EntityOperation_1, ExperimentalFeatures_1, FontSizeChange_1, GetContentMode_1, Indentation_1, Capitalization_1, ListType_1, PositionType_1, QueryScope_1, RegionType_1, TableOperation_1, ImageEditOperation_1, ClearFormatMode_1, KnownCreateElementDataIndex_1, KnownPasteSourceType_1, TableBorderFormat_1, PluginEventType_1, SelectionRangeTypes_1, NumberingListType_1, BulletListType_1, DefinitionType_1, PasteType_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PasteType = exports.DefinitionType = exports.BulletListType = exports.NumberingListType = exports.SelectionRangeTypes = exports.PluginEventType = exports.TableBorderFormat = exports.KnownPasteSourceType = exports.KnownCreateElementDataIndex = exports.ClearFormatMode = exports.ImageEditOperation = exports.TableOperation = exports.RegionType = exports.QueryScope = exports.PositionType = exports.ListType = exports.Capitalization = exports.Indentation = exports.GetContentMode = exports.FontSizeChange = exports.ExperimentalFeatures = exports.EntityOperation = exports.EntityClasses = exports.Direction = exports.DelimiterClasses = exports.DarkModeDatasetNames = exports.ContentPosition = exports.ColorTransformDirection = exports.ChangeSource = exports.Alignment = exports.ContentType = exports.ContentTypePrefix = exports.NodeType = exports.Keys = exports.DocumentPosition = exports.DocumentCommand = void 0;
Object.defineProperty(exports, "DocumentCommand", { enumerable: true, get: function () { return DocumentCommand_1.DocumentCommand; } });
Object.defineProperty(exports, "DocumentPosition", { enumerable: true, get: function () { return DocumentPosition_1.DocumentPosition; } });
Object.defineProperty(exports, "Keys", { enumerable: true, get: function () { return Keys_1.Keys; } });
Object.defineProperty(exports, "NodeType", { enumerable: true, get: function () { return NodeType_1.NodeType; } });
Object.defineProperty(exports, "ContentTypePrefix", { enumerable: true, get: function () { return ContentType_1.ContentTypePrefix; } });
Object.defineProperty(exports, "ContentType", { enumerable: true, get: function () { return ContentType_1.ContentType; } });
Object.defineProperty(exports, "Alignment", { enumerable: true, get: function () { return Alignment_1.Alignment; } });
Object.defineProperty(exports, "ChangeSource", { enumerable: true, get: function () { return ChangeSource_1.ChangeSource; } });
Object.defineProperty(exports, "ColorTransformDirection", { enumerable: true, get: function () { return ColorTransformDirection_1.ColorTransformDirection; } });
Object.defineProperty(exports, "ContentPosition", { enumerable: true, get: function () { return ContentPosition_1.ContentPosition; } });
Object.defineProperty(exports, "DarkModeDatasetNames", { enumerable: true, get: function () { return DarkModeDatasetNames_1.DarkModeDatasetNames; } });
Object.defineProperty(exports, "DelimiterClasses", { enumerable: true, get: function () { return DelimiterClasses_1.DelimiterClasses; } });
Object.defineProperty(exports, "Direction", { enumerable: true, get: function () { return Direction_1.Direction; } });
Object.defineProperty(exports, "EntityClasses", { enumerable: true, get: function () { return EntityClasses_1.EntityClasses; } });
Object.defineProperty(exports, "EntityOperation", { enumerable: true, get: function () { return EntityOperation_1.EntityOperation; } });
Object.defineProperty(exports, "ExperimentalFeatures", { enumerable: true, get: function () { return ExperimentalFeatures_1.ExperimentalFeatures; } });
Object.defineProperty(exports, "FontSizeChange", { enumerable: true, get: function () { return FontSizeChange_1.FontSizeChange; } });
Object.defineProperty(exports, "GetContentMode", { enumerable: true, get: function () { return GetContentMode_1.GetContentMode; } });
Object.defineProperty(exports, "Indentation", { enumerable: true, get: function () { return Indentation_1.Indentation; } });
Object.defineProperty(exports, "Capitalization", { enumerable: true, get: function () { return Capitalization_1.Capitalization; } });
Object.defineProperty(exports, "ListType", { enumerable: true, get: function () { return ListType_1.ListType; } });
Object.defineProperty(exports, "PositionType", { enumerable: true, get: function () { return PositionType_1.PositionType; } });
Object.defineProperty(exports, "QueryScope", { enumerable: true, get: function () { return QueryScope_1.QueryScope; } });
Object.defineProperty(exports, "RegionType", { enumerable: true, get: function () { return RegionType_1.RegionType; } });
Object.defineProperty(exports, "TableOperation", { enumerable: true, get: function () { return TableOperation_1.TableOperation; } });
Object.defineProperty(exports, "ImageEditOperation", { enumerable: true, get: function () { return ImageEditOperation_1.ImageEditOperation; } });
Object.defineProperty(exports, "ClearFormatMode", { enumerable: true, get: function () { return ClearFormatMode_1.ClearFormatMode; } });
Object.defineProperty(exports, "KnownCreateElementDataIndex", { enumerable: true, get: function () { return KnownCreateElementDataIndex_1.KnownCreateElementDataIndex; } });
Object.defineProperty(exports, "KnownPasteSourceType", { enumerable: true, get: function () { return KnownPasteSourceType_1.KnownPasteSourceType; } });
Object.defineProperty(exports, "TableBorderFormat", { enumerable: true, get: function () { return TableBorderFormat_1.TableBorderFormat; } });
Object.defineProperty(exports, "PluginEventType", { enumerable: true, get: function () { return PluginEventType_1.PluginEventType; } });
Object.defineProperty(exports, "SelectionRangeTypes", { enumerable: true, get: function () { return SelectionRangeTypes_1.SelectionRangeTypes; } });
Object.defineProperty(exports, "NumberingListType", { enumerable: true, get: function () { return NumberingListType_1.NumberingListType; } });
Object.defineProperty(exports, "BulletListType", { enumerable: true, get: function () { return BulletListType_1.BulletListType; } });
Object.defineProperty(exports, "DefinitionType", { enumerable: true, get: function () { return DefinitionType_1.DefinitionType; } });
Object.defineProperty(exports, "PasteType", { enumerable: true, get: function () { return PasteType_1.PasteType; } });
});
//# sourceMappingURL=index.js.map
define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Keys = void 0;
/**
* Key numbers common used keys
*/
var Keys;
(function (Keys) {
Keys[Keys["NULL"] = 0] = "NULL";
Keys[Keys["BACKSPACE"] = 8] = "BACKSPACE";
Keys[Keys["TAB"] = 9] = "TAB";
Keys[Keys["ENTER"] = 13] = "ENTER";
Keys[Keys["SHIFT"] = 16] = "SHIFT";
Keys[Keys["CTRL_LEFT"] = 17] = "CTRL_LEFT";
Keys[Keys["ALT"] = 18] = "ALT";
Keys[Keys["ESCAPE"] = 27] = "ESCAPE";
Keys[Keys["SPACE"] = 32] = "SPACE";
Keys[Keys["PAGEUP"] = 33] = "PAGEUP";
Keys[Keys["END"] = 35] = "END";
Keys[Keys["HOME"] = 36] = "HOME";
Keys[Keys["LEFT"] = 37] = "LEFT";
Keys[Keys["UP"] = 38] = "UP";
Keys[Keys["RIGHT"] = 39] = "RIGHT";
Keys[Keys["DOWN"] = 40] = "DOWN";
Keys[Keys["PRINT_SCREEN"] = 44] = "PRINT_SCREEN";
Keys[Keys["DELETE"] = 46] = "DELETE";
/**
* @deprecated Just for backward compatibility
*/
Keys[Keys["EIGHT_ASTIRISK"] = 56] = "EIGHT_ASTIRISK";
Keys[Keys["EIGHT_ASTERISK"] = 56] = "EIGHT_ASTERISK";
Keys[Keys["B"] = 66] = "B";
Keys[Keys["I"] = 73] = "I";
Keys[Keys["U"] = 85] = "U";
Keys[Keys["Y"] = 89] = "Y";
Keys[Keys["Z"] = 90] = "Z";
Keys[Keys["META_LEFT"] = 91] = "META_LEFT";
Keys[Keys["COMMA"] = 188] = "COMMA";
Keys[Keys["DASH_UNDERSCORE"] = 189] = "DASH_UNDERSCORE";
Keys[Keys["PERIOD"] = 190] = "PERIOD";
/**
* @deprecated Just for backward compatibility
*/
Keys[Keys["FORWARDSLASH"] = 191] = "FORWARDSLASH";
Keys[Keys["FORWARD_SLASH"] = 191] = "FORWARD_SLASH";
Keys[Keys["GRAVE_TILDE"] = 192] = "GRAVE_TILDE";
/**
* Keys below are non-standard, and should be used in ContentEditFeatures only
*/
Keys[Keys["CONTENTCHANGED"] = 257] = "CONTENTCHANGED";
Keys[Keys["RANGE"] = 258] = "RANGE";
Keys[Keys["Ctrl"] = 4096] = "Ctrl";
Keys[Keys["Meta"] = 8192] = "Meta";
Keys[Keys["Shift"] = 16384] = "Shift";
})(Keys = exports.Keys || (exports.Keys = {}));
});
//# sourceMappingURL=Keys.js.map
define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.KnownCreateElementDataIndex = void 0;
/**
* Index of known CreateElementData used by createElement function
*/
var KnownCreateElementDataIndex;
(function (KnownCreateElementDataIndex) {
/**
* Set a none value to help createElement function ignore falsy value
*/
KnownCreateElementDataIndex[KnownCreateElementDataIndex["None"] = 0] = "None";
/**
* An empty line without format
*/
KnownCreateElementDataIndex[KnownCreateElementDataIndex["EmptyLine"] = 1] = "EmptyLine";
/**
* Wrapper for blockquote
*/
KnownCreateElementDataIndex[KnownCreateElementDataIndex["BlockquoteWrapper"] = 2] = "BlockquoteWrapper";
/**
* Temp DIV for copy/paste
*/
KnownCreateElementDataIndex[KnownCreateElementDataIndex["CopyPasteTempDiv"] = 3] = "CopyPasteTempDiv";
/**
* ListItem with block style
*/
KnownCreateElementDataIndex[KnownCreateElementDataIndex["BlockListItem"] = 4] = "BlockListItem";
/**
* Wrapper element for context menu
*/
KnownCreateElementDataIndex[KnownCreateElementDataIndex["ContextMenuWrapper"] = 5] = "ContextMenuWrapper";
/**
* Wrapper element for image edit
*/
KnownCreateElementDataIndex[KnownCreateElementDataIndex["ImageEditWrapper"] = 6] = "ImageEditWrapper";
/**
* @deprecated
*/
KnownCreateElementDataIndex[KnownCreateElementDataIndex["TableHorizontalResizer"] = 7] = "TableHorizontalResizer";
/**
* @deprecated
*/
KnownCreateElementDataIndex[KnownCreateElementDataIndex["TableVerticalResizer"] = 8] = "TableVerticalResizer";
/**
* @deprecated
*/
KnownCreateElementDataIndex[KnownCreateElementDataIndex["TableResizerLTR"] = 9] = "TableResizerLTR";
/**
* @deprecated
*/
KnownCreateElementDataIndex[KnownCreateElementDataIndex["TableResizerRTL"] = 10] = "TableResizerRTL";
/**
* @deprecated
*/
KnownCreateElementDataIndex[KnownCreateElementDataIndex["TableSelector"] = 11] = "TableSelector";
/**
* @deprecated
*/
KnownCreateElementDataIndex[KnownCreateElementDataIndex["EmptyLineFormatInSpan"] = 12] = "EmptyLineFormatInSpan";
})(KnownCreateElementDataIndex = exports.KnownCreateElementDataIndex || (exports.KnownCreateElementDataIndex = {}));
});
//# sourceMappingURL=KnownCreateElementDataIndex.js.map
define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.KnownPasteSourceType = void 0;
/**
* Represent the types of sources to handle in the Paste Plugin
*/
var KnownPasteSourceType;
(function (KnownPasteSourceType) {
KnownPasteSourceType[KnownPasteSourceType["WordDesktop"] = 0] = "WordDesktop";
KnownPasteSourceType[KnownPasteSourceType["ExcelDesktop"] = 1] = "ExcelDesktop";
KnownPasteSourceType[KnownPasteSourceType["ExcelOnline"] = 2] = "ExcelOnline";
KnownPasteSourceType[KnownPasteSourceType["PowerPointDesktop"] = 3] = "PowerPointDesktop";
KnownPasteSourceType[KnownPasteSourceType["GoogleSheets"] = 4] = "GoogleSheets";
KnownPasteSourceType[KnownPasteSourceType["WacComponents"] = 5] = "WacComponents";
KnownPasteSourceType[KnownPasteSourceType["Default"] = 6] = "Default";
KnownPasteSourceType[KnownPasteSourceType["SingleImage"] = 7] = "SingleImage";
})(KnownPasteSourceType = exports.KnownPasteSourceType || (exports.KnownPasteSourceType = {}));
});
//# sourceMappingURL=KnownPasteSourceType.js.map
define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ListType = void 0;
/**
* Type of list (numbering or bullet)
*/
var ListType;
(function (ListType) {
/**
* None list type
* It means this is not a list
*/
ListType[ListType["None"] = 0] = "None";
/**
* Ordered List type (numbering list)
* Represented by "OL" tag
*/
ListType[ListType["Ordered"] = 1] = "Ordered";
/**
* Unordered List type (bullet list)
* Represented by "UL" tag
*/
ListType[ListType["Unordered"] = 2] = "Unordered";
})(ListType = exports.ListType || (exports.ListType = {}));
});
//# sourceMappingURL=ListType.js.map
define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.NodeType = void 0;
/**
* The is essentially an enum represents the type of the node
* https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType
* Values not listed here are deprecated.
*/
var NodeType;
(function (NodeType) {
/**
* An Element node such as <p> or <div>.
*/
NodeType[NodeType["Element"] = 1] = "Element";
/**
* An Attribute node such as name="value".
*/
NodeType[NodeType["Attribute"] = 2] = "Attribute";
/**
* The actual Text of Element or Attr.
*/
NodeType[NodeType["Text"] = 3] = "Text";
/**
* A ProcessingInstruction of an XML document such as <?xml-stylesheet ... ?> declaration.
*/
NodeType[NodeType["ProcessingInstruction"] = 7] = "ProcessingInstruction";
/**
* A Comment node.
*/
NodeType[NodeType["Comment"] = 8] = "Comment";
/**
* A Document node.
*/
NodeType[NodeType["Document"] = 9] = "Document";
/**
* A DocumentType node e.g. <!DOCTYPE html> for HTML5 documents.
*/
NodeType[NodeType["DocumentType"] = 10] = "DocumentType";
/**
* A DocumentFragment node.
*/
NodeType[NodeType["DocumentFragment"] = 11] = "DocumentFragment";
})(NodeType = exports.NodeType || (exports.NodeType = {}));
});
//# sourceMappingURL=NodeType.js.map
define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.NumberingListType = void 0;
/**
* Enum used to control the different types of numbering list
*/
var NumberingListType;
(function (NumberingListType) {
/**
* Minimum value of the enum
*/
NumberingListType[NumberingListType["Min"] = 1] = "Min";
/**
* Numbering triggered by 1.
*/
NumberingListType[NumberingListType["Decimal"] = 1] = "Decimal";
/**
* Numbering triggered by 1-
*/
NumberingListType[NumberingListType["DecimalDash"] = 2] = "DecimalDash";
/**
* Numbering triggered by 1)
*/
NumberingListType[NumberingListType["DecimalParenthesis"] = 3] = "DecimalParenthesis";
/**
* Numbering triggered by (1)
*/
NumberingListType[NumberingListType["DecimalDoubleParenthesis"] = 4] = "DecimalDoubleParenthesis";
/**
* Numbering triggered by a.
*/
NumberingListType[NumberingListType["LowerAlpha"] = 5] = "LowerAlpha";
/**
* Numbering triggered by a)
*/
NumberingListType[NumberingListType["LowerAlphaParenthesis"] = 6] = "LowerAlphaParenthesis";
/**
* Numbering triggered by (a)
*/
NumberingListType[NumberingListType["LowerAlphaDoubleParenthesis"] = 7] = "LowerAlphaDoubleParenthesis";
/**
* Numbering triggered by a-
*/
NumberingListType[NumberingListType["LowerAlphaDash"] = 8] = "LowerAlphaDash";
/**
* Numbering triggered by A.
*/
NumberingListType[NumberingListType["UpperAlpha"] = 9] = "UpperAlpha";
/**
* Numbering triggered by A)
*/
NumberingListType[NumberingListType["UpperAlphaParenthesis"] = 10] = "UpperAlphaParenthesis";
/**
* Numbering triggered by (A)
*/
NumberingListType[NumberingListType["UpperAlphaDoubleParenthesis"] = 11] = "UpperAlphaDoubleParenthesis";
/**
* Numbering triggered by A-
*/
NumberingListType[NumberingListType["UpperAlphaDash"] = 12] = "UpperAlphaDash";
/**
* Numbering triggered by i.
*/
NumberingListType[NumberingListType["LowerRoman"] = 13] = "LowerRoman";
/**
* Numbering triggered by i)
*/
NumberingListType[NumberingListType["LowerRomanParenthesis"] = 14] = "LowerRomanParenthesis";
/**
* Numbering triggered by (i)
*/
NumberingListType[NumberingListType["LowerRomanDoubleParenthesis"] = 15] = "LowerRomanDoubleParenthesis";
/**
* Numbering triggered by i-
*/
NumberingListType[NumberingListType["LowerRomanDash"] = 16] = "LowerRomanDash";
/**
* Numbering triggered by I.
*/
NumberingListType[NumberingListType["UpperRoman"] = 17] = "UpperRoman";
/**
* Numbering triggered by I)
*/
NumberingListType[NumberingListType["UpperRomanParenthesis"] = 18] = "UpperRomanParenthesis";
/**
* Numbering triggered by (I)
*/
NumberingListType[NumberingListType["UpperRomanDoubleParenthesis"] = 19] = "UpperRomanDoubleParenthesis";
/**
* Numbering triggered by I-
*/
NumberingListType[NumberingListType["UpperRomanDash"] = 20] = "UpperRomanDash";
/**
* Maximum value of the enum
*/
NumberingListType[NumberingListType["Max"] = 20] = "Max";
})(NumberingListType = exports.NumberingListType || (exports.NumberingListType = {}));
});
//# sourceMappingURL=NumberingListType.js.map
define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PasteType = void 0;
/**
* Enum for paste options
*/
var PasteType;
(function (PasteType) {
/**
* Default paste behavior
*/
PasteType[PasteType["Normal"] = 0] = "Normal";
/**
* Paste only the plain text
*/
PasteType[PasteType["AsPlainText"] = 1] = "AsPlainText";
/**
* Apply the current style to pasted content
*/
PasteType[PasteType["MergeFormat"] = 2] = "MergeFormat";
/**
* If there is a image uri in the clipboard, paste the content as image element
*/
PasteType[PasteType["AsImage"] = 3] = "AsImage";
})(PasteType = exports.PasteType || (exports.PasteType = {}));
});
//# sourceMappingURL=PasteType.js.map
define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PluginEventType = void 0;
/**
* Editor plugin event type
*/
var PluginEventType;
(function (PluginEventType) {
/**
* HTML KeyDown event
*/
PluginEventType[PluginEventType["KeyDown"] = 0] = "KeyDown";
/**
* HTML KeyPress event
*/
PluginEventType[PluginEventType["KeyPress"] = 1] = "KeyPress";
/**
* HTML KeyUp event
*/
PluginEventType[PluginEventType["KeyUp"] = 2] = "KeyUp";
/**
* HTML Input / TextInput event
*/
PluginEventType[PluginEventType["Input"] = 3] = "Input";
/**
* HTML CompositionEnd event
*/
PluginEventType[PluginEventType["CompositionEnd"] = 4] = "CompositionEnd";
/**
* HTML MouseDown event
*/
PluginEventType[PluginEventType["MouseDown"] = 5] = "MouseDown";
/**
* HTML MouseUp event
*/
PluginEventType[PluginEventType["MouseUp"] = 6] = "MouseUp";
/**
* Content changed event
*/
PluginEventType[PluginEventType["ContentChanged"] = 7] = "ContentChanged";
/**
* Extract Content with a DOM tree event
* This event is triggered when getContent() is called with triggerExtractContentEvent = true
* Plugin can handle this event to remove the UI only markups to return clean HTML
* by operating on a cloned DOM tree
*/
PluginEventType[PluginEventType["ExtractContentWithDom"] = 8] = "ExtractContentWithDom";
/**
* Before Paste event, provide a chance to change copied content
*/
PluginEventType[PluginEventType["BeforeCutCopy"] = 9] = "BeforeCutCopy";
/**
* Before Paste event, provide a chance to change paste content
*/
PluginEventType[PluginEventType["BeforePaste"] = 10] = "BeforePaste";
/**
* Let plugin know editor is ready now
*/
PluginEventType[PluginEventType["EditorReady"] = 11] = "EditorReady";
/**
* Let plugin know editor is about to dispose
*/
PluginEventType[PluginEventType["BeforeDispose"] = 12] = "BeforeDispose";
/**
* Pending format state (bold, italic, underline, ... with collapsed selection) is changed
*/
PluginEventType[PluginEventType["PendingFormatStateChanged"] = 13] = "PendingFormatStateChanged";
/**
* Scroll event triggered by scroll container
*/
PluginEventType[PluginEventType["Scroll"] = 14] = "Scroll";
/**
* Operating on an entity. See enum EntityOperation for more details about each operation
*/
PluginEventType[PluginEventType["EntityOperation"] = 15] = "EntityOperation";
/**
* HTML ContextMenu event
*/
PluginEventType[PluginEventType["ContextMenu"] = 16] = "ContextMenu";
/**
* Editor has entered shadow edit mode
*/
PluginEventType[PluginEventType["EnteredShadowEdit"] = 17] = "EnteredShadowEdit";
/**
* Editor is about to leave shadow edit mode
*/
PluginEventType[PluginEventType["LeavingShadowEdit"] = 18] = "LeavingShadowEdit";
/**
* Content of image is being changed from client side
*/
PluginEventType[PluginEventType["EditImage"] = 19] = "EditImage";
/**
* Content of editor is about to be cleared by SetContent API, handle this event to cache anything you need
* before it is gone
*/
PluginEventType[PluginEventType["BeforeSetContent"] = 20] = "BeforeSetContent";
/**
* Zoom scale value is changed, triggered by Editor.setZoomScale() when set a different scale number
*/
PluginEventType[PluginEventType["ZoomChanged"] = 21] = "ZoomChanged";
/**
* EXPERIMENTAL FEATURE
* Editor changed the selection.
*/
PluginEventType[PluginEventType["SelectionChanged"] = 22] = "SelectionChanged";
/**
* EXPERIMENTAL FEATURE
* Editor content is about to be changed by keyboard event.
* This is only used by Content Model editing
*/
PluginEventType[PluginEventType["BeforeKeyboardEditing"] = 23] = "BeforeKeyboardEditing";
})(PluginEventType = exports.PluginEventType || (exports.PluginEventType = {}));
});
//# sourceMappingURL=PluginEventType.js.map
define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PositionType = void 0;
/**
* Represent the type of a position
*/
var PositionType;
(function (PositionType) {
/**
* At the beginning of a node
*/
PositionType[PositionType["Begin"] = 0] = "Begin";
/**
* At the end of a node
*/
PositionType[PositionType["End"] = -1] = "End";
/**
* Before a node
*/
PositionType[PositionType["Before"] = -2] = "Before";
/**
* After a node
*/
PositionType[PositionType["After"] = -3] = "After";
})(PositionType = exports.PositionType || (exports.PositionType = {}));
});
//# sourceMappingURL=PositionType.js.map
define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.QueryScope = void 0;
/**
* Query scope for queryElements() API
*/
var QueryScope;
(function (QueryScope) {
/**
* Query from the whole body of root node. This is default value.
*/
QueryScope[QueryScope["Body"] = 0] = "Body";
/**
* Query elements on a given selection (intersect)
* The result element can contain the selection, contain part of selection, or inside selection
*/
QueryScope[QueryScope["OnSelection"] = 1] = "OnSelection";
/**
* Query elements inside a given selection only
*/
QueryScope[QueryScope["InSelection"] = 2] = "InSelection";
})(QueryScope = exports.QueryScope || (exports.QueryScope = {}));
});
//# sourceMappingURL=QueryScope.js.map
define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RegionType = void 0;
/**
* Type of all possible regions. Currently we only support region of Table
*/
var RegionType;
(function (RegionType) {
/**
* Region split by Table
*/
RegionType[RegionType["Table"] = 0] = "Table";
})(RegionType = exports.RegionType || (exports.RegionType = {}));
});
//# sourceMappingURL=RegionType.js.map
define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SelectionRangeTypes = void 0;
/**
* Types of Selection Ranges that the SelectionRangeEx can return
*/
var SelectionRangeTypes;
(function (SelectionRangeTypes) {
/**
* Normal selection range provided by browser.
*/
SelectionRangeTypes[SelectionRangeTypes["Normal"] = 0] = "Normal";
/**
* Selection made inside of a single table.
*/
SelectionRangeTypes[SelectionRangeTypes["TableSelection"] = 1] = "TableSelection";
/**
* Selection made in a image.
*/
SelectionRangeTypes[SelectionRangeTypes["ImageSelection"] = 2] = "ImageSelection";
})(SelectionRangeTypes = exports.SelectionRangeTypes || (exports.SelectionRangeTypes = {}));
});
//# sourceMappingURL=SelectionRangeTypes.js.map
define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TableBorderFormat = void 0;
/**
* Table format border
*/
var TableBorderFormat;
(function (TableBorderFormat) {
/**
* All border of the table are displayed
* __ __ __
* |__|__|__|
* |__|__|__|
* |__|__|__|
*/
TableBorderFormat[TableBorderFormat["DEFAULT"] = 0] = "DEFAULT";
/**
* Middle vertical border are not displayed
* __ __ __
* |__ __ __|
* |__ __ __|
* |__ __ __|
*/
TableBorderFormat[TableBorderFormat["LIST_WITH_SIDE_BORDERS"] = 1] = "LIST_WITH_SIDE_BORDERS";
/**
* All borders except header rows borders are displayed
* __ __ __
* __|__|__
* __|__|__
*/
TableBorderFormat[TableBorderFormat["NO_HEADER_BORDERS"] = 2] = "NO_HEADER_BORDERS";
/**
* The left and right border of the table are not displayed
* __ __ __
* __|__|__
* __|__|__
* __|__|__
*/
TableBorderFormat[TableBorderFormat["NO_SIDE_BORDERS"] = 3] = "NO_SIDE_BORDERS";
/**
* Only the borders that divides the header row, first column and externals are displayed
* __ __ __
* |__ __ __|
* | | |
* |__|__ __|
*/
TableBorderFormat[TableBorderFormat["FIRST_COLUMN_HEADER_EXTERNAL"] = 4] = "FIRST_COLUMN_HEADER_EXTERNAL";
/**
* The header row has no vertical border, except for the first one
* The first column has no horizontal border, except for the first one
* __ __ __
* |__ __ __
* | |__|__|
* | |__|__|
*/
TableBorderFormat[TableBorderFormat["ESPECIAL_TYPE_1"] = 5] = "ESPECIAL_TYPE_1";
/**
* The header row has no vertical border, except for the first one
* The only horizontal border of the table is the top and bottom of header row
* __ __ __
* |__ __ __
* | | |
* | | |
*/
TableBorderFormat[TableBorderFormat["ESPECIAL_TYPE_2"] = 6] = "ESPECIAL_TYPE_2";
/**
* The only borders are the bottom of header row and the right border of first column
* __ __ __
* |
* |
*/
TableBorderFormat[TableBorderFormat["ESPECIAL_TYPE_3"] = 7] = "ESPECIAL_TYPE_3";
/**
* No border
*/
TableBorderFormat[TableBorderFormat["CLEAR"] = 8] = "CLEAR";
})(TableBorderFormat = exports.TableBorderFormat || (exports.TableBorderFormat = {}));
});
//# sourceMappingURL=TableBorderFormat.js.map
define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TableOperation = void 0;
/**
* Operations used by editTable() API
*/
var TableOperation;
(function (TableOperation) {
/**
* Insert a row above current row
*/
TableOperation[TableOperation["InsertAbove"] = 0] = "InsertAbove";
/**
* Insert a row below current row
*/
TableOperation[TableOperation["InsertBelow"] = 1] = "InsertBelow";
/**
* Insert a column on the left of current column
*/
TableOperation[TableOperation["InsertLeft"] = 2] = "InsertLeft";
/**
* Insert a column on the right of current column
*/
TableOperation[TableOperation["InsertRight"] = 3] = "InsertRight";
/**
* Delete the whole table
*/
TableOperation[TableOperation["DeleteTable"] = 4] = "DeleteTable";
/**
* Delete current column
*/
TableOperation[TableOperation["DeleteColumn"] = 5] = "DeleteColumn";
/**
* Delete current row
*/
TableOperation[TableOperation["DeleteRow"] = 6] = "DeleteRow";
/**
* Merge current row with the row above
*/
TableOperation[TableOperation["MergeAbove"] = 7] = "MergeAbove";
/**
* Merge current row with the row below
*/
TableOperation[TableOperation["MergeBelow"] = 8] = "MergeBelow";
/**
* Merge current column with the column on the left
*/
TableOperation[TableOperation["MergeLeft"] = 9] = "MergeLeft";
/**
* Merge current column with the column on the right
*/
TableOperation[TableOperation["MergeRight"] = 10] = "MergeRight";
/**
* Merge all selected cells
*/
TableOperation[TableOperation["MergeCells"] = 11] = "MergeCells";
/**
* Split current table cell horizontally
*/
TableOperation[TableOperation["SplitHorizontally"] = 12] = "SplitHorizontally";
/**
* Split current table cell vertically
*/
TableOperation[TableOperation["SplitVertically"] = 13] = "SplitVertically";
/**
* Align current table at the center
*/
TableOperation[TableOperation["AlignCenter"] = 14] = "AlignCenter";
/**
* Align current table at the left
*/
TableOperation[TableOperation["AlignLeft"] = 15] = "AlignLeft";
/**
* Align current table at the right
*/
TableOperation[TableOperation["AlignRight"] = 16] = "AlignRight";
/**
* Align current content table cell at the left
*/
TableOperation[TableOperation["AlignCellLeft"] = 17] = "AlignCellLeft";
/**
* Align current content table cell at the center
*/
TableOperation[TableOperation["AlignCellCenter"] = 18] = "AlignCellCenter";
/**
* Align current content table cell at the right
*/
TableOperation[TableOperation["AlignCellRight"] = 19] = "AlignCellRight";
/**
* Align current content table cell at the top
*/
TableOperation[TableOperation["AlignCellTop"] = 20] = "AlignCellTop";
/**
* Align current table cell at the middle
*/
TableOperation[TableOperation["AlignCellMiddle"] = 21] = "AlignCellMiddle";
/**
* Align current table cell at the bottom
*/
TableOperation[TableOperation["AlignCellBottom"] = 22] = "AlignCellBottom";
})(TableOperation = exports.TableOperation || (exports.TableOperation = {}));
});
//# sourceMappingURL=TableOperation.js.map

@@ -1,21 +0,11 @@

var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
define(["require", "exports", "./browser/index", "./corePluginState/index", "./enum/index", "./event/index", "./interface/index", "./type/index"], function (require, exports, index_1, index_2, index_3, index_4, index_5, index_6) {
define(["require", "exports", "tslib", "./browser/index", "./corePluginState/index", "./enum/index", "./event/index", "./interface/index", "./type/index"], function (require, exports, tslib_1, index_1, index_2, index_3, index_4, index_5, index_6) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(index_1, exports);
__exportStar(index_2, exports);
__exportStar(index_3, exports);
__exportStar(index_4, exports);
__exportStar(index_5, exports);
__exportStar(index_6, exports);
(0, tslib_1.__exportStar)(index_1, exports);
(0, tslib_1.__exportStar)(index_2, exports);
(0, tslib_1.__exportStar)(index_3, exports);
(0, tslib_1.__exportStar)(index_4, exports);
(0, tslib_1.__exportStar)(index_5, exports);
(0, tslib_1.__exportStar)(index_6, exports);
});
//# sourceMappingURL=index.js.map

@@ -173,2 +173,3 @@ import BlockElement from './BlockElement';

* false to keep original format. Default value is false. When pasteAsText is true, this parameter is ignored
* @param pasteAsImage: When set to true, if the clipboardData contains a imageDataUri will paste the image to the editor
*/

@@ -175,0 +176,0 @@ paste(clipboardData: ClipboardData, pasteAsText?: boolean, applyCurrentFormat?: boolean, pasteAsImage?: boolean): void;

@@ -1,2 +0,19 @@

export {};
/**
* enum for setting block alignment, used by setAlignment API
*/
export var Alignment;
(function (Alignment) {
/**
* Align left
*/
Alignment[Alignment["Left"] = 0] = "Left";
/**
* Align center
*/
Alignment[Alignment["Center"] = 1] = "Center";
/**
* Align right
*/
Alignment[Alignment["Right"] = 2] = "Right";
})(Alignment || (Alignment = {}));
//# sourceMappingURL=Alignment.js.map

@@ -1,2 +0,51 @@

export {};
/**
* Enum used to control the different types of bullet list
*/
export var BulletListType;
(function (BulletListType) {
/**
* Minimum value of the enum
*/
BulletListType[BulletListType["Min"] = 1] = "Min";
/**
* Bullet triggered by *
*/
BulletListType[BulletListType["Disc"] = 1] = "Disc";
/**
* Bullet triggered by -
*/
BulletListType[BulletListType["Dash"] = 2] = "Dash";
/**
* Bullet triggered by --
*/
BulletListType[BulletListType["Square"] = 3] = "Square";
/**
* Bullet triggered by >
*/
BulletListType[BulletListType["ShortArrow"] = 4] = "ShortArrow";
/**
* Bullet triggered by ->
*/
BulletListType[BulletListType["LongArrow"] = 5] = "LongArrow";
/**
* Bullet triggered by =>
*/
BulletListType[BulletListType["UnfilledArrow"] = 6] = "UnfilledArrow";
/**
* Bullet triggered by —
*/
BulletListType[BulletListType["Hyphen"] = 7] = "Hyphen";
/**
* Bullet triggered by -->
*/
BulletListType[BulletListType["DoubleLongArrow"] = 8] = "DoubleLongArrow";
/**
* Bullet type circle
*/
BulletListType[BulletListType["Circle"] = 9] = "Circle";
/**
* Maximum value of the enum
*/
BulletListType[BulletListType["Max"] = 9] = "Max";
})(BulletListType || (BulletListType = {}));
//# sourceMappingURL=BulletListType.js.map

@@ -1,2 +0,25 @@

export {};
/**
* The enum used for controlling the capitalization of text.
* Used by changeCapitalization API
*/
export var Capitalization;
(function (Capitalization) {
/**
* Transforms the first character after punctuation mark followed by space
* to uppercase and the rest of characters to lowercase.
*/
Capitalization["Sentence"] = "sentence";
/**
* Transforms all characters to lowercase
*/
Capitalization["Lowercase"] = "lowercase";
/**
* Transforms all characters to uppercase
*/
Capitalization["Uppercase"] = "uppercase";
/**
* Transforms the first character of each word to uppercase
*/
Capitalization["CapitalizeEachWord"] = "capitalize";
})(Capitalization || (Capitalization = {}));
//# sourceMappingURL=Capitalization.js.map

@@ -1,2 +0,61 @@

export {};
/**
* Possible change sources. Here are the predefined sources.
* It can also be other string if the change source can't fall into these sources.
*/
export var ChangeSource;
(function (ChangeSource) {
/**
* Content changed by auto link
*/
ChangeSource["AutoLink"] = "AutoLink";
/**
* Content changed by create link
*/
ChangeSource["CreateLink"] = "CreateLink";
/**
* Content changed by format
*/
ChangeSource["Format"] = "Format";
/**
* Content changed by image resize
*/
ChangeSource["ImageResize"] = "ImageResize";
/**
* Content changed by paste
*/
ChangeSource["Paste"] = "Paste";
/**
* Content changed by setContent API
*/
ChangeSource["SetContent"] = "SetContent";
/**
* Content changed by cut operation
*/
ChangeSource["Cut"] = "Cut";
/**
* Content changed by drag & drop operation
*/
ChangeSource["Drop"] = "Drop";
/**
* Insert a new entity into editor
*/
ChangeSource["InsertEntity"] = "InsertEntity";
/**
* Editor is switched to dark mode, content color is changed
*/
ChangeSource["SwitchToDarkMode"] = "SwitchToDarkMode";
/**
* Editor is switched to light mode, content color is changed
*/
ChangeSource["SwitchToLightMode"] = "SwitchToLightMode";
/**
* List chain reorganized numbers of lists
*/
ChangeSource["ListChain"] = "ListChain";
/**
* Keyboard event, used by Content Model.
* Data of this event will be the key code number
*/
ChangeSource["Keyboard"] = "Keyboard";
})(ChangeSource || (ChangeSource = {}));
//# sourceMappingURL=ChangeSource.js.map

@@ -1,2 +0,19 @@

export {};
/**
* Represents the strategy to clear the format of the current editor selection
*/
export var ClearFormatMode;
(function (ClearFormatMode) {
/**
* Inline format. Remove text format.
*/
ClearFormatMode[ClearFormatMode["Inline"] = 0] = "Inline";
/**
* BLock format. Remove text and structure format of the block.
*/
ClearFormatMode[ClearFormatMode["Block"] = 1] = "Block";
/**
* Detect Inline or Block format based on the current editor selector.
*/
ClearFormatMode[ClearFormatMode["AutoDetect"] = 2] = "AutoDetect";
})(ClearFormatMode || (ClearFormatMode = {}));
//# sourceMappingURL=ClearFormatMode.js.map

@@ -1,2 +0,15 @@

export {};
/**
* Represents the mode of color transformation
*/
export var ColorTransformDirection;
(function (ColorTransformDirection) {
/**
* Transform from light to dark
*/
ColorTransformDirection[ColorTransformDirection["LightToDark"] = 0] = "LightToDark";
/**
* Transform from dark to light
*/
ColorTransformDirection[ColorTransformDirection["DarkToLight"] = 1] = "DarkToLight";
})(ColorTransformDirection || (ColorTransformDirection = {}));
//# sourceMappingURL=ColorTransformDirection.js.map

@@ -1,2 +0,33 @@

export {};
/**
* The position. Mostly used for content insertion and traversing
* On insertion, we will need to specify where we want the content to be placed (begin, end, selection or outside)
* On content traversing, we will need to specify the start position of traversing
*/
export var ContentPosition;
(function (ContentPosition) {
/**
* Begin of the container
*/
ContentPosition[ContentPosition["Begin"] = 0] = "Begin";
/**
* End of the container
*/
ContentPosition[ContentPosition["End"] = 1] = "End";
/**
* End of the content div domain.
*/
ContentPosition[ContentPosition["DomEnd"] = 2] = "DomEnd";
/**
* Selection start
*/
ContentPosition[ContentPosition["SelectionStart"] = 3] = "SelectionStart";
/**
* Outside of editor
*/
ContentPosition[ContentPosition["Outside"] = 4] = "Outside";
/**
* Manually defined range
*/
ContentPosition[ContentPosition["Range"] = 5] = "Range";
})(ContentPosition || (ContentPosition = {}));
//# sourceMappingURL=ContentPosition.js.map

@@ -1,2 +0,29 @@

export {};
/**
* Prefix of content types
*/
export var ContentTypePrefix;
(function (ContentTypePrefix) {
/**
* Text type prefix
*/
ContentTypePrefix["Text"] = "text/";
/**
* Image type prefix
*/
ContentTypePrefix["Image"] = "image/";
})(ContentTypePrefix || (ContentTypePrefix = {}));
/**
* Known content types
*/
export var ContentType;
(function (ContentType) {
/**
* Plain text content type
*/
ContentType["PlainText"] = "text/plain";
/**
* HTML content type
*/
ContentType["HTML"] = "text/html";
})(ContentType || (ContentType = {}));
//# sourceMappingURL=ContentType.js.map

@@ -1,2 +0,24 @@

export {};
/**
* @deprecated
* Constants string for dataset names used by dark mode
*/
export var DarkModeDatasetNames;
(function (DarkModeDatasetNames) {
/**
* Original style text color
*/
DarkModeDatasetNames["OriginalStyleColor"] = "ogsc";
/**
* Original style background color
*/
DarkModeDatasetNames["OriginalStyleBackgroundColor"] = "ogsb";
/**
* Original attribute text color
*/
DarkModeDatasetNames["OriginalAttributeColor"] = "ogac";
/**
* Original attribute background color
*/
DarkModeDatasetNames["OriginalAttributeBackgroundColor"] = "ogab";
})(DarkModeDatasetNames || (DarkModeDatasetNames = {}));
//# sourceMappingURL=DarkModeDatasetNames.js.map

@@ -1,2 +0,31 @@

export {};
/**
* Types of definitions, used by Definition type
*/
export var DefinitionType;
(function (DefinitionType) {
/**
* Boolean type definition, represents a boolean type value
*/
DefinitionType[DefinitionType["Boolean"] = 0] = "Boolean";
/**
* Number type definition, represents a number type value
*/
DefinitionType[DefinitionType["Number"] = 1] = "Number";
/**
* String type definition, represents a string type value
*/
DefinitionType[DefinitionType["String"] = 2] = "String";
/**
* Array type definition, represents an array with a given item type
*/
DefinitionType[DefinitionType["Array"] = 3] = "Array";
/**
* Object type definition, represents an object with the given property types
*/
DefinitionType[DefinitionType["Object"] = 4] = "Object";
/**
* Customize type definition, represents a customized type with a validator function
*/
DefinitionType[DefinitionType["Customize"] = 5] = "Customize";
})(DefinitionType || (DefinitionType = {}));
//# sourceMappingURL=DefinitionType.js.map

@@ -1,2 +0,15 @@

export {};
/**
* Class names for Delimiter
*/
export var DelimiterClasses;
(function (DelimiterClasses) {
/**
* Class name to specify this delimiter is before an entity
*/
DelimiterClasses["DELIMITER_BEFORE"] = "entityDelimiterBefore";
/**
* Class name to specify this delimiter is after an entity
*/
DelimiterClasses["DELIMITER_AFTER"] = "entityDelimiterAfter";
})(DelimiterClasses || (DelimiterClasses = {}));
//# sourceMappingURL=DelimiterClasses.js.map

@@ -1,2 +0,15 @@

export {};
/**
* enum for setting block direction, used by setDirection API
*/
export var Direction;
(function (Direction) {
/**
* Left to right
*/
Direction[Direction["LeftToRight"] = 0] = "LeftToRight";
/**
* Right to left
*/
Direction[Direction["RightToLeft"] = 1] = "RightToLeft";
})(Direction || (Direction = {}));
//# sourceMappingURL=Direction.js.map

@@ -1,2 +0,217 @@

export {};
/**
* Command strings for Document.execCommand() API
* https://developer.mozilla.org/en-US/docs/Web/API/Document/execCommand
*/
export var DocumentCommand;
(function (DocumentCommand) {
/**
* Changes the browser auto-link behavior (Internet Explorer only)
*/
DocumentCommand["AutoUrlDetect"] = "AutoUrlDetect";
/**
* Changes the document background color. In styleWithCss mode, it affects the background color of the containing block instead.
* This requires a <color> value string to be passed in as a value argument. Note that Internet Explorer uses this to set the
* text background color.
*/
DocumentCommand["BackColor"] = "backColor";
/**
* Toggles bold on/off for the selection or at the insertion point. Internet Explorer uses the <strong> tag instead of <b>.
*/
DocumentCommand["Bold"] = "bold";
/**
* Clears all authentication credentials from the cache.
*/
DocumentCommand["ClearAuthenticationCache"] = "ClearAuthenticationCache";
/**
* Makes the content document either read-only or editable. This requires a boolean true/false as the value argument.
* (Not supported by Internet Explorer.)
*/
DocumentCommand["ContentReadOnly"] = "contentReadOnly";
/**
* Copies the current selection to the clipboard. Conditions of having this behavior enabled vary from one browser to another,
* and have evolved over time. Check the compatibility table to determine if you can use it in your case.
*/
DocumentCommand["Copy"] = "copy";
/**
* Creates an hyperlink from the selection, but only if there is a selection. Requires a URI string as a value argument for the
* hyperlink's href. The URI must contain at least a single character, which may be whitespace.
* (Internet Explorer will create a link with a null value.)
*/
DocumentCommand["CreateLink"] = "createLink";
/**
* Removes the current selection and copies it to the clipboard. When this behavior is enabled varies between browsers,
* and its conditions have evolved over time. Check the compatibility table for usage details.
*/
DocumentCommand["Cut"] = "cut";
/**
* Adds a <small> tag around the selection or at the insertion point. (Not supported by Internet Explorer.)
*/
DocumentCommand["DecreaseFontSize"] = "decreaseFontSize";
/**
* Changes the paragraph separator used when new paragraphs are created in editable text regions. See Differences in markup
* generation for more details.
*/
DocumentCommand["DefaultParagraphSeparator"] = "defaultParagraphSeparator";
/**
* Deletes the current selection.
*/
DocumentCommand["Delete"] = "delete";
/**
* Enables or disables the table row/column insertion and deletion controls. (Not supported by Internet Explorer.)
*/
DocumentCommand["EnableInlineTableEditing"] = "enableInlineTableEditing";
/**
* Enables or disables the resize handles on images and other resizable objects. (Not supported by Internet Explorer.)
*/
DocumentCommand["EnableObjectResizing"] = "enableObjectResizing";
/**
* Changes the font name for the selection or at the insertion point. This requires a font name string (like "Arial")
* as a value argument.
*/
DocumentCommand["FontName"] = "fontName";
/**
* Changes the font size for the selection or at the insertion point. This requires an integer from 1-7 as a value argument.
*/
DocumentCommand["FontSize"] = "fontSize";
/**
* Changes a font color for the selection or at the insertion point. This requires a hexadecimal color value string
* as a value argument.
*/
DocumentCommand["ForeColor"] = "foreColor";
/**
* Adds an HTML block-level element around the line containing the current selection, replacing the block element containing
* the line if one exists (in Firefox, <blockquote> is the exception — it will wrap any containing block element).
* Requires a tag-name string as a value argument. Virtually all block-level elements can be used.
* (Internet Explorer supports only heading tags H1–H6, ADDRESS, and PRE, which must be wrapped in angle brackets, such as "<H1>".)
*/
DocumentCommand["FormatBlock"] = "formatBlock";
/**
* Deletes the character ahead of the cursor's position, identical to hitting the Delete key on a Windows keyboard.
*/
DocumentCommand["ForwardDelete"] = "forwardDelete";
/**
* Adds a heading element around a selection or insertion point line. Requires the tag-name strings a value argument (i.e. "H1", "H6").
* (Not supported by Internet Explorer and Safari.)
*/
DocumentCommand["Heading"] = "heading";
/**
* Changes the background color for the selection or at the insertion point. Requires a color value string as a value argument.
* useCSS must be true for this to function. (Not supported by Internet Explorer.)
*/
DocumentCommand["HiliteColor"] = "hiliteColor";
/**
* Adds a <big> tag around the selection or at the insertion point. (Not supported by Internet Explorer.)
*/
DocumentCommand["IncreaseFontSize"] = "increaseFontSize";
/**
* Indents the line containing the selection or insertion point. In Firefox, if the selection spans multiple lines at different
* levels of indentation, only the least indented lines in the selection will be indented.
*/
DocumentCommand["Indent"] = "indent";
/**
* Controls whether the Enter key inserts a <br> element, or splits the current block element into two.
* (Not supported by Internet Explorer.)
*/
DocumentCommand["InsertBrOnReturn"] = "insertBrOnReturn";
/**
* Inserts a <hr> element at the insertion point, or replaces the selection with it.
*/
DocumentCommand["InsertHorizontalRule"] = "insertHorizontalRule";
/**
* Inserts an HTML string at the insertion point (deletes selection). Requires a valid HTML string as a value argument.
* (Not supported by Internet Explorer.)
*/
DocumentCommand["InsertHTML"] = "insertHTML";
/**
* Inserts an image at the insertion point (deletes selection). Requires a URL string for the image's src as a value argument.
* The requirements for this string are the same as createLink.
*/
DocumentCommand["InsertImage"] = "insertImage";
/**
* Creates a numbered ordered list for the selection or at the insertion point.
*/
DocumentCommand["InsertOrderedList"] = "insertOrderedList";
/**
* Creates a bulleted unordered list for the selection or at the insertion point.
*/
DocumentCommand["InsertUnorderedList"] = "insertUnorderedList";
/**
* Inserts a paragraph around the selection or the current line.
* (Internet Explorer inserts a paragraph at the insertion point and deletes the selection.)
*/
DocumentCommand["InsertParagraph"] = "insertParagraph";
/**
* Inserts the given plain text at the insertion point (deletes selection).
*/
DocumentCommand["InsertText"] = "insertText";
/**
* Toggles italics on/off for the selection or at the insertion point.
* (Internet Explorer uses the <em> element instead of <i>.)
*/
DocumentCommand["Italic"] = "italic";
/**
* Centers the selection or insertion point.
*/
DocumentCommand["JustifyCenter"] = "justifyCenter";
/**
* Justifies the selection or insertion point.
*/
DocumentCommand["JustifyFull"] = "justifyFull";
/**
* Justifies the selection or insertion point to the left.
*/
DocumentCommand["JustifyLeft"] = "justifyLeft";
/**
* Right-justifies the selection or the insertion point.
*/
DocumentCommand["JustifyRight"] = "justifyRight";
/**
* Outdents the line containing the selection or insertion point.
*/
DocumentCommand["Outdent"] = "outdent";
/**
* Pastes the clipboard contents at the insertion point (replaces current selection). Disabled for web content. See [1].
*/
DocumentCommand["Paste"] = "paste";
/**
* Redoes the previous undo command.
*/
DocumentCommand["Redo"] = "redo";
/**
* Removes all formatting from the current selection.
*/
DocumentCommand["RemoveFormat"] = "removeFormat";
/**
* Selects all of the content of the editable region.
*/
DocumentCommand["SelectAll"] = "selectAll";
/**
* Toggles strikethrough on/off for the selection or at the insertion point.
*/
DocumentCommand["StrikeThrough"] = "strikeThrough";
/**
* Toggles subscript on/off for the selection or at the insertion point.
*/
DocumentCommand["Subscript"] = "subscript";
/**
* Toggles superscript on/off for the selection or at the insertion point.
*/
DocumentCommand["Superscript"] = "superscript";
/**
* Toggles underline on/off for the selection or at the insertion point.
*/
DocumentCommand["Underline"] = "underline";
/**
* Undoes the last executed command.
*/
DocumentCommand["Undo"] = "undo";
/**
* Removes the anchor element from a selected hyperlink.
*/
DocumentCommand["Unlink"] = "unlink";
/**
* Replaces the useCSS command. true modifies/generates style attributes in markup, false generates presentational elements.
*/
DocumentCommand["StyleWithCSS"] = "styleWithCSS";
})(DocumentCommand || (DocumentCommand = {}));
//# sourceMappingURL=DocumentCommand.js.map

@@ -1,2 +0,32 @@

export {};
/**
* The is essentially an enum representing result from browser compareDocumentPosition API
* https://developer.mozilla.org/en-US/docs/Web/API/Node/compareDocumentPosition
*/
export var DocumentPosition;
(function (DocumentPosition) {
/**
* Same node
*/
DocumentPosition[DocumentPosition["Same"] = 0] = "Same";
/**
* Node is disconnected from document
*/
DocumentPosition[DocumentPosition["Disconnected"] = 1] = "Disconnected";
/**
* Node is preceding the comparing node
*/
DocumentPosition[DocumentPosition["Preceding"] = 2] = "Preceding";
/**
* Node is following the comparing node
*/
DocumentPosition[DocumentPosition["Following"] = 4] = "Following";
/**
* Node contains the comparing node
*/
DocumentPosition[DocumentPosition["Contains"] = 8] = "Contains";
/**
* Node is contained by the comparing node
*/
DocumentPosition[DocumentPosition["ContainedBy"] = 16] = "ContainedBy";
})(DocumentPosition || (DocumentPosition = {}));
//# sourceMappingURL=DocumentPosition.js.map

@@ -1,2 +0,23 @@

export {};
/**
* CSS Class names for Entity
*/
export var EntityClasses;
(function (EntityClasses) {
/**
* Class name to specify this is an entity
*/
EntityClasses["ENTITY_INFO_NAME"] = "_Entity";
/**
* Class name to specify the type of an entity
*/
EntityClasses["ENTITY_TYPE_PREFIX"] = "_EType_";
/**
* Class name to specify the ID of an entity
*/
EntityClasses["ENTITY_ID_PREFIX"] = "_EId_";
/**
* Class name to specify if the entity is readonly
*/
EntityClasses["ENTITY_READONLY_PREFIX"] = "_EReadonly_";
})(EntityClasses || (EntityClasses = {}));
//# sourceMappingURL=EntityClasses.js.map

@@ -1,2 +0,67 @@

export {};
/**
* Define possible operations to an entity
*/
export var EntityOperation;
(function (EntityOperation) {
/**
* Notify plugins that there is a new plugin was added into editor.
* Plugin can handle this event to entity hydration.
* This event will be only fired once for each entity DOM node.
* After undo, or copy/paste, since new DOM nodes were added, this event will be fired
* for those entities represented by newly added nodes.
*/
EntityOperation[EntityOperation["NewEntity"] = 0] = "NewEntity";
/**
* Notify plugins that user is clicking target to an entity
*/
EntityOperation[EntityOperation["Click"] = 1] = "Click";
/**
* Notify plugins that user is triggering context menu to an entity
*/
EntityOperation[EntityOperation["ContextMenu"] = 2] = "ContextMenu";
/**
* Notify plugins that user is escaping from an entity by pressing ESC key
*/
EntityOperation[EntityOperation["Escape"] = 3] = "Escape";
/**
* Notify plugins that user is removing an entity from its start position using DELETE key
*/
EntityOperation[EntityOperation["RemoveFromStart"] = 4] = "RemoveFromStart";
/**
* Notify plugins that user is remove an entity from its end position using BACKSPACE key
*/
EntityOperation[EntityOperation["RemoveFromEnd"] = 5] = "RemoveFromEnd";
/**
* Notify plugins that an entity is being overwritten.
* This can be caused by key in, cut, paste, delete, backspace ... on a selection
* which contains some entities.
*/
EntityOperation[EntityOperation["Overwrite"] = 6] = "Overwrite";
/**
* Notify plugins that an entity is being partially overwritten.
* This happens when user selected part of the entity then do key press, or cut, paste, delete, backspace, ...
*/
EntityOperation[EntityOperation["PartialOverwrite"] = 7] = "PartialOverwrite";
/**
* Notify plugins that editor is generating HTML content for save.
* Plugin should use this event to remove any temporary content, and only leave DOM nodes that
* should be saved as HTML string.
* This event will provide a cloned DOM tree for each entity, do NOT compare the DOM nodes with cached nodes
* because it will always return false.
*/
EntityOperation[EntityOperation["ReplaceTemporaryContent"] = 8] = "ReplaceTemporaryContent";
/**
* @deprecated
*/
EntityOperation[EntityOperation["AddShadowRoot"] = 9] = "AddShadowRoot";
/**
* @deprecated
*/
EntityOperation[EntityOperation["RemoveShadowRoot"] = 10] = "RemoveShadowRoot";
/**
* Notify plugins that a new entity state need to be updated to an entity.
* This is normally happened when user undo/redo the content with an entity snapshot added by a plugin that handles entity
*/
EntityOperation[EntityOperation["UpdateEntityState"] = 11] = "UpdateEntityState";
})(EntityOperation || (EntityOperation = {}));
//# sourceMappingURL=EntityOperation.js.map

@@ -1,2 +0,144 @@

export {};
/**
* Experimental feature flags
*/
export var ExperimentalFeatures;
(function (ExperimentalFeatures) {
// #region Graduated and deprecated features.
// These features will be removed in next major release
/**
* @deprecated This feature is always enabled
*/
ExperimentalFeatures["NewIndentation"] = "NewIndentation";
/**
* @deprecated This feature is always enabled
*/
ExperimentalFeatures["NewBullet"] = "NewBullet";
/**
* @deprecated This feature is always enabled
*/
ExperimentalFeatures["NewNumbering"] = "NewNumbering";
/**
* @deprecated This feature is always enabled
*/
ExperimentalFeatures["ListChain"] = "ListChain";
/**
* @deprecated This feature is always enabled
*/
ExperimentalFeatures["MergePastedLine"] = "MergePastedLine";
/**
* @deprecated This feature is always enabled
*/
ExperimentalFeatures["SingleDirectionResize"] = "SingleDirectionResize";
/**
* @deprecated This feature is always enabled
*/
ExperimentalFeatures["PasteWithLinkPreview"] = "PasteWithLinkPreview";
/**
* @deprecated This feature is always enabled
*/
ExperimentalFeatures["ImageRotate"] = "ImageRotate";
/**
* @deprecated This feature is always enabled
*/
ExperimentalFeatures["ImageCrop"] = "ImageCrop";
/**
* @deprecated This feature is always enabled
* Check if the element has a style attribute, if not, apply the default format
*/
ExperimentalFeatures["AlwaysApplyDefaultFormat"] = "AlwaysApplyDefaultFormat";
/**
* @deprecated This feature can be enabled/disabled using Paste Plugin contructor param
* Paste the Html instead of the Img when the Html Body only have one IMG Child node
*/
ExperimentalFeatures["ConvertSingleImageBody"] = "ConvertSingleImageBody";
/**
* @deprecated This feature is always enabled
* Align table elements to left, center and right using setAlignment API
*/
ExperimentalFeatures["TableAlignment"] = "TableAlignment";
/**
* @deprecated this feature is always enabled
* Provide a circular resize handles that adaptive the number od handles to the size of the image
*/
ExperimentalFeatures["AdaptiveHandlesResizer"] = "AdaptiveHandlesResizer";
/**
* @deprecated this feature is always disabled
* Automatically transform -- into hyphen, if typed between two words.
*/
ExperimentalFeatures["AutoHyphen"] = "AutoHyphen";
/**
* @deprecated this feature is always disabled
* Use pending format strategy to do style based format, e.g. Font size, Color.
* With this feature enabled, we don't need to insert temp ZeroWidthSpace character to hold pending format
* when selection is collapsed. Instead, we will hold the pending format in memory and only apply it when type something
*/
ExperimentalFeatures["PendingStyleBasedFormat"] = "PendingStyleBasedFormat";
/**
* @deprecated this feature is always disabled
* Normalize list to make sure it can be displayed correctly in other client
* e.g. We will move list items with "display: block" into previous list item and change tag to be DIV
*/
ExperimentalFeatures["NormalizeList"] = "NormalizeList";
/**
* @deprecated this feature is always enabled
* When a html image is selected, the selected image data will be stored by editor core.
*/
ExperimentalFeatures["ImageSelection"] = "ImageSelection";
/**
* @deprecated this feature is always enabled
* Use variable-based dark mode solution rather than dataset-based solution.
* When enable this feature, need to pass in a DarkModelHandler object to each call of setColor and applyFormat
* if you need them work for dark mode
*/
ExperimentalFeatures["VariableBasedDarkColor"] = "VariableBasedDarkColor";
/**
* @deprecated this feature is always enabled
* Align list elements elements to left, center and right using setAlignment API
*/
ExperimentalFeatures["ListItemAlignment"] = "ListItemAlignment";
/**
* @deprecated
*/
ExperimentalFeatures["DefaultFormatInSpan"] = "DefaultFormatInSpan";
/**
* @deprecated
*/
ExperimentalFeatures["DefaultFormatOnContainer"] = "DefaultFormatOnContainer";
//#endregion
/**
* Provide additional Tab Key Features. Requires Text Features Content Editable Features
*/
ExperimentalFeatures["TabKeyTextFeatures"] = "TabKeyTextFeatures";
/**
* Trigger formatting by a especial characters. Ex: (A), 1. i).
*/
ExperimentalFeatures["AutoFormatList"] = "AutoFormatList";
/**
* With this feature enabled, when writing back a list item we will re-use all
* ancestor list elements, even if they don't match the types currently in the
* listTypes array for that item. The only list that we will ensure is correct
* is the one closest to the item.
*/
ExperimentalFeatures["ReuseAllAncestorListElements"] = "ReuseAllAncestorListElements";
/**
* Reuse existing DOM structure if possible when convert Content Model back to DOM tree
*/
ExperimentalFeatures["ReusableContentModel"] = "ReusableContentModel";
/**
* Handle keyboard editing event with Content Model
*/
ExperimentalFeatures["EditWithContentModel"] = "EditWithContentModel";
/**
* Delete table with Backspace key with the whole was selected with table selector
*/
ExperimentalFeatures["DeleteTableWithBackspace"] = "DeleteTableWithBackspace";
/**
* Add entities around a Read Only Inline entity to prevent cursor to be hidden when cursor is next of it.
*/
ExperimentalFeatures["InlineEntityReadOnlyDelimiters"] = "InlineEntityReadOnlyDelimiters";
/**
* Paste with Content model
*/
ExperimentalFeatures["ContentModelPaste"] = "ContentModelPaste";
})(ExperimentalFeatures || (ExperimentalFeatures = {}));
//# sourceMappingURL=ExperimentalFeatures.js.map

@@ -1,2 +0,16 @@

export {};
/**
* The enum used for increase or decrease font size
* Used by setFontSize API
*/
export var FontSizeChange;
(function (FontSizeChange) {
/**
* Increase font size
*/
FontSizeChange[FontSizeChange["Increase"] = 0] = "Increase";
/**
* Decrease font size
*/
FontSizeChange[FontSizeChange["Decrease"] = 1] = "Decrease";
})(FontSizeChange || (FontSizeChange = {}));
//# sourceMappingURL=FontSizeChange.js.map

@@ -1,2 +0,34 @@

export {};
/**
* Represents a mode number to indicate what kind of content to retrieve when call Editor.getContent()
*/
export var GetContentMode;
(function (GetContentMode) {
/**
* The clean content without any temporary content only for editor.
* This is the default value. Call to Editor.getContent() with trigger an ExtractContentWithDom event
* so that plugins can remove their temporary content, and will return the HTML content
* which is ready for save to storage.
*/
GetContentMode[GetContentMode["CleanHTML"] = 0] = "CleanHTML";
/**
* Retrieve the raw HTML string in current editor. Temporary content will be included.
*/
GetContentMode[GetContentMode["RawHTMLOnly"] = 1] = "RawHTMLOnly";
/**
* Retrieve the raw HTML string in current editor with a selection marker. This can be used for
* save current editor state and call to SetContent with this result can fully restore editor state
* including current selection
*/
GetContentMode[GetContentMode["RawHTMLWithSelection"] = 2] = "RawHTMLWithSelection";
/**
* Get plain text content only, all format will be ignored
*/
GetContentMode[GetContentMode["PlainText"] = 3] = "PlainText";
/**
* A fast way to get plain text content, the line-end positions may not be exactly same with HTML content,
* but the text content should be the same. This is used for quickly retrieve text content and check
* text only
*/
GetContentMode[GetContentMode["PlainTextFast"] = 4] = "PlainTextFast";
})(GetContentMode || (GetContentMode = {}));
//# sourceMappingURL=GetContentMode.js.map

@@ -1,2 +0,39 @@

export {};
/**
* Operation flags for ImageEdit plugin
*/
export var ImageEditOperation;
(function (ImageEditOperation) {
/**
* No operation
*/
ImageEditOperation[ImageEditOperation["None"] = 0] = "None";
/**
* Resize image from corner ( horizontal and vertical resize)
*/
ImageEditOperation[ImageEditOperation["CornerResize"] = 1] = "CornerResize";
/**
* Resize image from side ( either horizontal or vertical resize)
*/
ImageEditOperation[ImageEditOperation["SideResize"] = 2] = "SideResize";
/**
* Image resize
*/
ImageEditOperation[ImageEditOperation["Resize"] = 3] = "Resize";
/**
* Image rotate
*/
ImageEditOperation[ImageEditOperation["Rotate"] = 4] = "Rotate";
/**
* Image resize and rotate
*/
ImageEditOperation[ImageEditOperation["ResizeAndRotate"] = 7] = "ResizeAndRotate";
/**
* Image crop
*/
ImageEditOperation[ImageEditOperation["Crop"] = 8] = "Crop";
/**
* All operations
*/
ImageEditOperation[ImageEditOperation["All"] = 15] = "All";
})(ImageEditOperation || (ImageEditOperation = {}));
//# sourceMappingURL=ImageEditOperation.js.map

@@ -1,2 +0,16 @@

export {};
/**
* The enum used for increase or decrease indentation of a block
* Used by setIndentation API
*/
export var Indentation;
(function (Indentation) {
/**
* Increase indentation
*/
Indentation[Indentation["Increase"] = 0] = "Increase";
/**
* Decrease indentation
*/
Indentation[Indentation["Decrease"] = 1] = "Decrease";
})(Indentation || (Indentation = {}));
//# sourceMappingURL=Indentation.js.map

@@ -1,2 +0,36 @@

export {};
export { DocumentCommand } from './DocumentCommand';
export { DocumentPosition } from './DocumentPosition';
export { Keys } from './Keys';
export { NodeType } from './NodeType';
export { ContentTypePrefix, ContentType } from './ContentType';
export { Alignment } from './Alignment';
export { ChangeSource } from './ChangeSource';
export { ColorTransformDirection } from './ColorTransformDirection';
export { ContentPosition } from './ContentPosition';
export { DarkModeDatasetNames } from './DarkModeDatasetNames';
export { DelimiterClasses } from './DelimiterClasses';
export { Direction } from './Direction';
export { EntityClasses } from './EntityClasses';
export { EntityOperation } from './EntityOperation';
export { ExperimentalFeatures } from './ExperimentalFeatures';
export { FontSizeChange } from './FontSizeChange';
export { GetContentMode } from './GetContentMode';
export { Indentation } from './Indentation';
export { Capitalization } from './Capitalization';
export { ListType } from './ListType';
export { PositionType } from './PositionType';
export { QueryScope } from './QueryScope';
export { RegionType } from './RegionType';
export { TableOperation } from './TableOperation';
export { ImageEditOperation } from './ImageEditOperation';
export { ClearFormatMode } from './ClearFormatMode';
export { KnownCreateElementDataIndex } from './KnownCreateElementDataIndex';
export { KnownPasteSourceType } from './KnownPasteSourceType';
export { TableBorderFormat } from './TableBorderFormat';
export { PluginEventType } from './PluginEventType';
export { SelectionRangeTypes } from './SelectionRangeTypes';
export { NumberingListType } from './NumberingListType';
export { BulletListType } from './BulletListType';
export { DefinitionType } from './DefinitionType';
export { PasteType } from './PasteType';
//# sourceMappingURL=index.js.map

@@ -1,2 +0,53 @@

export {};
/**
* Key numbers common used keys
*/
export var Keys;
(function (Keys) {
Keys[Keys["NULL"] = 0] = "NULL";
Keys[Keys["BACKSPACE"] = 8] = "BACKSPACE";
Keys[Keys["TAB"] = 9] = "TAB";
Keys[Keys["ENTER"] = 13] = "ENTER";
Keys[Keys["SHIFT"] = 16] = "SHIFT";
Keys[Keys["CTRL_LEFT"] = 17] = "CTRL_LEFT";
Keys[Keys["ALT"] = 18] = "ALT";
Keys[Keys["ESCAPE"] = 27] = "ESCAPE";
Keys[Keys["SPACE"] = 32] = "SPACE";
Keys[Keys["PAGEUP"] = 33] = "PAGEUP";
Keys[Keys["END"] = 35] = "END";
Keys[Keys["HOME"] = 36] = "HOME";
Keys[Keys["LEFT"] = 37] = "LEFT";
Keys[Keys["UP"] = 38] = "UP";
Keys[Keys["RIGHT"] = 39] = "RIGHT";
Keys[Keys["DOWN"] = 40] = "DOWN";
Keys[Keys["PRINT_SCREEN"] = 44] = "PRINT_SCREEN";
Keys[Keys["DELETE"] = 46] = "DELETE";
/**
* @deprecated Just for backward compatibility
*/
Keys[Keys["EIGHT_ASTIRISK"] = 56] = "EIGHT_ASTIRISK";
Keys[Keys["EIGHT_ASTERISK"] = 56] = "EIGHT_ASTERISK";
Keys[Keys["B"] = 66] = "B";
Keys[Keys["I"] = 73] = "I";
Keys[Keys["U"] = 85] = "U";
Keys[Keys["Y"] = 89] = "Y";
Keys[Keys["Z"] = 90] = "Z";
Keys[Keys["META_LEFT"] = 91] = "META_LEFT";
Keys[Keys["COMMA"] = 188] = "COMMA";
Keys[Keys["DASH_UNDERSCORE"] = 189] = "DASH_UNDERSCORE";
Keys[Keys["PERIOD"] = 190] = "PERIOD";
/**
* @deprecated Just for backward compatibility
*/
Keys[Keys["FORWARDSLASH"] = 191] = "FORWARDSLASH";
Keys[Keys["FORWARD_SLASH"] = 191] = "FORWARD_SLASH";
Keys[Keys["GRAVE_TILDE"] = 192] = "GRAVE_TILDE";
/**
* Keys below are non-standard, and should be used in ContentEditFeatures only
*/
Keys[Keys["CONTENTCHANGED"] = 257] = "CONTENTCHANGED";
Keys[Keys["RANGE"] = 258] = "RANGE";
Keys[Keys["Ctrl"] = 4096] = "Ctrl";
Keys[Keys["Meta"] = 8192] = "Meta";
Keys[Keys["Shift"] = 16384] = "Shift";
})(Keys || (Keys = {}));
//# sourceMappingURL=Keys.js.map

@@ -1,2 +0,59 @@

export {};
/**
* Index of known CreateElementData used by createElement function
*/
export var KnownCreateElementDataIndex;
(function (KnownCreateElementDataIndex) {
/**
* Set a none value to help createElement function ignore falsy value
*/
KnownCreateElementDataIndex[KnownCreateElementDataIndex["None"] = 0] = "None";
/**
* An empty line without format
*/
KnownCreateElementDataIndex[KnownCreateElementDataIndex["EmptyLine"] = 1] = "EmptyLine";
/**
* Wrapper for blockquote
*/
KnownCreateElementDataIndex[KnownCreateElementDataIndex["BlockquoteWrapper"] = 2] = "BlockquoteWrapper";
/**
* Temp DIV for copy/paste
*/
KnownCreateElementDataIndex[KnownCreateElementDataIndex["CopyPasteTempDiv"] = 3] = "CopyPasteTempDiv";
/**
* ListItem with block style
*/
KnownCreateElementDataIndex[KnownCreateElementDataIndex["BlockListItem"] = 4] = "BlockListItem";
/**
* Wrapper element for context menu
*/
KnownCreateElementDataIndex[KnownCreateElementDataIndex["ContextMenuWrapper"] = 5] = "ContextMenuWrapper";
/**
* Wrapper element for image edit
*/
KnownCreateElementDataIndex[KnownCreateElementDataIndex["ImageEditWrapper"] = 6] = "ImageEditWrapper";
/**
* @deprecated
*/
KnownCreateElementDataIndex[KnownCreateElementDataIndex["TableHorizontalResizer"] = 7] = "TableHorizontalResizer";
/**
* @deprecated
*/
KnownCreateElementDataIndex[KnownCreateElementDataIndex["TableVerticalResizer"] = 8] = "TableVerticalResizer";
/**
* @deprecated
*/
KnownCreateElementDataIndex[KnownCreateElementDataIndex["TableResizerLTR"] = 9] = "TableResizerLTR";
/**
* @deprecated
*/
KnownCreateElementDataIndex[KnownCreateElementDataIndex["TableResizerRTL"] = 10] = "TableResizerRTL";
/**
* @deprecated
*/
KnownCreateElementDataIndex[KnownCreateElementDataIndex["TableSelector"] = 11] = "TableSelector";
/**
* @deprecated
*/
KnownCreateElementDataIndex[KnownCreateElementDataIndex["EmptyLineFormatInSpan"] = 12] = "EmptyLineFormatInSpan";
})(KnownCreateElementDataIndex || (KnownCreateElementDataIndex = {}));
//# sourceMappingURL=KnownCreateElementDataIndex.js.map

@@ -1,2 +0,15 @@

export {};
/**
* Represent the types of sources to handle in the Paste Plugin
*/
export var KnownPasteSourceType;
(function (KnownPasteSourceType) {
KnownPasteSourceType[KnownPasteSourceType["WordDesktop"] = 0] = "WordDesktop";
KnownPasteSourceType[KnownPasteSourceType["ExcelDesktop"] = 1] = "ExcelDesktop";
KnownPasteSourceType[KnownPasteSourceType["ExcelOnline"] = 2] = "ExcelOnline";
KnownPasteSourceType[KnownPasteSourceType["PowerPointDesktop"] = 3] = "PowerPointDesktop";
KnownPasteSourceType[KnownPasteSourceType["GoogleSheets"] = 4] = "GoogleSheets";
KnownPasteSourceType[KnownPasteSourceType["WacComponents"] = 5] = "WacComponents";
KnownPasteSourceType[KnownPasteSourceType["Default"] = 6] = "Default";
KnownPasteSourceType[KnownPasteSourceType["SingleImage"] = 7] = "SingleImage";
})(KnownPasteSourceType || (KnownPasteSourceType = {}));
//# sourceMappingURL=KnownPasteSourceType.js.map

@@ -1,2 +0,22 @@

export {};
/**
* Type of list (numbering or bullet)
*/
export var ListType;
(function (ListType) {
/**
* None list type
* It means this is not a list
*/
ListType[ListType["None"] = 0] = "None";
/**
* Ordered List type (numbering list)
* Represented by "OL" tag
*/
ListType[ListType["Ordered"] = 1] = "Ordered";
/**
* Unordered List type (bullet list)
* Represented by "UL" tag
*/
ListType[ListType["Unordered"] = 2] = "Unordered";
})(ListType || (ListType = {}));
//# sourceMappingURL=ListType.js.map

@@ -1,2 +0,41 @@

export {};
/**
* The is essentially an enum represents the type of the node
* https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType
* Values not listed here are deprecated.
*/
export var NodeType;
(function (NodeType) {
/**
* An Element node such as <p> or <div>.
*/
NodeType[NodeType["Element"] = 1] = "Element";
/**
* An Attribute node such as name="value".
*/
NodeType[NodeType["Attribute"] = 2] = "Attribute";
/**
* The actual Text of Element or Attr.
*/
NodeType[NodeType["Text"] = 3] = "Text";
/**
* A ProcessingInstruction of an XML document such as <?xml-stylesheet ... ?> declaration.
*/
NodeType[NodeType["ProcessingInstruction"] = 7] = "ProcessingInstruction";
/**
* A Comment node.
*/
NodeType[NodeType["Comment"] = 8] = "Comment";
/**
* A Document node.
*/
NodeType[NodeType["Document"] = 9] = "Document";
/**
* A DocumentType node e.g. <!DOCTYPE html> for HTML5 documents.
*/
NodeType[NodeType["DocumentType"] = 10] = "DocumentType";
/**
* A DocumentFragment node.
*/
NodeType[NodeType["DocumentFragment"] = 11] = "DocumentFragment";
})(NodeType || (NodeType = {}));
//# sourceMappingURL=NodeType.js.map

@@ -1,2 +0,95 @@

export {};
/**
* Enum used to control the different types of numbering list
*/
export var NumberingListType;
(function (NumberingListType) {
/**
* Minimum value of the enum
*/
NumberingListType[NumberingListType["Min"] = 1] = "Min";
/**
* Numbering triggered by 1.
*/
NumberingListType[NumberingListType["Decimal"] = 1] = "Decimal";
/**
* Numbering triggered by 1-
*/
NumberingListType[NumberingListType["DecimalDash"] = 2] = "DecimalDash";
/**
* Numbering triggered by 1)
*/
NumberingListType[NumberingListType["DecimalParenthesis"] = 3] = "DecimalParenthesis";
/**
* Numbering triggered by (1)
*/
NumberingListType[NumberingListType["DecimalDoubleParenthesis"] = 4] = "DecimalDoubleParenthesis";
/**
* Numbering triggered by a.
*/
NumberingListType[NumberingListType["LowerAlpha"] = 5] = "LowerAlpha";
/**
* Numbering triggered by a)
*/
NumberingListType[NumberingListType["LowerAlphaParenthesis"] = 6] = "LowerAlphaParenthesis";
/**
* Numbering triggered by (a)
*/
NumberingListType[NumberingListType["LowerAlphaDoubleParenthesis"] = 7] = "LowerAlphaDoubleParenthesis";
/**
* Numbering triggered by a-
*/
NumberingListType[NumberingListType["LowerAlphaDash"] = 8] = "LowerAlphaDash";
/**
* Numbering triggered by A.
*/
NumberingListType[NumberingListType["UpperAlpha"] = 9] = "UpperAlpha";
/**
* Numbering triggered by A)
*/
NumberingListType[NumberingListType["UpperAlphaParenthesis"] = 10] = "UpperAlphaParenthesis";
/**
* Numbering triggered by (A)
*/
NumberingListType[NumberingListType["UpperAlphaDoubleParenthesis"] = 11] = "UpperAlphaDoubleParenthesis";
/**
* Numbering triggered by A-
*/
NumberingListType[NumberingListType["UpperAlphaDash"] = 12] = "UpperAlphaDash";
/**
* Numbering triggered by i.
*/
NumberingListType[NumberingListType["LowerRoman"] = 13] = "LowerRoman";
/**
* Numbering triggered by i)
*/
NumberingListType[NumberingListType["LowerRomanParenthesis"] = 14] = "LowerRomanParenthesis";
/**
* Numbering triggered by (i)
*/
NumberingListType[NumberingListType["LowerRomanDoubleParenthesis"] = 15] = "LowerRomanDoubleParenthesis";
/**
* Numbering triggered by i-
*/
NumberingListType[NumberingListType["LowerRomanDash"] = 16] = "LowerRomanDash";
/**
* Numbering triggered by I.
*/
NumberingListType[NumberingListType["UpperRoman"] = 17] = "UpperRoman";
/**
* Numbering triggered by I)
*/
NumberingListType[NumberingListType["UpperRomanParenthesis"] = 18] = "UpperRomanParenthesis";
/**
* Numbering triggered by (I)
*/
NumberingListType[NumberingListType["UpperRomanDoubleParenthesis"] = 19] = "UpperRomanDoubleParenthesis";
/**
* Numbering triggered by I-
*/
NumberingListType[NumberingListType["UpperRomanDash"] = 20] = "UpperRomanDash";
/**
* Maximum value of the enum
*/
NumberingListType[NumberingListType["Max"] = 20] = "Max";
})(NumberingListType || (NumberingListType = {}));
//# sourceMappingURL=NumberingListType.js.map

@@ -1,2 +0,23 @@

export {};
/**
* Enum for paste options
*/
export var PasteType;
(function (PasteType) {
/**
* Default paste behavior
*/
PasteType[PasteType["Normal"] = 0] = "Normal";
/**
* Paste only the plain text
*/
PasteType[PasteType["AsPlainText"] = 1] = "AsPlainText";
/**
* Apply the current style to pasted content
*/
PasteType[PasteType["MergeFormat"] = 2] = "MergeFormat";
/**
* If there is a image uri in the clipboard, paste the content as image element
*/
PasteType[PasteType["AsImage"] = 3] = "AsImage";
})(PasteType || (PasteType = {}));
//# sourceMappingURL=PasteType.js.map

@@ -1,2 +0,110 @@

export {};
/**
* Editor plugin event type
*/
export var PluginEventType;
(function (PluginEventType) {
/**
* HTML KeyDown event
*/
PluginEventType[PluginEventType["KeyDown"] = 0] = "KeyDown";
/**
* HTML KeyPress event
*/
PluginEventType[PluginEventType["KeyPress"] = 1] = "KeyPress";
/**
* HTML KeyUp event
*/
PluginEventType[PluginEventType["KeyUp"] = 2] = "KeyUp";
/**
* HTML Input / TextInput event
*/
PluginEventType[PluginEventType["Input"] = 3] = "Input";
/**
* HTML CompositionEnd event
*/
PluginEventType[PluginEventType["CompositionEnd"] = 4] = "CompositionEnd";
/**
* HTML MouseDown event
*/
PluginEventType[PluginEventType["MouseDown"] = 5] = "MouseDown";
/**
* HTML MouseUp event
*/
PluginEventType[PluginEventType["MouseUp"] = 6] = "MouseUp";
/**
* Content changed event
*/
PluginEventType[PluginEventType["ContentChanged"] = 7] = "ContentChanged";
/**
* Extract Content with a DOM tree event
* This event is triggered when getContent() is called with triggerExtractContentEvent = true
* Plugin can handle this event to remove the UI only markups to return clean HTML
* by operating on a cloned DOM tree
*/
PluginEventType[PluginEventType["ExtractContentWithDom"] = 8] = "ExtractContentWithDom";
/**
* Before Paste event, provide a chance to change copied content
*/
PluginEventType[PluginEventType["BeforeCutCopy"] = 9] = "BeforeCutCopy";
/**
* Before Paste event, provide a chance to change paste content
*/
PluginEventType[PluginEventType["BeforePaste"] = 10] = "BeforePaste";
/**
* Let plugin know editor is ready now
*/
PluginEventType[PluginEventType["EditorReady"] = 11] = "EditorReady";
/**
* Let plugin know editor is about to dispose
*/
PluginEventType[PluginEventType["BeforeDispose"] = 12] = "BeforeDispose";
/**
* Pending format state (bold, italic, underline, ... with collapsed selection) is changed
*/
PluginEventType[PluginEventType["PendingFormatStateChanged"] = 13] = "PendingFormatStateChanged";
/**
* Scroll event triggered by scroll container
*/
PluginEventType[PluginEventType["Scroll"] = 14] = "Scroll";
/**
* Operating on an entity. See enum EntityOperation for more details about each operation
*/
PluginEventType[PluginEventType["EntityOperation"] = 15] = "EntityOperation";
/**
* HTML ContextMenu event
*/
PluginEventType[PluginEventType["ContextMenu"] = 16] = "ContextMenu";
/**
* Editor has entered shadow edit mode
*/
PluginEventType[PluginEventType["EnteredShadowEdit"] = 17] = "EnteredShadowEdit";
/**
* Editor is about to leave shadow edit mode
*/
PluginEventType[PluginEventType["LeavingShadowEdit"] = 18] = "LeavingShadowEdit";
/**
* Content of image is being changed from client side
*/
PluginEventType[PluginEventType["EditImage"] = 19] = "EditImage";
/**
* Content of editor is about to be cleared by SetContent API, handle this event to cache anything you need
* before it is gone
*/
PluginEventType[PluginEventType["BeforeSetContent"] = 20] = "BeforeSetContent";
/**
* Zoom scale value is changed, triggered by Editor.setZoomScale() when set a different scale number
*/
PluginEventType[PluginEventType["ZoomChanged"] = 21] = "ZoomChanged";
/**
* EXPERIMENTAL FEATURE
* Editor changed the selection.
*/
PluginEventType[PluginEventType["SelectionChanged"] = 22] = "SelectionChanged";
/**
* EXPERIMENTAL FEATURE
* Editor content is about to be changed by keyboard event.
* This is only used by Content Model editing
*/
PluginEventType[PluginEventType["BeforeKeyboardEditing"] = 23] = "BeforeKeyboardEditing";
})(PluginEventType || (PluginEventType = {}));
//# sourceMappingURL=PluginEventType.js.map

@@ -1,2 +0,23 @@

export {};
/**
* Represent the type of a position
*/
export var PositionType;
(function (PositionType) {
/**
* At the beginning of a node
*/
PositionType[PositionType["Begin"] = 0] = "Begin";
/**
* At the end of a node
*/
PositionType[PositionType["End"] = -1] = "End";
/**
* Before a node
*/
PositionType[PositionType["Before"] = -2] = "Before";
/**
* After a node
*/
PositionType[PositionType["After"] = -3] = "After";
})(PositionType || (PositionType = {}));
//# sourceMappingURL=PositionType.js.map

@@ -1,2 +0,20 @@

export {};
/**
* Query scope for queryElements() API
*/
export var QueryScope;
(function (QueryScope) {
/**
* Query from the whole body of root node. This is default value.
*/
QueryScope[QueryScope["Body"] = 0] = "Body";
/**
* Query elements on a given selection (intersect)
* The result element can contain the selection, contain part of selection, or inside selection
*/
QueryScope[QueryScope["OnSelection"] = 1] = "OnSelection";
/**
* Query elements inside a given selection only
*/
QueryScope[QueryScope["InSelection"] = 2] = "InSelection";
})(QueryScope || (QueryScope = {}));
//# sourceMappingURL=QueryScope.js.map

@@ -1,2 +0,11 @@

export {};
/**
* Type of all possible regions. Currently we only support region of Table
*/
export var RegionType;
(function (RegionType) {
/**
* Region split by Table
*/
RegionType[RegionType["Table"] = 0] = "Table";
})(RegionType || (RegionType = {}));
//# sourceMappingURL=RegionType.js.map

@@ -1,2 +0,19 @@

export {};
/**
* Types of Selection Ranges that the SelectionRangeEx can return
*/
export var SelectionRangeTypes;
(function (SelectionRangeTypes) {
/**
* Normal selection range provided by browser.
*/
SelectionRangeTypes[SelectionRangeTypes["Normal"] = 0] = "Normal";
/**
* Selection made inside of a single table.
*/
SelectionRangeTypes[SelectionRangeTypes["TableSelection"] = 1] = "TableSelection";
/**
* Selection made in a image.
*/
SelectionRangeTypes[SelectionRangeTypes["ImageSelection"] = 2] = "ImageSelection";
})(SelectionRangeTypes || (SelectionRangeTypes = {}));
//# sourceMappingURL=SelectionRangeTypes.js.map

@@ -1,2 +0,75 @@

export {};
/**
* Table format border
*/
export var TableBorderFormat;
(function (TableBorderFormat) {
/**
* All border of the table are displayed
* __ __ __
* |__|__|__|
* |__|__|__|
* |__|__|__|
*/
TableBorderFormat[TableBorderFormat["DEFAULT"] = 0] = "DEFAULT";
/**
* Middle vertical border are not displayed
* __ __ __
* |__ __ __|
* |__ __ __|
* |__ __ __|
*/
TableBorderFormat[TableBorderFormat["LIST_WITH_SIDE_BORDERS"] = 1] = "LIST_WITH_SIDE_BORDERS";
/**
* All borders except header rows borders are displayed
* __ __ __
* __|__|__
* __|__|__
*/
TableBorderFormat[TableBorderFormat["NO_HEADER_BORDERS"] = 2] = "NO_HEADER_BORDERS";
/**
* The left and right border of the table are not displayed
* __ __ __
* __|__|__
* __|__|__
* __|__|__
*/
TableBorderFormat[TableBorderFormat["NO_SIDE_BORDERS"] = 3] = "NO_SIDE_BORDERS";
/**
* Only the borders that divides the header row, first column and externals are displayed
* __ __ __
* |__ __ __|
* | | |
* |__|__ __|
*/
TableBorderFormat[TableBorderFormat["FIRST_COLUMN_HEADER_EXTERNAL"] = 4] = "FIRST_COLUMN_HEADER_EXTERNAL";
/**
* The header row has no vertical border, except for the first one
* The first column has no horizontal border, except for the first one
* __ __ __
* |__ __ __
* | |__|__|
* | |__|__|
*/
TableBorderFormat[TableBorderFormat["ESPECIAL_TYPE_1"] = 5] = "ESPECIAL_TYPE_1";
/**
* The header row has no vertical border, except for the first one
* The only horizontal border of the table is the top and bottom of header row
* __ __ __
* |__ __ __
* | | |
* | | |
*/
TableBorderFormat[TableBorderFormat["ESPECIAL_TYPE_2"] = 6] = "ESPECIAL_TYPE_2";
/**
* The only borders are the bottom of header row and the right border of first column
* __ __ __
* |
* |
*/
TableBorderFormat[TableBorderFormat["ESPECIAL_TYPE_3"] = 7] = "ESPECIAL_TYPE_3";
/**
* No border
*/
TableBorderFormat[TableBorderFormat["CLEAR"] = 8] = "CLEAR";
})(TableBorderFormat || (TableBorderFormat = {}));
//# sourceMappingURL=TableBorderFormat.js.map

@@ -1,2 +0,99 @@

export {};
/**
* Operations used by editTable() API
*/
export var TableOperation;
(function (TableOperation) {
/**
* Insert a row above current row
*/
TableOperation[TableOperation["InsertAbove"] = 0] = "InsertAbove";
/**
* Insert a row below current row
*/
TableOperation[TableOperation["InsertBelow"] = 1] = "InsertBelow";
/**
* Insert a column on the left of current column
*/
TableOperation[TableOperation["InsertLeft"] = 2] = "InsertLeft";
/**
* Insert a column on the right of current column
*/
TableOperation[TableOperation["InsertRight"] = 3] = "InsertRight";
/**
* Delete the whole table
*/
TableOperation[TableOperation["DeleteTable"] = 4] = "DeleteTable";
/**
* Delete current column
*/
TableOperation[TableOperation["DeleteColumn"] = 5] = "DeleteColumn";
/**
* Delete current row
*/
TableOperation[TableOperation["DeleteRow"] = 6] = "DeleteRow";
/**
* Merge current row with the row above
*/
TableOperation[TableOperation["MergeAbove"] = 7] = "MergeAbove";
/**
* Merge current row with the row below
*/
TableOperation[TableOperation["MergeBelow"] = 8] = "MergeBelow";
/**
* Merge current column with the column on the left
*/
TableOperation[TableOperation["MergeLeft"] = 9] = "MergeLeft";
/**
* Merge current column with the column on the right
*/
TableOperation[TableOperation["MergeRight"] = 10] = "MergeRight";
/**
* Merge all selected cells
*/
TableOperation[TableOperation["MergeCells"] = 11] = "MergeCells";
/**
* Split current table cell horizontally
*/
TableOperation[TableOperation["SplitHorizontally"] = 12] = "SplitHorizontally";
/**
* Split current table cell vertically
*/
TableOperation[TableOperation["SplitVertically"] = 13] = "SplitVertically";
/**
* Align current table at the center
*/
TableOperation[TableOperation["AlignCenter"] = 14] = "AlignCenter";
/**
* Align current table at the left
*/
TableOperation[TableOperation["AlignLeft"] = 15] = "AlignLeft";
/**
* Align current table at the right
*/
TableOperation[TableOperation["AlignRight"] = 16] = "AlignRight";
/**
* Align current content table cell at the left
*/
TableOperation[TableOperation["AlignCellLeft"] = 17] = "AlignCellLeft";
/**
* Align current content table cell at the center
*/
TableOperation[TableOperation["AlignCellCenter"] = 18] = "AlignCellCenter";
/**
* Align current content table cell at the right
*/
TableOperation[TableOperation["AlignCellRight"] = 19] = "AlignCellRight";
/**
* Align current content table cell at the top
*/
TableOperation[TableOperation["AlignCellTop"] = 20] = "AlignCellTop";
/**
* Align current table cell at the middle
*/
TableOperation[TableOperation["AlignCellMiddle"] = 21] = "AlignCellMiddle";
/**
* Align current table cell at the bottom
*/
TableOperation[TableOperation["AlignCellBottom"] = 22] = "AlignCellBottom";
})(TableOperation || (TableOperation = {}));
//# sourceMappingURL=TableOperation.js.map

@@ -173,2 +173,3 @@ import BlockElement from './BlockElement';

* false to keep original format. Default value is false. When pasteAsText is true, this parameter is ignored
* @param pasteAsImage: When set to true, if the clipboardData contains a imageDataUri will paste the image to the editor
*/

@@ -175,0 +176,0 @@ paste(clipboardData: ClipboardData, pasteAsText?: boolean, applyCurrentFormat?: boolean, pasteAsImage?: boolean): void;

"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./browser/index"), exports);
__exportStar(require("./corePluginState/index"), exports);
__exportStar(require("./compatibleEnum/index"), exports);
__exportStar(require("./event/index"), exports);
__exportStar(require("./interface/index"), exports);
__exportStar(require("./type/index"), exports);
var tslib_1 = require("tslib");
(0, tslib_1.__exportStar)(require("./browser/index"), exports);
(0, tslib_1.__exportStar)(require("./corePluginState/index"), exports);
(0, tslib_1.__exportStar)(require("./compatibleEnum/index"), exports);
(0, tslib_1.__exportStar)(require("./event/index"), exports);
(0, tslib_1.__exportStar)(require("./interface/index"), exports);
(0, tslib_1.__exportStar)(require("./type/index"), exports);
//# sourceMappingURL=compatibleTypes.js.map
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./browser/index"), exports);
__exportStar(require("./corePluginState/index"), exports);
__exportStar(require("./enum/index"), exports);
__exportStar(require("./event/index"), exports);
__exportStar(require("./interface/index"), exports);
__exportStar(require("./type/index"), exports);
var tslib_1 = require("tslib");
(0, tslib_1.__exportStar)(require("./browser/index"), exports);
(0, tslib_1.__exportStar)(require("./corePluginState/index"), exports);
(0, tslib_1.__exportStar)(require("./enum/index"), exports);
(0, tslib_1.__exportStar)(require("./event/index"), exports);
(0, tslib_1.__exportStar)(require("./interface/index"), exports);
(0, tslib_1.__exportStar)(require("./type/index"), exports);
//# sourceMappingURL=index.js.map

@@ -173,2 +173,3 @@ import BlockElement from './BlockElement';

* false to keep original format. Default value is false. When pasteAsText is true, this parameter is ignored
* @param pasteAsImage: When set to true, if the clipboardData contains a imageDataUri will paste the image to the editor
*/

@@ -175,0 +176,0 @@ paste(clipboardData: ClipboardData, pasteAsText?: boolean, applyCurrentFormat?: boolean, pasteAsImage?: boolean): void;

@@ -6,3 +6,3 @@ {

"main": "./lib/index.js",
"version": "8.49.0",
"version": "8.50.0",
"typings": "./lib/index.d.ts",

@@ -9,0 +9,0 @@ "license": "MIT",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet