@progress/kendo-react-editor 13.3.0 → 13.4.0-develop.1

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.
Files changed (76) hide show
  1. package/Editor.d.ts +125 -0
  2. package/Editor.js +1 -1
  3. package/Editor.mjs +77 -77
  4. package/EditorProps.d.ts +406 -0
  5. package/config/defaultStyles.d.ts +19 -0
  6. package/config/pasteSettings.d.ts +13 -0
  7. package/config/schema.d.ts +8 -0
  8. package/config/shortcuts.d.ts +31 -0
  9. package/config/shortcuts.mjs +7 -7
  10. package/config/toolsSettings.d.ts +496 -0
  11. package/dialogs/EditorDialogProps.d.ts +33 -0
  12. package/dialogs/FindReplace.d.ts +79 -0
  13. package/dialogs/FindReplace.mjs +3 -3
  14. package/dialogs/index.d.ts +56 -0
  15. package/dialogs/insertImage.d.ts +35 -0
  16. package/dialogs/insertImage.mjs +3 -3
  17. package/dialogs/insertLink.d.ts +33 -0
  18. package/dialogs/insertLink.mjs +3 -3
  19. package/dialogs/viewHtml.d.ts +32 -0
  20. package/dialogs/viewHtml.mjs +3 -3
  21. package/dist/cdn/js/kendo-react-editor.js +1 -1
  22. package/index.d.mts +176 -3134
  23. package/index.d.ts +176 -3134
  24. package/index.mjs +139 -139
  25. package/messages/index.d.ts +359 -0
  26. package/package-metadata.d.ts +12 -0
  27. package/package-metadata.js +1 -1
  28. package/package-metadata.mjs +10 -16
  29. package/package.json +12 -12
  30. package/tools/ToolProps.d.ts +41 -0
  31. package/tools/align.d.ts +14 -0
  32. package/tools/applyColor.d.ts +19 -0
  33. package/tools/cleanFormatting.d.ts +23 -0
  34. package/tools/findReplace.d.ts +36 -0
  35. package/tools/findReplace.mjs +3 -3
  36. package/tools/fontStyle.d.ts +35 -0
  37. package/tools/fontStyle.mjs +3 -3
  38. package/tools/formatBlock.d.ts +25 -0
  39. package/tools/formatBlock.mjs +3 -3
  40. package/tools/history.d.ts +33 -0
  41. package/tools/indent.d.ts +24 -0
  42. package/tools/index.d.ts +717 -0
  43. package/tools/index.mjs +1 -1
  44. package/tools/inlineFormat.d.ts +54 -0
  45. package/tools/inlineFormat.mjs +3 -3
  46. package/tools/insertImage.d.ts +20 -0
  47. package/tools/insertLink.d.ts +31 -0
  48. package/tools/insertTable/index.d.ts +10 -0
  49. package/tools/insertTable/popup.d.ts +100 -0
  50. package/tools/insertTable/popupGrid.d.ts +38 -0
  51. package/tools/insertTable/tool.d.ts +31 -0
  52. package/tools/lists-styled.d.ts +12 -0
  53. package/tools/lists.d.ts +34 -0
  54. package/tools/outdent.d.ts +24 -0
  55. package/tools/pdf.d.ts +32 -0
  56. package/tools/print.d.ts +23 -0
  57. package/tools/proseMirrorTool.d.ts +19 -0
  58. package/tools/selectAll.d.ts +23 -0
  59. package/tools/table-wizard/cellPropsUtils.d.ts +43 -0
  60. package/tools/table-wizard/cellPropsUtils.mjs +5 -5
  61. package/tools/table-wizard/tableCellProperties.d.ts +27 -0
  62. package/tools/table-wizard/tableProperties.d.ts +18 -0
  63. package/tools/table-wizard/tableProperties.mjs +13 -13
  64. package/tools/table-wizard/tablePropsUtils.d.ts +59 -0
  65. package/tools/table-wizard/tablePropsUtils.mjs +9 -9
  66. package/tools/table-wizard/utils.d.ts +46 -0
  67. package/tools/tableEdit.d.ts +105 -0
  68. package/tools/tableEdit.mjs +3 -3
  69. package/tools/unlink.d.ts +24 -0
  70. package/tools/utils.d.ts +57 -0
  71. package/tools/utils.mjs +1 -1
  72. package/tools/viewHtml.d.ts +31 -0
  73. package/utils/browser-detection.d.ts +11 -0
  74. package/utils/controlled-value.d.ts +12 -0
  75. package/utils/index.d.ts +370 -0
  76. package/utils/props-key.d.ts +12 -0
package/tools/index.mjs CHANGED
@@ -29,7 +29,7 @@ import { SelectAll as ve } from "./selectAll.mjs";
29
29
  import { CleanFormatting as Pe } from "./cleanFormatting.mjs";
30
30
  import { FindAndReplace as Ke } from "./findReplace.mjs";
31
31
  import { ListTool as N } from "./lists-styled.mjs";
32
- import { listUnorderedIcon as v, listOrderedIcon as P, listUnorderedOutlineIcon as Oe, listUnorderedSquareIcon as he, listRomanUpperIcon as He, listRomanLowerIcon as Ve, listLatinBigIcon as Me, listLatinSmallIcon as qe } from "@progress/kendo-svg-icons";
32
+ import { listUnorderedIcon as v, listUnorderedOutlineIcon as Oe, listUnorderedSquareIcon as he, listOrderedIcon as P, listRomanUpperIcon as He, listRomanLowerIcon as Ve, listLatinBigIcon as Me, listLatinSmallIcon as qe } from "@progress/kendo-svg-icons";
33
33
  import { keys as o } from "../messages/index.mjs";
34
34
  import { TableCellProperties as ze } from "./table-wizard/tableCellProperties.mjs";
35
35
  import { TableProperties as Je } from "./table-wizard/tableProperties.mjs";
@@ -0,0 +1,54 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { EditorToolsSettings } from '../config/toolsSettings.js';
9
+ import { ToolProps } from './ToolProps.js';
10
+ import * as React from 'react';
11
+ /**
12
+ * @hidden
13
+ */
14
+ export declare namespace InlineFormatToolNS {
15
+ /**
16
+ * @hidden
17
+ */
18
+ interface InlineFormatToolProps extends ToolProps {
19
+ }
20
+ /**
21
+ * @hidden
22
+ */
23
+ interface BoldProps extends InlineFormatToolProps {
24
+ }
25
+ /**
26
+ * @hidden
27
+ */
28
+ interface ItalicProps extends InlineFormatToolProps {
29
+ }
30
+ /**
31
+ * @hidden
32
+ */
33
+ interface UnderlineProps extends InlineFormatToolProps {
34
+ }
35
+ /**
36
+ * @hidden
37
+ */
38
+ interface StrikethroughProps extends InlineFormatToolProps {
39
+ }
40
+ /**
41
+ * @hidden
42
+ */
43
+ interface SubscriptProps extends InlineFormatToolProps {
44
+ }
45
+ /**
46
+ * @hidden
47
+ */
48
+ interface SuperscriptProps extends InlineFormatToolProps {
49
+ }
50
+ /**
51
+ * @hidden
52
+ */
53
+ const createInlineFormatTool: (settings: EditorToolsSettings.InlineFormatSettings) => React.ComponentClass<InlineFormatToolProps, any>;
54
+ }
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import * as s from "react";
9
9
  import { Button as v } from "@progress/kendo-react-buttons";
10
- import { toggleInlineFormat as h, hasMark as k } from "@progress/kendo-editor-common";
10
+ import { hasMark as h, toggleInlineFormat as k } from "@progress/kendo-editor-common";
11
11
  import { onDownPreventDefault as F } from "./utils.mjs";
12
12
  import { registerForLocalization as I, provideLocalizationService as S } from "@progress/kendo-react-intl";
13
13
  import { messages as T } from "../messages/index.mjs";
@@ -19,11 +19,11 @@ var m;
19
19
  const { view: t, render: a, ...p } = this.props, e = t && t.state, { mark: d, altMarks: u, altStyle: f } = o, n = { mark: d, altMarks: u, altStyle: f }, g = S(this), l = o.messages.title, i = /* @__PURE__ */ s.createElement(
20
20
  v,
21
21
  {
22
- onClick: () => t && h(
22
+ onClick: () => t && k(
23
23
  n,
24
24
  e && e.tr.setMeta("commandName", o.commandName)
25
25
  )(t.state, t.dispatch),
26
- selected: !!e && k(e, n),
26
+ selected: !!e && h(e, n),
27
27
  togglable: !0,
28
28
  ...F,
29
29
  title: g.toLanguageString(l, T[l]),
@@ -0,0 +1,20 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { EditorToolsSettings } from '../config/toolsSettings.js';
9
+ import { EditorTools } from './index.js';
10
+ import * as React from 'react';
11
+ /**
12
+ * @hidden
13
+ */
14
+ export interface InsertImageState {
15
+ openedDialog: boolean;
16
+ }
17
+ /**
18
+ * @hidden
19
+ */
20
+ export declare const createInsertImageTool: (settings: EditorToolsSettings.ImageSettings) => React.ComponentClass<EditorTools.InsertImageProps, InsertImageState>;
@@ -0,0 +1,31 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { ButtonProps } from '@progress/kendo-react-buttons';
9
+ import { EditorToolsSettings } from '../config/toolsSettings.js';
10
+ import { BasicToolProps, ToolWithDialogRenderProp } from './ToolProps.js';
11
+ import * as React from 'react';
12
+ /**
13
+ * @hidden
14
+ */
15
+ export declare namespace LinkToolNS {
16
+ /**
17
+ * @hidden
18
+ */
19
+ interface LinkProps extends BasicToolProps, ToolWithDialogRenderProp, ButtonProps {
20
+ }
21
+ /**
22
+ * @hidden
23
+ */
24
+ interface LinkToolState {
25
+ openedDialog: boolean;
26
+ }
27
+ /**
28
+ * @hidden
29
+ */
30
+ const createLinkTool: (settings: EditorToolsSettings.LinkSettings) => React.ComponentClass<LinkProps, LinkToolState>;
31
+ }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { InsertTableToolNS } from './tool.js';
9
+ import { InsertTablePopupNS } from './popup.js';
10
+ export { InsertTableToolNS, InsertTablePopupNS };
@@ -0,0 +1,100 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { default as PropTypes } from 'prop-types';
9
+ import * as React from 'react';
10
+ /**
11
+ * @hidden
12
+ */
13
+ export declare namespace InsertTablePopupNS {
14
+ /**
15
+ * @hidden
16
+ */
17
+ interface InsertTablePopupProps {
18
+ /**
19
+ * The element which will be used as an anchor.
20
+ */
21
+ anchor: HTMLButtonElement | null;
22
+ /**
23
+ * Controls the visibility of the Popup.
24
+ */
25
+ show: boolean;
26
+ /**
27
+ * The `Create a table` message.
28
+ */
29
+ createTableMessage: string;
30
+ /**
31
+ * The `Create a {0} x {1} table` message.
32
+ */
33
+ createTableHintMessage: string;
34
+ /**
35
+ * The number of rows.
36
+ */
37
+ rows?: number;
38
+ /**
39
+ * The number of columns.
40
+ */
41
+ columns?: number;
42
+ /**
43
+ * The `dir` HTML attribute.
44
+ */
45
+ dir?: string;
46
+ /**
47
+ * The `close` event which will be triggered when the `InsertTablePopup` is about to be closed.
48
+ */
49
+ onClose: () => void;
50
+ /**
51
+ * The `onTableInsert` event which will be triggered when a cell in `InsertTablePopup` is clicked.
52
+ */
53
+ onTableInsert: (row: number, col: number) => void;
54
+ }
55
+ /**
56
+ * @hidden
57
+ */
58
+ class InsertTablePopup extends React.Component<InsertTablePopupProps> {
59
+ /**
60
+ * @hidden
61
+ */
62
+ static propTypes: {
63
+ show: PropTypes.Validator<boolean>;
64
+ createTableMessage: PropTypes.Validator<string>;
65
+ createTableHintMessage: PropTypes.Validator<string>;
66
+ onClose: PropTypes.Validator<(...args: any[]) => any>;
67
+ onTableInsert: PropTypes.Validator<(...args: any[]) => any>;
68
+ anchor: PropTypes.Requireable<any>;
69
+ rows: PropTypes.Requireable<number>;
70
+ columns: PropTypes.Requireable<number>;
71
+ dir: PropTypes.Requireable<string>;
72
+ };
73
+ /**
74
+ * @hidden
75
+ */
76
+ static defaultProps: {
77
+ rows: number;
78
+ columns: number;
79
+ };
80
+ private pointerdown;
81
+ /**
82
+ * @hidden
83
+ */
84
+ componentDidUpdate(prevProps: InsertTablePopupProps): void;
85
+ /**
86
+ * @hidden
87
+ */
88
+ componentDidMount(): void;
89
+ /**
90
+ * @hidden
91
+ */
92
+ componentWillUnmount(): void;
93
+ /**
94
+ * @hidden
95
+ */
96
+ render(): React.JSX.Element;
97
+ private onWindowDown;
98
+ private onPointerDown;
99
+ }
100
+ }
@@ -0,0 +1,38 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import * as React from 'react';
9
+ /**
10
+ * @hidden
11
+ */
12
+ export interface PopupGridProps {
13
+ rows: number;
14
+ columns: number;
15
+ createTableMessage: string;
16
+ createTableHintMessage: string;
17
+ onCellClick: (row: number, col: number) => void;
18
+ onDown: () => void;
19
+ }
20
+ /**
21
+ * @hidden
22
+ */
23
+ interface PopupGridState {
24
+ row: number;
25
+ col: number;
26
+ }
27
+ /**
28
+ * @hidden
29
+ */
30
+ export default class PopupGrid extends React.Component<PopupGridProps, PopupGridState> {
31
+ readonly state: {
32
+ row: number;
33
+ col: number;
34
+ };
35
+ renderCell(index: number, selRow: number, selCol: number): React.JSX.Element;
36
+ render(): React.JSX.Element[];
37
+ }
38
+ export {};
@@ -0,0 +1,31 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { ButtonProps } from '@progress/kendo-react-buttons';
9
+ import { EditorToolsSettings } from './../../config/toolsSettings.js';
10
+ import { BasicToolProps, ToolWithDialogRenderProp } from './../ToolProps.js';
11
+ import * as React from 'react';
12
+ /**
13
+ * @hidden
14
+ */
15
+ export declare namespace InsertTableToolNS {
16
+ /**
17
+ * @hidden
18
+ */
19
+ interface InsertTableProps extends BasicToolProps, ToolWithDialogRenderProp, ButtonProps {
20
+ }
21
+ /**
22
+ * @hidden
23
+ */
24
+ interface InsertTableToolState {
25
+ openedPopup: boolean;
26
+ }
27
+ /**
28
+ * @hidden
29
+ */
30
+ const createInsertTableTool: (settings: EditorToolsSettings.InsertTableSettings) => React.ComponentClass<InsertTableProps, InsertTableToolState>;
31
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import * as React from 'react';
9
+ /**
10
+ * @hidden
11
+ */
12
+ export declare const ListTool: (props: any) => React.JSX.Element;
@@ -0,0 +1,34 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { EditorToolsSettings } from '../config/toolsSettings.js';
9
+ import { ToolProps } from './ToolProps.js';
10
+ import * as React from 'react';
11
+ /**
12
+ * @hidden
13
+ */
14
+ export declare namespace ListToolNS {
15
+ /**
16
+ * @hidden
17
+ */
18
+ interface ListToolProps extends ToolProps {
19
+ }
20
+ /**
21
+ * @hidden
22
+ */
23
+ interface OrderedListProps extends ListToolProps {
24
+ }
25
+ /**
26
+ * @hidden
27
+ */
28
+ interface UnorderedListProps extends ListToolProps {
29
+ }
30
+ /**
31
+ * @hidden
32
+ */
33
+ const createListTool: (settings: EditorToolsSettings.ListSettings) => React.ComponentClass<ListToolProps, any>;
34
+ }
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { EditorToolsSettings } from '../config/toolsSettings.js';
9
+ import { IndentToolNS } from './indent.js';
10
+ import * as React from 'react';
11
+ /**
12
+ * @hidden
13
+ */
14
+ export declare namespace OutdentToolNS {
15
+ /**
16
+ * @hidden
17
+ */
18
+ interface OutdentProps extends IndentToolNS.IndentProps {
19
+ }
20
+ /**
21
+ * @hidden
22
+ */
23
+ const createOutdentTool: (settings: EditorToolsSettings.IndentationSettings) => React.ComponentClass<OutdentProps, any>;
24
+ }
package/tools/pdf.d.ts ADDED
@@ -0,0 +1,32 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { ToolProps } from './ToolProps.js';
9
+ import { EditorToolsSettings } from './../config/toolsSettings.js';
10
+ import { PDFExportProps } from '@progress/kendo-react-pdf';
11
+ import * as React from 'react';
12
+ /**
13
+ * @hidden
14
+ */
15
+ export interface PdfProps extends ToolProps {
16
+ /**
17
+ * The settings of the tool. Use it to modify the tool appearance.
18
+ */
19
+ settings?: EditorToolsSettings.PdfSettings;
20
+ /**
21
+ * The options which will be passed to the [`savePDF`](https://www.telerik.com/kendo-react-ui/components/pdf/api/savepdf) function.
22
+ */
23
+ savePdfOptions?: PDFExportProps;
24
+ /**
25
+ * The callback which will be passed to the [`savePDF`](https://www.telerik.com/kendo-react-ui/components/pdf/api/savepdf) function.
26
+ */
27
+ savePdfCallback?: () => void;
28
+ }
29
+ /**
30
+ * @hidden
31
+ */
32
+ export declare const Pdf: React.FunctionComponent<PdfProps>;
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { ToolProps } from './ToolProps.js';
9
+ import { EditorToolsSettings } from './../config/toolsSettings.js';
10
+ import * as React from 'react';
11
+ /**
12
+ * @hidden
13
+ */
14
+ export interface PrintProps extends ToolProps {
15
+ /**
16
+ * The settings of the tool. Use it to modify the tool appearance.
17
+ */
18
+ settings?: EditorToolsSettings.PrintSettings;
19
+ }
20
+ /**
21
+ * @hidden
22
+ */
23
+ export declare const Print: React.FunctionComponent<PrintProps>;
@@ -0,0 +1,19 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { EditorToolsSettings } from '../config/toolsSettings.js';
9
+ import { EditorState, Transaction } from '@progress/kendo-editor-common';
10
+ import { ToolProps } from './ToolProps.js';
11
+ import * as React from 'react';
12
+ /**
13
+ * @hidden
14
+ */
15
+ export declare type ProseMirrorCommand = (state: EditorState, dispatch?: (tr: Transaction) => void) => boolean;
16
+ /**
17
+ * @hidden
18
+ */
19
+ export declare const createProseMirrorTool: (settings: EditorToolsSettings.ToolSettings, command: ProseMirrorCommand) => React.ComponentClass<ToolProps, any>;
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { ToolProps } from './ToolProps.js';
9
+ import { EditorToolsSettings } from './../config/toolsSettings.js';
10
+ import * as React from 'react';
11
+ /**
12
+ * @hidden
13
+ */
14
+ export interface SelectAllToolProps extends ToolProps {
15
+ /**
16
+ * The settings of the tool. Use it to modify the tool appearance.
17
+ */
18
+ settings?: EditorToolsSettings.SelectAllSettings;
19
+ }
20
+ /**
21
+ * @hidden
22
+ */
23
+ export declare const SelectAll: React.FunctionComponent<SelectAllToolProps>;
@@ -0,0 +1,43 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { EditorState, Transaction } from '@progress/kendo-editor-common';
9
+ /**
10
+ * @hidden
11
+ */
12
+ interface CellData {
13
+ applyToAll: boolean;
14
+ cellWidth: number | null;
15
+ widthUnit: string;
16
+ cellHeight: number | null;
17
+ heightUnit: string;
18
+ alignment: {
19
+ x: string;
20
+ y: string;
21
+ };
22
+ textControl: string;
23
+ backgroundColor?: string;
24
+ cellPadding: number | null;
25
+ borderWidth: number | null;
26
+ borderColor?: string;
27
+ borderStyle: string | null;
28
+ id: string;
29
+ className: string;
30
+ }
31
+ /**
32
+ * @hidden
33
+ */
34
+ declare const initialCellData: CellData;
35
+ /**
36
+ * @hidden
37
+ */
38
+ declare const cellsDefaultData: (state: EditorState) => CellData;
39
+ /**
40
+ * @hidden
41
+ */
42
+ declare const applyCellsData: (state: EditorState, data: CellData) => Transaction;
43
+ export { CellData, initialCellData, cellsDefaultData, applyCellsData };
@@ -6,7 +6,7 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  import { htmlToFragment as x } from "@progress/kendo-editor-common";
9
- import { selectedCells as v, tableCells as W, getUnit as N, parseStyle as S, setNodeStyle as u } from "./utils.mjs";
9
+ import { tableCells as W, selectedCells as v, setNodeStyle as u, parseStyle as N, getUnit as S } from "./utils.mjs";
10
10
  import { parentNode as k } from "../utils.mjs";
11
11
  const f = "k-colgroup-data", H = (o, e, r) => {
12
12
  const l = {
@@ -25,7 +25,7 @@ const f = "k-colgroup-data", H = (o, e, r) => {
25
25
  g += c.child(y).attrs.colspan;
26
26
  const i = b.children[g - 1];
27
27
  i && (s = i.style.width, h.add(s));
28
- }), h.size === 1 && s && (l.cellWidth = parseFloat(s) || null, l.widthUnit = N(s)), l;
28
+ }), h.size === 1 && s && (l.cellWidth = parseFloat(s) || null, l.widthUnit = S(s)), l;
29
29
  }, P = (o, e, r) => {
30
30
  const l = {
31
31
  cellHeight: null,
@@ -35,14 +35,14 @@ const f = "k-colgroup-data", H = (o, e, r) => {
35
35
  return o.forEach((b) => {
36
36
  var c;
37
37
  const a = n.resolve(b.pos - t).parent;
38
- s = S(((c = a.attrs) == null ? void 0 : c.style) || "").height || "", h.add(s);
39
- }), h.size === 1 && s && (l.cellHeight = parseFloat(s) || null, l.heightUnit = N(s)), l;
38
+ s = N(((c = a.attrs) == null ? void 0 : c.style) || "").height || "", h.add(s);
39
+ }), h.size === 1 && s && (l.cellHeight = parseFloat(s) || null, l.heightUnit = S(s)), l;
40
40
  }, p = (o, e) => {
41
41
  const r = /* @__PURE__ */ new Set();
42
42
  let l = "";
43
43
  return o.forEach((n) => {
44
44
  var t;
45
- l = S(((t = n.node.attrs) == null ? void 0 : t.style) || "")[e] || "", r.add(l);
45
+ l = N(((t = n.node.attrs) == null ? void 0 : t.style) || "")[e] || "", r.add(l);
46
46
  }), r.size === 1 && l ? l : "";
47
47
  }, w = (o, e) => {
48
48
  const r = /* @__PURE__ */ new Set();
@@ -0,0 +1,27 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { ListItemProps } from '@progress/kendo-react-dropdowns';
9
+ import { ToolProps } from '../ToolProps.js';
10
+ import * as React from 'react';
11
+ /**
12
+ * @hidden
13
+ */
14
+ export interface TableCellPropertiesProps extends ToolProps {
15
+ }
16
+ /**
17
+ * @hidden
18
+ */
19
+ export declare const TableCellProperties: React.FunctionComponent<TableCellPropertiesProps>;
20
+ /**
21
+ * @hidden
22
+ */
23
+ export declare const valueRenderWithIcon: (element: React.ReactElement<HTMLSpanElement>, value: any) => React.JSX.Element;
24
+ /**
25
+ * @hidden
26
+ */
27
+ export declare const itemRenderWithIcon: (li: React.ReactElement<any>, itemProps: ListItemProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
@@ -0,0 +1,18 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { ToolProps } from './../ToolProps.js';
9
+ import * as React from 'react';
10
+ /**
11
+ * @hidden
12
+ */
13
+ export interface TablePropertiesProps extends ToolProps {
14
+ }
15
+ /**
16
+ * @hidden
17
+ */
18
+ export declare const TableProperties: React.FunctionComponent<TablePropertiesProps>;