@progress/kendo-angular-spreadsheet 14.2.0 → 14.2.1-develop.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/action-bar/formula-input.directive.d.ts +5 -1
- package/action-bar/namebox.component.d.ts +6 -3
- package/esm2020/action-bar/formula-input.directive.mjs +17 -4
- package/esm2020/action-bar/namebox.component.mjs +13 -5
- package/esm2020/localization/messages.mjs +3 -1
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/spreadsheet.component.mjs +5 -1
- package/esm2020/tools/colorpicker/spreadsheet-backcolor.component.mjs +2 -2
- package/esm2020/tools/colorpicker/spreadsheet-forecolor.component.mjs +2 -2
- package/fesm2015/progress-kendo-angular-spreadsheet.mjs +41 -16
- package/fesm2020/progress-kendo-angular-spreadsheet.mjs +41 -16
- package/localization/messages.d.ts +5 -1
- package/package.json +13 -13
- package/schematics/ngAdd/index.js +1 -1
|
@@ -6,6 +6,7 @@ import { ElementRef } from '@angular/core';
|
|
|
6
6
|
import { FormulaListComponent } from './list.component';
|
|
7
7
|
import { PopupService } from '@progress/kendo-angular-popup';
|
|
8
8
|
import { SpreadsheetService } from '../common/spreadsheet.service';
|
|
9
|
+
import { SpreadsheetLocalizationService } from '../localization/spreadsheet-localization.service';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
11
|
/**
|
|
11
12
|
* @hidden
|
|
@@ -14,13 +15,16 @@ export declare class FormulaInputDirective {
|
|
|
14
15
|
element: ElementRef;
|
|
15
16
|
private popupService;
|
|
16
17
|
private spreadsheetService;
|
|
18
|
+
private localization;
|
|
17
19
|
hostClasses: boolean;
|
|
20
|
+
get title(): string;
|
|
21
|
+
role: string;
|
|
18
22
|
ariaHasPopup: string;
|
|
19
23
|
ariaExpanded: string;
|
|
20
24
|
get ariaControls(): string;
|
|
21
25
|
list: FormulaListComponent;
|
|
22
26
|
data: any[];
|
|
23
|
-
constructor(element: ElementRef, popupService: PopupService, spreadsheetService: SpreadsheetService);
|
|
27
|
+
constructor(element: ElementRef, popupService: PopupService, spreadsheetService: SpreadsheetService, localization: SpreadsheetLocalizationService);
|
|
24
28
|
private popupRef;
|
|
25
29
|
private handler;
|
|
26
30
|
private get listElement();
|
|
@@ -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 { ElementRef, NgZone } from '@angular/core';
|
|
5
|
+
import { AfterViewInit, ElementRef, NgZone, Renderer2 } from '@angular/core';
|
|
6
6
|
import { SpreadsheetWidget } from '@progress/kendo-spreadsheet-common';
|
|
7
7
|
import { Observable } from 'rxjs';
|
|
8
8
|
import { SpreadsheetLocalizationService } from '../localization/spreadsheet-localization.service';
|
|
@@ -10,17 +10,20 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
/**
|
|
11
11
|
* @hidden
|
|
12
12
|
*/
|
|
13
|
-
export declare class NameBoxComponent {
|
|
13
|
+
export declare class NameBoxComponent implements AfterViewInit {
|
|
14
14
|
private ngZone;
|
|
15
15
|
private host;
|
|
16
16
|
protected localization: SpreadsheetLocalizationService;
|
|
17
|
+
private renderer;
|
|
17
18
|
hostClass: boolean;
|
|
18
19
|
keyDownHandler(): void;
|
|
19
20
|
private combobox;
|
|
20
21
|
data: any[];
|
|
21
22
|
spreadsheetWidget: SpreadsheetWidget;
|
|
22
|
-
constructor(ngZone: NgZone, host: ElementRef, localization: SpreadsheetLocalizationService);
|
|
23
|
+
constructor(ngZone: NgZone, host: ElementRef, localization: SpreadsheetLocalizationService, renderer: Renderer2);
|
|
24
|
+
ngAfterViewInit(): void;
|
|
23
25
|
value: any;
|
|
26
|
+
get inputElement(): any;
|
|
24
27
|
get current(): any;
|
|
25
28
|
get title(): string;
|
|
26
29
|
onSelectionChange(value: any): void;
|
|
@@ -6,18 +6,22 @@ import { Directive, ElementRef, HostBinding } from '@angular/core';
|
|
|
6
6
|
import { FormulaListComponent } from './list.component';
|
|
7
7
|
import { PopupService } from '@progress/kendo-angular-popup';
|
|
8
8
|
import { SpreadsheetService } from '../common/spreadsheet.service';
|
|
9
|
+
import { SpreadsheetLocalizationService } from '../localization/spreadsheet-localization.service';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
11
|
import * as i1 from "@progress/kendo-angular-popup";
|
|
11
12
|
import * as i2 from "../common/spreadsheet.service";
|
|
13
|
+
import * as i3 from "../localization/spreadsheet-localization.service";
|
|
12
14
|
/**
|
|
13
15
|
* @hidden
|
|
14
16
|
*/
|
|
15
17
|
export class FormulaInputDirective {
|
|
16
|
-
constructor(element, popupService, spreadsheetService) {
|
|
18
|
+
constructor(element, popupService, spreadsheetService, localization) {
|
|
17
19
|
this.element = element;
|
|
18
20
|
this.popupService = popupService;
|
|
19
21
|
this.spreadsheetService = spreadsheetService;
|
|
22
|
+
this.localization = localization;
|
|
20
23
|
this.hostClasses = true;
|
|
24
|
+
this.role = 'combobox';
|
|
21
25
|
this.ariaHasPopup = 'menu';
|
|
22
26
|
this.ariaExpanded = 'false';
|
|
23
27
|
this.focusedItem = () => this.list?.element.nativeElement.querySelector('.k-focus');
|
|
@@ -45,6 +49,9 @@ export class FormulaInputDirective {
|
|
|
45
49
|
}
|
|
46
50
|
};
|
|
47
51
|
}
|
|
52
|
+
get title() {
|
|
53
|
+
return this.localization.get('formulaInput');
|
|
54
|
+
}
|
|
48
55
|
get ariaControls() {
|
|
49
56
|
return this.ariaExpanded === 'true' ? this.spreadsheetService.formulaListId : null;
|
|
50
57
|
}
|
|
@@ -120,16 +127,22 @@ export class FormulaInputDirective {
|
|
|
120
127
|
};
|
|
121
128
|
}
|
|
122
129
|
}
|
|
123
|
-
FormulaInputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormulaInputDirective, deps: [{ token: i0.ElementRef }, { token: i1.PopupService }, { token: i2.SpreadsheetService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
124
|
-
FormulaInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: FormulaInputDirective, selector: "[kendoSpreadsheetFormulaInput]", host: { properties: { "class.k-spreadsheet-formula-input": "this.hostClasses", "attr.aria-haspopup": "this.ariaHasPopup", "attr.aria-expanded": "this.ariaExpanded", "attr.aria-controls": "this.ariaControls" } }, ngImport: i0 });
|
|
130
|
+
FormulaInputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormulaInputDirective, deps: [{ token: i0.ElementRef }, { token: i1.PopupService }, { token: i2.SpreadsheetService }, { token: i3.SpreadsheetLocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
131
|
+
FormulaInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: FormulaInputDirective, selector: "[kendoSpreadsheetFormulaInput]", host: { properties: { "class.k-spreadsheet-formula-input": "this.hostClasses", "attr.title": "this.title", "attr.role": "this.role", "attr.aria-haspopup": "this.ariaHasPopup", "attr.aria-expanded": "this.ariaExpanded", "attr.aria-controls": "this.ariaControls" } }, ngImport: i0 });
|
|
125
132
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormulaInputDirective, decorators: [{
|
|
126
133
|
type: Directive,
|
|
127
134
|
args: [{
|
|
128
135
|
selector: '[kendoSpreadsheetFormulaInput]',
|
|
129
136
|
}]
|
|
130
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.PopupService }, { type: i2.SpreadsheetService }]; }, propDecorators: { hostClasses: [{
|
|
137
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.PopupService }, { type: i2.SpreadsheetService }, { type: i3.SpreadsheetLocalizationService }]; }, propDecorators: { hostClasses: [{
|
|
131
138
|
type: HostBinding,
|
|
132
139
|
args: ['class.k-spreadsheet-formula-input']
|
|
140
|
+
}], title: [{
|
|
141
|
+
type: HostBinding,
|
|
142
|
+
args: ['attr.title']
|
|
143
|
+
}], role: [{
|
|
144
|
+
type: HostBinding,
|
|
145
|
+
args: ['attr.role']
|
|
133
146
|
}], ariaHasPopup: [{
|
|
134
147
|
type: HostBinding,
|
|
135
148
|
args: ['attr.aria-haspopup']
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ComboBoxComponent } from '@progress/kendo-angular-dropdowns';
|
|
6
|
-
import { Component, ElementRef, HostBinding, HostListener, Input, NgZone, ViewChild } from '@angular/core';
|
|
6
|
+
import { Component, ElementRef, HostBinding, HostListener, Input, NgZone, Renderer2, ViewChild } from '@angular/core';
|
|
7
7
|
import { SpreadsheetWidget } from '@progress/kendo-spreadsheet-common';
|
|
8
8
|
import { map } from 'rxjs/operators';
|
|
9
9
|
import { SpreadsheetLocalizationService } from '../localization/spreadsheet-localization.service';
|
|
@@ -14,20 +14,28 @@ import * as i2 from "@progress/kendo-angular-dropdowns";
|
|
|
14
14
|
* @hidden
|
|
15
15
|
*/
|
|
16
16
|
export class NameBoxComponent {
|
|
17
|
-
constructor(ngZone, host, localization) {
|
|
17
|
+
constructor(ngZone, host, localization, renderer) {
|
|
18
18
|
this.ngZone = ngZone;
|
|
19
19
|
this.host = host;
|
|
20
20
|
this.localization = localization;
|
|
21
|
+
this.renderer = renderer;
|
|
21
22
|
this.hostClass = true;
|
|
22
23
|
this.valueNormalizer = (text) => text.pipe(map((content) => ({ name: content })));
|
|
23
24
|
}
|
|
24
25
|
keyDownHandler() {
|
|
25
26
|
const editor = this.spreadsheetWidget.view.nameEditor;
|
|
26
27
|
if (editor) {
|
|
27
|
-
const name = this.
|
|
28
|
+
const name = this.inputElement.value;
|
|
28
29
|
editor.trigger('enter', { value: name });
|
|
29
30
|
}
|
|
30
31
|
}
|
|
32
|
+
ngAfterViewInit() {
|
|
33
|
+
this.renderer.setAttribute(this.inputElement, 'title', this.title);
|
|
34
|
+
this.renderer.setAttribute(this.inputElement, 'aria-label', this.title);
|
|
35
|
+
}
|
|
36
|
+
get inputElement() {
|
|
37
|
+
return this.host.nativeElement.querySelector('.k-input-inner');
|
|
38
|
+
}
|
|
31
39
|
get current() {
|
|
32
40
|
return {
|
|
33
41
|
value: (val) => {
|
|
@@ -64,7 +72,7 @@ export class NameBoxComponent {
|
|
|
64
72
|
}
|
|
65
73
|
;
|
|
66
74
|
}
|
|
67
|
-
NameBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: NameBoxComponent, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }, { token: i1.SpreadsheetLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
75
|
+
NameBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: NameBoxComponent, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }, { token: i1.SpreadsheetLocalizationService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
68
76
|
NameBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: NameBoxComponent, selector: "[kendoSpreadsheetNameBox]", inputs: { data: "data", spreadsheetWidget: "spreadsheetWidget" }, host: { listeners: { "keydown.enter": "keyDownHandler()" }, properties: { "class.k-spreadsheet-name-editor": "this.hostClass" } }, viewQueries: [{ propertyName: "combobox", first: true, predicate: ["combobox"], descendants: true }], ngImport: i0, template: `
|
|
69
77
|
<kendo-combobox #combobox
|
|
70
78
|
[popupSettings]="{popupClass: 'k-spreadsheet-names-popup'}"
|
|
@@ -102,7 +110,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
102
110
|
></kendo-combobox>
|
|
103
111
|
`
|
|
104
112
|
}]
|
|
105
|
-
}], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i0.ElementRef }, { type: i1.SpreadsheetLocalizationService }]; }, propDecorators: { hostClass: [{
|
|
113
|
+
}], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i0.ElementRef }, { type: i1.SpreadsheetLocalizationService }, { type: i0.Renderer2 }]; }, propDecorators: { hostClass: [{
|
|
106
114
|
type: HostBinding,
|
|
107
115
|
args: ['class.k-spreadsheet-name-editor']
|
|
108
116
|
}], keyDownHandler: [{
|
|
@@ -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", 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 });
|
|
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", 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" }, 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: [{
|
|
@@ -103,6 +103,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
103
103
|
type: Input
|
|
104
104
|
}], nameBox: [{
|
|
105
105
|
type: Input
|
|
106
|
+
}], formulaInput: [{
|
|
107
|
+
type: Input
|
|
106
108
|
}], addSheet: [{
|
|
107
109
|
type: Input
|
|
108
110
|
}], sheetsMenu: [{
|
|
@@ -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:
|
|
13
|
-
version: '14.2.
|
|
12
|
+
publishDate: 1701342735,
|
|
13
|
+
version: '14.2.1-develop.1',
|
|
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
|
};
|
|
@@ -219,7 +219,7 @@ export class SpreadsheetComponent {
|
|
|
219
219
|
this.ngZone.onStable.pipe(take(1)).subscribe(() => {
|
|
220
220
|
const normalizedItems = items.map(item => ({
|
|
221
221
|
active: item.active,
|
|
222
|
-
text: this.messageFor(item.id),
|
|
222
|
+
text: item.id === 'format' ? this.messageFor('formatTab') : this.messageFor(item.id),
|
|
223
223
|
cssClass: item.active ? 'k-active' : null,
|
|
224
224
|
id: item.id
|
|
225
225
|
}));
|
|
@@ -495,6 +495,8 @@ SpreadsheetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
495
495
|
delete="Delete Sheet"
|
|
496
496
|
i18n-nameBox="kendo.spreadsheet.nameBox|The title of the Name Box input."
|
|
497
497
|
nameBox="Name Box"
|
|
498
|
+
i18n-formulaInput="kendo.spreadsheet.formulaInput|The title of the Formula input."
|
|
499
|
+
formulaInput="Formula Input"
|
|
498
500
|
i18n-addSheet="kendo.spreadsheet.addSheet|The title of the Add new sheet button."
|
|
499
501
|
addSheet="Add New Sheet"
|
|
500
502
|
i18n-sheetsMenu="kendo.spreadsheet.sheetsMenu|The title of the Sheets menu button."
|
|
@@ -742,6 +744,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
742
744
|
delete="Delete Sheet"
|
|
743
745
|
i18n-nameBox="kendo.spreadsheet.nameBox|The title of the Name Box input."
|
|
744
746
|
nameBox="Name Box"
|
|
747
|
+
i18n-formulaInput="kendo.spreadsheet.formulaInput|The title of the Formula input."
|
|
748
|
+
formulaInput="Formula Input"
|
|
745
749
|
i18n-addSheet="kendo.spreadsheet.addSheet|The title of the Add new sheet button."
|
|
746
750
|
addSheet="Add New Sheet"
|
|
747
751
|
i18n-sheetsMenu="kendo.spreadsheet.sheetsMenu|The title of the Sheets menu button."
|
|
@@ -48,7 +48,7 @@ SpreadsheetBackColorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
48
48
|
[tabindex]="tabindex"
|
|
49
49
|
role="menuitem"
|
|
50
50
|
class="k-item k-menu-item"
|
|
51
|
-
(click)="openDialog()
|
|
51
|
+
(click)="openDialog()">
|
|
52
52
|
<span
|
|
53
53
|
class="k-link k-menu-link">
|
|
54
54
|
<kendo-icon-wrapper [name]="icon" [svgIcon]="svgIcon"></kendo-icon-wrapper>
|
|
@@ -82,7 +82,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
82
82
|
[tabindex]="tabindex"
|
|
83
83
|
role="menuitem"
|
|
84
84
|
class="k-item k-menu-item"
|
|
85
|
-
(click)="openDialog()
|
|
85
|
+
(click)="openDialog()">
|
|
86
86
|
<span
|
|
87
87
|
class="k-link k-menu-link">
|
|
88
88
|
<kendo-icon-wrapper [name]="icon" [svgIcon]="svgIcon"></kendo-icon-wrapper>
|
|
@@ -48,7 +48,7 @@ SpreadsheetForeColorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
48
48
|
[tabindex]="tabindex"
|
|
49
49
|
role="menuitem"
|
|
50
50
|
class="k-item k-menu-item"
|
|
51
|
-
(click)="openDialog()
|
|
51
|
+
(click)="openDialog()">
|
|
52
52
|
<span
|
|
53
53
|
class="k-link k-menu-link">
|
|
54
54
|
<kendo-icon-wrapper [name]="icon" [svgIcon]="svgIcon"></kendo-icon-wrapper>
|
|
@@ -82,7 +82,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
82
82
|
[tabindex]="tabindex"
|
|
83
83
|
role="menuitem"
|
|
84
84
|
class="k-item k-menu-item"
|
|
85
|
-
(click)="openDialog()
|
|
85
|
+
(click)="openDialog()">
|
|
86
86
|
<span
|
|
87
87
|
class="k-link k-menu-link">
|
|
88
88
|
<kendo-icon-wrapper [name]="icon" [svgIcon]="svgIcon"></kendo-icon-wrapper>
|
|
@@ -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:
|
|
51
|
-
version: '14.2.
|
|
50
|
+
publishDate: 1701342735,
|
|
51
|
+
version: '14.2.1-develop.1',
|
|
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
|
|
|
@@ -264,11 +264,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
264
264
|
* @hidden
|
|
265
265
|
*/
|
|
266
266
|
class FormulaInputDirective {
|
|
267
|
-
constructor(element, popupService, spreadsheetService) {
|
|
267
|
+
constructor(element, popupService, spreadsheetService, localization) {
|
|
268
268
|
this.element = element;
|
|
269
269
|
this.popupService = popupService;
|
|
270
270
|
this.spreadsheetService = spreadsheetService;
|
|
271
|
+
this.localization = localization;
|
|
271
272
|
this.hostClasses = true;
|
|
273
|
+
this.role = 'combobox';
|
|
272
274
|
this.ariaHasPopup = 'menu';
|
|
273
275
|
this.ariaExpanded = 'false';
|
|
274
276
|
this.focusedItem = () => { var _a; return (_a = this.list) === null || _a === void 0 ? void 0 : _a.element.nativeElement.querySelector('.k-focus'); };
|
|
@@ -297,6 +299,9 @@ class FormulaInputDirective {
|
|
|
297
299
|
}
|
|
298
300
|
};
|
|
299
301
|
}
|
|
302
|
+
get title() {
|
|
303
|
+
return this.localization.get('formulaInput');
|
|
304
|
+
}
|
|
300
305
|
get ariaControls() {
|
|
301
306
|
return this.ariaExpanded === 'true' ? this.spreadsheetService.formulaListId : null;
|
|
302
307
|
}
|
|
@@ -375,16 +380,22 @@ class FormulaInputDirective {
|
|
|
375
380
|
};
|
|
376
381
|
}
|
|
377
382
|
}
|
|
378
|
-
FormulaInputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormulaInputDirective, deps: [{ token: i0.ElementRef }, { token: i1.PopupService }, { token: SpreadsheetService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
379
|
-
FormulaInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: FormulaInputDirective, selector: "[kendoSpreadsheetFormulaInput]", host: { properties: { "class.k-spreadsheet-formula-input": "this.hostClasses", "attr.aria-haspopup": "this.ariaHasPopup", "attr.aria-expanded": "this.ariaExpanded", "attr.aria-controls": "this.ariaControls" } }, ngImport: i0 });
|
|
383
|
+
FormulaInputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormulaInputDirective, deps: [{ token: i0.ElementRef }, { token: i1.PopupService }, { token: SpreadsheetService }, { token: SpreadsheetLocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
384
|
+
FormulaInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: FormulaInputDirective, selector: "[kendoSpreadsheetFormulaInput]", host: { properties: { "class.k-spreadsheet-formula-input": "this.hostClasses", "attr.title": "this.title", "attr.role": "this.role", "attr.aria-haspopup": "this.ariaHasPopup", "attr.aria-expanded": "this.ariaExpanded", "attr.aria-controls": "this.ariaControls" } }, ngImport: i0 });
|
|
380
385
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormulaInputDirective, decorators: [{
|
|
381
386
|
type: Directive,
|
|
382
387
|
args: [{
|
|
383
388
|
selector: '[kendoSpreadsheetFormulaInput]',
|
|
384
389
|
}]
|
|
385
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.PopupService }, { type: SpreadsheetService }]; }, propDecorators: { hostClasses: [{
|
|
390
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.PopupService }, { type: SpreadsheetService }, { type: SpreadsheetLocalizationService }]; }, propDecorators: { hostClasses: [{
|
|
386
391
|
type: HostBinding,
|
|
387
392
|
args: ['class.k-spreadsheet-formula-input']
|
|
393
|
+
}], title: [{
|
|
394
|
+
type: HostBinding,
|
|
395
|
+
args: ['attr.title']
|
|
396
|
+
}], role: [{
|
|
397
|
+
type: HostBinding,
|
|
398
|
+
args: ['attr.role']
|
|
388
399
|
}], ariaHasPopup: [{
|
|
389
400
|
type: HostBinding,
|
|
390
401
|
args: ['attr.aria-haspopup']
|
|
@@ -1416,7 +1427,7 @@ SpreadsheetForeColorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
1416
1427
|
[tabindex]="tabindex"
|
|
1417
1428
|
role="menuitem"
|
|
1418
1429
|
class="k-item k-menu-item"
|
|
1419
|
-
(click)="openDialog()
|
|
1430
|
+
(click)="openDialog()">
|
|
1420
1431
|
<span
|
|
1421
1432
|
class="k-link k-menu-link">
|
|
1422
1433
|
<kendo-icon-wrapper [name]="icon" [svgIcon]="svgIcon"></kendo-icon-wrapper>
|
|
@@ -1450,7 +1461,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
1450
1461
|
[tabindex]="tabindex"
|
|
1451
1462
|
role="menuitem"
|
|
1452
1463
|
class="k-item k-menu-item"
|
|
1453
|
-
(click)="openDialog()
|
|
1464
|
+
(click)="openDialog()">
|
|
1454
1465
|
<span
|
|
1455
1466
|
class="k-link k-menu-link">
|
|
1456
1467
|
<kendo-icon-wrapper [name]="icon" [svgIcon]="svgIcon"></kendo-icon-wrapper>
|
|
@@ -1497,7 +1508,7 @@ SpreadsheetBackColorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
1497
1508
|
[tabindex]="tabindex"
|
|
1498
1509
|
role="menuitem"
|
|
1499
1510
|
class="k-item k-menu-item"
|
|
1500
|
-
(click)="openDialog()
|
|
1511
|
+
(click)="openDialog()">
|
|
1501
1512
|
<span
|
|
1502
1513
|
class="k-link k-menu-link">
|
|
1503
1514
|
<kendo-icon-wrapper [name]="icon" [svgIcon]="svgIcon"></kendo-icon-wrapper>
|
|
@@ -1531,7 +1542,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
1531
1542
|
[tabindex]="tabindex"
|
|
1532
1543
|
role="menuitem"
|
|
1533
1544
|
class="k-item k-menu-item"
|
|
1534
|
-
(click)="openDialog()
|
|
1545
|
+
(click)="openDialog()">
|
|
1535
1546
|
<span
|
|
1536
1547
|
class="k-link k-menu-link">
|
|
1537
1548
|
<kendo-icon-wrapper [name]="icon" [svgIcon]="svgIcon"></kendo-icon-wrapper>
|
|
@@ -1552,20 +1563,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
1552
1563
|
* @hidden
|
|
1553
1564
|
*/
|
|
1554
1565
|
class NameBoxComponent {
|
|
1555
|
-
constructor(ngZone, host, localization) {
|
|
1566
|
+
constructor(ngZone, host, localization, renderer) {
|
|
1556
1567
|
this.ngZone = ngZone;
|
|
1557
1568
|
this.host = host;
|
|
1558
1569
|
this.localization = localization;
|
|
1570
|
+
this.renderer = renderer;
|
|
1559
1571
|
this.hostClass = true;
|
|
1560
1572
|
this.valueNormalizer = (text) => text.pipe(map((content) => ({ name: content })));
|
|
1561
1573
|
}
|
|
1562
1574
|
keyDownHandler() {
|
|
1563
1575
|
const editor = this.spreadsheetWidget.view.nameEditor;
|
|
1564
1576
|
if (editor) {
|
|
1565
|
-
const name = this.
|
|
1577
|
+
const name = this.inputElement.value;
|
|
1566
1578
|
editor.trigger('enter', { value: name });
|
|
1567
1579
|
}
|
|
1568
1580
|
}
|
|
1581
|
+
ngAfterViewInit() {
|
|
1582
|
+
this.renderer.setAttribute(this.inputElement, 'title', this.title);
|
|
1583
|
+
this.renderer.setAttribute(this.inputElement, 'aria-label', this.title);
|
|
1584
|
+
}
|
|
1585
|
+
get inputElement() {
|
|
1586
|
+
return this.host.nativeElement.querySelector('.k-input-inner');
|
|
1587
|
+
}
|
|
1569
1588
|
get current() {
|
|
1570
1589
|
return {
|
|
1571
1590
|
value: (val) => {
|
|
@@ -1602,7 +1621,7 @@ class NameBoxComponent {
|
|
|
1602
1621
|
}
|
|
1603
1622
|
;
|
|
1604
1623
|
}
|
|
1605
|
-
NameBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: NameBoxComponent, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }, { token: SpreadsheetLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1624
|
+
NameBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: NameBoxComponent, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }, { token: SpreadsheetLocalizationService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
1606
1625
|
NameBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: NameBoxComponent, selector: "[kendoSpreadsheetNameBox]", inputs: { data: "data", spreadsheetWidget: "spreadsheetWidget" }, host: { listeners: { "keydown.enter": "keyDownHandler()" }, properties: { "class.k-spreadsheet-name-editor": "this.hostClass" } }, viewQueries: [{ propertyName: "combobox", first: true, predicate: ["combobox"], descendants: true }], ngImport: i0, template: `
|
|
1607
1626
|
<kendo-combobox #combobox
|
|
1608
1627
|
[popupSettings]="{popupClass: 'k-spreadsheet-names-popup'}"
|
|
@@ -1640,7 +1659,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
1640
1659
|
></kendo-combobox>
|
|
1641
1660
|
`
|
|
1642
1661
|
}]
|
|
1643
|
-
}], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i0.ElementRef }, { type: SpreadsheetLocalizationService }]; }, propDecorators: { hostClass: [{
|
|
1662
|
+
}], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i0.ElementRef }, { type: SpreadsheetLocalizationService }, { type: i0.Renderer2 }]; }, propDecorators: { hostClass: [{
|
|
1644
1663
|
type: HostBinding,
|
|
1645
1664
|
args: ['class.k-spreadsheet-name-editor']
|
|
1646
1665
|
}], keyDownHandler: [{
|
|
@@ -2027,7 +2046,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
2027
2046
|
class MessagesDirective extends ComponentMessages {
|
|
2028
2047
|
}
|
|
2029
2048
|
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", 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 });
|
|
2049
|
+
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", 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" }, usesInheritance: true, ngImport: i0 });
|
|
2031
2050
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MessagesDirective, decorators: [{
|
|
2032
2051
|
type: Directive,
|
|
2033
2052
|
args: [{
|
|
@@ -2119,6 +2138,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
2119
2138
|
type: Input
|
|
2120
2139
|
}], nameBox: [{
|
|
2121
2140
|
type: Input
|
|
2141
|
+
}], formulaInput: [{
|
|
2142
|
+
type: Input
|
|
2122
2143
|
}], addSheet: [{
|
|
2123
2144
|
type: Input
|
|
2124
2145
|
}], sheetsMenu: [{
|
|
@@ -3193,7 +3214,7 @@ class SpreadsheetComponent {
|
|
|
3193
3214
|
this.ngZone.onStable.pipe(take(1)).subscribe(() => {
|
|
3194
3215
|
const normalizedItems = items.map(item => ({
|
|
3195
3216
|
active: item.active,
|
|
3196
|
-
text: this.messageFor(item.id),
|
|
3217
|
+
text: item.id === 'format' ? this.messageFor('formatTab') : this.messageFor(item.id),
|
|
3197
3218
|
cssClass: item.active ? 'k-active' : null,
|
|
3198
3219
|
id: item.id
|
|
3199
3220
|
}));
|
|
@@ -3448,6 +3469,8 @@ SpreadsheetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
3448
3469
|
delete="Delete Sheet"
|
|
3449
3470
|
i18n-nameBox="kendo.spreadsheet.nameBox|The title of the Name Box input."
|
|
3450
3471
|
nameBox="Name Box"
|
|
3472
|
+
i18n-formulaInput="kendo.spreadsheet.formulaInput|The title of the Formula input."
|
|
3473
|
+
formulaInput="Formula Input"
|
|
3451
3474
|
i18n-addSheet="kendo.spreadsheet.addSheet|The title of the Add new sheet button."
|
|
3452
3475
|
addSheet="Add New Sheet"
|
|
3453
3476
|
i18n-sheetsMenu="kendo.spreadsheet.sheetsMenu|The title of the Sheets menu button."
|
|
@@ -3695,6 +3718,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
3695
3718
|
delete="Delete Sheet"
|
|
3696
3719
|
i18n-nameBox="kendo.spreadsheet.nameBox|The title of the Name Box input."
|
|
3697
3720
|
nameBox="Name Box"
|
|
3721
|
+
i18n-formulaInput="kendo.spreadsheet.formulaInput|The title of the Formula input."
|
|
3722
|
+
formulaInput="Formula Input"
|
|
3698
3723
|
i18n-addSheet="kendo.spreadsheet.addSheet|The title of the Add new sheet button."
|
|
3699
3724
|
addSheet="Add New Sheet"
|
|
3700
3725
|
i18n-sheetsMenu="kendo.spreadsheet.sheetsMenu|The title of the Sheets menu button."
|
|
@@ -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:
|
|
51
|
-
version: '14.2.
|
|
50
|
+
publishDate: 1701342735,
|
|
51
|
+
version: '14.2.1-develop.1',
|
|
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
|
|
|
@@ -261,11 +261,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
261
261
|
* @hidden
|
|
262
262
|
*/
|
|
263
263
|
class FormulaInputDirective {
|
|
264
|
-
constructor(element, popupService, spreadsheetService) {
|
|
264
|
+
constructor(element, popupService, spreadsheetService, localization) {
|
|
265
265
|
this.element = element;
|
|
266
266
|
this.popupService = popupService;
|
|
267
267
|
this.spreadsheetService = spreadsheetService;
|
|
268
|
+
this.localization = localization;
|
|
268
269
|
this.hostClasses = true;
|
|
270
|
+
this.role = 'combobox';
|
|
269
271
|
this.ariaHasPopup = 'menu';
|
|
270
272
|
this.ariaExpanded = 'false';
|
|
271
273
|
this.focusedItem = () => this.list?.element.nativeElement.querySelector('.k-focus');
|
|
@@ -293,6 +295,9 @@ class FormulaInputDirective {
|
|
|
293
295
|
}
|
|
294
296
|
};
|
|
295
297
|
}
|
|
298
|
+
get title() {
|
|
299
|
+
return this.localization.get('formulaInput');
|
|
300
|
+
}
|
|
296
301
|
get ariaControls() {
|
|
297
302
|
return this.ariaExpanded === 'true' ? this.spreadsheetService.formulaListId : null;
|
|
298
303
|
}
|
|
@@ -368,16 +373,22 @@ class FormulaInputDirective {
|
|
|
368
373
|
};
|
|
369
374
|
}
|
|
370
375
|
}
|
|
371
|
-
FormulaInputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormulaInputDirective, deps: [{ token: i0.ElementRef }, { token: i1.PopupService }, { token: SpreadsheetService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
372
|
-
FormulaInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: FormulaInputDirective, selector: "[kendoSpreadsheetFormulaInput]", host: { properties: { "class.k-spreadsheet-formula-input": "this.hostClasses", "attr.aria-haspopup": "this.ariaHasPopup", "attr.aria-expanded": "this.ariaExpanded", "attr.aria-controls": "this.ariaControls" } }, ngImport: i0 });
|
|
376
|
+
FormulaInputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormulaInputDirective, deps: [{ token: i0.ElementRef }, { token: i1.PopupService }, { token: SpreadsheetService }, { token: SpreadsheetLocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
377
|
+
FormulaInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: FormulaInputDirective, selector: "[kendoSpreadsheetFormulaInput]", host: { properties: { "class.k-spreadsheet-formula-input": "this.hostClasses", "attr.title": "this.title", "attr.role": "this.role", "attr.aria-haspopup": "this.ariaHasPopup", "attr.aria-expanded": "this.ariaExpanded", "attr.aria-controls": "this.ariaControls" } }, ngImport: i0 });
|
|
373
378
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormulaInputDirective, decorators: [{
|
|
374
379
|
type: Directive,
|
|
375
380
|
args: [{
|
|
376
381
|
selector: '[kendoSpreadsheetFormulaInput]',
|
|
377
382
|
}]
|
|
378
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.PopupService }, { type: SpreadsheetService }]; }, propDecorators: { hostClasses: [{
|
|
383
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.PopupService }, { type: SpreadsheetService }, { type: SpreadsheetLocalizationService }]; }, propDecorators: { hostClasses: [{
|
|
379
384
|
type: HostBinding,
|
|
380
385
|
args: ['class.k-spreadsheet-formula-input']
|
|
386
|
+
}], title: [{
|
|
387
|
+
type: HostBinding,
|
|
388
|
+
args: ['attr.title']
|
|
389
|
+
}], role: [{
|
|
390
|
+
type: HostBinding,
|
|
391
|
+
args: ['attr.role']
|
|
381
392
|
}], ariaHasPopup: [{
|
|
382
393
|
type: HostBinding,
|
|
383
394
|
args: ['attr.aria-haspopup']
|
|
@@ -1399,7 +1410,7 @@ SpreadsheetForeColorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
1399
1410
|
[tabindex]="tabindex"
|
|
1400
1411
|
role="menuitem"
|
|
1401
1412
|
class="k-item k-menu-item"
|
|
1402
|
-
(click)="openDialog()
|
|
1413
|
+
(click)="openDialog()">
|
|
1403
1414
|
<span
|
|
1404
1415
|
class="k-link k-menu-link">
|
|
1405
1416
|
<kendo-icon-wrapper [name]="icon" [svgIcon]="svgIcon"></kendo-icon-wrapper>
|
|
@@ -1433,7 +1444,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
1433
1444
|
[tabindex]="tabindex"
|
|
1434
1445
|
role="menuitem"
|
|
1435
1446
|
class="k-item k-menu-item"
|
|
1436
|
-
(click)="openDialog()
|
|
1447
|
+
(click)="openDialog()">
|
|
1437
1448
|
<span
|
|
1438
1449
|
class="k-link k-menu-link">
|
|
1439
1450
|
<kendo-icon-wrapper [name]="icon" [svgIcon]="svgIcon"></kendo-icon-wrapper>
|
|
@@ -1478,7 +1489,7 @@ SpreadsheetBackColorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
1478
1489
|
[tabindex]="tabindex"
|
|
1479
1490
|
role="menuitem"
|
|
1480
1491
|
class="k-item k-menu-item"
|
|
1481
|
-
(click)="openDialog()
|
|
1492
|
+
(click)="openDialog()">
|
|
1482
1493
|
<span
|
|
1483
1494
|
class="k-link k-menu-link">
|
|
1484
1495
|
<kendo-icon-wrapper [name]="icon" [svgIcon]="svgIcon"></kendo-icon-wrapper>
|
|
@@ -1512,7 +1523,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
1512
1523
|
[tabindex]="tabindex"
|
|
1513
1524
|
role="menuitem"
|
|
1514
1525
|
class="k-item k-menu-item"
|
|
1515
|
-
(click)="openDialog()
|
|
1526
|
+
(click)="openDialog()">
|
|
1516
1527
|
<span
|
|
1517
1528
|
class="k-link k-menu-link">
|
|
1518
1529
|
<kendo-icon-wrapper [name]="icon" [svgIcon]="svgIcon"></kendo-icon-wrapper>
|
|
@@ -1531,20 +1542,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
1531
1542
|
* @hidden
|
|
1532
1543
|
*/
|
|
1533
1544
|
class NameBoxComponent {
|
|
1534
|
-
constructor(ngZone, host, localization) {
|
|
1545
|
+
constructor(ngZone, host, localization, renderer) {
|
|
1535
1546
|
this.ngZone = ngZone;
|
|
1536
1547
|
this.host = host;
|
|
1537
1548
|
this.localization = localization;
|
|
1549
|
+
this.renderer = renderer;
|
|
1538
1550
|
this.hostClass = true;
|
|
1539
1551
|
this.valueNormalizer = (text) => text.pipe(map((content) => ({ name: content })));
|
|
1540
1552
|
}
|
|
1541
1553
|
keyDownHandler() {
|
|
1542
1554
|
const editor = this.spreadsheetWidget.view.nameEditor;
|
|
1543
1555
|
if (editor) {
|
|
1544
|
-
const name = this.
|
|
1556
|
+
const name = this.inputElement.value;
|
|
1545
1557
|
editor.trigger('enter', { value: name });
|
|
1546
1558
|
}
|
|
1547
1559
|
}
|
|
1560
|
+
ngAfterViewInit() {
|
|
1561
|
+
this.renderer.setAttribute(this.inputElement, 'title', this.title);
|
|
1562
|
+
this.renderer.setAttribute(this.inputElement, 'aria-label', this.title);
|
|
1563
|
+
}
|
|
1564
|
+
get inputElement() {
|
|
1565
|
+
return this.host.nativeElement.querySelector('.k-input-inner');
|
|
1566
|
+
}
|
|
1548
1567
|
get current() {
|
|
1549
1568
|
return {
|
|
1550
1569
|
value: (val) => {
|
|
@@ -1581,7 +1600,7 @@ class NameBoxComponent {
|
|
|
1581
1600
|
}
|
|
1582
1601
|
;
|
|
1583
1602
|
}
|
|
1584
|
-
NameBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: NameBoxComponent, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }, { token: SpreadsheetLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1603
|
+
NameBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: NameBoxComponent, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }, { token: SpreadsheetLocalizationService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
1585
1604
|
NameBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: NameBoxComponent, selector: "[kendoSpreadsheetNameBox]", inputs: { data: "data", spreadsheetWidget: "spreadsheetWidget" }, host: { listeners: { "keydown.enter": "keyDownHandler()" }, properties: { "class.k-spreadsheet-name-editor": "this.hostClass" } }, viewQueries: [{ propertyName: "combobox", first: true, predicate: ["combobox"], descendants: true }], ngImport: i0, template: `
|
|
1586
1605
|
<kendo-combobox #combobox
|
|
1587
1606
|
[popupSettings]="{popupClass: 'k-spreadsheet-names-popup'}"
|
|
@@ -1619,7 +1638,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
1619
1638
|
></kendo-combobox>
|
|
1620
1639
|
`
|
|
1621
1640
|
}]
|
|
1622
|
-
}], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i0.ElementRef }, { type: SpreadsheetLocalizationService }]; }, propDecorators: { hostClass: [{
|
|
1641
|
+
}], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i0.ElementRef }, { type: SpreadsheetLocalizationService }, { type: i0.Renderer2 }]; }, propDecorators: { hostClass: [{
|
|
1623
1642
|
type: HostBinding,
|
|
1624
1643
|
args: ['class.k-spreadsheet-name-editor']
|
|
1625
1644
|
}], keyDownHandler: [{
|
|
@@ -2013,7 +2032,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
2013
2032
|
class MessagesDirective extends ComponentMessages {
|
|
2014
2033
|
}
|
|
2015
2034
|
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", 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 });
|
|
2035
|
+
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", 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" }, usesInheritance: true, ngImport: i0 });
|
|
2017
2036
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MessagesDirective, decorators: [{
|
|
2018
2037
|
type: Directive,
|
|
2019
2038
|
args: [{
|
|
@@ -2105,6 +2124,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
2105
2124
|
type: Input
|
|
2106
2125
|
}], nameBox: [{
|
|
2107
2126
|
type: Input
|
|
2127
|
+
}], formulaInput: [{
|
|
2128
|
+
type: Input
|
|
2108
2129
|
}], addSheet: [{
|
|
2109
2130
|
type: Input
|
|
2110
2131
|
}], sheetsMenu: [{
|
|
@@ -3178,7 +3199,7 @@ class SpreadsheetComponent {
|
|
|
3178
3199
|
this.ngZone.onStable.pipe(take(1)).subscribe(() => {
|
|
3179
3200
|
const normalizedItems = items.map(item => ({
|
|
3180
3201
|
active: item.active,
|
|
3181
|
-
text: this.messageFor(item.id),
|
|
3202
|
+
text: item.id === 'format' ? this.messageFor('formatTab') : this.messageFor(item.id),
|
|
3182
3203
|
cssClass: item.active ? 'k-active' : null,
|
|
3183
3204
|
id: item.id
|
|
3184
3205
|
}));
|
|
@@ -3454,6 +3475,8 @@ SpreadsheetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
3454
3475
|
delete="Delete Sheet"
|
|
3455
3476
|
i18n-nameBox="kendo.spreadsheet.nameBox|The title of the Name Box input."
|
|
3456
3477
|
nameBox="Name Box"
|
|
3478
|
+
i18n-formulaInput="kendo.spreadsheet.formulaInput|The title of the Formula input."
|
|
3479
|
+
formulaInput="Formula Input"
|
|
3457
3480
|
i18n-addSheet="kendo.spreadsheet.addSheet|The title of the Add new sheet button."
|
|
3458
3481
|
addSheet="Add New Sheet"
|
|
3459
3482
|
i18n-sheetsMenu="kendo.spreadsheet.sheetsMenu|The title of the Sheets menu button."
|
|
@@ -3701,6 +3724,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
3701
3724
|
delete="Delete Sheet"
|
|
3702
3725
|
i18n-nameBox="kendo.spreadsheet.nameBox|The title of the Name Box input."
|
|
3703
3726
|
nameBox="Name Box"
|
|
3727
|
+
i18n-formulaInput="kendo.spreadsheet.formulaInput|The title of the Formula input."
|
|
3728
|
+
formulaInput="Formula Input"
|
|
3704
3729
|
i18n-addSheet="kendo.spreadsheet.addSheet|The title of the Add new sheet button."
|
|
3705
3730
|
addSheet="Add New Sheet"
|
|
3706
3731
|
i18n-sheetsMenu="kendo.spreadsheet.sheetsMenu|The title of the Sheets menu button."
|
|
@@ -180,6 +180,10 @@ export declare class MessagesDirective extends ComponentMessages {
|
|
|
180
180
|
* The title of the Name Box input
|
|
181
181
|
*/
|
|
182
182
|
nameBox: string;
|
|
183
|
+
/**
|
|
184
|
+
* The title of the Formula input
|
|
185
|
+
*/
|
|
186
|
+
formulaInput: string;
|
|
183
187
|
/**
|
|
184
188
|
* The title of the Add new sheet button
|
|
185
189
|
*/
|
|
@@ -257,5 +261,5 @@ export declare class MessagesDirective extends ComponentMessages {
|
|
|
257
261
|
*/
|
|
258
262
|
duplicateSheetName: string;
|
|
259
263
|
static ɵfac: i0.ɵɵFactoryDeclaration<MessagesDirective, 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>;
|
|
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>;
|
|
261
265
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-spreadsheet",
|
|
3
|
-
"version": "14.2.
|
|
3
|
+
"version": "14.2.1-develop.1",
|
|
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.
|
|
27
|
-
"@progress/kendo-angular-common": "14.2.
|
|
28
|
-
"@progress/kendo-angular-dialog": "14.2.
|
|
29
|
-
"@progress/kendo-angular-dropdowns": "14.2.
|
|
30
|
-
"@progress/kendo-angular-icons": "14.2.
|
|
31
|
-
"@progress/kendo-angular-l10n": "14.2.
|
|
32
|
-
"@progress/kendo-angular-layout": "14.2.
|
|
33
|
-
"@progress/kendo-angular-menu": "14.2.
|
|
34
|
-
"@progress/kendo-angular-popup": "14.2.
|
|
35
|
-
"@progress/kendo-angular-toolbar": "14.2.
|
|
36
|
-
"@progress/kendo-angular-intl": "14.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",
|
|
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.
|
|
41
|
+
"@progress/kendo-angular-schematics": "14.2.1-develop.1",
|
|
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.
|
|
9
|
+
'@progress/kendo-angular-treeview': '14.2.1-develop.1'
|
|
10
10
|
} });
|
|
11
11
|
return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
|
|
12
12
|
}
|