@progress/kendo-angular-excel-export 24.2.2 → 25.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.
@@ -222,10 +222,10 @@ class ColumnBase {
222
222
  constructor(parent) {
223
223
  this.parent = parent;
224
224
  }
225
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: ColumnBase, deps: [{ token: ColumnBase }], target: i0.ɵɵFactoryTarget.Component });
226
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", type: ColumnBase, isStandalone: true, selector: "ng-component", inputs: { title: "title", width: "width", locked: "locked", hidden: "hidden", headerCellOptions: "headerCellOptions" }, queries: [{ propertyName: "children", predicate: ColumnBase }], ngImport: i0, template: '', isInline: true });
225
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ColumnBase, deps: [{ token: ColumnBase }], target: i0.ɵɵFactoryTarget.Component });
226
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: ColumnBase, isStandalone: true, selector: "ng-component", inputs: { title: "title", width: "width", locked: "locked", hidden: "hidden", headerCellOptions: "headerCellOptions" }, queries: [{ propertyName: "children", predicate: ColumnBase }], ngImport: i0, template: '', isInline: true });
227
227
  }
228
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: ColumnBase, decorators: [{
228
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ColumnBase, decorators: [{
229
229
  type: Component,
230
230
  args: [{
231
231
  template: ''
@@ -253,8 +253,8 @@ const packageMetadata = {
253
253
  productName: 'Kendo UI for Angular',
254
254
  productCode: 'KENDOUIANGULAR',
255
255
  productCodes: ['KENDOUIANGULAR'],
256
- publishDate: 1783511515,
257
- version: '24.2.2',
256
+ publishDate: 1783679858,
257
+ version: '25.0.0-develop.1',
258
258
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
259
259
  };
260
260
 
@@ -424,8 +424,8 @@ class ExcelExportComponent {
424
424
  proxyURL: this.proxyURL
425
425
  });
426
426
  }
427
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: ExcelExportComponent, deps: [{ token: i1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
428
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", type: ExcelExportComponent, isStandalone: true, selector: "kendo-excelexport", inputs: { fileName: "fileName", filterable: "filterable", collapsible: "collapsible", creator: "creator", date: "date", forceProxy: "forceProxy", proxyURL: "proxyURL", data: "data", group: "group", paddingCellOptions: "paddingCellOptions", headerPaddingCellOptions: "headerPaddingCellOptions" }, providers: [
427
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ExcelExportComponent, deps: [{ token: i1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
428
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: ExcelExportComponent, isStandalone: true, selector: "kendo-excelexport", inputs: { fileName: "fileName", filterable: "filterable", collapsible: "collapsible", creator: "creator", date: "date", forceProxy: "forceProxy", proxyURL: "proxyURL", data: "data", group: "group", paddingCellOptions: "paddingCellOptions", headerPaddingCellOptions: "headerPaddingCellOptions" }, providers: [
429
429
  LocalizationService,
430
430
  {
431
431
  provide: L10N_PREFIX,
@@ -433,7 +433,7 @@ class ExcelExportComponent {
433
433
  }
434
434
  ], queries: [{ propertyName: "columns", predicate: ColumnBase, descendants: true }], exportAs: ["kendoExcelExport"], ngImport: i0, template: ``, isInline: true });
435
435
  }
436
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: ExcelExportComponent, decorators: [{
436
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ExcelExportComponent, decorators: [{
437
437
  type: Component,
438
438
  args: [{
439
439
  exportAs: 'kendoExcelExport',
@@ -492,10 +492,10 @@ class FooterTemplateDirective {
492
492
  constructor(templateRef) {
493
493
  this.templateRef = templateRef;
494
494
  }
495
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: FooterTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
496
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.25", type: FooterTemplateDirective, isStandalone: true, selector: "[kendoExcelExportFooterTemplate]", ngImport: i0 });
495
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: FooterTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
496
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: FooterTemplateDirective, isStandalone: true, selector: "[kendoExcelExportFooterTemplate]", ngImport: i0 });
497
497
  }
498
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: FooterTemplateDirective, decorators: [{
498
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: FooterTemplateDirective, decorators: [{
499
499
  type: Directive,
500
500
  args: [{
501
501
  selector: '[kendoExcelExportFooterTemplate]',
@@ -522,10 +522,10 @@ class GroupHeaderTemplateDirective {
522
522
  constructor(templateRef) {
523
523
  this.templateRef = templateRef;
524
524
  }
525
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: GroupHeaderTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
526
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.25", type: GroupHeaderTemplateDirective, isStandalone: true, selector: "[kendoExcelExportGroupHeaderTemplate]", ngImport: i0 });
525
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: GroupHeaderTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
526
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: GroupHeaderTemplateDirective, isStandalone: true, selector: "[kendoExcelExportGroupHeaderTemplate]", ngImport: i0 });
527
527
  }
528
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: GroupHeaderTemplateDirective, decorators: [{
528
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: GroupHeaderTemplateDirective, decorators: [{
529
529
  type: Directive,
530
530
  args: [{
531
531
  selector: '[kendoExcelExportGroupHeaderTemplate]',
@@ -552,10 +552,10 @@ class GroupHeaderColumnTemplateDirective {
552
552
  constructor(templateRef) {
553
553
  this.templateRef = templateRef;
554
554
  }
555
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: GroupHeaderColumnTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
556
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.25", type: GroupHeaderColumnTemplateDirective, isStandalone: true, selector: "[kendoExcelExportGroupHeaderColumnTemplate]", ngImport: i0 });
555
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: GroupHeaderColumnTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
556
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: GroupHeaderColumnTemplateDirective, isStandalone: true, selector: "[kendoExcelExportGroupHeaderColumnTemplate]", ngImport: i0 });
557
557
  }
558
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: GroupHeaderColumnTemplateDirective, decorators: [{
558
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: GroupHeaderColumnTemplateDirective, decorators: [{
559
559
  type: Directive,
560
560
  args: [{
561
561
  selector: '[kendoExcelExportGroupHeaderColumnTemplate]',
@@ -582,10 +582,10 @@ class GroupFooterTemplateDirective {
582
582
  constructor(templateRef) {
583
583
  this.templateRef = templateRef;
584
584
  }
585
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: GroupFooterTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
586
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.25", type: GroupFooterTemplateDirective, isStandalone: true, selector: "[kendoExcelExportGroupFooterTemplate]", ngImport: i0 });
585
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: GroupFooterTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
586
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: GroupFooterTemplateDirective, isStandalone: true, selector: "[kendoExcelExportGroupFooterTemplate]", ngImport: i0 });
587
587
  }
588
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: GroupFooterTemplateDirective, decorators: [{
588
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: GroupFooterTemplateDirective, decorators: [{
589
589
  type: Directive,
590
590
  args: [{
591
591
  selector: '[kendoExcelExportGroupFooterTemplate]',
@@ -648,15 +648,15 @@ class ColumnComponent extends ColumnBase {
648
648
  constructor(parent) {
649
649
  super(parent);
650
650
  }
651
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: ColumnComponent, deps: [{ token: ColumnBase, host: true, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component });
652
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", type: ColumnComponent, isStandalone: true, selector: "kendo-excelexport-column", inputs: { field: "field", cellOptions: "cellOptions", groupHeaderCellOptions: "groupHeaderCellOptions", groupFooterCellOptions: "groupFooterCellOptions", footerCellOptions: "footerCellOptions" }, providers: [
651
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ColumnComponent, deps: [{ token: ColumnBase, host: true, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component });
652
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: ColumnComponent, isStandalone: true, selector: "kendo-excelexport-column", inputs: { field: "field", cellOptions: "cellOptions", groupHeaderCellOptions: "groupHeaderCellOptions", groupFooterCellOptions: "groupFooterCellOptions", footerCellOptions: "footerCellOptions" }, providers: [
653
653
  {
654
654
  provide: ColumnBase,
655
655
  useExisting: forwardRef(() => ColumnComponent)
656
656
  }
657
657
  ], queries: [{ propertyName: "groupHeaderTemplate", first: true, predicate: GroupHeaderTemplateDirective, descendants: true }, { propertyName: "groupHeaderColumnTemplate", first: true, predicate: GroupHeaderColumnTemplateDirective, descendants: true }, { propertyName: "groupFooterTemplate", first: true, predicate: GroupFooterTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
658
658
  }
659
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: ColumnComponent, decorators: [{
659
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ColumnComponent, decorators: [{
660
660
  type: Component,
661
661
  args: [{
662
662
  providers: [
@@ -717,15 +717,15 @@ class ColumnGroupComponent extends ColumnBase {
717
717
  super(parent);
718
718
  this.parent = parent;
719
719
  }
720
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: ColumnGroupComponent, deps: [{ token: ColumnBase, host: true, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component });
721
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", type: ColumnGroupComponent, isStandalone: true, selector: "kendo-excelexport-column-group", providers: [
720
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ColumnGroupComponent, deps: [{ token: ColumnBase, host: true, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component });
721
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: ColumnGroupComponent, isStandalone: true, selector: "kendo-excelexport-column-group", providers: [
722
722
  {
723
723
  provide: ColumnBase,
724
724
  useExisting: forwardRef(() => ColumnGroupComponent)
725
725
  }
726
726
  ], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
727
727
  }
728
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: ColumnGroupComponent, decorators: [{
728
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ColumnGroupComponent, decorators: [{
729
729
  type: Component,
730
730
  args: [{
731
731
  providers: [
@@ -783,11 +783,11 @@ const KENDO_EXCELEXPORT = [
783
783
  * ```
784
784
  */
785
785
  class ExcelExportModule {
786
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: ExcelExportModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
787
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.25", ngImport: i0, type: ExcelExportModule, imports: [ExcelExportComponent, ColumnComponent, ColumnGroupComponent, FooterTemplateDirective, GroupFooterTemplateDirective, GroupHeaderColumnTemplateDirective, GroupHeaderTemplateDirective], exports: [ExcelExportComponent, ColumnComponent, ColumnGroupComponent, FooterTemplateDirective, GroupFooterTemplateDirective, GroupHeaderColumnTemplateDirective, GroupHeaderTemplateDirective] });
788
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: ExcelExportModule });
786
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ExcelExportModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
787
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.25", ngImport: i0, type: ExcelExportModule, imports: [ExcelExportComponent, ColumnComponent, ColumnGroupComponent, FooterTemplateDirective, GroupFooterTemplateDirective, GroupHeaderColumnTemplateDirective, GroupHeaderTemplateDirective], exports: [ExcelExportComponent, ColumnComponent, ColumnGroupComponent, FooterTemplateDirective, GroupFooterTemplateDirective, GroupHeaderColumnTemplateDirective, GroupHeaderTemplateDirective] });
788
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ExcelExportModule });
789
789
  }
790
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: ExcelExportModule, decorators: [{
790
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ExcelExportModule, decorators: [{
791
791
  type: NgModule,
792
792
  args: [{
793
793
  imports: [...KENDO_EXCELEXPORT],
package/index.d.ts CHANGED
@@ -2,17 +2,468 @@
2
2
  * Copyright © 2026 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
- export { ExcelExportComponent } from './excel-export.component';
6
- export { ExcelExportModule } from './excel-export.module';
7
- export { ColumnBase } from './columns/column-base';
8
- export { ColumnComponent } from './columns/column.component';
9
- export { ColumnGroupComponent } from './columns/column-group.component';
10
- export { FooterTemplateDirective } from './columns/footer-template.directive';
11
- export { GroupFooterTemplateDirective } from './columns/group-footer-template.directive';
12
- export { GroupHeaderTemplateDirective } from './columns/group-header-template.directive';
13
- export { GroupHeaderColumnTemplateDirective } from './columns/group-header-column-template.directive';
14
- export { ExcelExportData } from './excel-export-data';
15
- export { CellOptions } from './ooxml/cell-options.interface';
16
- export * from './ooxml/workbook';
5
+ import * as i0 from '@angular/core';
6
+ import { QueryList, NgZone, TemplateRef } from '@angular/core';
7
+ import { WorkbookSheetRowCellBorderBottom, WorkbookSheetRowCellBorderLeft, WorkbookSheetRowCellBorderTop, WorkbookSheetRowCellBorderRight, WorkbookOptions } from '@progress/kendo-ooxml';
17
8
  export * from '@progress/kendo-ooxml';
18
- export * from './directives';
9
+ import { LocalizationService } from '@progress/kendo-angular-l10n';
10
+
11
+ /**
12
+ * The options for the Excel Export cell.
13
+ */
14
+ interface CellOptions {
15
+ /**
16
+ * Sets the background color of the cell.
17
+ * Supports hex CSS-like values that start with `"#"`. For example, `"#ff00ff"`.
18
+ */
19
+ background?: string;
20
+ /**
21
+ * The style information for the bottom border of the cell.
22
+ */
23
+ borderBottom?: WorkbookSheetRowCellBorderBottom;
24
+ /**
25
+ * The style information for the left border of the cell.
26
+ */
27
+ borderLeft?: WorkbookSheetRowCellBorderLeft;
28
+ /**
29
+ * The style information for the top border of the cell.
30
+ */
31
+ borderTop?: WorkbookSheetRowCellBorderTop;
32
+ /**
33
+ * The style information for the right border of the cell.
34
+ */
35
+ borderRight?: WorkbookSheetRowCellBorderRight;
36
+ /**
37
+ * If set to `true`, renders the cell value in bold.
38
+ */
39
+ bold?: boolean;
40
+ /**
41
+ * The text color of the cell.
42
+ * Supports hex CSS-like values that start with `"#"`. For example, `"#ff00ff"`.
43
+ */
44
+ color?: string;
45
+ /**
46
+ * Sets the font that is used to display the cell value.
47
+ */
48
+ fontFamily?: string;
49
+ /**
50
+ * Sets the font size in pixels.
51
+ */
52
+ fontSize?: number;
53
+ /**
54
+ * Sets the format that Excel uses to display the cell value.
55
+ * For more information, refer to the page on
56
+ * [supported Excel formats](https://support.office.com/en-us/article/Create-or-delete-a-custom-number-format-78f2a361-936b-4c03-8772-09fab54be7f4?ui=en-US&rs=en-US&ad=US).
57
+ */
58
+ format?: string;
59
+ /**
60
+ * If `italics` is set to `true`, the cell value is rendered in italics.
61
+ */
62
+ italic?: boolean;
63
+ /**
64
+ * Sets the horizontal alignment of the cell value.
65
+ *
66
+ * The supported values are:
67
+ * * `"left"`
68
+ * * `"center"`
69
+ * * `"right"`
70
+ */
71
+ textAlign?: 'left' | 'center' | 'right';
72
+ /**
73
+ * If `underline` is set to `true`, the cell value is underlined.
74
+ */
75
+ underline?: boolean;
76
+ /**
77
+ * If `wrap` is set to `true`, the cell value is wrapped.
78
+ */
79
+ wrap?: boolean;
80
+ /**
81
+ * Sets the vertical alignment of the cell value.
82
+ *
83
+ * The supported values are:
84
+ * * `"top"`
85
+ * * `"center"`
86
+ * * `"bottom"`
87
+ */
88
+ verticalAlign?: 'top' | 'center' | 'bottom';
89
+ }
90
+
91
+ /**
92
+ * Represents the expected type for the `ExcelExportComponent` data.
93
+ *
94
+ * Use this interface to specify the data and groups for export.
95
+ */
96
+ interface ExcelExportData {
97
+ /**
98
+ * Specifies the exported data.
99
+ * When the data is grouped, structure it as described by the
100
+ * [`GroupResult`](https://www.telerik.com/kendo-angular-ui/components/data-query/api/groupresult) option of the Kendo UI Data Query component.
101
+ */
102
+ data?: any[];
103
+ /**
104
+ * Specifies the exported data groups.
105
+ * The groups must match the
106
+ * [`GroupDescriptor`](https://www.telerik.com/kendo-angular-ui/components/data-query/api/groupdescriptor) option of the Kendo UI Data Query component.
107
+ */
108
+ group?: any[];
109
+ }
110
+
111
+ /**
112
+ * @hidden
113
+ */
114
+ declare class ColumnBase {
115
+ parent?: ColumnBase;
116
+ /**
117
+ * The title of the column.
118
+ */
119
+ title: string;
120
+ /**
121
+ * The width of the column in pixels.
122
+ */
123
+ width: number;
124
+ /**
125
+ * Toggles the locked (frozen) state of the column ([see example](https://www.telerik.com/kendo-angular-ui/components/excel-export/columns#locked-state)).
126
+ *
127
+ * @default false
128
+ */
129
+ locked: boolean;
130
+ /**
131
+ * Sets the visibility of the column ([see example](https://www.telerik.com/kendo-angular-ui/components/excel-export/columns#hidden-state)).
132
+ *
133
+ * @default false
134
+ */
135
+ hidden: boolean;
136
+ /**
137
+ * The options of the column header cell.
138
+ */
139
+ headerCellOptions: CellOptions;
140
+ /**
141
+ * @hidden
142
+ */
143
+ children: QueryList<ColumnBase>;
144
+ /**
145
+ * @hidden
146
+ */
147
+ get level(): number;
148
+ constructor(parent?: ColumnBase);
149
+ static ɵfac: i0.ɵɵFactoryDeclaration<ColumnBase, never>;
150
+ static ɵcmp: i0.ɵɵComponentDeclaration<ColumnBase, "ng-component", never, { "title": { "alias": "title"; "required": false; }; "width": { "alias": "width"; "required": false; }; "locked": { "alias": "locked"; "required": false; }; "hidden": { "alias": "hidden"; "required": false; }; "headerCellOptions": { "alias": "headerCellOptions"; "required": false; }; }, {}, ["children"], never, true, never>;
151
+ }
152
+
153
+ /**
154
+ * Represents the [Kendo UI Excel Export component for Angular](https://www.telerik.com/kendo-angular-ui/components/excel-export).
155
+ * Use this component to export data to Excel format.
156
+ *
157
+ * @example
158
+ * ```html
159
+ * <kendo-excelexport [data]="gridData" fileName="MyExport.xlsx">
160
+ * <kendo-excelexport-column field="ProductID" title="Product ID"></kendo-excelexport-column>
161
+ * <kendo-excelexport-column field="ProductName" title="Product Name"></kendo-excelexport-column>
162
+ * </kendo-excelexport>
163
+ * ```
164
+ *
165
+ * @remarks
166
+ * Supported children components are: {@link ColumnComponent}, {@link ColumnGroupComponent}.
167
+ */
168
+ declare class ExcelExportComponent {
169
+ private localization;
170
+ private zone;
171
+ /**
172
+ * Specifies the name of the exported Excel file.
173
+ *
174
+ * @default "Export.xlsx"
175
+ */
176
+ fileName: string;
177
+ /**
178
+ * Determines whether to enable column filtering in the exported Excel file
179
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/excel-export/filtering)).
180
+ */
181
+ filterable: boolean;
182
+ /**
183
+ * Determines whether groups in the Excel file are collapsible.
184
+ */
185
+ collapsible: boolean;
186
+ /**
187
+ * Specifies the author of the workbook.
188
+ */
189
+ creator?: string;
190
+ /**
191
+ * Specifies the creation date of the workbook.
192
+ * The default value is `new Date()`.
193
+ *
194
+ * @default `new Date()`
195
+ */
196
+ date?: Date;
197
+ /**
198
+ * Determines whether to force the use of a proxy server for file downloads.
199
+ * When set to `true`, the component sends content to `proxyURL` even if the browser supports local file saving.
200
+ */
201
+ forceProxy: boolean;
202
+ /**
203
+ * Specifies the URL of the server-side proxy that streams the file to the user.
204
+ * When the browser cannot save files locally (for example, Internet Explorer 9 and earlier, and Safari), the component uses a proxy.
205
+ * You must implement the server-side proxy.
206
+ *
207
+ * The proxy receives a `POST` request with these parameters in the request body:
208
+ * - `contentType`&mdash;The `MIME` type of the file.
209
+ * - `base64`&mdash;The `base-64` encoded file content.
210
+ * - `fileName`&mdash;The requested file name.
211
+ * The proxy must return the decoded file with the `Content-Disposition` header set to `attachment; filename="<fileName.xslx>"`.
212
+ */
213
+ proxyURL: string;
214
+ /**
215
+ * Specifies the data to export.
216
+ * When the data is grouped, structure it as described by the
217
+ * [`GroupResult`](https://www.telerik.com/kendo-angular-ui/components/data-query/api/groupresult) option of the Kendo UI Data Query component.
218
+ */
219
+ data: any[];
220
+ /**
221
+ * Specifies the exported data groups.
222
+ * The groups must match the
223
+ * [`GroupDescriptor`](https://www.telerik.com/kendo-angular-ui/components/data-query/api/groupdescriptor) option of the Kendo UI Data Query component.
224
+ */
225
+ group: any[];
226
+ /**
227
+ * Specifies the options for cells inserted before data, group, and footer cells
228
+ * to show group hierarchy when the data is grouped
229
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/excel-export/cells#padding-cells)).
230
+ */
231
+ paddingCellOptions: CellOptions;
232
+ /**
233
+ * Specifies the options for cells inserted before header cells
234
+ * to align headers and column values when the data is grouped
235
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/excel-export/cells#header-padding-cells)).
236
+ */
237
+ headerPaddingCellOptions: CellOptions;
238
+ /**
239
+ * @hidden
240
+ */
241
+ columns: QueryList<ColumnBase>;
242
+ constructor(localization: LocalizationService, zone: NgZone);
243
+ /**
244
+ * Exports the data to Excel.
245
+ *
246
+ * @param exportData - Optional. The data to export or [`WorkbookOptions`](https://www.telerik.com/kendo-angular-ui/components/excel-export/api/workbookoptions).
247
+ */
248
+ save(exportData?: any[] | ExcelExportData | WorkbookOptions): void;
249
+ /**
250
+ * Returns [`WorkbookOptions`](https://www.telerik.com/kendo-angular-ui/components/excel-export/api/workbookoptions) based on the specified columns and data.
251
+ * Use this method to customize the workbook options.
252
+ *
253
+ * @param exportData - Optional. The data to export.
254
+ * @returns {WorkbookOptions} The workbook options.
255
+ */
256
+ workbookOptions(exportData?: any[] | ExcelExportData): WorkbookOptions;
257
+ /**
258
+ * Returns a promise that resolves with the file data URI.
259
+ * Use this method to get the Excel file as a data URI.
260
+ *
261
+ * @param exportData - Optional. The data or [`WorkbookOptions`](https://www.telerik.com/kendo-angular-ui/components/excel-export/api/workbookoptions) to use for generating the data URI.
262
+ * @returns {Promise<string>} A promise that resolves with the file data URI.
263
+ */
264
+ toDataURL(exportData?: any[] | ExcelExportData | WorkbookOptions): Promise<string>;
265
+ protected getExportData(exportData?: ExcelExportData | any[]): ExcelExportData;
266
+ protected saveFile(dataURL: string): void;
267
+ static ɵfac: i0.ɵɵFactoryDeclaration<ExcelExportComponent, never>;
268
+ static ɵcmp: i0.ɵɵComponentDeclaration<ExcelExportComponent, "kendo-excelexport", ["kendoExcelExport"], { "fileName": { "alias": "fileName"; "required": false; }; "filterable": { "alias": "filterable"; "required": false; }; "collapsible": { "alias": "collapsible"; "required": false; }; "creator": { "alias": "creator"; "required": false; }; "date": { "alias": "date"; "required": false; }; "forceProxy": { "alias": "forceProxy"; "required": false; }; "proxyURL": { "alias": "proxyURL"; "required": false; }; "data": { "alias": "data"; "required": false; }; "group": { "alias": "group"; "required": false; }; "paddingCellOptions": { "alias": "paddingCellOptions"; "required": false; }; "headerPaddingCellOptions": { "alias": "headerPaddingCellOptions"; "required": false; }; }, {}, ["columns"], never, true, never>;
269
+ }
270
+
271
+ /**
272
+ * Represents the group header cell template of the Excel Export column component
273
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/excel-export/columns#group-header-template)).
274
+ * Use this directive to customize the content of the group header item.
275
+ *
276
+ * @example
277
+ * ```html
278
+ * <ng-template kendoExcelExportGroupHeaderTemplate let-group let-field="field">
279
+ * Group Header for {{ field }}
280
+ * </ng-template>
281
+ * ```
282
+ */
283
+ declare class GroupHeaderTemplateDirective {
284
+ templateRef: TemplateRef<any>;
285
+ constructor(templateRef: TemplateRef<any>);
286
+ static ɵfac: i0.ɵɵFactoryDeclaration<GroupHeaderTemplateDirective, [{ optional: true; }]>;
287
+ static ɵdir: i0.ɵɵDirectiveDeclaration<GroupHeaderTemplateDirective, "[kendoExcelExportGroupHeaderTemplate]", never, {}, {}, never, never, true, never>;
288
+ }
289
+
290
+ /**
291
+ * Represents the group header column template of the Excel Export column component
292
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/excel-export/columns#group-header-column-template)).
293
+ * Use this directive to customize the group header column.
294
+ *
295
+ * @example
296
+ * ```html
297
+ * <ng-template kendoExcelExportGroupHeaderColumnTemplate let-group let-field="field">
298
+ * Group Header Column for {{ field }}
299
+ * </ng-template>
300
+ * ```
301
+ */
302
+ declare class GroupHeaderColumnTemplateDirective {
303
+ templateRef: TemplateRef<any>;
304
+ constructor(templateRef: TemplateRef<any>);
305
+ static ɵfac: i0.ɵɵFactoryDeclaration<GroupHeaderColumnTemplateDirective, [{ optional: true; }]>;
306
+ static ɵdir: i0.ɵɵDirectiveDeclaration<GroupHeaderColumnTemplateDirective, "[kendoExcelExportGroupHeaderColumnTemplate]", never, {}, {}, never, never, true, never>;
307
+ }
308
+
309
+ /**
310
+ * Represents the group footer cell template of the Excel Export column component
311
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/excel-export/columns#group-footer-template)).
312
+ * Use this directive to customize the group footer cell of a column.
313
+ *
314
+ * @example
315
+ * ```html
316
+ * <ng-template kendoExcelExportGroupFooterTemplate let-group let-field="field">
317
+ * Group Footer for {{ field }}
318
+ * </ng-template>
319
+ * ```
320
+ */
321
+ declare class GroupFooterTemplateDirective {
322
+ templateRef: TemplateRef<any>;
323
+ constructor(templateRef: TemplateRef<any>);
324
+ static ɵfac: i0.ɵɵFactoryDeclaration<GroupFooterTemplateDirective, [{ optional: true; }]>;
325
+ static ɵdir: i0.ɵɵDirectiveDeclaration<GroupFooterTemplateDirective, "[kendoExcelExportGroupFooterTemplate]", never, {}, {}, never, never, true, never>;
326
+ }
327
+
328
+ /**
329
+ * Represents the footer cell template of the Excel Export column component
330
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/excel-export/columns#footer-template)).
331
+ * Use this directive to customize the footer cell of a column.
332
+ *
333
+ * @example
334
+ * ```html
335
+ * <ng-template kendoExcelExportFooterTemplate let-column let-columnIndex="columnIndex">
336
+ * Footer for {{ column.field }}
337
+ * </ng-template>
338
+ * ```
339
+ */
340
+ declare class FooterTemplateDirective {
341
+ templateRef: TemplateRef<any>;
342
+ constructor(templateRef: TemplateRef<any>);
343
+ static ɵfac: i0.ɵɵFactoryDeclaration<FooterTemplateDirective, [{ optional: true; }]>;
344
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FooterTemplateDirective, "[kendoExcelExportFooterTemplate]", never, {}, {}, never, never, true, never>;
345
+ }
346
+
347
+ /**
348
+ * Represents a column in the Kendo UI Excel Export component for Angular.
349
+ * Use this component to define the structure and options for each column.
350
+ *
351
+ * @example
352
+ * ```html
353
+ * <kendo-excelexport-column field="ProductName"></kendo-excelexport-column>
354
+ * ```
355
+ */
356
+ declare class ColumnComponent extends ColumnBase {
357
+ /**
358
+ * Specifies the field that the column displays.
359
+ */
360
+ field: string;
361
+ /**
362
+ * Specifies options for the column's data cells
363
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/excel-export/cells#data-cells)).
364
+ */
365
+ cellOptions: CellOptions;
366
+ /**
367
+ * Specifies options for the group header cells of the column
368
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/excel-export/cells#header-cells)).
369
+ */
370
+ groupHeaderCellOptions: CellOptions;
371
+ /**
372
+ * Specifies options for the group footer cells of the column
373
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/excel-export/cells#group-footer-cells)).
374
+ */
375
+ groupFooterCellOptions: CellOptions;
376
+ /**
377
+ * Specifies options for the footer cell of the column
378
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/excel-export/cells#footer-cells)).
379
+ */
380
+ footerCellOptions: CellOptions;
381
+ /**
382
+ * @hidden
383
+ */
384
+ groupHeaderTemplate: GroupHeaderTemplateDirective;
385
+ /**
386
+ * @hidden
387
+ */
388
+ groupHeaderColumnTemplate: GroupHeaderColumnTemplateDirective;
389
+ /**
390
+ * @hidden
391
+ */
392
+ groupFooterTemplate: GroupFooterTemplateDirective;
393
+ /**
394
+ * @hidden
395
+ */
396
+ footerTemplate: FooterTemplateDirective;
397
+ constructor(parent?: ColumnBase);
398
+ static ɵfac: i0.ɵɵFactoryDeclaration<ColumnComponent, [{ optional: true; host: true; skipSelf: true; }]>;
399
+ static ɵcmp: i0.ɵɵComponentDeclaration<ColumnComponent, "kendo-excelexport-column", never, { "field": { "alias": "field"; "required": false; }; "cellOptions": { "alias": "cellOptions"; "required": false; }; "groupHeaderCellOptions": { "alias": "groupHeaderCellOptions"; "required": false; }; "groupFooterCellOptions": { "alias": "groupFooterCellOptions"; "required": false; }; "footerCellOptions": { "alias": "footerCellOptions"; "required": false; }; }, {}, ["groupHeaderTemplate", "groupHeaderColumnTemplate", "groupFooterTemplate", "footerTemplate"], never, true, never>;
400
+ }
401
+
402
+ /**
403
+ * Represents a group of columns in the Kendo UI Excel Export component.
404
+ * Use this component to organize columns into groups.
405
+ *
406
+ * @example
407
+ * ```html
408
+ * <kendo-excelexport-column-group>
409
+ * <kendo-excelexport-column field="ProductName"></kendo-excelexport-column>
410
+ * <kendo-excelexport-column field="UnitPrice"></kendo-excelexport-column>
411
+ * </kendo-excelexport-column-group>
412
+ * ```
413
+ */
414
+ declare class ColumnGroupComponent extends ColumnBase {
415
+ parent?: ColumnBase;
416
+ constructor(parent?: ColumnBase);
417
+ static ɵfac: i0.ɵɵFactoryDeclaration<ColumnGroupComponent, [{ optional: true; host: true; skipSelf: true; }]>;
418
+ static ɵcmp: i0.ɵɵComponentDeclaration<ColumnGroupComponent, "kendo-excelexport-column-group", never, {}, {}, never, never, true, never>;
419
+ }
420
+
421
+ /**
422
+ * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi']) definition for the Excel Export component.
423
+ *
424
+ * Use this module to enable Excel export features in your application.
425
+ *
426
+ * @example
427
+ * ```typescript
428
+ * import { ExcelExportModule } from '@progress/kendo-angular-excel-export';
429
+ * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
430
+ * import { NgModule } from '@angular/core';
431
+ * import { AppComponent } from './app.component';
432
+ *
433
+ * @NgModule({
434
+ * declarations: [AppComponent],
435
+ * imports: [BrowserModule, ExcelExportModule],
436
+ * bootstrap: [AppComponent]
437
+ * })
438
+ * export class AppModule {}
439
+ *
440
+ * platformBrowserDynamic().bootstrapModule(AppModule);
441
+ * ```
442
+ */
443
+ declare class ExcelExportModule {
444
+ static ɵfac: i0.ɵɵFactoryDeclaration<ExcelExportModule, never>;
445
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ExcelExportModule, never, [typeof ExcelExportComponent, typeof ColumnComponent, typeof ColumnGroupComponent, typeof FooterTemplateDirective, typeof GroupFooterTemplateDirective, typeof GroupHeaderColumnTemplateDirective, typeof GroupHeaderTemplateDirective], [typeof ExcelExportComponent, typeof ColumnComponent, typeof ColumnGroupComponent, typeof FooterTemplateDirective, typeof GroupFooterTemplateDirective, typeof GroupHeaderColumnTemplateDirective, typeof GroupHeaderTemplateDirective]>;
446
+ static ɵinj: i0.ɵɵInjectorDeclaration<ExcelExportModule>;
447
+ }
448
+
449
+ /**
450
+ *
451
+ * @hidden
452
+ */
453
+ declare const workbookOptions: (options: any) => WorkbookOptions;
454
+ /**
455
+ * @hidden
456
+ */
457
+ declare const toDataURL: (options: WorkbookOptions) => Promise<string>;
458
+ /**
459
+ * @hidden
460
+ */
461
+ declare const isWorkbookOptions: (value: any) => boolean;
462
+
463
+ /**
464
+ * Use this utility array to access all `@progress/kendo-angular-excel-export` related components and directives.
465
+ */
466
+ declare const KENDO_EXCELEXPORT: readonly [typeof ExcelExportComponent, typeof ColumnComponent, typeof ColumnGroupComponent, typeof FooterTemplateDirective, typeof GroupFooterTemplateDirective, typeof GroupHeaderColumnTemplateDirective, typeof GroupHeaderTemplateDirective];
467
+
468
+ export { ColumnBase, ColumnComponent, ColumnGroupComponent, ExcelExportComponent, ExcelExportModule, FooterTemplateDirective, GroupFooterTemplateDirective, GroupHeaderColumnTemplateDirective, GroupHeaderTemplateDirective, KENDO_EXCELEXPORT, isWorkbookOptions, toDataURL, workbookOptions };
469
+ export type { CellOptions, ExcelExportData };
@@ -7,7 +7,7 @@ export const packageMetadata = {
7
7
  "productCodes": [
8
8
  "KENDOUIANGULAR"
9
9
  ],
10
- "publishDate": 1783511515,
11
- "version": "24.2.2",
10
+ "publishDate": 1783679858,
11
+ "version": "25.0.0-develop.1",
12
12
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
13
13
  };