all files / common/ constant.js

100% Statements 71/71
100% Branches 2/2
100% Functions 2/2
100% Lines 71/71
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98                                                      
define(["require", "exports"], function (require, exports) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    exports.events = {
        keydown: 'keydown',
        input: 'input',
        moduleChanged: 'moduleChanged',
        inlineToolbarCreated: 'inlineToolbarCreated',
        inlineToolbarItemClick: 'inlineToolbarItemClick',
        inlineToolbarBeforeOpen: 'inlineToolbarBeforeOpen',
        formattingPerformed: 'formatting-performed',
        cut: 'cut',
        copy: 'copy',
        paste: 'paste',
        destroy: 'destroy',
        rtlChanged: 'rtl-changed',
        contentChanged: 'contentChanged',
        blockAdded: 'blockAdded',
        blockRemoved: 'blockRemoved',
        blockMoved: 'blockMoved',
        blockTransformed: 'blockTransformed',
        undoRedoPerformed: 'undoRedoPerformed',
        undoStackChanged: 'undoStackChanged',
        localeChanged: 'localeChanged',
        editorClick: 'editorClick',
        documentClick: 'documentClick'
    };
    var actionType;
    (function (actionType) {
        actionType["contentChanged"] = "contentChanged";
        actionType["formattingAction"] = "formattingAction";
        actionType["indent"] = "indent";
        actionType["checked"] = "checked";
        actionType["lineBreakAdded"] = "lineBreakAdded";
        actionType["isExpanded"] = "isExpanded";
        actionType["blockAdded"] = "blockAdded";
        actionType["blockRemoved"] = "blockRemoved";
        actionType["blockMoved"] = "blockMoved";
        actionType["multipleBlocksDeleted"] = "multipleBlocksDeleted";
        actionType["blockTransformed"] = "blockTransformed";
        actionType["clipboardPaste"] = "clipboardPaste";
        actionType["tableRowInserted"] = "tableRowInserted";
        actionType["tableRowDeleted"] = "tableRowDeleted";
        actionType["tableColumnInserted"] = "tableColumnInserted";
        actionType["tableColumnDeleted"] = "tableColumnDeleted";
        actionType["tableCellsCleared"] = "tableCellsCleared";
        actionType["tableCellsPasted"] = "tableCellsPasted";
        actionType["tableRowsDeleted"] = "tableRowsDeleted";
        actionType["tableColumnsDeleted"] = "tableColumnsDeleted";
        actionType["tableHeaderInput"] = "tableHeaderInput";
    })(actionType = exports.actionType || (exports.actionType = {}));
    exports.ADDBLOCK = 'ADDBLOCK';
    exports.SPLITBLOCK = 'SPLITBLOCK';
    exports.DELETEBLOCK = 'DELETEBLOCK';
    exports.INDENTBLOCK = 'INDENTBLOCK';
    exports.DELETEATCURSOR = 'DELETEATCURSOR';
    exports.MOVEBLOCK = 'MOVEBLOCK';
    exports.DUPLICATEBLOCK = 'DUPLICATEBLOCK';
    exports.FORMATTINGACTION = 'FORMATTINGACTION';
    exports.CLEAREVENTCHANGES = 'CLEAREVENTCHANGES';
    exports.DELETE_NON_MERGABLEBLOCK = 'DELETE_NON_MERGABLEBLOCK';
    exports.RTL_CLS = 'e-rtl';
    exports.DISABLED_CLS = 'e-disabled';
    exports.HIDDEN_CLS = 'e-hidden';
    exports.SPACE = ' ';
    exports.BLOCK_CONTAINER_ID = '_blockcontainer';
    exports.BLOCK_CONTAINER_CLS = 'e-block-container';
    exports.BLOCK_ID_PREFIX = 'block';
    exports.CONTENT_ID_PREFIX = 'content';
    exports.INDENT_KEY = '--block-indent';
    exports.BLOCK_CLS = 'e-block';
    exports.CONTENT_CLS = 'e-block-content';
    exports.CALLOUT_BLOCK_CLS = 'e-callout-block';
    exports.TOGGLE_BLOCK_CLS = 'e-toggle-block';
    exports.CALLOUT_CONTENT_CLS = 'e-callout-content';
    exports.TOGGLE_CONTENT_CLS = 'e-toggle-content';
    exports.TABLE_BLOCK_CLS = 'e-table-block';
    exports.TABLE_CELL_BLK_CONTAINER = 'e-cell-blocks-container';
    exports.TABLE_CELL_FOCUS = 'e-cell-focus';
    exports.BLOCKACTION_MENUBAR_ID = '_blockaction-menubar';
    exports.BLOCKACTION_POPUP_ID = '_blockaction-popup';
    exports.BLOCKACTION_TOOLTIP_ID = '_blockaction-tooltip';
    exports.BLOCKEDITOR_CONTEXTMENU_ID = '_contextmenu';
    exports.BLOCKEDITOR_INLINETBAR_ID = '_inline-toolbar';
    exports.INLINE_TBAR_POPUP_ID = '_inline-toolbar-popup';
    exports.INLINE_TBAR_TOOLTIP_ID = '_inline-toolbar-tooltip';
    exports.LINKDIALOG_ID = '_linkDialog';
    exports.BLOCKACTION_MENUBAR_CLS = 'e-blockeditor-blockaction-menubar';
    exports.BLOCKACTION_POPUP_CLS = 'e-blockeditor-blockaction-popup';
    exports.BLOCKACTION_TOOLTIP_CLS = 'e-blockeditor-blockaction-tooltip';
    exports.BLOCKEDITOR_CONTEXTMENU_CLS = 'e-blockeditor-contextmenu';
    exports.BLOCKEDITOR_INLINETBAR_CLS = 'e-blockeditor-inline-toolbar';
    exports.INLINE_TBAR_POPUP_CLS = 'e-blockeditor-inline-toolbar-popup';
    exports.INLINE_TBAR_TOOLTIP_CLS = 'e-blockeditor-inline-toolbar-tooltip';
    exports.LINKDIALOG_CLS = 'e-blockeditor-link-dialog';
    exports.TBAR_ITEM_CLS = 'e-toolbar-item';
});