@progress/kendo-angular-spreadsheet 14.2.0-develop.5 → 14.2.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.
@@ -11,7 +11,7 @@ import * as i0 from "@angular/core";
11
11
  export class MessagesDirective extends ComponentMessages {
12
12
  }
13
13
  MessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MessagesDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
14
- MessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: MessagesDirective, selector: "[kendoSpreadsheetMessages]", inputs: { 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", openUnsupported: "openUnsupported", modifyMerged: "modifyMerged", cannotModifyDisabled: "cannotModifyDisabled", dialogOk: "dialogOk", dialogError: "dialogError", duplicateSheetName: "duplicateSheetName" }, usesInheritance: true, ngImport: i0 });
14
+ MessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: MessagesDirective, selector: "[kendoSpreadsheetMessages]", inputs: { 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", 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" }, usesInheritance: true, ngImport: i0 });
15
15
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MessagesDirective, decorators: [{
16
16
  type: Directive,
17
17
  args: [{
@@ -71,6 +71,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
71
71
  type: Input
72
72
  }], alignVertical: [{
73
73
  type: Input
74
+ }], alignLeft: [{
75
+ type: Input
76
+ }], alignCenter: [{
77
+ type: Input
78
+ }], alignRight: [{
79
+ type: Input
80
+ }], alignJustify: [{
81
+ type: Input
82
+ }], alignTop: [{
83
+ type: Input
84
+ }], alignMiddle: [{
85
+ type: Input
86
+ }], alignBottom: [{
87
+ type: Input
74
88
  }], dialogApply: [{
75
89
  type: Input
76
90
  }], dialogCancel: [{
@@ -97,6 +111,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
97
111
  type: Input
98
112
  }], merge: [{
99
113
  type: Input
114
+ }], mergeHorizontally: [{
115
+ type: Input
116
+ }], mergeVertically: [{
117
+ type: Input
118
+ }], mergeAll: [{
119
+ type: Input
120
+ }], unmerge: [{
121
+ type: Input
100
122
  }], insertLink: [{
101
123
  type: Input
102
124
  }], increaseDecimal: [{
@@ -9,7 +9,7 @@ export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-spreadsheet',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1700836865,
13
- version: '14.2.0-develop.5',
12
+ publishDate: 1701093052,
13
+ version: '14.2.0-develop.6',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning',
15
15
  };
@@ -443,8 +443,30 @@ SpreadsheetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
443
443
  alignHorizontal="Align horizontally"
444
444
  i18n-alignVertical="kendo.spreadsheet.alignVertical|The title of the Text Align Vertical tool."
445
445
  alignVertical="Align vertically"
446
+ i18n-alignLeft="kendo.spreadsheet.alignLeft|The title of the Text Align Left tool."
447
+ alignLeft="Align Left"
448
+ i18n-alignCenter="kendo.spreadsheet.alignCenter|The title of the Text Align Center tool."
449
+ alignCenter="Align Center"
450
+ i18n-alignRight="kendo.spreadsheet.alignRight|The title of the Text Align Right tool."
451
+ alignRight="Align Right"
452
+ i18n-alignJustify="kendo.spreadsheet.alignJustify|The title of the Text Align Justify tool."
453
+ alignJustify="Align Justify"
454
+ i18n-alignTop="kendo.spreadsheet.alignTop|The title of the Text Align Top tool."
455
+ alignTop="Align Top"
456
+ i18n-alignMiddle="kendo.spreadsheet.alignMiddle|The title of the Text Align Middle tool."
457
+ alignMiddle="Align Middle"
458
+ i18n-alignBottom="kendo.spreadsheet.alignBottom|The title of the Text Align Bottom tool."
459
+ alignBottom="Align Bottom"
446
460
  i18n-merge="kendo.spreadsheet.merge|The title of the Cells Merge tool."
447
461
  merge="Merge"
462
+ i18n-mergeAll="kendo.spreadsheet.mergeAll|The title of the Merge all tool."
463
+ mergeAll="Merge all"
464
+ i18n-mergeHorizontally="kendo.spreadsheet.mergeHorizontally|The title of the Merge horizontally tool."
465
+ mergeHorizontally="Merge horizontally"
466
+ i18n-mergeVertically="kendo.spreadsheet.mergeVertically|The title of the Merge vertically tool."
467
+ mergeVertically="Merge vertically"
468
+ i18n-unmerge="kendo.spreadsheet.unmerge|The title of the Unmerge tool."
469
+ unmerge="Unmerge"
448
470
  i18n-insertLink="kendo.spreadsheet.insertLink|The title of the tool that inserts a link."
449
471
  insertLink="Insert link"
450
472
  i18n-decreaseDecimal="kendo.spreadsheet.decreaseDecimal|The title of the tool that decreases decimals."
@@ -668,8 +690,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
668
690
  alignHorizontal="Align horizontally"
669
691
  i18n-alignVertical="kendo.spreadsheet.alignVertical|The title of the Text Align Vertical tool."
670
692
  alignVertical="Align vertically"
693
+ i18n-alignLeft="kendo.spreadsheet.alignLeft|The title of the Text Align Left tool."
694
+ alignLeft="Align Left"
695
+ i18n-alignCenter="kendo.spreadsheet.alignCenter|The title of the Text Align Center tool."
696
+ alignCenter="Align Center"
697
+ i18n-alignRight="kendo.spreadsheet.alignRight|The title of the Text Align Right tool."
698
+ alignRight="Align Right"
699
+ i18n-alignJustify="kendo.spreadsheet.alignJustify|The title of the Text Align Justify tool."
700
+ alignJustify="Align Justify"
701
+ i18n-alignTop="kendo.spreadsheet.alignTop|The title of the Text Align Top tool."
702
+ alignTop="Align Top"
703
+ i18n-alignMiddle="kendo.spreadsheet.alignMiddle|The title of the Text Align Middle tool."
704
+ alignMiddle="Align Middle"
705
+ i18n-alignBottom="kendo.spreadsheet.alignBottom|The title of the Text Align Bottom tool."
706
+ alignBottom="Align Bottom"
671
707
  i18n-merge="kendo.spreadsheet.merge|The title of the Cells Merge tool."
672
708
  merge="Merge"
709
+ i18n-mergeAll="kendo.spreadsheet.mergeAll|The title of the Merge all tool."
710
+ mergeAll="Merge all"
711
+ i18n-mergeHorizontally="kendo.spreadsheet.mergeHorizontally|The title of the Merge horizontally tool."
712
+ mergeHorizontally="Merge horizontally"
713
+ i18n-mergeVertically="kendo.spreadsheet.mergeVertically|The title of the Merge vertically tool."
714
+ mergeVertically="Merge vertically"
715
+ i18n-unmerge="kendo.spreadsheet.unmerge|The title of the Unmerge tool."
716
+ unmerge="Unmerge"
673
717
  i18n-insertLink="kendo.spreadsheet.insertLink|The title of the tool that inserts a link."
674
718
  insertLink="Insert link"
675
719
  i18n-decreaseDecimal="kendo.spreadsheet.decreaseDecimal|The title of the tool that decreases decimals."
@@ -29,7 +29,7 @@ export class SpreadsheetTextAlignDirective {
29
29
  host.icon = commandIcons[this.commandName];
30
30
  host.arrowIcon = true;
31
31
  host.fillMode = 'flat';
32
- host.data = [...ALIGNS];
32
+ host.data = ALIGNS.map(item => ({ ...item, textKey: localization.get(item.commandId) }));
33
33
  this.subs.add(host.itemClick.subscribe((e) => this.onItemClick(e)));
34
34
  host.title = localization.get(this.commandName);
35
35
  host.textField = 'textKey';
@@ -29,7 +29,9 @@ export class SpreadsheetHorizontalTextAlignDirective {
29
29
  host.icon = commandIcons[this.commandName];
30
30
  host.arrowIcon = true;
31
31
  host.fillMode = 'flat';
32
- host.data = ALIGNS.filter(value => value.commandName === 'textAlign');
32
+ host.data = ALIGNS
33
+ .filter(value => value.commandName === 'textAlign')
34
+ .map(item => ({ ...item, textKey: localization.get(item.commandId) }));
33
35
  this.subs.add(host.itemClick.subscribe((e) => this.onItemClick(e)));
34
36
  host.title = localization.get(this.commandName);
35
37
  host.textField = 'textKey';
@@ -29,7 +29,9 @@ export class SpreadsheetVerticalTextAlignDirective {
29
29
  host.icon = commandIcons[this.commandName];
30
30
  host.arrowIcon = true;
31
31
  host.fillMode = 'flat';
32
- host.data = ALIGNS.filter(value => value.commandName === 'verticalAlign');
32
+ host.data = ALIGNS
33
+ .filter(value => value.commandName === 'verticalAlign')
34
+ .map(item => ({ ...item, textKey: localization.get(item.commandId) }));
33
35
  this.subs.add(host.itemClick.subscribe((e) => this.onItemClick(e)));
34
36
  host.title = localization.get(this.commandName);
35
37
  host.textField = 'textKey';
@@ -47,22 +47,22 @@ export const FORMATS = [
47
47
  * @hidden
48
48
  */
49
49
  export const ALIGNS = [
50
- { icon: commandIcons.alignLeft, svgIcon: commandSVGIcons.alignLeft, textKey: 'Align Left', commandName: 'textAlign', value: 'left', cssClass: '' },
51
- { icon: commandIcons.alignCenter, svgIcon: commandSVGIcons.alignCenter, textKey: 'Align Center', commandName: 'textAlign', value: 'center', cssClass: '' },
52
- { icon: commandIcons.alignRight, svgIcon: commandSVGIcons.alignRight, textKey: 'Align Right', commandName: 'textAlign', value: 'right', cssClass: '' },
53
- { icon: commandIcons.alignJustify, svgIcon: commandSVGIcons.alignJustify, textKey: 'Align Justify', commandName: 'textAlign', value: 'justify', cssClass: '' },
54
- { icon: commandIcons.alignTop, svgIcon: commandSVGIcons.alignTop, textKey: 'Align Top', commandName: 'verticalAlign', value: 'top', cssClass: '' },
55
- { icon: commandIcons.alignMiddle, svgIcon: commandSVGIcons.alignMiddle, textKey: 'Align Middle', commandName: 'verticalAlign', value: 'center', cssClass: '' },
56
- { icon: commandIcons.alignBottom, svgIcon: commandSVGIcons.alignBottom, textKey: 'Align Bottom', commandName: 'verticalAlign', value: 'bottom', cssClass: '' }
50
+ { icon: commandIcons.alignLeft, svgIcon: commandSVGIcons.alignLeft, textKey: 'Align Left', commandName: 'textAlign', value: 'left', cssClass: '', commandId: 'alignLeft' },
51
+ { icon: commandIcons.alignCenter, svgIcon: commandSVGIcons.alignCenter, textKey: 'Align Center', commandName: 'textAlign', value: 'center', cssClass: '', commandId: 'alignCenter' },
52
+ { icon: commandIcons.alignRight, svgIcon: commandSVGIcons.alignRight, textKey: 'Align Right', commandName: 'textAlign', value: 'right', cssClass: '', commandId: 'alignRight' },
53
+ { icon: commandIcons.alignJustify, svgIcon: commandSVGIcons.alignJustify, textKey: 'Align Justify', commandName: 'textAlign', value: 'justify', cssClass: '', commandId: 'alignJustify' },
54
+ { icon: commandIcons.alignTop, svgIcon: commandSVGIcons.alignTop, textKey: 'Align Top', commandName: 'verticalAlign', value: 'top', cssClass: '', commandId: 'alignTop' },
55
+ { icon: commandIcons.alignMiddle, svgIcon: commandSVGIcons.alignMiddle, textKey: 'Align Middle', commandName: 'verticalAlign', value: 'center', cssClass: '', commandId: 'alignMiddle' },
56
+ { icon: commandIcons.alignBottom, svgIcon: commandSVGIcons.alignBottom, textKey: 'Align Bottom', commandName: 'verticalAlign', value: 'bottom', cssClass: '', commandId: 'alignBottom' }
57
57
  ];
58
58
  /**
59
59
  * @hidden
60
60
  */
61
61
  export const MERGE = [
62
- { icon: commandIcons.mergeAll, svgIcon: commandSVGIcons.mergeAll, textKey: 'Merge all', commandName: 'cells', value: 'cells', disabled: false },
63
- { icon: commandIcons.mergeHorizontally, svgIcon: commandSVGIcons.mergeHorizontally, textKey: 'Merge horizontally', commandName: 'horizontally', value: 'horizontally', disabled: false },
64
- { icon: commandIcons.mergeVertically, svgIcon: commandSVGIcons.mergeVertically, textKey: 'Merge vertically', commandName: 'vertically', value: 'vertically', disabled: false },
65
- { icon: commandIcons.unmerge, svgIcon: commandSVGIcons.unmerge, textKey: 'Unmerge', commandName: 'unmerge', value: 'unmerge', disabled: false }
62
+ { icon: commandIcons.mergeAll, svgIcon: commandSVGIcons.mergeAll, textKey: 'Merge all', commandName: 'cells', value: 'cells', disabled: false, commandId: 'mergeAll' },
63
+ { icon: commandIcons.mergeHorizontally, svgIcon: commandSVGIcons.mergeHorizontally, textKey: 'Merge horizontally', commandName: 'horizontally', value: 'horizontally', disabled: false, commandId: 'mergeHorizontally' },
64
+ { icon: commandIcons.mergeVertically, svgIcon: commandSVGIcons.mergeVertically, textKey: 'Merge vertically', commandName: 'vertically', value: 'vertically', disabled: false, commandId: 'mergeVertically' },
65
+ { icon: commandIcons.unmerge, svgIcon: commandSVGIcons.unmerge, textKey: 'Unmerge', commandName: 'unmerge', value: 'unmerge', disabled: false, commandId: 'unmerge' }
66
66
  ];
67
67
  /**
68
68
  * @hidden
@@ -26,7 +26,7 @@ export class SpreadsheetMergeDirective {
26
26
  host.icon = commandIcons[this.commandName];
27
27
  host.arrowIcon = true;
28
28
  host.fillMode = 'flat';
29
- host.data = [...MERGE];
29
+ host.data = MERGE.map(item => ({ ...item, textKey: localization.get(item.commandId) }));
30
30
  this.subs.add(host.itemClick.subscribe((e) => this.onItemClick(e)));
31
31
  host.title = localization.get(this.commandName);
32
32
  host.textField = 'textKey';
@@ -47,8 +47,8 @@ const packageMetadata = {
47
47
  name: '@progress/kendo-angular-spreadsheet',
48
48
  productName: 'Kendo UI for Angular',
49
49
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
50
- publishDate: 1700836865,
51
- version: '14.2.0-develop.5',
50
+ publishDate: 1701093052,
51
+ version: '14.2.0-develop.6',
52
52
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning',
53
53
  };
54
54
 
@@ -810,22 +810,22 @@ const FORMATS = [
810
810
  * @hidden
811
811
  */
812
812
  const ALIGNS = [
813
- { icon: commandIcons.alignLeft, svgIcon: commandSVGIcons.alignLeft, textKey: 'Align Left', commandName: 'textAlign', value: 'left', cssClass: '' },
814
- { icon: commandIcons.alignCenter, svgIcon: commandSVGIcons.alignCenter, textKey: 'Align Center', commandName: 'textAlign', value: 'center', cssClass: '' },
815
- { icon: commandIcons.alignRight, svgIcon: commandSVGIcons.alignRight, textKey: 'Align Right', commandName: 'textAlign', value: 'right', cssClass: '' },
816
- { icon: commandIcons.alignJustify, svgIcon: commandSVGIcons.alignJustify, textKey: 'Align Justify', commandName: 'textAlign', value: 'justify', cssClass: '' },
817
- { icon: commandIcons.alignTop, svgIcon: commandSVGIcons.alignTop, textKey: 'Align Top', commandName: 'verticalAlign', value: 'top', cssClass: '' },
818
- { icon: commandIcons.alignMiddle, svgIcon: commandSVGIcons.alignMiddle, textKey: 'Align Middle', commandName: 'verticalAlign', value: 'center', cssClass: '' },
819
- { icon: commandIcons.alignBottom, svgIcon: commandSVGIcons.alignBottom, textKey: 'Align Bottom', commandName: 'verticalAlign', value: 'bottom', cssClass: '' }
813
+ { icon: commandIcons.alignLeft, svgIcon: commandSVGIcons.alignLeft, textKey: 'Align Left', commandName: 'textAlign', value: 'left', cssClass: '', commandId: 'alignLeft' },
814
+ { icon: commandIcons.alignCenter, svgIcon: commandSVGIcons.alignCenter, textKey: 'Align Center', commandName: 'textAlign', value: 'center', cssClass: '', commandId: 'alignCenter' },
815
+ { icon: commandIcons.alignRight, svgIcon: commandSVGIcons.alignRight, textKey: 'Align Right', commandName: 'textAlign', value: 'right', cssClass: '', commandId: 'alignRight' },
816
+ { icon: commandIcons.alignJustify, svgIcon: commandSVGIcons.alignJustify, textKey: 'Align Justify', commandName: 'textAlign', value: 'justify', cssClass: '', commandId: 'alignJustify' },
817
+ { icon: commandIcons.alignTop, svgIcon: commandSVGIcons.alignTop, textKey: 'Align Top', commandName: 'verticalAlign', value: 'top', cssClass: '', commandId: 'alignTop' },
818
+ { icon: commandIcons.alignMiddle, svgIcon: commandSVGIcons.alignMiddle, textKey: 'Align Middle', commandName: 'verticalAlign', value: 'center', cssClass: '', commandId: 'alignMiddle' },
819
+ { icon: commandIcons.alignBottom, svgIcon: commandSVGIcons.alignBottom, textKey: 'Align Bottom', commandName: 'verticalAlign', value: 'bottom', cssClass: '', commandId: 'alignBottom' }
820
820
  ];
821
821
  /**
822
822
  * @hidden
823
823
  */
824
824
  const MERGE = [
825
- { icon: commandIcons.mergeAll, svgIcon: commandSVGIcons.mergeAll, textKey: 'Merge all', commandName: 'cells', value: 'cells', disabled: false },
826
- { icon: commandIcons.mergeHorizontally, svgIcon: commandSVGIcons.mergeHorizontally, textKey: 'Merge horizontally', commandName: 'horizontally', value: 'horizontally', disabled: false },
827
- { icon: commandIcons.mergeVertically, svgIcon: commandSVGIcons.mergeVertically, textKey: 'Merge vertically', commandName: 'vertically', value: 'vertically', disabled: false },
828
- { icon: commandIcons.unmerge, svgIcon: commandSVGIcons.unmerge, textKey: 'Unmerge', commandName: 'unmerge', value: 'unmerge', disabled: false }
825
+ { icon: commandIcons.mergeAll, svgIcon: commandSVGIcons.mergeAll, textKey: 'Merge all', commandName: 'cells', value: 'cells', disabled: false, commandId: 'mergeAll' },
826
+ { icon: commandIcons.mergeHorizontally, svgIcon: commandSVGIcons.mergeHorizontally, textKey: 'Merge horizontally', commandName: 'horizontally', value: 'horizontally', disabled: false, commandId: 'mergeHorizontally' },
827
+ { icon: commandIcons.mergeVertically, svgIcon: commandSVGIcons.mergeVertically, textKey: 'Merge vertically', commandName: 'vertically', value: 'vertically', disabled: false, commandId: 'mergeVertically' },
828
+ { icon: commandIcons.unmerge, svgIcon: commandSVGIcons.unmerge, textKey: 'Unmerge', commandName: 'unmerge', value: 'unmerge', disabled: false, commandId: 'unmerge' }
829
829
  ];
830
830
  /**
831
831
  * @hidden
@@ -2027,7 +2027,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
2027
2027
  class MessagesDirective extends ComponentMessages {
2028
2028
  }
2029
2029
  MessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MessagesDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
2030
- MessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: MessagesDirective, selector: "[kendoSpreadsheetMessages]", inputs: { 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", openUnsupported: "openUnsupported", modifyMerged: "modifyMerged", cannotModifyDisabled: "cannotModifyDisabled", dialogOk: "dialogOk", dialogError: "dialogError", duplicateSheetName: "duplicateSheetName" }, usesInheritance: true, ngImport: i0 });
2030
+ MessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: MessagesDirective, selector: "[kendoSpreadsheetMessages]", inputs: { 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", 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" }, usesInheritance: true, ngImport: i0 });
2031
2031
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MessagesDirective, decorators: [{
2032
2032
  type: Directive,
2033
2033
  args: [{
@@ -2087,6 +2087,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
2087
2087
  type: Input
2088
2088
  }], alignVertical: [{
2089
2089
  type: Input
2090
+ }], alignLeft: [{
2091
+ type: Input
2092
+ }], alignCenter: [{
2093
+ type: Input
2094
+ }], alignRight: [{
2095
+ type: Input
2096
+ }], alignJustify: [{
2097
+ type: Input
2098
+ }], alignTop: [{
2099
+ type: Input
2100
+ }], alignMiddle: [{
2101
+ type: Input
2102
+ }], alignBottom: [{
2103
+ type: Input
2090
2104
  }], dialogApply: [{
2091
2105
  type: Input
2092
2106
  }], dialogCancel: [{
@@ -2113,6 +2127,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
2113
2127
  type: Input
2114
2128
  }], merge: [{
2115
2129
  type: Input
2130
+ }], mergeHorizontally: [{
2131
+ type: Input
2132
+ }], mergeVertically: [{
2133
+ type: Input
2134
+ }], mergeAll: [{
2135
+ type: Input
2136
+ }], unmerge: [{
2137
+ type: Input
2116
2138
  }], insertLink: [{
2117
2139
  type: Input
2118
2140
  }], increaseDecimal: [{
@@ -2483,7 +2505,9 @@ class SpreadsheetHorizontalTextAlignDirective {
2483
2505
  host.icon = commandIcons[this.commandName];
2484
2506
  host.arrowIcon = true;
2485
2507
  host.fillMode = 'flat';
2486
- host.data = ALIGNS.filter(value => value.commandName === 'textAlign');
2508
+ host.data = ALIGNS
2509
+ .filter(value => value.commandName === 'textAlign')
2510
+ .map(item => (Object.assign(Object.assign({}, item), { textKey: localization.get(item.commandId) })));
2487
2511
  this.subs.add(host.itemClick.subscribe((e) => this.onItemClick(e)));
2488
2512
  host.title = localization.get(this.commandName);
2489
2513
  host.textField = 'textKey';
@@ -2525,7 +2549,9 @@ class SpreadsheetVerticalTextAlignDirective {
2525
2549
  host.icon = commandIcons[this.commandName];
2526
2550
  host.arrowIcon = true;
2527
2551
  host.fillMode = 'flat';
2528
- host.data = ALIGNS.filter(value => value.commandName === 'verticalAlign');
2552
+ host.data = ALIGNS
2553
+ .filter(value => value.commandName === 'verticalAlign')
2554
+ .map(item => (Object.assign(Object.assign({}, item), { textKey: localization.get(item.commandId) })));
2529
2555
  this.subs.add(host.itemClick.subscribe((e) => this.onItemClick(e)));
2530
2556
  host.title = localization.get(this.commandName);
2531
2557
  host.textField = 'textKey';
@@ -2937,7 +2963,7 @@ class SpreadsheetMergeDirective {
2937
2963
  host.icon = commandIcons[this.commandName];
2938
2964
  host.arrowIcon = true;
2939
2965
  host.fillMode = 'flat';
2940
- host.data = [...MERGE];
2966
+ host.data = MERGE.map(item => (Object.assign(Object.assign({}, item), { textKey: localization.get(item.commandId) })));
2941
2967
  this.subs.add(host.itemClick.subscribe((e) => this.onItemClick(e)));
2942
2968
  host.title = localization.get(this.commandName);
2943
2969
  host.textField = 'textKey';
@@ -3370,8 +3396,30 @@ SpreadsheetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
3370
3396
  alignHorizontal="Align horizontally"
3371
3397
  i18n-alignVertical="kendo.spreadsheet.alignVertical|The title of the Text Align Vertical tool."
3372
3398
  alignVertical="Align vertically"
3399
+ i18n-alignLeft="kendo.spreadsheet.alignLeft|The title of the Text Align Left tool."
3400
+ alignLeft="Align Left"
3401
+ i18n-alignCenter="kendo.spreadsheet.alignCenter|The title of the Text Align Center tool."
3402
+ alignCenter="Align Center"
3403
+ i18n-alignRight="kendo.spreadsheet.alignRight|The title of the Text Align Right tool."
3404
+ alignRight="Align Right"
3405
+ i18n-alignJustify="kendo.spreadsheet.alignJustify|The title of the Text Align Justify tool."
3406
+ alignJustify="Align Justify"
3407
+ i18n-alignTop="kendo.spreadsheet.alignTop|The title of the Text Align Top tool."
3408
+ alignTop="Align Top"
3409
+ i18n-alignMiddle="kendo.spreadsheet.alignMiddle|The title of the Text Align Middle tool."
3410
+ alignMiddle="Align Middle"
3411
+ i18n-alignBottom="kendo.spreadsheet.alignBottom|The title of the Text Align Bottom tool."
3412
+ alignBottom="Align Bottom"
3373
3413
  i18n-merge="kendo.spreadsheet.merge|The title of the Cells Merge tool."
3374
3414
  merge="Merge"
3415
+ i18n-mergeAll="kendo.spreadsheet.mergeAll|The title of the Merge all tool."
3416
+ mergeAll="Merge all"
3417
+ i18n-mergeHorizontally="kendo.spreadsheet.mergeHorizontally|The title of the Merge horizontally tool."
3418
+ mergeHorizontally="Merge horizontally"
3419
+ i18n-mergeVertically="kendo.spreadsheet.mergeVertically|The title of the Merge vertically tool."
3420
+ mergeVertically="Merge vertically"
3421
+ i18n-unmerge="kendo.spreadsheet.unmerge|The title of the Unmerge tool."
3422
+ unmerge="Unmerge"
3375
3423
  i18n-insertLink="kendo.spreadsheet.insertLink|The title of the tool that inserts a link."
3376
3424
  insertLink="Insert link"
3377
3425
  i18n-decreaseDecimal="kendo.spreadsheet.decreaseDecimal|The title of the tool that decreases decimals."
@@ -3595,8 +3643,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
3595
3643
  alignHorizontal="Align horizontally"
3596
3644
  i18n-alignVertical="kendo.spreadsheet.alignVertical|The title of the Text Align Vertical tool."
3597
3645
  alignVertical="Align vertically"
3646
+ i18n-alignLeft="kendo.spreadsheet.alignLeft|The title of the Text Align Left tool."
3647
+ alignLeft="Align Left"
3648
+ i18n-alignCenter="kendo.spreadsheet.alignCenter|The title of the Text Align Center tool."
3649
+ alignCenter="Align Center"
3650
+ i18n-alignRight="kendo.spreadsheet.alignRight|The title of the Text Align Right tool."
3651
+ alignRight="Align Right"
3652
+ i18n-alignJustify="kendo.spreadsheet.alignJustify|The title of the Text Align Justify tool."
3653
+ alignJustify="Align Justify"
3654
+ i18n-alignTop="kendo.spreadsheet.alignTop|The title of the Text Align Top tool."
3655
+ alignTop="Align Top"
3656
+ i18n-alignMiddle="kendo.spreadsheet.alignMiddle|The title of the Text Align Middle tool."
3657
+ alignMiddle="Align Middle"
3658
+ i18n-alignBottom="kendo.spreadsheet.alignBottom|The title of the Text Align Bottom tool."
3659
+ alignBottom="Align Bottom"
3598
3660
  i18n-merge="kendo.spreadsheet.merge|The title of the Cells Merge tool."
3599
3661
  merge="Merge"
3662
+ i18n-mergeAll="kendo.spreadsheet.mergeAll|The title of the Merge all tool."
3663
+ mergeAll="Merge all"
3664
+ i18n-mergeHorizontally="kendo.spreadsheet.mergeHorizontally|The title of the Merge horizontally tool."
3665
+ mergeHorizontally="Merge horizontally"
3666
+ i18n-mergeVertically="kendo.spreadsheet.mergeVertically|The title of the Merge vertically tool."
3667
+ mergeVertically="Merge vertically"
3668
+ i18n-unmerge="kendo.spreadsheet.unmerge|The title of the Unmerge tool."
3669
+ unmerge="Unmerge"
3600
3670
  i18n-insertLink="kendo.spreadsheet.insertLink|The title of the tool that inserts a link."
3601
3671
  insertLink="Insert link"
3602
3672
  i18n-decreaseDecimal="kendo.spreadsheet.decreaseDecimal|The title of the tool that decreases decimals."
@@ -3849,7 +3919,7 @@ class SpreadsheetTextAlignDirective {
3849
3919
  host.icon = commandIcons[this.commandName];
3850
3920
  host.arrowIcon = true;
3851
3921
  host.fillMode = 'flat';
3852
- host.data = [...ALIGNS];
3922
+ host.data = ALIGNS.map(item => (Object.assign(Object.assign({}, item), { textKey: localization.get(item.commandId) })));
3853
3923
  this.subs.add(host.itemClick.subscribe((e) => this.onItemClick(e)));
3854
3924
  host.title = localization.get(this.commandName);
3855
3925
  host.textField = 'textKey';
@@ -47,8 +47,8 @@ const packageMetadata = {
47
47
  name: '@progress/kendo-angular-spreadsheet',
48
48
  productName: 'Kendo UI for Angular',
49
49
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
50
- publishDate: 1700836865,
51
- version: '14.2.0-develop.5',
50
+ publishDate: 1701093052,
51
+ version: '14.2.0-develop.6',
52
52
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning',
53
53
  };
54
54
 
@@ -799,22 +799,22 @@ const FORMATS = [
799
799
  * @hidden
800
800
  */
801
801
  const ALIGNS = [
802
- { icon: commandIcons.alignLeft, svgIcon: commandSVGIcons.alignLeft, textKey: 'Align Left', commandName: 'textAlign', value: 'left', cssClass: '' },
803
- { icon: commandIcons.alignCenter, svgIcon: commandSVGIcons.alignCenter, textKey: 'Align Center', commandName: 'textAlign', value: 'center', cssClass: '' },
804
- { icon: commandIcons.alignRight, svgIcon: commandSVGIcons.alignRight, textKey: 'Align Right', commandName: 'textAlign', value: 'right', cssClass: '' },
805
- { icon: commandIcons.alignJustify, svgIcon: commandSVGIcons.alignJustify, textKey: 'Align Justify', commandName: 'textAlign', value: 'justify', cssClass: '' },
806
- { icon: commandIcons.alignTop, svgIcon: commandSVGIcons.alignTop, textKey: 'Align Top', commandName: 'verticalAlign', value: 'top', cssClass: '' },
807
- { icon: commandIcons.alignMiddle, svgIcon: commandSVGIcons.alignMiddle, textKey: 'Align Middle', commandName: 'verticalAlign', value: 'center', cssClass: '' },
808
- { icon: commandIcons.alignBottom, svgIcon: commandSVGIcons.alignBottom, textKey: 'Align Bottom', commandName: 'verticalAlign', value: 'bottom', cssClass: '' }
802
+ { icon: commandIcons.alignLeft, svgIcon: commandSVGIcons.alignLeft, textKey: 'Align Left', commandName: 'textAlign', value: 'left', cssClass: '', commandId: 'alignLeft' },
803
+ { icon: commandIcons.alignCenter, svgIcon: commandSVGIcons.alignCenter, textKey: 'Align Center', commandName: 'textAlign', value: 'center', cssClass: '', commandId: 'alignCenter' },
804
+ { icon: commandIcons.alignRight, svgIcon: commandSVGIcons.alignRight, textKey: 'Align Right', commandName: 'textAlign', value: 'right', cssClass: '', commandId: 'alignRight' },
805
+ { icon: commandIcons.alignJustify, svgIcon: commandSVGIcons.alignJustify, textKey: 'Align Justify', commandName: 'textAlign', value: 'justify', cssClass: '', commandId: 'alignJustify' },
806
+ { icon: commandIcons.alignTop, svgIcon: commandSVGIcons.alignTop, textKey: 'Align Top', commandName: 'verticalAlign', value: 'top', cssClass: '', commandId: 'alignTop' },
807
+ { icon: commandIcons.alignMiddle, svgIcon: commandSVGIcons.alignMiddle, textKey: 'Align Middle', commandName: 'verticalAlign', value: 'center', cssClass: '', commandId: 'alignMiddle' },
808
+ { icon: commandIcons.alignBottom, svgIcon: commandSVGIcons.alignBottom, textKey: 'Align Bottom', commandName: 'verticalAlign', value: 'bottom', cssClass: '', commandId: 'alignBottom' }
809
809
  ];
810
810
  /**
811
811
  * @hidden
812
812
  */
813
813
  const MERGE = [
814
- { icon: commandIcons.mergeAll, svgIcon: commandSVGIcons.mergeAll, textKey: 'Merge all', commandName: 'cells', value: 'cells', disabled: false },
815
- { icon: commandIcons.mergeHorizontally, svgIcon: commandSVGIcons.mergeHorizontally, textKey: 'Merge horizontally', commandName: 'horizontally', value: 'horizontally', disabled: false },
816
- { icon: commandIcons.mergeVertically, svgIcon: commandSVGIcons.mergeVertically, textKey: 'Merge vertically', commandName: 'vertically', value: 'vertically', disabled: false },
817
- { icon: commandIcons.unmerge, svgIcon: commandSVGIcons.unmerge, textKey: 'Unmerge', commandName: 'unmerge', value: 'unmerge', disabled: false }
814
+ { icon: commandIcons.mergeAll, svgIcon: commandSVGIcons.mergeAll, textKey: 'Merge all', commandName: 'cells', value: 'cells', disabled: false, commandId: 'mergeAll' },
815
+ { icon: commandIcons.mergeHorizontally, svgIcon: commandSVGIcons.mergeHorizontally, textKey: 'Merge horizontally', commandName: 'horizontally', value: 'horizontally', disabled: false, commandId: 'mergeHorizontally' },
816
+ { icon: commandIcons.mergeVertically, svgIcon: commandSVGIcons.mergeVertically, textKey: 'Merge vertically', commandName: 'vertically', value: 'vertically', disabled: false, commandId: 'mergeVertically' },
817
+ { icon: commandIcons.unmerge, svgIcon: commandSVGIcons.unmerge, textKey: 'Unmerge', commandName: 'unmerge', value: 'unmerge', disabled: false, commandId: 'unmerge' }
818
818
  ];
819
819
  /**
820
820
  * @hidden
@@ -2013,7 +2013,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
2013
2013
  class MessagesDirective extends ComponentMessages {
2014
2014
  }
2015
2015
  MessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MessagesDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
2016
- MessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: MessagesDirective, selector: "[kendoSpreadsheetMessages]", inputs: { 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", openUnsupported: "openUnsupported", modifyMerged: "modifyMerged", cannotModifyDisabled: "cannotModifyDisabled", dialogOk: "dialogOk", dialogError: "dialogError", duplicateSheetName: "duplicateSheetName" }, usesInheritance: true, ngImport: i0 });
2016
+ MessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: MessagesDirective, selector: "[kendoSpreadsheetMessages]", inputs: { 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", 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" }, usesInheritance: true, ngImport: i0 });
2017
2017
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MessagesDirective, decorators: [{
2018
2018
  type: Directive,
2019
2019
  args: [{
@@ -2073,6 +2073,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
2073
2073
  type: Input
2074
2074
  }], alignVertical: [{
2075
2075
  type: Input
2076
+ }], alignLeft: [{
2077
+ type: Input
2078
+ }], alignCenter: [{
2079
+ type: Input
2080
+ }], alignRight: [{
2081
+ type: Input
2082
+ }], alignJustify: [{
2083
+ type: Input
2084
+ }], alignTop: [{
2085
+ type: Input
2086
+ }], alignMiddle: [{
2087
+ type: Input
2088
+ }], alignBottom: [{
2089
+ type: Input
2076
2090
  }], dialogApply: [{
2077
2091
  type: Input
2078
2092
  }], dialogCancel: [{
@@ -2099,6 +2113,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
2099
2113
  type: Input
2100
2114
  }], merge: [{
2101
2115
  type: Input
2116
+ }], mergeHorizontally: [{
2117
+ type: Input
2118
+ }], mergeVertically: [{
2119
+ type: Input
2120
+ }], mergeAll: [{
2121
+ type: Input
2122
+ }], unmerge: [{
2123
+ type: Input
2102
2124
  }], insertLink: [{
2103
2125
  type: Input
2104
2126
  }], increaseDecimal: [{
@@ -2470,7 +2492,9 @@ class SpreadsheetHorizontalTextAlignDirective {
2470
2492
  host.icon = commandIcons[this.commandName];
2471
2493
  host.arrowIcon = true;
2472
2494
  host.fillMode = 'flat';
2473
- host.data = ALIGNS.filter(value => value.commandName === 'textAlign');
2495
+ host.data = ALIGNS
2496
+ .filter(value => value.commandName === 'textAlign')
2497
+ .map(item => ({ ...item, textKey: localization.get(item.commandId) }));
2474
2498
  this.subs.add(host.itemClick.subscribe((e) => this.onItemClick(e)));
2475
2499
  host.title = localization.get(this.commandName);
2476
2500
  host.textField = 'textKey';
@@ -2512,7 +2536,9 @@ class SpreadsheetVerticalTextAlignDirective {
2512
2536
  host.icon = commandIcons[this.commandName];
2513
2537
  host.arrowIcon = true;
2514
2538
  host.fillMode = 'flat';
2515
- host.data = ALIGNS.filter(value => value.commandName === 'verticalAlign');
2539
+ host.data = ALIGNS
2540
+ .filter(value => value.commandName === 'verticalAlign')
2541
+ .map(item => ({ ...item, textKey: localization.get(item.commandId) }));
2516
2542
  this.subs.add(host.itemClick.subscribe((e) => this.onItemClick(e)));
2517
2543
  host.title = localization.get(this.commandName);
2518
2544
  host.textField = 'textKey';
@@ -2923,7 +2949,7 @@ class SpreadsheetMergeDirective {
2923
2949
  host.icon = commandIcons[this.commandName];
2924
2950
  host.arrowIcon = true;
2925
2951
  host.fillMode = 'flat';
2926
- host.data = [...MERGE];
2952
+ host.data = MERGE.map(item => ({ ...item, textKey: localization.get(item.commandId) }));
2927
2953
  this.subs.add(host.itemClick.subscribe((e) => this.onItemClick(e)));
2928
2954
  host.title = localization.get(this.commandName);
2929
2955
  host.textField = 'textKey';
@@ -3376,8 +3402,30 @@ SpreadsheetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
3376
3402
  alignHorizontal="Align horizontally"
3377
3403
  i18n-alignVertical="kendo.spreadsheet.alignVertical|The title of the Text Align Vertical tool."
3378
3404
  alignVertical="Align vertically"
3405
+ i18n-alignLeft="kendo.spreadsheet.alignLeft|The title of the Text Align Left tool."
3406
+ alignLeft="Align Left"
3407
+ i18n-alignCenter="kendo.spreadsheet.alignCenter|The title of the Text Align Center tool."
3408
+ alignCenter="Align Center"
3409
+ i18n-alignRight="kendo.spreadsheet.alignRight|The title of the Text Align Right tool."
3410
+ alignRight="Align Right"
3411
+ i18n-alignJustify="kendo.spreadsheet.alignJustify|The title of the Text Align Justify tool."
3412
+ alignJustify="Align Justify"
3413
+ i18n-alignTop="kendo.spreadsheet.alignTop|The title of the Text Align Top tool."
3414
+ alignTop="Align Top"
3415
+ i18n-alignMiddle="kendo.spreadsheet.alignMiddle|The title of the Text Align Middle tool."
3416
+ alignMiddle="Align Middle"
3417
+ i18n-alignBottom="kendo.spreadsheet.alignBottom|The title of the Text Align Bottom tool."
3418
+ alignBottom="Align Bottom"
3379
3419
  i18n-merge="kendo.spreadsheet.merge|The title of the Cells Merge tool."
3380
3420
  merge="Merge"
3421
+ i18n-mergeAll="kendo.spreadsheet.mergeAll|The title of the Merge all tool."
3422
+ mergeAll="Merge all"
3423
+ i18n-mergeHorizontally="kendo.spreadsheet.mergeHorizontally|The title of the Merge horizontally tool."
3424
+ mergeHorizontally="Merge horizontally"
3425
+ i18n-mergeVertically="kendo.spreadsheet.mergeVertically|The title of the Merge vertically tool."
3426
+ mergeVertically="Merge vertically"
3427
+ i18n-unmerge="kendo.spreadsheet.unmerge|The title of the Unmerge tool."
3428
+ unmerge="Unmerge"
3381
3429
  i18n-insertLink="kendo.spreadsheet.insertLink|The title of the tool that inserts a link."
3382
3430
  insertLink="Insert link"
3383
3431
  i18n-decreaseDecimal="kendo.spreadsheet.decreaseDecimal|The title of the tool that decreases decimals."
@@ -3601,8 +3649,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
3601
3649
  alignHorizontal="Align horizontally"
3602
3650
  i18n-alignVertical="kendo.spreadsheet.alignVertical|The title of the Text Align Vertical tool."
3603
3651
  alignVertical="Align vertically"
3652
+ i18n-alignLeft="kendo.spreadsheet.alignLeft|The title of the Text Align Left tool."
3653
+ alignLeft="Align Left"
3654
+ i18n-alignCenter="kendo.spreadsheet.alignCenter|The title of the Text Align Center tool."
3655
+ alignCenter="Align Center"
3656
+ i18n-alignRight="kendo.spreadsheet.alignRight|The title of the Text Align Right tool."
3657
+ alignRight="Align Right"
3658
+ i18n-alignJustify="kendo.spreadsheet.alignJustify|The title of the Text Align Justify tool."
3659
+ alignJustify="Align Justify"
3660
+ i18n-alignTop="kendo.spreadsheet.alignTop|The title of the Text Align Top tool."
3661
+ alignTop="Align Top"
3662
+ i18n-alignMiddle="kendo.spreadsheet.alignMiddle|The title of the Text Align Middle tool."
3663
+ alignMiddle="Align Middle"
3664
+ i18n-alignBottom="kendo.spreadsheet.alignBottom|The title of the Text Align Bottom tool."
3665
+ alignBottom="Align Bottom"
3604
3666
  i18n-merge="kendo.spreadsheet.merge|The title of the Cells Merge tool."
3605
3667
  merge="Merge"
3668
+ i18n-mergeAll="kendo.spreadsheet.mergeAll|The title of the Merge all tool."
3669
+ mergeAll="Merge all"
3670
+ i18n-mergeHorizontally="kendo.spreadsheet.mergeHorizontally|The title of the Merge horizontally tool."
3671
+ mergeHorizontally="Merge horizontally"
3672
+ i18n-mergeVertically="kendo.spreadsheet.mergeVertically|The title of the Merge vertically tool."
3673
+ mergeVertically="Merge vertically"
3674
+ i18n-unmerge="kendo.spreadsheet.unmerge|The title of the Unmerge tool."
3675
+ unmerge="Unmerge"
3606
3676
  i18n-insertLink="kendo.spreadsheet.insertLink|The title of the tool that inserts a link."
3607
3677
  insertLink="Insert link"
3608
3678
  i18n-decreaseDecimal="kendo.spreadsheet.decreaseDecimal|The title of the tool that decreases decimals."
@@ -3855,7 +3925,7 @@ class SpreadsheetTextAlignDirective {
3855
3925
  host.icon = commandIcons[this.commandName];
3856
3926
  host.arrowIcon = true;
3857
3927
  host.fillMode = 'flat';
3858
- host.data = [...ALIGNS];
3928
+ host.data = ALIGNS.map(item => ({ ...item, textKey: localization.get(item.commandId) }));
3859
3929
  this.subs.add(host.itemClick.subscribe((e) => this.onItemClick(e)));
3860
3930
  host.title = localization.get(this.commandName);
3861
3931
  host.textField = 'textKey';
@@ -116,6 +116,34 @@ export declare class MessagesDirective extends ComponentMessages {
116
116
  * The title of the Text Align Vertical tool
117
117
  */
118
118
  alignVertical: string;
119
+ /**
120
+ * The title of the Text Align Left tool
121
+ */
122
+ alignLeft: string;
123
+ /**
124
+ * The title of the Text Align Center tool
125
+ */
126
+ alignCenter: string;
127
+ /**
128
+ * The title of the Text Align Right tool
129
+ */
130
+ alignRight: string;
131
+ /**
132
+ * The title of the Text Align Justify tool
133
+ */
134
+ alignJustify: string;
135
+ /**
136
+ * The title of the Text Align Top tool
137
+ */
138
+ alignTop: string;
139
+ /**
140
+ * The title of the Text Align Middle tool
141
+ */
142
+ alignMiddle: string;
143
+ /**
144
+ * The title of the Text Align Bottom tool
145
+ */
146
+ alignBottom: string;
119
147
  /**
120
148
  * The text of the Apply button in all Spreadsheet dialogs
121
149
  */
@@ -168,6 +196,22 @@ export declare class MessagesDirective extends ComponentMessages {
168
196
  * The title of the Cells Merge tool
169
197
  */
170
198
  merge: string;
199
+ /**
200
+ * The title of the Merge horizontally tool
201
+ */
202
+ mergeHorizontally: string;
203
+ /**
204
+ * The title of the Merge vertically tool
205
+ */
206
+ mergeVertically: string;
207
+ /**
208
+ * The title of the Merge all tool
209
+ */
210
+ mergeAll: string;
211
+ /**
212
+ * The title of the Unmerge tool
213
+ */
214
+ unmerge: string;
171
215
  /**
172
216
  * The title of the tool that inserts a link
173
217
  */
@@ -213,5 +257,5 @@ export declare class MessagesDirective extends ComponentMessages {
213
257
  */
214
258
  duplicateSheetName: string;
215
259
  static ɵfac: i0.ɵɵFactoryDeclaration<MessagesDirective, never>;
216
- 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"; "openUnsupported": "openUnsupported"; "modifyMerged": "modifyMerged"; "cannotModifyDisabled": "cannotModifyDisabled"; "dialogOk": "dialogOk"; "dialogError": "dialogError"; "duplicateSheetName": "duplicateSheetName"; }, {}, never>;
260
+ 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"; "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>;
217
261
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-spreadsheet",
3
- "version": "14.2.0-develop.5",
3
+ "version": "14.2.0-develop.6",
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.2.0-develop.5",
27
- "@progress/kendo-angular-common": "14.2.0-develop.5",
28
- "@progress/kendo-angular-dialog": "14.2.0-develop.5",
29
- "@progress/kendo-angular-dropdowns": "14.2.0-develop.5",
30
- "@progress/kendo-angular-icons": "14.2.0-develop.5",
31
- "@progress/kendo-angular-l10n": "14.2.0-develop.5",
32
- "@progress/kendo-angular-layout": "14.2.0-develop.5",
33
- "@progress/kendo-angular-menu": "14.2.0-develop.5",
34
- "@progress/kendo-angular-popup": "14.2.0-develop.5",
35
- "@progress/kendo-angular-toolbar": "14.2.0-develop.5",
36
- "@progress/kendo-angular-intl": "14.2.0-develop.5",
26
+ "@progress/kendo-angular-buttons": "14.2.0-develop.6",
27
+ "@progress/kendo-angular-common": "14.2.0-develop.6",
28
+ "@progress/kendo-angular-dialog": "14.2.0-develop.6",
29
+ "@progress/kendo-angular-dropdowns": "14.2.0-develop.6",
30
+ "@progress/kendo-angular-icons": "14.2.0-develop.6",
31
+ "@progress/kendo-angular-l10n": "14.2.0-develop.6",
32
+ "@progress/kendo-angular-layout": "14.2.0-develop.6",
33
+ "@progress/kendo-angular-menu": "14.2.0-develop.6",
34
+ "@progress/kendo-angular-popup": "14.2.0-develop.6",
35
+ "@progress/kendo-angular-toolbar": "14.2.0-develop.6",
36
+ "@progress/kendo-angular-intl": "14.2.0-develop.6",
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.0-develop.5",
41
+ "@progress/kendo-angular-schematics": "14.2.0-develop.6",
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.2.0-develop.5'
9
+ '@progress/kendo-angular-treeview': '14.2.0-develop.6'
10
10
  } });
11
11
  return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
12
12
  }
@@ -43,6 +43,7 @@ export declare const ALIGNS: {
43
43
  commandName: string;
44
44
  value: string;
45
45
  cssClass: string;
46
+ commandId: string;
46
47
  }[];
47
48
  /**
48
49
  * @hidden
@@ -54,6 +55,7 @@ export declare const MERGE: {
54
55
  commandName: string;
55
56
  value: string;
56
57
  disabled: boolean;
58
+ commandId: string;
57
59
  }[];
58
60
  /**
59
61
  * @hidden