@progress/kendo-angular-spreadsheet 17.0.0-develop.4 → 17.0.0-develop.41

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 (87) hide show
  1. package/README.md +30 -19
  2. package/action-bar/formula-input.directive.d.ts +1 -1
  3. package/action-bar/list.component.d.ts +5 -4
  4. package/action-bar/namebox.component.d.ts +1 -1
  5. package/{esm2020 → esm2022}/action-bar/formula-input.directive.mjs +63 -54
  6. package/{esm2020 → esm2022}/action-bar/list.component.mjs +21 -16
  7. package/{esm2020 → esm2022}/action-bar/namebox.component.mjs +20 -12
  8. package/{esm2020 → esm2022}/common/error-handling.service.mjs +12 -6
  9. package/{esm2020 → esm2022}/common/main-menu.directive.mjs +5 -3
  10. package/{esm2020 → esm2022}/common/spreadsheet.service.mjs +10 -7
  11. package/{esm2020 → esm2022}/localization/custom-messages.component.mjs +9 -8
  12. package/{esm2020 → esm2022}/localization/localized-messages.directive.mjs +7 -6
  13. package/esm2022/localization/messages.mjs +494 -0
  14. package/{esm2020 → esm2022}/localization/spreadsheet-localization.service.mjs +3 -3
  15. package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
  16. package/{esm2020 → esm2022}/sheets-bar/action-dialog.component.mjs +8 -4
  17. package/{esm2020 → esm2022}/sheets-bar/sheets-bar.component.mjs +138 -116
  18. package/{esm2020 → esm2022}/spreadsheet.component.mjs +236 -194
  19. package/{esm2020 → esm2022}/spreadsheet.module.mjs +4 -4
  20. package/{esm2020 → esm2022}/tools/align/align-tool.directive.mjs +8 -5
  21. package/{esm2020 → esm2022}/tools/align/horizontal-align-tool.directive.mjs +8 -5
  22. package/{esm2020 → esm2022}/tools/align/vertical-align-tool.directive.mjs +8 -5
  23. package/{esm2020 → esm2022}/tools/colorpicker/spreadsheet-backcolor.component.mjs +32 -28
  24. package/{esm2020 → esm2022}/tools/colorpicker/spreadsheet-forecolor.component.mjs +32 -28
  25. package/{esm2020 → esm2022}/tools/decrease-decimal-tool.directive.mjs +3 -3
  26. package/{esm2020 → esm2022}/tools/font-family/font-family-dropdownlist.component.mjs +6 -4
  27. package/{esm2020 → esm2022}/tools/font-family/spreadsheet-fontfamily-tool.component.mjs +4 -4
  28. package/{esm2020 → esm2022}/tools/font-size/decrease-font-tool.directive.mjs +4 -3
  29. package/{esm2020 → esm2022}/tools/font-size/font-size-dropdownlist.component.mjs +6 -4
  30. package/{esm2020 → esm2022}/tools/font-size/increase-font-tool.directive.mjs +4 -3
  31. package/{esm2020 → esm2022}/tools/font-size/spreadsheet-fontsize-tool.component.mjs +4 -4
  32. package/{esm2020 → esm2022}/tools/format-tool.directive.mjs +19 -16
  33. package/{esm2020 → esm2022}/tools/gridlines-tool.directive.mjs +3 -3
  34. package/{esm2020 → esm2022}/tools/history/redo-tool.mjs +3 -3
  35. package/{esm2020 → esm2022}/tools/history/undo-tool.mjs +3 -3
  36. package/{esm2020 → esm2022}/tools/increase-decimal-tool.directive.mjs +3 -3
  37. package/{esm2020 → esm2022}/tools/insert/insert-link-dialog.component.mjs +7 -5
  38. package/{esm2020 → esm2022}/tools/insert/insert-link-tool.directive.mjs +5 -3
  39. package/{esm2020 → esm2022}/tools/load-file.component.mjs +27 -28
  40. package/{esm2020 → esm2022}/tools/save-file-tool.directive.mjs +7 -4
  41. package/{esm2020 → esm2022}/tools/shared/dialog-content.component.mjs +10 -5
  42. package/{esm2020 → esm2022}/tools/shared/spreadsheet-command-base.mjs +9 -4
  43. package/{esm2020 → esm2022}/tools/shared/spreadsheet-command-button.mjs +6 -0
  44. package/{esm2020 → esm2022}/tools/shared/spreadsheet-dropdown-tools-base.mjs +25 -18
  45. package/{esm2020 → esm2022}/tools/shared/spreadsheet-dropdownlist.base.mjs +12 -8
  46. package/{esm2020 → esm2022}/tools/tables/add-column-left-button.directive.mjs +3 -3
  47. package/{esm2020 → esm2022}/tools/tables/add-column-right-button.directive.mjs +3 -3
  48. package/{esm2020 → esm2022}/tools/tables/add-row-above-button.directive.mjs +3 -3
  49. package/{esm2020 → esm2022}/tools/tables/add-row-below-button.directive.mjs +3 -3
  50. package/{esm2020 → esm2022}/tools/tables/delete-column-button.directive.mjs +3 -3
  51. package/{esm2020 → esm2022}/tools/tables/delete-row-button.directive.mjs +3 -3
  52. package/{esm2020 → esm2022}/tools/tables/merge-tool.directive.mjs +8 -5
  53. package/{esm2020 → esm2022}/tools/text-wrap-tool.directive.mjs +3 -3
  54. package/esm2022/tools/tools.service.mjs +61 -0
  55. package/{esm2020 → esm2022}/tools/typographical-emphasis/bold-tool.directive.mjs +3 -3
  56. package/{esm2020 → esm2022}/tools/typographical-emphasis/italic-tool.directive.mjs +3 -3
  57. package/{esm2020 → esm2022}/tools/typographical-emphasis/underline-tool.directive.mjs +3 -3
  58. package/{fesm2020 → fesm2022}/progress-kendo-angular-spreadsheet.mjs +1194 -709
  59. package/localization/messages.d.ts +1 -1
  60. package/models/sheet-info.d.ts +2 -2
  61. package/package.json +26 -32
  62. package/schematics/ngAdd/index.js +2 -2
  63. package/sheets-bar/sheets-bar.component.d.ts +1 -1
  64. package/spreadsheet.component.d.ts +1 -1
  65. package/tools/load-file.component.d.ts +0 -3
  66. package/tools/shared/commands.d.ts +1 -1
  67. package/tools/shared/spreadsheet-dropdown-tools-base.d.ts +1 -3
  68. package/tools/shared/spreadsheet-dropdownlist.base.d.ts +1 -1
  69. package/esm2020/localization/messages.mjs +0 -175
  70. package/esm2020/tools/tools.service.mjs +0 -60
  71. package/fesm2015/progress-kendo-angular-spreadsheet.mjs +0 -4580
  72. /package/{esm2020 → esm2022}/common/sheet-changes.mjs +0 -0
  73. /package/{esm2020 → esm2022}/directives.mjs +0 -0
  74. /package/{esm2020 → esm2022}/index.mjs +0 -0
  75. /package/{esm2020 → esm2022}/models/events.mjs +0 -0
  76. /package/{esm2020 → esm2022}/models/index.mjs +0 -0
  77. /package/{esm2020 → esm2022}/models/main-menu-item.mjs +0 -0
  78. /package/{esm2020 → esm2022}/models/sheet-info.mjs +0 -0
  79. /package/{esm2020 → esm2022}/progress-kendo-angular-spreadsheet.mjs +0 -0
  80. /package/{esm2020 → esm2022}/sheets-bar/utils.mjs +0 -0
  81. /package/{esm2020 → esm2022}/tools/index.mjs +0 -0
  82. /package/{esm2020 → esm2022}/tools/shared/command-icons.mjs +0 -0
  83. /package/{esm2020 → esm2022}/tools/shared/commands.mjs +0 -0
  84. /package/{esm2020 → esm2022}/tools/shared/constants.mjs +0 -0
  85. /package/{esm2020 → esm2022}/tools/tables/index.mjs +0 -0
  86. /package/{esm2020 → esm2022}/tools/utils.mjs +0 -0
  87. /package/{esm2020 → esm2022}/utils.mjs +0 -0
@@ -24,6 +24,16 @@ import * as i3 from "@progress/kendo-angular-dialog";
24
24
  * @hidden
25
25
  */
26
26
  export class SheetsBarComponent {
27
+ spreadsheetService;
28
+ element;
29
+ renderer;
30
+ localization;
31
+ dialogService;
32
+ ngZone;
33
+ hostClasses = true;
34
+ sheets;
35
+ sheetDescriptors;
36
+ subs = new Subscription();
27
37
  constructor(spreadsheetService, element, renderer, localization, dialogService, ngZone) {
28
38
  this.spreadsheetService = spreadsheetService;
29
39
  this.element = element;
@@ -31,93 +41,33 @@ export class SheetsBarComponent {
31
41
  this.localization = localization;
32
42
  this.dialogService = dialogService;
33
43
  this.ngZone = ngZone;
34
- this.hostClasses = true;
35
- this.subs = new Subscription();
36
- this.plusIcon = plusIcon;
37
- this.menuIcon = menuIcon;
38
- this.caretAltDownIcon = caretAltDownIcon;
39
- this.caretAltLeftIcon = caretAltLeftIcon;
40
- this.caretAltRightIcon = caretAltRightIcon;
41
- this.selected = false;
42
- this.sheetsMenuList = [];
43
- this.openedDdb = null;
44
- this.hiddenStateIcons = {
45
- hidden: 'eye-slash',
46
- visible: 'eye'
47
- };
48
- this.hiddenStateSVGIcons = {
49
- hidden: eyeSlashIcon,
50
- visible: eyeIcon
51
- };
52
- this.onAddClick = () => {
53
- if (this.spreadsheetService.spreadsheet) {
54
- this.spreadsheetService.spreadsheet.view.sheetsbar.onAddSelect();
55
- this.notifySheetsChange();
56
- }
57
- };
58
- this.actionsCallback = {
59
- copy: (sheetInfo) => {
60
- let copies = 0;
61
- const regex = this.getCopyRegex(sheetInfo.text);
62
- this.sheets.forEach(sheet => {
63
- const isPresent = regex.test(sheet.text);
64
- if (isPresent) {
65
- copies += 1;
66
- }
67
- });
68
- const sheetToCopy = this.spreadsheetService.spreadsheet.sheets().find(s => s.name() === sheetInfo.text);
69
- const newName = `${sheetInfo.text} (${copies + 1})`;
70
- this.spreadsheetService.spreadsheet.insertSheet({ data: { ...sheetToCopy.toJSON(), name: newName }, index: sheetInfo.index + 1 });
71
- this.selectSheet(newName);
72
- },
73
- move: (sheetInfo, itemKey) => {
74
- const isMoveRight = itemKey === 'sheetMoveRight';
75
- let oldIndex = -1;
76
- let newIndex = -1;
77
- const sheets = this.spreadsheetService.spreadsheet.sheets();
78
- if (isMoveRight) {
79
- for (let i = 0; i < sheets.length; i++) {
80
- if (sheets[i].name() === sheetInfo.text) {
81
- oldIndex = i;
82
- }
83
- if (oldIndex > -1 && i > oldIndex && sheets[i]._state() === 'visible') {
84
- newIndex = i;
85
- break;
86
- }
87
- }
88
- }
89
- else {
90
- for (let i = sheets.length - 1; i >= 0; i--) {
91
- if (sheets[i].name() === sheetInfo.text) {
92
- oldIndex = i;
93
- }
94
- if (oldIndex > -1 && (i < oldIndex) && sheets[i]._state() === 'visible') {
95
- newIndex = i;
96
- break;
97
- }
98
- }
99
- }
100
- const sheetsBar = this.spreadsheetService.spreadsheet.view.sheetsbar;
101
- sheetsBar.onSheetReorderEnd({ oldIndex, newIndex });
102
- this.selectSheet(sheetInfo.text);
103
- this.notifySheetsChange();
104
- },
105
- hide: (sheet) => {
106
- sheet.state = 'hidden';
107
- const sheets = this.spreadsheetService.spreadsheet.sheets();
108
- const sheetIndex = sheets.findIndex(s => s.name() === sheet.text);
109
- sheets[sheetIndex]._state('hidden');
110
- const newSelectedIndex = sheetIndex < sheets.length - 1 ? sheetIndex + 1 : 0;
111
- const sheetToSelect = sheets[newSelectedIndex].name();
112
- this.selectSheet(sheetToSelect);
113
- this.notifySheetsChange();
114
- }
115
- };
116
44
  this.subs.add(spreadsheetService.onSheetsBarFocus.subscribe(() => ngZone.run(() => this.tabstrip.selectTab(this.sheets.findIndex(sh => sh.text === spreadsheetService.currentActiveSheet)))));
117
45
  }
46
+ addButton;
47
+ menuButton;
48
+ tabstrip;
49
+ actionDdbs;
50
+ actionDdbRefs;
118
51
  get activeSheet() {
119
52
  return this.spreadsheetService.spreadsheet?.activeSheet()?.name();
120
53
  }
54
+ plusIcon = plusIcon;
55
+ menuIcon = menuIcon;
56
+ caretAltDownIcon = caretAltDownIcon;
57
+ caretAltLeftIcon = caretAltLeftIcon;
58
+ caretAltRightIcon = caretAltRightIcon;
59
+ selected = false;
60
+ sheetsMenuList = [];
61
+ openedDdb = null;
62
+ tabListSub;
63
+ hiddenStateIcons = {
64
+ hidden: 'eye-slash',
65
+ visible: 'eye'
66
+ };
67
+ hiddenStateSVGIcons = {
68
+ hidden: eyeSlashIcon,
69
+ visible: eyeIcon
70
+ };
121
71
  get tablistId() {
122
72
  return this.spreadsheetService.tablistId;
123
73
  }
@@ -153,6 +103,12 @@ export class SheetsBarComponent {
153
103
  }
154
104
  this.subs.unsubscribe();
155
105
  }
106
+ onAddClick = () => {
107
+ if (this.spreadsheetService.spreadsheet) {
108
+ this.spreadsheetService.spreadsheet.view.sheetsbar.onAddSelect();
109
+ this.notifySheetsChange();
110
+ }
111
+ };
156
112
  onTabSelect(ev) {
157
113
  if (ev.title !== this.activeSheet) {
158
114
  this.selectSheet(ev.title);
@@ -228,6 +184,64 @@ export class SheetsBarComponent {
228
184
  const st = `(${newName})\\s?\\(`;
229
185
  return new RegExp(st, 's');
230
186
  }
187
+ actionsCallback = {
188
+ copy: (sheetInfo) => {
189
+ let copies = 0;
190
+ const regex = this.getCopyRegex(sheetInfo.text);
191
+ this.sheets.forEach(sheet => {
192
+ const isPresent = regex.test(sheet.text);
193
+ if (isPresent) {
194
+ copies += 1;
195
+ }
196
+ });
197
+ const sheetToCopy = this.spreadsheetService.spreadsheet.sheets().find(s => s.name() === sheetInfo.text);
198
+ const newName = `${sheetInfo.text} (${copies + 1})`;
199
+ this.spreadsheetService.spreadsheet.insertSheet({ data: { ...sheetToCopy.toJSON(), name: newName }, index: sheetInfo.index + 1 });
200
+ this.selectSheet(newName);
201
+ },
202
+ move: (sheetInfo, itemKey) => {
203
+ const isMoveRight = itemKey === 'sheetMoveRight';
204
+ let oldIndex = -1;
205
+ let newIndex = -1;
206
+ const sheets = this.spreadsheetService.spreadsheet.sheets();
207
+ if (isMoveRight) {
208
+ for (let i = 0; i < sheets.length; i++) {
209
+ if (sheets[i].name() === sheetInfo.text) {
210
+ oldIndex = i;
211
+ }
212
+ if (oldIndex > -1 && i > oldIndex && sheets[i]._state() === 'visible') {
213
+ newIndex = i;
214
+ break;
215
+ }
216
+ }
217
+ }
218
+ else {
219
+ for (let i = sheets.length - 1; i >= 0; i--) {
220
+ if (sheets[i].name() === sheetInfo.text) {
221
+ oldIndex = i;
222
+ }
223
+ if (oldIndex > -1 && (i < oldIndex) && sheets[i]._state() === 'visible') {
224
+ newIndex = i;
225
+ break;
226
+ }
227
+ }
228
+ }
229
+ const sheetsBar = this.spreadsheetService.spreadsheet.view.sheetsbar;
230
+ sheetsBar.onSheetReorderEnd({ oldIndex, newIndex });
231
+ this.selectSheet(sheetInfo.text);
232
+ this.notifySheetsChange();
233
+ },
234
+ hide: (sheet) => {
235
+ sheet.state = 'hidden';
236
+ const sheets = this.spreadsheetService.spreadsheet.sheets();
237
+ const sheetIndex = sheets.findIndex(s => s.name() === sheet.text);
238
+ sheets[sheetIndex]._state('hidden');
239
+ const newSelectedIndex = sheetIndex < sheets.length - 1 ? sheetIndex + 1 : 0;
240
+ const sheetToSelect = sheets[newSelectedIndex].name();
241
+ this.selectSheet(sheetToSelect);
242
+ this.notifySheetsChange();
243
+ }
244
+ };
231
245
  selectSheet(sheetName) {
232
246
  const spreadsheetSheet = this.spreadsheetService.spreadsheet.sheets().find(s => s.name() === sheetName);
233
247
  this.spreadsheetService.spreadsheet.activeSheet(spreadsheetSheet);
@@ -236,7 +250,7 @@ export class SheetsBarComponent {
236
250
  this.notifySheetsChange();
237
251
  }
238
252
  onTabListKeyDown(ev) {
239
- const buttonEl = ev.target.querySelector('.k-dropdown-button');
253
+ const buttonEl = ev.target.querySelector('kendo-dropdownbutton');
240
254
  const index = Array.from(this.actionDdbRefs).findIndex(el => el.nativeElement === buttonEl);
241
255
  const ddb = Array.from(this.actionDdbs)[index];
242
256
  if (!ddb) {
@@ -274,9 +288,8 @@ export class SheetsBarComponent {
274
288
  });
275
289
  this.ngZone.onStable.pipe(take(1)).subscribe(() => this.spreadsheetService.spreadsheet.view.clipboard.focus());
276
290
  }
277
- }
278
- SheetsBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SheetsBarComponent, deps: [{ token: i1.SpreadsheetService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.SpreadsheetLocalizationService }, { token: i3.DialogService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
279
- SheetsBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SheetsBarComponent, isStandalone: true, selector: "[kendoSpreadsheetSheetsBar]", inputs: { sheets: "sheets", sheetDescriptors: "sheetDescriptors" }, host: { properties: { "class.k-spreadsheet-sheets-bar": "this.hostClasses" } }, viewQueries: [{ propertyName: "addButton", first: true, predicate: ["addButton"], descendants: true }, { propertyName: "menuButton", first: true, predicate: ["menuButton"], descendants: true }, { propertyName: "tabstrip", first: true, predicate: ["tabstrip"], descendants: true }, { propertyName: "actionDdbs", predicate: ["sheetDdb"], descendants: true }, { propertyName: "actionDdbRefs", predicate: ["sheetDdb"], descendants: true, read: ElementRef }], usesOnChanges: true, ngImport: i0, template: `
291
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SheetsBarComponent, deps: [{ token: i1.SpreadsheetService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.SpreadsheetLocalizationService }, { token: i3.DialogService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
292
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SheetsBarComponent, isStandalone: true, selector: "[kendoSpreadsheetSheetsBar]", inputs: { sheets: "sheets", sheetDescriptors: "sheetDescriptors" }, host: { properties: { "class.k-spreadsheet-sheets-bar": "this.hostClasses" } }, viewQueries: [{ propertyName: "addButton", first: true, predicate: ["addButton"], descendants: true }, { propertyName: "menuButton", first: true, predicate: ["menuButton"], descendants: true }, { propertyName: "tabstrip", first: true, predicate: ["tabstrip"], descendants: true }, { propertyName: "actionDdbs", predicate: ["sheetDdb"], descendants: true }, { propertyName: "actionDdbRefs", predicate: ["sheetDdb"], descendants: true, read: ElementRef }], usesOnChanges: true, ngImport: i0, template: `
280
293
  <button kendoButton #addButton
281
294
  [title]="messageFor('addSheet')"
282
295
  type="button"
@@ -302,7 +315,7 @@ SheetsBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
302
315
  [tabPosition]="'bottom'"
303
316
  [showContentArea]="false"
304
317
  [scrollable]="{prevButtonIcon: 'caret-alt-left', prevSVGButtonIcon: caretAltLeftIcon, nextButtonIcon: 'caret-alt-right', nextSVGButtonIcon: caretAltRightIcon}"
305
- class="k-spreadsheet-sheets k-overflow-hidden"
318
+ class="k-spreadsheet-sheets"
306
319
  (tabSelect)="onTabSelect($event)">
307
320
  <ng-container *ngFor="let sheet of sheets">
308
321
  <kendo-tabstrip-tab
@@ -310,25 +323,30 @@ SheetsBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
310
323
  [title]="sheet.text"
311
324
  [selected]="sheet.text === activeSheet">
312
325
  <ng-template kendoTabTemplate>
313
- <span class="k-link">{{sheet.text}}</span>
314
- <kendo-dropdownbutton #sheetDdb
315
- fillMode="flat"
316
- icon="caret-alt-down"
317
- [svgIcon]="caretAltDownIcon"
318
- buttonClass="k-menu-button"
319
- [data]="sheet.sheetActions"
320
- [buttonAttributes]="{'aria-hidden': 'true', 'tabindex': '-1', role: 'presentation'}"
321
- (open)="onOpen(sheetDdb)"
322
- (close)="onClose()"
323
- (click)="$event.stopPropagation()"
324
- (itemClick)="onActionClick($event, sheet)">
325
- </kendo-dropdownbutton>
326
+ <span class="k-link">
327
+ <span class="k-link-text">{{sheet.text}}</span>
328
+ </span>
329
+ <span class="k-item-actions">
330
+ <kendo-dropdownbutton #sheetDdb
331
+ fillMode="flat"
332
+ icon="caret-alt-down"
333
+ [svgIcon]="caretAltDownIcon"
334
+ buttonClass="k-menu-button"
335
+ [data]="sheet.sheetActions"
336
+ [buttonAttributes]="{'aria-hidden': 'true', 'tabindex': '-1', role: 'presentation'}"
337
+ (open)="onOpen(sheetDdb)"
338
+ (close)="onClose()"
339
+ (click)="$event.stopPropagation()"
340
+ (itemClick)="onActionClick($event, sheet)">
341
+ </kendo-dropdownbutton>
342
+ </span>
326
343
  </ng-template>
327
344
  </kendo-tabstrip-tab>
328
345
  </ng-container>
329
346
  </kendo-tabstrip>
330
- `, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: DropDownButtonComponent, selector: "kendo-dropdownbutton", inputs: ["arrowIcon", "icon", "svgIcon", "iconClass", "imageUrl", "textField", "data", "size", "rounded", "fillMode", "themeColor", "buttonAttributes"], outputs: ["itemClick", "focus", "blur"], exportAs: ["kendoDropDownButton"] }, { kind: "component", type: TabStripComponent, selector: "kendo-tabstrip", inputs: ["height", "animate", "tabAlignment", "tabPosition", "keepTabContent", "closable", "scrollable", "closeIcon", "closeIconClass", "closeSVGIcon", "showContentArea"], outputs: ["tabSelect", "tabClose", "tabScroll"], exportAs: ["kendoTabStrip"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: TabStripTabComponent, selector: "kendo-tabstrip-tab", inputs: ["title", "disabled", "cssClass", "cssStyle", "selected", "closable", "closeIcon", "closeIconClass", "closeSVGIcon"], exportAs: ["kendoTabStripTab"] }, { kind: "directive", type: TabTemplateDirective, selector: "[kendoTabTemplate]" }] });
331
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SheetsBarComponent, decorators: [{
347
+ `, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: DropDownButtonComponent, selector: "kendo-dropdownbutton", inputs: ["arrowIcon", "icon", "svgIcon", "iconClass", "imageUrl", "textField", "data", "size", "rounded", "fillMode", "themeColor", "buttonAttributes"], outputs: ["itemClick", "focus", "blur"], exportAs: ["kendoDropDownButton"] }, { kind: "component", type: TabStripComponent, selector: "kendo-tabstrip", inputs: ["height", "animate", "tabAlignment", "tabPosition", "keepTabContent", "closable", "scrollable", "closeIcon", "closeIconClass", "closeSVGIcon", "showContentArea"], outputs: ["tabSelect", "tabClose", "tabScroll"], exportAs: ["kendoTabStrip"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: TabStripTabComponent, selector: "kendo-tabstrip-tab", inputs: ["title", "disabled", "cssClass", "cssStyle", "selected", "closable", "closeIcon", "closeIconClass", "closeSVGIcon"], exportAs: ["kendoTabStripTab"] }, { kind: "directive", type: TabTemplateDirective, selector: "[kendoTabTemplate]" }] });
348
+ }
349
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SheetsBarComponent, decorators: [{
332
350
  type: Component,
333
351
  args: [{
334
352
  selector: '[kendoSpreadsheetSheetsBar]',
@@ -358,7 +376,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
358
376
  [tabPosition]="'bottom'"
359
377
  [showContentArea]="false"
360
378
  [scrollable]="{prevButtonIcon: 'caret-alt-left', prevSVGButtonIcon: caretAltLeftIcon, nextButtonIcon: 'caret-alt-right', nextSVGButtonIcon: caretAltRightIcon}"
361
- class="k-spreadsheet-sheets k-overflow-hidden"
379
+ class="k-spreadsheet-sheets"
362
380
  (tabSelect)="onTabSelect($event)">
363
381
  <ng-container *ngFor="let sheet of sheets">
364
382
  <kendo-tabstrip-tab
@@ -366,19 +384,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
366
384
  [title]="sheet.text"
367
385
  [selected]="sheet.text === activeSheet">
368
386
  <ng-template kendoTabTemplate>
369
- <span class="k-link">{{sheet.text}}</span>
370
- <kendo-dropdownbutton #sheetDdb
371
- fillMode="flat"
372
- icon="caret-alt-down"
373
- [svgIcon]="caretAltDownIcon"
374
- buttonClass="k-menu-button"
375
- [data]="sheet.sheetActions"
376
- [buttonAttributes]="{'aria-hidden': 'true', 'tabindex': '-1', role: 'presentation'}"
377
- (open)="onOpen(sheetDdb)"
378
- (close)="onClose()"
379
- (click)="$event.stopPropagation()"
380
- (itemClick)="onActionClick($event, sheet)">
381
- </kendo-dropdownbutton>
387
+ <span class="k-link">
388
+ <span class="k-link-text">{{sheet.text}}</span>
389
+ </span>
390
+ <span class="k-item-actions">
391
+ <kendo-dropdownbutton #sheetDdb
392
+ fillMode="flat"
393
+ icon="caret-alt-down"
394
+ [svgIcon]="caretAltDownIcon"
395
+ buttonClass="k-menu-button"
396
+ [data]="sheet.sheetActions"
397
+ [buttonAttributes]="{'aria-hidden': 'true', 'tabindex': '-1', role: 'presentation'}"
398
+ (open)="onOpen(sheetDdb)"
399
+ (close)="onClose()"
400
+ (click)="$event.stopPropagation()"
401
+ (itemClick)="onActionClick($event, sheet)">
402
+ </kendo-dropdownbutton>
403
+ </span>
382
404
  </ng-template>
383
405
  </kendo-tabstrip-tab>
384
406
  </ng-container>