@progress/kendo-react-spreadsheet 7.2.4-develop.3 → 7.3.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 (89) hide show
  1. package/FormulaInput.js +8 -0
  2. package/FormulaInput.mjs +109 -0
  3. package/List.js +8 -0
  4. package/List.mjs +34 -0
  5. package/NameBox.js +8 -0
  6. package/NameBox.mjs +109 -0
  7. package/SheetsBar.js +8 -0
  8. package/SheetsBar.mjs +211 -0
  9. package/Spreadsheet.js +8 -0
  10. package/Spreadsheet.mjs +227 -0
  11. package/dist/cdn/js/kendo-react-spreadsheet.js +8 -5
  12. package/index.d.mts +715 -5
  13. package/index.d.ts +715 -8
  14. package/index.js +8 -5
  15. package/index.mjs +77 -1355
  16. package/messages.js +8 -0
  17. package/messages.mjs +115 -0
  18. package/package-metadata.js +8 -0
  19. package/package-metadata.mjs +19 -0
  20. package/package.json +11 -11
  21. package/tools/adjustDecimals.js +8 -0
  22. package/tools/adjustDecimals.mjs +49 -0
  23. package/tools/align.js +8 -0
  24. package/tools/align.mjs +95 -0
  25. package/tools/backgroundColor.js +8 -0
  26. package/tools/backgroundColor.mjs +23 -0
  27. package/tools/bold.js +8 -0
  28. package/tools/bold.mjs +16 -0
  29. package/tools/cleanFormat.js +8 -0
  30. package/tools/cleanFormat.mjs +32 -0
  31. package/tools/defaultTools.js +8 -0
  32. package/tools/defaultTools.mjs +77 -0
  33. package/tools/export.js +8 -0
  34. package/tools/export.mjs +37 -0
  35. package/tools/fontFamily.js +8 -0
  36. package/tools/fontFamily.mjs +40 -0
  37. package/tools/fontSize.js +8 -0
  38. package/tools/fontSize.mjs +89 -0
  39. package/tools/format.js +8 -0
  40. package/tools/format.mjs +45 -0
  41. package/tools/gridLines.js +8 -0
  42. package/tools/gridLines.mjs +44 -0
  43. package/tools/italic.js +8 -0
  44. package/tools/italic.mjs +16 -0
  45. package/tools/open.js +8 -0
  46. package/tools/open.mjs +55 -0
  47. package/tools/redo.js +8 -0
  48. package/tools/redo.mjs +16 -0
  49. package/tools/tableTools.js +8 -0
  50. package/tools/tableTools.mjs +96 -0
  51. package/tools/textColor.js +8 -0
  52. package/tools/textColor.mjs +23 -0
  53. package/tools/textWrap.js +8 -0
  54. package/tools/textWrap.mjs +44 -0
  55. package/tools/underline.js +8 -0
  56. package/tools/underline.mjs +16 -0
  57. package/tools/undo.js +8 -0
  58. package/tools/undo.mjs +16 -0
  59. package/tools/utils.js +8 -0
  60. package/tools/utils.mjs +97 -0
  61. package/FormulaInput.d.ts +0 -9
  62. package/List.d.ts +0 -9
  63. package/NameBox.d.ts +0 -9
  64. package/SheetsBar.d.ts +0 -8
  65. package/Spreadsheet.d.ts +0 -51
  66. package/SpreadsheetProps.d.ts +0 -192
  67. package/messages.d.ts +0 -114
  68. package/package-metadata.d.ts +0 -9
  69. package/tools/adjustDecimals.d.ts +0 -24
  70. package/tools/align.d.ts +0 -48
  71. package/tools/backgroundColor.d.ts +0 -14
  72. package/tools/bold.d.ts +0 -14
  73. package/tools/cleanFormat.d.ts +0 -15
  74. package/tools/defaultTools.d.ts +0 -9
  75. package/tools/export.d.ts +0 -15
  76. package/tools/fontFamily.d.ts +0 -15
  77. package/tools/fontSize.d.ts +0 -43
  78. package/tools/format.d.ts +0 -15
  79. package/tools/gridLines.d.ts +0 -19
  80. package/tools/index.d.ts +0 -23
  81. package/tools/italic.d.ts +0 -14
  82. package/tools/open.d.ts +0 -15
  83. package/tools/redo.d.ts +0 -14
  84. package/tools/tableTools.d.ts +0 -68
  85. package/tools/textColor.d.ts +0 -14
  86. package/tools/textWrap.d.ts +0 -19
  87. package/tools/underline.d.ts +0 -14
  88. package/tools/undo.d.ts +0 -14
  89. package/tools/utils.d.ts +0 -95
@@ -1,43 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the package root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import * as React from 'react';
6
- import { DropDownToolProps, SpreadsheetToolProps } from './utils';
7
- /**
8
- * The props of the FontSize tool component.
9
- */
10
- export interface FontSizeProps extends DropDownToolProps {
11
- }
12
- /**
13
- * The FontSize tool component.
14
- */
15
- export declare const FontSize: React.FunctionComponent<FontSizeProps>;
16
- /**
17
- * @hidden
18
- */
19
- interface FontSizeChangeToolProps extends SpreadsheetToolProps {
20
- /**
21
- * The selected state of the tool.
22
- */
23
- value: number;
24
- }
25
- /**
26
- * The props of the IncreaseFontSize tool component.
27
- */
28
- export interface IncreaseFontSizeProps extends FontSizeChangeToolProps {
29
- }
30
- /**
31
- * The IncreaseFontSize tool component.
32
- */
33
- export declare const IncreaseFontSize: React.FunctionComponent<IncreaseFontSizeProps>;
34
- /**
35
- * The props of the DecreaseFontSize tool component.
36
- */
37
- export interface DecreaseFontSizeProps extends FontSizeChangeToolProps {
38
- }
39
- /**
40
- * The DecreaseFontSize tool component.
41
- */
42
- export declare const DecreaseFontSize: React.FunctionComponent<DecreaseFontSizeProps>;
43
- export {};
package/tools/format.d.ts DELETED
@@ -1,15 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the package root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import * as React from 'react';
6
- import { SpreadsheetToolProps } from './utils';
7
- /**
8
- * The props of the Format tool component.
9
- */
10
- export interface FormatProps extends SpreadsheetToolProps {
11
- }
12
- /**
13
- * The Format tool component.
14
- */
15
- export declare const Format: React.FunctionComponent<FormatProps>;
@@ -1,19 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the package root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import * as React from 'react';
6
- import { SpreadsheetToolProps } from './utils';
7
- /**
8
- * The props of the GridLines tool component.
9
- */
10
- export interface GridLinesProps extends SpreadsheetToolProps {
11
- /**
12
- * The selected state of the tool.
13
- */
14
- value?: boolean;
15
- }
16
- /**
17
- * The GridLines tool component.
18
- */
19
- export declare const GridLines: React.FunctionComponent<GridLinesProps>;
package/tools/index.d.ts DELETED
@@ -1,23 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the package root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- export * from './align';
6
- export * from './backgroundColor';
7
- export * from './bold';
8
- export * from './defaultTools';
9
- export * from './export';
10
- export * from './fontFamily';
11
- export * from './fontSize';
12
- export * from './cleanFormat';
13
- export * from './format';
14
- export * from './gridLines';
15
- export * from './italic';
16
- export * from './open';
17
- export * from './redo';
18
- export * from './tableTools';
19
- export * from './textColor';
20
- export * from './textWrap';
21
- export * from './underline';
22
- export * from './undo';
23
- export { type SpreadsheetToolProps } from './utils';
package/tools/italic.d.ts DELETED
@@ -1,14 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the package root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { PropertyChangeToolProps } from './utils';
6
- /**
7
- * The props of the Italic tool component.
8
- */
9
- export interface ItalicProps extends PropertyChangeToolProps {
10
- }
11
- /**
12
- * The Italic tool component.
13
- */
14
- export declare const Italic: React.FunctionComponent<ItalicProps>;
package/tools/open.d.ts DELETED
@@ -1,15 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the package root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import * as React from 'react';
6
- import { SpreadsheetToolProps } from './utils';
7
- /**
8
- * The props of the Open tool component.
9
- */
10
- export interface OpenProps extends SpreadsheetToolProps {
11
- }
12
- /**
13
- * The Open tool component.
14
- */
15
- export declare const Open: React.FunctionComponent<OpenProps>;
package/tools/redo.d.ts DELETED
@@ -1,14 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the package root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { SpreadsheetToolProps } from './utils';
6
- /**
7
- * The props of the Redo tool component.
8
- */
9
- export interface RedoProps extends SpreadsheetToolProps {
10
- }
11
- /**
12
- * The Redo tool component.
13
- */
14
- export declare const Redo: React.FunctionComponent<RedoProps>;
@@ -1,68 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the package root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import * as React from 'react';
6
- import { SpreadsheetToolProps } from './utils';
7
- import { SelectedHeaders } from '@progress/kendo-spreadsheet-common';
8
- interface TableToolProps extends SpreadsheetToolProps {
9
- /**
10
- * @hidden
11
- */
12
- value: SelectedHeaders;
13
- }
14
- /**
15
- * The props of the AddColumnLeft tool component.
16
- */
17
- export interface AddColumnLeftProps extends TableToolProps {
18
- }
19
- /**
20
- * The props of the AddColumnRight tool component.
21
- */
22
- export interface AddColumnRightProps extends TableToolProps {
23
- }
24
- /**
25
- * The props of the AddRowBelow tool component.
26
- */
27
- export interface AddRowBelowProps extends TableToolProps {
28
- }
29
- /**
30
- * The props of the AddRowAbove tool component.
31
- */
32
- export interface AddRowAboveProps extends TableToolProps {
33
- }
34
- /**
35
- * The props of the DeleteColumn tool component.
36
- */
37
- export interface DeleteColumnProps extends TableToolProps {
38
- }
39
- /**
40
- * The props of the DeleteRow tool component.
41
- */
42
- export interface DeleteRowProps extends TableToolProps {
43
- }
44
- /**
45
- * The AddColumnLeft tool component.
46
- */
47
- export declare const AddColumnLeft: React.FunctionComponent<AddColumnLeftProps>;
48
- /**
49
- * The AddColumnRight tool component.
50
- */
51
- export declare const AddColumnRight: React.FunctionComponent<AddColumnRightProps>;
52
- /**
53
- * The AddRowBelow tool component.
54
- */
55
- export declare const AddRowBelow: React.FunctionComponent<AddRowBelowProps>;
56
- /**
57
- * The AddRowAbove tool component.
58
- */
59
- export declare const AddRowAbove: React.FunctionComponent<AddRowAboveProps>;
60
- /**
61
- * The DeleteColumn tool component.
62
- */
63
- export declare const DeleteColumn: React.FunctionComponent<DeleteColumnProps>;
64
- /**
65
- * The DeleteRow tool component.
66
- */
67
- export declare const DeleteRow: React.FunctionComponent<DeleteRowProps>;
68
- export {};
@@ -1,14 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the package root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { ColorToolProps } from './utils';
6
- /**
7
- * The props of the TextColor tool component.
8
- */
9
- export interface TextColorProps extends ColorToolProps {
10
- }
11
- /**
12
- * The TextColor tool component.
13
- */
14
- export declare const TextColor: React.FunctionComponent<TextColorProps>;
@@ -1,19 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the package root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import * as React from 'react';
6
- import { SpreadsheetToolProps } from './utils';
7
- /**
8
- * The props of the TextWrap tool component.
9
- */
10
- export interface TextWrapProps extends SpreadsheetToolProps {
11
- /**
12
- * The selected state of the tool.
13
- */
14
- value?: boolean;
15
- }
16
- /**
17
- * The TextWrap tool component.
18
- */
19
- export declare const TextWrap: React.FunctionComponent<TextWrapProps>;
@@ -1,14 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the package root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { PropertyChangeToolProps } from './utils';
6
- /**
7
- * The props of the Underline tool component.
8
- */
9
- export interface UnderlineProps extends PropertyChangeToolProps {
10
- }
11
- /**
12
- * The Underline tool component.
13
- */
14
- export declare const Underline: React.FunctionComponent<UnderlineProps>;
package/tools/undo.d.ts DELETED
@@ -1,14 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the package root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { SpreadsheetToolProps } from './utils';
6
- /**
7
- * The props of the Undo tool component.
8
- */
9
- export interface UndoProps extends SpreadsheetToolProps {
10
- }
11
- /**
12
- * The Undo tool component.
13
- */
14
- export declare const Undo: React.FunctionComponent<UndoProps>;
package/tools/utils.d.ts DELETED
@@ -1,95 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the package root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import * as React from 'react';
6
- import { SpreadsheetWidget } from './../SpreadsheetProps';
7
- import { ColorPickerProps } from '@progress/kendo-react-inputs';
8
- import { SVGIcon } from '@progress/kendo-react-common';
9
- /**
10
- * @hidden
11
- */
12
- export declare const FONT_FAMILIES: string[];
13
- /**
14
- * @hidden
15
- */
16
- export declare const DEFAULT_FONT_FAMILY = "Arial";
17
- /**
18
- * @hidden
19
- */
20
- export declare const FONT_SIZES: number[];
21
- /**
22
- * @hidden
23
- */
24
- export declare const DEFAULT_FONT_SIZE = 12;
25
- /**
26
- * @hidden
27
- */
28
- export declare const FORMATS: ({
29
- text: string;
30
- value: null;
31
- } | {
32
- text: string;
33
- value: string;
34
- })[];
35
- /**
36
- * The base props interface of the Spreadsheet tool component.
37
- */
38
- export interface SpreadsheetToolProps {
39
- /**
40
- * The `React.RefObject` object of the SpreadsheetWidget, holding the core functionality of the Spreadsheet.
41
- */
42
- spreadsheetRef: React.RefObject<SpreadsheetWidget>;
43
- }
44
- /**
45
- * @hidden
46
- */
47
- export interface PropertyChangeToolProps extends SpreadsheetToolProps {
48
- /**
49
- * The selected state of the tool.
50
- */
51
- value?: boolean;
52
- }
53
- /**
54
- * @hidden
55
- */
56
- export interface DropDownToolProps extends SpreadsheetToolProps {
57
- /**
58
- * The value of the tool.
59
- */
60
- value?: any;
61
- }
62
- /**
63
- * @hidden
64
- */
65
- export declare const PropertyChangeTool: <Props extends PropertyChangeToolProps>(settings: {
66
- property: string;
67
- icon: string;
68
- svgIcon: SVGIcon;
69
- titleKey: string;
70
- }) => React.FunctionComponent<Props>;
71
- /**
72
- * @hidden
73
- */
74
- export interface ColorToolProps extends SpreadsheetToolProps {
75
- /**
76
- * The value of the tool.
77
- */
78
- value?: string;
79
- }
80
- /**
81
- * @hidden
82
- */
83
- export declare const ColorTool: <Props extends ColorToolProps>(settings: ColorPickerProps & {
84
- property: string;
85
- titleKey: string;
86
- }) => React.FunctionComponent<Props>;
87
- /**
88
- * @hidden
89
- */
90
- export declare const UndoRedo: <Props extends SpreadsheetToolProps>(settings: {
91
- action: string;
92
- icon: string;
93
- svgIcon: SVGIcon;
94
- titleKey: string;
95
- }) => React.FunctionComponent<Props>;