@progress/kendo-react-spreadsheet 6.1.1 → 7.0.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.
- package/FormulaInput.d.ts +9 -0
- package/LICENSE.md +1 -1
- package/List.d.ts +9 -0
- package/NameBox.d.ts +9 -0
- package/SheetsBar.d.ts +8 -0
- package/{dist/npm/Spreadsheet.d.ts → Spreadsheet.d.ts} +4 -0
- package/{dist/npm/SpreadsheetProps.d.ts → SpreadsheetProps.d.ts} +5 -2
- package/dist/cdn/js/kendo-react-spreadsheet.js +5 -1
- package/index.d.ts +8 -0
- package/index.js +5 -0
- package/index.mjs +1357 -0
- package/{dist/npm/messages.d.ts → messages.d.ts} +4 -0
- package/package-metadata.d.ts +9 -0
- package/package.json +43 -57
- package/{dist/npm/tools → tools}/adjustDecimals.d.ts +4 -0
- package/{dist/npm/tools → tools}/align.d.ts +4 -0
- package/tools/backgroundColor.d.ts +14 -0
- package/tools/bold.d.ts +14 -0
- package/tools/cleanFormat.d.ts +15 -0
- package/tools/defaultTools.d.ts +9 -0
- package/tools/export.d.ts +15 -0
- package/tools/fontFamily.d.ts +15 -0
- package/{dist/es/tools → tools}/fontSize.d.ts +4 -0
- package/tools/format.d.ts +15 -0
- package/{dist/es/tools → tools}/gridLines.d.ts +4 -0
- package/{dist/es/tools → tools}/index.d.ts +5 -1
- package/tools/italic.d.ts +14 -0
- package/tools/open.d.ts +15 -0
- package/tools/redo.d.ts +14 -0
- package/{dist/npm/tools → tools}/tableTools.d.ts +4 -0
- package/tools/textColor.d.ts +14 -0
- package/{dist/es/tools → tools}/textWrap.d.ts +4 -0
- package/tools/underline.d.ts +14 -0
- package/tools/undo.d.ts +14 -0
- package/{dist/npm/tools → tools}/utils.d.ts +4 -0
- package/about.md +0 -3
- package/dist/es/FormulaInput.d.ts +0 -5
- package/dist/es/FormulaInput.js +0 -116
- package/dist/es/List.d.ts +0 -5
- package/dist/es/List.js +0 -22
- package/dist/es/NameBox.d.ts +0 -5
- package/dist/es/NameBox.js +0 -91
- package/dist/es/SheetsBar.d.ts +0 -5
- package/dist/es/SheetsBar.js +0 -246
- package/dist/es/Spreadsheet.d.ts +0 -47
- package/dist/es/Spreadsheet.js +0 -286
- package/dist/es/SpreadsheetProps.d.ts +0 -189
- package/dist/es/SpreadsheetProps.js +0 -2
- package/dist/es/main.d.ts +0 -4
- package/dist/es/main.js +0 -4
- package/dist/es/messages.d.ts +0 -110
- package/dist/es/messages.js +0 -310
- package/dist/es/package-metadata.d.ts +0 -5
- package/dist/es/package-metadata.js +0 -11
- package/dist/es/tools/adjustDecimals.d.ts +0 -20
- package/dist/es/tools/adjustDecimals.js +0 -39
- package/dist/es/tools/align.d.ts +0 -44
- package/dist/es/tools/align.js +0 -96
- package/dist/es/tools/backgroundColor.d.ts +0 -11
- package/dist/es/tools/backgroundColor.js +0 -15
- package/dist/es/tools/bold.d.ts +0 -11
- package/dist/es/tools/bold.js +0 -9
- package/dist/es/tools/cleanFormat.d.ts +0 -11
- package/dist/es/tools/cleanFormat.js +0 -17
- package/dist/es/tools/defaultTools.d.ts +0 -5
- package/dist/es/tools/defaultTools.js +0 -66
- package/dist/es/tools/export.d.ts +0 -11
- package/dist/es/tools/export.js +0 -19
- package/dist/es/tools/fontFamily.d.ts +0 -11
- package/dist/es/tools/fontFamily.js +0 -21
- package/dist/es/tools/fontSize.js +0 -82
- package/dist/es/tools/format.d.ts +0 -11
- package/dist/es/tools/format.js +0 -26
- package/dist/es/tools/gridLines.js +0 -25
- package/dist/es/tools/index.js +0 -18
- package/dist/es/tools/italic.d.ts +0 -11
- package/dist/es/tools/italic.js +0 -9
- package/dist/es/tools/open.d.ts +0 -11
- package/dist/es/tools/open.js +0 -36
- package/dist/es/tools/redo.d.ts +0 -11
- package/dist/es/tools/redo.js +0 -9
- package/dist/es/tools/tableTools.d.ts +0 -64
- package/dist/es/tools/tableTools.js +0 -102
- package/dist/es/tools/textColor.d.ts +0 -11
- package/dist/es/tools/textColor.js +0 -15
- package/dist/es/tools/textWrap.js +0 -26
- package/dist/es/tools/underline.d.ts +0 -11
- package/dist/es/tools/underline.js +0 -9
- package/dist/es/tools/undo.d.ts +0 -11
- package/dist/es/tools/undo.js +0 -9
- package/dist/es/tools/utils.d.ts +0 -91
- package/dist/es/tools/utils.js +0 -102
- package/dist/npm/FormulaInput.d.ts +0 -5
- package/dist/npm/FormulaInput.js +0 -119
- package/dist/npm/List.d.ts +0 -5
- package/dist/npm/List.js +0 -25
- package/dist/npm/NameBox.d.ts +0 -5
- package/dist/npm/NameBox.js +0 -94
- package/dist/npm/SheetsBar.d.ts +0 -5
- package/dist/npm/SheetsBar.js +0 -250
- package/dist/npm/Spreadsheet.js +0 -289
- package/dist/npm/SpreadsheetProps.js +0 -9
- package/dist/npm/main.d.ts +0 -4
- package/dist/npm/main.js +0 -39
- package/dist/npm/messages.js +0 -313
- package/dist/npm/package-metadata.d.ts +0 -5
- package/dist/npm/package-metadata.js +0 -14
- package/dist/npm/tools/adjustDecimals.js +0 -42
- package/dist/npm/tools/align.js +0 -100
- package/dist/npm/tools/backgroundColor.d.ts +0 -11
- package/dist/npm/tools/backgroundColor.js +0 -18
- package/dist/npm/tools/bold.d.ts +0 -11
- package/dist/npm/tools/bold.js +0 -12
- package/dist/npm/tools/cleanFormat.d.ts +0 -11
- package/dist/npm/tools/cleanFormat.js +0 -21
- package/dist/npm/tools/defaultTools.d.ts +0 -5
- package/dist/npm/tools/defaultTools.js +0 -69
- package/dist/npm/tools/export.d.ts +0 -11
- package/dist/npm/tools/export.js +0 -23
- package/dist/npm/tools/fontFamily.d.ts +0 -11
- package/dist/npm/tools/fontFamily.js +0 -25
- package/dist/npm/tools/fontSize.d.ts +0 -39
- package/dist/npm/tools/fontSize.js +0 -86
- package/dist/npm/tools/format.d.ts +0 -11
- package/dist/npm/tools/format.js +0 -30
- package/dist/npm/tools/gridLines.d.ts +0 -15
- package/dist/npm/tools/gridLines.js +0 -29
- package/dist/npm/tools/index.d.ts +0 -19
- package/dist/npm/tools/index.js +0 -34
- package/dist/npm/tools/italic.d.ts +0 -11
- package/dist/npm/tools/italic.js +0 -12
- package/dist/npm/tools/open.d.ts +0 -11
- package/dist/npm/tools/open.js +0 -40
- package/dist/npm/tools/redo.d.ts +0 -11
- package/dist/npm/tools/redo.js +0 -12
- package/dist/npm/tools/tableTools.js +0 -105
- package/dist/npm/tools/textColor.d.ts +0 -11
- package/dist/npm/tools/textColor.js +0 -18
- package/dist/npm/tools/textWrap.d.ts +0 -15
- package/dist/npm/tools/textWrap.js +0 -30
- package/dist/npm/tools/underline.d.ts +0 -11
- package/dist/npm/tools/underline.js +0 -12
- package/dist/npm/tools/undo.d.ts +0 -11
- package/dist/npm/tools/undo.js +0 -12
- package/dist/npm/tools/utils.js +0 -108
- package/dist/systemjs/kendo-react-spreadsheet.js +0 -1
- package/e2e-next/basic.tests.ts +0 -24
package/dist/npm/main.js
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.NULLREF = exports.UnionRef = exports.RangeRef = exports.NameRef = exports.CellRef = exports.Ref = exports.defineAlias = exports.defineFunction = exports.dateToSerial = exports.serialToDate = exports.unpackTime = exports.packTime = exports.unpackDate = exports.packDate = exports.CalcError = exports.Matrix = exports.Context = exports.Spreadsheet = void 0;
|
|
18
|
-
var Spreadsheet_1 = require("./Spreadsheet");
|
|
19
|
-
Object.defineProperty(exports, "Spreadsheet", { enumerable: true, get: function () { return Spreadsheet_1.Spreadsheet; } });
|
|
20
|
-
__exportStar(require("./SpreadsheetProps"), exports);
|
|
21
|
-
__exportStar(require("./tools"), exports);
|
|
22
|
-
var kendo_spreadsheet_common_1 = require("@progress/kendo-spreadsheet-common");
|
|
23
|
-
Object.defineProperty(exports, "Context", { enumerable: true, get: function () { return kendo_spreadsheet_common_1.Context; } });
|
|
24
|
-
Object.defineProperty(exports, "Matrix", { enumerable: true, get: function () { return kendo_spreadsheet_common_1.Matrix; } });
|
|
25
|
-
Object.defineProperty(exports, "CalcError", { enumerable: true, get: function () { return kendo_spreadsheet_common_1.CalcError; } });
|
|
26
|
-
Object.defineProperty(exports, "packDate", { enumerable: true, get: function () { return kendo_spreadsheet_common_1.packDate; } });
|
|
27
|
-
Object.defineProperty(exports, "unpackDate", { enumerable: true, get: function () { return kendo_spreadsheet_common_1.unpackDate; } });
|
|
28
|
-
Object.defineProperty(exports, "packTime", { enumerable: true, get: function () { return kendo_spreadsheet_common_1.packTime; } });
|
|
29
|
-
Object.defineProperty(exports, "unpackTime", { enumerable: true, get: function () { return kendo_spreadsheet_common_1.unpackTime; } });
|
|
30
|
-
Object.defineProperty(exports, "serialToDate", { enumerable: true, get: function () { return kendo_spreadsheet_common_1.serialToDate; } });
|
|
31
|
-
Object.defineProperty(exports, "dateToSerial", { enumerable: true, get: function () { return kendo_spreadsheet_common_1.dateToSerial; } });
|
|
32
|
-
Object.defineProperty(exports, "defineFunction", { enumerable: true, get: function () { return kendo_spreadsheet_common_1.defineFunction; } });
|
|
33
|
-
Object.defineProperty(exports, "defineAlias", { enumerable: true, get: function () { return kendo_spreadsheet_common_1.defineAlias; } });
|
|
34
|
-
Object.defineProperty(exports, "Ref", { enumerable: true, get: function () { return kendo_spreadsheet_common_1.Ref; } });
|
|
35
|
-
Object.defineProperty(exports, "CellRef", { enumerable: true, get: function () { return kendo_spreadsheet_common_1.CellRef; } });
|
|
36
|
-
Object.defineProperty(exports, "NameRef", { enumerable: true, get: function () { return kendo_spreadsheet_common_1.NameRef; } });
|
|
37
|
-
Object.defineProperty(exports, "RangeRef", { enumerable: true, get: function () { return kendo_spreadsheet_common_1.RangeRef; } });
|
|
38
|
-
Object.defineProperty(exports, "UnionRef", { enumerable: true, get: function () { return kendo_spreadsheet_common_1.UnionRef; } });
|
|
39
|
-
Object.defineProperty(exports, "NULLREF", { enumerable: true, get: function () { return kendo_spreadsheet_common_1.NULLREF; } });
|
package/dist/npm/messages.js
DELETED
|
@@ -1,313 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.keys = exports.messages = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* @hidden
|
|
6
|
-
*/
|
|
7
|
-
const bold = 'spreadsheet.bold';
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
const italic = 'spreadsheet.italic';
|
|
12
|
-
/**
|
|
13
|
-
* @hidden
|
|
14
|
-
*/
|
|
15
|
-
const underline = 'spreadsheet.underline';
|
|
16
|
-
/**
|
|
17
|
-
* @hidden
|
|
18
|
-
*/
|
|
19
|
-
const open = 'spreadsheet.openFile';
|
|
20
|
-
/**
|
|
21
|
-
* @hidden
|
|
22
|
-
*/
|
|
23
|
-
const textColor = 'spreadsheet.textColor';
|
|
24
|
-
/**
|
|
25
|
-
* @hidden
|
|
26
|
-
*/
|
|
27
|
-
const background = 'spreadsheet.background';
|
|
28
|
-
/**
|
|
29
|
-
* @hidden
|
|
30
|
-
*/
|
|
31
|
-
const addRowAbove = 'spreadsheet.addRowAbove';
|
|
32
|
-
/**
|
|
33
|
-
* @hidden
|
|
34
|
-
*/
|
|
35
|
-
const addRowBelow = 'spreadsheet.addRowBelow';
|
|
36
|
-
/**
|
|
37
|
-
* @hidden
|
|
38
|
-
*/
|
|
39
|
-
const addColumnLeft = 'spreadsheet.addColumnLeft';
|
|
40
|
-
/**
|
|
41
|
-
* @hidden
|
|
42
|
-
*/
|
|
43
|
-
const addColumnRight = 'spreadsheet.addColumnRight';
|
|
44
|
-
/**
|
|
45
|
-
* @hidden
|
|
46
|
-
*/
|
|
47
|
-
const deleteRow = 'spreadsheet.deleteRow';
|
|
48
|
-
/**
|
|
49
|
-
* @hidden
|
|
50
|
-
*/
|
|
51
|
-
const deleteColumn = 'spreadsheet.deleteColumn';
|
|
52
|
-
/**
|
|
53
|
-
* @hidden
|
|
54
|
-
*/
|
|
55
|
-
const undo = 'spreadsheet.undo';
|
|
56
|
-
/**
|
|
57
|
-
* @hidden
|
|
58
|
-
*/
|
|
59
|
-
const redo = 'spreadsheet.redo';
|
|
60
|
-
/**
|
|
61
|
-
* @hidden
|
|
62
|
-
*/
|
|
63
|
-
const fontSize = 'spreadsheet.fontSize';
|
|
64
|
-
/**
|
|
65
|
-
* @hidden
|
|
66
|
-
*/
|
|
67
|
-
const fontSizeIncrease = 'spreadsheet.fontSizeIncrease';
|
|
68
|
-
/**
|
|
69
|
-
* @hidden
|
|
70
|
-
*/
|
|
71
|
-
const fontSizeDecrease = 'spreadsheet.fontSizeDecrease';
|
|
72
|
-
/**
|
|
73
|
-
* @hidden
|
|
74
|
-
*/
|
|
75
|
-
const fontName = 'spreadsheet.fontName';
|
|
76
|
-
/**
|
|
77
|
-
* @hidden
|
|
78
|
-
*/
|
|
79
|
-
const cleanFormatting = 'spreadsheet.cleanFormatting';
|
|
80
|
-
/**
|
|
81
|
-
* @hidden
|
|
82
|
-
*/
|
|
83
|
-
const format = 'spreadsheet.format';
|
|
84
|
-
/**
|
|
85
|
-
* @hidden
|
|
86
|
-
*/
|
|
87
|
-
const alignHorizontally = 'spreadsheet.alignHorizontally';
|
|
88
|
-
/**
|
|
89
|
-
* @hidden
|
|
90
|
-
*/
|
|
91
|
-
const alignVertically = 'spreadsheet.alignVertically';
|
|
92
|
-
/**
|
|
93
|
-
* @hidden
|
|
94
|
-
*/
|
|
95
|
-
const align = 'spreadsheet.align';
|
|
96
|
-
/**
|
|
97
|
-
* @hidden
|
|
98
|
-
*/
|
|
99
|
-
const alignLeft = 'spreadsheet.alignLeft';
|
|
100
|
-
/**
|
|
101
|
-
* @hidden
|
|
102
|
-
*/
|
|
103
|
-
const alignRight = 'spreadsheet.alignRight';
|
|
104
|
-
/**
|
|
105
|
-
* @hidden
|
|
106
|
-
*/
|
|
107
|
-
const alignCenter = 'spreadsheet.alignCenter';
|
|
108
|
-
/**
|
|
109
|
-
* @hidden
|
|
110
|
-
*/
|
|
111
|
-
const center = 'spreadsheet.center';
|
|
112
|
-
/**
|
|
113
|
-
* @hidden
|
|
114
|
-
*/
|
|
115
|
-
const alignJustify = 'spreadsheet.alignJustify';
|
|
116
|
-
/**
|
|
117
|
-
* @hidden
|
|
118
|
-
*/
|
|
119
|
-
const justify = 'spreadsheet.justify';
|
|
120
|
-
/**
|
|
121
|
-
* @hidden
|
|
122
|
-
*/
|
|
123
|
-
const alignTop = 'spreadsheet.alignTop';
|
|
124
|
-
/**
|
|
125
|
-
* @hidden
|
|
126
|
-
*/
|
|
127
|
-
const alignMiddle = 'spreadsheet.alignMiddle';
|
|
128
|
-
/**
|
|
129
|
-
* @hidden
|
|
130
|
-
*/
|
|
131
|
-
const alignBottom = 'spreadsheet.alignBottom';
|
|
132
|
-
/**
|
|
133
|
-
* @hidden
|
|
134
|
-
*/
|
|
135
|
-
const increaseDecimal = 'spreadsheet.increaseDecimal';
|
|
136
|
-
/**
|
|
137
|
-
* @hidden
|
|
138
|
-
*/
|
|
139
|
-
const decreaseDecimal = 'spreadsheet.decreaseDecimal';
|
|
140
|
-
/**
|
|
141
|
-
* @hidden
|
|
142
|
-
*/
|
|
143
|
-
const textWrap = 'spreadsheet.textWrap';
|
|
144
|
-
/**
|
|
145
|
-
* @hidden
|
|
146
|
-
*/
|
|
147
|
-
const gridLines = 'spreadsheet.gridLines';
|
|
148
|
-
/**
|
|
149
|
-
* @hidden
|
|
150
|
-
*/
|
|
151
|
-
const exportToExcel = 'spreadsheet.exportToExcel';
|
|
152
|
-
/**
|
|
153
|
-
* @hidden
|
|
154
|
-
*/
|
|
155
|
-
const nameBox = 'spreadsheet.nameBox';
|
|
156
|
-
/**
|
|
157
|
-
* @hidden
|
|
158
|
-
*/
|
|
159
|
-
const defaultSheetName = 'spreadsheet.defaultSheetName';
|
|
160
|
-
/**
|
|
161
|
-
* @hidden
|
|
162
|
-
*/
|
|
163
|
-
const home = 'spreadsheet.home';
|
|
164
|
-
/**
|
|
165
|
-
* @hidden
|
|
166
|
-
*/
|
|
167
|
-
const file = 'spreadsheet.file';
|
|
168
|
-
/**
|
|
169
|
-
* @hidden
|
|
170
|
-
*/
|
|
171
|
-
const insert = 'spreadsheet.insert';
|
|
172
|
-
/**
|
|
173
|
-
* @hidden
|
|
174
|
-
*/
|
|
175
|
-
const formatTab = 'spreadsheet.formatTab';
|
|
176
|
-
/**
|
|
177
|
-
* @hidden
|
|
178
|
-
*/
|
|
179
|
-
const addNewSheet = 'spreadsheet.addNewSheet';
|
|
180
|
-
/**
|
|
181
|
-
* @hidden
|
|
182
|
-
*/
|
|
183
|
-
const error = 'spreadsheet.error';
|
|
184
|
-
/**
|
|
185
|
-
* @hidden
|
|
186
|
-
*/
|
|
187
|
-
const ok = 'spreadsheet.ok';
|
|
188
|
-
/**
|
|
189
|
-
* @hidden
|
|
190
|
-
*/
|
|
191
|
-
const modifyMerged = 'spreadsheet.modifyMerged';
|
|
192
|
-
/**
|
|
193
|
-
* @hidden
|
|
194
|
-
*/
|
|
195
|
-
const cannotModifyDisabled = 'spreadsheet.cannotModifyDisabled';
|
|
196
|
-
/**
|
|
197
|
-
* @hidden
|
|
198
|
-
*/
|
|
199
|
-
const openUnsupported = 'spreadsheet.openUnsupported';
|
|
200
|
-
/**
|
|
201
|
-
* @hidden
|
|
202
|
-
*/
|
|
203
|
-
const duplicateSheetName = 'spreadsheet.duplicateSheetName';
|
|
204
|
-
/**
|
|
205
|
-
* @hidden
|
|
206
|
-
*/
|
|
207
|
-
exports.messages = {
|
|
208
|
-
[bold]: 'Bold',
|
|
209
|
-
[italic]: 'Italic',
|
|
210
|
-
[underline]: 'Underline',
|
|
211
|
-
[undo]: 'Undo',
|
|
212
|
-
[redo]: 'Redo',
|
|
213
|
-
[fontSize]: 'Font size',
|
|
214
|
-
[fontSizeIncrease]: 'Increase Font size',
|
|
215
|
-
[fontSizeDecrease]: 'Decrease Font size',
|
|
216
|
-
[fontName]: 'Font',
|
|
217
|
-
[cleanFormatting]: 'Clean formatting',
|
|
218
|
-
[format]: 'Custom format...',
|
|
219
|
-
[alignHorizontally]: 'Align horizontally',
|
|
220
|
-
[alignVertically]: 'Align vertically',
|
|
221
|
-
[align]: 'Align',
|
|
222
|
-
[alignLeft]: 'Align left',
|
|
223
|
-
[alignRight]: 'Align right',
|
|
224
|
-
[alignCenter]: 'Align center',
|
|
225
|
-
[alignJustify]: 'Align justify',
|
|
226
|
-
[center]: 'Center',
|
|
227
|
-
[justify]: 'Justify',
|
|
228
|
-
[alignTop]: 'Align top',
|
|
229
|
-
[alignMiddle]: 'Align middle',
|
|
230
|
-
[alignBottom]: 'Align bottom',
|
|
231
|
-
[increaseDecimal]: 'Increase decimal',
|
|
232
|
-
[decreaseDecimal]: 'Decrease decimal',
|
|
233
|
-
[textColor]: 'Text Color',
|
|
234
|
-
[background]: 'Background color',
|
|
235
|
-
[addRowAbove]: 'Add row above',
|
|
236
|
-
[addRowBelow]: 'Add row below',
|
|
237
|
-
[addColumnLeft]: 'Add column left',
|
|
238
|
-
[addColumnRight]: 'Add column right',
|
|
239
|
-
[deleteRow]: 'Delete row',
|
|
240
|
-
[deleteColumn]: 'Delete column',
|
|
241
|
-
[open]: 'Open...',
|
|
242
|
-
[exportToExcel]: 'Export to Excel',
|
|
243
|
-
[textWrap]: 'Text Wrap',
|
|
244
|
-
[gridLines]: 'Toggle gridlines',
|
|
245
|
-
[nameBox]: 'Name Box',
|
|
246
|
-
[defaultSheetName]: 'Sheet',
|
|
247
|
-
[home]: 'Home',
|
|
248
|
-
[file]: 'File',
|
|
249
|
-
[insert]: 'Insert',
|
|
250
|
-
[addNewSheet]: 'Add new sheet',
|
|
251
|
-
[formatTab]: 'Format',
|
|
252
|
-
[modifyMerged]: 'Cannot change part of a merged cell.',
|
|
253
|
-
[cannotModifyDisabled]: 'Cannot modify disabled cells.',
|
|
254
|
-
[openUnsupported]: 'Unsupported format. Please select an .xlsx file.',
|
|
255
|
-
[duplicateSheetName]: 'There is an existing sheet with this name. Please enter another name.',
|
|
256
|
-
[error]: 'Error',
|
|
257
|
-
[ok]: 'OK'
|
|
258
|
-
};
|
|
259
|
-
/**
|
|
260
|
-
* @hidden
|
|
261
|
-
*/
|
|
262
|
-
exports.keys = {
|
|
263
|
-
bold,
|
|
264
|
-
italic,
|
|
265
|
-
underline,
|
|
266
|
-
undo,
|
|
267
|
-
redo,
|
|
268
|
-
fontSize,
|
|
269
|
-
fontSizeIncrease,
|
|
270
|
-
fontSizeDecrease,
|
|
271
|
-
fontName,
|
|
272
|
-
cleanFormatting,
|
|
273
|
-
format,
|
|
274
|
-
alignHorizontally,
|
|
275
|
-
alignVertically,
|
|
276
|
-
align,
|
|
277
|
-
alignLeft,
|
|
278
|
-
alignRight,
|
|
279
|
-
alignCenter,
|
|
280
|
-
center,
|
|
281
|
-
alignJustify,
|
|
282
|
-
justify,
|
|
283
|
-
alignTop,
|
|
284
|
-
alignMiddle,
|
|
285
|
-
alignBottom,
|
|
286
|
-
increaseDecimal,
|
|
287
|
-
decreaseDecimal,
|
|
288
|
-
textColor,
|
|
289
|
-
background,
|
|
290
|
-
addRowAbove,
|
|
291
|
-
addRowBelow,
|
|
292
|
-
addColumnLeft,
|
|
293
|
-
addColumnRight,
|
|
294
|
-
deleteRow,
|
|
295
|
-
deleteColumn,
|
|
296
|
-
open,
|
|
297
|
-
exportToExcel,
|
|
298
|
-
textWrap,
|
|
299
|
-
gridLines,
|
|
300
|
-
nameBox,
|
|
301
|
-
defaultSheetName,
|
|
302
|
-
file,
|
|
303
|
-
home,
|
|
304
|
-
insert,
|
|
305
|
-
addNewSheet,
|
|
306
|
-
error,
|
|
307
|
-
ok,
|
|
308
|
-
modifyMerged,
|
|
309
|
-
cannotModifyDisabled,
|
|
310
|
-
openUnsupported,
|
|
311
|
-
duplicateSheetName,
|
|
312
|
-
formatTab
|
|
313
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.packageMetadata = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* @hidden
|
|
6
|
-
*/
|
|
7
|
-
exports.packageMetadata = {
|
|
8
|
-
name: '@progress/kendo-react-spreadsheet',
|
|
9
|
-
productName: 'KendoReact',
|
|
10
|
-
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
11
|
-
publishDate: 1700065698,
|
|
12
|
-
version: '',
|
|
13
|
-
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
|
|
14
|
-
};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DecreaseDecimal = exports.IncreaseDecimal = void 0;
|
|
4
|
-
const React = require("react");
|
|
5
|
-
const kendo_react_buttons_1 = require("@progress/kendo-react-buttons");
|
|
6
|
-
const kendo_react_intl_1 = require("@progress/kendo-react-intl");
|
|
7
|
-
const messages_1 = require("../messages");
|
|
8
|
-
const kendo_svg_icons_1 = require("@progress/kendo-svg-icons");
|
|
9
|
-
const adjustDecimalsTool = (settings) => {
|
|
10
|
-
const tool = props => {
|
|
11
|
-
const { icon, svgIcon, titleKey, value } = settings;
|
|
12
|
-
const { spreadsheetRef } = props;
|
|
13
|
-
const onClick = React.useCallback(() => {
|
|
14
|
-
if (spreadsheetRef.current) {
|
|
15
|
-
const options = {
|
|
16
|
-
command: 'AdjustDecimalsCommand', options: { value }
|
|
17
|
-
};
|
|
18
|
-
spreadsheetRef.current.executeCommand(options);
|
|
19
|
-
}
|
|
20
|
-
}, []);
|
|
21
|
-
return (React.createElement(kendo_react_buttons_1.Button, { type: "button", icon: icon, svgIcon: svgIcon, fillMode: "flat", onClick: onClick, title: (0, kendo_react_intl_1.useLocalization)().toLanguageString(titleKey, messages_1.messages[titleKey]) }));
|
|
22
|
-
};
|
|
23
|
-
return tool;
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
* The IncreaseDecimal tool component.
|
|
27
|
-
*/
|
|
28
|
-
exports.IncreaseDecimal = adjustDecimalsTool({
|
|
29
|
-
icon: kendo_svg_icons_1.decimalIncreaseIcon.name,
|
|
30
|
-
svgIcon: kendo_svg_icons_1.decimalIncreaseIcon,
|
|
31
|
-
value: 1,
|
|
32
|
-
titleKey: messages_1.keys.increaseDecimal
|
|
33
|
-
});
|
|
34
|
-
/**
|
|
35
|
-
* The DecreaseDecimal tool component.
|
|
36
|
-
*/
|
|
37
|
-
exports.DecreaseDecimal = adjustDecimalsTool({
|
|
38
|
-
icon: kendo_svg_icons_1.decimalDecreaseIcon.name,
|
|
39
|
-
svgIcon: kendo_svg_icons_1.decimalDecreaseIcon,
|
|
40
|
-
value: -1,
|
|
41
|
-
titleKey: messages_1.keys.decreaseDecimal
|
|
42
|
-
});
|
package/dist/npm/tools/align.js
DELETED
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AlignVertically = exports.AlignHorizontally = exports.Alignment = void 0;
|
|
4
|
-
const React = require("react");
|
|
5
|
-
const kendo_react_buttons_1 = require("@progress/kendo-react-buttons");
|
|
6
|
-
const kendo_react_common_1 = require("@progress/kendo-react-common");
|
|
7
|
-
const kendo_svg_icons_1 = require("@progress/kendo-svg-icons");
|
|
8
|
-
const kendo_react_intl_1 = require("@progress/kendo-react-intl");
|
|
9
|
-
const messages_1 = require("../messages");
|
|
10
|
-
const alignItems = [
|
|
11
|
-
{ icon: 'align-left', svgIcon: kendo_svg_icons_1.alignLeftIcon, textKey: messages_1.keys.alignLeft, commandName: 'textAlign', value: 'left', selected: false },
|
|
12
|
-
{ icon: 'align-center', svgIcon: kendo_svg_icons_1.alignCenterIcon, textKey: messages_1.keys.alignCenter, commandName: 'textAlign', value: 'center', selected: false },
|
|
13
|
-
{ icon: 'align-right', svgIcon: kendo_svg_icons_1.alignRightIcon, textKey: messages_1.keys.alignRight, commandName: 'textAlign', value: 'right', selected: false },
|
|
14
|
-
{ icon: 'align-justify', svgIcon: kendo_svg_icons_1.alignJustifyIcon, textKey: messages_1.keys.alignJustify, commandName: 'textAlign', value: 'justify', selected: false },
|
|
15
|
-
{ icon: 'align-top', svgIcon: kendo_svg_icons_1.alignTopIcon, textKey: messages_1.keys.alignTop, commandName: 'verticalAlign', value: 'top', selected: false },
|
|
16
|
-
{ icon: 'align-middle', svgIcon: kendo_svg_icons_1.alignMiddleIcon, textKey: messages_1.keys.alignMiddle, commandName: 'verticalAlign', value: 'center', selected: false },
|
|
17
|
-
{ icon: 'align-bottom', svgIcon: kendo_svg_icons_1.alignBottomIcon, textKey: messages_1.keys.alignBottom, commandName: 'verticalAlign', value: 'bottom', selected: false }
|
|
18
|
-
];
|
|
19
|
-
const alignHorizontalItems = [
|
|
20
|
-
alignItems[0],
|
|
21
|
-
Object.assign(Object.assign({}, alignItems[1]), { textKey: messages_1.keys.center }),
|
|
22
|
-
alignItems[2],
|
|
23
|
-
Object.assign(Object.assign({}, alignItems[3]), { textKey: messages_1.keys.justify })
|
|
24
|
-
];
|
|
25
|
-
const alignVerticalItems = alignItems.filter(i => i.commandName === 'verticalAlign');
|
|
26
|
-
/**
|
|
27
|
-
* The Alignment tool component.
|
|
28
|
-
*/
|
|
29
|
-
const Alignment = props => {
|
|
30
|
-
const { value, spreadsheetRef } = props;
|
|
31
|
-
const { textAlign, verticalAlign } = value || {};
|
|
32
|
-
const loc = (0, kendo_react_intl_1.useLocalization)();
|
|
33
|
-
const onItemClick = React.useCallback((event) => {
|
|
34
|
-
if (spreadsheetRef.current) {
|
|
35
|
-
const item = event.item;
|
|
36
|
-
const options = {
|
|
37
|
-
command: 'PropertyChangeCommand', options: { property: item.commandName, value: item.value || null }
|
|
38
|
-
};
|
|
39
|
-
spreadsheetRef.current.executeCommand(options);
|
|
40
|
-
}
|
|
41
|
-
}, []);
|
|
42
|
-
let items = alignItems.slice();
|
|
43
|
-
items = items.map(i => (Object.assign(Object.assign({}, i), { text: loc.toLanguageString(i.textKey, messages_1.messages[i.textKey]) })));
|
|
44
|
-
if (textAlign) {
|
|
45
|
-
items = items.map(i => i.commandName === 'textAlign' ? Object.assign(Object.assign({}, i), { selected: i.value === textAlign }) : i);
|
|
46
|
-
}
|
|
47
|
-
if (verticalAlign) {
|
|
48
|
-
items = items.map(i => i.commandName === 'verticalAlign' ? Object.assign(Object.assign({}, i), { selected: i.value === verticalAlign }) : i);
|
|
49
|
-
}
|
|
50
|
-
return (React.createElement(kendo_react_buttons_1.DropDownButton, { icon: "align-left", svgIcon: kendo_svg_icons_1.alignLeftIcon, items: items, fillMode: "flat", onItemClick: onItemClick, title: loc.toLanguageString(messages_1.keys.align, messages_1.messages[messages_1.keys.align]), text: React.createElement(kendo_react_common_1.IconWrap, { name: "caret-alt-down", icon: kendo_svg_icons_1.caretAltDownIcon }) }));
|
|
51
|
-
};
|
|
52
|
-
exports.Alignment = Alignment;
|
|
53
|
-
exports.Alignment.displayName = 'Alignment';
|
|
54
|
-
const alignHorizontal = {
|
|
55
|
-
items: alignHorizontalItems,
|
|
56
|
-
icon: { icon: 'align-left', svgIcon: kendo_svg_icons_1.alignLeftIcon },
|
|
57
|
-
displayName: 'AlignHorizontally',
|
|
58
|
-
titleKey: messages_1.keys.alignHorizontally
|
|
59
|
-
};
|
|
60
|
-
const alignVertical = {
|
|
61
|
-
items: alignVerticalItems,
|
|
62
|
-
icon: { icon: 'align-bottom', svgIcon: kendo_svg_icons_1.alignBottomIcon },
|
|
63
|
-
displayName: 'AlignVertically',
|
|
64
|
-
titleKey: messages_1.keys.alignVertically
|
|
65
|
-
};
|
|
66
|
-
const createAlignTool = (settings) => {
|
|
67
|
-
const Tool = props => {
|
|
68
|
-
const { value, spreadsheetRef } = props;
|
|
69
|
-
const loc = (0, kendo_react_intl_1.useLocalization)();
|
|
70
|
-
const onItemClick = React.useCallback((event) => {
|
|
71
|
-
if (spreadsheetRef.current) {
|
|
72
|
-
const item = event.item;
|
|
73
|
-
const options = {
|
|
74
|
-
command: 'PropertyChangeCommand', options: { property: item.commandName, value: item.value || null }
|
|
75
|
-
};
|
|
76
|
-
spreadsheetRef.current.executeCommand(options);
|
|
77
|
-
}
|
|
78
|
-
}, []);
|
|
79
|
-
let items = settings.items.slice();
|
|
80
|
-
items = items.map(i => (Object.assign(Object.assign({}, i), { text: loc.toLanguageString(i.textKey, messages_1.messages[i.textKey]) })));
|
|
81
|
-
items = items.map(i => (Object.assign(Object.assign({}, i), { selected: i.value === value })));
|
|
82
|
-
const icons = Object.assign({}, settings.icon);
|
|
83
|
-
const selected = items.find(i => i.selected);
|
|
84
|
-
if (selected) {
|
|
85
|
-
icons.icon = selected.icon;
|
|
86
|
-
icons.svgIcon = selected.svgIcon;
|
|
87
|
-
}
|
|
88
|
-
return (React.createElement(kendo_react_buttons_1.DropDownButton, Object.assign({}, icons, { items: items, fillMode: "flat", onItemClick: onItemClick, title: loc.toLanguageString(settings.titleKey, messages_1.messages[settings.titleKey]), text: React.createElement(kendo_react_common_1.IconWrap, { name: "caret-alt-down", icon: kendo_svg_icons_1.caretAltDownIcon }) })));
|
|
89
|
-
};
|
|
90
|
-
Tool.displayName = settings.displayName;
|
|
91
|
-
return Tool;
|
|
92
|
-
};
|
|
93
|
-
/**
|
|
94
|
-
* The AlignHorizontally tool component.
|
|
95
|
-
*/
|
|
96
|
-
exports.AlignHorizontally = createAlignTool(alignHorizontal);
|
|
97
|
-
/**
|
|
98
|
-
* The AlignVertically tool component.
|
|
99
|
-
*/
|
|
100
|
-
exports.AlignVertically = createAlignTool(alignVertical);
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ColorToolProps } from './utils';
|
|
3
|
-
/**
|
|
4
|
-
* The props of the BackgroundColor tool component.
|
|
5
|
-
*/
|
|
6
|
-
export interface BackgroundColorProps extends ColorToolProps {
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* The BackgroundColor tool component.
|
|
10
|
-
*/
|
|
11
|
-
export declare const BackgroundColor: React.FunctionComponent<BackgroundColorProps>;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BackgroundColor = void 0;
|
|
4
|
-
const messages_1 = require("../messages");
|
|
5
|
-
const utils_1 = require("./utils");
|
|
6
|
-
const kendo_svg_icons_1 = require("@progress/kendo-svg-icons");
|
|
7
|
-
/**
|
|
8
|
-
* The BackgroundColor tool component.
|
|
9
|
-
*/
|
|
10
|
-
exports.BackgroundColor = (0, utils_1.ColorTool)({
|
|
11
|
-
icon: 'droplet',
|
|
12
|
-
svgIcon: kendo_svg_icons_1.dropletIcon,
|
|
13
|
-
view: 'palette',
|
|
14
|
-
property: 'background',
|
|
15
|
-
titleKey: messages_1.keys.background,
|
|
16
|
-
ariaLabel: 'Background'
|
|
17
|
-
});
|
|
18
|
-
exports.BackgroundColor.displayName = 'BackgroundColor';
|
package/dist/npm/tools/bold.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { PropertyChangeToolProps } from './utils';
|
|
3
|
-
/**
|
|
4
|
-
* The props of the Bold tool component.
|
|
5
|
-
*/
|
|
6
|
-
export interface BoldProps extends PropertyChangeToolProps {
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* The Bold tool component.
|
|
10
|
-
*/
|
|
11
|
-
export declare const Bold: React.FunctionComponent<BoldProps>;
|
package/dist/npm/tools/bold.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Bold = void 0;
|
|
4
|
-
const kendo_svg_icons_1 = require("@progress/kendo-svg-icons");
|
|
5
|
-
const utils_1 = require("./utils");
|
|
6
|
-
const messages_1 = require("../messages");
|
|
7
|
-
const boldSettings = { property: 'bold', icon: 'bold', svgIcon: kendo_svg_icons_1.boldIcon, titleKey: messages_1.keys.bold };
|
|
8
|
-
/**
|
|
9
|
-
* The Bold tool component.
|
|
10
|
-
*/
|
|
11
|
-
exports.Bold = (0, utils_1.PropertyChangeTool)(boldSettings);
|
|
12
|
-
exports.Bold.displayName = 'Bold';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { PropertyChangeToolProps } from './utils';
|
|
3
|
-
/**
|
|
4
|
-
* @hidden
|
|
5
|
-
*/
|
|
6
|
-
export interface CleanFormattingProps extends PropertyChangeToolProps {
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export declare const CleanFormatting: React.FunctionComponent<CleanFormattingProps>;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CleanFormatting = void 0;
|
|
4
|
-
const React = require("react");
|
|
5
|
-
const kendo_svg_icons_1 = require("@progress/kendo-svg-icons");
|
|
6
|
-
const kendo_react_buttons_1 = require("@progress/kendo-react-buttons");
|
|
7
|
-
const kendo_react_intl_1 = require("@progress/kendo-react-intl");
|
|
8
|
-
const messages_1 = require("../messages");
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
const CleanFormatting = props => {
|
|
13
|
-
const { spreadsheetRef } = props;
|
|
14
|
-
const onClick = React.useCallback(() => {
|
|
15
|
-
if (spreadsheetRef.current) {
|
|
16
|
-
spreadsheetRef.current.executeCommand({ command: 'PropertyCleanCommand' });
|
|
17
|
-
}
|
|
18
|
-
}, []);
|
|
19
|
-
return (React.createElement(kendo_react_buttons_1.Button, { type: "button", icon: 'clean-css', svgIcon: kendo_svg_icons_1.clearCssIcon, fillMode: "flat", onClick: onClick, title: (0, kendo_react_intl_1.useLocalization)().toLanguageString(messages_1.keys.cleanFormatting, messages_1.messages[messages_1.keys.cleanFormatting]) }));
|
|
20
|
-
};
|
|
21
|
-
exports.CleanFormatting = CleanFormatting;
|