@progress/kendo-angular-spreadsheet 24.2.2 → 25.0.0-develop.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/fesm2022/progress-kendo-angular-spreadsheet.mjs +186 -186
  2. package/index.d.ts +2197 -11
  3. package/package-metadata.mjs +2 -2
  4. package/package.json +22 -22
  5. package/schematics/ngAdd/index.js +2 -2
  6. package/action-bar/formula-input.directive.d.ts +0 -38
  7. package/action-bar/list.component.d.ts +0 -25
  8. package/action-bar/namebox.component.d.ts +0 -36
  9. package/common/calendar-editor.component.d.ts +0 -20
  10. package/common/error-handling.service.d.ts +0 -37
  11. package/common/list-editor.component.d.ts +0 -29
  12. package/common/main-menu.directive.d.ts +0 -17
  13. package/common/sheet-changes.d.ts +0 -23
  14. package/common/spreadsheet.service.d.ts +0 -34
  15. package/default-context-menu-items.d.ts +0 -17
  16. package/directives.d.ts +0 -60
  17. package/filter-menu/filter-menu-item-content-template.directive.d.ts +0 -15
  18. package/filter-menu/filter-menu-item.component.d.ts +0 -83
  19. package/localization/custom-messages.component.d.ts +0 -26
  20. package/localization/localized-messages.directive.d.ts +0 -16
  21. package/localization/messages.d.ts +0 -596
  22. package/localization/spreadsheet-localization.service.d.ts +0 -14
  23. package/models/cell-editor-action-args.d.ts +0 -63
  24. package/models/cell-editor-options.d.ts +0 -38
  25. package/models/events.d.ts +0 -239
  26. package/models/filter-menu-item.d.ts +0 -14
  27. package/models/index.d.ts +0 -12
  28. package/models/main-menu-item.d.ts +0 -20
  29. package/models/pdf-export.d.ts +0 -62
  30. package/models/range-filter-value.d.ts +0 -15
  31. package/models/sheet-info.d.ts +0 -26
  32. package/package-metadata.d.ts +0 -9
  33. package/sheets-bar/action-dialog.component.d.ts +0 -19
  34. package/sheets-bar/sheets-bar.component.d.ts +0 -67
  35. package/sheets-bar/utils.d.ts +0 -10
  36. package/spreadsheet.component.d.ts +0 -331
  37. package/spreadsheet.module.d.ts +0 -58
  38. package/tools/align/align-tool.directive.d.ts +0 -25
  39. package/tools/align/horizontal-align-tool.directive.d.ts +0 -25
  40. package/tools/align/vertical-align-tool.directive.d.ts +0 -25
  41. package/tools/colorpicker/spreadsheet-backcolor.component.d.ts +0 -23
  42. package/tools/colorpicker/spreadsheet-forecolor.component.d.ts +0 -23
  43. package/tools/data-validation-dialog.component.d.ts +0 -57
  44. package/tools/data-validation-tool.directive.d.ts +0 -29
  45. package/tools/decrease-decimal-tool.directive.d.ts +0 -19
  46. package/tools/filter-sort/filter-tool.directive.d.ts +0 -24
  47. package/tools/filter-sort/sort-tool.directive.d.ts +0 -21
  48. package/tools/font-family/font-family-dropdownlist.component.d.ts +0 -13
  49. package/tools/font-family/spreadsheet-fontfamily-tool.component.d.ts +0 -23
  50. package/tools/font-size/decrease-font-tool.directive.d.ts +0 -22
  51. package/tools/font-size/font-size-dropdownlist.component.d.ts +0 -13
  52. package/tools/font-size/increase-font-tool.directive.d.ts +0 -22
  53. package/tools/font-size/spreadsheet-fontsize-tool.component.d.ts +0 -23
  54. package/tools/format-tool.directive.d.ts +0 -36
  55. package/tools/gridlines-tool.directive.d.ts +0 -19
  56. package/tools/history/redo-tool.d.ts +0 -19
  57. package/tools/history/undo-tool.d.ts +0 -19
  58. package/tools/increase-decimal-tool.directive.d.ts +0 -19
  59. package/tools/index.d.ts +0 -31
  60. package/tools/insert/insert-link-dialog.component.d.ts +0 -18
  61. package/tools/insert/insert-link-tool.directive.d.ts +0 -27
  62. package/tools/load-file.component.d.ts +0 -41
  63. package/tools/pdf-export-tool.directive.d.ts +0 -22
  64. package/tools/save-file-tool.directive.d.ts +0 -22
  65. package/tools/shared/command-icons.d.ts +0 -14
  66. package/tools/shared/commands.d.ts +0 -8
  67. package/tools/shared/constants.d.ts +0 -75
  68. package/tools/shared/dialog-content.component.d.ts +0 -21
  69. package/tools/shared/spreadsheet-command-base.d.ts +0 -29
  70. package/tools/shared/spreadsheet-command-button.d.ts +0 -23
  71. package/tools/shared/spreadsheet-dropdown-tools-base.d.ts +0 -74
  72. package/tools/shared/spreadsheet-dropdownlist.base.d.ts +0 -25
  73. package/tools/tables/add-column-left-button.directive.d.ts +0 -19
  74. package/tools/tables/add-column-right-button.directive.d.ts +0 -19
  75. package/tools/tables/add-row-above-button.directive.d.ts +0 -19
  76. package/tools/tables/add-row-below-button.directive.d.ts +0 -19
  77. package/tools/tables/delete-column-button.directive.d.ts +0 -19
  78. package/tools/tables/delete-row-button.directive.d.ts +0 -19
  79. package/tools/tables/index.d.ts +0 -11
  80. package/tools/tables/merge-tool.directive.d.ts +0 -25
  81. package/tools/tables/selection-utils.d.ts +0 -18
  82. package/tools/tables/spreadsheet-table-command-button.d.ts +0 -29
  83. package/tools/text-wrap-tool.directive.d.ts +0 -19
  84. package/tools/tools.service.d.ts +0 -21
  85. package/tools/typographical-emphasis/bold-tool.directive.d.ts +0 -18
  86. package/tools/typographical-emphasis/italic-tool.directive.d.ts +0 -18
  87. package/tools/typographical-emphasis/underline-tool.directive.d.ts +0 -18
  88. package/tools/utils.d.ts +0 -12
  89. package/utils.d.ts +0 -13
@@ -1,38 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { SVGIcon } from "@progress/kendo-svg-icons";
6
- /**
7
- * Represents the configuration object for defining custom cell editors.
8
- * Use this interface to render specific cell editors when you focus a cell or a range.
9
- */
10
- export interface SpreadsheetCellEditorOptions {
11
- /**
12
- * Sets the unique name of the cell editor.
13
- * Use this name when you specify the editor for a cell or a range.
14
- *
15
- * Please note that `_validation_list` and `_validation_date` are reserved names for built-in editors.
16
- */
17
- name: string;
18
- /**
19
- * Sets the component to use as a cell editor.
20
- */
21
- component?: any;
22
- /**
23
- * Provides the actions that the cell editor can use.
24
- * The `name` property must match an event name of the editor component.
25
- */
26
- actions?: Array<{
27
- name: string;
28
- handler: Function;
29
- }>;
30
- /**
31
- * Sets the name of an existing icon from a Kendo UI theme.
32
- */
33
- icon?: string;
34
- /**
35
- * Sets the [`SVGIcon`](https://www.telerik.com/kendo-angular-ui/components/icons/api/svgicon) to render.
36
- */
37
- svgIcon?: SVGIcon;
38
- }
@@ -1,239 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Range, Sheet, SpreadsheetWidget, Workbook, View } from "@progress/kendo-spreadsheet-common";
6
- import { PreventableEvent } from "@progress/kendo-angular-common";
7
- import { SpreadsheetComponent } from "../spreadsheet.component";
8
- import { Rectangle } from "./cell-editor-action-args";
9
- import { SVGIcon } from "@progress/kendo-svg-icons";
10
- /**
11
- * Provides the event data for the Spreadsheet `change` event.
12
- */
13
- export interface SpreadsheetChangeEvent {
14
- /**
15
- * Specifies the selected `Range` in the active sheet.
16
- */
17
- range: Range;
18
- /**
19
- * Specifies the `SpreadsheetWidget` instance used in the Spreadsheet component.
20
- */
21
- sender: SpreadsheetWidget;
22
- }
23
- /**
24
- * Provides the event data for the Spreadsheet `excelExport` event.
25
- */
26
- export interface SpreadsheetExcelExportEvent {
27
- /**
28
- * Specifies the `SpreadsheetWidget` instance.
29
- */
30
- sender: SpreadsheetWidget;
31
- /**
32
- * Specifies the Excel `Workbook` configuration object. Changes to the `Workbook` are reflected in the output Excel document.
33
- */
34
- workbook: Workbook;
35
- /**
36
- * Prevents the Spreadsheet from saving the generated file when invoked.
37
- */
38
- preventDefault: Function;
39
- }
40
- /**
41
- * Provides the event data for the Spreadsheet `pdfExport` event.
42
- */
43
- export declare class SpreadsheetPDFExportEvent extends PreventableEvent {
44
- /**
45
- * Specifies the `SpreadsheetWidget` instance.
46
- */
47
- sender: SpreadsheetWidget;
48
- /**
49
- * @hidden
50
- */
51
- constructor(sender: SpreadsheetWidget);
52
- }
53
- /**
54
- * Provides the event data for the Spreadsheet `excelImport` event.
55
- */
56
- export interface SpreadsheetExcelImportEvent {
57
- /**
58
- * Specifies the `SpreadsheetWidget` instance.
59
- */
60
- sender: SpreadsheetWidget;
61
- /**
62
- * Specifies the selected file.
63
- */
64
- file: File | Blob;
65
- /**
66
- * Prevents the Spreadsheet from loading the selected file when invoked.
67
- */
68
- preventDefault: Function;
69
- }
70
- /**
71
- * Provides the event data for the Spreadsheet `activeSheetChange` event.
72
- */
73
- export interface SpreadsheetActiveSheetChangeEvent {
74
- /**
75
- * Specifies the `SpreadsheetWidget` instance.
76
- */
77
- sender: SpreadsheetWidget;
78
- /**
79
- * Specifies the new active sheet.
80
- */
81
- sheet: Sheet;
82
- }
83
- /**
84
- * Provides the event data for the Spreadsheet `cut`, `copy` and `paste` events.
85
- */
86
- export interface SpreadsheetClipboardEvent {
87
- /**
88
- * The `SpreadsheetWidget` instance which fired the event.
89
- */
90
- sender: SpreadsheetWidget;
91
- /**
92
- * The selected `Range` in the active sheet that is about to be copied.
93
- */
94
- range: Range;
95
- /**
96
- * The type of the clipboard event.
97
- */
98
- type: SpreadsheetClipboardEventType;
99
- /**
100
- * The clipboard content that is being copied, cut, or pasted.
101
- */
102
- clipboardContent: SpreadsheetClipboardContent;
103
- /**
104
- * Prevents the default action for the event.
105
- * The Spreadsheet suppresses the built-in behavior that follows the event.
106
- */
107
- preventDefault: Function;
108
- /**
109
- * Returns `true` if any subscriber prevented the default action.
110
- *
111
- * @returns `true` if the default action was prevented, otherwise, `false`.
112
- */
113
- isDefaultPrevented: Function;
114
- }
115
- /**
116
- * Provides information about the clipboard content that is being copied, cut, or pasted, as well as about the merged cells within the selection.
117
- */
118
- export interface SpreadsheetClipboardContent {
119
- /**
120
- * The data that is being copied, cut, or pasted.
121
- */
122
- data: any[];
123
- /**
124
- * A collection representing the merged cells contained within the selected range.
125
- */
126
- mergedCells: string[];
127
- }
128
- /**
129
- * Provides the event data for the Spreadsheet `contextMenu` event.
130
- */
131
- export declare class SpreadsheetContextMenuEvent extends PreventableEvent {
132
- /**
133
- * The context menu items for the current selection.
134
- */
135
- items: Array<SpreadsheetContextMenuItem>;
136
- /**
137
- * The Spreadsheet component instance.
138
- */
139
- spreadsheet: SpreadsheetComponent;
140
- /**
141
- * The Spreadsheet Range object representing the currently selected cells.
142
- * Provides methods to apply values, formatting, and styling to the Spreadsheet cells using the original event's data.
143
- */
144
- range: Range;
145
- /**
146
- * Represents the Rectangle object that provides position and dimension information about the active range, useful for custom positioning logic.
147
- */
148
- rect: Rectangle;
149
- /**
150
- * The current Spreadsheet View instance, giving access to the broader Spreadsheet context.
151
- */
152
- view: View;
153
- /**
154
- * The type of target that opens the context menu.
155
- */
156
- targetType: SpreadsheetContextMenuTarget;
157
- /**
158
- * @hidden
159
- */
160
- constructor(options: any);
161
- }
162
- /**
163
- * Defines a context menu item in the Spreadsheet.
164
- */
165
- export interface SpreadsheetContextMenuItem {
166
- /**
167
- * The context menu item type.
168
- */
169
- type: SpreadsheetContextMenuAction;
170
- /**
171
- * Sets the unique identifier for the context menu item.
172
- */
173
- id?: string | number;
174
- /**
175
- * Specifies the item text.
176
- */
177
- text?: string;
178
- /**
179
- * Specifies the name of the font icon that will be rendered for the item.
180
- */
181
- icon?: string;
182
- /**
183
- * Defines an SVGIcon that will be rendered for the item using a KendoSVGIcon component.
184
- */
185
- svgIcon?: SVGIcon;
186
- /**
187
- * Specifies if the item is disabled.
188
- */
189
- disabled?: boolean;
190
- /**
191
- * Specifies if this is a separator item. If set to true, other fields are disregarded.
192
- */
193
- separator?: boolean;
194
- /**
195
- * Sets a function that will be invoked when the item is selected.
196
- */
197
- action?: ContextMenuActionFn;
198
- }
199
- /**
200
- * Provides the arguments for the callback function of a context menu item.
201
- */
202
- export interface ContextMenuArgs {
203
- /**
204
- * The item that triggered the action.
205
- */
206
- item: SpreadsheetContextMenuItem;
207
- /**
208
- * The Spreadsheet component instance.
209
- */
210
- spreadsheet: SpreadsheetComponent;
211
- /**
212
- * 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.
213
- */
214
- range: Range;
215
- /**
216
- * Represents the Rectangle object that provides position and dimension information about the active range, useful for custom positioning logic.
217
- */
218
- rect: Rectangle;
219
- /**
220
- * The current Spreadsheet View instance, giving access to the broader Spreadsheet context.
221
- */
222
- view: View;
223
- }
224
- /**
225
- * Represents the callback that will be invoked when a context menu item is selected.
226
- */
227
- export type ContextMenuActionFn = (context: ContextMenuArgs) => void;
228
- /**
229
- * Defines the possible values for the `targetType` that triggered opening of the context menu.
230
- */
231
- export type SpreadsheetContextMenuTarget = 'cell' | 'range' | 'rowHeader' | 'columnHeader';
232
- /**
233
- * Defines the possible values for the `type` property of a context menu item.
234
- */
235
- export type SpreadsheetContextMenuAction = 'copy' | 'paste' | 'cut' | 'mergeAll' | 'mergeHorizontally' | 'mergeVertically' | 'unmerge' | 'insertLink' | 'separator' | 'addRowAbove' | 'addRowBelow' | 'deleteRow' | 'hideRow' | 'unhideRow' | 'addColumnLeft' | 'addColumnRight' | 'deleteColumn' | 'hideColumn' | 'unhideColumn' | 'custom';
236
- /**
237
- * Defines the possible values for the `type` property of [`SpreadsheetClipboardEvent`](https://www.telerik.com/kendo-angular-ui/components/spreadsheet/api/spreadsheetclipboardevent).
238
- */
239
- export type SpreadsheetClipboardEventType = 'copy' | 'cut' | 'paste';
@@ -1,14 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { SVGIcon } from "@progress/kendo-svg-icons";
6
- /**
7
- * @hidden
8
- */
9
- export interface FilterMenuItem {
10
- text: string;
11
- icon?: string;
12
- svgIcon?: SVGIcon;
13
- content?: any;
14
- }
package/models/index.d.ts DELETED
@@ -1,12 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- export * from './sheet-info';
6
- export * from './main-menu-item';
7
- export * from './events';
8
- export * from './cell-editor-options';
9
- export * from './cell-editor-action-args';
10
- export * from './filter-menu-item';
11
- export * from './range-filter-value';
12
- export * from './pdf-export';
@@ -1,20 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- /**
6
- * The configuration object for customizing the built-in menu items.
7
- * Lets you render a specific set of menu items in the desired order and choose the initially active one.
8
- */
9
- export interface SpreadsheetMainMenuItem {
10
- /**
11
- * Specifies the built-in menu item identifier.
12
- */
13
- id: 'file' | 'home' | 'insert' | 'format' | 'view' | 'data';
14
- /**
15
- * Determines if the menu item is initially active.
16
- * If no item is set as active, the first one is active by default.
17
- * If more than one item is set as active, the first of them is active.
18
- */
19
- active?: boolean;
20
- }
@@ -1,62 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { pdf } from '@progress/kendo-drawing';
6
- /**
7
- * Configures the PDF export settings of the Spreadsheet.
8
- */
9
- export interface PDFExportSettings {
10
- /**
11
- * Sets the paper size for the PDF document.
12
- * The value can be a `SpreadsheetPaperSize` or an array of two numbers (width and height in points).
13
- *
14
- * @default 'A4'
15
- */
16
- paperSize?: SpreadsheetPaperSize | [number, number];
17
- /**
18
- * If `false`, sets the page orientation to `portrait`. The default page orientation is `landscape`.
19
- *
20
- * @default true
21
- */
22
- landscape?: boolean;
23
- /**
24
- * Specifies the margins of the page. The supported units are `"mm"`, `"cm"`,`"in"`, and `"pt"`.
25
- * Numbers are treated as points (`"pt"`).
26
- *
27
- * @default '1cm'
28
- */
29
- margin?: string | number | PDFMargin;
30
- /**
31
- * Scales the content to fit page width.
32
- *
33
- * @default false
34
- */
35
- fitWidth?: boolean;
36
- /**
37
- * Sets a scale factor for the PDF output. Use this to make the PDF content smaller or larger.
38
- *
39
- * @default 1
40
- */
41
- scale?: number;
42
- /**
43
- * Sets the title metadata for the PDF document. If not set, the title is the same as the file name.
44
- */
45
- title?: string;
46
- /**
47
- * Sets the name of the exported PDF file.
48
- *
49
- * @default 'Workbook.pdf'
50
- */
51
- fileName?: string;
52
- }
53
- /**
54
- * The paper size.
55
- */
56
- export 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';
57
- /**
58
- * Defines the page margins for the PDF export.
59
- * Accepts numbers or strings with units.
60
- */
61
- export interface PDFMargin extends pdf.PageMargin {
62
- }
@@ -1,15 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- /**
6
- * @hidden
7
- */
8
- export interface RangeFilterValue {
9
- dataType?: string;
10
- value?: any;
11
- unformattedValue?: any;
12
- text?: string;
13
- checked?: boolean;
14
- items?: RangeFilterValue[];
15
- }
@@ -1,26 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { SheetDescriptor } from '@progress/kendo-spreadsheet-common';
6
- import { ListItemModel } from '@progress/kendo-angular-buttons';
7
- /**
8
- * @hidden
9
- */
10
- export type SheetAction = ListItemModel & {
11
- commandName: string;
12
- dialogButton?: string;
13
- messageKey?: string;
14
- };
15
- /**
16
- * @hidden
17
- */
18
- export type SheetInfo = SheetDescriptor & {
19
- last: boolean;
20
- first: boolean;
21
- text: string;
22
- sheetActions: SheetAction[];
23
- inEdit?: boolean;
24
- active?: boolean;
25
- index?: number;
26
- };
@@ -1,9 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { type PackageMetadata } from '@progress/kendo-licensing';
6
- /**
7
- * @hidden
8
- */
9
- export declare const packageMetadata: PackageMetadata;
@@ -1,19 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { DialogRef, DialogContentBase } from '@progress/kendo-angular-dialog';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * @hidden
9
- */
10
- export declare class ActionDialogComponent extends DialogContentBase {
11
- dialog: DialogRef;
12
- commandName: string;
13
- value: any;
14
- tabindex: number;
15
- constructor(dialog: DialogRef);
16
- setData(args: any): void;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<ActionDialogComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<ActionDialogComponent, "ng-component", never, {}, {}, never, never, true, never>;
19
- }
@@ -1,67 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { AfterViewInit, ElementRef, NgZone, OnDestroy, QueryList, Renderer2, SimpleChanges } from '@angular/core';
6
- import { SheetDescriptor } from '@progress/kendo-spreadsheet-common';
7
- import { ButtonComponent, DropDownButtonComponent } from '@progress/kendo-angular-buttons';
8
- import { DialogService } from '@progress/kendo-angular-dialog';
9
- import { SelectEvent, TabStripComponent } from '@progress/kendo-angular-layout';
10
- import { SVGIcon } from '@progress/kendo-svg-icons';
11
- import { SheetInfo } from '../models/sheet-info';
12
- import { SpreadsheetService } from '../common/spreadsheet.service';
13
- import { SheetAction } from '../models/sheet-info';
14
- import { SpreadsheetLocalizationService } from '../localization/spreadsheet-localization.service';
15
- import * as i0 from "@angular/core";
16
- /**
17
- * @hidden
18
- */
19
- export declare class SheetsBarComponent implements AfterViewInit, OnDestroy {
20
- private spreadsheetService;
21
- private element;
22
- private renderer;
23
- private localization;
24
- private dialogService;
25
- private ngZone;
26
- hostClasses: boolean;
27
- trackByItemKey: (index: number, item: SheetInfo) => any;
28
- sheets: SheetInfo[];
29
- sheetDescriptors: SheetDescriptor[];
30
- private subs;
31
- private hiding;
32
- constructor(spreadsheetService: SpreadsheetService, element: ElementRef, renderer: Renderer2, localization: SpreadsheetLocalizationService, dialogService: DialogService, ngZone: NgZone);
33
- addButton: ButtonComponent;
34
- menuButton: DropDownButtonComponent;
35
- tabstrip: TabStripComponent;
36
- actionDdbs: QueryList<DropDownButtonComponent>;
37
- actionDdbRefs: QueryList<ElementRef>;
38
- get activeSheet(): string;
39
- plusIcon: SVGIcon;
40
- menuIcon: SVGIcon;
41
- chevronDownIcon: SVGIcon;
42
- selected: boolean;
43
- sheetsMenuList: any[];
44
- private openedDdb;
45
- private tabListSub;
46
- private hiddenStateIcons;
47
- private hiddenStateSVGIcons;
48
- get tablistId(): string;
49
- ngAfterViewInit(): void;
50
- ngOnChanges(changes: SimpleChanges): void;
51
- ngOnDestroy(): void;
52
- onAddClick: () => void;
53
- onTabSelect(ev: SelectEvent): void;
54
- onOpen(ddb: DropDownButtonComponent): void;
55
- onClose(): void;
56
- onActionClick(dataItem: SheetAction, sheet: SheetInfo): void;
57
- onMenuItemClick(item: any): void;
58
- messageFor(key: string): string;
59
- private openDialog;
60
- private getCopyRegex;
61
- private actionsCallback;
62
- private selectSheet;
63
- private onTabListKeyDown;
64
- private notifySheetsChange;
65
- static ɵfac: i0.ɵɵFactoryDeclaration<SheetsBarComponent, never>;
66
- static ɵcmp: i0.ɵɵComponentDeclaration<SheetsBarComponent, "[kendoSpreadsheetSheetsBar]", never, { "sheets": { "alias": "sheets"; "required": false; }; "sheetDescriptors": { "alias": "sheetDescriptors"; "required": false; }; }, {}, never, never, true, never>;
67
- }
@@ -1,10 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { SheetDescriptor } from '@progress/kendo-spreadsheet-common';
6
- import { SheetAction, SheetInfo } from '../models';
7
- /**
8
- * @hidden
9
- */
10
- export declare const getSheetActions: (items: SheetDescriptor[] | SheetInfo[], item?: SheetDescriptor) => SheetAction[];