@progress/kendo-react-spreadsheet 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/FormulaInput.d.ts +12 -0
- package/List.d.ts +12 -0
- package/NameBox.d.ts +12 -0
- package/SheetsBar.d.ts +12 -0
- package/SheetsBar.js +1 -1
- package/SheetsBar.mjs +13 -13
- package/Spreadsheet.d.ts +57 -0
- package/SpreadsheetProps.d.ts +240 -0
- package/dist/cdn/js/kendo-react-spreadsheet.js +1 -1
- package/index.d.mts +4 -779
- package/index.d.ts +4 -779
- package/messages.d.ts +117 -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/adjustDecimals.d.ts +27 -0
- package/tools/adjustDecimals.mjs +1 -1
- package/tools/align.d.ts +51 -0
- package/tools/align.mjs +6 -6
- package/tools/backgroundColor.d.ts +17 -0
- package/tools/bold.d.ts +17 -0
- package/tools/cleanFormat.d.ts +18 -0
- package/tools/defaultTools.d.ts +12 -0
- package/tools/export.d.ts +18 -0
- package/tools/fontFamily.d.ts +18 -0
- package/tools/fontFamily.mjs +3 -3
- package/tools/fontSize.d.ts +46 -0
- package/tools/fontSize.mjs +3 -3
- package/tools/format.d.ts +18 -0
- package/tools/gridLines.d.ts +22 -0
- package/tools/index.d.ts +27 -0
- package/tools/italic.d.ts +17 -0
- package/tools/open.d.ts +18 -0
- package/tools/redo.d.ts +17 -0
- package/tools/tableTools.d.ts +71 -0
- package/tools/textColor.d.ts +17 -0
- package/tools/textWrap.d.ts +22 -0
- package/tools/underline.d.ts +17 -0
- package/tools/undo.d.ts +17 -0
- package/tools/utils.d.ts +98 -0
package/tools/redo.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
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 { SpreadsheetToolProps } from './utils.js';
|
|
9
|
+
/**
|
|
10
|
+
* The props of the Redo tool component.
|
|
11
|
+
*/
|
|
12
|
+
export interface RedoProps extends SpreadsheetToolProps {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* The Redo tool component.
|
|
16
|
+
*/
|
|
17
|
+
export declare const Redo: React.FunctionComponent<RedoProps>;
|
|
@@ -0,0 +1,71 @@
|
|
|
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 { SpreadsheetToolProps } from './utils.js';
|
|
9
|
+
import { SelectedHeaders } from '@progress/kendo-spreadsheet-common';
|
|
10
|
+
import * as React from 'react';
|
|
11
|
+
interface TableToolProps extends SpreadsheetToolProps {
|
|
12
|
+
/**
|
|
13
|
+
* @hidden
|
|
14
|
+
*/
|
|
15
|
+
value: SelectedHeaders;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* The props of the AddColumnLeft tool component.
|
|
19
|
+
*/
|
|
20
|
+
export interface AddColumnLeftProps extends TableToolProps {
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* The props of the AddColumnRight tool component.
|
|
24
|
+
*/
|
|
25
|
+
export interface AddColumnRightProps extends TableToolProps {
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* The props of the AddRowBelow tool component.
|
|
29
|
+
*/
|
|
30
|
+
export interface AddRowBelowProps extends TableToolProps {
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* The props of the AddRowAbove tool component.
|
|
34
|
+
*/
|
|
35
|
+
export interface AddRowAboveProps extends TableToolProps {
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* The props of the DeleteColumn tool component.
|
|
39
|
+
*/
|
|
40
|
+
export interface DeleteColumnProps extends TableToolProps {
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* The props of the DeleteRow tool component.
|
|
44
|
+
*/
|
|
45
|
+
export interface DeleteRowProps extends TableToolProps {
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* The AddColumnLeft tool component.
|
|
49
|
+
*/
|
|
50
|
+
export declare const AddColumnLeft: React.FunctionComponent<AddColumnLeftProps>;
|
|
51
|
+
/**
|
|
52
|
+
* The AddColumnRight tool component.
|
|
53
|
+
*/
|
|
54
|
+
export declare const AddColumnRight: React.FunctionComponent<AddColumnRightProps>;
|
|
55
|
+
/**
|
|
56
|
+
* The AddRowBelow tool component.
|
|
57
|
+
*/
|
|
58
|
+
export declare const AddRowBelow: React.FunctionComponent<AddRowBelowProps>;
|
|
59
|
+
/**
|
|
60
|
+
* The AddRowAbove tool component.
|
|
61
|
+
*/
|
|
62
|
+
export declare const AddRowAbove: React.FunctionComponent<AddRowAboveProps>;
|
|
63
|
+
/**
|
|
64
|
+
* The DeleteColumn tool component.
|
|
65
|
+
*/
|
|
66
|
+
export declare const DeleteColumn: React.FunctionComponent<DeleteColumnProps>;
|
|
67
|
+
/**
|
|
68
|
+
* The DeleteRow tool component.
|
|
69
|
+
*/
|
|
70
|
+
export declare const DeleteRow: React.FunctionComponent<DeleteRowProps>;
|
|
71
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
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 { ColorToolProps } from './utils.js';
|
|
9
|
+
/**
|
|
10
|
+
* The props of the TextColor tool component.
|
|
11
|
+
*/
|
|
12
|
+
export interface TextColorProps extends ColorToolProps {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* The TextColor tool component.
|
|
16
|
+
*/
|
|
17
|
+
export declare const TextColor: React.FunctionComponent<TextColorProps>;
|
|
@@ -0,0 +1,22 @@
|
|
|
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 { SpreadsheetToolProps } from './utils.js';
|
|
9
|
+
import * as React from 'react';
|
|
10
|
+
/**
|
|
11
|
+
* The props of the TextWrap tool component.
|
|
12
|
+
*/
|
|
13
|
+
export interface TextWrapProps extends SpreadsheetToolProps {
|
|
14
|
+
/**
|
|
15
|
+
* The selected state of the tool.
|
|
16
|
+
*/
|
|
17
|
+
value?: boolean;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* The TextWrap tool component.
|
|
21
|
+
*/
|
|
22
|
+
export declare const TextWrap: React.FunctionComponent<TextWrapProps>;
|
|
@@ -0,0 +1,17 @@
|
|
|
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 { PropertyChangeToolProps } from './utils.js';
|
|
9
|
+
/**
|
|
10
|
+
* The props of the Underline tool component.
|
|
11
|
+
*/
|
|
12
|
+
export interface UnderlineProps extends PropertyChangeToolProps {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* The Underline tool component.
|
|
16
|
+
*/
|
|
17
|
+
export declare const Underline: React.FunctionComponent<UnderlineProps>;
|
package/tools/undo.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
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 { SpreadsheetToolProps } from './utils.js';
|
|
9
|
+
/**
|
|
10
|
+
* The props of the Undo tool component.
|
|
11
|
+
*/
|
|
12
|
+
export interface UndoProps extends SpreadsheetToolProps {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* The Undo tool component.
|
|
16
|
+
*/
|
|
17
|
+
export declare const Undo: React.FunctionComponent<UndoProps>;
|
package/tools/utils.d.ts
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
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 { SpreadsheetWidget } from './../SpreadsheetProps.js';
|
|
9
|
+
import { ColorPickerProps } from '@progress/kendo-react-inputs';
|
|
10
|
+
import { SVGIcon } from '@progress/kendo-react-common';
|
|
11
|
+
import * as React from 'react';
|
|
12
|
+
/**
|
|
13
|
+
* @hidden
|
|
14
|
+
*/
|
|
15
|
+
export declare const FONT_FAMILIES: string[];
|
|
16
|
+
/**
|
|
17
|
+
* @hidden
|
|
18
|
+
*/
|
|
19
|
+
export declare const DEFAULT_FONT_FAMILY = "Arial";
|
|
20
|
+
/**
|
|
21
|
+
* @hidden
|
|
22
|
+
*/
|
|
23
|
+
export declare const FONT_SIZES: number[];
|
|
24
|
+
/**
|
|
25
|
+
* @hidden
|
|
26
|
+
*/
|
|
27
|
+
export declare const DEFAULT_FONT_SIZE = 12;
|
|
28
|
+
/**
|
|
29
|
+
* @hidden
|
|
30
|
+
*/
|
|
31
|
+
export declare const FORMATS: ({
|
|
32
|
+
text: string;
|
|
33
|
+
value: null;
|
|
34
|
+
} | {
|
|
35
|
+
text: string;
|
|
36
|
+
value: string;
|
|
37
|
+
})[];
|
|
38
|
+
/**
|
|
39
|
+
* The base props interface of the Spreadsheet tool component.
|
|
40
|
+
*/
|
|
41
|
+
export interface SpreadsheetToolProps {
|
|
42
|
+
/**
|
|
43
|
+
* The `React.RefObject` object of the SpreadsheetWidget, holding the core functionality of the Spreadsheet.
|
|
44
|
+
*/
|
|
45
|
+
spreadsheetRef: React.RefObject<SpreadsheetWidget | null>;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* @hidden
|
|
49
|
+
*/
|
|
50
|
+
export interface PropertyChangeToolProps extends SpreadsheetToolProps {
|
|
51
|
+
/**
|
|
52
|
+
* The selected state of the tool.
|
|
53
|
+
*/
|
|
54
|
+
value?: boolean;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* @hidden
|
|
58
|
+
*/
|
|
59
|
+
export interface DropDownToolProps extends SpreadsheetToolProps {
|
|
60
|
+
/**
|
|
61
|
+
* The value of the tool.
|
|
62
|
+
*/
|
|
63
|
+
value?: any;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* @hidden
|
|
67
|
+
*/
|
|
68
|
+
export declare const PropertyChangeTool: <Props extends PropertyChangeToolProps>(settings: {
|
|
69
|
+
property: string;
|
|
70
|
+
icon: string;
|
|
71
|
+
svgIcon: SVGIcon;
|
|
72
|
+
titleKey: string;
|
|
73
|
+
}) => React.FunctionComponent<Props>;
|
|
74
|
+
/**
|
|
75
|
+
* @hidden
|
|
76
|
+
*/
|
|
77
|
+
export interface ColorToolProps extends SpreadsheetToolProps {
|
|
78
|
+
/**
|
|
79
|
+
* The value of the tool.
|
|
80
|
+
*/
|
|
81
|
+
value?: string;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* @hidden
|
|
85
|
+
*/
|
|
86
|
+
export declare const ColorTool: <Props extends ColorToolProps>(settings: ColorPickerProps & {
|
|
87
|
+
property: string;
|
|
88
|
+
titleKey: string;
|
|
89
|
+
}) => React.FunctionComponent<Props>;
|
|
90
|
+
/**
|
|
91
|
+
* @hidden
|
|
92
|
+
*/
|
|
93
|
+
export declare const UndoRedo: <Props extends SpreadsheetToolProps>(settings: {
|
|
94
|
+
action: string;
|
|
95
|
+
icon: string;
|
|
96
|
+
svgIcon: SVGIcon;
|
|
97
|
+
titleKey: string;
|
|
98
|
+
}) => React.FunctionComponent<Props>;
|