@progress/kendo-angular-excel-export 19.1.1 → 19.1.2-develop.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/columns/column-group.component.d.ts +10 -1
- package/columns/column.component.d.ts +12 -6
- package/columns/footer-template.directive.d.ts +8 -1
- package/columns/group-footer-template.directive.d.ts +8 -1
- package/columns/group-header-column-template.directive.d.ts +8 -0
- package/columns/group-header-template.directive.d.ts +8 -1
- package/directives.d.ts +1 -1
- package/esm2022/columns/column-group.component.mjs +10 -1
- package/esm2022/columns/column.component.mjs +12 -6
- package/esm2022/columns/footer-template.directive.mjs +8 -1
- package/esm2022/columns/group-footer-template.directive.mjs +8 -1
- package/esm2022/columns/group-header-column-template.directive.mjs +8 -0
- package/esm2022/columns/group-header-template.directive.mjs +8 -1
- package/esm2022/directives.mjs +1 -1
- package/esm2022/excel-export.component.mjs +45 -33
- package/esm2022/excel-export.module.mjs +8 -17
- package/esm2022/package-metadata.mjs +2 -2
- package/excel-export-data.d.ts +9 -7
- package/excel-export.component.d.ts +45 -33
- package/excel-export.module.d.ts +8 -17
- package/fesm2022/progress-kendo-angular-excel-export.mjs +110 -63
- package/package.json +5 -5
@@ -5,7 +5,16 @@
|
|
5
5
|
import { ColumnBase } from './column-base';
|
6
6
|
import * as i0 from "@angular/core";
|
7
7
|
/**
|
8
|
-
* Represents
|
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
|
+
* ```
|
9
18
|
*/
|
10
19
|
export declare class ColumnGroupComponent extends ColumnBase {
|
11
20
|
parent?: ColumnBase;
|
@@ -10,30 +10,36 @@ import { ColumnBase } from './column-base';
|
|
10
10
|
import { CellOptions } from '../ooxml/cell-options.interface';
|
11
11
|
import * as i0 from "@angular/core";
|
12
12
|
/**
|
13
|
-
* Represents
|
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
|
+
* ```
|
14
20
|
*/
|
15
21
|
export declare class ColumnComponent extends ColumnBase {
|
16
22
|
/**
|
17
|
-
*
|
23
|
+
* Specifies the field that the column displays.
|
18
24
|
*/
|
19
25
|
field: string;
|
20
26
|
/**
|
21
|
-
*
|
27
|
+
* Specifies options for the column's data cells
|
22
28
|
* ([see example]({% slug cells_excelexport %}#toc-data-cells)).
|
23
29
|
*/
|
24
30
|
cellOptions: CellOptions;
|
25
31
|
/**
|
26
|
-
*
|
32
|
+
* Specifies options for the group header cells of the column
|
27
33
|
* ([see example]({% slug cells_excelexport %}#toc-header-cells)).
|
28
34
|
*/
|
29
35
|
groupHeaderCellOptions: CellOptions;
|
30
36
|
/**
|
31
|
-
*
|
37
|
+
* Specifies options for the group footer cells of the column
|
32
38
|
* ([see example]({% slug cells_excelexport %}#toc-group-footer-cells)).
|
33
39
|
*/
|
34
40
|
groupFooterCellOptions: CellOptions;
|
35
41
|
/**
|
36
|
-
*
|
42
|
+
* Specifies options for the footer cell of the column
|
37
43
|
* ([see example]({% slug cells_excelexport %}#toc-footer-cells)).
|
38
44
|
*/
|
39
45
|
footerCellOptions: CellOptions;
|
@@ -7,7 +7,14 @@ import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
8
8
|
* Represents the footer cell template of the Excel Export column component
|
9
9
|
* ([see example]({% slug columns_excel-export %}#toc-footer-template)).
|
10
|
-
*
|
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
|
+
* ```
|
11
18
|
*/
|
12
19
|
export declare class FooterTemplateDirective {
|
13
20
|
templateRef: TemplateRef<any>;
|
@@ -7,7 +7,14 @@ import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
8
8
|
* Represents the group footer cell template of the Excel Export column component
|
9
9
|
* ([see example]({% slug columns_excel-export %}#toc-group-footer-template)).
|
10
|
-
*
|
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
|
+
* ```
|
11
18
|
*/
|
12
19
|
export declare class GroupFooterTemplateDirective {
|
13
20
|
templateRef: TemplateRef<any>;
|
@@ -7,6 +7,14 @@ import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
8
8
|
* Represents the group header column template of the Excel Export column component
|
9
9
|
* ([see example]({% slug columns_excel-export %}#toc-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
|
+
* ```
|
10
18
|
*/
|
11
19
|
export declare class GroupHeaderColumnTemplateDirective {
|
12
20
|
templateRef: TemplateRef<any>;
|
@@ -7,7 +7,14 @@ import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
8
8
|
* Represents the group header cell template of the Excel Export column component
|
9
9
|
* ([see example]({% slug columns_excel-export %}#toc-group-header-template)).
|
10
|
-
*
|
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
|
+
* ```
|
11
18
|
*/
|
12
19
|
export declare class GroupHeaderTemplateDirective {
|
13
20
|
templateRef: TemplateRef<any>;
|
package/directives.d.ts
CHANGED
@@ -10,6 +10,6 @@ import { ColumnGroupComponent } from "./columns/column-group.component";
|
|
10
10
|
import { GroupFooterTemplateDirective } from "./columns/group-footer-template.directive";
|
11
11
|
import { GroupHeaderColumnTemplateDirective } from "./columns/group-header-column-template.directive";
|
12
12
|
/**
|
13
|
-
*
|
13
|
+
* Use this utility array to access all `@progress/kendo-angular-excel-export` related components and directives.
|
14
14
|
*/
|
15
15
|
export declare const KENDO_EXCELEXPORT: readonly [typeof ExcelExportComponent, typeof ColumnComponent, typeof ColumnGroupComponent, typeof FooterTemplateDirective, typeof GroupFooterTemplateDirective, typeof GroupHeaderColumnTemplateDirective, typeof GroupHeaderTemplateDirective];
|
@@ -7,7 +7,16 @@ import { ColumnBase } from './column-base';
|
|
7
7
|
import * as i0 from "@angular/core";
|
8
8
|
import * as i1 from "./column-base";
|
9
9
|
/**
|
10
|
-
* Represents
|
10
|
+
* Represents a group of columns in the Kendo UI Excel Export component.
|
11
|
+
* Use this component to organize columns into groups.
|
12
|
+
*
|
13
|
+
* @example
|
14
|
+
* ```html
|
15
|
+
* <kendo-excelexport-column-group>
|
16
|
+
* <kendo-excelexport-column field="ProductName"></kendo-excelexport-column>
|
17
|
+
* <kendo-excelexport-column field="UnitPrice"></kendo-excelexport-column>
|
18
|
+
* </kendo-excelexport-column-group>
|
19
|
+
* ```
|
11
20
|
*/
|
12
21
|
export class ColumnGroupComponent extends ColumnBase {
|
13
22
|
parent;
|
@@ -11,30 +11,36 @@ import { ColumnBase } from './column-base';
|
|
11
11
|
import * as i0 from "@angular/core";
|
12
12
|
import * as i1 from "./column-base";
|
13
13
|
/**
|
14
|
-
* Represents
|
14
|
+
* Represents a column in the Kendo UI Excel Export component for Angular.
|
15
|
+
* Use this component to define the structure and options for each column.
|
16
|
+
*
|
17
|
+
* @example
|
18
|
+
* ```html
|
19
|
+
* <kendo-excelexport-column field="ProductName"></kendo-excelexport-column>
|
20
|
+
* ```
|
15
21
|
*/
|
16
22
|
export class ColumnComponent extends ColumnBase {
|
17
23
|
/**
|
18
|
-
*
|
24
|
+
* Specifies the field that the column displays.
|
19
25
|
*/
|
20
26
|
field;
|
21
27
|
/**
|
22
|
-
*
|
28
|
+
* Specifies options for the column's data cells
|
23
29
|
* ([see example]({% slug cells_excelexport %}#toc-data-cells)).
|
24
30
|
*/
|
25
31
|
cellOptions;
|
26
32
|
/**
|
27
|
-
*
|
33
|
+
* Specifies options for the group header cells of the column
|
28
34
|
* ([see example]({% slug cells_excelexport %}#toc-header-cells)).
|
29
35
|
*/
|
30
36
|
groupHeaderCellOptions;
|
31
37
|
/**
|
32
|
-
*
|
38
|
+
* Specifies options for the group footer cells of the column
|
33
39
|
* ([see example]({% slug cells_excelexport %}#toc-group-footer-cells)).
|
34
40
|
*/
|
35
41
|
groupFooterCellOptions;
|
36
42
|
/**
|
37
|
-
*
|
43
|
+
* Specifies options for the footer cell of the column
|
38
44
|
* ([see example]({% slug cells_excelexport %}#toc-footer-cells)).
|
39
45
|
*/
|
40
46
|
footerCellOptions;
|
@@ -7,7 +7,14 @@ import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
8
8
|
* Represents the footer cell template of the Excel Export column component
|
9
9
|
* ([see example]({% slug columns_excel-export %}#toc-footer-template)).
|
10
|
-
*
|
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
|
+
* ```
|
11
18
|
*/
|
12
19
|
export class FooterTemplateDirective {
|
13
20
|
templateRef;
|
@@ -7,7 +7,14 @@ import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
8
8
|
* Represents the group footer cell template of the Excel Export column component
|
9
9
|
* ([see example]({% slug columns_excel-export %}#toc-group-footer-template)).
|
10
|
-
*
|
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
|
+
* ```
|
11
18
|
*/
|
12
19
|
export class GroupFooterTemplateDirective {
|
13
20
|
templateRef;
|
@@ -7,6 +7,14 @@ import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
8
8
|
* Represents the group header column template of the Excel Export column component
|
9
9
|
* ([see example]({% slug columns_excel-export %}#toc-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
|
+
* ```
|
10
18
|
*/
|
11
19
|
export class GroupHeaderColumnTemplateDirective {
|
12
20
|
templateRef;
|
@@ -7,7 +7,14 @@ import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
8
8
|
* Represents the group header cell template of the Excel Export column component
|
9
9
|
* ([see example]({% slug columns_excel-export %}#toc-group-header-template)).
|
10
|
-
*
|
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
|
+
* ```
|
11
18
|
*/
|
12
19
|
export class GroupHeaderTemplateDirective {
|
13
20
|
templateRef;
|
package/esm2022/directives.mjs
CHANGED
@@ -10,7 +10,7 @@ import { ColumnGroupComponent } from "./columns/column-group.component";
|
|
10
10
|
import { GroupFooterTemplateDirective } from "./columns/group-footer-template.directive";
|
11
11
|
import { GroupHeaderColumnTemplateDirective } from "./columns/group-header-column-template.directive";
|
12
12
|
/**
|
13
|
-
*
|
13
|
+
* Use this utility array to access all `@progress/kendo-angular-excel-export` related components and directives.
|
14
14
|
*/
|
15
15
|
export const KENDO_EXCELEXPORT = [
|
16
16
|
ExcelExportComponent,
|
@@ -14,70 +14,83 @@ import * as i0 from "@angular/core";
|
|
14
14
|
import * as i1 from "@progress/kendo-angular-l10n";
|
15
15
|
/**
|
16
16
|
* Represents the [Kendo UI Excel Export component for Angular]({% slug overview_excelexport %}).
|
17
|
-
*
|
17
|
+
* Use this component to export data to Excel format.
|
18
|
+
*
|
19
|
+
* @example
|
20
|
+
* ```html
|
21
|
+
* <kendo-excelexport [data]="gridData" fileName="MyExport.xlsx">
|
22
|
+
* <kendo-excelexport-column field="ProductID" title="Product ID"></kendo-excelexport-column>
|
23
|
+
* <kendo-excelexport-column field="ProductName" title="Product Name"></kendo-excelexport-column>
|
24
|
+
* </kendo-excelexport>
|
25
|
+
* ```
|
18
26
|
*/
|
19
27
|
export class ExcelExportComponent {
|
20
28
|
localization;
|
21
29
|
zone;
|
22
30
|
/**
|
23
|
-
* Specifies the name of the
|
31
|
+
* Specifies the name of the exported Excel file.
|
32
|
+
*
|
24
33
|
* @default "Export.xlsx"
|
25
34
|
*/
|
26
35
|
fileName = 'Export.xlsx';
|
27
36
|
/**
|
28
|
-
*
|
37
|
+
* Determines whether to enable column filtering in the exported Excel file
|
29
38
|
* ([see example]({% slug filtering_excelexport %})).
|
30
39
|
*/
|
31
40
|
filterable;
|
32
41
|
/**
|
33
|
-
*
|
42
|
+
* Determines whether groups in the Excel file are collapsible.
|
34
43
|
*/
|
35
44
|
collapsible;
|
36
45
|
/**
|
37
|
-
*
|
46
|
+
* Specifies the author of the workbook.
|
38
47
|
*/
|
39
48
|
creator;
|
40
49
|
/**
|
41
|
-
*
|
50
|
+
* Specifies the creation date of the workbook.
|
42
51
|
* The default value is `new Date()`.
|
52
|
+
*
|
53
|
+
* @default `new Date()`
|
43
54
|
*/
|
44
55
|
date;
|
45
56
|
/**
|
46
|
-
*
|
47
|
-
* even if the browser supports
|
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.
|
48
59
|
*/
|
49
60
|
forceProxy;
|
50
61
|
/**
|
51
|
-
*
|
52
|
-
*
|
53
|
-
*
|
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.
|
54
65
|
*
|
55
|
-
* The proxy receives a POST request with
|
56
|
-
* - `contentType`—The MIME type of the file.
|
57
|
-
* - `base64`—The base-64 encoded file content.
|
58
|
-
* - `fileName`—The file name
|
59
|
-
* The proxy
|
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>"`.
|
60
71
|
*/
|
61
72
|
proxyURL;
|
62
73
|
/**
|
63
|
-
*
|
74
|
+
* Specifies the data to export.
|
75
|
+
* When the data is grouped, structure it as described by the
|
64
76
|
* [`GroupResult`]({% slug api_kendo-data-query_groupresult %}) option of the Kendo UI Data Query component.
|
65
77
|
*/
|
66
78
|
data;
|
67
79
|
/**
|
68
|
-
*
|
80
|
+
* Specifies the exported data groups.
|
81
|
+
* The groups must match the
|
69
82
|
* [`GroupDescriptor`]({% slug api_kendo-data-query_groupdescriptor %}) option of the Kendo UI Data Query component.
|
70
83
|
*/
|
71
84
|
group;
|
72
85
|
/**
|
73
|
-
*
|
74
|
-
* to
|
86
|
+
* Specifies the options for cells inserted before data, group, and footer cells
|
87
|
+
* to show group hierarchy when the data is grouped
|
75
88
|
* ([see example]({% slug cells_excelexport %}#toc-padding-cells)).
|
76
89
|
*/
|
77
90
|
paddingCellOptions;
|
78
91
|
/**
|
79
|
-
*
|
80
|
-
* to align
|
92
|
+
* Specifies the options for cells inserted before header cells
|
93
|
+
* to align headers and column values when the data is grouped
|
81
94
|
* ([see example]({% slug cells_excelexport %}#toc-header-padding-cells)).
|
82
95
|
*/
|
83
96
|
headerPaddingCellOptions;
|
@@ -92,20 +105,19 @@ export class ExcelExportComponent {
|
|
92
105
|
this.saveFile = this.saveFile.bind(this);
|
93
106
|
}
|
94
107
|
/**
|
95
|
-
*
|
108
|
+
* Exports the data to Excel.
|
96
109
|
*
|
97
|
-
* @param exportData -
|
110
|
+
* @param exportData - Optional. The data to export or [`WorkbookOptions`]({% slug api_excel-export_workbookoptions %}).
|
98
111
|
*/
|
99
112
|
save(exportData) {
|
100
113
|
this.toDataURL(exportData).then(this.saveFile);
|
101
114
|
}
|
102
115
|
/**
|
103
|
-
*
|
104
|
-
*
|
105
|
-
* ([see example]({% slug customrowsandcells_excelexport %})).
|
116
|
+
* Returns [`WorkbookOptions`]({% slug api_excel-export_workbookoptions %}) based on the specified columns and data.
|
117
|
+
* Use this method to customize the workbook options.
|
106
118
|
*
|
107
|
-
* @param exportData - The
|
108
|
-
* @returns {WorkbookOptions}
|
119
|
+
* @param exportData - Optional. The data to export.
|
120
|
+
* @returns {WorkbookOptions} The workbook options.
|
109
121
|
*/
|
110
122
|
workbookOptions(exportData) {
|
111
123
|
const currentData = this.getExportData(exportData);
|
@@ -124,11 +136,11 @@ export class ExcelExportComponent {
|
|
124
136
|
return options;
|
125
137
|
}
|
126
138
|
/**
|
127
|
-
* Returns a promise
|
128
|
-
*
|
139
|
+
* Returns a promise that resolves with the file data URI.
|
140
|
+
* Use this method to get the Excel file as a data URI.
|
129
141
|
*
|
130
|
-
* @param exportData - The
|
131
|
-
* @returns {Promise<string>}
|
142
|
+
* @param exportData - Optional. The data or [`WorkbookOptions`]({% slug api_excel-export_workbookoptions %}) to use for generating the data URI.
|
143
|
+
* @returns {Promise<string>} A promise that resolves with the file data URI.
|
132
144
|
*/
|
133
145
|
toDataURL(exportData) {
|
134
146
|
const options = isWorkbookOptions(exportData) ?
|
@@ -14,34 +14,25 @@ import * as i6 from "./columns/group-header-column-template.directive";
|
|
14
14
|
import * as i7 from "./columns/group-header-template.directive";
|
15
15
|
// IMPORTANT: NgModule export kept for backwards compatibility
|
16
16
|
/**
|
17
|
-
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
18
|
-
* definition for the Excel Export component.
|
17
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi']) definition for the Excel Export component.
|
19
18
|
*
|
20
|
-
*
|
19
|
+
* Use this module to enable Excel export features in your application.
|
21
20
|
*
|
22
|
-
*
|
23
|
-
*
|
21
|
+
* @example
|
22
|
+
* ```typescript
|
24
23
|
* import { ExcelExportModule } from '@progress/kendo-angular-excel-export';
|
25
|
-
*
|
26
|
-
* // The browser platform with a compiler
|
27
24
|
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
28
|
-
*
|
29
25
|
* import { NgModule } from '@angular/core';
|
30
|
-
*
|
31
|
-
* // Import the app component
|
32
26
|
* import { AppComponent } from './app.component';
|
33
27
|
*
|
34
|
-
*
|
35
|
-
*
|
36
|
-
*
|
37
|
-
*
|
38
|
-
* bootstrap: [AppComponent]
|
28
|
+
* @NgModule({
|
29
|
+
* declarations: [AppComponent],
|
30
|
+
* imports: [BrowserModule, ExcelExportModule],
|
31
|
+
* bootstrap: [AppComponent]
|
39
32
|
* })
|
40
33
|
* export class AppModule {}
|
41
34
|
*
|
42
|
-
* // Compile and launch the module
|
43
35
|
* platformBrowserDynamic().bootstrapModule(AppModule);
|
44
|
-
*
|
45
36
|
* ```
|
46
37
|
*/
|
47
38
|
export class ExcelExportModule {
|
@@ -10,7 +10,7 @@ export const packageMetadata = {
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
11
11
|
productCode: 'KENDOUIANGULAR',
|
12
12
|
productCodes: ['KENDOUIANGULAR'],
|
13
|
-
publishDate:
|
14
|
-
version: '19.1.1',
|
13
|
+
publishDate: 1749804283,
|
14
|
+
version: '19.1.2-develop.1',
|
15
15
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
16
16
|
};
|
package/excel-export-data.d.ts
CHANGED
@@ -3,19 +3,21 @@
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
/**
|
6
|
-
*
|
6
|
+
* Represents the expected type for the `ExcelExportComponent` data.
|
7
|
+
*
|
8
|
+
* Use this interface to specify the data and groups for export.
|
7
9
|
*/
|
8
10
|
export interface ExcelExportData {
|
9
11
|
/**
|
10
|
-
*
|
11
|
-
*
|
12
|
-
* [`GroupResult`]({% slug api_kendo-data-query_groupresult %}) of the Kendo UI Data Query component.
|
12
|
+
* Specifies the exported data.
|
13
|
+
* When the data is grouped, structure it as described by the
|
14
|
+
* [`GroupResult`]({% slug api_kendo-data-query_groupresult %}) option of the Kendo UI Data Query component.
|
13
15
|
*/
|
14
16
|
data?: any[];
|
15
17
|
/**
|
16
|
-
*
|
17
|
-
* The groups must
|
18
|
-
* [`GroupDescriptor`]({% slug api_kendo-data-query_groupdescriptor %}) of the Kendo UI Data Query component.
|
18
|
+
* Specifies the exported data groups.
|
19
|
+
* The groups must match the
|
20
|
+
* [`GroupDescriptor`]({% slug api_kendo-data-query_groupdescriptor %}) option of the Kendo UI Data Query component.
|
19
21
|
*/
|
20
22
|
group?: any[];
|
21
23
|
}
|
@@ -11,70 +11,83 @@ import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
11
11
|
import * as i0 from "@angular/core";
|
12
12
|
/**
|
13
13
|
* Represents the [Kendo UI Excel Export component for Angular]({% slug overview_excelexport %}).
|
14
|
-
*
|
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
|
+
* ```
|
15
23
|
*/
|
16
24
|
export declare class ExcelExportComponent {
|
17
25
|
private localization;
|
18
26
|
private zone;
|
19
27
|
/**
|
20
|
-
* Specifies the name of the
|
28
|
+
* Specifies the name of the exported Excel file.
|
29
|
+
*
|
21
30
|
* @default "Export.xlsx"
|
22
31
|
*/
|
23
32
|
fileName: string;
|
24
33
|
/**
|
25
|
-
*
|
34
|
+
* Determines whether to enable column filtering in the exported Excel file
|
26
35
|
* ([see example]({% slug filtering_excelexport %})).
|
27
36
|
*/
|
28
37
|
filterable: boolean;
|
29
38
|
/**
|
30
|
-
*
|
39
|
+
* Determines whether groups in the Excel file are collapsible.
|
31
40
|
*/
|
32
41
|
collapsible: boolean;
|
33
42
|
/**
|
34
|
-
*
|
43
|
+
* Specifies the author of the workbook.
|
35
44
|
*/
|
36
45
|
creator?: string;
|
37
46
|
/**
|
38
|
-
*
|
47
|
+
* Specifies the creation date of the workbook.
|
39
48
|
* The default value is `new Date()`.
|
49
|
+
*
|
50
|
+
* @default `new Date()`
|
40
51
|
*/
|
41
52
|
date?: Date;
|
42
53
|
/**
|
43
|
-
*
|
44
|
-
* even if the browser supports
|
54
|
+
* Determines whether to force the use of a proxy server for file downloads.
|
55
|
+
* When set to `true`, the component sends content to `proxyURL` even if the browser supports local file saving.
|
45
56
|
*/
|
46
57
|
forceProxy: boolean;
|
47
58
|
/**
|
48
|
-
*
|
49
|
-
*
|
50
|
-
*
|
59
|
+
* Specifies the URL of the server-side proxy that streams the file to the user.
|
60
|
+
* When the browser cannot save files locally (for example, Internet Explorer 9 and earlier, and Safari), the component uses a proxy.
|
61
|
+
* You must implement the server-side proxy.
|
51
62
|
*
|
52
|
-
* The proxy receives a POST request with
|
53
|
-
* - `contentType`—The MIME type of the file.
|
54
|
-
* - `base64`—The base-64 encoded file content.
|
55
|
-
* - `fileName`—The file name
|
56
|
-
* The proxy
|
63
|
+
* The proxy receives a `POST` request with these parameters in the request body:
|
64
|
+
* - `contentType`—The `MIME` type of the file.
|
65
|
+
* - `base64`—The `base-64` encoded file content.
|
66
|
+
* - `fileName`—The requested file name.
|
67
|
+
* The proxy must return the decoded file with the `Content-Disposition` header set to `attachment; filename="<fileName.xslx>"`.
|
57
68
|
*/
|
58
69
|
proxyURL: string;
|
59
70
|
/**
|
60
|
-
*
|
71
|
+
* Specifies the data to export.
|
72
|
+
* When the data is grouped, structure it as described by the
|
61
73
|
* [`GroupResult`]({% slug api_kendo-data-query_groupresult %}) option of the Kendo UI Data Query component.
|
62
74
|
*/
|
63
75
|
data: any[];
|
64
76
|
/**
|
65
|
-
*
|
77
|
+
* Specifies the exported data groups.
|
78
|
+
* The groups must match the
|
66
79
|
* [`GroupDescriptor`]({% slug api_kendo-data-query_groupdescriptor %}) option of the Kendo UI Data Query component.
|
67
80
|
*/
|
68
81
|
group: any[];
|
69
82
|
/**
|
70
|
-
*
|
71
|
-
* to
|
83
|
+
* Specifies the options for cells inserted before data, group, and footer cells
|
84
|
+
* to show group hierarchy when the data is grouped
|
72
85
|
* ([see example]({% slug cells_excelexport %}#toc-padding-cells)).
|
73
86
|
*/
|
74
87
|
paddingCellOptions: CellOptions;
|
75
88
|
/**
|
76
|
-
*
|
77
|
-
* to align
|
89
|
+
* Specifies the options for cells inserted before header cells
|
90
|
+
* to align headers and column values when the data is grouped
|
78
91
|
* ([see example]({% slug cells_excelexport %}#toc-header-padding-cells)).
|
79
92
|
*/
|
80
93
|
headerPaddingCellOptions: CellOptions;
|
@@ -84,26 +97,25 @@ export declare class ExcelExportComponent {
|
|
84
97
|
columns: QueryList<ColumnBase>;
|
85
98
|
constructor(localization: LocalizationService, zone: NgZone);
|
86
99
|
/**
|
87
|
-
*
|
100
|
+
* Exports the data to Excel.
|
88
101
|
*
|
89
|
-
* @param exportData -
|
102
|
+
* @param exportData - Optional. The data to export or [`WorkbookOptions`]({% slug api_excel-export_workbookoptions %}).
|
90
103
|
*/
|
91
104
|
save(exportData?: any[] | ExcelExportData | WorkbookOptions): void;
|
92
105
|
/**
|
93
|
-
*
|
94
|
-
*
|
95
|
-
* ([see example]({% slug customrowsandcells_excelexport %})).
|
106
|
+
* Returns [`WorkbookOptions`]({% slug api_excel-export_workbookoptions %}) based on the specified columns and data.
|
107
|
+
* Use this method to customize the workbook options.
|
96
108
|
*
|
97
|
-
* @param exportData - The
|
98
|
-
* @returns {WorkbookOptions}
|
109
|
+
* @param exportData - Optional. The data to export.
|
110
|
+
* @returns {WorkbookOptions} The workbook options.
|
99
111
|
*/
|
100
112
|
workbookOptions(exportData?: any[] | ExcelExportData): WorkbookOptions;
|
101
113
|
/**
|
102
|
-
* Returns a promise
|
103
|
-
*
|
114
|
+
* Returns a promise that resolves with the file data URI.
|
115
|
+
* Use this method to get the Excel file as a data URI.
|
104
116
|
*
|
105
|
-
* @param exportData - The
|
106
|
-
* @returns {Promise<string>}
|
117
|
+
* @param exportData - Optional. The data or [`WorkbookOptions`]({% slug api_excel-export_workbookoptions %}) to use for generating the data URI.
|
118
|
+
* @returns {Promise<string>} A promise that resolves with the file data URI.
|
107
119
|
*/
|
108
120
|
toDataURL(exportData?: any[] | ExcelExportData | WorkbookOptions): Promise<string>;
|
109
121
|
protected getExportData(exportData?: ExcelExportData | any[]): ExcelExportData;
|
package/excel-export.module.d.ts
CHANGED
@@ -11,34 +11,25 @@ import * as i5 from "./columns/group-footer-template.directive";
|
|
11
11
|
import * as i6 from "./columns/group-header-column-template.directive";
|
12
12
|
import * as i7 from "./columns/group-header-template.directive";
|
13
13
|
/**
|
14
|
-
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
15
|
-
* definition for the Excel Export component.
|
14
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi']) definition for the Excel Export component.
|
16
15
|
*
|
17
|
-
*
|
16
|
+
* Use this module to enable Excel export features in your application.
|
18
17
|
*
|
19
|
-
*
|
20
|
-
*
|
18
|
+
* @example
|
19
|
+
* ```typescript
|
21
20
|
* import { ExcelExportModule } from '@progress/kendo-angular-excel-export';
|
22
|
-
*
|
23
|
-
* // The browser platform with a compiler
|
24
21
|
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
25
|
-
*
|
26
22
|
* import { NgModule } from '@angular/core';
|
27
|
-
*
|
28
|
-
* // Import the app component
|
29
23
|
* import { AppComponent } from './app.component';
|
30
24
|
*
|
31
|
-
*
|
32
|
-
*
|
33
|
-
*
|
34
|
-
*
|
35
|
-
* bootstrap: [AppComponent]
|
25
|
+
* @NgModule({
|
26
|
+
* declarations: [AppComponent],
|
27
|
+
* imports: [BrowserModule, ExcelExportModule],
|
28
|
+
* bootstrap: [AppComponent]
|
36
29
|
* })
|
37
30
|
* export class AppModule {}
|
38
31
|
*
|
39
|
-
* // Compile and launch the module
|
40
32
|
* platformBrowserDynamic().bootstrapModule(AppModule);
|
41
|
-
*
|
42
33
|
* ```
|
43
34
|
*/
|
44
35
|
export declare class ExcelExportModule {
|
@@ -253,78 +253,91 @@ const packageMetadata = {
|
|
253
253
|
productName: 'Kendo UI for Angular',
|
254
254
|
productCode: 'KENDOUIANGULAR',
|
255
255
|
productCodes: ['KENDOUIANGULAR'],
|
256
|
-
publishDate:
|
257
|
-
version: '19.1.1',
|
256
|
+
publishDate: 1749804283,
|
257
|
+
version: '19.1.2-develop.1',
|
258
258
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
259
259
|
};
|
260
260
|
|
261
261
|
// eslint-disable max-line-length
|
262
262
|
/**
|
263
263
|
* Represents the [Kendo UI Excel Export component for Angular]({% slug overview_excelexport %}).
|
264
|
-
*
|
264
|
+
* Use this component to export data to Excel format.
|
265
|
+
*
|
266
|
+
* @example
|
267
|
+
* ```html
|
268
|
+
* <kendo-excelexport [data]="gridData" fileName="MyExport.xlsx">
|
269
|
+
* <kendo-excelexport-column field="ProductID" title="Product ID"></kendo-excelexport-column>
|
270
|
+
* <kendo-excelexport-column field="ProductName" title="Product Name"></kendo-excelexport-column>
|
271
|
+
* </kendo-excelexport>
|
272
|
+
* ```
|
265
273
|
*/
|
266
274
|
class ExcelExportComponent {
|
267
275
|
localization;
|
268
276
|
zone;
|
269
277
|
/**
|
270
|
-
* Specifies the name of the
|
278
|
+
* Specifies the name of the exported Excel file.
|
279
|
+
*
|
271
280
|
* @default "Export.xlsx"
|
272
281
|
*/
|
273
282
|
fileName = 'Export.xlsx';
|
274
283
|
/**
|
275
|
-
*
|
284
|
+
* Determines whether to enable column filtering in the exported Excel file
|
276
285
|
* ([see example]({% slug filtering_excelexport %})).
|
277
286
|
*/
|
278
287
|
filterable;
|
279
288
|
/**
|
280
|
-
*
|
289
|
+
* Determines whether groups in the Excel file are collapsible.
|
281
290
|
*/
|
282
291
|
collapsible;
|
283
292
|
/**
|
284
|
-
*
|
293
|
+
* Specifies the author of the workbook.
|
285
294
|
*/
|
286
295
|
creator;
|
287
296
|
/**
|
288
|
-
*
|
297
|
+
* Specifies the creation date of the workbook.
|
289
298
|
* The default value is `new Date()`.
|
299
|
+
*
|
300
|
+
* @default `new Date()`
|
290
301
|
*/
|
291
302
|
date;
|
292
303
|
/**
|
293
|
-
*
|
294
|
-
* even if the browser supports
|
304
|
+
* Determines whether to force the use of a proxy server for file downloads.
|
305
|
+
* When set to `true`, the component sends content to `proxyURL` even if the browser supports local file saving.
|
295
306
|
*/
|
296
307
|
forceProxy;
|
297
308
|
/**
|
298
|
-
*
|
299
|
-
*
|
300
|
-
*
|
309
|
+
* Specifies the URL of the server-side proxy that streams the file to the user.
|
310
|
+
* When the browser cannot save files locally (for example, Internet Explorer 9 and earlier, and Safari), the component uses a proxy.
|
311
|
+
* You must implement the server-side proxy.
|
301
312
|
*
|
302
|
-
* The proxy receives a POST request with
|
303
|
-
* - `contentType`—The MIME type of the file.
|
304
|
-
* - `base64`—The base-64 encoded file content.
|
305
|
-
* - `fileName`—The file name
|
306
|
-
* The proxy
|
313
|
+
* The proxy receives a `POST` request with these parameters in the request body:
|
314
|
+
* - `contentType`—The `MIME` type of the file.
|
315
|
+
* - `base64`—The `base-64` encoded file content.
|
316
|
+
* - `fileName`—The requested file name.
|
317
|
+
* The proxy must return the decoded file with the `Content-Disposition` header set to `attachment; filename="<fileName.xslx>"`.
|
307
318
|
*/
|
308
319
|
proxyURL;
|
309
320
|
/**
|
310
|
-
*
|
321
|
+
* Specifies the data to export.
|
322
|
+
* When the data is grouped, structure it as described by the
|
311
323
|
* [`GroupResult`]({% slug api_kendo-data-query_groupresult %}) option of the Kendo UI Data Query component.
|
312
324
|
*/
|
313
325
|
data;
|
314
326
|
/**
|
315
|
-
*
|
327
|
+
* Specifies the exported data groups.
|
328
|
+
* The groups must match the
|
316
329
|
* [`GroupDescriptor`]({% slug api_kendo-data-query_groupdescriptor %}) option of the Kendo UI Data Query component.
|
317
330
|
*/
|
318
331
|
group;
|
319
332
|
/**
|
320
|
-
*
|
321
|
-
* to
|
333
|
+
* Specifies the options for cells inserted before data, group, and footer cells
|
334
|
+
* to show group hierarchy when the data is grouped
|
322
335
|
* ([see example]({% slug cells_excelexport %}#toc-padding-cells)).
|
323
336
|
*/
|
324
337
|
paddingCellOptions;
|
325
338
|
/**
|
326
|
-
*
|
327
|
-
* to align
|
339
|
+
* Specifies the options for cells inserted before header cells
|
340
|
+
* to align headers and column values when the data is grouped
|
328
341
|
* ([see example]({% slug cells_excelexport %}#toc-header-padding-cells)).
|
329
342
|
*/
|
330
343
|
headerPaddingCellOptions;
|
@@ -339,20 +352,19 @@ class ExcelExportComponent {
|
|
339
352
|
this.saveFile = this.saveFile.bind(this);
|
340
353
|
}
|
341
354
|
/**
|
342
|
-
*
|
355
|
+
* Exports the data to Excel.
|
343
356
|
*
|
344
|
-
* @param exportData -
|
357
|
+
* @param exportData - Optional. The data to export or [`WorkbookOptions`]({% slug api_excel-export_workbookoptions %}).
|
345
358
|
*/
|
346
359
|
save(exportData) {
|
347
360
|
this.toDataURL(exportData).then(this.saveFile);
|
348
361
|
}
|
349
362
|
/**
|
350
|
-
*
|
351
|
-
*
|
352
|
-
* ([see example]({% slug customrowsandcells_excelexport %})).
|
363
|
+
* Returns [`WorkbookOptions`]({% slug api_excel-export_workbookoptions %}) based on the specified columns and data.
|
364
|
+
* Use this method to customize the workbook options.
|
353
365
|
*
|
354
|
-
* @param exportData - The
|
355
|
-
* @returns {WorkbookOptions}
|
366
|
+
* @param exportData - Optional. The data to export.
|
367
|
+
* @returns {WorkbookOptions} The workbook options.
|
356
368
|
*/
|
357
369
|
workbookOptions(exportData) {
|
358
370
|
const currentData = this.getExportData(exportData);
|
@@ -371,11 +383,11 @@ class ExcelExportComponent {
|
|
371
383
|
return options;
|
372
384
|
}
|
373
385
|
/**
|
374
|
-
* Returns a promise
|
375
|
-
*
|
386
|
+
* Returns a promise that resolves with the file data URI.
|
387
|
+
* Use this method to get the Excel file as a data URI.
|
376
388
|
*
|
377
|
-
* @param exportData - The
|
378
|
-
* @returns {Promise<string>}
|
389
|
+
* @param exportData - Optional. The data or [`WorkbookOptions`]({% slug api_excel-export_workbookoptions %}) to use for generating the data URI.
|
390
|
+
* @returns {Promise<string>} A promise that resolves with the file data URI.
|
379
391
|
*/
|
380
392
|
toDataURL(exportData) {
|
381
393
|
const options = isWorkbookOptions(exportData) ?
|
@@ -463,7 +475,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
463
475
|
/**
|
464
476
|
* Represents the footer cell template of the Excel Export column component
|
465
477
|
* ([see example]({% slug columns_excel-export %}#toc-footer-template)).
|
466
|
-
*
|
478
|
+
* Use this directive to customize the footer cell of a column.
|
479
|
+
*
|
480
|
+
* @example
|
481
|
+
* ```html
|
482
|
+
* <ng-template kendoExcelExportFooterTemplate let-column let-columnIndex="columnIndex">
|
483
|
+
* Footer for {{ column.field }}
|
484
|
+
* </ng-template>
|
485
|
+
* ```
|
467
486
|
*/
|
468
487
|
class FooterTemplateDirective {
|
469
488
|
templateRef;
|
@@ -486,7 +505,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
486
505
|
/**
|
487
506
|
* Represents the group header cell template of the Excel Export column component
|
488
507
|
* ([see example]({% slug columns_excel-export %}#toc-group-header-template)).
|
489
|
-
*
|
508
|
+
* Use this directive to customize the content of the group header item.
|
509
|
+
*
|
510
|
+
* @example
|
511
|
+
* ```html
|
512
|
+
* <ng-template kendoExcelExportGroupHeaderTemplate let-group let-field="field">
|
513
|
+
* Group Header for {{ field }}
|
514
|
+
* </ng-template>
|
515
|
+
* ```
|
490
516
|
*/
|
491
517
|
class GroupHeaderTemplateDirective {
|
492
518
|
templateRef;
|
@@ -509,6 +535,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
509
535
|
/**
|
510
536
|
* Represents the group header column template of the Excel Export column component
|
511
537
|
* ([see example]({% slug columns_excel-export %}#toc-group-header-column-template)).
|
538
|
+
* Use this directive to customize the group header column.
|
539
|
+
*
|
540
|
+
* @example
|
541
|
+
* ```html
|
542
|
+
* <ng-template kendoExcelExportGroupHeaderColumnTemplate let-group let-field="field">
|
543
|
+
* Group Header Column for {{ field }}
|
544
|
+
* </ng-template>
|
545
|
+
* ```
|
512
546
|
*/
|
513
547
|
class GroupHeaderColumnTemplateDirective {
|
514
548
|
templateRef;
|
@@ -531,7 +565,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
531
565
|
/**
|
532
566
|
* Represents the group footer cell template of the Excel Export column component
|
533
567
|
* ([see example]({% slug columns_excel-export %}#toc-group-footer-template)).
|
534
|
-
*
|
568
|
+
* Use this directive to customize the group footer cell of a column.
|
569
|
+
*
|
570
|
+
* @example
|
571
|
+
* ```html
|
572
|
+
* <ng-template kendoExcelExportGroupFooterTemplate let-group let-field="field">
|
573
|
+
* Group Footer for {{ field }}
|
574
|
+
* </ng-template>
|
575
|
+
* ```
|
535
576
|
*/
|
536
577
|
class GroupFooterTemplateDirective {
|
537
578
|
templateRef;
|
@@ -552,30 +593,36 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
552
593
|
}] }]; } });
|
553
594
|
|
554
595
|
/**
|
555
|
-
* Represents
|
596
|
+
* Represents a column in the Kendo UI Excel Export component for Angular.
|
597
|
+
* Use this component to define the structure and options for each column.
|
598
|
+
*
|
599
|
+
* @example
|
600
|
+
* ```html
|
601
|
+
* <kendo-excelexport-column field="ProductName"></kendo-excelexport-column>
|
602
|
+
* ```
|
556
603
|
*/
|
557
604
|
class ColumnComponent extends ColumnBase {
|
558
605
|
/**
|
559
|
-
*
|
606
|
+
* Specifies the field that the column displays.
|
560
607
|
*/
|
561
608
|
field;
|
562
609
|
/**
|
563
|
-
*
|
610
|
+
* Specifies options for the column's data cells
|
564
611
|
* ([see example]({% slug cells_excelexport %}#toc-data-cells)).
|
565
612
|
*/
|
566
613
|
cellOptions;
|
567
614
|
/**
|
568
|
-
*
|
615
|
+
* Specifies options for the group header cells of the column
|
569
616
|
* ([see example]({% slug cells_excelexport %}#toc-header-cells)).
|
570
617
|
*/
|
571
618
|
groupHeaderCellOptions;
|
572
619
|
/**
|
573
|
-
*
|
620
|
+
* Specifies options for the group footer cells of the column
|
574
621
|
* ([see example]({% slug cells_excelexport %}#toc-group-footer-cells)).
|
575
622
|
*/
|
576
623
|
groupFooterCellOptions;
|
577
624
|
/**
|
578
|
-
*
|
625
|
+
* Specifies options for the footer cell of the column
|
579
626
|
* ([see example]({% slug cells_excelexport %}#toc-footer-cells)).
|
580
627
|
*/
|
581
628
|
footerCellOptions;
|
@@ -650,7 +697,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
650
697
|
}] } });
|
651
698
|
|
652
699
|
/**
|
653
|
-
* Represents
|
700
|
+
* Represents a group of columns in the Kendo UI Excel Export component.
|
701
|
+
* Use this component to organize columns into groups.
|
702
|
+
*
|
703
|
+
* @example
|
704
|
+
* ```html
|
705
|
+
* <kendo-excelexport-column-group>
|
706
|
+
* <kendo-excelexport-column field="ProductName"></kendo-excelexport-column>
|
707
|
+
* <kendo-excelexport-column field="UnitPrice"></kendo-excelexport-column>
|
708
|
+
* </kendo-excelexport-column-group>
|
709
|
+
* ```
|
654
710
|
*/
|
655
711
|
class ColumnGroupComponent extends ColumnBase {
|
656
712
|
parent;
|
@@ -688,7 +744,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
688
744
|
}] }]; } });
|
689
745
|
|
690
746
|
/**
|
691
|
-
*
|
747
|
+
* Use this utility array to access all `@progress/kendo-angular-excel-export` related components and directives.
|
692
748
|
*/
|
693
749
|
const KENDO_EXCELEXPORT = [
|
694
750
|
ExcelExportComponent,
|
@@ -702,34 +758,25 @@ const KENDO_EXCELEXPORT = [
|
|
702
758
|
|
703
759
|
// IMPORTANT: NgModule export kept for backwards compatibility
|
704
760
|
/**
|
705
|
-
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
706
|
-
* definition for the Excel Export component.
|
761
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi']) definition for the Excel Export component.
|
707
762
|
*
|
708
|
-
*
|
763
|
+
* Use this module to enable Excel export features in your application.
|
709
764
|
*
|
710
|
-
*
|
711
|
-
*
|
765
|
+
* @example
|
766
|
+
* ```typescript
|
712
767
|
* import { ExcelExportModule } from '@progress/kendo-angular-excel-export';
|
713
|
-
*
|
714
|
-
* // The browser platform with a compiler
|
715
768
|
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
716
|
-
*
|
717
769
|
* import { NgModule } from '@angular/core';
|
718
|
-
*
|
719
|
-
* // Import the app component
|
720
770
|
* import { AppComponent } from './app.component';
|
721
771
|
*
|
722
|
-
*
|
723
|
-
*
|
724
|
-
*
|
725
|
-
*
|
726
|
-
* bootstrap: [AppComponent]
|
772
|
+
* @NgModule({
|
773
|
+
* declarations: [AppComponent],
|
774
|
+
* imports: [BrowserModule, ExcelExportModule],
|
775
|
+
* bootstrap: [AppComponent]
|
727
776
|
* })
|
728
777
|
* export class AppModule {}
|
729
778
|
*
|
730
|
-
* // Compile and launch the module
|
731
779
|
* platformBrowserDynamic().bootstrapModule(AppModule);
|
732
|
-
*
|
733
780
|
* ```
|
734
781
|
*/
|
735
782
|
class ExcelExportModule {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@progress/kendo-angular-excel-export",
|
3
|
-
"version": "19.1.1",
|
3
|
+
"version": "19.1.2-develop.1",
|
4
4
|
"description": "Kendo UI for Angular Excel Export component",
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
6
6
|
"author": "Progress",
|
@@ -19,7 +19,7 @@
|
|
19
19
|
"package": {
|
20
20
|
"productName": "Kendo UI for Angular",
|
21
21
|
"productCode": "KENDOUIANGULAR",
|
22
|
-
"publishDate":
|
22
|
+
"publishDate": 1749804283,
|
23
23
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
24
24
|
}
|
25
25
|
},
|
@@ -29,13 +29,13 @@
|
|
29
29
|
"@angular/core": "16 - 20",
|
30
30
|
"@angular/platform-browser": "16 - 20",
|
31
31
|
"@progress/kendo-licensing": "^1.5.0",
|
32
|
-
"@progress/kendo-angular-common": "19.1.1",
|
33
|
-
"@progress/kendo-angular-l10n": "19.1.1",
|
32
|
+
"@progress/kendo-angular-common": "19.1.2-develop.1",
|
33
|
+
"@progress/kendo-angular-l10n": "19.1.2-develop.1",
|
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": "19.1.1",
|
38
|
+
"@progress/kendo-angular-schematics": "19.1.2-develop.1",
|
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"
|