@progress/kendo-angular-spreadsheet 14.2.1-develop.1 → 14.3.0-develop.10

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 (33) hide show
  1. package/action-bar/formula-input.directive.d.ts +2 -1
  2. package/action-bar/list.component.d.ts +2 -1
  3. package/common/spreadsheet.service.d.ts +1 -0
  4. package/esm2020/action-bar/formula-input.directive.mjs +22 -2
  5. package/esm2020/action-bar/list.component.mjs +7 -1
  6. package/esm2020/common/error-handling.service.mjs +14 -1
  7. package/esm2020/common/spreadsheet.service.mjs +1 -0
  8. package/esm2020/localization/messages.mjs +29 -1
  9. package/esm2020/package-metadata.mjs +2 -2
  10. package/esm2020/sheets-bar/action-dialog.component.mjs +1 -1
  11. package/esm2020/sheets-bar/sheets-bar.component.mjs +136 -59
  12. package/esm2020/sheets-bar/utils.mjs +22 -18
  13. package/esm2020/spreadsheet.component.mjs +397 -55
  14. package/esm2020/spreadsheet.module.mjs +4 -4
  15. package/esm2020/tools/align/horizontal-align-tool.directive.mjs +1 -3
  16. package/esm2020/tools/align/vertical-align-tool.directive.mjs +1 -3
  17. package/esm2020/tools/insert/insert-link-dialog.component.mjs +1 -1
  18. package/esm2020/tools/insert/insert-link-tool.directive.mjs +4 -1
  19. package/esm2020/tools/shared/command-icons.mjs +17 -3
  20. package/esm2020/utils.mjs +6 -1
  21. package/fesm2015/progress-kendo-angular-spreadsheet.mjs +644 -150
  22. package/fesm2020/progress-kendo-angular-spreadsheet.mjs +659 -158
  23. package/localization/messages.d.ts +64 -1
  24. package/models/sheet-info.d.ts +1 -0
  25. package/package.json +15 -15
  26. package/schematics/ngAdd/index.js +1 -1
  27. package/sheets-bar/sheets-bar.component.d.ts +6 -3
  28. package/sheets-bar/utils.d.ts +1 -1
  29. package/spreadsheet.component.d.ts +31 -5
  30. package/spreadsheet.module.d.ts +1 -1
  31. package/tools/insert/insert-link-tool.directive.d.ts +1 -0
  32. package/tools/shared/commands.d.ts +1 -1
  33. package/utils.d.ts +4 -0
@@ -260,6 +260,69 @@ export declare class MessagesDirective extends ComponentMessages {
260
260
  * The content of the dialog that warns about duplicated sheet name
261
261
  */
262
262
  duplicateSheetName: string;
263
+ /**
264
+ * The Copy command text
265
+ */
266
+ copy: string;
267
+ /**
268
+ * The Cut command text
269
+ */
270
+ cut: string;
271
+ /**
272
+ * The Paste command text
273
+ */
274
+ paste: string;
275
+ /**
276
+ * The Hide row command text
277
+ */
278
+ hideRow: string;
279
+ /**
280
+ * The Unhide row command text
281
+ */
282
+ unhideRow: string;
283
+ /**
284
+ * The Hide column command text
285
+ */
286
+ hideColumn: string;
287
+ /**
288
+ * The Unhide column command text
289
+ */
290
+ unhideColumn: string;
291
+ /**
292
+ * The text of the Sheet menu Delete option
293
+ */
294
+ sheetDelete: string;
295
+ /**
296
+ * The text of the Sheet menu Rename option
297
+ */
298
+ sheetRename: string;
299
+ /**
300
+ * The text of the Sheet menu Hide option
301
+ */
302
+ sheetHide: string;
303
+ /**
304
+ * The text of the Sheet menu Duplicate option
305
+ */
306
+ sheetDuplicate: string;
307
+ /**
308
+ * The text of the Sheet menu Move Left option
309
+ */
310
+ sheetMoveLeft: string;
311
+ /**
312
+ * The text of the Sheet menu Move Right option
313
+ */
314
+ sheetMoveRight: string;
315
+ /**
316
+ * The content of the dialog that warns about invalid name input.
317
+ *
318
+ * The content consists of a two-part message - the input value and a localizable string.
319
+ * For user value input **A1%**, the default dialog content will be **Invalid name: A1%**.
320
+ *
321
+ * To allow reordering the input value and the localizable part, the `invalidNameError` accepts a string with a
322
+ * placeholder for the input value, for example, **{inputValue} is invalid**. The `{inputValue}` placeholder will be replaced
323
+ * internally with the current value, and the resulting label will be rendered as **A1% is invalid**.
324
+ */
325
+ invalidNameError: string;
263
326
  static ɵfac: i0.ɵɵFactoryDeclaration<MessagesDirective, never>;
264
- 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"; "alignLeft": "alignLeft"; "alignCenter": "alignCenter"; "alignRight": "alignRight"; "alignJustify": "alignJustify"; "alignTop": "alignTop"; "alignMiddle": "alignMiddle"; "alignBottom": "alignBottom"; "dialogApply": "dialogApply"; "dialogCancel": "dialogCancel"; "dialogDelete": "dialogDelete"; "dialogRename": "dialogRename"; "dialogInsert": "dialogInsert"; "dialogRemoveLink": "dialogRemoveLink"; "delete": "delete"; "rename": "rename"; "nameBox": "nameBox"; "formulaInput": "formulaInput"; "addSheet": "addSheet"; "sheetsMenu": "sheetsMenu"; "view": "view"; "merge": "merge"; "mergeHorizontally": "mergeHorizontally"; "mergeVertically": "mergeVertically"; "mergeAll": "mergeAll"; "unmerge": "unmerge"; "insertLink": "insertLink"; "increaseDecimal": "increaseDecimal"; "decreaseDecimal": "decreaseDecimal"; "increaseFontSize": "increaseFontSize"; "decreaseFontSize": "decreaseFontSize"; "openUnsupported": "openUnsupported"; "modifyMerged": "modifyMerged"; "cannotModifyDisabled": "cannotModifyDisabled"; "dialogOk": "dialogOk"; "dialogError": "dialogError"; "duplicateSheetName": "duplicateSheetName"; }, {}, never>;
327
+ 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"; "alignLeft": "alignLeft"; "alignCenter": "alignCenter"; "alignRight": "alignRight"; "alignJustify": "alignJustify"; "alignTop": "alignTop"; "alignMiddle": "alignMiddle"; "alignBottom": "alignBottom"; "dialogApply": "dialogApply"; "dialogCancel": "dialogCancel"; "dialogDelete": "dialogDelete"; "dialogRename": "dialogRename"; "dialogInsert": "dialogInsert"; "dialogRemoveLink": "dialogRemoveLink"; "delete": "delete"; "rename": "rename"; "nameBox": "nameBox"; "formulaInput": "formulaInput"; "addSheet": "addSheet"; "sheetsMenu": "sheetsMenu"; "view": "view"; "merge": "merge"; "mergeHorizontally": "mergeHorizontally"; "mergeVertically": "mergeVertically"; "mergeAll": "mergeAll"; "unmerge": "unmerge"; "insertLink": "insertLink"; "increaseDecimal": "increaseDecimal"; "decreaseDecimal": "decreaseDecimal"; "increaseFontSize": "increaseFontSize"; "decreaseFontSize": "decreaseFontSize"; "openUnsupported": "openUnsupported"; "modifyMerged": "modifyMerged"; "cannotModifyDisabled": "cannotModifyDisabled"; "dialogOk": "dialogOk"; "dialogError": "dialogError"; "duplicateSheetName": "duplicateSheetName"; "copy": "copy"; "cut": "cut"; "paste": "paste"; "hideRow": "hideRow"; "unhideRow": "unhideRow"; "hideColumn": "hideColumn"; "unhideColumn": "unhideColumn"; "sheetDelete": "sheetDelete"; "sheetRename": "sheetRename"; "sheetHide": "sheetHide"; "sheetDuplicate": "sheetDuplicate"; "sheetMoveLeft": "sheetMoveLeft"; "sheetMoveRight": "sheetMoveRight"; "invalidNameError": "invalidNameError"; }, {}, never>;
265
328
  }
@@ -10,6 +10,7 @@ import { ListItemModel } from '@progress/kendo-angular-buttons';
10
10
  export declare type SheetAction = ListItemModel & {
11
11
  commandName: string;
12
12
  dialogButton?: string;
13
+ messageKey?: string;
13
14
  };
14
15
  /**
15
16
  * @hidden
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-spreadsheet",
3
- "version": "14.2.1-develop.1",
3
+ "version": "14.3.0-develop.10",
4
4
  "description": "A Spreadsheet Component for Angular",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -23,29 +23,29 @@
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.2.1-develop.1",
27
- "@progress/kendo-angular-common": "14.2.1-develop.1",
28
- "@progress/kendo-angular-dialog": "14.2.1-develop.1",
29
- "@progress/kendo-angular-dropdowns": "14.2.1-develop.1",
30
- "@progress/kendo-angular-icons": "14.2.1-develop.1",
31
- "@progress/kendo-angular-l10n": "14.2.1-develop.1",
32
- "@progress/kendo-angular-layout": "14.2.1-develop.1",
33
- "@progress/kendo-angular-menu": "14.2.1-develop.1",
34
- "@progress/kendo-angular-popup": "14.2.1-develop.1",
35
- "@progress/kendo-angular-toolbar": "14.2.1-develop.1",
36
- "@progress/kendo-angular-intl": "14.2.1-develop.1",
26
+ "@progress/kendo-angular-buttons": "14.3.0-develop.10",
27
+ "@progress/kendo-angular-common": "14.3.0-develop.10",
28
+ "@progress/kendo-angular-dialog": "14.3.0-develop.10",
29
+ "@progress/kendo-angular-dropdowns": "14.3.0-develop.10",
30
+ "@progress/kendo-angular-icons": "14.3.0-develop.10",
31
+ "@progress/kendo-angular-l10n": "14.3.0-develop.10",
32
+ "@progress/kendo-angular-layout": "14.3.0-develop.10",
33
+ "@progress/kendo-angular-menu": "14.3.0-develop.10",
34
+ "@progress/kendo-angular-popup": "14.3.0-develop.10",
35
+ "@progress/kendo-angular-toolbar": "14.3.0-develop.10",
36
+ "@progress/kendo-angular-intl": "14.3.0-develop.10",
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.2.1-develop.1",
41
+ "@progress/kendo-angular-schematics": "14.3.0-develop.10",
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",
45
45
  "@progress/kendo-drawing": "^1.17.5",
46
46
  "@progress/kendo-file-saver": "^1.1.1",
47
- "@progress/kendo-ooxml": "^1.7.0",
48
- "@progress/kendo-spreadsheet-common": "^1.0.1"
47
+ "@progress/kendo-ooxml": "^1.8.0",
48
+ "@progress/kendo-spreadsheet-common": "^1.1.0"
49
49
  },
50
50
  "schematics": "./schematics/collection.json",
51
51
  "module": "fesm2015/progress-kendo-angular-spreadsheet.mjs",
@@ -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.2.1-develop.1'
9
+ '@progress/kendo-angular-treeview': '14.3.0-develop.10'
10
10
  } });
11
11
  return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
12
12
  }
@@ -2,7 +2,7 @@
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 { AfterViewInit, ElementRef, NgZone, OnDestroy, QueryList, Renderer2 } from '@angular/core';
5
+ import { AfterViewInit, ElementRef, NgZone, OnDestroy, QueryList, Renderer2, SimpleChanges } from '@angular/core';
6
6
  import { SVGIcon } from '@progress/kendo-svg-icons';
7
7
  import { SheetInfo } from '../models/sheet-info';
8
8
  import { SpreadsheetService } from '../common/spreadsheet.service';
@@ -26,6 +26,7 @@ export declare class SheetsBarComponent implements AfterViewInit, OnDestroy {
26
26
  hostClasses: boolean;
27
27
  sheets: SheetInfo[];
28
28
  sheetDescriptors: SheetDescriptor[];
29
+ private subs;
29
30
  constructor(spreadsheetService: SpreadsheetService, element: ElementRef, renderer: Renderer2, localization: SpreadsheetLocalizationService, dialogService: DialogService, ngZone: NgZone);
30
31
  addButton: ButtonComponent;
31
32
  menuButton: DropDownButtonComponent;
@@ -39,12 +40,14 @@ export declare class SheetsBarComponent implements AfterViewInit, OnDestroy {
39
40
  caretAltLeftIcon: SVGIcon;
40
41
  caretAltRightIcon: SVGIcon;
41
42
  selected: boolean;
43
+ sheetsMenuList: any[];
42
44
  private openedDdb;
43
- private eyeIcon;
44
45
  private tabListSub;
45
- get sheetsMenuList(): any[];
46
+ private hiddenStateIcons;
47
+ private hiddenStateSVGIcons;
46
48
  get tablistId(): string;
47
49
  ngAfterViewInit(): void;
50
+ ngOnChanges(changes: SimpleChanges): void;
48
51
  ngOnDestroy(): void;
49
52
  onAddClick: () => void;
50
53
  onTabSelect(ev: SelectEvent): void;
@@ -7,4 +7,4 @@ import { SheetAction, SheetInfo } from '../models';
7
7
  /**
8
8
  * @hidden
9
9
  */
10
- export declare const getSheetActions: (index: number, items: SheetDescriptor[] | SheetInfo[]) => SheetAction[];
10
+ export declare const getSheetActions: (items: SheetDescriptor[] | SheetInfo[], item?: SheetDescriptor) => SheetAction[];
@@ -11,6 +11,8 @@ import { SpreadsheetToolsService } from './tools/tools.service';
11
11
  import { LocalizationService } from '@progress/kendo-angular-l10n';
12
12
  import { SheetInfo, SpreadsheetActiveSheetChangeEvent, SpreadsheetChangeEvent, SpreadsheetExcelExportEvent, SpreadsheetExcelImportEvent, SpreadsheetMainMenuItem } from './models';
13
13
  import { ErrorHandlingService } from './common/error-handling.service';
14
+ import { ContextMenuSelectEvent, MenuItem } from '@progress/kendo-angular-menu';
15
+ import { DialogService } from '@progress/kendo-angular-dialog';
14
16
  import * as i0 from "@angular/core";
15
17
  /**
16
18
  * Represents the [Kendo UI Spreadsheet component for Angular]({% slug overview_spreadsheet %}).
@@ -23,10 +25,12 @@ export declare class SpreadsheetComponent implements AfterViewInit, OnChanges {
23
25
  private spreadsheetService;
24
26
  private toolsService;
25
27
  private errorService;
28
+ private dialogService;
26
29
  private formulaBarInputRef;
27
30
  private formulaCellInputRef;
28
31
  private nameBoxRef;
29
32
  dialogContainer: ViewContainerRef;
33
+ private contextMenu;
30
34
  hostClass: boolean;
31
35
  role: string;
32
36
  /**
@@ -39,6 +43,13 @@ export declare class SpreadsheetComponent implements AfterViewInit, OnChanges {
39
43
  * @default false
40
44
  */
41
45
  overflow: boolean;
46
+ /**
47
+ * Sets the height of the formula list container.
48
+ * Accepts same values as the CSS [`style.height`](https://developer.mozilla.org/en-US/docs/Web/CSS/height) property.
49
+ *
50
+ * @default '300px'
51
+ */
52
+ formulaListMaxHeight: string;
42
53
  /**
43
54
  * The name of the currently active sheet. Must match one of the sheet names.
44
55
  */
@@ -135,16 +146,29 @@ export declare class SpreadsheetComponent implements AfterViewInit, OnChanges {
135
146
  downloadIcon: SVGIcon;
136
147
  selectedMenuItem: any;
137
148
  get spreadsheetWidget(): SpreadsheetWidget;
138
- /**
139
- * @hidden
140
- */
141
149
  showLicenseWatermark: boolean;
150
+ contextMenuItems: MenuItem[];
142
151
  private _sheetsInfo;
143
152
  private _activeSheet;
144
153
  private _menuItems;
145
- constructor(ngZone: NgZone, intl: IntlService, host: ElementRef, localization: LocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService, errorService: ErrorHandlingService);
154
+ private currentRange;
155
+ private subs;
156
+ constructor(ngZone: NgZone, intl: IntlService, host: ElementRef, localization: LocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService, errorService: ErrorHandlingService, dialogService: DialogService);
146
157
  ngAfterViewInit(): void;
147
158
  ngOnChanges(changes: SimpleChanges): void;
159
+ ngOnDestroy(): void;
160
+ /**
161
+ * @hidden
162
+ */
163
+ onContextMenu(e: any): void;
164
+ /**
165
+ * @hidden
166
+ */
167
+ onContextMenuSelect(e: ContextMenuSelectEvent): void;
168
+ /**
169
+ * @hidden
170
+ */
171
+ onKeyDown: (e: KeyboardEvent) => void;
148
172
  /**
149
173
  * @hidden
150
174
  */
@@ -164,6 +188,8 @@ export declare class SpreadsheetComponent implements AfterViewInit, OnChanges {
164
188
  private updateActiveSheet;
165
189
  private onSheetsChanged;
166
190
  private get options();
191
+ private contextMenuItemsForTarget;
192
+ private openLinkDialog;
167
193
  static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetComponent, never>;
168
- 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"; "images": "images"; "excel": "excel"; }, { "change": "change"; "formatChange": "formatChange"; "selectionChange": "selectionChange"; "excelExport": "excelExport"; "excelImport": "excelImport"; "activeSheetChange": "activeSheetChange"; }, never, never>;
194
+ static ɵcmp: i0.ɵɵComponentDeclaration<SpreadsheetComponent, "kendo-spreadsheet", ["kendo-spreadsheet"], { "menuItems": "menuItems"; "overflow": "overflow"; "formulaListMaxHeight": "formulaListMaxHeight"; "activeSheet": "activeSheet"; "sheets": "sheets"; "columns": "columns"; "columnWidth": "columnWidth"; "defaultCellStyle": "defaultCellStyle"; "headerHeight": "headerHeight"; "headerWidth": "headerWidth"; "rowHeight": "rowHeight"; "rows": "rows"; "images": "images"; "excel": "excel"; }, { "change": "change"; "formatChange": "formatChange"; "selectionChange": "selectionChange"; "excelExport": "excelExport"; "excelImport": "excelImport"; "activeSheetChange": "activeSheetChange"; }, never, never>;
169
195
  }
@@ -65,6 +65,6 @@ import * as i56 from "@progress/kendo-angular-label";
65
65
  */
66
66
  export declare class SpreadsheetModule {
67
67
  static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetModule, never>;
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]>;
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.MenusModule, 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]>;
69
69
  static ɵinj: i0.ɵɵInjectorDeclaration<SpreadsheetModule>;
70
70
  }
@@ -16,6 +16,7 @@ export declare class SpreadsheetInsertLinkDirective extends SpreadsheetCommandBu
16
16
  private dialogService;
17
17
  private currentRange;
18
18
  constructor(button: ToolBarButtonComponent, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService, dialogService: DialogService);
19
+ ngOnDestroy(): void;
19
20
  protected clickHandler(): void;
20
21
  /**
21
22
  * @hidden
@@ -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' | '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';
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' | 'copy' | 'cut' | 'paste' | 'hideRow' | 'unhideRow' | 'hideColumn' | 'unhideColumn';
package/utils.d.ts CHANGED
@@ -7,3 +7,7 @@ import { Sheet, SheetDescriptor } from '@progress/kendo-spreadsheet-common';
7
7
  * @hidden
8
8
  */
9
9
  export declare const mapToSheetDescriptor: (sheetsArray: Sheet[]) => SheetDescriptor[];
10
+ /**
11
+ * @hidden
12
+ */
13
+ export declare const replaceMessagePlaceholder: (message: string, name: string, value: string) => string;