@progress/kendo-angular-spreadsheet 13.6.0-develop.6
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/LICENSE.md +11 -0
- package/NOTICE.txt +654 -0
- package/README.md +32 -0
- package/action-bar/formula-input.directive.d.ts +33 -0
- package/action-bar/list.component.d.ts +23 -0
- package/action-bar/namebox.component.d.ts +30 -0
- package/common/main-menu.directive.d.ts +17 -0
- package/common/sheet-changes.d.ts +23 -0
- package/common/spreadsheet.service.d.ts +28 -0
- package/esm2020/action-bar/formula-input.directive.mjs +142 -0
- package/esm2020/action-bar/list.component.mjs +75 -0
- package/esm2020/action-bar/namebox.component.mjs +110 -0
- package/esm2020/common/main-menu.directive.mjs +25 -0
- package/esm2020/common/sheet-changes.mjs +5 -0
- package/esm2020/common/spreadsheet.service.mjs +42 -0
- package/esm2020/index.mjs +12 -0
- package/esm2020/localization/custom-messages.component.mjs +42 -0
- package/esm2020/localization/localized-messages.directive.mjs +33 -0
- package/esm2020/localization/messages.mjs +80 -0
- package/esm2020/localization/spreadsheet-localization.service.mjs +31 -0
- package/esm2020/models/events.mjs +5 -0
- package/esm2020/models/index.mjs +7 -0
- package/esm2020/models/main-menu-item.mjs +5 -0
- package/esm2020/models/sheet-info.mjs +5 -0
- package/esm2020/package-metadata.mjs +15 -0
- package/esm2020/progress-kendo-angular-spreadsheet.mjs +8 -0
- package/esm2020/sheets-bar/action-dialog.component.mjs +68 -0
- package/esm2020/sheets-bar/remove.directive.mjs +25 -0
- package/esm2020/sheets-bar/sheets-bar.component.mjs +278 -0
- package/esm2020/sheets-bar/utils.mjs +45 -0
- package/esm2020/spreadsheet.component.mjs +725 -0
- package/esm2020/spreadsheet.module.mjs +235 -0
- package/esm2020/tools/align-tool.directive.mjs +58 -0
- package/esm2020/tools/colorpicker/spreadsheet-backcolor.component.mjs +98 -0
- package/esm2020/tools/colorpicker/spreadsheet-forecolor.component.mjs +98 -0
- package/esm2020/tools/font-family/font-family-dropdownlist.component.mjs +57 -0
- package/esm2020/tools/font-family/spreadsheet-fontfamily-tool.component.mjs +92 -0
- package/esm2020/tools/font-size/font-size-dropdownlist.component.mjs +42 -0
- package/esm2020/tools/font-size/spreadsheet-fontsize-tool.component.mjs +92 -0
- package/esm2020/tools/format-tool.directive.mjs +61 -0
- package/esm2020/tools/gridlines-tool.directive.mjs +46 -0
- package/esm2020/tools/history/redo-tool.mjs +36 -0
- package/esm2020/tools/history/undo-tool.mjs +36 -0
- package/esm2020/tools/index.mjs +20 -0
- package/esm2020/tools/load-file.component.mjs +186 -0
- package/esm2020/tools/save-file-tool.directive.mjs +52 -0
- package/esm2020/tools/shared/command-icons.mjs +71 -0
- package/esm2020/tools/shared/commands.mjs +5 -0
- package/esm2020/tools/shared/constants.mjs +61 -0
- package/esm2020/tools/shared/dialog-content.component.mjs +114 -0
- package/esm2020/tools/shared/spreadsheet-command-base.mjs +75 -0
- package/esm2020/tools/shared/spreadsheet-command-button.mjs +25 -0
- package/esm2020/tools/shared/spreadsheet-dropdown-tools-base.mjs +184 -0
- package/esm2020/tools/shared/spreadsheet-dropdownlist.base.mjs +50 -0
- package/esm2020/tools/tables/add-column-left-button.directive.mjs +36 -0
- package/esm2020/tools/tables/add-column-right-button.directive.mjs +36 -0
- package/esm2020/tools/tables/add-row-above-button.directive.mjs +36 -0
- package/esm2020/tools/tables/add-row-below-button.directive.mjs +36 -0
- package/esm2020/tools/tables/delete-column-button.directive.mjs +34 -0
- package/esm2020/tools/tables/delete-row-button.directive.mjs +34 -0
- package/esm2020/tools/tables/index.mjs +10 -0
- package/esm2020/tools/text-wrap-tool.directive.mjs +47 -0
- package/esm2020/tools/tools.service.mjs +60 -0
- package/esm2020/tools/typographical-emphasis/bold-tool.directive.mjs +36 -0
- package/esm2020/tools/typographical-emphasis/italic-tool.directive.mjs +36 -0
- package/esm2020/tools/typographical-emphasis/underline-tool.directive.mjs +36 -0
- package/esm2020/tools/utils.mjs +13 -0
- package/esm2020/utils.mjs +25 -0
- package/fesm2015/progress-kendo-angular-spreadsheet.mjs +3372 -0
- package/fesm2020/progress-kendo-angular-spreadsheet.mjs +3382 -0
- package/index.d.ts +13 -0
- package/localization/custom-messages.component.d.ts +18 -0
- package/localization/localized-messages.directive.d.ts +16 -0
- package/localization/messages.d.ts +133 -0
- package/localization/spreadsheet-localization.service.d.ts +14 -0
- package/models/events.d.ts +65 -0
- package/models/index.d.ts +7 -0
- package/models/main-menu-item.d.ts +19 -0
- package/models/sheet-info.d.ts +26 -0
- package/package-metadata.d.ts +9 -0
- package/package.json +65 -0
- package/progress-kendo-angular-spreadsheet.d.ts +9 -0
- package/schematics/collection.json +12 -0
- package/schematics/ngAdd/index.js +13 -0
- package/schematics/ngAdd/schema.json +24 -0
- package/sheets-bar/action-dialog.component.d.ts +19 -0
- package/sheets-bar/remove.directive.d.ts +13 -0
- package/sheets-bar/sheets-bar.component.d.ts +53 -0
- package/sheets-bar/utils.d.ts +10 -0
- package/spreadsheet.component.d.ts +176 -0
- package/spreadsheet.module.d.ts +62 -0
- package/tools/align-tool.directive.d.ts +25 -0
- package/tools/colorpicker/spreadsheet-backcolor.component.d.ts +20 -0
- package/tools/colorpicker/spreadsheet-forecolor.component.d.ts +20 -0
- package/tools/font-family/font-family-dropdownlist.component.d.ts +13 -0
- package/tools/font-family/spreadsheet-fontfamily-tool.component.d.ts +24 -0
- package/tools/font-size/font-size-dropdownlist.component.d.ts +13 -0
- package/tools/font-size/spreadsheet-fontsize-tool.component.d.ts +24 -0
- package/tools/format-tool.directive.d.ts +36 -0
- package/tools/gridlines-tool.directive.d.ts +19 -0
- package/tools/history/redo-tool.d.ts +19 -0
- package/tools/history/undo-tool.d.ts +19 -0
- package/tools/index.d.ts +20 -0
- package/tools/load-file.component.d.ts +41 -0
- package/tools/save-file-tool.directive.d.ts +22 -0
- package/tools/shared/command-icons.d.ts +14 -0
- package/tools/shared/commands.d.ts +8 -0
- package/tools/shared/constants.d.ts +50 -0
- package/tools/shared/dialog-content.component.d.ts +21 -0
- package/tools/shared/spreadsheet-command-base.d.ts +29 -0
- package/tools/shared/spreadsheet-command-button.d.ts +23 -0
- package/tools/shared/spreadsheet-dropdown-tools-base.d.ts +76 -0
- package/tools/shared/spreadsheet-dropdownlist.base.d.ts +25 -0
- package/tools/tables/add-column-left-button.directive.d.ts +18 -0
- package/tools/tables/add-column-right-button.directive.d.ts +18 -0
- package/tools/tables/add-row-above-button.directive.d.ts +18 -0
- package/tools/tables/add-row-below-button.directive.d.ts +18 -0
- package/tools/tables/delete-column-button.directive.d.ts +18 -0
- package/tools/tables/delete-row-button.directive.d.ts +18 -0
- package/tools/tables/index.d.ts +10 -0
- package/tools/text-wrap-tool.directive.d.ts +19 -0
- package/tools/tools.service.d.ts +21 -0
- package/tools/typographical-emphasis/bold-tool.directive.d.ts +18 -0
- package/tools/typographical-emphasis/italic-tool.directive.d.ts +18 -0
- package/tools/typographical-emphasis/underline-tool.directive.d.ts +18 -0
- package/tools/utils.d.ts +8 -0
- package/utils.d.ts +9 -0
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 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, EventEmitter, NgZone, OnChanges, Renderer2, SimpleChanges, ViewContainerRef } from '@angular/core';
|
|
6
|
+
import { CellDefaultStyle, ExcelExportSettings, SheetDescriptor, SpreadsheetWidget } from '@progress/kendo-spreadsheet-common';
|
|
7
|
+
import { IntlService } from '@progress/kendo-angular-intl';
|
|
8
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
9
|
+
import { SpreadsheetService } from './common/spreadsheet.service';
|
|
10
|
+
import { SpreadsheetToolsService } from './tools/tools.service';
|
|
11
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
12
|
+
import { SheetInfo, SpreadsheetActiveSheetChangeEvent, SpreadsheetChangeEvent, SpreadsheetExcelExportEvent, SpreadsheetExcelImportEvent, SpreadsheetMainMenuItem } from './models';
|
|
13
|
+
import * as i0 from "@angular/core";
|
|
14
|
+
/**
|
|
15
|
+
* Represents the [Kendo UI Spreadsheet component for Angular]({% slug overview_spreadsheet %}).
|
|
16
|
+
*/
|
|
17
|
+
export declare class SpreadsheetComponent implements AfterViewInit, OnChanges {
|
|
18
|
+
private ngZone;
|
|
19
|
+
private intl;
|
|
20
|
+
private host;
|
|
21
|
+
private localization;
|
|
22
|
+
private spreadsheetService;
|
|
23
|
+
private toolsService;
|
|
24
|
+
private renderer;
|
|
25
|
+
private formulaBarInputRef;
|
|
26
|
+
private formulaCellInputRef;
|
|
27
|
+
private nameBoxRef;
|
|
28
|
+
dialogContainer: ViewContainerRef;
|
|
29
|
+
hostClass: boolean;
|
|
30
|
+
role: string;
|
|
31
|
+
/**
|
|
32
|
+
* The menu items configuration.
|
|
33
|
+
*/
|
|
34
|
+
set menuItems(items: SpreadsheetMainMenuItem[]);
|
|
35
|
+
get menuItems(): any[];
|
|
36
|
+
/**
|
|
37
|
+
* Sets the overflow option of the built-in Toolbar components.
|
|
38
|
+
* @default false
|
|
39
|
+
*/
|
|
40
|
+
overflow: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* The name of the currently active sheet. Must match one of the sheet names.
|
|
43
|
+
*/
|
|
44
|
+
set activeSheet(value: string);
|
|
45
|
+
get activeSheet(): string;
|
|
46
|
+
/**
|
|
47
|
+
* An array which defines the document sheets and their content.
|
|
48
|
+
*/
|
|
49
|
+
set sheets(value: SheetDescriptor[]);
|
|
50
|
+
get sheetsInfo(): SheetInfo[];
|
|
51
|
+
/**
|
|
52
|
+
* The number of columns in the document.
|
|
53
|
+
*
|
|
54
|
+
* @default 50
|
|
55
|
+
*/
|
|
56
|
+
columns: number;
|
|
57
|
+
/**
|
|
58
|
+
* The initial column width in pixels.
|
|
59
|
+
*
|
|
60
|
+
* @default 64
|
|
61
|
+
*/
|
|
62
|
+
columnWidth: number;
|
|
63
|
+
/**
|
|
64
|
+
* The initial styles applies to the sheet cells.
|
|
65
|
+
*/
|
|
66
|
+
defaultCellStyle: CellDefaultStyle;
|
|
67
|
+
/**
|
|
68
|
+
* The height of the header row in pixels.
|
|
69
|
+
*
|
|
70
|
+
* @default 20
|
|
71
|
+
*/
|
|
72
|
+
headerHeight: number;
|
|
73
|
+
/**
|
|
74
|
+
* The width of the header column in pixels.
|
|
75
|
+
*
|
|
76
|
+
* @default 32
|
|
77
|
+
*/
|
|
78
|
+
headerWidth: number;
|
|
79
|
+
/**
|
|
80
|
+
* The initial row height in pixels.
|
|
81
|
+
*
|
|
82
|
+
* @default 20
|
|
83
|
+
*/
|
|
84
|
+
rowHeight: number;
|
|
85
|
+
/**
|
|
86
|
+
* The number of rows in the document.
|
|
87
|
+
*
|
|
88
|
+
* @default 200
|
|
89
|
+
*/
|
|
90
|
+
rows: number;
|
|
91
|
+
/**
|
|
92
|
+
* An array which holds the names of the sheets.
|
|
93
|
+
*/
|
|
94
|
+
names: {
|
|
95
|
+
localName: string;
|
|
96
|
+
name: string;
|
|
97
|
+
sheet: string;
|
|
98
|
+
value: string;
|
|
99
|
+
}[];
|
|
100
|
+
/**
|
|
101
|
+
* An object containing any images used in the Spreadsheet. The keys should be image IDs (they are referenced by this ID in `sheets.drawings`),
|
|
102
|
+
* 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)
|
|
103
|
+
* (in which case the images are fully contained by the JSON), or external URLs.
|
|
104
|
+
*/
|
|
105
|
+
images: {
|
|
106
|
+
[name: string]: string;
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* Configures the Excel export settings of the Spreadsheet.
|
|
110
|
+
*/
|
|
111
|
+
excel: ExcelExportSettings;
|
|
112
|
+
/**
|
|
113
|
+
* Fired when a value in the Spreadsheet is changed. Exposes the `SpreadsheetWidget` instance and the selected `Range` as event data.
|
|
114
|
+
*/
|
|
115
|
+
change: EventEmitter<SpreadsheetChangeEvent>;
|
|
116
|
+
/**
|
|
117
|
+
* Fired when the selected range format is changed from the UI. Exposes the `SpreadsheetWidget` instance and the selected `Range` as event data.
|
|
118
|
+
*/
|
|
119
|
+
formatChange: EventEmitter<SpreadsheetChangeEvent>;
|
|
120
|
+
/**
|
|
121
|
+
* Fired when the selection is changed by the end user. Exposes the `SpreadsheetWidget` instance and the selected `Range` as event data.
|
|
122
|
+
*/
|
|
123
|
+
selectionChange: EventEmitter<SpreadsheetChangeEvent>;
|
|
124
|
+
/**
|
|
125
|
+
* Fired when the end user clicks the Export to Excel toolbar button.
|
|
126
|
+
* The event is preventable and exposes the `Workbook` object, a `preventDefault` method
|
|
127
|
+
* (if invoked, the generated file will not be saved), and the SpreadsheetWidget instance.
|
|
128
|
+
*/
|
|
129
|
+
excelExport: EventEmitter<SpreadsheetExcelExportEvent>;
|
|
130
|
+
/**
|
|
131
|
+
* Fired when the end user clicks the Open toolbar button.
|
|
132
|
+
* The event is preventable and exposes the selected `File` or `Blob`, a `preventDefault` method
|
|
133
|
+
* (if invoked, the selected file will not be loaded), and the SpreadsheetWidget instance.
|
|
134
|
+
*/
|
|
135
|
+
excelImport: EventEmitter<SpreadsheetExcelImportEvent>;
|
|
136
|
+
/**
|
|
137
|
+
* Fired when the active sheet is about to change.
|
|
138
|
+
* The event exposes the new active `Sheet` and the SpreadsheetWidget instance.
|
|
139
|
+
*/
|
|
140
|
+
activeSheetChange: EventEmitter<SpreadsheetActiveSheetChangeEvent>;
|
|
141
|
+
formulaFxIcon: SVGIcon;
|
|
142
|
+
folderOpenIcon: SVGIcon;
|
|
143
|
+
downloadIcon: SVGIcon;
|
|
144
|
+
selectedMenuItem: any;
|
|
145
|
+
get spreadsheetWidget(): SpreadsheetWidget;
|
|
146
|
+
/**
|
|
147
|
+
* @hidden
|
|
148
|
+
*/
|
|
149
|
+
showLicenseWatermark: boolean;
|
|
150
|
+
private _sheetsInfo;
|
|
151
|
+
private _activeSheet;
|
|
152
|
+
private _menuItems;
|
|
153
|
+
constructor(ngZone: NgZone, intl: IntlService, host: ElementRef, localization: LocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService, renderer: Renderer2);
|
|
154
|
+
ngAfterViewInit(): void;
|
|
155
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
156
|
+
/**
|
|
157
|
+
* @hidden
|
|
158
|
+
*/
|
|
159
|
+
messageFor(key: string): string;
|
|
160
|
+
/**
|
|
161
|
+
* @hidden
|
|
162
|
+
*/
|
|
163
|
+
onMenuItemSelect(e: any): void;
|
|
164
|
+
private onChange;
|
|
165
|
+
private onSelectionChange;
|
|
166
|
+
private onChangeFormat;
|
|
167
|
+
private onExcelExport;
|
|
168
|
+
private onExcelImport;
|
|
169
|
+
private onActiveSheetChanged;
|
|
170
|
+
private updateState;
|
|
171
|
+
private updateActiveSheet;
|
|
172
|
+
private onSheetsChanged;
|
|
173
|
+
private get options();
|
|
174
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetComponent, never>;
|
|
175
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpreadsheetComponent, "kendo-spreadsheet", ["kendo-spreadsheet"], { "menuItems": "menuItems"; "overflow": "overflow"; "activeSheet": "activeSheet"; "sheets": "sheets"; "columns": "columns"; "columnWidth": "columnWidth"; "defaultCellStyle": "defaultCellStyle"; "headerHeight": "headerHeight"; "headerWidth": "headerWidth"; "rowHeight": "rowHeight"; "rows": "rows"; "names": "names"; "images": "images"; "excel": "excel"; }, { "change": "change"; "formatChange": "formatChange"; "selectionChange": "selectionChange"; "excelExport": "excelExport"; "excelImport": "excelImport"; "activeSheetChange": "activeSheetChange"; }, never, never>;
|
|
176
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "./spreadsheet.component";
|
|
7
|
+
import * as i2 from "./localization/messages";
|
|
8
|
+
import * as i3 from "./localization/localized-messages.directive";
|
|
9
|
+
import * as i4 from "./localization/custom-messages.component";
|
|
10
|
+
import * as i5 from "./action-bar/list.component";
|
|
11
|
+
import * as i6 from "./action-bar/formula-input.directive";
|
|
12
|
+
import * as i7 from "./action-bar/namebox.component";
|
|
13
|
+
import * as i8 from "./sheets-bar/sheets-bar.component";
|
|
14
|
+
import * as i9 from "./tools/typographical-emphasis/bold-tool.directive";
|
|
15
|
+
import * as i10 from "./tools/typographical-emphasis/italic-tool.directive";
|
|
16
|
+
import * as i11 from "./tools/typographical-emphasis/underline-tool.directive";
|
|
17
|
+
import * as i12 from "./tools/load-file.component";
|
|
18
|
+
import * as i13 from "./tools/save-file-tool.directive";
|
|
19
|
+
import * as i14 from "./tools/format-tool.directive";
|
|
20
|
+
import * as i15 from "./tools/history/undo-tool";
|
|
21
|
+
import * as i16 from "./tools/history/redo-tool";
|
|
22
|
+
import * as i17 from "./tools/font-family/spreadsheet-fontfamily-tool.component";
|
|
23
|
+
import * as i18 from "./tools/font-size/spreadsheet-fontsize-tool.component";
|
|
24
|
+
import * as i19 from "./tools/colorpicker/spreadsheet-backcolor.component";
|
|
25
|
+
import * as i20 from "./tools/colorpicker/spreadsheet-forecolor.component";
|
|
26
|
+
import * as i21 from "./tools/gridlines-tool.directive";
|
|
27
|
+
import * as i22 from "./tools/tables/add-column-left-button.directive";
|
|
28
|
+
import * as i23 from "./tools/tables/add-column-right-button.directive";
|
|
29
|
+
import * as i24 from "./tools/tables/add-row-above-button.directive";
|
|
30
|
+
import * as i25 from "./tools/tables/add-row-below-button.directive";
|
|
31
|
+
import * as i26 from "./tools/tables/delete-column-button.directive";
|
|
32
|
+
import * as i27 from "./tools/tables/delete-row-button.directive";
|
|
33
|
+
import * as i28 from "./tools/align-tool.directive";
|
|
34
|
+
import * as i29 from "./tools/text-wrap-tool.directive";
|
|
35
|
+
import * as i30 from "./tools/font-family/font-family-dropdownlist.component";
|
|
36
|
+
import * as i31 from "./tools/font-size/font-size-dropdownlist.component";
|
|
37
|
+
import * as i32 from "./tools/shared/dialog-content.component";
|
|
38
|
+
import * as i33 from "./common/main-menu.directive";
|
|
39
|
+
import * as i34 from "./sheets-bar/action-dialog.component";
|
|
40
|
+
import * as i35 from "./sheets-bar/remove.directive";
|
|
41
|
+
import * as i36 from "@angular/common";
|
|
42
|
+
import * as i37 from "@progress/kendo-angular-buttons";
|
|
43
|
+
import * as i38 from "@progress/kendo-angular-dropdowns";
|
|
44
|
+
import * as i39 from "@progress/kendo-angular-dialog";
|
|
45
|
+
import * as i40 from "@progress/kendo-angular-common";
|
|
46
|
+
import * as i41 from "@progress/kendo-angular-icons";
|
|
47
|
+
import * as i42 from "@progress/kendo-angular-intl";
|
|
48
|
+
import * as i43 from "@progress/kendo-angular-menu";
|
|
49
|
+
import * as i44 from "@progress/kendo-angular-popup";
|
|
50
|
+
import * as i45 from "@progress/kendo-angular-layout";
|
|
51
|
+
import * as i46 from "@progress/kendo-angular-toolbar";
|
|
52
|
+
import * as i47 from "@progress/kendo-angular-inputs";
|
|
53
|
+
import * as i48 from "@progress/kendo-angular-label";
|
|
54
|
+
/**
|
|
55
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
56
|
+
* definition for the Spreadsheet component.
|
|
57
|
+
*/
|
|
58
|
+
export declare class SpreadsheetModule {
|
|
59
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetModule, never>;
|
|
60
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SpreadsheetModule, [typeof i1.SpreadsheetComponent, typeof i2.MessagesDirective, typeof i3.LocalizedMessagesDirective, typeof i4.CustomMessagesComponent, typeof i5.FormulaListComponent, typeof i6.FormulaInputDirective, typeof i7.NameBoxComponent, typeof i8.SheetsBarComponent, typeof i9.SpreadsheetBoldDirective, typeof i10.SpreadsheetItalicDirective, typeof i11.SpreadsheetUnderlineDirective, typeof i12.SpreadsheetLoadFileComponent, typeof i13.SpreadsheetSaveFileDirective, typeof i14.SpreadsheetFormatDirective, typeof i15.SpreadsheetUndoDirective, typeof i16.SpreadsheetRedoDirective, typeof i17.SpreadsheetFontFamilyComponent, typeof i18.SpreadsheetFontSizeComponent, typeof i19.SpreadsheetBackColorComponent, typeof i20.SpreadsheetForeColorComponent, typeof i21.SpreadsheetGridLinesDirective, typeof i22.SpreadsheetAddColumnLeftButtonDirective, typeof i23.SpreadsheetAddColumnRightButtonDirective, typeof i24.SpreadsheetAddRowAboveButtonDirective, typeof i25.SpreadsheetAddRowBelowButtonDirective, typeof i26.SpreadsheetDeleteColumnButtonDirective, typeof i27.SpreadsheetDeleteRowButtonDirective, typeof i28.SpreadsheetTextAlignDirective, typeof i29.SpreadsheetTextWrapDirective, typeof i30.FontFamilyDropDownListComponent, typeof i31.FontSizeDropDownListComponent, typeof i32.DialogContentComponent, typeof i33.MainMenuDirective, typeof i34.ActionDialogComponent, typeof i35.RemoveDirective], [typeof i36.CommonModule, typeof i37.ButtonsModule, typeof i38.ComboBoxModule, typeof i38.DropDownListModule, typeof i39.DialogModule, typeof i40.EventsModule, typeof i41.IconsModule, typeof i42.IntlModule, typeof i43.MenuModule, typeof i44.PopupModule, typeof i45.TabStripModule, typeof i46.ToolBarModule, typeof i47.InputsModule, typeof i40.WatermarkModule, typeof i48.LabelModule], [typeof i1.SpreadsheetComponent, typeof i4.CustomMessagesComponent, typeof i9.SpreadsheetBoldDirective, typeof i10.SpreadsheetItalicDirective, typeof i11.SpreadsheetUnderlineDirective, typeof i12.SpreadsheetLoadFileComponent, typeof i13.SpreadsheetSaveFileDirective, typeof i14.SpreadsheetFormatDirective, typeof i15.SpreadsheetUndoDirective, typeof i16.SpreadsheetRedoDirective, typeof i17.SpreadsheetFontFamilyComponent, typeof i18.SpreadsheetFontSizeComponent, typeof i19.SpreadsheetBackColorComponent, typeof i20.SpreadsheetForeColorComponent, typeof i21.SpreadsheetGridLinesDirective, typeof i22.SpreadsheetAddColumnLeftButtonDirective, typeof i23.SpreadsheetAddColumnRightButtonDirective, typeof i24.SpreadsheetAddRowAboveButtonDirective, typeof i25.SpreadsheetAddRowBelowButtonDirective, typeof i26.SpreadsheetDeleteColumnButtonDirective, typeof i27.SpreadsheetDeleteRowButtonDirective, typeof i28.SpreadsheetTextAlignDirective, typeof i29.SpreadsheetTextWrapDirective]>;
|
|
61
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SpreadsheetModule>;
|
|
62
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { SpreadsheetLocalizationService } from '../localization/spreadsheet-localization.service';
|
|
6
|
+
import { SpreadsheetService } from '../common/spreadsheet.service';
|
|
7
|
+
import { ToolBarDropDownButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
8
|
+
import { SpreadsheetToolsService } from './tools.service';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
export declare class SpreadsheetTextAlignDirective {
|
|
14
|
+
private host;
|
|
15
|
+
private spreadsheetService;
|
|
16
|
+
private toolsService;
|
|
17
|
+
private commandName;
|
|
18
|
+
private subs;
|
|
19
|
+
constructor(host: ToolBarDropDownButtonComponent, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService);
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
ngOnDestroy(): void;
|
|
22
|
+
onItemClick(item: any): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetTextAlignDirective, never>;
|
|
24
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetTextAlignDirective, "[kendoSpreadsheetTextAlign]", never, {}, {}, never>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { ToolBarComponent } from '@progress/kendo-angular-toolbar';
|
|
6
|
+
import { SpreadsheetLocalizationService } from '../../localization/spreadsheet-localization.service';
|
|
7
|
+
import { SpreadsheetService } from '../../common/spreadsheet.service';
|
|
8
|
+
import { SpreadsheetToolsService } from '../tools.service';
|
|
9
|
+
import { SpreadsheetDropDownToolBase } from '../shared/spreadsheet-dropdown-tools-base';
|
|
10
|
+
import { DialogService } from '@progress/kendo-angular-dialog';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
/**
|
|
13
|
+
* A component which changes the background color of the text ([more information](ToDo).
|
|
14
|
+
* @hidden
|
|
15
|
+
*/
|
|
16
|
+
export declare class SpreadsheetBackColorComponent extends SpreadsheetDropDownToolBase {
|
|
17
|
+
constructor(dialogService: DialogService, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService, toolbar: ToolBarComponent);
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetBackColorComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpreadsheetBackColorComponent, "kendo-spreadsheet-backcolor-tool", never, {}, {}, never, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { ToolBarComponent } from '@progress/kendo-angular-toolbar';
|
|
6
|
+
import { SpreadsheetLocalizationService } from '../../localization/spreadsheet-localization.service';
|
|
7
|
+
import { SpreadsheetService } from '../../common/spreadsheet.service';
|
|
8
|
+
import { SpreadsheetToolsService } from '../tools.service';
|
|
9
|
+
import { SpreadsheetDropDownToolBase } from '../shared/spreadsheet-dropdown-tools-base';
|
|
10
|
+
import { DialogService } from '@progress/kendo-angular-dialog';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
/**
|
|
13
|
+
* A component which changes the color of the text ([more information](ToDo).
|
|
14
|
+
* @hidden
|
|
15
|
+
*/
|
|
16
|
+
export declare class SpreadsheetForeColorComponent extends SpreadsheetDropDownToolBase {
|
|
17
|
+
constructor(dialogService: DialogService, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService, toolbar: ToolBarComponent);
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetForeColorComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpreadsheetForeColorComponent, "kendo-spreadsheet-forecolor-tool", never, {}, {}, never, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { DropDownListBase } from '../shared/spreadsheet-dropdownlist.base';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* @hidden
|
|
9
|
+
*/
|
|
10
|
+
export declare class FontFamilyDropDownListComponent extends DropDownListBase {
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FontFamilyDropDownListComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FontFamilyDropDownListComponent, "kendo-spreadsheet-fontfamily-dropdownlist", never, {}, {}, never, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { ToolBarComponent } from '@progress/kendo-angular-toolbar';
|
|
6
|
+
import { SpreadsheetLocalizationService } from '../../localization/spreadsheet-localization.service';
|
|
7
|
+
import { SpreadsheetService } from '../../common/spreadsheet.service';
|
|
8
|
+
import { SpreadsheetToolsService } from '../tools.service';
|
|
9
|
+
import { SpreadsheetDropDownToolBase } from '../shared/spreadsheet-dropdown-tools-base';
|
|
10
|
+
import { DialogService } from '@progress/kendo-angular-dialog';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
/**
|
|
13
|
+
* A component which configures an existing `DropDownListComponent` as a Spreadsheet tool
|
|
14
|
+
* ([see example](ToDo).
|
|
15
|
+
* The component associates a `kendo-toolbar-dropdownlist` with a Spreadsheet command that changes the font family of a content block and
|
|
16
|
+
* automatically defines the options of the drop-down list and sets its values ([see example](ToDo).
|
|
17
|
+
*
|
|
18
|
+
* @hidden
|
|
19
|
+
*/
|
|
20
|
+
export declare class SpreadsheetFontFamilyComponent extends SpreadsheetDropDownToolBase {
|
|
21
|
+
constructor(dialogService: DialogService, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService, toolbar: ToolBarComponent);
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetFontFamilyComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpreadsheetFontFamilyComponent, "kendo-toolbar-dropdownlist[kendoSpreadsheetFontFamily]", never, {}, {}, never, never>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { DropDownListBase } from '../shared/spreadsheet-dropdownlist.base';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* @hidden
|
|
9
|
+
*/
|
|
10
|
+
export declare class FontSizeDropDownListComponent extends DropDownListBase {
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FontSizeDropDownListComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FontSizeDropDownListComponent, "kendo-spreadsheet-fontsize-dropdownlist", never, {}, {}, never, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { ToolBarComponent } from '@progress/kendo-angular-toolbar';
|
|
6
|
+
import { SpreadsheetLocalizationService } from '../../localization/spreadsheet-localization.service';
|
|
7
|
+
import { SpreadsheetService } from '../../common/spreadsheet.service';
|
|
8
|
+
import { SpreadsheetToolsService } from '../tools.service';
|
|
9
|
+
import { SpreadsheetDropDownToolBase } from '../shared/spreadsheet-dropdown-tools-base';
|
|
10
|
+
import { DialogService } from '@progress/kendo-angular-dialog';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
/**
|
|
13
|
+
* A component which configures an existing `DropDownListComponent` as a Spreadsheet tool
|
|
14
|
+
* ([see example](ToDo).
|
|
15
|
+
* The component associates a `kendo-toolbar-dropdownlist` with a Spreadsheet command that changes the font size of a content block and
|
|
16
|
+
* automatically defines the options of the drop-down list and sets its values ([see example](ToDo).
|
|
17
|
+
*
|
|
18
|
+
* @hidden
|
|
19
|
+
*/
|
|
20
|
+
export declare class SpreadsheetFontSizeComponent extends SpreadsheetDropDownToolBase {
|
|
21
|
+
constructor(dialogService: DialogService, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService, toolbar: ToolBarComponent);
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetFontSizeComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpreadsheetFontSizeComponent, "kendo-toolbar-dropdownlist[kendoSpreadsheetFontSize]", never, {}, {}, never, never>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { ToolBarDropDownButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
6
|
+
import { SpreadsheetLocalizationService } from '../localization/spreadsheet-localization.service';
|
|
7
|
+
import { SpreadsheetService } from '../common/spreadsheet.service';
|
|
8
|
+
import { SpreadsheetToolsService } from './tools.service';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
export declare class SpreadsheetFormatDirective {
|
|
14
|
+
private host;
|
|
15
|
+
private spreadsheetService;
|
|
16
|
+
private toolsService;
|
|
17
|
+
data: {
|
|
18
|
+
text: string;
|
|
19
|
+
value: string;
|
|
20
|
+
cssClass?: string;
|
|
21
|
+
}[];
|
|
22
|
+
private commandName;
|
|
23
|
+
private subs;
|
|
24
|
+
constructor(host: ToolBarDropDownButtonComponent, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService);
|
|
25
|
+
ngOnInit(): void;
|
|
26
|
+
ngOnDestroy(): void;
|
|
27
|
+
/**
|
|
28
|
+
* @hidden
|
|
29
|
+
*/
|
|
30
|
+
onItemClick: (item: {
|
|
31
|
+
text: string;
|
|
32
|
+
value: string;
|
|
33
|
+
}) => void;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetFormatDirective, never>;
|
|
35
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetFormatDirective, "[kendoSpreadsheetFormat]", never, {}, {}, never>;
|
|
36
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
6
|
+
import { SpreadsheetLocalizationService } from '../localization/spreadsheet-localization.service';
|
|
7
|
+
import { SpreadsheetService } from '../common/spreadsheet.service';
|
|
8
|
+
import { SpreadsheetToolsService } from './tools.service';
|
|
9
|
+
import { SpreadsheetCommandButton } from './shared/spreadsheet-command-button';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
/**
|
|
12
|
+
* @hidden
|
|
13
|
+
*/
|
|
14
|
+
export declare class SpreadsheetGridLinesDirective extends SpreadsheetCommandButton {
|
|
15
|
+
constructor(button: ToolBarButtonComponent, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService);
|
|
16
|
+
protected clickHandler(): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetGridLinesDirective, never>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetGridLinesDirective, "kendo-toolbar-button[kendoSpreadsheetGridLines]", never, {}, {}, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
6
|
+
import { SpreadsheetLocalizationService } from '../../localization/spreadsheet-localization.service';
|
|
7
|
+
import { SpreadsheetService } from '../../common/spreadsheet.service';
|
|
8
|
+
import { SpreadsheetToolsService } from '.././tools.service';
|
|
9
|
+
import { SpreadsheetCommandButton } from '.././shared/spreadsheet-command-button';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
/**
|
|
12
|
+
* @hidden
|
|
13
|
+
*/
|
|
14
|
+
export declare class SpreadsheetRedoDirective extends SpreadsheetCommandButton {
|
|
15
|
+
constructor(button: ToolBarButtonComponent, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService);
|
|
16
|
+
protected clickHandler(): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetRedoDirective, never>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetRedoDirective, "kendo-toolbar-button[kendoSpreadsheetRedo]", never, {}, {}, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
6
|
+
import { SpreadsheetLocalizationService } from '../../localization/spreadsheet-localization.service';
|
|
7
|
+
import { SpreadsheetService } from '../../common/spreadsheet.service';
|
|
8
|
+
import { SpreadsheetToolsService } from '.././tools.service';
|
|
9
|
+
import { SpreadsheetCommandButton } from '.././shared/spreadsheet-command-button';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
/**
|
|
12
|
+
* @hidden
|
|
13
|
+
*/
|
|
14
|
+
export declare class SpreadsheetUndoDirective extends SpreadsheetCommandButton {
|
|
15
|
+
constructor(button: ToolBarButtonComponent, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService);
|
|
16
|
+
protected clickHandler(): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetUndoDirective, never>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetUndoDirective, "kendo-toolbar-button[kendoSpreadsheetUndo]", never, {}, {}, never>;
|
|
19
|
+
}
|
package/tools/index.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export { SpreadsheetBackColorComponent } from './colorpicker/spreadsheet-backcolor.component';
|
|
6
|
+
export { SpreadsheetForeColorComponent } from './colorpicker/spreadsheet-forecolor.component';
|
|
7
|
+
export { SpreadsheetFontFamilyComponent } from './font-family/spreadsheet-fontfamily-tool.component';
|
|
8
|
+
export { SpreadsheetFontSizeComponent } from './font-size/spreadsheet-fontsize-tool.component';
|
|
9
|
+
export { SpreadsheetRedoDirective } from './history/redo-tool';
|
|
10
|
+
export { SpreadsheetUndoDirective } from './history/undo-tool';
|
|
11
|
+
export { SpreadsheetBoldDirective } from './typographical-emphasis/bold-tool.directive';
|
|
12
|
+
export { SpreadsheetItalicDirective } from './typographical-emphasis/italic-tool.directive';
|
|
13
|
+
export { SpreadsheetUnderlineDirective } from './typographical-emphasis/underline-tool.directive';
|
|
14
|
+
export { SpreadsheetTextAlignDirective as SpreadsheetTextAlignComponent } from './align-tool.directive';
|
|
15
|
+
export { SpreadsheetFormatDirective } from './format-tool.directive';
|
|
16
|
+
export { SpreadsheetGridLinesDirective } from './gridlines-tool.directive';
|
|
17
|
+
export { SpreadsheetLoadFileComponent } from './load-file.component';
|
|
18
|
+
export { SpreadsheetSaveFileDirective } from './save-file-tool.directive';
|
|
19
|
+
export { SpreadsheetTextWrapDirective } from './text-wrap-tool.directive';
|
|
20
|
+
export * from './tables';
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { TemplateRef } from '@angular/core';
|
|
6
|
+
import { ToolBarComponent, ToolBarToolComponent } from '@progress/kendo-angular-toolbar';
|
|
7
|
+
import { SpreadsheetService } from '../common/spreadsheet.service';
|
|
8
|
+
import { SpreadsheetLocalizationService } from '../localization/spreadsheet-localization.service';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class SpreadsheetLoadFileComponent extends ToolBarToolComponent {
|
|
11
|
+
private localization;
|
|
12
|
+
private spreadsheetService;
|
|
13
|
+
toolbar: ToolBarComponent;
|
|
14
|
+
toolbarTemplate: TemplateRef<unknown>;
|
|
15
|
+
popupTemplate: TemplateRef<unknown>;
|
|
16
|
+
private overflowButtonElement;
|
|
17
|
+
private button;
|
|
18
|
+
icon: string;
|
|
19
|
+
svgIcon: import("@progress/kendo-svg-icons").SVGIcon;
|
|
20
|
+
tabindex: number;
|
|
21
|
+
constructor(localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolbar: ToolBarComponent);
|
|
22
|
+
/**
|
|
23
|
+
* @hidden
|
|
24
|
+
*/
|
|
25
|
+
messageFor(key: string): string;
|
|
26
|
+
onFileSelect: (e: any) => void;
|
|
27
|
+
/**
|
|
28
|
+
* @hidden
|
|
29
|
+
*/
|
|
30
|
+
canFocus(): boolean;
|
|
31
|
+
/**
|
|
32
|
+
* @hidden
|
|
33
|
+
*/
|
|
34
|
+
focus(): void;
|
|
35
|
+
/**
|
|
36
|
+
* @hidden
|
|
37
|
+
*/
|
|
38
|
+
handleKey(): boolean;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetLoadFileComponent, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpreadsheetLoadFileComponent, "kendo-spreadsheet-load-file-tool", never, {}, {}, never, never>;
|
|
41
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
6
|
+
import { SpreadsheetService } from '../common/spreadsheet.service';
|
|
7
|
+
import { SpreadsheetLocalizationService } from '../localization/spreadsheet-localization.service';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export declare class SpreadsheetSaveFileDirective {
|
|
13
|
+
private button;
|
|
14
|
+
private localization;
|
|
15
|
+
private spreadsheetService;
|
|
16
|
+
private subs;
|
|
17
|
+
constructor(button: ToolBarButtonComponent, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService);
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
ngOnDestroy(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetSaveFileDirective, never>;
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetSaveFileDirective, "[kendoSpreadsheetSaveFile]", never, {}, {}, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 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
|
+
import { SpreadsheetCommand } from './commands';
|
|
7
|
+
/**
|
|
8
|
+
* @hidden
|
|
9
|
+
*/
|
|
10
|
+
export declare const commandIcons: Partial<Record<SpreadsheetCommand, string>>;
|
|
11
|
+
/**
|
|
12
|
+
* @hidden
|
|
13
|
+
*/
|
|
14
|
+
export declare const commandSVGIcons: Partial<Record<SpreadsheetCommand, SVGIcon>>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 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 declare type SpreadsheetCommand = 'bold' | 'italic' | 'underline' | 'alignLeft' | 'alignCenter' | 'alignRight' | 'alignJustify' | 'alignTop' | 'alignMiddle' | 'alignBottom' | 'align' | 'folderOpen' | 'fontFamily' | 'fontSize' | 'undo' | 'redo' | 'color' | 'background' | 'addRowAbove' | 'addRowBelow' | 'deleteRow' | 'deleteColumn' | 'gridLines' | 'addColumnLeft' | 'addColumnRight' | 'wrap' | 'download' | 'format';
|