@progress/kendo-react-editor 7.0.1 → 7.0.2-develop.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Editor.d.ts +1 -1
- package/dist/cdn/js/kendo-react-editor.js +3 -3
- package/index.d.mts +5 -0
- package/index.js +3 -3
- package/index.mjs +9 -9
- package/package.json +20 -14
- package/tools/insertTable/popup.d.ts +1 -1
package/index.mjs
CHANGED
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
"use client";
|
|
6
6
|
import * as l from "react";
|
|
7
|
-
import
|
|
7
|
+
import R from "prop-types";
|
|
8
8
|
import { Button as T, ToolbarSeparator as Ca, ButtonGroup as wa, Toolbar as xa, toolbarButtons as Pa, SplitButton as Sa } from "@progress/kendo-react-buttons";
|
|
9
9
|
import { IconWrap as Ue, validatePackage as Ia, shouldShowValidationUI as Na, classNames as X, WatermarkOverlay as Ra } from "@progress/kendo-react-common";
|
|
10
10
|
import { indentRules as al, bold as Aa, italic as Ta, underline as La, strikethrough as Ea, subscript as Da, superscript as Ba, link as rt, alignLeftRules as Ma, alignRightRules as Ha, alignCenterRules as za, alignJustifyRules as Fa, alignRemoveRules as Wa, outdentRules as Ka, applyLink as sl, getMark as lt, insertNode as xt, NodeSelection as il, PluginKey as Oe, trimWhitespace as st, setHtml as cl, indentHtml as dl, getHtml as pl, TextSelection as Be, find as $a, replace as Va, replaceAll as Ua, findAll as Oa, selectedLineTextOnly as _a, textHighlightKey as ja, chainCommands as ml, exitCode as ul, toggleInlineFormat as Me, undo as Pt, redo as _e, undoInputRule as gl, splitListItem as hl, goToNextCell as it, imageResizeKey as Ga, marks as fl, nodes as bl, alignBlocks as kl, applyInlineStyle as St, canIndentAsListItem as vl, canInsert as It, canOutdentAsListItem as yl, convertMsLists as qa, parseContent as Cl, createTable as wl, formatBlockElements as xl, getBlockFormats as Pl, getInlineStyles as Sl, hasMark as Nt, hasNode as ze, indentBlocks as Rt, isAligned as Il, isIndented as At, removeComments as Ja, removeTag as Qa, pasteCleanup as Xa, sanitizeClassAttr as Ya, sanitizeStyleAttr as Za, removeAttribute as es, sanitize as ts, replaceImageSourcesFromRtf as ls, textHighlight as os, imageResizing as ns, tableResizing as rs, toggleList as je, AllSelection as Nl, Plugin as Ve, spacesFix as as, caretColor as ss, history as Rl, dropCursor as Al, gapCursor as Tl, tableEditing as Ll, cspFix as is, Schema as El, EditorState as Dl, keymap as ct, baseKeymap as Bl, EditorView as Ml, sinkListItem as Hl, liftListItem as zl, addRowBefore as Fl, addRowAfter as Tt, addColumnBefore as Wl, addColumnAfter as Lt, deleteTable as Kl, mergeCells as $l, splitCell as Vl, deleteColumn as Ul, selectionCell as Et, deleteRow as Ol, removeLink as cs, selectAll as _l, cleanFormatting as ds, listStyle as Ft, TableMap as Le, htmlToFragment as jl, pmDocToFragment as ps, fragmentToHtml as ms, Selection as Gl, CellSelection as Dt, SelectionRange as us, Transaction as gs, Decoration as hs, DecorationSet as fs, Node as bs, ResolvedPos as ks, NodeRange as vs, Fragment as ys, Slice as Cs, ReplaceError as ws, Mark as xs, NodeType as Ps, MarkType as Ss, ContentMatch as Is, DOMParser as Ns, DOMSerializer as Rs, Transform as As, Step as Ts, StepResult as Ls, joinPoint as Es, canJoin as Ds, canSplit as Bs, insertPoint as Ms, dropPoint as Hs, liftTarget as zs, findWrapping as Fs, StepMap as Ws, MapResult as Ks, Mapping as $s, AddMarkStep as Vs, RemoveMarkStep as Us, ReplaceStep as Os, ReplaceAroundStep as _s, replaceStep as js, deleteSelection as Gs, joinBackward as qs, selectNodeBackward as Js, joinForward as Qs, selectNodeForward as Xs, joinUp as Ys, joinDown as Zs, lift as ei, newlineInCode as ti, createParagraphNear as li, liftEmptyBlock as oi, splitBlock as ni, splitBlockKeepMarks as ri, selectParentNode as ai, wrapIn as si, setBlockType as ii, toggleMark as ci, autoJoin as di, pcBaseKeymap as pi, macBaseKeymap as mi, undoDepth as ui, redoDepth as gi, InputRule as hi, inputRules as fi, emDash as bi, ellipsis as ki, openDoubleQuote as vi, closeDoubleQuote as yi, openSingleQuote as Ci, closeSingleQuote as wi, smartQuotes as xi, wrappingInputRule as Pi, textblockTypeInputRule as Si, keydownHandler as Ii, orderedList as Ni, bulletList as Ri, listItem as Ai, addListNodes as Ti, wrapInList as Li, fixTables as Ei, fixTablesKey as Di, cellAround as Bi, isInTable as Mi, moveCellForward as Hi, inSameTable as zi, findCell as Fi, colCount as Wi, nextCell as Ki, removeColSpan as $i, addColSpan as Vi, columnIsHeader as Ui, tableNodes as Oi, tableNodeTypes as _i, tableEditingKey as ji, columnResizing as Gi, columnResizingPluginKey as qi, updateColumnsOnResize as Ji, selectedRect as Qi, addColumn as Xi, rowIsHeader as Yi, addRow as Zi, splitCellWithType as ec, setCellAttr as tc, toggleHeader as lc, toggleHeaderRow as oc, toggleHeaderColumn as nc, toggleHeaderCell as rc } from "@progress/kendo-editor-common";
|
|
11
|
-
import { getHtml as
|
|
11
|
+
import { getHtml as Qp, marks as Xp, nodes as Yp, parseContent as Zp } from "@progress/kendo-editor-common";
|
|
12
12
|
import { boldIcon as ac, italicIcon as sc, underlineIcon as ic, strikethroughIcon as cc, subscriptIcon as dc, supscriptIcon as pc, linkIcon as mc, fileAddIcon as uc, tableAddIcon as gc, tableRowInsertAboveIcon as hc, tableRowInsertBelowIcon as fc, tableColumnInsertLeftIcon as bc, tableColumnInsertRightIcon as kc, tableRowDeleteIcon as vc, tableColumnDeleteIcon as yc, tableDeleteIcon as Cc, cellsMergeIcon as wc, cellSplitHorizontallyIcon as xc, printIcon as Pc, selectAllIcon as Sc, filePdfIcon as Ic, clearCssIcon as Nc, imageIcon as Rc, codeIcon as Ac, binocularsIcon as Tc, unlinkIcon as Lc, undoIcon as Ec, redoIcon as Dc, foregroundColorIcon as Bc, dropletIcon as Mc, alignLeftIcon as Hc, alignRightIcon as zc, alignCenterIcon as Fc, alignJustifyIcon as Wc, alignRemoveIcon as Kc, indentIcon as $c, outdentIcon as Vc, listOrderedIcon as dt, listUnorderedIcon as pt, chevronLeftIcon as Uc, chevronRightIcon as Oc, tableCellPropertiesIcon as _c, tableAlignTopLeftIcon as jc, tableAlignTopCenterIcon as Gc, tableAlignTopRightIcon as qc, tableAlignMiddleLeftIcon as ql, tableAlignMiddleCenterIcon as Jl, tableAlignMiddleRightIcon as Ql, tableAlignBottomLeftIcon as Jc, tableAlignBottomCenterIcon as Qc, tableAlignBottomRightIcon as Xc, tableAlignRemoveIcon as Xl, textWrapIcon as Yc, parameterStringIcon as Zc, tablePropertiesIcon as ed, tablePositionStartIcon as td, tablePositionCenterIcon as ld, tablePositionEndIcon as od, positionTopIcon as nd, positionBottomIcon as rd, listUnorderedOutlineIcon as ad, listUnorderedSquareIcon as sd, listRomanUpperIcon as id, listRomanLowerIcon as cd, listLatinBigIcon as dd, listLatinSmallIcon as pd } from "@progress/kendo-svg-icons";
|
|
13
13
|
import { Window as De, WindowActionsBar as We } from "@progress/kendo-react-dialogs";
|
|
14
14
|
import { Input as re, Checkbox as Ie, TextArea as md, ColorPicker as Fe, NumericTextBox as z, TextBox as He, InputPrefix as Yl } from "@progress/kendo-react-inputs";
|
|
@@ -1746,7 +1746,7 @@ const Ke = (t, e) => {
|
|
|
1746
1746
|
name: "@progress/kendo-react-editor",
|
|
1747
1747
|
productName: "KendoReact",
|
|
1748
1748
|
productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
|
|
1749
|
-
publishDate:
|
|
1749
|
+
publishDate: 1702631854,
|
|
1750
1750
|
version: "",
|
|
1751
1751
|
licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/"
|
|
1752
1752
|
}, { link: Vt, bold: Id, italic: Nd, underline: Rd } = P;
|
|
@@ -3967,7 +3967,7 @@ var rl;
|
|
|
3967
3967
|
}
|
|
3968
3968
|
t.FindAndReplace = ya;
|
|
3969
3969
|
})(rl || (rl = {}));
|
|
3970
|
-
const
|
|
3970
|
+
const Gp = {
|
|
3971
3971
|
// prosemirror-state
|
|
3972
3972
|
Selection: Gl,
|
|
3973
3973
|
SelectionRange: us,
|
|
@@ -4125,10 +4125,10 @@ export {
|
|
|
4125
4125
|
rl as EditorTools,
|
|
4126
4126
|
P as EditorToolsSettings,
|
|
4127
4127
|
Te as EditorUtils,
|
|
4128
|
-
|
|
4128
|
+
Gp as ProseMirror,
|
|
4129
4129
|
Xe as editorPropsKey,
|
|
4130
|
-
|
|
4131
|
-
|
|
4132
|
-
|
|
4133
|
-
|
|
4130
|
+
Qp as getHtml,
|
|
4131
|
+
Xp as marks,
|
|
4132
|
+
Yp as nodes,
|
|
4133
|
+
Zp as parseContent
|
|
4134
4134
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-react-editor",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.2-develop.2",
|
|
4
4
|
"description": "React Editor enables users to create rich text content through a WYSIWYG interface. KendoReact Editor package",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -10,24 +10,30 @@
|
|
|
10
10
|
"types": "./index.d.ts",
|
|
11
11
|
"exports": {
|
|
12
12
|
".": {
|
|
13
|
-
"import":
|
|
14
|
-
|
|
13
|
+
"import": {
|
|
14
|
+
"types": "./index.d.mts",
|
|
15
|
+
"default": "./index.mjs"
|
|
16
|
+
},
|
|
17
|
+
"require": {
|
|
18
|
+
"types": "./index.d.ts",
|
|
19
|
+
"default": "./index.js"
|
|
20
|
+
}
|
|
15
21
|
}
|
|
16
22
|
},
|
|
17
23
|
"sideEffects": false,
|
|
18
24
|
"peerDependencies": {
|
|
19
25
|
"@progress/kendo-drawing": "^1.17.2",
|
|
20
|
-
"@progress/kendo-licensing": "^1.3.
|
|
21
|
-
"@progress/kendo-react-buttons": "7.0.
|
|
22
|
-
"@progress/kendo-react-common": "7.0.
|
|
23
|
-
"@progress/kendo-react-dialogs": "7.0.
|
|
24
|
-
"@progress/kendo-react-dropdowns": "7.0.
|
|
25
|
-
"@progress/kendo-react-form": "7.0.
|
|
26
|
-
"@progress/kendo-react-inputs": "7.0.
|
|
27
|
-
"@progress/kendo-react-intl": "7.0.
|
|
28
|
-
"@progress/kendo-react-layout": "7.0.
|
|
29
|
-
"@progress/kendo-react-pdf": "7.0.
|
|
30
|
-
"@progress/kendo-react-popup": "7.0.
|
|
26
|
+
"@progress/kendo-licensing": "^1.3.4",
|
|
27
|
+
"@progress/kendo-react-buttons": "7.0.2-develop.2",
|
|
28
|
+
"@progress/kendo-react-common": "7.0.2-develop.2",
|
|
29
|
+
"@progress/kendo-react-dialogs": "7.0.2-develop.2",
|
|
30
|
+
"@progress/kendo-react-dropdowns": "7.0.2-develop.2",
|
|
31
|
+
"@progress/kendo-react-form": "7.0.2-develop.2",
|
|
32
|
+
"@progress/kendo-react-inputs": "7.0.2-develop.2",
|
|
33
|
+
"@progress/kendo-react-intl": "7.0.2-develop.2",
|
|
34
|
+
"@progress/kendo-react-layout": "7.0.2-develop.2",
|
|
35
|
+
"@progress/kendo-react-pdf": "7.0.2-develop.2",
|
|
36
|
+
"@progress/kendo-react-popup": "7.0.2-develop.2",
|
|
31
37
|
"@progress/kendo-svg-icons": "^2.0.0",
|
|
32
38
|
"react": "^16.8.2 || ^17.0.0 || ^18.0.0",
|
|
33
39
|
"react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0"
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
6
|
-
import
|
|
6
|
+
import PropTypes from 'prop-types';
|
|
7
7
|
/**
|
|
8
8
|
* @hidden
|
|
9
9
|
*/
|