@progress/kendo-angular-excel-export 24.2.2 → 25.0.0-develop.2
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/fesm2022/progress-kendo-angular-excel-export.mjs +30 -30
- package/index.d.ts +464 -13
- package/package-metadata.mjs +2 -2
- package/package.json +9 -9
- package/columns/column-base.d.ts +0 -48
- package/columns/column-group.component.d.ts +0 -24
- package/columns/column.component.d.ts +0 -65
- package/columns/footer-template.directive.d.ts +0 -24
- package/columns/group-footer-template.directive.d.ts +0 -24
- package/columns/group-header-column-template.directive.d.ts +0 -24
- package/columns/group-header-template.directive.d.ts +0 -24
- package/directives.d.ts +0 -15
- package/excel-export-data.d.ts +0 -23
- package/excel-export.component.d.ts +0 -128
- package/excel-export.module.d.ts +0 -39
- package/ooxml/cell-options.interface.d.ts +0 -84
- package/ooxml/exporter-columns.d.ts +0 -35
- package/ooxml/workbook.d.ts +0 -18
- package/package-metadata.d.ts +0 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-excel-export",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "25.0.0-develop.2",
|
|
4
4
|
"description": "Kendo UI for Angular Excel Export component",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -19,23 +19,23 @@
|
|
|
19
19
|
"package": {
|
|
20
20
|
"productName": "Kendo UI for Angular",
|
|
21
21
|
"productCode": "KENDOUIANGULAR",
|
|
22
|
-
"publishDate":
|
|
22
|
+
"publishDate": 1783688575,
|
|
23
23
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@angular/animations": "
|
|
28
|
-
"@angular/common": "
|
|
29
|
-
"@angular/core": "
|
|
30
|
-
"@angular/platform-browser": "
|
|
27
|
+
"@angular/animations": "20 - 22",
|
|
28
|
+
"@angular/common": "20 - 22",
|
|
29
|
+
"@angular/core": "20 - 22",
|
|
30
|
+
"@angular/platform-browser": "20 - 22",
|
|
31
31
|
"@progress/kendo-licensing": "^1.11.0",
|
|
32
|
-
"@progress/kendo-angular-common": "
|
|
33
|
-
"@progress/kendo-angular-l10n": "
|
|
32
|
+
"@progress/kendo-angular-common": "25.0.0-develop.2",
|
|
33
|
+
"@progress/kendo-angular-l10n": "25.0.0-develop.2",
|
|
34
34
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"tslib": "^2.3.1",
|
|
38
|
-
"@progress/kendo-angular-schematics": "
|
|
38
|
+
"@progress/kendo-angular-schematics": "25.0.0-develop.2",
|
|
39
39
|
"@progress/kendo-file-saver": "^1.0.0",
|
|
40
40
|
"@progress/kendo-intl": "^3.0.0",
|
|
41
41
|
"@progress/kendo-ooxml": "^1.9.0"
|
package/columns/column-base.d.ts
DELETED
|
@@ -1,48 +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 { QueryList } from '@angular/core';
|
|
6
|
-
import { CellOptions } from '../ooxml/cell-options.interface';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export declare class ColumnBase {
|
|
12
|
-
parent?: ColumnBase;
|
|
13
|
-
/**
|
|
14
|
-
* The title of the column.
|
|
15
|
-
*/
|
|
16
|
-
title: string;
|
|
17
|
-
/**
|
|
18
|
-
* The width of the column in pixels.
|
|
19
|
-
*/
|
|
20
|
-
width: number;
|
|
21
|
-
/**
|
|
22
|
-
* Toggles the locked (frozen) state of the column ([see example](https://www.telerik.com/kendo-angular-ui/components/excel-export/columns#locked-state)).
|
|
23
|
-
*
|
|
24
|
-
* @default false
|
|
25
|
-
*/
|
|
26
|
-
locked: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* Sets the visibility of the column ([see example](https://www.telerik.com/kendo-angular-ui/components/excel-export/columns#hidden-state)).
|
|
29
|
-
*
|
|
30
|
-
* @default false
|
|
31
|
-
*/
|
|
32
|
-
hidden: boolean;
|
|
33
|
-
/**
|
|
34
|
-
* The options of the column header cell.
|
|
35
|
-
*/
|
|
36
|
-
headerCellOptions: CellOptions;
|
|
37
|
-
/**
|
|
38
|
-
* @hidden
|
|
39
|
-
*/
|
|
40
|
-
children: QueryList<ColumnBase>;
|
|
41
|
-
/**
|
|
42
|
-
* @hidden
|
|
43
|
-
*/
|
|
44
|
-
get level(): number;
|
|
45
|
-
constructor(parent?: ColumnBase);
|
|
46
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnBase, never>;
|
|
47
|
-
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>;
|
|
48
|
-
}
|
|
@@ -1,24 +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 { ColumnBase } from './column-base';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Represents a group of columns in the Kendo UI Excel Export component.
|
|
9
|
-
* Use this component to organize columns into groups.
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* ```html
|
|
13
|
-
* <kendo-excelexport-column-group>
|
|
14
|
-
* <kendo-excelexport-column field="ProductName"></kendo-excelexport-column>
|
|
15
|
-
* <kendo-excelexport-column field="UnitPrice"></kendo-excelexport-column>
|
|
16
|
-
* </kendo-excelexport-column-group>
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
export declare class ColumnGroupComponent extends ColumnBase {
|
|
20
|
-
parent?: ColumnBase;
|
|
21
|
-
constructor(parent?: ColumnBase);
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnGroupComponent, [{ optional: true; host: true; skipSelf: true; }]>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnGroupComponent, "kendo-excelexport-column-group", never, {}, {}, never, never, true, never>;
|
|
24
|
-
}
|
|
@@ -1,65 +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 { GroupHeaderTemplateDirective } from './group-header-template.directive';
|
|
6
|
-
import { GroupHeaderColumnTemplateDirective } from './group-header-column-template.directive';
|
|
7
|
-
import { GroupFooterTemplateDirective } from './group-footer-template.directive';
|
|
8
|
-
import { FooterTemplateDirective } from './footer-template.directive';
|
|
9
|
-
import { ColumnBase } from './column-base';
|
|
10
|
-
import { CellOptions } from '../ooxml/cell-options.interface';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
/**
|
|
13
|
-
* Represents a column in the Kendo UI Excel Export component for Angular.
|
|
14
|
-
* Use this component to define the structure and options for each column.
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* ```html
|
|
18
|
-
* <kendo-excelexport-column field="ProductName"></kendo-excelexport-column>
|
|
19
|
-
* ```
|
|
20
|
-
*/
|
|
21
|
-
export declare class ColumnComponent extends ColumnBase {
|
|
22
|
-
/**
|
|
23
|
-
* Specifies the field that the column displays.
|
|
24
|
-
*/
|
|
25
|
-
field: string;
|
|
26
|
-
/**
|
|
27
|
-
* Specifies options for the column's data cells
|
|
28
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/excel-export/cells#data-cells)).
|
|
29
|
-
*/
|
|
30
|
-
cellOptions: CellOptions;
|
|
31
|
-
/**
|
|
32
|
-
* Specifies options for the group header cells of the column
|
|
33
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/excel-export/cells#header-cells)).
|
|
34
|
-
*/
|
|
35
|
-
groupHeaderCellOptions: CellOptions;
|
|
36
|
-
/**
|
|
37
|
-
* Specifies options for the group footer cells of the column
|
|
38
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/excel-export/cells#group-footer-cells)).
|
|
39
|
-
*/
|
|
40
|
-
groupFooterCellOptions: CellOptions;
|
|
41
|
-
/**
|
|
42
|
-
* Specifies options for the footer cell of the column
|
|
43
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/excel-export/cells#footer-cells)).
|
|
44
|
-
*/
|
|
45
|
-
footerCellOptions: CellOptions;
|
|
46
|
-
/**
|
|
47
|
-
* @hidden
|
|
48
|
-
*/
|
|
49
|
-
groupHeaderTemplate: GroupHeaderTemplateDirective;
|
|
50
|
-
/**
|
|
51
|
-
* @hidden
|
|
52
|
-
*/
|
|
53
|
-
groupHeaderColumnTemplate: GroupHeaderColumnTemplateDirective;
|
|
54
|
-
/**
|
|
55
|
-
* @hidden
|
|
56
|
-
*/
|
|
57
|
-
groupFooterTemplate: GroupFooterTemplateDirective;
|
|
58
|
-
/**
|
|
59
|
-
* @hidden
|
|
60
|
-
*/
|
|
61
|
-
footerTemplate: FooterTemplateDirective;
|
|
62
|
-
constructor(parent?: ColumnBase);
|
|
63
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnComponent, [{ optional: true; host: true; skipSelf: true; }]>;
|
|
64
|
-
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>;
|
|
65
|
-
}
|
|
@@ -1,24 +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 { TemplateRef } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Represents the footer cell template of the Excel Export column component
|
|
9
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/excel-export/columns#footer-template)).
|
|
10
|
-
* Use this directive to customize the footer cell of a column.
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```html
|
|
14
|
-
* <ng-template kendoExcelExportFooterTemplate let-column let-columnIndex="columnIndex">
|
|
15
|
-
* Footer for {{ column.field }}
|
|
16
|
-
* </ng-template>
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
export declare class FooterTemplateDirective {
|
|
20
|
-
templateRef: TemplateRef<any>;
|
|
21
|
-
constructor(templateRef: TemplateRef<any>);
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FooterTemplateDirective, [{ optional: true; }]>;
|
|
23
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FooterTemplateDirective, "[kendoExcelExportFooterTemplate]", never, {}, {}, never, never, true, never>;
|
|
24
|
-
}
|
|
@@ -1,24 +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 { TemplateRef } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Represents the group footer cell template of the Excel Export column component
|
|
9
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/excel-export/columns#group-footer-template)).
|
|
10
|
-
* Use this directive to customize the group footer cell of a column.
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```html
|
|
14
|
-
* <ng-template kendoExcelExportGroupFooterTemplate let-group let-field="field">
|
|
15
|
-
* Group Footer for {{ field }}
|
|
16
|
-
* </ng-template>
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
export declare class GroupFooterTemplateDirective {
|
|
20
|
-
templateRef: TemplateRef<any>;
|
|
21
|
-
constructor(templateRef: TemplateRef<any>);
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GroupFooterTemplateDirective, [{ optional: true; }]>;
|
|
23
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<GroupFooterTemplateDirective, "[kendoExcelExportGroupFooterTemplate]", never, {}, {}, never, never, true, never>;
|
|
24
|
-
}
|
|
@@ -1,24 +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 { TemplateRef } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Represents the group header column template of the Excel Export column component
|
|
9
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/excel-export/columns#group-header-column-template)).
|
|
10
|
-
* Use this directive to customize the group header column.
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```html
|
|
14
|
-
* <ng-template kendoExcelExportGroupHeaderColumnTemplate let-group let-field="field">
|
|
15
|
-
* Group Header Column for {{ field }}
|
|
16
|
-
* </ng-template>
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
export declare class GroupHeaderColumnTemplateDirective {
|
|
20
|
-
templateRef: TemplateRef<any>;
|
|
21
|
-
constructor(templateRef: TemplateRef<any>);
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GroupHeaderColumnTemplateDirective, [{ optional: true; }]>;
|
|
23
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<GroupHeaderColumnTemplateDirective, "[kendoExcelExportGroupHeaderColumnTemplate]", never, {}, {}, never, never, true, never>;
|
|
24
|
-
}
|
|
@@ -1,24 +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 { TemplateRef } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Represents the group header cell template of the Excel Export column component
|
|
9
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/excel-export/columns#group-header-template)).
|
|
10
|
-
* Use this directive to customize the content of the group header item.
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```html
|
|
14
|
-
* <ng-template kendoExcelExportGroupHeaderTemplate let-group let-field="field">
|
|
15
|
-
* Group Header for {{ field }}
|
|
16
|
-
* </ng-template>
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
export declare class GroupHeaderTemplateDirective {
|
|
20
|
-
templateRef: TemplateRef<any>;
|
|
21
|
-
constructor(templateRef: TemplateRef<any>);
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GroupHeaderTemplateDirective, [{ optional: true; }]>;
|
|
23
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<GroupHeaderTemplateDirective, "[kendoExcelExportGroupHeaderTemplate]", never, {}, {}, never, never, true, never>;
|
|
24
|
-
}
|
package/directives.d.ts
DELETED
|
@@ -1,15 +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 { FooterTemplateDirective } from "./columns/footer-template.directive";
|
|
6
|
-
import { GroupHeaderTemplateDirective } from "./columns/group-header-template.directive";
|
|
7
|
-
import { ExcelExportComponent } from "./excel-export.component";
|
|
8
|
-
import { ColumnComponent } from "./columns/column.component";
|
|
9
|
-
import { ColumnGroupComponent } from "./columns/column-group.component";
|
|
10
|
-
import { GroupFooterTemplateDirective } from "./columns/group-footer-template.directive";
|
|
11
|
-
import { GroupHeaderColumnTemplateDirective } from "./columns/group-header-column-template.directive";
|
|
12
|
-
/**
|
|
13
|
-
* Use this utility array to access all `@progress/kendo-angular-excel-export` related components and directives.
|
|
14
|
-
*/
|
|
15
|
-
export declare const KENDO_EXCELEXPORT: readonly [typeof ExcelExportComponent, typeof ColumnComponent, typeof ColumnGroupComponent, typeof FooterTemplateDirective, typeof GroupFooterTemplateDirective, typeof GroupHeaderColumnTemplateDirective, typeof GroupHeaderTemplateDirective];
|
package/excel-export-data.d.ts
DELETED
|
@@ -1,23 +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
|
-
/**
|
|
6
|
-
* Represents the expected type for the `ExcelExportComponent` data.
|
|
7
|
-
*
|
|
8
|
-
* Use this interface to specify the data and groups for export.
|
|
9
|
-
*/
|
|
10
|
-
export interface ExcelExportData {
|
|
11
|
-
/**
|
|
12
|
-
* Specifies the exported data.
|
|
13
|
-
* When the data is grouped, structure it as described by the
|
|
14
|
-
* [`GroupResult`](https://www.telerik.com/kendo-angular-ui/components/data-query/api/groupresult) option of the Kendo UI Data Query component.
|
|
15
|
-
*/
|
|
16
|
-
data?: any[];
|
|
17
|
-
/**
|
|
18
|
-
* Specifies the exported data groups.
|
|
19
|
-
* The groups must match the
|
|
20
|
-
* [`GroupDescriptor`](https://www.telerik.com/kendo-angular-ui/components/data-query/api/groupdescriptor) option of the Kendo UI Data Query component.
|
|
21
|
-
*/
|
|
22
|
-
group?: any[];
|
|
23
|
-
}
|
|
@@ -1,128 +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 { QueryList, NgZone } from '@angular/core';
|
|
6
|
-
import { WorkbookOptions } from '@progress/kendo-ooxml';
|
|
7
|
-
import { CellOptions } from './ooxml/cell-options.interface';
|
|
8
|
-
import { ExcelExportData } from './excel-export-data';
|
|
9
|
-
import { ColumnBase } from './columns/column-base';
|
|
10
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
/**
|
|
13
|
-
* Represents the [Kendo UI Excel Export component for Angular](https://www.telerik.com/kendo-angular-ui/components/excel-export).
|
|
14
|
-
* Use this component to export data to Excel format.
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* ```html
|
|
18
|
-
* <kendo-excelexport [data]="gridData" fileName="MyExport.xlsx">
|
|
19
|
-
* <kendo-excelexport-column field="ProductID" title="Product ID"></kendo-excelexport-column>
|
|
20
|
-
* <kendo-excelexport-column field="ProductName" title="Product Name"></kendo-excelexport-column>
|
|
21
|
-
* </kendo-excelexport>
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @remarks
|
|
25
|
-
* Supported children components are: {@link ColumnComponent}, {@link ColumnGroupComponent}.
|
|
26
|
-
*/
|
|
27
|
-
export declare class ExcelExportComponent {
|
|
28
|
-
private localization;
|
|
29
|
-
private zone;
|
|
30
|
-
/**
|
|
31
|
-
* Specifies the name of the exported Excel file.
|
|
32
|
-
*
|
|
33
|
-
* @default "Export.xlsx"
|
|
34
|
-
*/
|
|
35
|
-
fileName: string;
|
|
36
|
-
/**
|
|
37
|
-
* Determines whether to enable column filtering in the exported Excel file
|
|
38
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/excel-export/filtering)).
|
|
39
|
-
*/
|
|
40
|
-
filterable: boolean;
|
|
41
|
-
/**
|
|
42
|
-
* Determines whether groups in the Excel file are collapsible.
|
|
43
|
-
*/
|
|
44
|
-
collapsible: boolean;
|
|
45
|
-
/**
|
|
46
|
-
* Specifies the author of the workbook.
|
|
47
|
-
*/
|
|
48
|
-
creator?: string;
|
|
49
|
-
/**
|
|
50
|
-
* Specifies the creation date of the workbook.
|
|
51
|
-
* The default value is `new Date()`.
|
|
52
|
-
*
|
|
53
|
-
* @default `new Date()`
|
|
54
|
-
*/
|
|
55
|
-
date?: Date;
|
|
56
|
-
/**
|
|
57
|
-
* Determines whether to force the use of a proxy server for file downloads.
|
|
58
|
-
* When set to `true`, the component sends content to `proxyURL` even if the browser supports local file saving.
|
|
59
|
-
*/
|
|
60
|
-
forceProxy: boolean;
|
|
61
|
-
/**
|
|
62
|
-
* Specifies the URL of the server-side proxy that streams the file to the user.
|
|
63
|
-
* When the browser cannot save files locally (for example, Internet Explorer 9 and earlier, and Safari), the component uses a proxy.
|
|
64
|
-
* You must implement the server-side proxy.
|
|
65
|
-
*
|
|
66
|
-
* The proxy receives a `POST` request with these parameters in the request body:
|
|
67
|
-
* - `contentType`—The `MIME` type of the file.
|
|
68
|
-
* - `base64`—The `base-64` encoded file content.
|
|
69
|
-
* - `fileName`—The requested file name.
|
|
70
|
-
* The proxy must return the decoded file with the `Content-Disposition` header set to `attachment; filename="<fileName.xslx>"`.
|
|
71
|
-
*/
|
|
72
|
-
proxyURL: string;
|
|
73
|
-
/**
|
|
74
|
-
* Specifies the data to export.
|
|
75
|
-
* When the data is grouped, structure it as described by the
|
|
76
|
-
* [`GroupResult`](https://www.telerik.com/kendo-angular-ui/components/data-query/api/groupresult) option of the Kendo UI Data Query component.
|
|
77
|
-
*/
|
|
78
|
-
data: any[];
|
|
79
|
-
/**
|
|
80
|
-
* Specifies the exported data groups.
|
|
81
|
-
* The groups must match the
|
|
82
|
-
* [`GroupDescriptor`](https://www.telerik.com/kendo-angular-ui/components/data-query/api/groupdescriptor) option of the Kendo UI Data Query component.
|
|
83
|
-
*/
|
|
84
|
-
group: any[];
|
|
85
|
-
/**
|
|
86
|
-
* Specifies the options for cells inserted before data, group, and footer cells
|
|
87
|
-
* to show group hierarchy when the data is grouped
|
|
88
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/excel-export/cells#padding-cells)).
|
|
89
|
-
*/
|
|
90
|
-
paddingCellOptions: CellOptions;
|
|
91
|
-
/**
|
|
92
|
-
* Specifies the options for cells inserted before header cells
|
|
93
|
-
* to align headers and column values when the data is grouped
|
|
94
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/excel-export/cells#header-padding-cells)).
|
|
95
|
-
*/
|
|
96
|
-
headerPaddingCellOptions: CellOptions;
|
|
97
|
-
/**
|
|
98
|
-
* @hidden
|
|
99
|
-
*/
|
|
100
|
-
columns: QueryList<ColumnBase>;
|
|
101
|
-
constructor(localization: LocalizationService, zone: NgZone);
|
|
102
|
-
/**
|
|
103
|
-
* Exports the data to Excel.
|
|
104
|
-
*
|
|
105
|
-
* @param exportData - Optional. The data to export or [`WorkbookOptions`](https://www.telerik.com/kendo-angular-ui/components/excel-export/api/workbookoptions).
|
|
106
|
-
*/
|
|
107
|
-
save(exportData?: any[] | ExcelExportData | WorkbookOptions): void;
|
|
108
|
-
/**
|
|
109
|
-
* Returns [`WorkbookOptions`](https://www.telerik.com/kendo-angular-ui/components/excel-export/api/workbookoptions) based on the specified columns and data.
|
|
110
|
-
* Use this method to customize the workbook options.
|
|
111
|
-
*
|
|
112
|
-
* @param exportData - Optional. The data to export.
|
|
113
|
-
* @returns {WorkbookOptions} The workbook options.
|
|
114
|
-
*/
|
|
115
|
-
workbookOptions(exportData?: any[] | ExcelExportData): WorkbookOptions;
|
|
116
|
-
/**
|
|
117
|
-
* Returns a promise that resolves with the file data URI.
|
|
118
|
-
* Use this method to get the Excel file as a data URI.
|
|
119
|
-
*
|
|
120
|
-
* @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.
|
|
121
|
-
* @returns {Promise<string>} A promise that resolves with the file data URI.
|
|
122
|
-
*/
|
|
123
|
-
toDataURL(exportData?: any[] | ExcelExportData | WorkbookOptions): Promise<string>;
|
|
124
|
-
protected getExportData(exportData?: ExcelExportData | any[]): ExcelExportData;
|
|
125
|
-
protected saveFile(dataURL: string): void;
|
|
126
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ExcelExportComponent, never>;
|
|
127
|
-
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>;
|
|
128
|
-
}
|
package/excel-export.module.d.ts
DELETED
|
@@ -1,39 +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 * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "./excel-export.component";
|
|
7
|
-
import * as i2 from "./columns/column.component";
|
|
8
|
-
import * as i3 from "./columns/column-group.component";
|
|
9
|
-
import * as i4 from "./columns/footer-template.directive";
|
|
10
|
-
import * as i5 from "./columns/group-footer-template.directive";
|
|
11
|
-
import * as i6 from "./columns/group-header-column-template.directive";
|
|
12
|
-
import * as i7 from "./columns/group-header-template.directive";
|
|
13
|
-
/**
|
|
14
|
-
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi']) definition for the Excel Export component.
|
|
15
|
-
*
|
|
16
|
-
* Use this module to enable Excel export features in your application.
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* ```typescript
|
|
20
|
-
* import { ExcelExportModule } from '@progress/kendo-angular-excel-export';
|
|
21
|
-
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
22
|
-
* import { NgModule } from '@angular/core';
|
|
23
|
-
* import { AppComponent } from './app.component';
|
|
24
|
-
*
|
|
25
|
-
* @NgModule({
|
|
26
|
-
* declarations: [AppComponent],
|
|
27
|
-
* imports: [BrowserModule, ExcelExportModule],
|
|
28
|
-
* bootstrap: [AppComponent]
|
|
29
|
-
* })
|
|
30
|
-
* export class AppModule {}
|
|
31
|
-
*
|
|
32
|
-
* platformBrowserDynamic().bootstrapModule(AppModule);
|
|
33
|
-
* ```
|
|
34
|
-
*/
|
|
35
|
-
export declare class ExcelExportModule {
|
|
36
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ExcelExportModule, never>;
|
|
37
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ExcelExportModule, never, [typeof i1.ExcelExportComponent, typeof i2.ColumnComponent, typeof i3.ColumnGroupComponent, typeof i4.FooterTemplateDirective, typeof i5.GroupFooterTemplateDirective, typeof i6.GroupHeaderColumnTemplateDirective, typeof i7.GroupHeaderTemplateDirective], [typeof i1.ExcelExportComponent, typeof i2.ColumnComponent, typeof i3.ColumnGroupComponent, typeof i4.FooterTemplateDirective, typeof i5.GroupFooterTemplateDirective, typeof i6.GroupHeaderColumnTemplateDirective, typeof i7.GroupHeaderTemplateDirective]>;
|
|
38
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ExcelExportModule>;
|
|
39
|
-
}
|
|
@@ -1,84 +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 { WorkbookSheetRowCellBorderBottom, WorkbookSheetRowCellBorderLeft, WorkbookSheetRowCellBorderTop, WorkbookSheetRowCellBorderRight } from '@progress/kendo-ooxml';
|
|
6
|
-
/**
|
|
7
|
-
* The options for the Excel Export cell.
|
|
8
|
-
*/
|
|
9
|
-
export interface CellOptions {
|
|
10
|
-
/**
|
|
11
|
-
* Sets the background color of the cell.
|
|
12
|
-
* Supports hex CSS-like values that start with `"#"`. For example, `"#ff00ff"`.
|
|
13
|
-
*/
|
|
14
|
-
background?: string;
|
|
15
|
-
/**
|
|
16
|
-
* The style information for the bottom border of the cell.
|
|
17
|
-
*/
|
|
18
|
-
borderBottom?: WorkbookSheetRowCellBorderBottom;
|
|
19
|
-
/**
|
|
20
|
-
* The style information for the left border of the cell.
|
|
21
|
-
*/
|
|
22
|
-
borderLeft?: WorkbookSheetRowCellBorderLeft;
|
|
23
|
-
/**
|
|
24
|
-
* The style information for the top border of the cell.
|
|
25
|
-
*/
|
|
26
|
-
borderTop?: WorkbookSheetRowCellBorderTop;
|
|
27
|
-
/**
|
|
28
|
-
* The style information for the right border of the cell.
|
|
29
|
-
*/
|
|
30
|
-
borderRight?: WorkbookSheetRowCellBorderRight;
|
|
31
|
-
/**
|
|
32
|
-
* If set to `true`, renders the cell value in bold.
|
|
33
|
-
*/
|
|
34
|
-
bold?: boolean;
|
|
35
|
-
/**
|
|
36
|
-
* The text color of the cell.
|
|
37
|
-
* Supports hex CSS-like values that start with `"#"`. For example, `"#ff00ff"`.
|
|
38
|
-
*/
|
|
39
|
-
color?: string;
|
|
40
|
-
/**
|
|
41
|
-
* Sets the font that is used to display the cell value.
|
|
42
|
-
*/
|
|
43
|
-
fontFamily?: string;
|
|
44
|
-
/**
|
|
45
|
-
* Sets the font size in pixels.
|
|
46
|
-
*/
|
|
47
|
-
fontSize?: number;
|
|
48
|
-
/**
|
|
49
|
-
* Sets the format that Excel uses to display the cell value.
|
|
50
|
-
* For more information, refer to the page on
|
|
51
|
-
* [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).
|
|
52
|
-
*/
|
|
53
|
-
format?: string;
|
|
54
|
-
/**
|
|
55
|
-
* If `italics` is set to `true`, the cell value is rendered in italics.
|
|
56
|
-
*/
|
|
57
|
-
italic?: boolean;
|
|
58
|
-
/**
|
|
59
|
-
* Sets the horizontal alignment of the cell value.
|
|
60
|
-
*
|
|
61
|
-
* The supported values are:
|
|
62
|
-
* * `"left"`
|
|
63
|
-
* * `"center"`
|
|
64
|
-
* * `"right"`
|
|
65
|
-
*/
|
|
66
|
-
textAlign?: 'left' | 'center' | 'right';
|
|
67
|
-
/**
|
|
68
|
-
* If `underline` is set to `true`, the cell value is underlined.
|
|
69
|
-
*/
|
|
70
|
-
underline?: boolean;
|
|
71
|
-
/**
|
|
72
|
-
* If `wrap` is set to `true`, the cell value is wrapped.
|
|
73
|
-
*/
|
|
74
|
-
wrap?: boolean;
|
|
75
|
-
/**
|
|
76
|
-
* Sets the vertical alignment of the cell value.
|
|
77
|
-
*
|
|
78
|
-
* The supported values are:
|
|
79
|
-
* * `"top"`
|
|
80
|
-
* * `"center"`
|
|
81
|
-
* * `"bottom"`
|
|
82
|
-
*/
|
|
83
|
-
verticalAlign?: 'top' | 'center' | 'bottom';
|
|
84
|
-
}
|
|
@@ -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 { CellOptions } from './cell-options.interface';
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export declare const toExporterColumns: (sourceColumns: any[]) => ExporterColumn[];
|
|
10
|
-
/**
|
|
11
|
-
* @hidden
|
|
12
|
-
*/
|
|
13
|
-
export declare const destroyColumns: (columns: ExporterColumn[]) => void;
|
|
14
|
-
/**
|
|
15
|
-
* @hidden
|
|
16
|
-
*/
|
|
17
|
-
export declare class ExporterColumn {
|
|
18
|
-
title: string;
|
|
19
|
-
field: string;
|
|
20
|
-
hidden: boolean;
|
|
21
|
-
locked: boolean;
|
|
22
|
-
width: number;
|
|
23
|
-
columns: ExporterColumn[];
|
|
24
|
-
groupHeaderTemplate: any;
|
|
25
|
-
groupHeaderColumnTemplate: any;
|
|
26
|
-
groupFooterTemplate: any;
|
|
27
|
-
footerTemplate: any;
|
|
28
|
-
headerCellOptions: CellOptions;
|
|
29
|
-
cellOptions: CellOptions;
|
|
30
|
-
groupHeaderCellOptions: CellOptions;
|
|
31
|
-
groupFooterCellOptions: CellOptions;
|
|
32
|
-
footerCellOptions: CellOptions;
|
|
33
|
-
constructor(column: any, columnIndex?: number);
|
|
34
|
-
destroy(): void;
|
|
35
|
-
}
|
package/ooxml/workbook.d.ts
DELETED
|
@@ -1,18 +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 { WorkbookOptions } from '@progress/kendo-ooxml';
|
|
6
|
-
/**
|
|
7
|
-
*
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export declare const workbookOptions: (options: any) => WorkbookOptions;
|
|
11
|
-
/**
|
|
12
|
-
* @hidden
|
|
13
|
-
*/
|
|
14
|
-
export declare const toDataURL: (options: WorkbookOptions) => Promise<string>;
|
|
15
|
-
/**
|
|
16
|
-
* @hidden
|
|
17
|
-
*/
|
|
18
|
-
export declare const isWorkbookOptions: (value: any) => boolean;
|
package/package-metadata.d.ts
DELETED
|
@@ -1,9 +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 { type PackageMetadata } from '@progress/kendo-licensing';
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export declare const packageMetadata: PackageMetadata;
|