@progress/kendo-angular-spreadsheet 14.1.1-develop.8 → 14.2.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/esm2020/localization/messages.mjs +21 -1
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/sheets-bar/action-dialog.component.mjs +8 -7
- package/esm2020/spreadsheet.component.mjs +103 -20
- package/esm2020/spreadsheet.module.mjs +48 -10
- package/esm2020/tools/{align-tool.directive.mjs → align/align-tool.directive.mjs} +8 -8
- package/esm2020/tools/align/horizontal-align-tool.directive.mjs +58 -0
- package/esm2020/tools/align/vertical-align-tool.directive.mjs +58 -0
- package/esm2020/tools/decrease-decimal-tool.directive.mjs +40 -0
- package/esm2020/tools/font-family/font-family-dropdownlist.component.mjs +0 -2
- package/esm2020/tools/font-size/decrease-font-tool.directive.mjs +50 -0
- package/esm2020/tools/font-size/increase-font-tool.directive.mjs +50 -0
- package/esm2020/tools/increase-decimal-tool.directive.mjs +40 -0
- package/esm2020/tools/index.mjs +8 -1
- package/esm2020/tools/insert/insert-link-dialog.component.mjs +49 -0
- package/esm2020/tools/insert/insert-link-tool.directive.mjs +91 -0
- package/esm2020/tools/shared/command-icons.mjs +17 -3
- package/fesm2015/progress-kendo-angular-spreadsheet.mjs +490 -31
- package/fesm2020/progress-kendo-angular-spreadsheet.mjs +489 -31
- package/localization/messages.d.ts +41 -1
- package/models/main-menu-item.d.ts +1 -1
- package/package.json +13 -13
- package/schematics/ngAdd/index.js +1 -1
- package/spreadsheet.module.d.ts +23 -15
- package/tools/{align-tool.directive.d.ts → align/align-tool.directive.d.ts} +3 -3
- package/tools/align/horizontal-align-tool.directive.d.ts +25 -0
- package/tools/align/vertical-align-tool.directive.d.ts +25 -0
- package/tools/decrease-decimal-tool.directive.d.ts +19 -0
- package/tools/font-size/decrease-font-tool.directive.d.ts +22 -0
- package/tools/font-size/increase-font-tool.directive.d.ts +22 -0
- package/tools/increase-decimal-tool.directive.d.ts +19 -0
- package/tools/index.d.ts +8 -1
- package/tools/insert/insert-link-dialog.component.d.ts +18 -0
- package/tools/insert/insert-link-tool.directive.d.ts +26 -0
- package/tools/shared/commands.d.ts +1 -1
|
@@ -20,6 +20,10 @@ export declare class MessagesDirective extends ComponentMessages {
|
|
|
20
20
|
* The name of the "Insert" toolbar tab
|
|
21
21
|
*/
|
|
22
22
|
insert: string;
|
|
23
|
+
/**
|
|
24
|
+
* The name of the "Format" toolbar tab
|
|
25
|
+
*/
|
|
26
|
+
formatTab: string;
|
|
23
27
|
/**
|
|
24
28
|
* The title of the Save File tool
|
|
25
29
|
*/
|
|
@@ -104,6 +108,14 @@ export declare class MessagesDirective extends ComponentMessages {
|
|
|
104
108
|
* The title of the Text Align tool
|
|
105
109
|
*/
|
|
106
110
|
align: string;
|
|
111
|
+
/**
|
|
112
|
+
* The title of the Text Align Horizontal tool
|
|
113
|
+
*/
|
|
114
|
+
alignHorizontal: string;
|
|
115
|
+
/**
|
|
116
|
+
* The title of the Text Align Vertical tool
|
|
117
|
+
*/
|
|
118
|
+
alignVertical: string;
|
|
107
119
|
/**
|
|
108
120
|
* The text of the Apply button in all Spreadsheet dialogs
|
|
109
121
|
*/
|
|
@@ -120,6 +132,14 @@ export declare class MessagesDirective extends ComponentMessages {
|
|
|
120
132
|
* The text of the Rename button in the Rename sheet dialog
|
|
121
133
|
*/
|
|
122
134
|
dialogRename: string;
|
|
135
|
+
/**
|
|
136
|
+
* The text of the **Insert** button in all Spreadsheet dialogs
|
|
137
|
+
*/
|
|
138
|
+
dialogInsert: string;
|
|
139
|
+
/**
|
|
140
|
+
* The text of the **Remove link** button in the Link tool dialog
|
|
141
|
+
*/
|
|
142
|
+
dialogRemoveLink: string;
|
|
123
143
|
/**
|
|
124
144
|
* The title of the Delete sheet dialog
|
|
125
145
|
*/
|
|
@@ -148,6 +168,26 @@ export declare class MessagesDirective extends ComponentMessages {
|
|
|
148
168
|
* The title of the Cells Merge tool
|
|
149
169
|
*/
|
|
150
170
|
merge: string;
|
|
171
|
+
/**
|
|
172
|
+
* The title of the tool that inserts a link
|
|
173
|
+
*/
|
|
174
|
+
insertLink: string;
|
|
175
|
+
/**
|
|
176
|
+
* The title of the tool that inserts a link
|
|
177
|
+
*/
|
|
178
|
+
increaseDecimal: string;
|
|
179
|
+
/**
|
|
180
|
+
* The title of the tool that inserts a link
|
|
181
|
+
*/
|
|
182
|
+
decreaseDecimal: string;
|
|
183
|
+
/**
|
|
184
|
+
* The title of the tool that increases the cell font size
|
|
185
|
+
*/
|
|
186
|
+
increaseFontSize: string;
|
|
187
|
+
/**
|
|
188
|
+
* The title of the tool that decreases the cell font size
|
|
189
|
+
*/
|
|
190
|
+
decreaseFontSize: string;
|
|
151
191
|
static ɵfac: i0.ɵɵFactoryDeclaration<MessagesDirective, never>;
|
|
152
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MessagesDirective, "[kendoSpreadsheetMessages]", never, { "home": "home"; "file": "file"; "insert": "insert"; "saveFile": "saveFile"; "loadFile": "loadFile"; "bold": "bold"; "italic": "italic"; "underline": "underline"; "format": "format"; "fontFamily": "fontFamily"; "fontSize": "fontSize"; "undo": "undo"; "redo": "redo"; "background": "background"; "color": "color"; "gridLines": "gridLines"; "addColumnLeft": "addColumnLeft"; "addColumnRight": "addColumnRight"; "addRowBelow": "addRowBelow"; "addRowAbove": "addRowAbove"; "deleteColumn": "deleteColumn"; "deleteRow": "deleteRow"; "wrap": "wrap"; "align": "align"; "dialogApply": "dialogApply"; "dialogCancel": "dialogCancel"; "dialogDelete": "dialogDelete"; "dialogRename": "dialogRename"; "delete": "delete"; "rename": "rename"; "nameBox": "nameBox"; "addSheet": "addSheet"; "sheetsMenu": "sheetsMenu"; "view": "view"; "merge": "merge"; }, {}, never>;
|
|
192
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MessagesDirective, "[kendoSpreadsheetMessages]", never, { "home": "home"; "file": "file"; "insert": "insert"; "formatTab": "formatTab"; "saveFile": "saveFile"; "loadFile": "loadFile"; "bold": "bold"; "italic": "italic"; "underline": "underline"; "format": "format"; "fontFamily": "fontFamily"; "fontSize": "fontSize"; "undo": "undo"; "redo": "redo"; "background": "background"; "color": "color"; "gridLines": "gridLines"; "addColumnLeft": "addColumnLeft"; "addColumnRight": "addColumnRight"; "addRowBelow": "addRowBelow"; "addRowAbove": "addRowAbove"; "deleteColumn": "deleteColumn"; "deleteRow": "deleteRow"; "wrap": "wrap"; "align": "align"; "alignHorizontal": "alignHorizontal"; "alignVertical": "alignVertical"; "dialogApply": "dialogApply"; "dialogCancel": "dialogCancel"; "dialogDelete": "dialogDelete"; "dialogRename": "dialogRename"; "dialogInsert": "dialogInsert"; "dialogRemoveLink": "dialogRemoveLink"; "delete": "delete"; "rename": "rename"; "nameBox": "nameBox"; "addSheet": "addSheet"; "sheetsMenu": "sheetsMenu"; "view": "view"; "merge": "merge"; "insertLink": "insertLink"; "increaseDecimal": "increaseDecimal"; "decreaseDecimal": "decreaseDecimal"; "increaseFontSize": "increaseFontSize"; "decreaseFontSize": "decreaseFontSize"; }, {}, never>;
|
|
153
193
|
}
|
|
@@ -10,7 +10,7 @@ export interface SpreadsheetMainMenuItem {
|
|
|
10
10
|
/**
|
|
11
11
|
* The built-in menu items identifiers.
|
|
12
12
|
*/
|
|
13
|
-
id: 'file' | 'home' | 'insert';
|
|
13
|
+
id: 'file' | 'home' | 'insert' | 'format' | 'view';
|
|
14
14
|
/**
|
|
15
15
|
* Determines whether the menu item is initially active. If no item is set as active, the first one will be active by default.
|
|
16
16
|
* If more than one items are set as active, the first of them will be active.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-spreadsheet",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.2.0-develop.2",
|
|
4
4
|
"description": "A Spreadsheet Component for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -23,22 +23,22 @@
|
|
|
23
23
|
"@angular/core": "13 - 17",
|
|
24
24
|
"@angular/platform-browser": "13 - 17",
|
|
25
25
|
"@progress/kendo-licensing": "^1.0.2",
|
|
26
|
-
"@progress/kendo-angular-buttons": "14.
|
|
27
|
-
"@progress/kendo-angular-common": "14.
|
|
28
|
-
"@progress/kendo-angular-dialog": "14.
|
|
29
|
-
"@progress/kendo-angular-dropdowns": "14.
|
|
30
|
-
"@progress/kendo-angular-icons": "14.
|
|
31
|
-
"@progress/kendo-angular-l10n": "14.
|
|
32
|
-
"@progress/kendo-angular-layout": "14.
|
|
33
|
-
"@progress/kendo-angular-menu": "14.
|
|
34
|
-
"@progress/kendo-angular-popup": "14.
|
|
35
|
-
"@progress/kendo-angular-toolbar": "14.
|
|
36
|
-
"@progress/kendo-angular-intl": "14.
|
|
26
|
+
"@progress/kendo-angular-buttons": "14.2.0-develop.2",
|
|
27
|
+
"@progress/kendo-angular-common": "14.2.0-develop.2",
|
|
28
|
+
"@progress/kendo-angular-dialog": "14.2.0-develop.2",
|
|
29
|
+
"@progress/kendo-angular-dropdowns": "14.2.0-develop.2",
|
|
30
|
+
"@progress/kendo-angular-icons": "14.2.0-develop.2",
|
|
31
|
+
"@progress/kendo-angular-l10n": "14.2.0-develop.2",
|
|
32
|
+
"@progress/kendo-angular-layout": "14.2.0-develop.2",
|
|
33
|
+
"@progress/kendo-angular-menu": "14.2.0-develop.2",
|
|
34
|
+
"@progress/kendo-angular-popup": "14.2.0-develop.2",
|
|
35
|
+
"@progress/kendo-angular-toolbar": "14.2.0-develop.2",
|
|
36
|
+
"@progress/kendo-angular-intl": "14.2.0-develop.2",
|
|
37
37
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"tslib": "^2.3.1",
|
|
41
|
-
"@progress/kendo-angular-schematics": "14.
|
|
41
|
+
"@progress/kendo-angular-schematics": "14.2.0-develop.2",
|
|
42
42
|
"@progress/jszip-esm": "^1.0.3",
|
|
43
43
|
"@progress/kendo-common": "^0.2.2",
|
|
44
44
|
"@progress/kendo-date-math": "^1.5.10",
|
|
@@ -6,7 +6,7 @@ function default_1(options) {
|
|
|
6
6
|
// Peer dependency of icons
|
|
7
7
|
'@progress/kendo-svg-icons': '^2.0.0',
|
|
8
8
|
// peer dep of the dropdowns
|
|
9
|
-
'@progress/kendo-angular-treeview': '14.
|
|
9
|
+
'@progress/kendo-angular-treeview': '14.2.0-develop.2'
|
|
10
10
|
} });
|
|
11
11
|
return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
|
|
12
12
|
}
|
package/spreadsheet.module.d.ts
CHANGED
|
@@ -30,7 +30,7 @@ import * as i24 from "./tools/tables/add-row-above-button.directive";
|
|
|
30
30
|
import * as i25 from "./tools/tables/add-row-below-button.directive";
|
|
31
31
|
import * as i26 from "./tools/tables/delete-column-button.directive";
|
|
32
32
|
import * as i27 from "./tools/tables/delete-row-button.directive";
|
|
33
|
-
import * as i28 from "./tools/align-tool.directive";
|
|
33
|
+
import * as i28 from "./tools/align/align-tool.directive";
|
|
34
34
|
import * as i29 from "./tools/text-wrap-tool.directive";
|
|
35
35
|
import * as i30 from "./tools/font-family/font-family-dropdownlist.component";
|
|
36
36
|
import * as i31 from "./tools/font-size/font-size-dropdownlist.component";
|
|
@@ -38,25 +38,33 @@ import * as i32 from "./tools/shared/dialog-content.component";
|
|
|
38
38
|
import * as i33 from "./common/main-menu.directive";
|
|
39
39
|
import * as i34 from "./sheets-bar/action-dialog.component";
|
|
40
40
|
import * as i35 from "./tools/tables/merge-tool.directive";
|
|
41
|
-
import * as i36 from "
|
|
42
|
-
import * as i37 from "
|
|
43
|
-
import * as i38 from "
|
|
44
|
-
import * as i39 from "
|
|
45
|
-
import * as i40 from "
|
|
46
|
-
import * as i41 from "
|
|
47
|
-
import * as i42 from "
|
|
48
|
-
import * as i43 from "
|
|
49
|
-
import * as i44 from "@
|
|
50
|
-
import * as i45 from "@progress/kendo-angular-
|
|
51
|
-
import * as i46 from "@progress/kendo-angular-
|
|
52
|
-
import * as i47 from "@progress/kendo-angular-
|
|
53
|
-
import * as i48 from "@progress/kendo-angular-
|
|
41
|
+
import * as i36 from "./tools/insert/insert-link-tool.directive";
|
|
42
|
+
import * as i37 from "./tools/insert/insert-link-dialog.component";
|
|
43
|
+
import * as i38 from "./tools/font-size/increase-font-tool.directive";
|
|
44
|
+
import * as i39 from "./tools/font-size/decrease-font-tool.directive";
|
|
45
|
+
import * as i40 from "./tools/increase-decimal-tool.directive";
|
|
46
|
+
import * as i41 from "./tools/decrease-decimal-tool.directive";
|
|
47
|
+
import * as i42 from "./tools/align/horizontal-align-tool.directive";
|
|
48
|
+
import * as i43 from "./tools/align/vertical-align-tool.directive";
|
|
49
|
+
import * as i44 from "@angular/common";
|
|
50
|
+
import * as i45 from "@progress/kendo-angular-buttons";
|
|
51
|
+
import * as i46 from "@progress/kendo-angular-dropdowns";
|
|
52
|
+
import * as i47 from "@progress/kendo-angular-dialog";
|
|
53
|
+
import * as i48 from "@progress/kendo-angular-common";
|
|
54
|
+
import * as i49 from "@progress/kendo-angular-icons";
|
|
55
|
+
import * as i50 from "@progress/kendo-angular-intl";
|
|
56
|
+
import * as i51 from "@progress/kendo-angular-menu";
|
|
57
|
+
import * as i52 from "@progress/kendo-angular-popup";
|
|
58
|
+
import * as i53 from "@progress/kendo-angular-layout";
|
|
59
|
+
import * as i54 from "@progress/kendo-angular-toolbar";
|
|
60
|
+
import * as i55 from "@progress/kendo-angular-inputs";
|
|
61
|
+
import * as i56 from "@progress/kendo-angular-label";
|
|
54
62
|
/**
|
|
55
63
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
56
64
|
* definition for the Spreadsheet component.
|
|
57
65
|
*/
|
|
58
66
|
export declare class SpreadsheetModule {
|
|
59
67
|
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.SpreadsheetMergeDirective], [typeof
|
|
68
|
+
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.SpreadsheetMergeDirective, typeof i36.SpreadsheetInsertLinkDirective, typeof i37.InsertLinkDialogComponent, typeof i38.SpreadsheetIncreaseFontSizeDirective, typeof i39.SpreadsheetDecreaseFontSizeDirective, typeof i40.SpreadsheetIncreaseDecimalDirective, typeof i41.SpreadsheetDecreaseDecimalDirective, typeof i42.SpreadsheetHorizontalTextAlignDirective, typeof i43.SpreadsheetVerticalTextAlignDirective], [typeof i44.CommonModule, typeof i45.ButtonsModule, typeof i46.ComboBoxModule, typeof i46.DropDownListModule, typeof i47.DialogModule, typeof i48.EventsModule, typeof i49.IconsModule, typeof i50.IntlModule, typeof i51.MenuModule, typeof i52.PopupModule, typeof i53.TabStripModule, typeof i54.ToolBarModule, typeof i55.InputsModule, typeof i48.WatermarkModule, typeof i56.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, typeof i35.SpreadsheetMergeDirective, typeof i36.SpreadsheetInsertLinkDirective, typeof i38.SpreadsheetIncreaseFontSizeDirective, typeof i39.SpreadsheetDecreaseFontSizeDirective, typeof i40.SpreadsheetIncreaseDecimalDirective, typeof i41.SpreadsheetDecreaseDecimalDirective, typeof i42.SpreadsheetHorizontalTextAlignDirective, typeof i43.SpreadsheetVerticalTextAlignDirective]>;
|
|
61
69
|
static ɵinj: i0.ɵɵInjectorDeclaration<SpreadsheetModule>;
|
|
62
70
|
}
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* Copyright © 2023 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
|
-
import { SpreadsheetLocalizationService } from '
|
|
6
|
-
import { SpreadsheetService } from '
|
|
5
|
+
import { SpreadsheetLocalizationService } from '../../localization/spreadsheet-localization.service';
|
|
6
|
+
import { SpreadsheetService } from '../../common/spreadsheet.service';
|
|
7
7
|
import { ToolBarDropDownButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
8
|
-
import { SpreadsheetToolsService } from '
|
|
8
|
+
import { SpreadsheetToolsService } from '../tools.service';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
/**
|
|
11
11
|
* @hidden
|
|
@@ -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 SpreadsheetHorizontalTextAlignDirective {
|
|
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<SpreadsheetHorizontalTextAlignDirective, never>;
|
|
24
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetHorizontalTextAlignDirective, "[kendoSpreadsheetHorizontalTextAlign]", never, {}, {}, never>;
|
|
25
|
+
}
|
|
@@ -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 SpreadsheetVerticalTextAlignDirective {
|
|
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<SpreadsheetVerticalTextAlignDirective, never>;
|
|
24
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetVerticalTextAlignDirective, "[kendoSpreadsheetVerticalTextAlign]", never, {}, {}, never>;
|
|
25
|
+
}
|
|
@@ -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 SpreadsheetDecreaseDecimalDirective extends SpreadsheetCommandButton {
|
|
15
|
+
constructor(button: ToolBarButtonComponent, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService);
|
|
16
|
+
protected clickHandler(): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetDecreaseDecimalDirective, never>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetDecreaseDecimalDirective, "kendo-toolbar-button[kendoSpreadsheetDecreaseDecimal]", never, {}, {}, never>;
|
|
19
|
+
}
|
|
@@ -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 { AfterViewInit } from '@angular/core';
|
|
6
|
+
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
7
|
+
import { SpreadsheetLocalizationService } from '../../localization/spreadsheet-localization.service';
|
|
8
|
+
import { SpreadsheetService } from '../../common/spreadsheet.service';
|
|
9
|
+
import { SpreadsheetToolsService } from '../tools.service';
|
|
10
|
+
import { SpreadsheetCommandButton } from '../shared/spreadsheet-command-button';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
/**
|
|
13
|
+
* @hidden
|
|
14
|
+
*/
|
|
15
|
+
export declare class SpreadsheetDecreaseFontSizeDirective extends SpreadsheetCommandButton implements AfterViewInit {
|
|
16
|
+
value: any;
|
|
17
|
+
constructor(button: ToolBarButtonComponent, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService);
|
|
18
|
+
protected clickHandler(): void;
|
|
19
|
+
ngAfterViewInit(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetDecreaseFontSizeDirective, never>;
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetDecreaseFontSizeDirective, "kendo-toolbar-button[kendoSpreadsheetDecreaseFontSize]", never, {}, {}, never>;
|
|
22
|
+
}
|
|
@@ -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 { AfterViewInit } from '@angular/core';
|
|
6
|
+
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
7
|
+
import { SpreadsheetLocalizationService } from '../../localization/spreadsheet-localization.service';
|
|
8
|
+
import { SpreadsheetService } from '../../common/spreadsheet.service';
|
|
9
|
+
import { SpreadsheetToolsService } from '../tools.service';
|
|
10
|
+
import { SpreadsheetCommandButton } from '../shared/spreadsheet-command-button';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
/**
|
|
13
|
+
* @hidden
|
|
14
|
+
*/
|
|
15
|
+
export declare class SpreadsheetIncreaseFontSizeDirective extends SpreadsheetCommandButton implements AfterViewInit {
|
|
16
|
+
value: any;
|
|
17
|
+
constructor(button: ToolBarButtonComponent, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService);
|
|
18
|
+
protected clickHandler(): void;
|
|
19
|
+
ngAfterViewInit(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetIncreaseFontSizeDirective, never>;
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetIncreaseFontSizeDirective, "kendo-toolbar-button[kendoSpreadsheetIncreaseFontSize]", never, {}, {}, never>;
|
|
22
|
+
}
|
|
@@ -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 SpreadsheetIncreaseDecimalDirective extends SpreadsheetCommandButton {
|
|
15
|
+
constructor(button: ToolBarButtonComponent, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService);
|
|
16
|
+
protected clickHandler(): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetIncreaseDecimalDirective, never>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetIncreaseDecimalDirective, "kendo-toolbar-button[kendoSpreadsheetIncreaseDecimal]", never, {}, {}, never>;
|
|
19
|
+
}
|
package/tools/index.d.ts
CHANGED
|
@@ -11,10 +11,17 @@ export { SpreadsheetUndoDirective } from './history/undo-tool';
|
|
|
11
11
|
export { SpreadsheetBoldDirective } from './typographical-emphasis/bold-tool.directive';
|
|
12
12
|
export { SpreadsheetItalicDirective } from './typographical-emphasis/italic-tool.directive';
|
|
13
13
|
export { SpreadsheetUnderlineDirective } from './typographical-emphasis/underline-tool.directive';
|
|
14
|
-
export { SpreadsheetTextAlignDirective } from './align-tool.directive';
|
|
14
|
+
export { SpreadsheetTextAlignDirective } from './align/align-tool.directive';
|
|
15
15
|
export { SpreadsheetFormatDirective } from './format-tool.directive';
|
|
16
16
|
export { SpreadsheetGridLinesDirective } from './gridlines-tool.directive';
|
|
17
17
|
export { SpreadsheetLoadFileComponent } from './load-file.component';
|
|
18
18
|
export { SpreadsheetSaveFileDirective } from './save-file-tool.directive';
|
|
19
19
|
export { SpreadsheetTextWrapDirective } from './text-wrap-tool.directive';
|
|
20
|
+
export { SpreadsheetInsertLinkDirective } from './insert/insert-link-tool.directive';
|
|
21
|
+
export { SpreadsheetIncreaseFontSizeDirective } from './font-size/increase-font-tool.directive';
|
|
22
|
+
export { SpreadsheetDecreaseFontSizeDirective } from './font-size/decrease-font-tool.directive';
|
|
23
|
+
export { SpreadsheetIncreaseDecimalDirective } from './increase-decimal-tool.directive';
|
|
24
|
+
export { SpreadsheetDecreaseDecimalDirective } from './decrease-decimal-tool.directive';
|
|
25
|
+
export { SpreadsheetHorizontalTextAlignDirective } from './align/horizontal-align-tool.directive';
|
|
26
|
+
export { SpreadsheetVerticalTextAlignDirective } from './align/vertical-align-tool.directive';
|
|
20
27
|
export * from './tables';
|
|
@@ -0,0 +1,18 @@
|
|
|
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 { DialogRef, DialogContentBase } from '@progress/kendo-angular-dialog';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* @hidden
|
|
9
|
+
*/
|
|
10
|
+
export declare class InsertLinkDialogComponent extends DialogContentBase {
|
|
11
|
+
dialog: DialogRef;
|
|
12
|
+
urlLink: string;
|
|
13
|
+
title: string;
|
|
14
|
+
constructor(dialog: DialogRef);
|
|
15
|
+
setData(args: any): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InsertLinkDialogComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InsertLinkDialogComponent, "ng-component", never, {}, {}, never, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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 { DialogService } from '@progress/kendo-angular-dialog';
|
|
6
|
+
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
7
|
+
import { SpreadsheetLocalizationService } from '../../localization/spreadsheet-localization.service';
|
|
8
|
+
import { SpreadsheetService } from '../../common/spreadsheet.service';
|
|
9
|
+
import { SpreadsheetToolsService } from '../tools.service';
|
|
10
|
+
import { SpreadsheetCommandButton } from '../shared/spreadsheet-command-button';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
/**
|
|
13
|
+
* @hidden
|
|
14
|
+
*/
|
|
15
|
+
export declare class SpreadsheetInsertLinkDirective extends SpreadsheetCommandButton {
|
|
16
|
+
private dialogService;
|
|
17
|
+
private currentRange;
|
|
18
|
+
constructor(button: ToolBarButtonComponent, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService, dialogService: DialogService);
|
|
19
|
+
protected clickHandler(): void;
|
|
20
|
+
/**
|
|
21
|
+
* @hidden
|
|
22
|
+
*/
|
|
23
|
+
openDialog(): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetInsertLinkDirective, never>;
|
|
25
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetInsertLinkDirective, "kendo-toolbar-button[kendoSpreadsheetInsertLink]", never, {}, {}, never>;
|
|
26
|
+
}
|
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @hidden
|
|
7
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' | 'merge' | 'mergeAll' | 'mergeHorizontally' | 'mergeVertically' | 'unmerge';
|
|
8
|
+
export declare 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';
|