@progress/kendo-angular-spreadsheet 24.2.2 → 25.0.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/fesm2022/progress-kendo-angular-spreadsheet.mjs +186 -186
- package/index.d.ts +2197 -11
- package/package-metadata.mjs +2 -2
- package/package.json +22 -22
- package/schematics/ngAdd/index.js +2 -2
- package/action-bar/formula-input.directive.d.ts +0 -38
- package/action-bar/list.component.d.ts +0 -25
- package/action-bar/namebox.component.d.ts +0 -36
- package/common/calendar-editor.component.d.ts +0 -20
- package/common/error-handling.service.d.ts +0 -37
- package/common/list-editor.component.d.ts +0 -29
- package/common/main-menu.directive.d.ts +0 -17
- package/common/sheet-changes.d.ts +0 -23
- package/common/spreadsheet.service.d.ts +0 -34
- package/default-context-menu-items.d.ts +0 -17
- package/directives.d.ts +0 -60
- package/filter-menu/filter-menu-item-content-template.directive.d.ts +0 -15
- package/filter-menu/filter-menu-item.component.d.ts +0 -83
- package/localization/custom-messages.component.d.ts +0 -26
- package/localization/localized-messages.directive.d.ts +0 -16
- package/localization/messages.d.ts +0 -596
- package/localization/spreadsheet-localization.service.d.ts +0 -14
- package/models/cell-editor-action-args.d.ts +0 -63
- package/models/cell-editor-options.d.ts +0 -38
- package/models/events.d.ts +0 -239
- package/models/filter-menu-item.d.ts +0 -14
- package/models/index.d.ts +0 -12
- package/models/main-menu-item.d.ts +0 -20
- package/models/pdf-export.d.ts +0 -62
- package/models/range-filter-value.d.ts +0 -15
- package/models/sheet-info.d.ts +0 -26
- package/package-metadata.d.ts +0 -9
- package/sheets-bar/action-dialog.component.d.ts +0 -19
- package/sheets-bar/sheets-bar.component.d.ts +0 -67
- package/sheets-bar/utils.d.ts +0 -10
- package/spreadsheet.component.d.ts +0 -331
- package/spreadsheet.module.d.ts +0 -58
- package/tools/align/align-tool.directive.d.ts +0 -25
- package/tools/align/horizontal-align-tool.directive.d.ts +0 -25
- package/tools/align/vertical-align-tool.directive.d.ts +0 -25
- package/tools/colorpicker/spreadsheet-backcolor.component.d.ts +0 -23
- package/tools/colorpicker/spreadsheet-forecolor.component.d.ts +0 -23
- package/tools/data-validation-dialog.component.d.ts +0 -57
- package/tools/data-validation-tool.directive.d.ts +0 -29
- package/tools/decrease-decimal-tool.directive.d.ts +0 -19
- package/tools/filter-sort/filter-tool.directive.d.ts +0 -24
- package/tools/filter-sort/sort-tool.directive.d.ts +0 -21
- package/tools/font-family/font-family-dropdownlist.component.d.ts +0 -13
- package/tools/font-family/spreadsheet-fontfamily-tool.component.d.ts +0 -23
- package/tools/font-size/decrease-font-tool.directive.d.ts +0 -22
- package/tools/font-size/font-size-dropdownlist.component.d.ts +0 -13
- package/tools/font-size/increase-font-tool.directive.d.ts +0 -22
- package/tools/font-size/spreadsheet-fontsize-tool.component.d.ts +0 -23
- package/tools/format-tool.directive.d.ts +0 -36
- package/tools/gridlines-tool.directive.d.ts +0 -19
- package/tools/history/redo-tool.d.ts +0 -19
- package/tools/history/undo-tool.d.ts +0 -19
- package/tools/increase-decimal-tool.directive.d.ts +0 -19
- package/tools/index.d.ts +0 -31
- package/tools/insert/insert-link-dialog.component.d.ts +0 -18
- package/tools/insert/insert-link-tool.directive.d.ts +0 -27
- package/tools/load-file.component.d.ts +0 -41
- package/tools/pdf-export-tool.directive.d.ts +0 -22
- package/tools/save-file-tool.directive.d.ts +0 -22
- package/tools/shared/command-icons.d.ts +0 -14
- package/tools/shared/commands.d.ts +0 -8
- package/tools/shared/constants.d.ts +0 -75
- package/tools/shared/dialog-content.component.d.ts +0 -21
- package/tools/shared/spreadsheet-command-base.d.ts +0 -29
- package/tools/shared/spreadsheet-command-button.d.ts +0 -23
- package/tools/shared/spreadsheet-dropdown-tools-base.d.ts +0 -74
- package/tools/shared/spreadsheet-dropdownlist.base.d.ts +0 -25
- package/tools/tables/add-column-left-button.directive.d.ts +0 -19
- package/tools/tables/add-column-right-button.directive.d.ts +0 -19
- package/tools/tables/add-row-above-button.directive.d.ts +0 -19
- package/tools/tables/add-row-below-button.directive.d.ts +0 -19
- package/tools/tables/delete-column-button.directive.d.ts +0 -19
- package/tools/tables/delete-row-button.directive.d.ts +0 -19
- package/tools/tables/index.d.ts +0 -11
- package/tools/tables/merge-tool.directive.d.ts +0 -25
- package/tools/tables/selection-utils.d.ts +0 -18
- package/tools/tables/spreadsheet-table-command-button.d.ts +0 -29
- package/tools/text-wrap-tool.directive.d.ts +0 -19
- package/tools/tools.service.d.ts +0 -21
- package/tools/typographical-emphasis/bold-tool.directive.d.ts +0 -18
- package/tools/typographical-emphasis/italic-tool.directive.d.ts +0 -18
- package/tools/typographical-emphasis/underline-tool.directive.d.ts +0 -18
- package/tools/utils.d.ts +0 -12
- package/utils.d.ts +0 -13
package/index.d.ts
CHANGED
|
@@ -2,14 +2,2200 @@
|
|
|
2
2
|
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
export {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
5
|
+
import * as i0 from '@angular/core';
|
|
6
|
+
import { ViewContainerRef, NgZone, EventEmitter, AfterViewInit, OnChanges, OnDestroy, TemplateRef, ElementRef, ChangeDetectorRef, SimpleChanges, Renderer2, OnInit, QueryList } from '@angular/core';
|
|
7
|
+
import { LicenseMessage } from '@progress/kendo-licensing';
|
|
8
|
+
import { SheetDescriptor, Range, View, SpreadsheetWidget, Workbook, Sheet, CellDefaultStyle, ExcelExportSettings } from '@progress/kendo-spreadsheet-common';
|
|
9
|
+
export { Cell, CellBorder, CellDefaultStyle, CellRef, Context, Deferred, DocumentDescriptor, ExcelExportSettings, Matrix, Range, RangeRef, Ref, Sheet, SheetColumn, SheetDescriptor, SheetRow, SpreadsheetOptions, SpreadsheetWidget, View, Workbook, defineFunction } from '@progress/kendo-spreadsheet-common';
|
|
10
|
+
import { IntlService } from '@progress/kendo-angular-intl';
|
|
11
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
12
|
+
import { LocalizationService, ComponentMessages, MessageService } from '@progress/kendo-angular-l10n';
|
|
13
|
+
import { PopupService } from '@progress/kendo-angular-popup';
|
|
14
|
+
import { ContextMenuSelectEvent } from '@progress/kendo-angular-menu';
|
|
15
|
+
import { DialogService } from '@progress/kendo-angular-dialog';
|
|
16
|
+
import { Subject, Subscription, Observable } from 'rxjs';
|
|
17
|
+
import { ListItemModel, ButtonComponent, DropDownButtonComponent } from '@progress/kendo-angular-buttons';
|
|
18
|
+
import { PreventableEvent } from '@progress/kendo-angular-common';
|
|
19
|
+
import { pdf } from '@progress/kendo-drawing';
|
|
20
|
+
import { CheckedState } from '@progress/kendo-angular-treeview';
|
|
21
|
+
import { ToolBarButtonComponent, ToolBarToolComponent, ToolBarComponent, ToolBarDropDownButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
22
|
+
import * as _progress_kendo_angular_icons from '@progress/kendo-angular-icons';
|
|
23
|
+
import { SVGIcon as SVGIcon$1 } from '@progress/kendo-angular-icons';
|
|
24
|
+
import { TabStripComponent, SelectEvent } from '@progress/kendo-angular-layout';
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* @hidden
|
|
28
|
+
*/
|
|
29
|
+
type SheetAction = ListItemModel & {
|
|
30
|
+
commandName: string;
|
|
31
|
+
dialogButton?: string;
|
|
32
|
+
messageKey?: string;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* @hidden
|
|
36
|
+
*/
|
|
37
|
+
type SheetInfo = SheetDescriptor & {
|
|
38
|
+
last: boolean;
|
|
39
|
+
first: boolean;
|
|
40
|
+
text: string;
|
|
41
|
+
sheetActions: SheetAction[];
|
|
42
|
+
inEdit?: boolean;
|
|
43
|
+
active?: boolean;
|
|
44
|
+
index?: number;
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* The configuration object for customizing the built-in menu items.
|
|
49
|
+
* Lets you render a specific set of menu items in the desired order and choose the initially active one.
|
|
50
|
+
*/
|
|
51
|
+
interface SpreadsheetMainMenuItem {
|
|
52
|
+
/**
|
|
53
|
+
* Specifies the built-in menu item identifier.
|
|
54
|
+
*/
|
|
55
|
+
id: 'file' | 'home' | 'insert' | 'format' | 'view' | 'data';
|
|
56
|
+
/**
|
|
57
|
+
* Determines if the menu item is initially active.
|
|
58
|
+
* If no item is set as active, the first one is active by default.
|
|
59
|
+
* If more than one item is set as active, the first of them is active.
|
|
60
|
+
*/
|
|
61
|
+
active?: boolean;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Represents the rectangular dimensions and position of a cell or range.
|
|
66
|
+
*/
|
|
67
|
+
interface Rectangle {
|
|
68
|
+
/**
|
|
69
|
+
* Represents the left position of the rectangle in pixels.
|
|
70
|
+
*/
|
|
71
|
+
left: number;
|
|
72
|
+
/**
|
|
73
|
+
* Represents the top position of the rectangle in pixels.
|
|
74
|
+
*/
|
|
75
|
+
top: number;
|
|
76
|
+
/**
|
|
77
|
+
* Represents the width of the rectangle in pixels.
|
|
78
|
+
*/
|
|
79
|
+
width: number;
|
|
80
|
+
/**
|
|
81
|
+
* Represents the height of the rectangle in pixels.
|
|
82
|
+
*/
|
|
83
|
+
height: number;
|
|
84
|
+
/**
|
|
85
|
+
* Represents the right position of the rectangle in pixels.
|
|
86
|
+
*/
|
|
87
|
+
right: number;
|
|
88
|
+
/**
|
|
89
|
+
* Represents the bottom position of the rectangle in pixels.
|
|
90
|
+
*/
|
|
91
|
+
bottom: number;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Represents the arguments passed to the handler callback for each cell editor ([see example](https://www.telerik.com/kendo-angular-ui/components/spreadsheet/custom-cell-editors#action-handlers)).
|
|
95
|
+
*/
|
|
96
|
+
interface SpreadsheetCellEditorHandlerArgs {
|
|
97
|
+
/**
|
|
98
|
+
* The data returned from the component's original event (for example, the selected color value from a ColorPalette's `valueChange` event).
|
|
99
|
+
*/
|
|
100
|
+
originalEvent?: any;
|
|
101
|
+
/**
|
|
102
|
+
* The Spreadsheet `Range` object representing the currently selected cells. Provides methods to apply values, formatting, and styling to the Spreadsheet cells using the original event's data.
|
|
103
|
+
*/
|
|
104
|
+
range?: Range;
|
|
105
|
+
/**
|
|
106
|
+
* Represents the `Rectangle` object that provides position and dimension information about the active range, useful for custom positioning logic.
|
|
107
|
+
*/
|
|
108
|
+
rect?: Rectangle;
|
|
109
|
+
/**
|
|
110
|
+
* The current Spreadsheet `View` instance, giving access to the broader Spreadsheet context.
|
|
111
|
+
*/
|
|
112
|
+
view?: View;
|
|
113
|
+
/**
|
|
114
|
+
* Any validation rules configured for the active range, allowing you to respect existing constraints.
|
|
115
|
+
*/
|
|
116
|
+
validation?: any;
|
|
117
|
+
/**
|
|
118
|
+
* A function that edits the active cell or range with a provided value. Use this as an alternative to `args.range.value` manipulation for updating the cell content.
|
|
119
|
+
*/
|
|
120
|
+
callback?: Function;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Provides the event data for the Spreadsheet `change` event.
|
|
125
|
+
*/
|
|
126
|
+
interface SpreadsheetChangeEvent {
|
|
127
|
+
/**
|
|
128
|
+
* Specifies the selected `Range` in the active sheet.
|
|
129
|
+
*/
|
|
130
|
+
range: Range;
|
|
131
|
+
/**
|
|
132
|
+
* Specifies the `SpreadsheetWidget` instance used in the Spreadsheet component.
|
|
133
|
+
*/
|
|
134
|
+
sender: SpreadsheetWidget;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* Provides the event data for the Spreadsheet `excelExport` event.
|
|
138
|
+
*/
|
|
139
|
+
interface SpreadsheetExcelExportEvent {
|
|
140
|
+
/**
|
|
141
|
+
* Specifies the `SpreadsheetWidget` instance.
|
|
142
|
+
*/
|
|
143
|
+
sender: SpreadsheetWidget;
|
|
144
|
+
/**
|
|
145
|
+
* Specifies the Excel `Workbook` configuration object. Changes to the `Workbook` are reflected in the output Excel document.
|
|
146
|
+
*/
|
|
147
|
+
workbook: Workbook;
|
|
148
|
+
/**
|
|
149
|
+
* Prevents the Spreadsheet from saving the generated file when invoked.
|
|
150
|
+
*/
|
|
151
|
+
preventDefault: Function;
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* Provides the event data for the Spreadsheet `pdfExport` event.
|
|
155
|
+
*/
|
|
156
|
+
declare class SpreadsheetPDFExportEvent extends PreventableEvent {
|
|
157
|
+
/**
|
|
158
|
+
* Specifies the `SpreadsheetWidget` instance.
|
|
159
|
+
*/
|
|
160
|
+
sender: SpreadsheetWidget;
|
|
161
|
+
/**
|
|
162
|
+
* @hidden
|
|
163
|
+
*/
|
|
164
|
+
constructor(sender: SpreadsheetWidget);
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* Provides the event data for the Spreadsheet `excelImport` event.
|
|
168
|
+
*/
|
|
169
|
+
interface SpreadsheetExcelImportEvent {
|
|
170
|
+
/**
|
|
171
|
+
* Specifies the `SpreadsheetWidget` instance.
|
|
172
|
+
*/
|
|
173
|
+
sender: SpreadsheetWidget;
|
|
174
|
+
/**
|
|
175
|
+
* Specifies the selected file.
|
|
176
|
+
*/
|
|
177
|
+
file: File | Blob;
|
|
178
|
+
/**
|
|
179
|
+
* Prevents the Spreadsheet from loading the selected file when invoked.
|
|
180
|
+
*/
|
|
181
|
+
preventDefault: Function;
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* Provides the event data for the Spreadsheet `activeSheetChange` event.
|
|
185
|
+
*/
|
|
186
|
+
interface SpreadsheetActiveSheetChangeEvent {
|
|
187
|
+
/**
|
|
188
|
+
* Specifies the `SpreadsheetWidget` instance.
|
|
189
|
+
*/
|
|
190
|
+
sender: SpreadsheetWidget;
|
|
191
|
+
/**
|
|
192
|
+
* Specifies the new active sheet.
|
|
193
|
+
*/
|
|
194
|
+
sheet: Sheet;
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* Provides the event data for the Spreadsheet `cut`, `copy` and `paste` events.
|
|
198
|
+
*/
|
|
199
|
+
interface SpreadsheetClipboardEvent {
|
|
200
|
+
/**
|
|
201
|
+
* The `SpreadsheetWidget` instance which fired the event.
|
|
202
|
+
*/
|
|
203
|
+
sender: SpreadsheetWidget;
|
|
204
|
+
/**
|
|
205
|
+
* The selected `Range` in the active sheet that is about to be copied.
|
|
206
|
+
*/
|
|
207
|
+
range: Range;
|
|
208
|
+
/**
|
|
209
|
+
* The type of the clipboard event.
|
|
210
|
+
*/
|
|
211
|
+
type: SpreadsheetClipboardEventType;
|
|
212
|
+
/**
|
|
213
|
+
* The clipboard content that is being copied, cut, or pasted.
|
|
214
|
+
*/
|
|
215
|
+
clipboardContent: SpreadsheetClipboardContent;
|
|
216
|
+
/**
|
|
217
|
+
* Prevents the default action for the event.
|
|
218
|
+
* The Spreadsheet suppresses the built-in behavior that follows the event.
|
|
219
|
+
*/
|
|
220
|
+
preventDefault: Function;
|
|
221
|
+
/**
|
|
222
|
+
* Returns `true` if any subscriber prevented the default action.
|
|
223
|
+
*
|
|
224
|
+
* @returns `true` if the default action was prevented, otherwise, `false`.
|
|
225
|
+
*/
|
|
226
|
+
isDefaultPrevented: Function;
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* Provides information about the clipboard content that is being copied, cut, or pasted, as well as about the merged cells within the selection.
|
|
230
|
+
*/
|
|
231
|
+
interface SpreadsheetClipboardContent {
|
|
232
|
+
/**
|
|
233
|
+
* The data that is being copied, cut, or pasted.
|
|
234
|
+
*/
|
|
235
|
+
data: any[];
|
|
236
|
+
/**
|
|
237
|
+
* A collection representing the merged cells contained within the selected range.
|
|
238
|
+
*/
|
|
239
|
+
mergedCells: string[];
|
|
240
|
+
}
|
|
241
|
+
/**
|
|
242
|
+
* Provides the event data for the Spreadsheet `contextMenu` event.
|
|
243
|
+
*/
|
|
244
|
+
declare class SpreadsheetContextMenuEvent extends PreventableEvent {
|
|
245
|
+
/**
|
|
246
|
+
* The context menu items for the current selection.
|
|
247
|
+
*/
|
|
248
|
+
items: Array<SpreadsheetContextMenuItem>;
|
|
249
|
+
/**
|
|
250
|
+
* The Spreadsheet component instance.
|
|
251
|
+
*/
|
|
252
|
+
spreadsheet: SpreadsheetComponent;
|
|
253
|
+
/**
|
|
254
|
+
* The Spreadsheet Range object representing the currently selected cells.
|
|
255
|
+
* Provides methods to apply values, formatting, and styling to the Spreadsheet cells using the original event's data.
|
|
256
|
+
*/
|
|
257
|
+
range: Range;
|
|
258
|
+
/**
|
|
259
|
+
* Represents the Rectangle object that provides position and dimension information about the active range, useful for custom positioning logic.
|
|
260
|
+
*/
|
|
261
|
+
rect: Rectangle;
|
|
262
|
+
/**
|
|
263
|
+
* The current Spreadsheet View instance, giving access to the broader Spreadsheet context.
|
|
264
|
+
*/
|
|
265
|
+
view: View;
|
|
266
|
+
/**
|
|
267
|
+
* The type of target that opens the context menu.
|
|
268
|
+
*/
|
|
269
|
+
targetType: SpreadsheetContextMenuTarget;
|
|
270
|
+
/**
|
|
271
|
+
* @hidden
|
|
272
|
+
*/
|
|
273
|
+
constructor(options: any);
|
|
274
|
+
}
|
|
275
|
+
/**
|
|
276
|
+
* Defines a context menu item in the Spreadsheet.
|
|
277
|
+
*/
|
|
278
|
+
interface SpreadsheetContextMenuItem {
|
|
279
|
+
/**
|
|
280
|
+
* The context menu item type.
|
|
281
|
+
*/
|
|
282
|
+
type: SpreadsheetContextMenuAction;
|
|
283
|
+
/**
|
|
284
|
+
* Sets the unique identifier for the context menu item.
|
|
285
|
+
*/
|
|
286
|
+
id?: string | number;
|
|
287
|
+
/**
|
|
288
|
+
* Specifies the item text.
|
|
289
|
+
*/
|
|
290
|
+
text?: string;
|
|
291
|
+
/**
|
|
292
|
+
* Specifies the name of the font icon that will be rendered for the item.
|
|
293
|
+
*/
|
|
294
|
+
icon?: string;
|
|
295
|
+
/**
|
|
296
|
+
* Defines an SVGIcon that will be rendered for the item using a KendoSVGIcon component.
|
|
297
|
+
*/
|
|
298
|
+
svgIcon?: SVGIcon;
|
|
299
|
+
/**
|
|
300
|
+
* Specifies if the item is disabled.
|
|
301
|
+
*/
|
|
302
|
+
disabled?: boolean;
|
|
303
|
+
/**
|
|
304
|
+
* Specifies if this is a separator item. If set to true, other fields are disregarded.
|
|
305
|
+
*/
|
|
306
|
+
separator?: boolean;
|
|
307
|
+
/**
|
|
308
|
+
* Sets a function that will be invoked when the item is selected.
|
|
309
|
+
*/
|
|
310
|
+
action?: ContextMenuActionFn;
|
|
311
|
+
}
|
|
312
|
+
/**
|
|
313
|
+
* Provides the arguments for the callback function of a context menu item.
|
|
314
|
+
*/
|
|
315
|
+
interface ContextMenuArgs {
|
|
316
|
+
/**
|
|
317
|
+
* The item that triggered the action.
|
|
318
|
+
*/
|
|
319
|
+
item: SpreadsheetContextMenuItem;
|
|
320
|
+
/**
|
|
321
|
+
* The Spreadsheet component instance.
|
|
322
|
+
*/
|
|
323
|
+
spreadsheet: SpreadsheetComponent;
|
|
324
|
+
/**
|
|
325
|
+
* The Spreadsheet Range object representing the currently selected cells. Provides methods to apply values, formatting, and styling to the Spreadsheet cells using the original event's data.
|
|
326
|
+
*/
|
|
327
|
+
range: Range;
|
|
328
|
+
/**
|
|
329
|
+
* Represents the Rectangle object that provides position and dimension information about the active range, useful for custom positioning logic.
|
|
330
|
+
*/
|
|
331
|
+
rect: Rectangle;
|
|
332
|
+
/**
|
|
333
|
+
* The current Spreadsheet View instance, giving access to the broader Spreadsheet context.
|
|
334
|
+
*/
|
|
335
|
+
view: View;
|
|
336
|
+
}
|
|
337
|
+
/**
|
|
338
|
+
* Represents the callback that will be invoked when a context menu item is selected.
|
|
339
|
+
*/
|
|
340
|
+
type ContextMenuActionFn = (context: ContextMenuArgs) => void;
|
|
341
|
+
/**
|
|
342
|
+
* Defines the possible values for the `targetType` that triggered opening of the context menu.
|
|
343
|
+
*/
|
|
344
|
+
type SpreadsheetContextMenuTarget = 'cell' | 'range' | 'rowHeader' | 'columnHeader';
|
|
345
|
+
/**
|
|
346
|
+
* Defines the possible values for the `type` property of a context menu item.
|
|
347
|
+
*/
|
|
348
|
+
type SpreadsheetContextMenuAction = 'copy' | 'paste' | 'cut' | 'mergeAll' | 'mergeHorizontally' | 'mergeVertically' | 'unmerge' | 'insertLink' | 'separator' | 'addRowAbove' | 'addRowBelow' | 'deleteRow' | 'hideRow' | 'unhideRow' | 'addColumnLeft' | 'addColumnRight' | 'deleteColumn' | 'hideColumn' | 'unhideColumn' | 'custom';
|
|
349
|
+
/**
|
|
350
|
+
* Defines the possible values for the `type` property of [`SpreadsheetClipboardEvent`](https://www.telerik.com/kendo-angular-ui/components/spreadsheet/api/spreadsheetclipboardevent).
|
|
351
|
+
*/
|
|
352
|
+
type SpreadsheetClipboardEventType = 'copy' | 'cut' | 'paste';
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* Represents the configuration object for defining custom cell editors.
|
|
356
|
+
* Use this interface to render specific cell editors when you focus a cell or a range.
|
|
357
|
+
*/
|
|
358
|
+
interface SpreadsheetCellEditorOptions {
|
|
359
|
+
/**
|
|
360
|
+
* Sets the unique name of the cell editor.
|
|
361
|
+
* Use this name when you specify the editor for a cell or a range.
|
|
362
|
+
*
|
|
363
|
+
* Please note that `_validation_list` and `_validation_date` are reserved names for built-in editors.
|
|
364
|
+
*/
|
|
365
|
+
name: string;
|
|
366
|
+
/**
|
|
367
|
+
* Sets the component to use as a cell editor.
|
|
368
|
+
*/
|
|
369
|
+
component?: any;
|
|
370
|
+
/**
|
|
371
|
+
* Provides the actions that the cell editor can use.
|
|
372
|
+
* The `name` property must match an event name of the editor component.
|
|
373
|
+
*/
|
|
374
|
+
actions?: Array<{
|
|
375
|
+
name: string;
|
|
376
|
+
handler: Function;
|
|
377
|
+
}>;
|
|
378
|
+
/**
|
|
379
|
+
* Sets the name of an existing icon from a Kendo UI theme.
|
|
380
|
+
*/
|
|
381
|
+
icon?: string;
|
|
382
|
+
/**
|
|
383
|
+
* Sets the [`SVGIcon`](https://www.telerik.com/kendo-angular-ui/components/icons/api/svgicon) to render.
|
|
384
|
+
*/
|
|
385
|
+
svgIcon?: SVGIcon;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
/**
|
|
389
|
+
* @hidden
|
|
390
|
+
*/
|
|
391
|
+
interface FilterMenuItem {
|
|
392
|
+
text: string;
|
|
393
|
+
icon?: string;
|
|
394
|
+
svgIcon?: SVGIcon;
|
|
395
|
+
content?: any;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
/**
|
|
399
|
+
* Configures the PDF export settings of the Spreadsheet.
|
|
400
|
+
*/
|
|
401
|
+
interface PDFExportSettings {
|
|
402
|
+
/**
|
|
403
|
+
* Sets the paper size for the PDF document.
|
|
404
|
+
* The value can be a `SpreadsheetPaperSize` or an array of two numbers (width and height in points).
|
|
405
|
+
*
|
|
406
|
+
* @default 'A4'
|
|
407
|
+
*/
|
|
408
|
+
paperSize?: SpreadsheetPaperSize | [number, number];
|
|
409
|
+
/**
|
|
410
|
+
* If `false`, sets the page orientation to `portrait`. The default page orientation is `landscape`.
|
|
411
|
+
*
|
|
412
|
+
* @default true
|
|
413
|
+
*/
|
|
414
|
+
landscape?: boolean;
|
|
415
|
+
/**
|
|
416
|
+
* Specifies the margins of the page. The supported units are `"mm"`, `"cm"`,`"in"`, and `"pt"`.
|
|
417
|
+
* Numbers are treated as points (`"pt"`).
|
|
418
|
+
*
|
|
419
|
+
* @default '1cm'
|
|
420
|
+
*/
|
|
421
|
+
margin?: string | number | PDFMargin;
|
|
422
|
+
/**
|
|
423
|
+
* Scales the content to fit page width.
|
|
424
|
+
*
|
|
425
|
+
* @default false
|
|
426
|
+
*/
|
|
427
|
+
fitWidth?: boolean;
|
|
428
|
+
/**
|
|
429
|
+
* Sets a scale factor for the PDF output. Use this to make the PDF content smaller or larger.
|
|
430
|
+
*
|
|
431
|
+
* @default 1
|
|
432
|
+
*/
|
|
433
|
+
scale?: number;
|
|
434
|
+
/**
|
|
435
|
+
* Sets the title metadata for the PDF document. If not set, the title is the same as the file name.
|
|
436
|
+
*/
|
|
437
|
+
title?: string;
|
|
438
|
+
/**
|
|
439
|
+
* Sets the name of the exported PDF file.
|
|
440
|
+
*
|
|
441
|
+
* @default 'Workbook.pdf'
|
|
442
|
+
*/
|
|
443
|
+
fileName?: string;
|
|
444
|
+
}
|
|
445
|
+
/**
|
|
446
|
+
* The paper size.
|
|
447
|
+
*/
|
|
448
|
+
type SpreadsheetPaperSize = 'A0' | 'A1' | 'A2' | 'A3' | 'A4' | 'A5' | 'A6' | 'A7' | 'A8' | 'A9' | 'A10' | 'B0' | 'B1' | 'B2' | 'B3' | 'B4' | 'B5' | 'B6' | 'B7' | 'B8' | 'B9' | 'B10' | 'C0' | 'C1' | 'C2' | 'C3' | 'C4' | 'C5' | 'C6' | 'C7' | 'C8' | 'C9' | 'C10' | 'Executive' | 'Folio' | 'Legal' | 'Letter' | 'Tabloid';
|
|
449
|
+
/**
|
|
450
|
+
* Defines the page margins for the PDF export.
|
|
451
|
+
* Accepts numbers or strings with units.
|
|
452
|
+
*/
|
|
453
|
+
interface PDFMargin extends pdf.PageMargin {
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
/**
|
|
457
|
+
* @hidden
|
|
458
|
+
*/
|
|
459
|
+
interface SheetsChanges {
|
|
460
|
+
/**
|
|
461
|
+
* The current Spreadsheet sheets collection.
|
|
462
|
+
*/
|
|
463
|
+
sheets: Sheet[];
|
|
464
|
+
/**
|
|
465
|
+
* The type of the change action. The built-in types are `add`, `rename`, `delete`, `reorder`, `hide`.
|
|
466
|
+
*/
|
|
467
|
+
actionType: string;
|
|
468
|
+
/**
|
|
469
|
+
* The updated Spreadsheet sheet.
|
|
470
|
+
*/
|
|
471
|
+
sheet?: SheetInfo;
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
/**
|
|
475
|
+
* @hidden
|
|
476
|
+
*/
|
|
477
|
+
declare class SpreadsheetService {
|
|
478
|
+
spreadsheet: SpreadsheetWidget;
|
|
479
|
+
spreadsheetComponent: SpreadsheetComponent;
|
|
480
|
+
sheetsChanged: Subject<SheetsChanges>;
|
|
481
|
+
onSheetsBarFocus: Subject<any>;
|
|
482
|
+
activeSheetChanged: Subject<Sheet>;
|
|
483
|
+
selectionChanged: Subject<Range>;
|
|
484
|
+
componentInitialized: Subject<void>;
|
|
485
|
+
dialogContainer: ViewContainerRef;
|
|
486
|
+
constructor();
|
|
487
|
+
set currentActiveSheet(value: string);
|
|
488
|
+
get currentActiveSheet(): string;
|
|
489
|
+
get activeSheet(): string;
|
|
490
|
+
get formulaListId(): string;
|
|
491
|
+
get tablistId(): string;
|
|
492
|
+
private _currentActiveSheet;
|
|
493
|
+
notifySheetsChange(actionType: string, sheetInfo?: SheetInfo): void;
|
|
494
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetService, never>;
|
|
495
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SpreadsheetService>;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
/**
|
|
499
|
+
* @hidden
|
|
500
|
+
*/
|
|
501
|
+
declare class SpreadsheetToolsService {
|
|
502
|
+
ngZone: NgZone;
|
|
503
|
+
stateChange: EventEmitter<object>;
|
|
504
|
+
set toolsState(state: any);
|
|
505
|
+
get toolsState(): any;
|
|
506
|
+
private toolsFunctions;
|
|
507
|
+
private _toolsState;
|
|
508
|
+
constructor(ngZone: NgZone);
|
|
509
|
+
updateTools: (e: any) => void;
|
|
510
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetToolsService, never>;
|
|
511
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SpreadsheetToolsService>;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
/**
|
|
515
|
+
* @hidden
|
|
516
|
+
*/
|
|
517
|
+
declare class ErrorHandlingService {
|
|
518
|
+
private spreadsheetService;
|
|
519
|
+
private localization;
|
|
520
|
+
private dialogService;
|
|
521
|
+
spreadsheet: SpreadsheetWidget;
|
|
522
|
+
sheetsChanged: Subject<SheetsChanges>;
|
|
523
|
+
activeSheetChanged: Subject<Sheet>;
|
|
524
|
+
selectionChanged: Subject<Range>;
|
|
525
|
+
dialogContainer: ViewContainerRef;
|
|
526
|
+
constructor(spreadsheetService: SpreadsheetService, localization: LocalizationService, dialogService: DialogService);
|
|
527
|
+
set currentActiveSheet(value: string);
|
|
528
|
+
get currentActiveSheet(): string;
|
|
529
|
+
get activeSheet(): string;
|
|
530
|
+
private _currentActiveSheet;
|
|
531
|
+
notifySheetsChange(actionType: string, sheetInfo?: SheetInfo): void;
|
|
532
|
+
handleErrorMessage(messageData: any): void;
|
|
533
|
+
private openDialog;
|
|
534
|
+
private messageFor;
|
|
535
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorHandlingService, never>;
|
|
536
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ErrorHandlingService>;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
/**
|
|
540
|
+
* Represents the [Kendo UI Spreadsheet component for Angular](https://www.telerik.com/kendo-angular-ui/components/spreadsheet).
|
|
541
|
+
*
|
|
542
|
+
* @example
|
|
543
|
+
* ```html
|
|
544
|
+
* <kendo-spreadsheet [sheets]="sheets"></kendo-spreadsheet>
|
|
545
|
+
* ```
|
|
546
|
+
*
|
|
547
|
+
* @remarks
|
|
548
|
+
* Supported children components are: {@link CustomMessagesComponent}
|
|
549
|
+
*/
|
|
550
|
+
declare class SpreadsheetComponent implements AfterViewInit, OnChanges, OnDestroy {
|
|
551
|
+
private ngZone;
|
|
552
|
+
private intl;
|
|
553
|
+
private host;
|
|
554
|
+
private localization;
|
|
555
|
+
private spreadsheetService;
|
|
556
|
+
private toolsService;
|
|
557
|
+
private errorService;
|
|
558
|
+
private dialogService;
|
|
559
|
+
private popupService;
|
|
560
|
+
private container;
|
|
561
|
+
private cdr;
|
|
562
|
+
private formulaBarInputRef;
|
|
563
|
+
private formulaCellInputRef;
|
|
564
|
+
private nameBoxRef;
|
|
565
|
+
dialogContainer: ViewContainerRef;
|
|
566
|
+
private contextMenuComponent;
|
|
567
|
+
filterMenuTemplate: TemplateRef<any>;
|
|
568
|
+
hostClass: boolean;
|
|
569
|
+
role: string;
|
|
570
|
+
/**
|
|
571
|
+
* The menu items configuration.
|
|
572
|
+
*/
|
|
573
|
+
set menuItems(items: SpreadsheetMainMenuItem[]);
|
|
574
|
+
get menuItems(): any[];
|
|
575
|
+
/**
|
|
576
|
+
* Sets the overflow option of the built-in Toolbar components.
|
|
577
|
+
* @default false
|
|
578
|
+
*/
|
|
579
|
+
overflow: boolean;
|
|
580
|
+
/**
|
|
581
|
+
* Sets the height of the formula list container.
|
|
582
|
+
* Accepts same values as the CSS [`style.height`](https://developer.mozilla.org/en-US/docs/Web/CSS/height) property.
|
|
583
|
+
*
|
|
584
|
+
* @default '300px'
|
|
585
|
+
*/
|
|
586
|
+
formulaListMaxHeight: string;
|
|
587
|
+
/**
|
|
588
|
+
* The name of the currently active sheet. Must match one of the sheet names.
|
|
589
|
+
*/
|
|
590
|
+
set activeSheet(value: string);
|
|
591
|
+
get activeSheet(): string;
|
|
592
|
+
/**
|
|
593
|
+
* An array of `SheetDescriptor` objects that describe the sheets in the Spreadsheet.
|
|
594
|
+
*/
|
|
595
|
+
set sheets(value: SheetDescriptor[]);
|
|
596
|
+
get sheetsInfo(): SheetInfo[];
|
|
597
|
+
/**
|
|
598
|
+
* @hidden
|
|
599
|
+
*/
|
|
600
|
+
expandedKeys: any[];
|
|
601
|
+
/**
|
|
602
|
+
* @hidden
|
|
603
|
+
*/
|
|
604
|
+
checkedKeys: any[];
|
|
605
|
+
/**
|
|
606
|
+
* The number of columns in the document.
|
|
607
|
+
*
|
|
608
|
+
* @default 50
|
|
609
|
+
*/
|
|
610
|
+
columns: number;
|
|
611
|
+
/**
|
|
612
|
+
* The initial column width in pixels.
|
|
613
|
+
*
|
|
614
|
+
* @default 100
|
|
615
|
+
*/
|
|
616
|
+
columnWidth: number;
|
|
617
|
+
/**
|
|
618
|
+
* The initial styles applies to the sheet cells.
|
|
619
|
+
*/
|
|
620
|
+
defaultCellStyle: CellDefaultStyle;
|
|
621
|
+
/**
|
|
622
|
+
* The height of the header row in pixels.
|
|
623
|
+
*
|
|
624
|
+
* @default 30
|
|
625
|
+
*/
|
|
626
|
+
headerHeight: number;
|
|
627
|
+
/**
|
|
628
|
+
* The width of the header column in pixels.
|
|
629
|
+
*
|
|
630
|
+
* @default 32
|
|
631
|
+
*/
|
|
632
|
+
headerWidth: number;
|
|
633
|
+
/**
|
|
634
|
+
* The initial row height in pixels.
|
|
635
|
+
*
|
|
636
|
+
* @default 30
|
|
637
|
+
*/
|
|
638
|
+
rowHeight: number;
|
|
639
|
+
/**
|
|
640
|
+
* The number of rows in the document.
|
|
641
|
+
*
|
|
642
|
+
* @default 200
|
|
643
|
+
*/
|
|
644
|
+
rows: number;
|
|
645
|
+
/**
|
|
646
|
+
* Sets the custom cell editors for the Spreadsheet.
|
|
647
|
+
* Accepts an array of `SpreadsheetCellEditorOptions` objects that define custom editors.
|
|
648
|
+
*/
|
|
649
|
+
cellEditors: Array<SpreadsheetCellEditorOptions>;
|
|
650
|
+
/**
|
|
651
|
+
* An object containing any images used in the Spreadsheet. The keys should be image IDs (they are referenced by this ID in `sheets.drawings`),
|
|
652
|
+
* and the values should be image URLs. The image URLs can be either [`data URLs`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URLs)
|
|
653
|
+
* (in which case the images are fully contained by the JSON), or external URLs.
|
|
654
|
+
*/
|
|
655
|
+
images: {
|
|
656
|
+
[name: string]: string;
|
|
657
|
+
};
|
|
658
|
+
/**
|
|
659
|
+
* Configures the PDF export settings of the Spreadsheet.
|
|
660
|
+
*/
|
|
661
|
+
pdfExportSettings: PDFExportSettings;
|
|
662
|
+
/**
|
|
663
|
+
* Configures the Excel export settings of the Spreadsheet.
|
|
664
|
+
*/
|
|
665
|
+
excelExportSettings: ExcelExportSettings;
|
|
666
|
+
/**
|
|
667
|
+
* Backwards-compatible alias for `excelExportSettings` input.
|
|
668
|
+
*
|
|
669
|
+
* @hidden
|
|
670
|
+
*/
|
|
671
|
+
set excel(value: ExcelExportSettings);
|
|
672
|
+
/**
|
|
673
|
+
* @hidden
|
|
674
|
+
*/
|
|
675
|
+
get excel(): ExcelExportSettings;
|
|
676
|
+
/**
|
|
677
|
+
* Fires when a value in the Spreadsheet is changed. Exposes the `SpreadsheetWidget` instance and the selected `Range` as event data.
|
|
678
|
+
*/
|
|
679
|
+
change: EventEmitter<SpreadsheetChangeEvent>;
|
|
680
|
+
/**
|
|
681
|
+
* Fires when the selected range format is changed from the UI. Exposes the `SpreadsheetWidget` instance and the selected `Range` as event data.
|
|
682
|
+
*/
|
|
683
|
+
formatChange: EventEmitter<SpreadsheetChangeEvent>;
|
|
684
|
+
/**
|
|
685
|
+
* Fires when the selection is changed by the end user. Exposes the `SpreadsheetWidget` instance and the selected `Range` as event data.
|
|
686
|
+
*/
|
|
687
|
+
selectionChange: EventEmitter<SpreadsheetChangeEvent>;
|
|
688
|
+
/**
|
|
689
|
+
* Fires when the end user clicks the Export to Excel toolbar button.
|
|
690
|
+
* The event is preventable and exposes the `Workbook` object, a `preventDefault` method
|
|
691
|
+
* (if invoked, the generated file will not be saved), and the `SpreadsheetWidget` instance.
|
|
692
|
+
*/
|
|
693
|
+
excelExport: EventEmitter<SpreadsheetExcelExportEvent>;
|
|
694
|
+
/**
|
|
695
|
+
* Fires when the end user clicks the Open toolbar button.
|
|
696
|
+
* The event is preventable and exposes the selected `File` or `Blob`, a `preventDefault` method
|
|
697
|
+
* (if invoked, the selected file will not be loaded), and the `SpreadsheetWidget` instance.
|
|
698
|
+
*/
|
|
699
|
+
excelImport: EventEmitter<SpreadsheetExcelImportEvent>;
|
|
700
|
+
/**
|
|
701
|
+
* Fires when the end user clicks the Export to PDF toolbar button.
|
|
702
|
+
* The event is preventable and exposes a `preventDefault` method
|
|
703
|
+
* (if you invoke it, the generated PDF file is not saved) and the `SpreadsheetWidget` instance.
|
|
704
|
+
*/
|
|
705
|
+
pdfExport: EventEmitter<SpreadsheetPDFExportEvent>;
|
|
706
|
+
/**
|
|
707
|
+
* Fires when the active sheet is about to change.
|
|
708
|
+
* The event exposes the new active `Sheet` and the `SpreadsheetWidget` instance.
|
|
709
|
+
*/
|
|
710
|
+
activeSheetChange: EventEmitter<SpreadsheetActiveSheetChangeEvent>;
|
|
711
|
+
/**
|
|
712
|
+
* Fires when a clipboard action (cut, copy, or paste) occurs in the Spreadsheet.
|
|
713
|
+
*/
|
|
714
|
+
clipboard: EventEmitter<SpreadsheetClipboardEvent>;
|
|
715
|
+
/**
|
|
716
|
+
* Fires when the user right-clicks within the Spreadsheet view and before the context menu is opened.
|
|
717
|
+
*/
|
|
718
|
+
contextMenu: EventEmitter<SpreadsheetContextMenuEvent>;
|
|
719
|
+
formulaFxIcon: SVGIcon;
|
|
720
|
+
folderOpenIcon: SVGIcon;
|
|
721
|
+
downloadIcon: SVGIcon;
|
|
722
|
+
searchIcon: SVGIcon;
|
|
723
|
+
selectedMenuItem: any;
|
|
724
|
+
rangeFilterValuesList: any[];
|
|
725
|
+
private sortAscSmallIcon;
|
|
726
|
+
private sortDescSmallIcon;
|
|
727
|
+
/**
|
|
728
|
+
* Returns the underlying `SpreadsheetWidget` instance.
|
|
729
|
+
* Use it to programmatically access the [`Range`](slug:api_spreadsheet_range) and [`Sheet`](slug:api_spreadsheet_sheet) APIs.
|
|
730
|
+
* For usage examples, see [Cell and Sheet Operations](slug:cell_and_sheet_operations_spreadsheet) article.
|
|
731
|
+
*/
|
|
732
|
+
get spreadsheetWidget(): SpreadsheetWidget;
|
|
733
|
+
/**
|
|
734
|
+
* @hidden
|
|
735
|
+
*/
|
|
736
|
+
showLicenseWatermark: boolean;
|
|
737
|
+
/**
|
|
738
|
+
* @hidden
|
|
739
|
+
*/
|
|
740
|
+
licenseMessage?: LicenseMessage;
|
|
741
|
+
contextMenuItems: SpreadsheetContextMenuItem[];
|
|
742
|
+
sortMenuItems: FilterMenuItem[];
|
|
743
|
+
conditionExpanded: boolean;
|
|
744
|
+
valueExpanded: boolean;
|
|
745
|
+
filterConditionsList: any;
|
|
746
|
+
conditionValue: any;
|
|
747
|
+
set selectedCondition(value: any);
|
|
748
|
+
get selectedCondition(): any;
|
|
749
|
+
/**
|
|
750
|
+
* @hidden
|
|
751
|
+
*/
|
|
752
|
+
currentFilterOptions: {
|
|
753
|
+
column: number;
|
|
754
|
+
range: any;
|
|
755
|
+
} | null;
|
|
756
|
+
private _selectedCondition;
|
|
757
|
+
private _sheetsInfo;
|
|
758
|
+
private _activeSheet;
|
|
759
|
+
private _menuItems;
|
|
760
|
+
private currentRange;
|
|
761
|
+
private subs;
|
|
762
|
+
private filterMenuOpened;
|
|
763
|
+
private popupRef;
|
|
764
|
+
private popupPositionChangeSub;
|
|
765
|
+
constructor(ngZone: NgZone, intl: IntlService, host: ElementRef, localization: LocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService, errorService: ErrorHandlingService, dialogService: DialogService, popupService: PopupService, container: ViewContainerRef, cdr: ChangeDetectorRef);
|
|
766
|
+
ngAfterViewInit(): void;
|
|
767
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
768
|
+
ngOnDestroy(): void;
|
|
769
|
+
/**
|
|
770
|
+
* @hidden
|
|
771
|
+
*/
|
|
772
|
+
onContextMenu(e: any): void;
|
|
773
|
+
/**
|
|
774
|
+
* @hidden
|
|
775
|
+
*/
|
|
776
|
+
isChecked: (dataItem: any) => CheckedState;
|
|
777
|
+
/**
|
|
778
|
+
* @hidden
|
|
779
|
+
*/
|
|
780
|
+
onContextMenuSelect(e: ContextMenuSelectEvent): void;
|
|
781
|
+
/**
|
|
782
|
+
* @hidden
|
|
783
|
+
*/
|
|
784
|
+
triggerPDFExport(): void;
|
|
785
|
+
/**
|
|
786
|
+
* @hidden
|
|
787
|
+
*/
|
|
788
|
+
onKeyDown: (e: KeyboardEvent) => void;
|
|
789
|
+
/**
|
|
790
|
+
* @hidden
|
|
791
|
+
*/
|
|
792
|
+
messageFor(key: string): string;
|
|
793
|
+
/**
|
|
794
|
+
* @hidden
|
|
795
|
+
*/
|
|
796
|
+
onMenuItemSelect(e: any): void;
|
|
797
|
+
/**
|
|
798
|
+
* @hidden
|
|
799
|
+
*/
|
|
800
|
+
onToggle(expanded: boolean, filterType: 'condition' | 'value'): void;
|
|
801
|
+
/**
|
|
802
|
+
* @hidden
|
|
803
|
+
*/
|
|
804
|
+
filterApply(filterType: 'condition' | 'value'): void;
|
|
805
|
+
/**
|
|
806
|
+
* @hidden
|
|
807
|
+
*/
|
|
808
|
+
filterClear(): void;
|
|
809
|
+
/**
|
|
810
|
+
* @hidden
|
|
811
|
+
*/
|
|
812
|
+
onSortItemClick(item: FilterMenuItem): void;
|
|
813
|
+
/**
|
|
814
|
+
* @hidden
|
|
815
|
+
*/
|
|
816
|
+
closePopup(): void;
|
|
817
|
+
private onChange;
|
|
818
|
+
private onSelectionChange;
|
|
819
|
+
private onChangeFormat;
|
|
820
|
+
private onExcelExport;
|
|
821
|
+
private onExcelImport;
|
|
822
|
+
private onActiveSheetChanged;
|
|
823
|
+
private updateState;
|
|
824
|
+
private onMessage;
|
|
825
|
+
private updateActiveSheet;
|
|
826
|
+
private onSheetsChanged;
|
|
827
|
+
private saveAsPDF;
|
|
828
|
+
private onClipboardEvent;
|
|
829
|
+
private get options();
|
|
830
|
+
private contextMenuItemsForTarget;
|
|
831
|
+
private getDefaultItemPerAction;
|
|
832
|
+
private getActionDisabledState;
|
|
833
|
+
private openLinkDialog;
|
|
834
|
+
private configureSheets;
|
|
835
|
+
private registerEditors;
|
|
836
|
+
private registerCustomEditors;
|
|
837
|
+
private registerCustomEditor;
|
|
838
|
+
private openCustomEditorPopup;
|
|
839
|
+
private isValidFormula;
|
|
840
|
+
private createDate;
|
|
841
|
+
private createFilterMenu;
|
|
842
|
+
private extractColumnFilterValues;
|
|
843
|
+
private removeDuplicateValues;
|
|
844
|
+
private compareFilterValues;
|
|
845
|
+
private containsItem;
|
|
846
|
+
private findItemByText;
|
|
847
|
+
private isIndeterminate;
|
|
848
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetComponent, never>;
|
|
849
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpreadsheetComponent, "kendo-spreadsheet", ["kendo-spreadsheet"], { "menuItems": { "alias": "menuItems"; "required": false; }; "overflow": { "alias": "overflow"; "required": false; }; "formulaListMaxHeight": { "alias": "formulaListMaxHeight"; "required": false; }; "activeSheet": { "alias": "activeSheet"; "required": false; }; "sheets": { "alias": "sheets"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "columnWidth": { "alias": "columnWidth"; "required": false; }; "defaultCellStyle": { "alias": "defaultCellStyle"; "required": false; }; "headerHeight": { "alias": "headerHeight"; "required": false; }; "headerWidth": { "alias": "headerWidth"; "required": false; }; "rowHeight": { "alias": "rowHeight"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "cellEditors": { "alias": "cellEditors"; "required": false; }; "images": { "alias": "images"; "required": false; }; "pdfExportSettings": { "alias": "pdfExportSettings"; "required": false; }; "excelExportSettings": { "alias": "excelExportSettings"; "required": false; }; "excel": { "alias": "excel"; "required": false; }; }, { "change": "change"; "formatChange": "formatChange"; "selectionChange": "selectionChange"; "excelExport": "excelExport"; "excelImport": "excelImport"; "pdfExport": "pdfExport"; "activeSheetChange": "activeSheetChange"; "clipboard": "clipboard"; "contextMenu": "contextMenu"; }, never, never, true, never>;
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
/**
|
|
853
|
+
* @hidden
|
|
854
|
+
*/
|
|
855
|
+
declare class MessagesDirective extends ComponentMessages {
|
|
856
|
+
/**
|
|
857
|
+
* Sets the name for the **Home** toolbar tab.
|
|
858
|
+
*/
|
|
859
|
+
home: string;
|
|
860
|
+
/**
|
|
861
|
+
* Sets the name for the **File** toolbar tab.
|
|
862
|
+
*/
|
|
863
|
+
file: string;
|
|
864
|
+
/**
|
|
865
|
+
* Sets the name for the **Insert** toolbar tab.
|
|
866
|
+
*/
|
|
867
|
+
insert: string;
|
|
868
|
+
/**
|
|
869
|
+
* Sets the name for the **Format** toolbar tab.
|
|
870
|
+
*/
|
|
871
|
+
formatTab: string;
|
|
872
|
+
/**
|
|
873
|
+
* Sets the name for the **Data** toolbar tab.
|
|
874
|
+
*/
|
|
875
|
+
dataTab: string;
|
|
876
|
+
/**
|
|
877
|
+
* Sets the title for the **Save** File tool.
|
|
878
|
+
*/
|
|
879
|
+
saveFile: string;
|
|
880
|
+
/**
|
|
881
|
+
* Sets the title for the **PDF Export** tool.
|
|
882
|
+
*/
|
|
883
|
+
pdfExport: string;
|
|
884
|
+
/**
|
|
885
|
+
* Sets the title for the **Load File** tool.
|
|
886
|
+
*/
|
|
887
|
+
loadFile: string;
|
|
888
|
+
/**
|
|
889
|
+
* Sets the title for the **Bold** tool.
|
|
890
|
+
*/
|
|
891
|
+
bold: string;
|
|
892
|
+
/**
|
|
893
|
+
* Sets the title for the **Data Validation** tool.
|
|
894
|
+
*/
|
|
895
|
+
dataValidation: string;
|
|
896
|
+
/**
|
|
897
|
+
* Sets the title for the **Filter** tool.
|
|
898
|
+
*/
|
|
899
|
+
filter: string;
|
|
900
|
+
/**
|
|
901
|
+
* Sets the label text for the Cell Range input in the data validation dialog.
|
|
902
|
+
*/
|
|
903
|
+
validationCellRange: string;
|
|
904
|
+
/**
|
|
905
|
+
* Sets the label text for the Criteria dropdown in the data validation dialog.
|
|
906
|
+
*/
|
|
907
|
+
validationCriteria: string;
|
|
908
|
+
/**
|
|
909
|
+
* Sets the label text for the Comparer dropdown in the data validation dialog.
|
|
910
|
+
*/
|
|
911
|
+
validationComparer: string;
|
|
912
|
+
/**
|
|
913
|
+
* Sets the label text for the Min value in the data validation dialog.
|
|
914
|
+
*/
|
|
915
|
+
validationMinValue: string;
|
|
916
|
+
/**
|
|
917
|
+
* Sets the label text for the Max value in the data validation dialog.
|
|
918
|
+
*/
|
|
919
|
+
validationMaxValue: string;
|
|
920
|
+
/**
|
|
921
|
+
* Sets the label text for the Start value in the data validation dialog.
|
|
922
|
+
*/
|
|
923
|
+
validationStartValue: string;
|
|
924
|
+
/**
|
|
925
|
+
* Sets the label text for the End value in the data validation dialog.
|
|
926
|
+
*/
|
|
927
|
+
validationEndValue: string;
|
|
928
|
+
/**
|
|
929
|
+
* Sets the label text for the Value in the data validation dialog.
|
|
930
|
+
*/
|
|
931
|
+
validationValue: string;
|
|
932
|
+
/**
|
|
933
|
+
* Sets the label text for the Show list button checkbox in the data validation dialog.
|
|
934
|
+
*/
|
|
935
|
+
validationShowListButtonCheckbox: string;
|
|
936
|
+
/**
|
|
937
|
+
* Sets the label text for the Show date button checkbox in the data validation dialog.
|
|
938
|
+
*/
|
|
939
|
+
validationShowDateButtonCheckbox: string;
|
|
940
|
+
/**
|
|
941
|
+
* Sets the label text for the Ignore blank checkbox in the data validation dialog.
|
|
942
|
+
*/
|
|
943
|
+
validationIgnoreBlankCheckbox: string;
|
|
944
|
+
/**
|
|
945
|
+
* Sets the label text for the On invalid data option in the data validation dialog.
|
|
946
|
+
*/
|
|
947
|
+
validationOnInvalidData: string;
|
|
948
|
+
/**
|
|
949
|
+
* Sets the label text for the Reject input radio button in the data validation dialog.
|
|
950
|
+
*/
|
|
951
|
+
validationRejectInput: string;
|
|
952
|
+
/**
|
|
953
|
+
* Sets the label text for the Show warning radio button in the data validation dialog.
|
|
954
|
+
*/
|
|
955
|
+
validationShowWarning: string;
|
|
956
|
+
/**
|
|
957
|
+
* Sets the label text for the Show hint checkbox in the data validation dialog.
|
|
958
|
+
*/
|
|
959
|
+
validationShowHint: string;
|
|
960
|
+
/**
|
|
961
|
+
* Sets the text for the Any value validation criteria.
|
|
962
|
+
*/
|
|
963
|
+
anyValueValidationCriteria: string;
|
|
964
|
+
/**
|
|
965
|
+
* Sets the text for the Number validation criteria.
|
|
966
|
+
*/
|
|
967
|
+
numberValidationCriteria: string;
|
|
968
|
+
/**
|
|
969
|
+
* Sets the text for the Text validation criteria.
|
|
970
|
+
*/
|
|
971
|
+
textValidationCriteria: string;
|
|
972
|
+
/**
|
|
973
|
+
* Sets the text for the Date validation criteria.
|
|
974
|
+
*/
|
|
975
|
+
dateValidationCriteria: string;
|
|
976
|
+
/**
|
|
977
|
+
* Sets the text for the Custom Formula validation criteria.
|
|
978
|
+
*/
|
|
979
|
+
customFormulaValidationCriteria: string;
|
|
980
|
+
/**
|
|
981
|
+
* Sets the text for the List validation criteria.
|
|
982
|
+
*/
|
|
983
|
+
listValidationCriteria: string;
|
|
984
|
+
/**
|
|
985
|
+
* Sets the text for the greater than validation comparer.
|
|
986
|
+
*/
|
|
987
|
+
greaterThanValidationComparer: string;
|
|
988
|
+
/**
|
|
989
|
+
* Sets the text for the less than validation comparer.
|
|
990
|
+
*/
|
|
991
|
+
lessThanValidationComparer: string;
|
|
992
|
+
/**
|
|
993
|
+
* Sets the text for the between validation comparer.
|
|
994
|
+
*/
|
|
995
|
+
betweenValidationComparer: string;
|
|
996
|
+
/**
|
|
997
|
+
* Sets the text for the not between validation comparer.
|
|
998
|
+
*/
|
|
999
|
+
notBetweenValidationComparer: string;
|
|
1000
|
+
/**
|
|
1001
|
+
* Sets the text for the equal to validation comparer.
|
|
1002
|
+
*/
|
|
1003
|
+
equalToValidationComparer: string;
|
|
1004
|
+
/**
|
|
1005
|
+
* Sets the text for the not equal to validation comparer.
|
|
1006
|
+
*/
|
|
1007
|
+
notEqualToValidationComparer: string;
|
|
1008
|
+
/**
|
|
1009
|
+
* Sets the text for the greater than or equal to validation comparer.
|
|
1010
|
+
*/
|
|
1011
|
+
greaterThanOrEqualToValidationComparer: string;
|
|
1012
|
+
/**
|
|
1013
|
+
* Sets the text for the less than or equal to validation comparer.
|
|
1014
|
+
*/
|
|
1015
|
+
lessThanOrEqualToValidationComparer: string;
|
|
1016
|
+
/**
|
|
1017
|
+
* Sets the label text for the Custom hint input in the data validation dialog.
|
|
1018
|
+
*/
|
|
1019
|
+
validationHintMessage: string;
|
|
1020
|
+
/**
|
|
1021
|
+
* Sets the label text for the Custom hint title input in the data validation dialog.
|
|
1022
|
+
*/
|
|
1023
|
+
validationHintTitle: string;
|
|
1024
|
+
/**
|
|
1025
|
+
* Sets the title for the **Italic** tool.
|
|
1026
|
+
*/
|
|
1027
|
+
italic: string;
|
|
1028
|
+
/**
|
|
1029
|
+
* Sets the title for the **Underline** tool.
|
|
1030
|
+
*/
|
|
1031
|
+
underline: string;
|
|
1032
|
+
/**
|
|
1033
|
+
* Sets the title for the **Format** tool.
|
|
1034
|
+
*/
|
|
1035
|
+
format: string;
|
|
1036
|
+
/**
|
|
1037
|
+
* Sets the title for the **Font Family** tool.
|
|
1038
|
+
*/
|
|
1039
|
+
fontFamily: string;
|
|
1040
|
+
/**
|
|
1041
|
+
* Sets the title for the **Font Size** tool.
|
|
1042
|
+
*/
|
|
1043
|
+
fontSize: string;
|
|
1044
|
+
/**
|
|
1045
|
+
* Sets the title for the **Undo** tool.
|
|
1046
|
+
*/
|
|
1047
|
+
undo: string;
|
|
1048
|
+
/**
|
|
1049
|
+
* Sets the title for the **Redo** tool.
|
|
1050
|
+
*/
|
|
1051
|
+
redo: string;
|
|
1052
|
+
/**
|
|
1053
|
+
* Sets the title for the tool that changes the text background color.
|
|
1054
|
+
*/
|
|
1055
|
+
background: string;
|
|
1056
|
+
/**
|
|
1057
|
+
* Sets the title for the tool that changes the text font color.
|
|
1058
|
+
*/
|
|
1059
|
+
color: string;
|
|
1060
|
+
/**
|
|
1061
|
+
* Sets the title for the **Grid Lines** tool.
|
|
1062
|
+
*/
|
|
1063
|
+
gridLines: string;
|
|
1064
|
+
/**
|
|
1065
|
+
* Sets the title for the tool that adds a new column before the selected column.
|
|
1066
|
+
*/
|
|
1067
|
+
addColumnLeft: string;
|
|
1068
|
+
/**
|
|
1069
|
+
* Sets the title for the tool that adds a new column after the selected column.
|
|
1070
|
+
*/
|
|
1071
|
+
addColumnRight: string;
|
|
1072
|
+
/**
|
|
1073
|
+
* Sets the title for the tool that adds a new row below the selected row.
|
|
1074
|
+
*/
|
|
1075
|
+
addRowBelow: string;
|
|
1076
|
+
/**
|
|
1077
|
+
* Sets the title for the tool that adds a new row above the selected row.
|
|
1078
|
+
*/
|
|
1079
|
+
addRowAbove: string;
|
|
1080
|
+
/**
|
|
1081
|
+
* Sets the title for the tool that deletes a column.
|
|
1082
|
+
*/
|
|
1083
|
+
deleteColumn: string;
|
|
1084
|
+
/**
|
|
1085
|
+
* Sets the title for the tool that deletes a row.
|
|
1086
|
+
*/
|
|
1087
|
+
deleteRow: string;
|
|
1088
|
+
/**
|
|
1089
|
+
* Sets the title for the **Text Wrap** tool.
|
|
1090
|
+
*/
|
|
1091
|
+
wrap: string;
|
|
1092
|
+
/**
|
|
1093
|
+
* Sets the title for the **Text Align** tool.
|
|
1094
|
+
*/
|
|
1095
|
+
align: string;
|
|
1096
|
+
/**
|
|
1097
|
+
* Sets the title for the **Text Align Horizontal** tool.
|
|
1098
|
+
*/
|
|
1099
|
+
alignHorizontal: string;
|
|
1100
|
+
/**
|
|
1101
|
+
* Sets the title for the **Text Align Vertical** tool.
|
|
1102
|
+
*/
|
|
1103
|
+
alignVertical: string;
|
|
1104
|
+
/**
|
|
1105
|
+
* Sets the title for the **Text Align Left** tool.
|
|
1106
|
+
*/
|
|
1107
|
+
alignLeft: string;
|
|
1108
|
+
/**
|
|
1109
|
+
* Sets the title for the **Text Align Center** tool.
|
|
1110
|
+
*/
|
|
1111
|
+
alignCenter: string;
|
|
1112
|
+
/**
|
|
1113
|
+
* Sets the title for the **Text Align Right** tool.
|
|
1114
|
+
*/
|
|
1115
|
+
alignRight: string;
|
|
1116
|
+
/**
|
|
1117
|
+
* Sets the title for the **Text Align Justify** tool.
|
|
1118
|
+
*/
|
|
1119
|
+
alignJustify: string;
|
|
1120
|
+
/**
|
|
1121
|
+
* Sets the title for the **Text Align Top** tool.
|
|
1122
|
+
*/
|
|
1123
|
+
alignTop: string;
|
|
1124
|
+
/**
|
|
1125
|
+
* Sets the title for the **Text Align Middle** tool.
|
|
1126
|
+
*/
|
|
1127
|
+
alignMiddle: string;
|
|
1128
|
+
/**
|
|
1129
|
+
* Sets the title for the **Text Align Bottom** tool.
|
|
1130
|
+
*/
|
|
1131
|
+
alignBottom: string;
|
|
1132
|
+
/**
|
|
1133
|
+
* Sets the text for the **Apply** button in all Spreadsheet dialogs.
|
|
1134
|
+
*/
|
|
1135
|
+
dialogApply: string;
|
|
1136
|
+
/**
|
|
1137
|
+
* Sets the text for the **Cancel** button in all Spreadsheet dialogs.
|
|
1138
|
+
*/
|
|
1139
|
+
dialogCancel: string;
|
|
1140
|
+
/**
|
|
1141
|
+
* Sets the text for the **Delete** button in the Delete sheet dialog.
|
|
1142
|
+
*/
|
|
1143
|
+
dialogDelete: string;
|
|
1144
|
+
/**
|
|
1145
|
+
* Sets the text for the **Rename** button in the Rename sheet dialog.
|
|
1146
|
+
*/
|
|
1147
|
+
dialogRename: string;
|
|
1148
|
+
/**
|
|
1149
|
+
* Sets the text for the **Insert** button in all Spreadsheet dialogs.
|
|
1150
|
+
*/
|
|
1151
|
+
dialogInsert: string;
|
|
1152
|
+
/**
|
|
1153
|
+
* Sets the text for the **Remove** button in all Spreadsheet dialogs.
|
|
1154
|
+
*/
|
|
1155
|
+
dialogRemove: string;
|
|
1156
|
+
/**
|
|
1157
|
+
* Sets the text for the **Remove link** button in the Link tool dialog.
|
|
1158
|
+
*/
|
|
1159
|
+
dialogRemoveLink: string;
|
|
1160
|
+
/**
|
|
1161
|
+
* Sets the title for the Delete sheet dialog.
|
|
1162
|
+
*/
|
|
1163
|
+
delete: string;
|
|
1164
|
+
/**
|
|
1165
|
+
* Sets the title for the Rename sheet dialog.
|
|
1166
|
+
*/
|
|
1167
|
+
rename: string;
|
|
1168
|
+
/**
|
|
1169
|
+
* Sets the title for the Name Box input.
|
|
1170
|
+
*/
|
|
1171
|
+
nameBox: string;
|
|
1172
|
+
/**
|
|
1173
|
+
* Sets the title for the Formula input.
|
|
1174
|
+
*/
|
|
1175
|
+
formulaInput: string;
|
|
1176
|
+
/**
|
|
1177
|
+
* Sets the title for the Add new sheet button.
|
|
1178
|
+
*/
|
|
1179
|
+
addSheet: string;
|
|
1180
|
+
/**
|
|
1181
|
+
* Sets the title for the Sheets menu button.
|
|
1182
|
+
*/
|
|
1183
|
+
sheetsMenu: string;
|
|
1184
|
+
/**
|
|
1185
|
+
* Sets the text for the View toolbar tab.
|
|
1186
|
+
*/
|
|
1187
|
+
view: string;
|
|
1188
|
+
/**
|
|
1189
|
+
* Sets the title for the Cells Merge tool.
|
|
1190
|
+
*/
|
|
1191
|
+
merge: string;
|
|
1192
|
+
/**
|
|
1193
|
+
* Sets the title for the Merge horizontally tool.
|
|
1194
|
+
*/
|
|
1195
|
+
mergeHorizontally: string;
|
|
1196
|
+
/**
|
|
1197
|
+
* Sets the title for the Merge vertically tool.
|
|
1198
|
+
*/
|
|
1199
|
+
mergeVertically: string;
|
|
1200
|
+
/**
|
|
1201
|
+
* Sets the title for the Merge all tool.
|
|
1202
|
+
*/
|
|
1203
|
+
mergeAll: string;
|
|
1204
|
+
/**
|
|
1205
|
+
* Sets the title for the Unmerge tool.
|
|
1206
|
+
*/
|
|
1207
|
+
unmerge: string;
|
|
1208
|
+
/**
|
|
1209
|
+
* Sets the title for the tool that inserts a link.
|
|
1210
|
+
*/
|
|
1211
|
+
insertLink: string;
|
|
1212
|
+
/**
|
|
1213
|
+
* Sets the title for the tool that increases decimals.
|
|
1214
|
+
*/
|
|
1215
|
+
increaseDecimal: string;
|
|
1216
|
+
/**
|
|
1217
|
+
* Sets the title for the tool that decreases decimals.
|
|
1218
|
+
*/
|
|
1219
|
+
decreaseDecimal: string;
|
|
1220
|
+
/**
|
|
1221
|
+
* Sets the title for the tool that increases the cell font size.
|
|
1222
|
+
*/
|
|
1223
|
+
increaseFontSize: string;
|
|
1224
|
+
/**
|
|
1225
|
+
* Sets the title for the tool that decreases the cell font size.
|
|
1226
|
+
*/
|
|
1227
|
+
decreaseFontSize: string;
|
|
1228
|
+
/**
|
|
1229
|
+
* Sets the content for the dialog that warns about an unsupported file type.
|
|
1230
|
+
*/
|
|
1231
|
+
openUnsupported: string;
|
|
1232
|
+
/**
|
|
1233
|
+
* Sets the content for the dialog that warns about modifying a merged cell.
|
|
1234
|
+
*/
|
|
1235
|
+
modifyMerged: string;
|
|
1236
|
+
/**
|
|
1237
|
+
* Sets the content for the dialog that warns about modifying a disabled cell.
|
|
1238
|
+
*/
|
|
1239
|
+
cannotModifyDisabled: string;
|
|
1240
|
+
/**
|
|
1241
|
+
* The content of the dialog that warns about performing an action on a range that contains disabled cells.
|
|
1242
|
+
*/
|
|
1243
|
+
rangeDisabled: string;
|
|
1244
|
+
/**
|
|
1245
|
+
* Sets the text for the **OK** dialog button.
|
|
1246
|
+
*/
|
|
1247
|
+
dialogOk: string;
|
|
1248
|
+
/**
|
|
1249
|
+
* Sets the title for an error dialog.
|
|
1250
|
+
*/
|
|
1251
|
+
dialogError: string;
|
|
1252
|
+
/**
|
|
1253
|
+
* Sets the content for the dialog that warns about duplicated sheet name.
|
|
1254
|
+
*/
|
|
1255
|
+
duplicateSheetName: string;
|
|
1256
|
+
/**
|
|
1257
|
+
* Sets the Copy command text.
|
|
1258
|
+
*/
|
|
1259
|
+
copy: string;
|
|
1260
|
+
/**
|
|
1261
|
+
* Sets the Cut command text.
|
|
1262
|
+
*/
|
|
1263
|
+
cut: string;
|
|
1264
|
+
/**
|
|
1265
|
+
* Sets the Paste command text.
|
|
1266
|
+
*/
|
|
1267
|
+
paste: string;
|
|
1268
|
+
/**
|
|
1269
|
+
* Sets the Hide row command text.
|
|
1270
|
+
*/
|
|
1271
|
+
hideRow: string;
|
|
1272
|
+
/**
|
|
1273
|
+
* Sets the Unhide row command text.
|
|
1274
|
+
*/
|
|
1275
|
+
unhideRow: string;
|
|
1276
|
+
/**
|
|
1277
|
+
* Sets the Hide column command text.
|
|
1278
|
+
*/
|
|
1279
|
+
hideColumn: string;
|
|
1280
|
+
/**
|
|
1281
|
+
* Sets the Unhide column command text.
|
|
1282
|
+
*/
|
|
1283
|
+
unhideColumn: string;
|
|
1284
|
+
/**
|
|
1285
|
+
* Sets the text for the Sheet menu Delete option.
|
|
1286
|
+
*/
|
|
1287
|
+
sheetDelete: string;
|
|
1288
|
+
/**
|
|
1289
|
+
* Sets the text for the Sheet menu Rename option.
|
|
1290
|
+
*/
|
|
1291
|
+
sheetRename: string;
|
|
1292
|
+
/**
|
|
1293
|
+
* Sets the text for the Sheet menu Hide option.
|
|
1294
|
+
*/
|
|
1295
|
+
sheetHide: string;
|
|
1296
|
+
/**
|
|
1297
|
+
* Sets the text for the Sheet menu Duplicate option.
|
|
1298
|
+
*/
|
|
1299
|
+
sheetDuplicate: string;
|
|
1300
|
+
/**
|
|
1301
|
+
* Sets the text for the Sheet menu Move Left option.
|
|
1302
|
+
*/
|
|
1303
|
+
sheetMoveLeft: string;
|
|
1304
|
+
/**
|
|
1305
|
+
* Sets the text for the Sheet menu Move Right option.
|
|
1306
|
+
*/
|
|
1307
|
+
sheetMoveRight: string;
|
|
1308
|
+
/**
|
|
1309
|
+
* Sets the content for the dialog that warns about invalid name input.
|
|
1310
|
+
*
|
|
1311
|
+
* The content consists of a two-part message - the input value and a localizable string.
|
|
1312
|
+
* For user value input **A1%**, the default dialog content will be **Invalid name: A1%**.
|
|
1313
|
+
*
|
|
1314
|
+
* To allow reordering the input value and the localizable part, the `invalidNameError` accepts a string with a
|
|
1315
|
+
* placeholder for the input value, for example, **{inputValue} is invalid**. The `{inputValue}` placeholder will be replaced
|
|
1316
|
+
* internally with the current value, and the resulting label will be rendered as **A1% is invalid**.
|
|
1317
|
+
*/
|
|
1318
|
+
invalidNameError: string;
|
|
1319
|
+
/**
|
|
1320
|
+
* The content of the dialog that warns about sorting range containing cells of mixed shapes.
|
|
1321
|
+
*/
|
|
1322
|
+
cantSortMixedCells: string;
|
|
1323
|
+
/**
|
|
1324
|
+
* The text of the **Apply** button in the filter menu.
|
|
1325
|
+
*/
|
|
1326
|
+
filterApply: string;
|
|
1327
|
+
/**
|
|
1328
|
+
* The text of the **Clear** button in the filter menu.
|
|
1329
|
+
*/
|
|
1330
|
+
filterClear: string;
|
|
1331
|
+
/**
|
|
1332
|
+
* The text of the **All** grouping item in the filter menu.
|
|
1333
|
+
*/
|
|
1334
|
+
filterMenuAll: string;
|
|
1335
|
+
/**
|
|
1336
|
+
* The text for the blank (empty) values.
|
|
1337
|
+
*/
|
|
1338
|
+
blankValues: string;
|
|
1339
|
+
/**
|
|
1340
|
+
* The text of the **contains** filter operator.
|
|
1341
|
+
*/
|
|
1342
|
+
filterContainsOperator: string;
|
|
1343
|
+
/**
|
|
1344
|
+
* The text of the **does not contain** filter operator.
|
|
1345
|
+
*/
|
|
1346
|
+
filterNotContainsOperator: string;
|
|
1347
|
+
/**
|
|
1348
|
+
* The text of the **starts with** filter operator.
|
|
1349
|
+
*/
|
|
1350
|
+
filterStartsWithOperator: string;
|
|
1351
|
+
/**
|
|
1352
|
+
* The text of the **ends with** filter operator.
|
|
1353
|
+
*/
|
|
1354
|
+
filterEndsWithOperator: string;
|
|
1355
|
+
/**
|
|
1356
|
+
* The text of the **matches** filter operator.
|
|
1357
|
+
*/
|
|
1358
|
+
filterMatchesOperator: string;
|
|
1359
|
+
/**
|
|
1360
|
+
* The text of the **does not match** filter operator.
|
|
1361
|
+
*/
|
|
1362
|
+
filterNotMatchesOperator: string;
|
|
1363
|
+
/**
|
|
1364
|
+
* The text of the **Date is** filter operator.
|
|
1365
|
+
*/
|
|
1366
|
+
filterDateEqOperator: string;
|
|
1367
|
+
/**
|
|
1368
|
+
* The text of the **Date is not** filter operator.
|
|
1369
|
+
*/
|
|
1370
|
+
filterDateNotEqOperator: string;
|
|
1371
|
+
/**
|
|
1372
|
+
* The text of the **Date is before** filter operator.
|
|
1373
|
+
*/
|
|
1374
|
+
filterBeforeOperator: string;
|
|
1375
|
+
/**
|
|
1376
|
+
* The text of the **Date is after** filter operator.
|
|
1377
|
+
*/
|
|
1378
|
+
filterAfterOperator: string;
|
|
1379
|
+
/**
|
|
1380
|
+
* Sets the text for the **Equal (Is equal to)** filter operator.
|
|
1381
|
+
*/
|
|
1382
|
+
filterEqOperator: string;
|
|
1383
|
+
/**
|
|
1384
|
+
* Sets the text for the **Not equal (Is not equal to)** filter operator.
|
|
1385
|
+
*/
|
|
1386
|
+
filterNotEqOperator: string;
|
|
1387
|
+
/**
|
|
1388
|
+
* The text of the greater than or equal filter operator.
|
|
1389
|
+
*/
|
|
1390
|
+
filterGteOperator: string;
|
|
1391
|
+
/**
|
|
1392
|
+
* The text of the **greater than** filter operator.
|
|
1393
|
+
*/
|
|
1394
|
+
filterGtOperator: string;
|
|
1395
|
+
/**
|
|
1396
|
+
* The text of the **less than or equal** filter operator.
|
|
1397
|
+
*/
|
|
1398
|
+
filterLteOperator: string;
|
|
1399
|
+
/**
|
|
1400
|
+
* The text of the **less than** filter operator.
|
|
1401
|
+
*/
|
|
1402
|
+
filterLtOperator: string;
|
|
1403
|
+
/**
|
|
1404
|
+
* The text of the **none** filter operator.
|
|
1405
|
+
*/
|
|
1406
|
+
filterNoneOperator: string;
|
|
1407
|
+
/**
|
|
1408
|
+
* The text of the **Filter by condition** menu item.
|
|
1409
|
+
*/
|
|
1410
|
+
filterMenuConditionItem: string;
|
|
1411
|
+
/**
|
|
1412
|
+
* The text of the **Filter by value** menu item.
|
|
1413
|
+
*/
|
|
1414
|
+
filterMenuValueItem: string;
|
|
1415
|
+
/**
|
|
1416
|
+
* The title of the Sort ToolBar tool.
|
|
1417
|
+
*/
|
|
1418
|
+
sort: string;
|
|
1419
|
+
/**
|
|
1420
|
+
* The text of the **Sort range A to Z** option.
|
|
1421
|
+
*/
|
|
1422
|
+
sortAsc: string;
|
|
1423
|
+
/**
|
|
1424
|
+
* The text of the **Sort range Z to A** option.
|
|
1425
|
+
*/
|
|
1426
|
+
sortDesc: string;
|
|
1427
|
+
/**
|
|
1428
|
+
* The text of the **Unsort** option.
|
|
1429
|
+
*/
|
|
1430
|
+
unsort: string;
|
|
1431
|
+
/**
|
|
1432
|
+
* The content of the dialog that warns about sorting incorrect (empty) range.
|
|
1433
|
+
*/
|
|
1434
|
+
cantSortNullRef: string;
|
|
1435
|
+
/**
|
|
1436
|
+
* The content of the dialog that warns about sorting multiple range selection.
|
|
1437
|
+
*/
|
|
1438
|
+
cantSortMultipleSelection: string;
|
|
1439
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MessagesDirective, never>;
|
|
1440
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MessagesDirective, "[kendoSpreadsheetMessages]", never, { "home": { "alias": "home"; "required": false; }; "file": { "alias": "file"; "required": false; }; "insert": { "alias": "insert"; "required": false; }; "formatTab": { "alias": "formatTab"; "required": false; }; "dataTab": { "alias": "dataTab"; "required": false; }; "saveFile": { "alias": "saveFile"; "required": false; }; "pdfExport": { "alias": "pdfExport"; "required": false; }; "loadFile": { "alias": "loadFile"; "required": false; }; "bold": { "alias": "bold"; "required": false; }; "dataValidation": { "alias": "dataValidation"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "validationCellRange": { "alias": "validationCellRange"; "required": false; }; "validationCriteria": { "alias": "validationCriteria"; "required": false; }; "validationComparer": { "alias": "validationComparer"; "required": false; }; "validationMinValue": { "alias": "validationMinValue"; "required": false; }; "validationMaxValue": { "alias": "validationMaxValue"; "required": false; }; "validationStartValue": { "alias": "validationStartValue"; "required": false; }; "validationEndValue": { "alias": "validationEndValue"; "required": false; }; "validationValue": { "alias": "validationValue"; "required": false; }; "validationShowListButtonCheckbox": { "alias": "validationShowListButtonCheckbox"; "required": false; }; "validationShowDateButtonCheckbox": { "alias": "validationShowDateButtonCheckbox"; "required": false; }; "validationIgnoreBlankCheckbox": { "alias": "validationIgnoreBlankCheckbox"; "required": false; }; "validationOnInvalidData": { "alias": "validationOnInvalidData"; "required": false; }; "validationRejectInput": { "alias": "validationRejectInput"; "required": false; }; "validationShowWarning": { "alias": "validationShowWarning"; "required": false; }; "validationShowHint": { "alias": "validationShowHint"; "required": false; }; "anyValueValidationCriteria": { "alias": "anyValueValidationCriteria"; "required": false; }; "numberValidationCriteria": { "alias": "numberValidationCriteria"; "required": false; }; "textValidationCriteria": { "alias": "textValidationCriteria"; "required": false; }; "dateValidationCriteria": { "alias": "dateValidationCriteria"; "required": false; }; "customFormulaValidationCriteria": { "alias": "customFormulaValidationCriteria"; "required": false; }; "listValidationCriteria": { "alias": "listValidationCriteria"; "required": false; }; "greaterThanValidationComparer": { "alias": "greaterThanValidationComparer"; "required": false; }; "lessThanValidationComparer": { "alias": "lessThanValidationComparer"; "required": false; }; "betweenValidationComparer": { "alias": "betweenValidationComparer"; "required": false; }; "notBetweenValidationComparer": { "alias": "notBetweenValidationComparer"; "required": false; }; "equalToValidationComparer": { "alias": "equalToValidationComparer"; "required": false; }; "notEqualToValidationComparer": { "alias": "notEqualToValidationComparer"; "required": false; }; "greaterThanOrEqualToValidationComparer": { "alias": "greaterThanOrEqualToValidationComparer"; "required": false; }; "lessThanOrEqualToValidationComparer": { "alias": "lessThanOrEqualToValidationComparer"; "required": false; }; "validationHintMessage": { "alias": "validationHintMessage"; "required": false; }; "validationHintTitle": { "alias": "validationHintTitle"; "required": false; }; "italic": { "alias": "italic"; "required": false; }; "underline": { "alias": "underline"; "required": false; }; "format": { "alias": "format"; "required": false; }; "fontFamily": { "alias": "fontFamily"; "required": false; }; "fontSize": { "alias": "fontSize"; "required": false; }; "undo": { "alias": "undo"; "required": false; }; "redo": { "alias": "redo"; "required": false; }; "background": { "alias": "background"; "required": false; }; "color": { "alias": "color"; "required": false; }; "gridLines": { "alias": "gridLines"; "required": false; }; "addColumnLeft": { "alias": "addColumnLeft"; "required": false; }; "addColumnRight": { "alias": "addColumnRight"; "required": false; }; "addRowBelow": { "alias": "addRowBelow"; "required": false; }; "addRowAbove": { "alias": "addRowAbove"; "required": false; }; "deleteColumn": { "alias": "deleteColumn"; "required": false; }; "deleteRow": { "alias": "deleteRow"; "required": false; }; "wrap": { "alias": "wrap"; "required": false; }; "align": { "alias": "align"; "required": false; }; "alignHorizontal": { "alias": "alignHorizontal"; "required": false; }; "alignVertical": { "alias": "alignVertical"; "required": false; }; "alignLeft": { "alias": "alignLeft"; "required": false; }; "alignCenter": { "alias": "alignCenter"; "required": false; }; "alignRight": { "alias": "alignRight"; "required": false; }; "alignJustify": { "alias": "alignJustify"; "required": false; }; "alignTop": { "alias": "alignTop"; "required": false; }; "alignMiddle": { "alias": "alignMiddle"; "required": false; }; "alignBottom": { "alias": "alignBottom"; "required": false; }; "dialogApply": { "alias": "dialogApply"; "required": false; }; "dialogCancel": { "alias": "dialogCancel"; "required": false; }; "dialogDelete": { "alias": "dialogDelete"; "required": false; }; "dialogRename": { "alias": "dialogRename"; "required": false; }; "dialogInsert": { "alias": "dialogInsert"; "required": false; }; "dialogRemove": { "alias": "dialogRemove"; "required": false; }; "dialogRemoveLink": { "alias": "dialogRemoveLink"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "rename": { "alias": "rename"; "required": false; }; "nameBox": { "alias": "nameBox"; "required": false; }; "formulaInput": { "alias": "formulaInput"; "required": false; }; "addSheet": { "alias": "addSheet"; "required": false; }; "sheetsMenu": { "alias": "sheetsMenu"; "required": false; }; "view": { "alias": "view"; "required": false; }; "merge": { "alias": "merge"; "required": false; }; "mergeHorizontally": { "alias": "mergeHorizontally"; "required": false; }; "mergeVertically": { "alias": "mergeVertically"; "required": false; }; "mergeAll": { "alias": "mergeAll"; "required": false; }; "unmerge": { "alias": "unmerge"; "required": false; }; "insertLink": { "alias": "insertLink"; "required": false; }; "increaseDecimal": { "alias": "increaseDecimal"; "required": false; }; "decreaseDecimal": { "alias": "decreaseDecimal"; "required": false; }; "increaseFontSize": { "alias": "increaseFontSize"; "required": false; }; "decreaseFontSize": { "alias": "decreaseFontSize"; "required": false; }; "openUnsupported": { "alias": "openUnsupported"; "required": false; }; "modifyMerged": { "alias": "modifyMerged"; "required": false; }; "cannotModifyDisabled": { "alias": "cannotModifyDisabled"; "required": false; }; "rangeDisabled": { "alias": "rangeDisabled"; "required": false; }; "dialogOk": { "alias": "dialogOk"; "required": false; }; "dialogError": { "alias": "dialogError"; "required": false; }; "duplicateSheetName": { "alias": "duplicateSheetName"; "required": false; }; "copy": { "alias": "copy"; "required": false; }; "cut": { "alias": "cut"; "required": false; }; "paste": { "alias": "paste"; "required": false; }; "hideRow": { "alias": "hideRow"; "required": false; }; "unhideRow": { "alias": "unhideRow"; "required": false; }; "hideColumn": { "alias": "hideColumn"; "required": false; }; "unhideColumn": { "alias": "unhideColumn"; "required": false; }; "sheetDelete": { "alias": "sheetDelete"; "required": false; }; "sheetRename": { "alias": "sheetRename"; "required": false; }; "sheetHide": { "alias": "sheetHide"; "required": false; }; "sheetDuplicate": { "alias": "sheetDuplicate"; "required": false; }; "sheetMoveLeft": { "alias": "sheetMoveLeft"; "required": false; }; "sheetMoveRight": { "alias": "sheetMoveRight"; "required": false; }; "invalidNameError": { "alias": "invalidNameError"; "required": false; }; "cantSortMixedCells": { "alias": "cantSortMixedCells"; "required": false; }; "filterApply": { "alias": "filterApply"; "required": false; }; "filterClear": { "alias": "filterClear"; "required": false; }; "filterMenuAll": { "alias": "filterMenuAll"; "required": false; }; "blankValues": { "alias": "blankValues"; "required": false; }; "filterContainsOperator": { "alias": "filterContainsOperator"; "required": false; }; "filterNotContainsOperator": { "alias": "filterNotContainsOperator"; "required": false; }; "filterStartsWithOperator": { "alias": "filterStartsWithOperator"; "required": false; }; "filterEndsWithOperator": { "alias": "filterEndsWithOperator"; "required": false; }; "filterMatchesOperator": { "alias": "filterMatchesOperator"; "required": false; }; "filterNotMatchesOperator": { "alias": "filterNotMatchesOperator"; "required": false; }; "filterDateEqOperator": { "alias": "filterDateEqOperator"; "required": false; }; "filterDateNotEqOperator": { "alias": "filterDateNotEqOperator"; "required": false; }; "filterBeforeOperator": { "alias": "filterBeforeOperator"; "required": false; }; "filterAfterOperator": { "alias": "filterAfterOperator"; "required": false; }; "filterEqOperator": { "alias": "filterEqOperator"; "required": false; }; "filterNotEqOperator": { "alias": "filterNotEqOperator"; "required": false; }; "filterGteOperator": { "alias": "filterGteOperator"; "required": false; }; "filterGtOperator": { "alias": "filterGtOperator"; "required": false; }; "filterLteOperator": { "alias": "filterLteOperator"; "required": false; }; "filterLtOperator": { "alias": "filterLtOperator"; "required": false; }; "filterNoneOperator": { "alias": "filterNoneOperator"; "required": false; }; "filterMenuConditionItem": { "alias": "filterMenuConditionItem"; "required": false; }; "filterMenuValueItem": { "alias": "filterMenuValueItem"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; "sortAsc": { "alias": "sortAsc"; "required": false; }; "sortDesc": { "alias": "sortDesc"; "required": false; }; "unsort": { "alias": "unsort"; "required": false; }; "cantSortNullRef": { "alias": "cantSortNullRef"; "required": false; }; "cantSortMultipleSelection": { "alias": "cantSortMultipleSelection"; "required": false; }; }, {}, never, never, true, never>;
|
|
1441
|
+
}
|
|
1442
|
+
|
|
1443
|
+
/**
|
|
1444
|
+
* Overrides the default Spreadsheet component messages with custom messages.
|
|
1445
|
+
* You can use this component to provide custom text for the Spreadsheet UI elements, such as the toolbar, dialogs, and other components.
|
|
1446
|
+
*
|
|
1447
|
+
* @example
|
|
1448
|
+
* ```html
|
|
1449
|
+
* <kendo-spreadsheet [sheets]="sheets">
|
|
1450
|
+
* <kendo-spreadsheet-messages home="Home" file="File">
|
|
1451
|
+
* </kendo-spreadsheet-messages>
|
|
1452
|
+
* </kendo-spreadsheet>
|
|
1453
|
+
* ```
|
|
1454
|
+
*/
|
|
1455
|
+
declare class CustomMessagesComponent extends MessagesDirective {
|
|
1456
|
+
protected service: LocalizationService;
|
|
1457
|
+
constructor(service: LocalizationService);
|
|
1458
|
+
protected get override(): boolean;
|
|
1459
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomMessagesComponent, never>;
|
|
1460
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CustomMessagesComponent, "kendo-spreadsheet-messages", never, {}, {}, never, never, true, never>;
|
|
1461
|
+
}
|
|
1462
|
+
|
|
1463
|
+
/**
|
|
1464
|
+
* @hidden
|
|
1465
|
+
*/
|
|
1466
|
+
declare class SpreadsheetLocalizationService extends LocalizationService {
|
|
1467
|
+
constructor(prefix: string, messageService: MessageService, _rtl: boolean);
|
|
1468
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetLocalizationService, [null, { optional: true; }, { optional: true; }]>;
|
|
1469
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SpreadsheetLocalizationService>;
|
|
1470
|
+
}
|
|
1471
|
+
|
|
1472
|
+
/**
|
|
1473
|
+
* @hidden
|
|
1474
|
+
*/
|
|
1475
|
+
type SpreadsheetCommand = 'bold' | 'italic' | 'underline' | 'alignLeft' | 'alignCenter' | 'alignRight' | 'alignJustify' | 'alignTop' | 'alignMiddle' | 'alignBottom' | 'align' | 'alignHorizontal' | 'alignVertical' | 'folderOpen' | 'fontFamily' | 'fontSize' | 'undo' | 'redo' | 'color' | 'background' | 'addRowAbove' | 'addRowBelow' | 'deleteRow' | 'deleteColumn' | 'gridLines' | 'addColumnLeft' | 'addColumnRight' | 'wrap' | 'download' | 'format' | 'merge' | 'mergeAll' | 'mergeHorizontally' | 'mergeVertically' | 'unmerge' | 'insertLink' | 'increaseFontSize' | 'decreaseFontSize' | 'increaseDecimal' | 'decreaseDecimal' | 'dataValidation' | 'copy' | 'cut' | 'paste' | 'hideRow' | 'unhideRow' | 'hideColumn' | 'unhideColumn' | 'filter' | 'sort' | 'sortAsc' | 'sortDesc' | 'unsort' | 'pdfExport';
|
|
1476
|
+
|
|
1477
|
+
/**
|
|
1478
|
+
* @hidden
|
|
1479
|
+
*/
|
|
1480
|
+
declare abstract class SpreadsheetCommandBaseDirective {
|
|
1481
|
+
protected command: SpreadsheetCommand;
|
|
1482
|
+
protected button: ToolBarButtonComponent;
|
|
1483
|
+
protected localization: LocalizationService;
|
|
1484
|
+
protected spreadsheetService: SpreadsheetService;
|
|
1485
|
+
protected toolsService: SpreadsheetToolsService;
|
|
1486
|
+
protected subs: Subscription;
|
|
1487
|
+
constructor(command: SpreadsheetCommand, button: ToolBarButtonComponent, localization: LocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService);
|
|
1488
|
+
ngOnInit(): void;
|
|
1489
|
+
ngOnDestroy(): void;
|
|
1490
|
+
protected clickHandler(): void;
|
|
1491
|
+
protected pointerdownHandler(_event: PointerEvent): void;
|
|
1492
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetCommandBaseDirective, never>;
|
|
1493
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetCommandBaseDirective, "[kendoSpreadsheetCommandBase]", never, {}, {}, never, never, true, never>;
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1496
|
+
/**
|
|
1497
|
+
* @hidden
|
|
1498
|
+
*/
|
|
1499
|
+
declare abstract class SpreadsheetCommandButton extends SpreadsheetCommandBaseDirective {
|
|
1500
|
+
protected command: SpreadsheetCommand;
|
|
1501
|
+
protected button: ToolBarButtonComponent;
|
|
1502
|
+
protected localization: LocalizationService;
|
|
1503
|
+
protected spreadsheetService: SpreadsheetService;
|
|
1504
|
+
protected toolsService: SpreadsheetToolsService;
|
|
1505
|
+
protected commandOptions: any;
|
|
1506
|
+
constructor(command: SpreadsheetCommand, button: ToolBarButtonComponent, localization: LocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService, commandOptions: any);
|
|
1507
|
+
protected clickHandler(): void;
|
|
1508
|
+
}
|
|
1509
|
+
|
|
1510
|
+
/**
|
|
1511
|
+
* @hidden
|
|
1512
|
+
*/
|
|
1513
|
+
declare class SpreadsheetBoldDirective extends SpreadsheetCommandButton {
|
|
1514
|
+
constructor(button: ToolBarButtonComponent, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService);
|
|
1515
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetBoldDirective, never>;
|
|
1516
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetBoldDirective, "kendo-toolbar-button[kendoSpreadsheetBold]", never, {}, {}, never, never, true, never>;
|
|
1517
|
+
}
|
|
1518
|
+
|
|
1519
|
+
/**
|
|
1520
|
+
* @hidden
|
|
1521
|
+
*/
|
|
1522
|
+
declare class SpreadsheetDataValidationDirective extends SpreadsheetCommandButton implements AfterViewInit {
|
|
1523
|
+
private dialogService;
|
|
1524
|
+
private renderer;
|
|
1525
|
+
constructor(button: ToolBarButtonComponent, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService, dialogService: DialogService, renderer: Renderer2);
|
|
1526
|
+
private get currentRange();
|
|
1527
|
+
ngAfterViewInit(): void;
|
|
1528
|
+
protected clickHandler(): void;
|
|
1529
|
+
/**
|
|
1530
|
+
* @hidden
|
|
1531
|
+
*/
|
|
1532
|
+
openDialog(): void;
|
|
1533
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetDataValidationDirective, never>;
|
|
1534
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetDataValidationDirective, "kendo-toolbar-button[kendoSpreadsheetDataValidation]", never, {}, {}, never, never, true, never>;
|
|
1535
|
+
}
|
|
1536
|
+
|
|
1537
|
+
/**
|
|
1538
|
+
* @hidden
|
|
1539
|
+
*/
|
|
1540
|
+
declare class SpreadsheetItalicDirective extends SpreadsheetCommandButton {
|
|
1541
|
+
constructor(button: ToolBarButtonComponent, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService);
|
|
1542
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetItalicDirective, never>;
|
|
1543
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetItalicDirective, "kendo-toolbar-button[kendoSpreadsheetItalic]", never, {}, {}, never, never, true, never>;
|
|
1544
|
+
}
|
|
1545
|
+
|
|
1546
|
+
/**
|
|
1547
|
+
* @hidden
|
|
1548
|
+
*/
|
|
1549
|
+
declare class SpreadsheetUnderlineDirective extends SpreadsheetCommandButton {
|
|
1550
|
+
constructor(button: ToolBarButtonComponent, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService);
|
|
1551
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetUnderlineDirective, never>;
|
|
1552
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetUnderlineDirective, "kendo-toolbar-button[kendoSpreadsheetUnderline]", never, {}, {}, never, never, true, never>;
|
|
1553
|
+
}
|
|
1554
|
+
|
|
1555
|
+
/**
|
|
1556
|
+
* @hidden
|
|
1557
|
+
*/
|
|
1558
|
+
declare class SpreadsheetLoadFileComponent extends ToolBarToolComponent {
|
|
1559
|
+
private localization;
|
|
1560
|
+
private spreadsheetService;
|
|
1561
|
+
toolbar: ToolBarComponent;
|
|
1562
|
+
private overflowButtonElement;
|
|
1563
|
+
private button;
|
|
1564
|
+
icon: string;
|
|
1565
|
+
svgIcon: _progress_kendo_angular_icons.SVGIcon;
|
|
1566
|
+
tabindex: number;
|
|
1567
|
+
constructor(localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolbar: ToolBarComponent);
|
|
1568
|
+
/**
|
|
1569
|
+
* @hidden
|
|
1570
|
+
*/
|
|
1571
|
+
messageFor(key: string): string;
|
|
1572
|
+
onFileSelect: (e: any) => void;
|
|
1573
|
+
/**
|
|
1574
|
+
* @hidden
|
|
1575
|
+
*/
|
|
1576
|
+
canFocus(): boolean;
|
|
1577
|
+
/**
|
|
1578
|
+
* @hidden
|
|
1579
|
+
*/
|
|
1580
|
+
focus(): void;
|
|
1581
|
+
/**
|
|
1582
|
+
* @hidden
|
|
1583
|
+
*/
|
|
1584
|
+
handleKey(): boolean;
|
|
1585
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetLoadFileComponent, never>;
|
|
1586
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpreadsheetLoadFileComponent, "kendo-spreadsheet-load-file-tool", never, {}, {}, never, never, true, never>;
|
|
1587
|
+
}
|
|
1588
|
+
|
|
1589
|
+
/**
|
|
1590
|
+
* @hidden
|
|
1591
|
+
*/
|
|
1592
|
+
declare class SpreadsheetSaveFileDirective {
|
|
1593
|
+
private button;
|
|
1594
|
+
private localization;
|
|
1595
|
+
private spreadsheetService;
|
|
1596
|
+
private subs;
|
|
1597
|
+
constructor(button: ToolBarButtonComponent, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService);
|
|
1598
|
+
ngOnInit(): void;
|
|
1599
|
+
ngOnDestroy(): void;
|
|
1600
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetSaveFileDirective, never>;
|
|
1601
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetSaveFileDirective, "[kendoSpreadsheetSaveFile]", never, {}, {}, never, never, true, never>;
|
|
1602
|
+
}
|
|
1603
|
+
|
|
1604
|
+
/**
|
|
1605
|
+
* @hidden
|
|
1606
|
+
*/
|
|
1607
|
+
declare class SpreadsheetPDFExportDirective {
|
|
1608
|
+
private button;
|
|
1609
|
+
private localization;
|
|
1610
|
+
private spreadsheetService;
|
|
1611
|
+
private subs;
|
|
1612
|
+
constructor(button: ToolBarButtonComponent, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService);
|
|
1613
|
+
ngOnInit(): void;
|
|
1614
|
+
ngOnDestroy(): void;
|
|
1615
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetPDFExportDirective, never>;
|
|
1616
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetPDFExportDirective, "[kendoSpreadsheetPDFExport]", never, {}, {}, never, never, true, never>;
|
|
1617
|
+
}
|
|
1618
|
+
|
|
1619
|
+
/**
|
|
1620
|
+
* @hidden
|
|
1621
|
+
*/
|
|
1622
|
+
declare class SpreadsheetFormatDirective {
|
|
1623
|
+
private host;
|
|
1624
|
+
private spreadsheetService;
|
|
1625
|
+
private toolsService;
|
|
1626
|
+
data: {
|
|
1627
|
+
text: string;
|
|
1628
|
+
value: string;
|
|
1629
|
+
cssClass?: string;
|
|
1630
|
+
}[];
|
|
1631
|
+
private commandName;
|
|
1632
|
+
private subs;
|
|
1633
|
+
constructor(host: ToolBarDropDownButtonComponent, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService);
|
|
1634
|
+
ngOnInit(): void;
|
|
1635
|
+
ngOnDestroy(): void;
|
|
1636
|
+
/**
|
|
1637
|
+
* @hidden
|
|
1638
|
+
*/
|
|
1639
|
+
onItemClick: (item: {
|
|
1640
|
+
text: string;
|
|
1641
|
+
value: string;
|
|
1642
|
+
}) => void;
|
|
1643
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetFormatDirective, never>;
|
|
1644
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetFormatDirective, "[kendoSpreadsheetFormat]", never, {}, {}, never, never, true, never>;
|
|
1645
|
+
}
|
|
1646
|
+
|
|
1647
|
+
/**
|
|
1648
|
+
* @hidden
|
|
1649
|
+
*/
|
|
1650
|
+
declare class SpreadsheetUndoDirective extends SpreadsheetCommandButton {
|
|
1651
|
+
constructor(button: ToolBarButtonComponent, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService);
|
|
1652
|
+
protected clickHandler(): void;
|
|
1653
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetUndoDirective, never>;
|
|
1654
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetUndoDirective, "kendo-toolbar-button[kendoSpreadsheetUndo]", never, {}, {}, never, never, true, never>;
|
|
1655
|
+
}
|
|
1656
|
+
|
|
1657
|
+
/**
|
|
1658
|
+
* @hidden
|
|
1659
|
+
*/
|
|
1660
|
+
declare class SpreadsheetRedoDirective extends SpreadsheetCommandButton {
|
|
1661
|
+
constructor(button: ToolBarButtonComponent, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService);
|
|
1662
|
+
protected clickHandler(): void;
|
|
1663
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetRedoDirective, never>;
|
|
1664
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetRedoDirective, "kendo-toolbar-button[kendoSpreadsheetRedo]", never, {}, {}, never, never, true, never>;
|
|
1665
|
+
}
|
|
1666
|
+
|
|
1667
|
+
/**
|
|
1668
|
+
* @hidden
|
|
1669
|
+
*/
|
|
1670
|
+
declare class SpreadsheetDropDownToolBase extends ToolBarToolComponent implements OnInit, OnDestroy {
|
|
1671
|
+
command: SpreadsheetCommand;
|
|
1672
|
+
protected dialogService: DialogService;
|
|
1673
|
+
protected localization: SpreadsheetLocalizationService;
|
|
1674
|
+
protected spreadsheetService: SpreadsheetService;
|
|
1675
|
+
private toolsService;
|
|
1676
|
+
private toolbar;
|
|
1677
|
+
element: ElementRef;
|
|
1678
|
+
dropDownListRef: any;
|
|
1679
|
+
popupButton: ElementRef;
|
|
1680
|
+
data: any[];
|
|
1681
|
+
constructor(command: SpreadsheetCommand, dialogService: DialogService, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService, toolbar: ToolBarComponent);
|
|
1682
|
+
/**
|
|
1683
|
+
* Fires when the user updates the value of the drop-down list.
|
|
1684
|
+
*/
|
|
1685
|
+
valueChange: EventEmitter<string>;
|
|
1686
|
+
value: any;
|
|
1687
|
+
tabindex: number;
|
|
1688
|
+
itemDisabled: (itemArgs: {
|
|
1689
|
+
dataItem: any;
|
|
1690
|
+
index: number;
|
|
1691
|
+
}) => boolean;
|
|
1692
|
+
svgIcon: SVGIcon$1;
|
|
1693
|
+
icon: string;
|
|
1694
|
+
private subs;
|
|
1695
|
+
ngOnInit(): void;
|
|
1696
|
+
ngOnDestroy(): void;
|
|
1697
|
+
/**
|
|
1698
|
+
* @hidden
|
|
1699
|
+
*/
|
|
1700
|
+
messageFor(key: string): string;
|
|
1701
|
+
/**
|
|
1702
|
+
* @hidden
|
|
1703
|
+
*/
|
|
1704
|
+
onValueChange(ev: string): void;
|
|
1705
|
+
/**
|
|
1706
|
+
* @hidden
|
|
1707
|
+
*/
|
|
1708
|
+
get outerWidth(): number;
|
|
1709
|
+
/**
|
|
1710
|
+
* @hidden
|
|
1711
|
+
*/
|
|
1712
|
+
openDialog(): void;
|
|
1713
|
+
/**
|
|
1714
|
+
* @hidden
|
|
1715
|
+
*/
|
|
1716
|
+
focus(e: any): void;
|
|
1717
|
+
/**
|
|
1718
|
+
* @hidden
|
|
1719
|
+
*/
|
|
1720
|
+
canFocus(): boolean;
|
|
1721
|
+
/**
|
|
1722
|
+
* @hidden
|
|
1723
|
+
*/
|
|
1724
|
+
handleKey(): boolean;
|
|
1725
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetDropDownToolBase, never>;
|
|
1726
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpreadsheetDropDownToolBase, "ng-component", never, {}, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
1727
|
+
}
|
|
1728
|
+
|
|
1729
|
+
/**
|
|
1730
|
+
* A component which configures an existing `DropDownListComponent` as a Spreadsheet tool.
|
|
1731
|
+
* The component associates a `kendo-toolbar-dropdownlist` with a Spreadsheet command that changes the font family of a content block and
|
|
1732
|
+
* automatically defines the options of the drop-down list and sets its values. [See example](https://www.telerik.com/kendo-angular-ui/components/spreadsheet/menu-&-toolbar-tools#home-menu-item-tools).
|
|
1733
|
+
*
|
|
1734
|
+
* @hidden
|
|
1735
|
+
*/
|
|
1736
|
+
declare class SpreadsheetFontFamilyComponent extends SpreadsheetDropDownToolBase {
|
|
1737
|
+
constructor(dialogService: DialogService, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService, toolbar: ToolBarComponent);
|
|
1738
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetFontFamilyComponent, never>;
|
|
1739
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpreadsheetFontFamilyComponent, "kendo-toolbar-dropdownlist[kendoSpreadsheetFontFamily]", never, {}, {}, never, never, true, never>;
|
|
1740
|
+
}
|
|
1741
|
+
|
|
1742
|
+
/**
|
|
1743
|
+
* A component which configures an existing `DropDownListComponent` as a Spreadsheet tool.
|
|
1744
|
+
* The component associates a `kendo-toolbar-dropdownlist` with a Spreadsheet command that changes the font size of a content block and
|
|
1745
|
+
* automatically defines the options of the drop-down list and sets its values. [See example](https://www.telerik.com/kendo-angular-ui/components/spreadsheet/menu-&-toolbar-tools#home-menu-item-tools).
|
|
1746
|
+
*
|
|
1747
|
+
* @hidden
|
|
1748
|
+
*/
|
|
1749
|
+
declare class SpreadsheetFontSizeComponent extends SpreadsheetDropDownToolBase {
|
|
1750
|
+
constructor(dialogService: DialogService, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService, toolbar: ToolBarComponent);
|
|
1751
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetFontSizeComponent, never>;
|
|
1752
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpreadsheetFontSizeComponent, "kendo-toolbar-dropdownlist[kendoSpreadsheetFontSize]", never, {}, {}, never, never, true, never>;
|
|
1753
|
+
}
|
|
1754
|
+
|
|
1755
|
+
/**
|
|
1756
|
+
* A component which configures an existing `ColorPickerComponent` as a Spreadsheet tool to change the background color.
|
|
1757
|
+
*
|
|
1758
|
+
* The component associates a `kendo-colorpicker` with a Spreadsheet command that changes the background color of a content block and
|
|
1759
|
+
* automatically defines the options of the color picker and sets its values. [See example](https://www.telerik.com/kendo-angular-ui/components/spreadsheet/menu-&-toolbar-tools#home-menu-item-tools).
|
|
1760
|
+
* @hidden
|
|
1761
|
+
*/
|
|
1762
|
+
declare class SpreadsheetBackColorComponent extends SpreadsheetDropDownToolBase {
|
|
1763
|
+
constructor(dialogService: DialogService, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService, toolbar: ToolBarComponent);
|
|
1764
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetBackColorComponent, never>;
|
|
1765
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpreadsheetBackColorComponent, "kendo-spreadsheet-backcolor-tool", never, {}, {}, never, never, true, never>;
|
|
1766
|
+
}
|
|
1767
|
+
|
|
1768
|
+
/**
|
|
1769
|
+
* A component which configures an existing `ColorPickerComponent` as a Spreadsheet tool to change the text color.
|
|
1770
|
+
*
|
|
1771
|
+
* The component associates a `kendo-colorpicker` with a Spreadsheet command that changes the foreground color of a content block and
|
|
1772
|
+
* automatically defines the options of the color picker and sets its values. [See example](https://www.telerik.com/kendo-angular-ui/components/spreadsheet/menu-&-toolbar-tools#home-menu-item-tools).
|
|
1773
|
+
* @hidden
|
|
1774
|
+
*/
|
|
1775
|
+
declare class SpreadsheetForeColorComponent extends SpreadsheetDropDownToolBase {
|
|
1776
|
+
constructor(dialogService: DialogService, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService, toolbar: ToolBarComponent);
|
|
1777
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetForeColorComponent, never>;
|
|
1778
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpreadsheetForeColorComponent, "kendo-spreadsheet-forecolor-tool", never, {}, {}, never, never, true, never>;
|
|
1779
|
+
}
|
|
1780
|
+
|
|
1781
|
+
/**
|
|
1782
|
+
* @hidden
|
|
1783
|
+
*/
|
|
1784
|
+
declare class SpreadsheetGridLinesDirective extends SpreadsheetCommandButton {
|
|
1785
|
+
constructor(button: ToolBarButtonComponent, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService);
|
|
1786
|
+
protected clickHandler(): void;
|
|
1787
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetGridLinesDirective, never>;
|
|
1788
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetGridLinesDirective, "kendo-toolbar-button[kendoSpreadsheetGridLines]", never, {}, {}, never, never, true, never>;
|
|
1789
|
+
}
|
|
1790
|
+
|
|
1791
|
+
/**
|
|
1792
|
+
* @hidden
|
|
1793
|
+
*
|
|
1794
|
+
* Intermediary base class for insert/delete row/column toolbar buttons.
|
|
1795
|
+
* Disables the button when the current selection would cause undesired behavior:
|
|
1796
|
+
* - Row tools are disabled when a full column is selected
|
|
1797
|
+
* - Column tools are disabled when a full row is selected
|
|
1798
|
+
*/
|
|
1799
|
+
declare abstract class SpreadsheetTableCommandButton extends SpreadsheetCommandButton {
|
|
1800
|
+
private cdr;
|
|
1801
|
+
private disableOn;
|
|
1802
|
+
constructor(command: SpreadsheetCommand, button: ToolBarButtonComponent, localization: LocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService, commandOptions: any, cdr: ChangeDetectorRef, disableOn: 'fullRow' | 'fullColumn');
|
|
1803
|
+
ngOnInit(): void;
|
|
1804
|
+
private updateDisabledState;
|
|
1805
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetTableCommandButton, never>;
|
|
1806
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetTableCommandButton, never, never, {}, {}, never, never, true, never>;
|
|
1807
|
+
}
|
|
1808
|
+
|
|
1809
|
+
/**
|
|
1810
|
+
* @hidden
|
|
1811
|
+
*/
|
|
1812
|
+
declare class SpreadsheetAddColumnLeftButtonDirective extends SpreadsheetTableCommandButton {
|
|
1813
|
+
constructor(button: ToolBarButtonComponent, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService, cdr: ChangeDetectorRef);
|
|
1814
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetAddColumnLeftButtonDirective, never>;
|
|
1815
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetAddColumnLeftButtonDirective, "kendo-toolbar-button[kendoSpreadsheetAddColumnLeftButton]", never, {}, {}, never, never, true, never>;
|
|
1816
|
+
}
|
|
1817
|
+
|
|
1818
|
+
/**
|
|
1819
|
+
* @hidden
|
|
1820
|
+
*/
|
|
1821
|
+
declare class SpreadsheetAddColumnRightButtonDirective extends SpreadsheetTableCommandButton {
|
|
1822
|
+
constructor(button: ToolBarButtonComponent, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService, cdr: ChangeDetectorRef);
|
|
1823
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetAddColumnRightButtonDirective, never>;
|
|
1824
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetAddColumnRightButtonDirective, "kendo-toolbar-button[kendoSpreadsheetAddColumnRightButton]", never, {}, {}, never, never, true, never>;
|
|
1825
|
+
}
|
|
1826
|
+
|
|
1827
|
+
/**
|
|
1828
|
+
* @hidden
|
|
1829
|
+
*/
|
|
1830
|
+
declare class SpreadsheetAddRowAboveButtonDirective extends SpreadsheetTableCommandButton {
|
|
1831
|
+
constructor(button: ToolBarButtonComponent, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService, cdr: ChangeDetectorRef);
|
|
1832
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetAddRowAboveButtonDirective, never>;
|
|
1833
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetAddRowAboveButtonDirective, "kendo-toolbar-button[kendoSpreadsheetAddRowAboveButton]", never, {}, {}, never, never, true, never>;
|
|
1834
|
+
}
|
|
1835
|
+
|
|
1836
|
+
/**
|
|
1837
|
+
* @hidden
|
|
1838
|
+
*/
|
|
1839
|
+
declare class SpreadsheetAddRowBelowButtonDirective extends SpreadsheetTableCommandButton {
|
|
1840
|
+
constructor(button: ToolBarButtonComponent, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService, cdr: ChangeDetectorRef);
|
|
1841
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetAddRowBelowButtonDirective, never>;
|
|
1842
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetAddRowBelowButtonDirective, "kendo-toolbar-button[kendoSpreadsheetAddRowBelowButton]", never, {}, {}, never, never, true, never>;
|
|
1843
|
+
}
|
|
1844
|
+
|
|
1845
|
+
/**
|
|
1846
|
+
* @hidden
|
|
1847
|
+
*/
|
|
1848
|
+
declare class SpreadsheetDeleteColumnButtonDirective extends SpreadsheetTableCommandButton {
|
|
1849
|
+
constructor(button: ToolBarButtonComponent, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService, cdr: ChangeDetectorRef);
|
|
1850
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetDeleteColumnButtonDirective, never>;
|
|
1851
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetDeleteColumnButtonDirective, "kendo-toolbar-button[kendoSpreadsheetDeleteColumnButton]", never, {}, {}, never, never, true, never>;
|
|
1852
|
+
}
|
|
1853
|
+
|
|
1854
|
+
/**
|
|
1855
|
+
* @hidden
|
|
1856
|
+
*/
|
|
1857
|
+
declare class SpreadsheetDeleteRowButtonDirective extends SpreadsheetTableCommandButton {
|
|
1858
|
+
constructor(button: ToolBarButtonComponent, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService, cdr: ChangeDetectorRef);
|
|
1859
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetDeleteRowButtonDirective, never>;
|
|
1860
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetDeleteRowButtonDirective, "kendo-toolbar-button[kendoSpreadsheetDeleteRowButton]", never, {}, {}, never, never, true, never>;
|
|
1861
|
+
}
|
|
1862
|
+
|
|
1863
|
+
/**
|
|
1864
|
+
* @hidden
|
|
1865
|
+
*/
|
|
1866
|
+
declare class SpreadsheetTextAlignDirective {
|
|
1867
|
+
private host;
|
|
1868
|
+
private spreadsheetService;
|
|
1869
|
+
private toolsService;
|
|
1870
|
+
private commandName;
|
|
1871
|
+
private subs;
|
|
1872
|
+
constructor(host: ToolBarDropDownButtonComponent, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService);
|
|
1873
|
+
ngOnInit(): void;
|
|
1874
|
+
ngOnDestroy(): void;
|
|
1875
|
+
onItemClick(item: any): void;
|
|
1876
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetTextAlignDirective, never>;
|
|
1877
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetTextAlignDirective, "[kendoSpreadsheetTextAlign]", never, {}, {}, never, never, true, never>;
|
|
1878
|
+
}
|
|
1879
|
+
|
|
1880
|
+
/**
|
|
1881
|
+
* @hidden
|
|
1882
|
+
*/
|
|
1883
|
+
declare class SpreadsheetTextWrapDirective extends SpreadsheetCommandButton {
|
|
1884
|
+
constructor(button: ToolBarButtonComponent, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService);
|
|
1885
|
+
protected clickHandler(): void;
|
|
1886
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetTextWrapDirective, never>;
|
|
1887
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetTextWrapDirective, "kendo-toolbar-button[kendoSpreadsheetTextWrap]", never, {}, {}, never, never, true, never>;
|
|
1888
|
+
}
|
|
1889
|
+
|
|
1890
|
+
/**
|
|
1891
|
+
* @hidden
|
|
1892
|
+
*/
|
|
1893
|
+
declare class SpreadsheetMergeDirective {
|
|
1894
|
+
private host;
|
|
1895
|
+
private spreadsheetService;
|
|
1896
|
+
private commandName;
|
|
1897
|
+
private subs;
|
|
1898
|
+
private selectedRange;
|
|
1899
|
+
constructor(host: ToolBarDropDownButtonComponent, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService);
|
|
1900
|
+
ngOnInit(): void;
|
|
1901
|
+
ngOnDestroy(): void;
|
|
1902
|
+
onItemClick(item: any): void;
|
|
1903
|
+
private hasMergedCells;
|
|
1904
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetMergeDirective, never>;
|
|
1905
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetMergeDirective, "[kendoSpreadsheetMerge]", never, {}, {}, never, never, true, never>;
|
|
1906
|
+
}
|
|
1907
|
+
|
|
1908
|
+
/**
|
|
1909
|
+
* @hidden
|
|
1910
|
+
*/
|
|
1911
|
+
declare class SpreadsheetInsertLinkDirective extends SpreadsheetCommandButton {
|
|
1912
|
+
private dialogService;
|
|
1913
|
+
private currentRange;
|
|
1914
|
+
constructor(button: ToolBarButtonComponent, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService, dialogService: DialogService);
|
|
1915
|
+
ngOnDestroy(): void;
|
|
1916
|
+
protected clickHandler(): void;
|
|
1917
|
+
/**
|
|
1918
|
+
* @hidden
|
|
1919
|
+
*/
|
|
1920
|
+
openDialog(): void;
|
|
1921
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetInsertLinkDirective, never>;
|
|
1922
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetInsertLinkDirective, "kendo-toolbar-button[kendoSpreadsheetInsertLink]", never, {}, {}, never, never, true, never>;
|
|
1923
|
+
}
|
|
1924
|
+
|
|
1925
|
+
/**
|
|
1926
|
+
* @hidden
|
|
1927
|
+
*/
|
|
1928
|
+
declare class SpreadsheetIncreaseFontSizeDirective extends SpreadsheetCommandButton implements AfterViewInit {
|
|
1929
|
+
value: any;
|
|
1930
|
+
constructor(button: ToolBarButtonComponent, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService);
|
|
1931
|
+
protected clickHandler(): void;
|
|
1932
|
+
ngAfterViewInit(): void;
|
|
1933
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetIncreaseFontSizeDirective, never>;
|
|
1934
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetIncreaseFontSizeDirective, "kendo-toolbar-button[kendoSpreadsheetIncreaseFontSize]", never, {}, {}, never, never, true, never>;
|
|
1935
|
+
}
|
|
1936
|
+
|
|
1937
|
+
/**
|
|
1938
|
+
* @hidden
|
|
1939
|
+
*/
|
|
1940
|
+
declare class SpreadsheetDecreaseFontSizeDirective extends SpreadsheetCommandButton implements AfterViewInit {
|
|
1941
|
+
value: any;
|
|
1942
|
+
constructor(button: ToolBarButtonComponent, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService);
|
|
1943
|
+
protected clickHandler(): void;
|
|
1944
|
+
ngAfterViewInit(): void;
|
|
1945
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetDecreaseFontSizeDirective, never>;
|
|
1946
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetDecreaseFontSizeDirective, "kendo-toolbar-button[kendoSpreadsheetDecreaseFontSize]", never, {}, {}, never, never, true, never>;
|
|
1947
|
+
}
|
|
1948
|
+
|
|
1949
|
+
/**
|
|
1950
|
+
* @hidden
|
|
1951
|
+
*/
|
|
1952
|
+
declare class SpreadsheetIncreaseDecimalDirective extends SpreadsheetCommandButton {
|
|
1953
|
+
constructor(button: ToolBarButtonComponent, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService);
|
|
1954
|
+
protected clickHandler(): void;
|
|
1955
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetIncreaseDecimalDirective, never>;
|
|
1956
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetIncreaseDecimalDirective, "kendo-toolbar-button[kendoSpreadsheetIncreaseDecimal]", never, {}, {}, never, never, true, never>;
|
|
1957
|
+
}
|
|
1958
|
+
|
|
1959
|
+
/**
|
|
1960
|
+
* @hidden
|
|
1961
|
+
*/
|
|
1962
|
+
declare class SpreadsheetDecreaseDecimalDirective extends SpreadsheetCommandButton {
|
|
1963
|
+
constructor(button: ToolBarButtonComponent, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService);
|
|
1964
|
+
protected clickHandler(): void;
|
|
1965
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetDecreaseDecimalDirective, never>;
|
|
1966
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetDecreaseDecimalDirective, "kendo-toolbar-button[kendoSpreadsheetDecreaseDecimal]", never, {}, {}, never, never, true, never>;
|
|
1967
|
+
}
|
|
1968
|
+
|
|
1969
|
+
/**
|
|
1970
|
+
* @hidden
|
|
1971
|
+
*/
|
|
1972
|
+
declare class SpreadsheetHorizontalTextAlignDirective {
|
|
1973
|
+
private host;
|
|
1974
|
+
private spreadsheetService;
|
|
1975
|
+
private toolsService;
|
|
1976
|
+
private commandName;
|
|
1977
|
+
private subs;
|
|
1978
|
+
constructor(host: ToolBarDropDownButtonComponent, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService);
|
|
1979
|
+
ngOnInit(): void;
|
|
1980
|
+
ngOnDestroy(): void;
|
|
1981
|
+
onItemClick(item: any): void;
|
|
1982
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetHorizontalTextAlignDirective, never>;
|
|
1983
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetHorizontalTextAlignDirective, "[kendoSpreadsheetHorizontalTextAlign]", never, {}, {}, never, never, true, never>;
|
|
1984
|
+
}
|
|
1985
|
+
|
|
1986
|
+
/**
|
|
1987
|
+
* @hidden
|
|
1988
|
+
*/
|
|
1989
|
+
declare class SpreadsheetVerticalTextAlignDirective {
|
|
1990
|
+
private host;
|
|
1991
|
+
private spreadsheetService;
|
|
1992
|
+
private toolsService;
|
|
1993
|
+
private commandName;
|
|
1994
|
+
private subs;
|
|
1995
|
+
constructor(host: ToolBarDropDownButtonComponent, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService);
|
|
1996
|
+
ngOnInit(): void;
|
|
1997
|
+
ngOnDestroy(): void;
|
|
1998
|
+
onItemClick(item: any): void;
|
|
1999
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetVerticalTextAlignDirective, never>;
|
|
2000
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetVerticalTextAlignDirective, "[kendoSpreadsheetVerticalTextAlign]", never, {}, {}, never, never, true, never>;
|
|
2001
|
+
}
|
|
2002
|
+
|
|
2003
|
+
/**
|
|
2004
|
+
* @hidden
|
|
2005
|
+
*/
|
|
2006
|
+
declare class SpreadsheetFilterDirective extends SpreadsheetCommandButton implements OnInit, OnDestroy {
|
|
2007
|
+
private cdr;
|
|
2008
|
+
constructor(button: ToolBarButtonComponent, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService, cdr: ChangeDetectorRef);
|
|
2009
|
+
ngOnInit(): void;
|
|
2010
|
+
ngOnDestroy(): void;
|
|
2011
|
+
protected clickHandler(): void;
|
|
2012
|
+
private toggleActiveState;
|
|
2013
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetFilterDirective, never>;
|
|
2014
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetFilterDirective, "kendo-toolbar-button[kendoSpreadsheetFilter]", never, {}, {}, never, never, true, never>;
|
|
2015
|
+
}
|
|
2016
|
+
|
|
2017
|
+
/**
|
|
2018
|
+
* @hidden
|
|
2019
|
+
*/
|
|
2020
|
+
declare class SpreadsheetSortDirective {
|
|
2021
|
+
private spreadsheetService;
|
|
2022
|
+
private commandName;
|
|
2023
|
+
private subs;
|
|
2024
|
+
constructor(host: ToolBarDropDownButtonComponent, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService);
|
|
2025
|
+
ngOnDestroy(): void;
|
|
2026
|
+
onItemClick(item: any): void;
|
|
2027
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetSortDirective, never>;
|
|
2028
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetSortDirective, "[kendoSpreadsheetSort]", never, {}, {}, never, never, true, never>;
|
|
2029
|
+
}
|
|
2030
|
+
|
|
2031
|
+
/**
|
|
2032
|
+
* Represents the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) definition for the Spreadsheet component.
|
|
2033
|
+
*
|
|
2034
|
+
* @example
|
|
2035
|
+
* ```typescript
|
|
2036
|
+
* import { SpreadsheetModule } from '@progress/kendo-angular-spreadsheet';
|
|
2037
|
+
*
|
|
2038
|
+
* @NgModule({
|
|
2039
|
+
* imports: [SpreadsheetModule]
|
|
2040
|
+
* })
|
|
2041
|
+
* export class AppModule {}
|
|
2042
|
+
* ```
|
|
2043
|
+
*/
|
|
2044
|
+
declare class SpreadsheetModule {
|
|
2045
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetModule, never>;
|
|
2046
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SpreadsheetModule, never, [typeof SpreadsheetComponent, typeof CustomMessagesComponent, typeof SpreadsheetBoldDirective, typeof SpreadsheetDataValidationDirective, typeof SpreadsheetItalicDirective, typeof SpreadsheetUnderlineDirective, typeof SpreadsheetLoadFileComponent, typeof SpreadsheetSaveFileDirective, typeof SpreadsheetPDFExportDirective, typeof SpreadsheetFormatDirective, typeof SpreadsheetUndoDirective, typeof SpreadsheetRedoDirective, typeof SpreadsheetFontFamilyComponent, typeof SpreadsheetFontSizeComponent, typeof SpreadsheetBackColorComponent, typeof SpreadsheetForeColorComponent, typeof SpreadsheetGridLinesDirective, typeof SpreadsheetAddColumnLeftButtonDirective, typeof SpreadsheetAddColumnRightButtonDirective, typeof SpreadsheetAddRowAboveButtonDirective, typeof SpreadsheetAddRowBelowButtonDirective, typeof SpreadsheetDeleteColumnButtonDirective, typeof SpreadsheetDeleteRowButtonDirective, typeof SpreadsheetTextAlignDirective, typeof SpreadsheetTextWrapDirective, typeof SpreadsheetMergeDirective, typeof SpreadsheetInsertLinkDirective, typeof SpreadsheetIncreaseFontSizeDirective, typeof SpreadsheetDecreaseFontSizeDirective, typeof SpreadsheetIncreaseDecimalDirective, typeof SpreadsheetDecreaseDecimalDirective, typeof SpreadsheetHorizontalTextAlignDirective, typeof SpreadsheetVerticalTextAlignDirective, typeof SpreadsheetFilterDirective, typeof SpreadsheetSortDirective], [typeof SpreadsheetComponent, typeof CustomMessagesComponent, typeof SpreadsheetBoldDirective, typeof SpreadsheetDataValidationDirective, typeof SpreadsheetItalicDirective, typeof SpreadsheetUnderlineDirective, typeof SpreadsheetLoadFileComponent, typeof SpreadsheetSaveFileDirective, typeof SpreadsheetPDFExportDirective, typeof SpreadsheetFormatDirective, typeof SpreadsheetUndoDirective, typeof SpreadsheetRedoDirective, typeof SpreadsheetFontFamilyComponent, typeof SpreadsheetFontSizeComponent, typeof SpreadsheetBackColorComponent, typeof SpreadsheetForeColorComponent, typeof SpreadsheetGridLinesDirective, typeof SpreadsheetAddColumnLeftButtonDirective, typeof SpreadsheetAddColumnRightButtonDirective, typeof SpreadsheetAddRowAboveButtonDirective, typeof SpreadsheetAddRowBelowButtonDirective, typeof SpreadsheetDeleteColumnButtonDirective, typeof SpreadsheetDeleteRowButtonDirective, typeof SpreadsheetTextAlignDirective, typeof SpreadsheetTextWrapDirective, typeof SpreadsheetMergeDirective, typeof SpreadsheetInsertLinkDirective, typeof SpreadsheetIncreaseFontSizeDirective, typeof SpreadsheetDecreaseFontSizeDirective, typeof SpreadsheetIncreaseDecimalDirective, typeof SpreadsheetDecreaseDecimalDirective, typeof SpreadsheetHorizontalTextAlignDirective, typeof SpreadsheetVerticalTextAlignDirective, typeof SpreadsheetFilterDirective, typeof SpreadsheetSortDirective]>;
|
|
2047
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SpreadsheetModule>;
|
|
2048
|
+
}
|
|
2049
|
+
|
|
2050
|
+
/**
|
|
2051
|
+
* @hidden
|
|
2052
|
+
*/
|
|
2053
|
+
declare class FormulaListComponent {
|
|
2054
|
+
element: ElementRef;
|
|
2055
|
+
private spreadsheetService;
|
|
2056
|
+
private renderer;
|
|
2057
|
+
maxHeight: string;
|
|
2058
|
+
data: any[];
|
|
2059
|
+
itemClick: (value: any) => void;
|
|
2060
|
+
formulaFxIcon: SVGIcon;
|
|
2061
|
+
constructor(element: ElementRef, spreadsheetService: SpreadsheetService, renderer: Renderer2);
|
|
2062
|
+
ngOnInit(): void;
|
|
2063
|
+
handleMouseDown: (ev: MouseEvent) => void;
|
|
2064
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormulaListComponent, never>;
|
|
2065
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormulaListComponent, "kendo-spreadsheet-formula-list", never, { "maxHeight": { "alias": "maxHeight"; "required": false; }; "data": { "alias": "data"; "required": false; }; "itemClick": { "alias": "itemClick"; "required": false; }; }, {}, never, never, true, never>;
|
|
2066
|
+
}
|
|
2067
|
+
|
|
2068
|
+
/**
|
|
2069
|
+
* @hidden
|
|
2070
|
+
*/
|
|
2071
|
+
declare class FormulaInputDirective {
|
|
2072
|
+
element: ElementRef;
|
|
2073
|
+
private popupService;
|
|
2074
|
+
private spreadsheetService;
|
|
2075
|
+
private localization;
|
|
2076
|
+
hostClasses: boolean;
|
|
2077
|
+
get title(): string;
|
|
2078
|
+
role: string;
|
|
2079
|
+
ariaHasPopup: string;
|
|
2080
|
+
ariaExpanded: string;
|
|
2081
|
+
get ariaControls(): string;
|
|
2082
|
+
formulaListMaxHeight: string;
|
|
2083
|
+
list: FormulaListComponent;
|
|
2084
|
+
data: any[];
|
|
2085
|
+
constructor(element: ElementRef, popupService: PopupService, spreadsheetService: SpreadsheetService, localization: SpreadsheetLocalizationService);
|
|
2086
|
+
private popupRef;
|
|
2087
|
+
private handler;
|
|
2088
|
+
private get listElement();
|
|
2089
|
+
get current(): any;
|
|
2090
|
+
private focusedItem;
|
|
2091
|
+
private unfocus;
|
|
2092
|
+
private focusNext;
|
|
2093
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormulaInputDirective, never>;
|
|
2094
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FormulaInputDirective, "[kendoSpreadsheetFormulaInput]", never, { "formulaListMaxHeight": { "alias": "formulaListMaxHeight"; "required": false; }; }, {}, never, never, true, never>;
|
|
2095
|
+
}
|
|
2096
|
+
|
|
2097
|
+
/**
|
|
2098
|
+
* @hidden
|
|
2099
|
+
*/
|
|
2100
|
+
declare class NameBoxComponent implements AfterViewInit {
|
|
2101
|
+
private ngZone;
|
|
2102
|
+
private host;
|
|
2103
|
+
protected localization: SpreadsheetLocalizationService;
|
|
2104
|
+
private renderer;
|
|
2105
|
+
hostClass: boolean;
|
|
2106
|
+
keyDownHandler(): void;
|
|
2107
|
+
private combobox;
|
|
2108
|
+
data: any[];
|
|
2109
|
+
spreadsheetWidget: SpreadsheetWidget;
|
|
2110
|
+
constructor(ngZone: NgZone, host: ElementRef, localization: SpreadsheetLocalizationService, renderer: Renderer2);
|
|
2111
|
+
ngAfterViewInit(): void;
|
|
2112
|
+
value: any;
|
|
2113
|
+
get inputElement(): any;
|
|
2114
|
+
get current(): any;
|
|
2115
|
+
get title(): string;
|
|
2116
|
+
onSelectionChange(value: any): void;
|
|
2117
|
+
onOpen(): void;
|
|
2118
|
+
valueNormalizer: (text: Observable<string>) => Observable<{
|
|
2119
|
+
name: string;
|
|
2120
|
+
}>;
|
|
2121
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NameBoxComponent, never>;
|
|
2122
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NameBoxComponent, "[kendoSpreadsheetNameBox]", never, { "data": { "alias": "data"; "required": false; }; "spreadsheetWidget": { "alias": "spreadsheetWidget"; "required": false; }; }, {}, never, never, true, never>;
|
|
2123
|
+
}
|
|
2124
|
+
|
|
2125
|
+
/**
|
|
2126
|
+
* @hidden
|
|
2127
|
+
*/
|
|
2128
|
+
declare class SheetsBarComponent implements AfterViewInit, OnDestroy {
|
|
2129
|
+
private spreadsheetService;
|
|
2130
|
+
private element;
|
|
2131
|
+
private renderer;
|
|
2132
|
+
private localization;
|
|
2133
|
+
private dialogService;
|
|
2134
|
+
private ngZone;
|
|
2135
|
+
hostClasses: boolean;
|
|
2136
|
+
trackByItemKey: (index: number, item: SheetInfo) => any;
|
|
2137
|
+
sheets: SheetInfo[];
|
|
2138
|
+
sheetDescriptors: SheetDescriptor[];
|
|
2139
|
+
private subs;
|
|
2140
|
+
private hiding;
|
|
2141
|
+
constructor(spreadsheetService: SpreadsheetService, element: ElementRef, renderer: Renderer2, localization: SpreadsheetLocalizationService, dialogService: DialogService, ngZone: NgZone);
|
|
2142
|
+
addButton: ButtonComponent;
|
|
2143
|
+
menuButton: DropDownButtonComponent;
|
|
2144
|
+
tabstrip: TabStripComponent;
|
|
2145
|
+
actionDdbs: QueryList<DropDownButtonComponent>;
|
|
2146
|
+
actionDdbRefs: QueryList<ElementRef>;
|
|
2147
|
+
get activeSheet(): string;
|
|
2148
|
+
plusIcon: SVGIcon;
|
|
2149
|
+
menuIcon: SVGIcon;
|
|
2150
|
+
chevronDownIcon: SVGIcon;
|
|
2151
|
+
selected: boolean;
|
|
2152
|
+
sheetsMenuList: any[];
|
|
2153
|
+
private openedDdb;
|
|
2154
|
+
private tabListSub;
|
|
2155
|
+
private hiddenStateIcons;
|
|
2156
|
+
private hiddenStateSVGIcons;
|
|
2157
|
+
get tablistId(): string;
|
|
2158
|
+
ngAfterViewInit(): void;
|
|
2159
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
2160
|
+
ngOnDestroy(): void;
|
|
2161
|
+
onAddClick: () => void;
|
|
2162
|
+
onTabSelect(ev: SelectEvent): void;
|
|
2163
|
+
onOpen(ddb: DropDownButtonComponent): void;
|
|
2164
|
+
onClose(): void;
|
|
2165
|
+
onActionClick(dataItem: SheetAction, sheet: SheetInfo): void;
|
|
2166
|
+
onMenuItemClick(item: any): void;
|
|
2167
|
+
messageFor(key: string): string;
|
|
2168
|
+
private openDialog;
|
|
2169
|
+
private getCopyRegex;
|
|
2170
|
+
private actionsCallback;
|
|
2171
|
+
private selectSheet;
|
|
2172
|
+
private onTabListKeyDown;
|
|
2173
|
+
private notifySheetsChange;
|
|
2174
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SheetsBarComponent, never>;
|
|
2175
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SheetsBarComponent, "[kendoSpreadsheetSheetsBar]", never, { "sheets": { "alias": "sheets"; "required": false; }; "sheetDescriptors": { "alias": "sheetDescriptors"; "required": false; }; }, {}, never, never, true, never>;
|
|
2176
|
+
}
|
|
2177
|
+
|
|
2178
|
+
/**
|
|
2179
|
+
* Use this utility array to access all `@progress/kendo-angular-spreadsheet`-related components and directives in a standalone Angular component.
|
|
2180
|
+
*
|
|
2181
|
+
* @example
|
|
2182
|
+
* ```typescript
|
|
2183
|
+
* import { Component } from '@angular/core';
|
|
2184
|
+
* import { KENDO_SPREADSHEET } from '@progress/kendo-angular-spreadsheet';
|
|
2185
|
+
*
|
|
2186
|
+
* @Component({
|
|
2187
|
+
* selector: 'my-app',
|
|
2188
|
+
* standalone: true,
|
|
2189
|
+
* imports: [KENDO_SPREADSHEET],
|
|
2190
|
+
* template: `<kendo-spreadsheet [sheets]="sheets"></kendo-spreadsheet>`
|
|
2191
|
+
* })
|
|
2192
|
+
*
|
|
2193
|
+
* export class AppComponent {
|
|
2194
|
+
* public sheets = SheetDescriptor[] = sampleSheet;
|
|
2195
|
+
* }
|
|
2196
|
+
* ```
|
|
2197
|
+
*/
|
|
2198
|
+
declare const KENDO_SPREADSHEET: readonly [typeof SpreadsheetComponent, typeof CustomMessagesComponent, typeof SpreadsheetBoldDirective, typeof SpreadsheetDataValidationDirective, typeof SpreadsheetItalicDirective, typeof SpreadsheetUnderlineDirective, typeof SpreadsheetLoadFileComponent, typeof SpreadsheetSaveFileDirective, typeof SpreadsheetPDFExportDirective, typeof SpreadsheetFormatDirective, typeof SpreadsheetUndoDirective, typeof SpreadsheetRedoDirective, typeof SpreadsheetFontFamilyComponent, typeof SpreadsheetFontSizeComponent, typeof SpreadsheetBackColorComponent, typeof SpreadsheetForeColorComponent, typeof SpreadsheetGridLinesDirective, typeof SpreadsheetAddColumnLeftButtonDirective, typeof SpreadsheetAddColumnRightButtonDirective, typeof SpreadsheetAddRowAboveButtonDirective, typeof SpreadsheetAddRowBelowButtonDirective, typeof SpreadsheetDeleteColumnButtonDirective, typeof SpreadsheetDeleteRowButtonDirective, typeof SpreadsheetTextAlignDirective, typeof SpreadsheetTextWrapDirective, typeof SpreadsheetMergeDirective, typeof SpreadsheetInsertLinkDirective, typeof SpreadsheetIncreaseFontSizeDirective, typeof SpreadsheetDecreaseFontSizeDirective, typeof SpreadsheetIncreaseDecimalDirective, typeof SpreadsheetDecreaseDecimalDirective, typeof SpreadsheetHorizontalTextAlignDirective, typeof SpreadsheetVerticalTextAlignDirective, typeof SpreadsheetFilterDirective, typeof SpreadsheetSortDirective];
|
|
2199
|
+
|
|
2200
|
+
export { CustomMessagesComponent, FormulaInputDirective, FormulaListComponent, KENDO_SPREADSHEET, NameBoxComponent, SheetsBarComponent, SpreadsheetAddColumnLeftButtonDirective, SpreadsheetAddColumnRightButtonDirective, SpreadsheetAddRowAboveButtonDirective, SpreadsheetAddRowBelowButtonDirective, SpreadsheetBackColorComponent, SpreadsheetBoldDirective, SpreadsheetComponent, SpreadsheetContextMenuEvent, SpreadsheetDataValidationDirective, SpreadsheetDecreaseDecimalDirective, SpreadsheetDecreaseFontSizeDirective, SpreadsheetDeleteColumnButtonDirective, SpreadsheetDeleteRowButtonDirective, SpreadsheetFilterDirective, SpreadsheetFontFamilyComponent, SpreadsheetFontSizeComponent, SpreadsheetForeColorComponent, SpreadsheetFormatDirective, SpreadsheetGridLinesDirective, SpreadsheetHorizontalTextAlignDirective, SpreadsheetIncreaseDecimalDirective, SpreadsheetIncreaseFontSizeDirective, SpreadsheetInsertLinkDirective, SpreadsheetItalicDirective, SpreadsheetLoadFileComponent, SpreadsheetMergeDirective, SpreadsheetModule, SpreadsheetPDFExportDirective, SpreadsheetPDFExportEvent, SpreadsheetRedoDirective, SpreadsheetSaveFileDirective, SpreadsheetSortDirective, SpreadsheetTextAlignDirective, SpreadsheetTextWrapDirective, SpreadsheetUnderlineDirective, SpreadsheetUndoDirective, SpreadsheetVerticalTextAlignDirective };
|
|
2201
|
+
export type { ContextMenuActionFn, ContextMenuArgs, PDFExportSettings, PDFMargin, Rectangle, SheetInfo, SpreadsheetActiveSheetChangeEvent, SpreadsheetCellEditorHandlerArgs, SpreadsheetCellEditorOptions, SpreadsheetChangeEvent, SpreadsheetClipboardContent, SpreadsheetClipboardEvent, SpreadsheetClipboardEventType, SpreadsheetContextMenuAction, SpreadsheetContextMenuItem, SpreadsheetContextMenuTarget, SpreadsheetExcelExportEvent, SpreadsheetExcelImportEvent, SpreadsheetMainMenuItem, SpreadsheetPaperSize, SpreadsheetMainMenuItem as ToolbarTab };
|