UNPKG

@progress/kendo-vue-editor

Version:
208 lines (207 loc) 7.62 kB
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import { Editor as Lo } from "./Editor.mjs"; import { EditorToolsSettings as jo } from "./config/toolsSettings.mjs"; import { EditorUtils as Qo } from "./utils/main.mjs"; import { deleteTable as e, goToNextCell as o, toggleHeaderCell as t, toggleHeaderColumn as r, toggleHeaderRow as l, toggleHeader as n, setCellAttr as a, splitCellWithType as i, splitCell as p, mergeCells as d, deleteRow as s, addRowAfter as m, addRowBefore as c, addRow as u, rowIsHeader as f, deleteColumn as g, addColumnAfter as x, addColumnBefore as C, addColumn as S, selectedRect as R, updateColumnsOnResize as T, columnResizingPluginKey as y, columnResizing as k, tableEditingKey as w, TableMap as I, CellSelection as P, tableNodeTypes as b, tableNodes as M, columnIsHeader as N, addColSpan as A, removeColSpan as B, nextCell as D, colCount as K, findCell as h, inSameTable as E, moveCellForward as F, selectionCell as L, isInTable as H, cellAround as j, fixTablesKey as z, fixTables as Q, tableEditing as v, gapCursor as O, dropCursor as U, sinkListItem as J, liftListItem as V, splitListItem as W, wrapInList as q, addListNodes as G, listItem as X, bulletList as Y, orderedList as Z, keydownHandler as _, keymap as $, textblockTypeInputRule as ee, wrappingInputRule as oe, smartQuotes as te, closeSingleQuote as re, openSingleQuote as le, closeDoubleQuote as ne, openDoubleQuote as ae, ellipsis as ie, emDash as pe, undoInputRule as de, inputRules as se, InputRule as me, redoDepth as ce, undoDepth as ue, redo as fe, undo as ge, history as xe, baseKeymap as Ce, macBaseKeymap as Se, pcBaseKeymap as Re, chainCommands as Te, autoJoin as ye, toggleMark as ke, setBlockType as we, wrapIn as Ie, selectAll as Pe, selectParentNode as be, splitBlockKeepMarks as Me, splitBlock as Ne, liftEmptyBlock as Ae, createParagraphNear as Be, exitCode as De, newlineInCode as Ke, lift as he, joinDown as Ee, joinUp as Fe, selectNodeForward as Le, joinForward as He, selectNodeBackward as je, joinBackward as ze, deleteSelection as Qe, replaceStep as ve, ReplaceAroundStep as Oe, ReplaceStep as Ue, RemoveMarkStep as Je, AddMarkStep as Ve, Mapping as We, MapResult as qe, StepMap as Ge, findWrapping as Xe, liftTarget as Ye, dropPoint as Ze, insertPoint as _e, canSplit as $e, canJoin as eo, joinPoint as oo, StepResult as to, Step as ro, Transform as lo, DOMSerializer as no, DOMParser as ao, ContentMatch as io, MarkType as po, NodeType as so, Schema as mo, Mark as co, ReplaceError as uo, Slice as fo, Fragment as go, NodeRange as xo, ResolvedPos as Co, Node as So, EditorView as Ro, DecorationSet as To, Decoration as yo, Transaction as ko, PluginKey as wo, Plugin as Io, EditorState as Po, AllSelection as bo, NodeSelection as Mo, TextSelection as No, SelectionRange as Ao, Selection as Bo } from "@progress/kendo-editor-common"; import { Align as Oo } from "./tools/align.mjs"; import { Indent as Jo } from "./tools/indent.mjs"; import { List as Wo } from "./tools/lists.mjs"; import { Outdent as Go } from "./tools/outdent.mjs"; import { InlineFormat as Yo } from "./tools/inlineFormat.mjs"; import { FontName as _o } from "./tools/fontStyle.mjs"; import { FormatBlock as et } from "./tools/formatBlock.mjs"; import { ProseMirror as tt } from "./tools/proseMirrorTool.mjs"; import { LinkTool as lt } from "./tools/insertLink.mjs"; import { Unlink as at } from "./tools/unlink.mjs"; import { CleanFormatting as pt } from "./tools/cleanFormatting.mjs"; import { SelectAll as st } from "./tools/selectAll.mjs"; import { InsertImage as ct } from "./tools/insertImage.mjs"; import { InsertTable as ft } from "./tools/insertTable/tool.mjs"; import { ViewHtml as xt } from "./tools/viewHtml.mjs"; import { Pdf as St } from "./tools/pdf.mjs"; import { Print as Tt } from "./tools/print.mjs"; import { FindAndReplace as kt } from "./tools/findReplace.mjs"; import { ApplyColor as It } from "./tools/applyColor.mjs"; const Do = y, ho = { // prosemirror-state Selection: Bo, SelectionRange: Ao, TextSelection: No, NodeSelection: Mo, AllSelection: bo, EditorState: Po, Plugin: Io, PluginKey: wo, Transaction: ko, // prosemirror-view Decoration: yo, DecorationSet: To, EditorView: Ro, // prosemirror-model Node: So, ResolvedPos: Co, NodeRange: xo, Fragment: go, Slice: fo, ReplaceError: uo, Mark: co, Schema: mo, NodeType: so, MarkType: po, ContentMatch: io, DOMParser: ao, DOMSerializer: no, // prosemirror-transform Transform: lo, Step: ro, StepResult: to, joinPoint: oo, canJoin: eo, canSplit: $e, insertPoint: _e, dropPoint: Ze, liftTarget: Ye, findWrapping: Xe, StepMap: Ge, MapResult: qe, Mapping: We, AddMarkStep: Ve, RemoveMarkStep: Je, ReplaceStep: Ue, ReplaceAroundStep: Oe, replaceStep: ve, // prosemirror-commands deleteSelection: Qe, joinBackward: ze, selectNodeBackward: je, joinForward: He, selectNodeForward: Le, joinUp: Fe, joinDown: Ee, lift: he, newlineInCode: Ke, exitCode: De, createParagraphNear: Be, liftEmptyBlock: Ae, splitBlock: Ne, splitBlockKeepMarks: Me, selectParentNode: be, selectAll: Pe, wrapIn: Ie, setBlockType: we, toggleMark: ke, autoJoin: ye, chainCommands: Te, pcBaseKeymap: Re, macBaseKeymap: Se, baseKeymap: Ce, // prosemirror-history history: xe, undo: ge, redo: fe, undoDepth: ue, redoDepth: ce, // prosemirror-inputrules InputRule: me, inputRules: se, undoInputRule: de, emDash: pe, ellipsis: ie, openDoubleQuote: ae, closeDoubleQuote: ne, openSingleQuote: le, closeSingleQuote: re, smartQuotes: te, wrappingInputRule: oe, textblockTypeInputRule: ee, // prosemirror-keymap keymap: $, keydownHandler: _, // prosemirror-schema-list orderedList: Z, bulletList: Y, listItem: X, addListNodes: G, wrapInList: q, splitListItem: W, liftListItem: V, sinkListItem: J, // prosemirror-dropcursor dropCursor: U, // prosemirror-gapcursor gapCursor: O, // prosemirror-tables tableEditing: v, fixTables: Q, fixTablesKey: z, cellAround: j, isInTable: H, selectionCell: L, moveCellForward: F, inSameTable: E, findCell: h, colCount: K, nextCell: D, removeColSpan: B, addColSpan: A, columnIsHeader: N, tableNodes: M, tableNodeTypes: b, CellSelection: P, TableMap: I, tableEditingKey: w, columnResizing: k, columnResizingPluginKey: Do, updateColumnsOnResize: T, selectedRect: R, addColumn: S, addColumnBefore: C, addColumnAfter: x, deleteColumn: g, rowIsHeader: f, addRow: u, addRowBefore: c, addRowAfter: m, deleteRow: s, mergeCells: d, splitCell: p, splitCellWithType: i, setCellAttr: a, toggleHeader: n, toggleHeaderRow: l, toggleHeaderColumn: r, toggleHeaderCell: t, goToNextCell: o, deleteTable: e }; export { Oo as Align, It as ApplyColor, pt as CleanFormatting, Lo as Editor, jo as EditorToolsSettings, Qo as EditorUtils, kt as FindAndReplace, _o as FontName, et as FormatBlock, Jo as Indent, Yo as InlineFormat, ct as InsertImage, ft as InsertTable, lt as LinkTool, Wo as List, Go as Outdent, St as Pdf, Tt as Print, ho as ProseMirror, tt as ProseMirrorTool, st as SelectAll, at as Unlink, xt as ViewHtml };