@progress/kendo-react-editor 13.3.0 → 13.4.0-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 +125 -0
- package/Editor.js +1 -1
- package/Editor.mjs +77 -77
- package/EditorProps.d.ts +406 -0
- package/config/defaultStyles.d.ts +19 -0
- package/config/pasteSettings.d.ts +13 -0
- package/config/schema.d.ts +8 -0
- package/config/shortcuts.d.ts +31 -0
- package/config/shortcuts.mjs +7 -7
- package/config/toolsSettings.d.ts +496 -0
- package/dialogs/EditorDialogProps.d.ts +33 -0
- package/dialogs/FindReplace.d.ts +79 -0
- package/dialogs/FindReplace.mjs +3 -3
- package/dialogs/index.d.ts +56 -0
- package/dialogs/insertImage.d.ts +35 -0
- package/dialogs/insertImage.mjs +3 -3
- package/dialogs/insertLink.d.ts +33 -0
- package/dialogs/insertLink.mjs +3 -3
- package/dialogs/viewHtml.d.ts +32 -0
- package/dialogs/viewHtml.mjs +3 -3
- package/dist/cdn/js/kendo-react-editor.js +1 -1
- package/index.d.mts +176 -3134
- package/index.d.ts +176 -3134
- package/index.mjs +139 -139
- package/messages/index.d.ts +359 -0
- package/package-metadata.d.ts +12 -0
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +10 -16
- package/package.json +12 -12
- package/tools/ToolProps.d.ts +41 -0
- package/tools/align.d.ts +14 -0
- package/tools/applyColor.d.ts +19 -0
- package/tools/cleanFormatting.d.ts +23 -0
- package/tools/findReplace.d.ts +36 -0
- package/tools/findReplace.mjs +3 -3
- package/tools/fontStyle.d.ts +35 -0
- package/tools/fontStyle.mjs +3 -3
- package/tools/formatBlock.d.ts +25 -0
- package/tools/formatBlock.mjs +3 -3
- package/tools/history.d.ts +33 -0
- package/tools/indent.d.ts +24 -0
- package/tools/index.d.ts +717 -0
- package/tools/index.mjs +1 -1
- package/tools/inlineFormat.d.ts +54 -0
- package/tools/inlineFormat.mjs +3 -3
- package/tools/insertImage.d.ts +20 -0
- package/tools/insertLink.d.ts +31 -0
- package/tools/insertTable/index.d.ts +10 -0
- package/tools/insertTable/popup.d.ts +100 -0
- package/tools/insertTable/popupGrid.d.ts +38 -0
- package/tools/insertTable/tool.d.ts +31 -0
- package/tools/lists-styled.d.ts +12 -0
- package/tools/lists.d.ts +34 -0
- package/tools/outdent.d.ts +24 -0
- package/tools/pdf.d.ts +32 -0
- package/tools/print.d.ts +23 -0
- package/tools/proseMirrorTool.d.ts +19 -0
- package/tools/selectAll.d.ts +23 -0
- package/tools/table-wizard/cellPropsUtils.d.ts +43 -0
- package/tools/table-wizard/cellPropsUtils.mjs +5 -5
- package/tools/table-wizard/tableCellProperties.d.ts +27 -0
- package/tools/table-wizard/tableProperties.d.ts +18 -0
- package/tools/table-wizard/tableProperties.mjs +13 -13
- package/tools/table-wizard/tablePropsUtils.d.ts +59 -0
- package/tools/table-wizard/tablePropsUtils.mjs +9 -9
- package/tools/table-wizard/utils.d.ts +46 -0
- package/tools/tableEdit.d.ts +105 -0
- package/tools/tableEdit.mjs +3 -3
- package/tools/unlink.d.ts +24 -0
- package/tools/utils.d.ts +57 -0
- package/tools/utils.mjs +1 -1
- package/tools/viewHtml.d.ts +31 -0
- package/utils/browser-detection.d.ts +11 -0
- package/utils/controlled-value.d.ts +12 -0
- package/utils/index.d.ts +370 -0
- package/utils/props-key.d.ts +12 -0
package/package-metadata.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=Object.freeze({name:"@progress/kendo-react-editor",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate:
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=Object.freeze({name:"@progress/kendo-react-editor",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate: 1770288258,version:"13.4.0-develop.2",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"});exports.packageMetadata=e;
|
package/package-metadata.mjs
CHANGED
|
@@ -1,19 +1,13 @@
|
|
|
1
|
+
// Generated file. DO NOT EDIT.
|
|
1
2
|
/**
|
|
2
|
-
* @
|
|
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
|
-
*-------------------------------------------------------------------------------------------
|
|
3
|
+
* @hidden
|
|
7
4
|
*/
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
5
|
+
export const packageMetadata = Object.freeze({
|
|
6
|
+
name: '@progress/kendo-react-editor',
|
|
7
|
+
productName: 'KendoReact',
|
|
8
|
+
productCode: 'KENDOUIREACT',
|
|
9
|
+
productCodes: ['KENDOUIREACT'],
|
|
10
|
+
publishDate: 0,
|
|
11
|
+
version: '13.4.0-develop.2',
|
|
12
|
+
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/components/my-license/'
|
|
16
13
|
});
|
|
17
|
-
export {
|
|
18
|
-
e as packageMetadata
|
|
19
|
-
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-react-editor",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.4.0-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",
|
|
@@ -27,16 +27,16 @@
|
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"@progress/kendo-drawing": "^1.21.2",
|
|
29
29
|
"@progress/kendo-licensing": "^1.7.2",
|
|
30
|
-
"@progress/kendo-react-buttons": "13.
|
|
31
|
-
"@progress/kendo-react-common": "13.
|
|
32
|
-
"@progress/kendo-react-dialogs": "13.
|
|
33
|
-
"@progress/kendo-react-dropdowns": "13.
|
|
34
|
-
"@progress/kendo-react-form": "13.
|
|
35
|
-
"@progress/kendo-react-inputs": "13.
|
|
36
|
-
"@progress/kendo-react-intl": "13.
|
|
37
|
-
"@progress/kendo-react-layout": "13.
|
|
38
|
-
"@progress/kendo-react-pdf": "13.
|
|
39
|
-
"@progress/kendo-react-popup": "13.
|
|
30
|
+
"@progress/kendo-react-buttons": "13.4.0-develop.2",
|
|
31
|
+
"@progress/kendo-react-common": "13.4.0-develop.2",
|
|
32
|
+
"@progress/kendo-react-dialogs": "13.4.0-develop.2",
|
|
33
|
+
"@progress/kendo-react-dropdowns": "13.4.0-develop.2",
|
|
34
|
+
"@progress/kendo-react-form": "13.4.0-develop.2",
|
|
35
|
+
"@progress/kendo-react-inputs": "13.4.0-develop.2",
|
|
36
|
+
"@progress/kendo-react-intl": "13.4.0-develop.2",
|
|
37
|
+
"@progress/kendo-react-layout": "13.4.0-develop.2",
|
|
38
|
+
"@progress/kendo-react-pdf": "13.4.0-develop.2",
|
|
39
|
+
"@progress/kendo-react-popup": "13.4.0-develop.2",
|
|
40
40
|
"@progress/kendo-svg-icons": "^4.0.0",
|
|
41
41
|
"react": "^16.8.2 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
|
|
42
42
|
"react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"package": {
|
|
64
64
|
"productName": "KendoReact",
|
|
65
65
|
"productCode": "KENDOUIREACT",
|
|
66
|
-
"publishDate":
|
|
66
|
+
"publishDate": 1770288258,
|
|
67
67
|
"licensingDocsUrl": "https://www.telerik.com/kendo-react-ui/components/my-license/"
|
|
68
68
|
}
|
|
69
69
|
},
|
|
@@ -0,0 +1,41 @@
|
|
|
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 { EditorView } from '@progress/kendo-editor-common';
|
|
9
|
+
import { ButtonProps } from '@progress/kendo-react-buttons';
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
export interface BasicToolProps {
|
|
14
|
+
/**
|
|
15
|
+
* The `EditorView` object of the Editor component.
|
|
16
|
+
*/
|
|
17
|
+
view?: EditorView;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* @hidden
|
|
21
|
+
*/
|
|
22
|
+
export interface ToolProps extends BasicToolProps, ToolRenderProp, ButtonProps {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @hidden
|
|
26
|
+
*/
|
|
27
|
+
export interface ToolRenderProp {
|
|
28
|
+
/**
|
|
29
|
+
* Fires when a tool is about to be rendered. Used to override the default appearance of the tool.
|
|
30
|
+
*/
|
|
31
|
+
render?: (tool: React.ReactElement<any>, args?: any) => React.ReactNode;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* @hidden
|
|
35
|
+
*/
|
|
36
|
+
export interface ToolWithDialogRenderProp {
|
|
37
|
+
/**
|
|
38
|
+
* Fires when a tool is about to be rendered. Used to override the default appearance of the tool.
|
|
39
|
+
*/
|
|
40
|
+
render?: (tool: [React.ReactElement<any>, React.ReactElement<any> | null], args?: any) => React.ReactNode;
|
|
41
|
+
}
|
package/tools/align.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
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 declare const createAlignTool: (settings: EditorToolsSettings.AlignSettings) => React.ComponentClass<EditorTools.AlignToolProps, any>;
|
|
@@ -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 { BasicToolProps } from './ToolProps.js';
|
|
10
|
+
import * as React from 'react';
|
|
11
|
+
/**
|
|
12
|
+
* @hidden
|
|
13
|
+
*/
|
|
14
|
+
export interface ApplyColorToolProps extends BasicToolProps, EditorToolsSettings.ApplyColorSettings {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @hidden
|
|
18
|
+
*/
|
|
19
|
+
export declare const ApplyColorTool: React.FunctionComponent<ApplyColorToolProps>;
|
|
@@ -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 CleanFormattingToolProps extends ToolProps {
|
|
15
|
+
/**
|
|
16
|
+
* The settings of the tool. Use it to modify the tool appearance.
|
|
17
|
+
*/
|
|
18
|
+
settings?: EditorToolsSettings.CleanFormattingSettings;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @hidden
|
|
22
|
+
*/
|
|
23
|
+
export declare const CleanFormatting: React.FunctionComponent<CleanFormattingToolProps>;
|
|
@@ -0,0 +1,36 @@
|
|
|
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 { BasicToolProps } from './ToolProps.js';
|
|
10
|
+
import * as React from 'react';
|
|
11
|
+
/**
|
|
12
|
+
* @hidden
|
|
13
|
+
*/
|
|
14
|
+
export interface FindAndReplaceProps extends BasicToolProps, ButtonProps {
|
|
15
|
+
}
|
|
16
|
+
interface FindAndReplaceState {
|
|
17
|
+
showDialog: boolean;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* @hidden
|
|
21
|
+
*/
|
|
22
|
+
export declare class FindAndReplace extends React.Component<FindAndReplaceProps, FindAndReplaceState> {
|
|
23
|
+
/**
|
|
24
|
+
* @hidden
|
|
25
|
+
*/
|
|
26
|
+
state: {
|
|
27
|
+
showDialog: boolean;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* @hidden
|
|
31
|
+
*/
|
|
32
|
+
render(): (false | React.JSX.Element | undefined)[];
|
|
33
|
+
private onClose;
|
|
34
|
+
private onOpen;
|
|
35
|
+
}
|
|
36
|
+
export {};
|
package/tools/findReplace.mjs
CHANGED
|
@@ -11,7 +11,7 @@ import { FindAndReplaceDialog as c } from "../dialogs/FindReplace.mjs";
|
|
|
11
11
|
import { onDownPreventDefault as d } from "./utils.mjs";
|
|
12
12
|
import { messages as m } from "../messages/index.mjs";
|
|
13
13
|
import { EditorToolsSettings as p } from "../config/toolsSettings.mjs";
|
|
14
|
-
import {
|
|
14
|
+
import { provideLocalizationService as g, registerForLocalization as h } from "@progress/kendo-react-intl";
|
|
15
15
|
import { classNames as f } from "@progress/kendo-react-common";
|
|
16
16
|
const n = p.findAndReplace;
|
|
17
17
|
let u = class extends s.Component {
|
|
@@ -22,7 +22,7 @@ let u = class extends s.Component {
|
|
|
22
22
|
* @hidden
|
|
23
23
|
*/
|
|
24
24
|
render() {
|
|
25
|
-
const { view: e, ...o } = this.props, { props: i } = n, r =
|
|
25
|
+
const { view: e, ...o } = this.props, { props: i } = n, r = g(this), a = n.messages.findReplaceToolTitle, t = !e;
|
|
26
26
|
return [
|
|
27
27
|
/* @__PURE__ */ s.createElement(
|
|
28
28
|
l,
|
|
@@ -41,7 +41,7 @@ let u = class extends s.Component {
|
|
|
41
41
|
];
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
|
-
|
|
44
|
+
h(u);
|
|
45
45
|
export {
|
|
46
46
|
u as FindAndReplace
|
|
47
47
|
};
|
|
@@ -0,0 +1,35 @@
|
|
|
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 { DropDownListProps } from '@progress/kendo-react-dropdowns';
|
|
9
|
+
import { EditorToolsSettings } from '../config/toolsSettings.js';
|
|
10
|
+
import { BasicToolProps, ToolRenderProp } from './ToolProps.js';
|
|
11
|
+
import * as React from 'react';
|
|
12
|
+
/**
|
|
13
|
+
* @hidden
|
|
14
|
+
*/
|
|
15
|
+
export declare namespace FontStyleToolNS {
|
|
16
|
+
/**
|
|
17
|
+
* @hidden
|
|
18
|
+
*/
|
|
19
|
+
interface DropDownListToolProps extends BasicToolProps, ToolRenderProp, DropDownListProps {
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* @hidden
|
|
23
|
+
*/
|
|
24
|
+
interface FontSizeProps extends DropDownListToolProps {
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* @hidden
|
|
28
|
+
*/
|
|
29
|
+
interface FontNameProps extends DropDownListToolProps {
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @hidden
|
|
33
|
+
*/
|
|
34
|
+
const createStyleDropDownList: (settings: EditorToolsSettings.StyleDropDownListSettings) => React.ComponentClass<DropDownListToolProps, any>;
|
|
35
|
+
}
|
package/tools/fontStyle.mjs
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import * as d from "react";
|
|
9
9
|
import { DropDownList as g } from "@progress/kendo-react-dropdowns";
|
|
10
10
|
import { applyInlineStyle as S, getInlineStyles as z } from "@progress/kendo-editor-common";
|
|
11
|
-
import {
|
|
11
|
+
import { userSelectNone as w, itemRender as x } from "./utils.mjs";
|
|
12
12
|
import { registerForLocalization as I, provideLocalizationService as D } from "@progress/kendo-react-intl";
|
|
13
13
|
import { messages as K } from "../messages/index.mjs";
|
|
14
14
|
var f;
|
|
@@ -41,11 +41,11 @@ var f;
|
|
|
41
41
|
value: l && m.find((h) => h.value === l),
|
|
42
42
|
data: m,
|
|
43
43
|
defaultItem: e,
|
|
44
|
-
itemRender:
|
|
44
|
+
itemRender: x,
|
|
45
45
|
textField: "text",
|
|
46
46
|
dataItemKey: "value",
|
|
47
47
|
onChange: this.onChange,
|
|
48
|
-
style:
|
|
48
|
+
style: w,
|
|
49
49
|
leftRightKeysNavigation: !1,
|
|
50
50
|
title: e && e.text,
|
|
51
51
|
...s
|
|
@@ -0,0 +1,25 @@
|
|
|
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 { DropDownListProps } from '@progress/kendo-react-dropdowns';
|
|
9
|
+
import { EditorToolsSettings } from '../config/toolsSettings.js';
|
|
10
|
+
import { BasicToolProps, ToolRenderProp } from './ToolProps.js';
|
|
11
|
+
import * as React from 'react';
|
|
12
|
+
/**
|
|
13
|
+
* @hidden
|
|
14
|
+
*/
|
|
15
|
+
export declare namespace FormatBlockToolNS {
|
|
16
|
+
/**
|
|
17
|
+
* @hidden
|
|
18
|
+
*/
|
|
19
|
+
interface FormatBlockProps extends BasicToolProps, ToolRenderProp, DropDownListProps {
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* @hidden
|
|
23
|
+
*/
|
|
24
|
+
const createFormatBlockDropDownList: (settings: EditorToolsSettings.FormatBlockDropDownListSettings) => React.ComponentClass<FormatBlockProps, any>;
|
|
25
|
+
}
|
package/tools/formatBlock.mjs
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import * as d from "react";
|
|
9
9
|
import { DropDownList as y } from "@progress/kendo-react-dropdowns";
|
|
10
10
|
import { formatBlockElements as z, getBlockFormats as w } from "@progress/kendo-editor-common";
|
|
11
|
-
import {
|
|
11
|
+
import { userSelectNone as x, itemRender as k } from "./utils.mjs";
|
|
12
12
|
import { registerForLocalization as D, provideLocalizationService as F } from "@progress/kendo-react-intl";
|
|
13
13
|
import { messages as K } from "../messages/index.mjs";
|
|
14
14
|
var f;
|
|
@@ -37,12 +37,12 @@ var f;
|
|
|
37
37
|
{
|
|
38
38
|
value: n && l.find((h) => h.value === n),
|
|
39
39
|
onChange: this.onChange,
|
|
40
|
-
itemRender:
|
|
40
|
+
itemRender: k,
|
|
41
41
|
data: l,
|
|
42
42
|
defaultItem: t,
|
|
43
43
|
textField: "text",
|
|
44
44
|
dataItemKey: "value",
|
|
45
|
-
style:
|
|
45
|
+
style: x,
|
|
46
46
|
leftRightKeysNavigation: !1,
|
|
47
47
|
title: t.text,
|
|
48
48
|
...v
|
|
@@ -0,0 +1,33 @@
|
|
|
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 HistoryToolNS {
|
|
15
|
+
/**
|
|
16
|
+
* @hidden
|
|
17
|
+
*/
|
|
18
|
+
interface UndoProps extends ToolProps {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @hidden
|
|
22
|
+
*/
|
|
23
|
+
interface RedoProps extends ToolProps {
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* @hidden
|
|
27
|
+
*/
|
|
28
|
+
const createUndoTool: (settings: EditorToolsSettings.ToolSettings) => React.ComponentClass<ToolProps, React.ComponentState>;
|
|
29
|
+
/**
|
|
30
|
+
* @hidden
|
|
31
|
+
*/
|
|
32
|
+
const createRedoTool: (settings: EditorToolsSettings.ToolSettings) => React.ComponentClass<ToolProps, any>;
|
|
33
|
+
}
|
|
@@ -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 { ToolProps } from './ToolProps.js';
|
|
10
|
+
import * as React from 'react';
|
|
11
|
+
/**
|
|
12
|
+
* @hidden
|
|
13
|
+
*/
|
|
14
|
+
export declare namespace IndentToolNS {
|
|
15
|
+
/**
|
|
16
|
+
* @hidden
|
|
17
|
+
*/
|
|
18
|
+
interface IndentProps extends ToolProps {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @hidden
|
|
22
|
+
*/
|
|
23
|
+
const createIndentTool: (settings: EditorToolsSettings.IndentationSettings) => React.ComponentClass<IndentProps, any>;
|
|
24
|
+
}
|