@progress/kendo-angular-spreadsheet 21.4.1-develop.1 → 22.0.0-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.
Files changed (87) hide show
  1. package/fesm2022/progress-kendo-angular-spreadsheet.mjs +183 -183
  2. package/package.json +22 -30
  3. package/schematics/ngAdd/index.js +2 -2
  4. package/tools/shared/spreadsheet-command-base.d.ts +1 -1
  5. package/tools/shared/spreadsheet-dropdown-tools-base.d.ts +1 -1
  6. package/tools/shared/spreadsheet-dropdownlist.base.d.ts +1 -1
  7. package/esm2022/action-bar/formula-input.directive.mjs +0 -183
  8. package/esm2022/action-bar/list.component.mjs +0 -91
  9. package/esm2022/action-bar/namebox.component.mjs +0 -134
  10. package/esm2022/common/calendar-editor.component.mjs +0 -48
  11. package/esm2022/common/error-handling.service.mjs +0 -99
  12. package/esm2022/common/list-editor.component.mjs +0 -146
  13. package/esm2022/common/main-menu.directive.mjs +0 -30
  14. package/esm2022/common/sheet-changes.mjs +0 -5
  15. package/esm2022/common/spreadsheet.service.mjs +0 -49
  16. package/esm2022/directives.mjs +0 -94
  17. package/esm2022/filter-menu/filter-menu-item-content-template.directive.mjs +0 -26
  18. package/esm2022/filter-menu/filter-menu-item.component.mjs +0 -271
  19. package/esm2022/index.mjs +0 -14
  20. package/esm2022/localization/custom-messages.component.mjs +0 -52
  21. package/esm2022/localization/localized-messages.directive.mjs +0 -35
  22. package/esm2022/localization/messages.mjs +0 -884
  23. package/esm2022/localization/spreadsheet-localization.service.mjs +0 -31
  24. package/esm2022/models/cell-editor-action-args.mjs +0 -5
  25. package/esm2022/models/cell-editor-options.mjs +0 -5
  26. package/esm2022/models/events.mjs +0 -5
  27. package/esm2022/models/filter-menu-item.mjs +0 -5
  28. package/esm2022/models/index.mjs +0 -11
  29. package/esm2022/models/main-menu-item.mjs +0 -5
  30. package/esm2022/models/range-filter-value.mjs +0 -5
  31. package/esm2022/models/sheet-info.mjs +0 -5
  32. package/esm2022/package-metadata.mjs +0 -16
  33. package/esm2022/progress-kendo-angular-spreadsheet.mjs +0 -8
  34. package/esm2022/sheets-bar/action-dialog.component.mjs +0 -78
  35. package/esm2022/sheets-bar/sheets-bar.component.mjs +0 -433
  36. package/esm2022/sheets-bar/utils.mjs +0 -49
  37. package/esm2022/spreadsheet.component.mjs +0 -2408
  38. package/esm2022/spreadsheet.module.mjs +0 -72
  39. package/esm2022/tools/align/align-tool.directive.mjs +0 -62
  40. package/esm2022/tools/align/horizontal-align-tool.directive.mjs +0 -62
  41. package/esm2022/tools/align/vertical-align-tool.directive.mjs +0 -62
  42. package/esm2022/tools/colorpicker/spreadsheet-backcolor.component.mjs +0 -142
  43. package/esm2022/tools/colorpicker/spreadsheet-forecolor.component.mjs +0 -142
  44. package/esm2022/tools/data-validation-dialog.component.mjs +0 -481
  45. package/esm2022/tools/data-validation-tool.directive.mjs +0 -156
  46. package/esm2022/tools/decrease-decimal-tool.directive.mjs +0 -41
  47. package/esm2022/tools/filter-sort/filter-tool.directive.mjs +0 -89
  48. package/esm2022/tools/filter-sort/sort-tool.directive.mjs +0 -62
  49. package/esm2022/tools/font-family/font-family-dropdownlist.component.mjs +0 -59
  50. package/esm2022/tools/font-family/spreadsheet-fontfamily-tool.component.mjs +0 -114
  51. package/esm2022/tools/font-size/decrease-font-tool.directive.mjs +0 -52
  52. package/esm2022/tools/font-size/font-size-dropdownlist.component.mjs +0 -46
  53. package/esm2022/tools/font-size/increase-font-tool.directive.mjs +0 -52
  54. package/esm2022/tools/font-size/spreadsheet-fontsize-tool.component.mjs +0 -114
  55. package/esm2022/tools/format-tool.directive.mjs +0 -65
  56. package/esm2022/tools/gridlines-tool.directive.mjs +0 -47
  57. package/esm2022/tools/history/redo-tool.mjs +0 -37
  58. package/esm2022/tools/history/undo-tool.mjs +0 -37
  59. package/esm2022/tools/increase-decimal-tool.directive.mjs +0 -41
  60. package/esm2022/tools/index.mjs +0 -30
  61. package/esm2022/tools/insert/insert-link-dialog.component.mjs +0 -53
  62. package/esm2022/tools/insert/insert-link-tool.directive.mjs +0 -97
  63. package/esm2022/tools/load-file.component.mjs +0 -226
  64. package/esm2022/tools/save-file-tool.directive.mjs +0 -58
  65. package/esm2022/tools/shared/command-icons.mjs +0 -121
  66. package/esm2022/tools/shared/commands.mjs +0 -5
  67. package/esm2022/tools/shared/constants.mjs +0 -77
  68. package/esm2022/tools/shared/dialog-content.component.mjs +0 -130
  69. package/esm2022/tools/shared/spreadsheet-command-base.mjs +0 -73
  70. package/esm2022/tools/shared/spreadsheet-command-button.mjs +0 -31
  71. package/esm2022/tools/shared/spreadsheet-dropdown-tools-base.mjs +0 -194
  72. package/esm2022/tools/shared/spreadsheet-dropdownlist.base.mjs +0 -54
  73. package/esm2022/tools/tables/add-column-left-button.directive.mjs +0 -37
  74. package/esm2022/tools/tables/add-column-right-button.directive.mjs +0 -37
  75. package/esm2022/tools/tables/add-row-above-button.directive.mjs +0 -37
  76. package/esm2022/tools/tables/add-row-below-button.directive.mjs +0 -37
  77. package/esm2022/tools/tables/delete-column-button.directive.mjs +0 -35
  78. package/esm2022/tools/tables/delete-row-button.directive.mjs +0 -35
  79. package/esm2022/tools/tables/index.mjs +0 -11
  80. package/esm2022/tools/tables/merge-tool.directive.mjs +0 -72
  81. package/esm2022/tools/text-wrap-tool.directive.mjs +0 -48
  82. package/esm2022/tools/tools.service.mjs +0 -61
  83. package/esm2022/tools/typographical-emphasis/bold-tool.directive.mjs +0 -37
  84. package/esm2022/tools/typographical-emphasis/italic-tool.directive.mjs +0 -37
  85. package/esm2022/tools/typographical-emphasis/underline-tool.directive.mjs +0 -37
  86. package/esm2022/tools/utils.mjs +0 -35
  87. package/esm2022/utils.mjs +0 -32
@@ -1,271 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Component, ContentChild, Input, Output, EventEmitter, NgZone, ElementRef, HostBinding } from '@angular/core';
6
- import { trigger, transition, style, animate, state } from '@angular/animations';
7
- import { chevronDownIcon, chevronUpIcon } from '@progress/kendo-svg-icons';
8
- import { IconWrapperComponent } from '@progress/kendo-angular-icons';
9
- import { FilterMenuItemContentTemplateDirective } from './filter-menu-item-content-template.directive';
10
- import { NgTemplateOutlet, NgClass } from '@angular/common';
11
- import { guid } from '@progress/kendo-angular-common';
12
- import { take } from 'rxjs/operators';
13
- import * as i0 from "@angular/core";
14
- /**
15
- * Represents an item that you can place inside the Spreadsheet filter menu.
16
- *
17
- * @hidden
18
- */
19
- export class SpreadsheetFilterMenuItemComponent {
20
- ngZone;
21
- element;
22
- contentTemplate;
23
- hostClass = true;
24
- /**
25
- * Specifies the item text.
26
- */
27
- text;
28
- /**
29
- * Specifies the items.
30
- */
31
- innerMenuItems;
32
- /**
33
- * Specifies the item icon.
34
- */
35
- icon;
36
- /**
37
- * Specifies the item icon.
38
- */
39
- expanderClass;
40
- /**
41
- * Specifies the item icon.
42
- */
43
- expandable = false;
44
- /**
45
- * Specifies the item svgIcon.
46
- */
47
- svgIcon;
48
- /**
49
- * Specifies if the item is expanded.
50
- */
51
- set expanded(value) {
52
- this._expanded = value;
53
- this.updateContentState();
54
- }
55
- get expanded() {
56
- return this._expanded;
57
- }
58
- /**
59
- * Fires when the item is clicked.
60
- */
61
- itemClick = new EventEmitter();
62
- /**
63
- * Fires when the content expands.
64
- */
65
- expand = new EventEmitter();
66
- /**
67
- * Fires when the content collapses.
68
- */
69
- collapse = new EventEmitter();
70
- constructor(ngZone, element) {
71
- this.ngZone = ngZone;
72
- this.element = element;
73
- }
74
- ngAfterViewInit() {
75
- this.ngZone.onStable.pipe(take(1)).subscribe(() => {
76
- this.contentTemplate && (this.contentId = `k-${guid()}`);
77
- });
78
- }
79
- /**
80
- * @hidden
81
- */
82
- get expandedIcon() {
83
- return this.expanded ? 'arrow-chevron-up' : 'arrow-chevron-down';
84
- }
85
- /**
86
- * @hidden
87
- */
88
- get expandedSvgIcon() {
89
- return this.expanded ? this.chevronUpIcon : this.chevronDownIcon;
90
- }
91
- contentState = 'collapsed';
92
- contentId;
93
- chevronUpIcon = chevronUpIcon;
94
- chevronDownIcon = chevronDownIcon;
95
- _expanded = false;
96
- /**
97
- * @hidden
98
- */
99
- onClick(e, item) {
100
- this.itemClick.emit(item);
101
- e.preventDefault();
102
- e.stopImmediatePropagation();
103
- if (this.contentTemplate) {
104
- if (this.expanded) {
105
- this.collapse.emit();
106
- }
107
- else {
108
- this.expand.emit();
109
- }
110
- }
111
- }
112
- updateContentState() {
113
- this.contentState = this.expanded ? 'expanded' : 'collapsed';
114
- }
115
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SpreadsheetFilterMenuItemComponent, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
116
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: SpreadsheetFilterMenuItemComponent, isStandalone: true, selector: "kendo-spreadsheet-filtermenu-item", inputs: { text: "text", innerMenuItems: "innerMenuItems", icon: "icon", expanderClass: "expanderClass", expandable: "expandable", svgIcon: "svgIcon", expanded: "expanded" }, outputs: { itemClick: "itemClick", expand: "expand", collapse: "collapse" }, host: { properties: { "class.k-columnmenu-item-wrapper": "this.hostClass" } }, queries: [{ propertyName: "contentTemplate", first: true, predicate: FilterMenuItemContentTemplateDirective, descendants: true }], ngImport: i0, template: `
117
- @if (expandable) {
118
- <div class="k-expander" [ngClass]="expanderClass">
119
- <ng-container [ngTemplateOutlet]="itemsTemplate"></ng-container>
120
- </div>
121
- } @else {
122
- <ng-container [ngTemplateOutlet]="itemsTemplate"></ng-container>
123
- }
124
-
125
- <ng-template #itemsTemplate>
126
- @for (item of innerMenuItems; track item) {
127
- <div class="k-columnmenu-item" (click)="onClick($event, item)">
128
- @if (item.icon || item.svgIcon) {
129
- <kendo-icon-wrapper
130
- [name]="item.icon"
131
- [svgIcon]="item.svgIcon">
132
- </kendo-icon-wrapper>
133
- }
134
- {{item.text}}
135
- @if (expandable) {
136
- <span class="k-spacer"></span>
137
- <span class="k-expander-indicator">
138
- <kendo-icon-wrapper
139
- [name]="expandedIcon"
140
- [svgIcon]="expandedSvgIcon">
141
- </kendo-icon-wrapper>
142
- </span>
143
- }
144
- </div>
145
- }
146
- </ng-template>
147
-
148
- @if (contentTemplate) {
149
- <div class="k-columnmenu-item-content" [attr.id]="contentId" [@state]="contentState" [style.overflow]="'hidden'">
150
- <ng-template [ngTemplateOutlet]="contentTemplate.templateRef"></ng-template>
151
- </div>
152
- }
153
- `, isInline: true, dependencies: [{ kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], animations: [
154
- trigger('state', [
155
- state('collapsed', style({ display: 'none' })),
156
- state('expanded', style({ display: 'block' })),
157
- transition('collapsed => expanded', [
158
- style({
159
- height: '0px',
160
- display: 'block'
161
- }),
162
- animate('100ms ease-in', style({
163
- height: '*'
164
- }))
165
- ]),
166
- transition('expanded => collapsed', [
167
- style({
168
- height: '*'
169
- }),
170
- animate('100ms ease-in', style({
171
- height: '0px'
172
- }))
173
- ])
174
- ])
175
- ] });
176
- }
177
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SpreadsheetFilterMenuItemComponent, decorators: [{
178
- type: Component,
179
- args: [{
180
- selector: 'kendo-spreadsheet-filtermenu-item',
181
- template: `
182
- @if (expandable) {
183
- <div class="k-expander" [ngClass]="expanderClass">
184
- <ng-container [ngTemplateOutlet]="itemsTemplate"></ng-container>
185
- </div>
186
- } @else {
187
- <ng-container [ngTemplateOutlet]="itemsTemplate"></ng-container>
188
- }
189
-
190
- <ng-template #itemsTemplate>
191
- @for (item of innerMenuItems; track item) {
192
- <div class="k-columnmenu-item" (click)="onClick($event, item)">
193
- @if (item.icon || item.svgIcon) {
194
- <kendo-icon-wrapper
195
- [name]="item.icon"
196
- [svgIcon]="item.svgIcon">
197
- </kendo-icon-wrapper>
198
- }
199
- {{item.text}}
200
- @if (expandable) {
201
- <span class="k-spacer"></span>
202
- <span class="k-expander-indicator">
203
- <kendo-icon-wrapper
204
- [name]="expandedIcon"
205
- [svgIcon]="expandedSvgIcon">
206
- </kendo-icon-wrapper>
207
- </span>
208
- }
209
- </div>
210
- }
211
- </ng-template>
212
-
213
- @if (contentTemplate) {
214
- <div class="k-columnmenu-item-content" [attr.id]="contentId" [@state]="contentState" [style.overflow]="'hidden'">
215
- <ng-template [ngTemplateOutlet]="contentTemplate.templateRef"></ng-template>
216
- </div>
217
- }
218
- `,
219
- standalone: true,
220
- imports: [IconWrapperComponent, NgTemplateOutlet, NgClass],
221
- animations: [
222
- trigger('state', [
223
- state('collapsed', style({ display: 'none' })),
224
- state('expanded', style({ display: 'block' })),
225
- transition('collapsed => expanded', [
226
- style({
227
- height: '0px',
228
- display: 'block'
229
- }),
230
- animate('100ms ease-in', style({
231
- height: '*'
232
- }))
233
- ]),
234
- transition('expanded => collapsed', [
235
- style({
236
- height: '*'
237
- }),
238
- animate('100ms ease-in', style({
239
- height: '0px'
240
- }))
241
- ])
242
- ])
243
- ]
244
- }]
245
- }], ctorParameters: () => [{ type: i0.NgZone }, { type: i0.ElementRef }], propDecorators: { contentTemplate: [{
246
- type: ContentChild,
247
- args: [FilterMenuItemContentTemplateDirective]
248
- }], hostClass: [{
249
- type: HostBinding,
250
- args: ['class.k-columnmenu-item-wrapper']
251
- }], text: [{
252
- type: Input
253
- }], innerMenuItems: [{
254
- type: Input
255
- }], icon: [{
256
- type: Input
257
- }], expanderClass: [{
258
- type: Input
259
- }], expandable: [{
260
- type: Input
261
- }], svgIcon: [{
262
- type: Input
263
- }], expanded: [{
264
- type: Input
265
- }], itemClick: [{
266
- type: Output
267
- }], expand: [{
268
- type: Output
269
- }], collapse: [{
270
- type: Output
271
- }] } });
package/esm2022/index.mjs DELETED
@@ -1,14 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- export { SpreadsheetComponent } from './spreadsheet.component';
6
- export { SpreadsheetModule } from './spreadsheet.module';
7
- export { FormulaListComponent } from './action-bar/list.component';
8
- export { FormulaInputDirective } from './action-bar/formula-input.directive';
9
- export { NameBoxComponent } from './action-bar/namebox.component';
10
- export { SheetsBarComponent } from './sheets-bar/sheets-bar.component';
11
- export * from './tools';
12
- export * from './directives';
13
- export { CustomMessagesComponent } from './localization/custom-messages.component';
14
- export { SpreadsheetWidget, defineFunction, Sheet, View, Range, Workbook, Context, Matrix, Ref, CellRef, RangeRef, Deferred, } from '@progress/kendo-spreadsheet-common';
@@ -1,52 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Directive, forwardRef } from '@angular/core';
6
- import { LocalizationService } from '@progress/kendo-angular-l10n';
7
- import { MessagesDirective } from './messages';
8
- import * as i0 from "@angular/core";
9
- import * as i1 from "@progress/kendo-angular-l10n";
10
- /**
11
- * Overrides the default Spreadsheet component messages with custom messages.
12
- * You can use this component to provide custom text for the Spreadsheet UI elements, such as the toolbar, dialogs, and other components.
13
- *
14
- * @example
15
- * ```html
16
- * <kendo-spreadsheet [sheets]="sheets">
17
- * <kendo-spreadsheet-messages home="Home" file="File">
18
- * </kendo-spreadsheet-messages>
19
- * </kendo-spreadsheet>
20
- * ```
21
- */
22
- export class CustomMessagesComponent extends MessagesDirective {
23
- service;
24
- constructor(service) {
25
- super();
26
- this.service = service;
27
- }
28
- get override() {
29
- return true;
30
- }
31
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
32
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: CustomMessagesComponent, isStandalone: true, selector: "kendo-spreadsheet-messages", providers: [
33
- {
34
- provide: MessagesDirective,
35
- useExisting: forwardRef(() => CustomMessagesComponent)
36
- }
37
- ], usesInheritance: true, ngImport: i0 });
38
- }
39
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CustomMessagesComponent, decorators: [{
40
- type: Directive,
41
- args: [{
42
- providers: [
43
- {
44
- provide: MessagesDirective,
45
- useExisting: forwardRef(() => CustomMessagesComponent)
46
- }
47
- ],
48
- // eslint-disable-next-line @angular-eslint/directive-selector
49
- selector: 'kendo-spreadsheet-messages',
50
- standalone: true
51
- }]
52
- }], ctorParameters: () => [{ type: i1.LocalizationService }] });
@@ -1,35 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Directive, forwardRef } from '@angular/core';
6
- import { LocalizationService } from '@progress/kendo-angular-l10n';
7
- import { MessagesDirective } from './messages';
8
- import * as i0 from "@angular/core";
9
- import * as i1 from "@progress/kendo-angular-l10n";
10
- /**
11
- * @hidden
12
- */
13
- export class LocalizedMessagesDirective extends MessagesDirective {
14
- service;
15
- constructor(service) {
16
- super();
17
- this.service = service;
18
- }
19
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
20
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoSpreadsheetLocalizedMessages]", providers: [{
21
- provide: MessagesDirective,
22
- useExisting: forwardRef(() => LocalizedMessagesDirective)
23
- }], usesInheritance: true, ngImport: i0 });
24
- }
25
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
26
- type: Directive,
27
- args: [{
28
- providers: [{
29
- provide: MessagesDirective,
30
- useExisting: forwardRef(() => LocalizedMessagesDirective)
31
- }],
32
- selector: '[kendoSpreadsheetLocalizedMessages]',
33
- standalone: true
34
- }]
35
- }], ctorParameters: () => [{ type: i1.LocalizationService }] });