@progress/kendo-react-excel-export 7.2.4-develop.3 → 7.3.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.
- package/ExcelExport.js +8 -0
- package/ExcelExport.mjs +120 -0
- package/ExcelExportColumn.js +8 -0
- package/ExcelExportColumn.mjs +29 -0
- package/ExcelExportColumnGroup.js +8 -0
- package/ExcelExportColumnGroup.mjs +22 -0
- package/dist/cdn/js/kendo-react-excel.js +8 -5
- package/index.d.mts +413 -5
- package/index.d.ts +413 -15
- package/index.js +8 -5
- package/index.mjs +25 -215
- package/ooxml/ExporterColumns.js +8 -0
- package/ooxml/ExporterColumns.mjs +52 -0
- package/ooxml/workbook.js +8 -0
- package/ooxml/workbook.mjs +28 -0
- package/package-metadata.js +8 -0
- package/package-metadata.mjs +19 -0
- package/package.json +2 -2
- package/templates/ExcelExportFooter.js +8 -0
- package/templates/ExcelExportFooter.mjs +14 -0
- package/templates/ExcelExportGroupFooter.js +8 -0
- package/templates/ExcelExportGroupFooter.mjs +14 -0
- package/templates/ExcelExportGroupHeader.js +8 -0
- package/templates/ExcelExportGroupHeader.mjs +14 -0
- package/ColumnBase.d.ts +0 -42
- package/ExcelExport.d.ts +0 -155
- package/ExcelExportColumn.d.ts +0 -54
- package/ExcelExportColumnGroup.d.ts +0 -15
- package/ExcelExportData.d.ts +0 -17
- package/ooxml/CellOptionsInterface.d.ts +0 -80
- package/ooxml/ExporterColumns.d.ts +0 -30
- package/ooxml/workbook.d.ts +0 -18
- package/package-metadata.d.ts +0 -9
- package/templates/ExcelExportFooter.d.ts +0 -18
- package/templates/ExcelExportGroupFooter.d.ts +0 -21
- package/templates/ExcelExportGroupHeader.d.ts +0 -20
package/ExcelExport.d.ts
DELETED
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import PropTypes from 'prop-types';
|
|
7
|
-
import { WorkbookOptions } from '@progress/kendo-ooxml';
|
|
8
|
-
import { CellOptions } from './ooxml/CellOptionsInterface';
|
|
9
|
-
import { ExcelExportData } from './ExcelExportData';
|
|
10
|
-
import { ExcelExportColumnProps } from './ExcelExportColumn';
|
|
11
|
-
/**
|
|
12
|
-
* Represents the props of the KendoReact ExcelExport component.
|
|
13
|
-
*/
|
|
14
|
-
export interface ExcelExportProps {
|
|
15
|
-
/**
|
|
16
|
-
* @hidden
|
|
17
|
-
*/
|
|
18
|
-
children?: any;
|
|
19
|
-
/**
|
|
20
|
-
* You can pass the columns through the props of the component. If both the columns prop and the child column components are presented, the columns from props will be used.
|
|
21
|
-
*/
|
|
22
|
-
columns?: ExcelExportColumnProps[];
|
|
23
|
-
/**
|
|
24
|
-
* The creator of the workbook.
|
|
25
|
-
*/
|
|
26
|
-
creator?: string;
|
|
27
|
-
/**
|
|
28
|
-
* The exported data. If grouped, the data must be structured as described by the [`GroupResult`]({% slug api_kendo-data-query_groupresult %}) option of the KendoReact Data Query component.
|
|
29
|
-
*/
|
|
30
|
-
data?: any[];
|
|
31
|
-
/**
|
|
32
|
-
* The date on which the workbook is created. The default value is `new Date()`.
|
|
33
|
-
*/
|
|
34
|
-
date?: Date;
|
|
35
|
-
/**
|
|
36
|
-
* Enables or disables the column filtering in the Excel file.
|
|
37
|
-
*/
|
|
38
|
-
filterable?: boolean;
|
|
39
|
-
/**
|
|
40
|
-
* Specifies the name of the file that is exported to Excel. Defaults to `Export.xlsx`.
|
|
41
|
-
*/
|
|
42
|
-
fileName?: string;
|
|
43
|
-
/**
|
|
44
|
-
* If set to `true`, the content is forwarded to `proxyURL` even if the browser supports the saving of files locally.
|
|
45
|
-
*/
|
|
46
|
-
forceProxy?: boolean;
|
|
47
|
-
/**
|
|
48
|
-
* The exported data groups. The groups must be compatible with the [`GroupDescriptor`]({% slug api_kendo-data-query_groupdescriptor %}) option of the KendoReact Data Query component.
|
|
49
|
-
*/
|
|
50
|
-
group?: any[];
|
|
51
|
-
/**
|
|
52
|
-
* The options of the cells that are inserted before the header cells to align the headers and the column values (when the data is grouped).
|
|
53
|
-
*/
|
|
54
|
-
headerPaddingCellOptions?: CellOptions;
|
|
55
|
-
/**
|
|
56
|
-
* The options of the cells that are inserted before the data, group, and footer cells to indicate the group hierarchy (when the data is grouped).
|
|
57
|
-
*/
|
|
58
|
-
paddingCellOptions?: CellOptions;
|
|
59
|
-
/**
|
|
60
|
-
* The URL of the server-side proxy which will stream the file to the end user. When the browser is not capable of saving files locally—for example, Internet Explorer 9 and earlier, and Safari—a proxy is used. The implementation of the server-side proxy has to be done by you.
|
|
61
|
-
*
|
|
62
|
-
* The proxy receives a `POST` request with the following parameters in the request body:
|
|
63
|
-
* - `contentType`—The MIME type of the file.
|
|
64
|
-
* - `base64`—The base-64 encoded file content.
|
|
65
|
-
* - `fileName`—The file name, as requested by the caller. The proxy is expected to return the decoded file with the **Content-Disposition** header set to `attachment; filename="<fileName.xslx>"`.
|
|
66
|
-
*/
|
|
67
|
-
proxyURL?: string;
|
|
68
|
-
/**
|
|
69
|
-
* If set to `rtl`, the Excel file will be rendered in the right-to-left mode.
|
|
70
|
-
*/
|
|
71
|
-
dir?: string;
|
|
72
|
-
/**
|
|
73
|
-
* If set to true the data will be exported as a tree based on the `level` property of each data record.
|
|
74
|
-
*/
|
|
75
|
-
hierarchy?: boolean;
|
|
76
|
-
/**
|
|
77
|
-
* Enables or disables collapsible (grouped) rows in the exported file.
|
|
78
|
-
*/
|
|
79
|
-
collapsible?: boolean;
|
|
80
|
-
/**
|
|
81
|
-
* Triggered after the export is complete.
|
|
82
|
-
*/
|
|
83
|
-
onExportComplete?: (event: ExcelExportExportEvent) => void;
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* Represents the return type of ExcelExportExportEvent.
|
|
87
|
-
*/
|
|
88
|
-
export type ExcelExportExportEvent = {
|
|
89
|
-
/**
|
|
90
|
-
* The target of the ExcelExportExportEvent from ExcelExport.
|
|
91
|
-
*/
|
|
92
|
-
target: ExcelExport;
|
|
93
|
-
};
|
|
94
|
-
export declare class ExcelExport extends React.Component<ExcelExportProps> {
|
|
95
|
-
/**
|
|
96
|
-
* @hidden
|
|
97
|
-
*/
|
|
98
|
-
static propTypes: {
|
|
99
|
-
children: PropTypes.Requireable<any>;
|
|
100
|
-
columns: PropTypes.Requireable<any[]>;
|
|
101
|
-
creator: PropTypes.Requireable<string>;
|
|
102
|
-
data: PropTypes.Requireable<any>;
|
|
103
|
-
date: PropTypes.Requireable<any>;
|
|
104
|
-
filterable: PropTypes.Requireable<boolean>;
|
|
105
|
-
fileName: PropTypes.Requireable<string>;
|
|
106
|
-
forceProxy: PropTypes.Requireable<boolean>;
|
|
107
|
-
group: PropTypes.Requireable<any>;
|
|
108
|
-
headerPaddingCellOptions: PropTypes.Requireable<any>;
|
|
109
|
-
paddingCellOptions: PropTypes.Requireable<any>;
|
|
110
|
-
proxyURL: PropTypes.Requireable<string>;
|
|
111
|
-
dir: PropTypes.Requireable<string>;
|
|
112
|
-
hierarchy: PropTypes.Requireable<boolean>;
|
|
113
|
-
collapsible: PropTypes.Requireable<boolean>;
|
|
114
|
-
};
|
|
115
|
-
/**
|
|
116
|
-
* @hidden
|
|
117
|
-
*/
|
|
118
|
-
static defaultProps: {
|
|
119
|
-
fileName: string;
|
|
120
|
-
forceProxy: boolean;
|
|
121
|
-
collapsible: boolean;
|
|
122
|
-
};
|
|
123
|
-
constructor(props: ExcelExportProps);
|
|
124
|
-
/**
|
|
125
|
-
* Saves the data to Excel.
|
|
126
|
-
*
|
|
127
|
-
* @param exportData - An optional parameter. Can be the data that will be exported or the [`WorkbookOptions`]({% slug api_excel-export_workbookoptions %}).
|
|
128
|
-
* @param columns - An optional parameter. If present, it will be used instead of the columns prop or the child column components.
|
|
129
|
-
*/
|
|
130
|
-
save(exportData?: any[] | ExcelExportData | WorkbookOptions, columns?: ExcelExportColumnProps[] | React.ReactElement<ExcelExportColumnProps>[]): void;
|
|
131
|
-
/**
|
|
132
|
-
* Returns a promise which will be resolved with the file data URI.
|
|
133
|
-
*
|
|
134
|
-
* @param exportData - The optional data or the [`WorkbookOptions`]({% slug api_excel-export_workbookoptions %}) that will be used to generate the data URI.
|
|
135
|
-
* @param externalColumns - The optional columns that will be used.
|
|
136
|
-
* @returns {Promise<string>} - The promise that will be resolved by the file data URI.
|
|
137
|
-
*/
|
|
138
|
-
toDataURL(exportData?: any[] | ExcelExportData | WorkbookOptions, columns?: any[]): Promise<string>;
|
|
139
|
-
/**
|
|
140
|
-
* Based on the specified columns and data, returns [`WorkbookOptions`]({% slug api_excel-export_workbookoptions %}).
|
|
141
|
-
*
|
|
142
|
-
* @param exportData - The optional data that will be exported.
|
|
143
|
-
* @param externalColumns - The optional columns that will be used.
|
|
144
|
-
* @returns {WorkbookOptions} - The workbook options.
|
|
145
|
-
*/
|
|
146
|
-
workbookOptions(exportData?: any[] | ExcelExportData, externalColumns?: ExcelExportColumnProps[] | React.ReactElement<ExcelExportColumnProps>[]): WorkbookOptions;
|
|
147
|
-
/**
|
|
148
|
-
* @hidden
|
|
149
|
-
*/
|
|
150
|
-
render(): any;
|
|
151
|
-
protected saveFile: (dataURL: string) => void;
|
|
152
|
-
private extractColumns;
|
|
153
|
-
private extractChild;
|
|
154
|
-
private getExportData;
|
|
155
|
-
}
|
package/ExcelExportColumn.d.ts
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import { ColumnBase } from './ColumnBase';
|
|
7
|
-
import { CellOptions } from './ooxml/CellOptionsInterface';
|
|
8
|
-
import { ExcelExportGroupHeader } from './templates/ExcelExportGroupHeader';
|
|
9
|
-
import { ExcelExportGroupFooter } from './templates/ExcelExportGroupFooter';
|
|
10
|
-
import { ExcelExportFooter } from './templates/ExcelExportFooter';
|
|
11
|
-
/**
|
|
12
|
-
* Represents the props of the KendoReact ExcelExportColumnProps component.
|
|
13
|
-
*/
|
|
14
|
-
export interface ExcelExportColumnProps extends ColumnBase {
|
|
15
|
-
/**
|
|
16
|
-
* The options of the column data cells.
|
|
17
|
-
*/
|
|
18
|
-
cellOptions?: CellOptions;
|
|
19
|
-
/**
|
|
20
|
-
* The field to which the column is bound.
|
|
21
|
-
*/
|
|
22
|
-
field?: string;
|
|
23
|
-
/**
|
|
24
|
-
* The options of the column footer cell.
|
|
25
|
-
*/
|
|
26
|
-
footerCellOptions?: CellOptions;
|
|
27
|
-
/**
|
|
28
|
-
* The column footer. Can be a function or a React component.
|
|
29
|
-
*/
|
|
30
|
-
footer?: Function | ExcelExportFooter;
|
|
31
|
-
/**
|
|
32
|
-
* The options of the column group footer cells.
|
|
33
|
-
*/
|
|
34
|
-
groupFooterCellOptions?: CellOptions;
|
|
35
|
-
/**
|
|
36
|
-
* The footer of the group. Can be a function or a React component.
|
|
37
|
-
*/
|
|
38
|
-
groupFooter?: Function | ExcelExportGroupFooter;
|
|
39
|
-
/**
|
|
40
|
-
* The options of the column group header cells.
|
|
41
|
-
*/
|
|
42
|
-
groupHeaderCellOptions?: CellOptions;
|
|
43
|
-
/**
|
|
44
|
-
* The header of the group. Can be a function or a React component.
|
|
45
|
-
*/
|
|
46
|
-
groupHeader?: Function | ExcelExportGroupHeader;
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* Represents the columns of the KendoReact ExcelExport component.
|
|
50
|
-
*
|
|
51
|
-
* @returns null
|
|
52
|
-
*/
|
|
53
|
-
declare const ExcelExportColumn: React.FunctionComponent<ExcelExportColumnProps>;
|
|
54
|
-
export { ExcelExportColumn };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import { ColumnBase } from './ColumnBase';
|
|
7
|
-
export interface ExcelExportColumnGroupProps extends ColumnBase {
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Represents the column group component of the KendoReact ExcelExport component.
|
|
11
|
-
*
|
|
12
|
-
* @returns null
|
|
13
|
-
*/
|
|
14
|
-
declare const ExcelExportColumnGroup: React.FunctionComponent<ExcelExportColumnGroupProps>;
|
|
15
|
-
export { ExcelExportColumnGroup };
|
package/ExcelExportData.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* The type that is expected for the ExcelExportComponent data.
|
|
7
|
-
*/
|
|
8
|
-
export interface ExcelExportData {
|
|
9
|
-
/**
|
|
10
|
-
* The exported data. If grouped, the data must be structured as described in the [`GroupResult`]({% slug api_kendo-data-query_groupresult %}) of the KendoReact Data Query component.
|
|
11
|
-
*/
|
|
12
|
-
data?: any[];
|
|
13
|
-
/**
|
|
14
|
-
* The exported data groups. The groups must be compatible with the [`GroupDescriptor`]({% slug api_kendo-data-query_groupdescriptor %}) of the KendoReact Data Query component.
|
|
15
|
-
*/
|
|
16
|
-
group?: any[];
|
|
17
|
-
}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package 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. Supports hex CSS-like values that start with `"#"`. For example, `"#ff00ff"`.
|
|
12
|
-
*/
|
|
13
|
-
background?: string;
|
|
14
|
-
/**
|
|
15
|
-
* The style information for the bottom border of the cell.
|
|
16
|
-
*/
|
|
17
|
-
borderBottom?: WorkbookSheetRowCellBorderBottom;
|
|
18
|
-
/**
|
|
19
|
-
* The style information for the left border of the cell.
|
|
20
|
-
*/
|
|
21
|
-
borderLeft?: WorkbookSheetRowCellBorderLeft;
|
|
22
|
-
/**
|
|
23
|
-
* The style information for the top border of the cell.
|
|
24
|
-
*/
|
|
25
|
-
borderTop?: WorkbookSheetRowCellBorderTop;
|
|
26
|
-
/**
|
|
27
|
-
* The style information for the right border of the cell.
|
|
28
|
-
*/
|
|
29
|
-
borderRight?: WorkbookSheetRowCellBorderRight;
|
|
30
|
-
/**
|
|
31
|
-
* If set to `true`, renders the cell value in bold.
|
|
32
|
-
*/
|
|
33
|
-
bold?: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* The text color of the cell. Supports hex CSS-like values that start with `"#"`. For example, `"#ff00ff"`.
|
|
36
|
-
*/
|
|
37
|
-
color?: string;
|
|
38
|
-
/**
|
|
39
|
-
* Sets the font that is used to display the cell value.
|
|
40
|
-
*/
|
|
41
|
-
fontFamily?: string;
|
|
42
|
-
/**
|
|
43
|
-
* Sets the font size in pixels.
|
|
44
|
-
*/
|
|
45
|
-
fontSize?: number;
|
|
46
|
-
/**
|
|
47
|
-
* Sets the format that Excel uses to display the cell value. For more information, refer to the page on [supported Excel formats](https://support.office.com/en-us/article/Create-or-delete-a-custom-number-format-78f2a361-936b-4c03-8772-09fab54be7f4).
|
|
48
|
-
*/
|
|
49
|
-
format?: string;
|
|
50
|
-
/**
|
|
51
|
-
* If set to `true`, renders the cell value in italics.
|
|
52
|
-
*/
|
|
53
|
-
italic?: boolean;
|
|
54
|
-
/**
|
|
55
|
-
* Sets the horizontal alignment of the cell value.
|
|
56
|
-
*
|
|
57
|
-
* The supported values are:
|
|
58
|
-
* * `"left"`
|
|
59
|
-
* * `"center"`
|
|
60
|
-
* * `"right"`
|
|
61
|
-
*/
|
|
62
|
-
textAlign?: 'left' | 'center' | 'right';
|
|
63
|
-
/**
|
|
64
|
-
* If set to `true`, underlines the cell value.
|
|
65
|
-
*/
|
|
66
|
-
underline?: boolean;
|
|
67
|
-
/**
|
|
68
|
-
* If set to `true`, wraps the cell value.
|
|
69
|
-
*/
|
|
70
|
-
wrap?: boolean;
|
|
71
|
-
/**
|
|
72
|
-
* Sets the vertical alignment of the cell value.
|
|
73
|
-
*
|
|
74
|
-
* The supported values are:
|
|
75
|
-
* * `"top"`
|
|
76
|
-
* * `"center"`
|
|
77
|
-
* * `"bottom"`
|
|
78
|
-
*/
|
|
79
|
-
verticalAlign?: 'top' | 'center' | 'bottom';
|
|
80
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { CellOptions } from './CellOptionsInterface';
|
|
6
|
-
import { ExcelExportColumnProps } from '../ExcelExportColumn';
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export declare const toExporterColumns: (sourceColumns?: ExcelExportColumnProps[]) => ExporterColumn[];
|
|
11
|
-
/**
|
|
12
|
-
* @hidden
|
|
13
|
-
*/
|
|
14
|
-
export declare class ExporterColumn {
|
|
15
|
-
title?: string;
|
|
16
|
-
field?: string;
|
|
17
|
-
hidden?: boolean;
|
|
18
|
-
locked?: boolean;
|
|
19
|
-
width?: number;
|
|
20
|
-
columns: ExporterColumn[] | null;
|
|
21
|
-
groupHeaderTemplate: any;
|
|
22
|
-
groupFooterTemplate: any;
|
|
23
|
-
footerTemplate: any;
|
|
24
|
-
headerCellOptions?: CellOptions;
|
|
25
|
-
cellOptions?: CellOptions;
|
|
26
|
-
groupHeaderCellOptions?: CellOptions;
|
|
27
|
-
groupFooterCellOptions?: CellOptions;
|
|
28
|
-
footerCellOptions?: CellOptions;
|
|
29
|
-
constructor(column: ExcelExportColumnProps, columnIndex?: number);
|
|
30
|
-
}
|
package/ooxml/workbook.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { WorkbookOptions } from '@progress/kendo-ooxml';
|
|
6
|
-
import { ExcelExportProps } from '../ExcelExport';
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export declare const workbookOptions: (options: ExcelExportProps) => 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 © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { PackageMetadata } from '@progress/kendo-licensing';
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export declare const packageMetadata: PackageMetadata;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import { ExcelExportColumnProps } from '../ExcelExportColumn';
|
|
7
|
-
/**
|
|
8
|
-
* Represents the props that will be passed to the ExcelExportFooter component when the template is rendered.
|
|
9
|
-
*/
|
|
10
|
-
export interface ExcelExportFooterProps {
|
|
11
|
-
column: ExcelExportColumnProps;
|
|
12
|
-
columnIndex: number;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Represents the footer of column.
|
|
16
|
-
*/
|
|
17
|
-
export declare class ExcelExportFooter extends React.PureComponent<ExcelExportFooterProps> {
|
|
18
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import { ExcelExportColumnProps } from '../ExcelExportColumn';
|
|
7
|
-
import { AggregateResult, GroupResult } from '@progress/kendo-data-query';
|
|
8
|
-
/**
|
|
9
|
-
* Represents the props that will be passed to the ExcelExportGroupFooter component when the template is rendered.
|
|
10
|
-
*/
|
|
11
|
-
export interface ExcelExportGroupFooterProps {
|
|
12
|
-
field: string;
|
|
13
|
-
column: ExcelExportColumnProps;
|
|
14
|
-
aggregates: AggregateResult;
|
|
15
|
-
group: GroupResult;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Represents the footer of the column group.
|
|
19
|
-
*/
|
|
20
|
-
export declare class ExcelExportGroupFooter extends React.PureComponent<ExcelExportGroupFooterProps> {
|
|
21
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import { AggregateResult, GroupResult } from '@progress/kendo-data-query';
|
|
7
|
-
/**
|
|
8
|
-
* Represents the props that will be passed to the ExcelExportGroupHeader component when the template is rendered.
|
|
9
|
-
*/
|
|
10
|
-
export interface ExcelExportGroupHeaderProps {
|
|
11
|
-
field: string;
|
|
12
|
-
aggregates: AggregateResult;
|
|
13
|
-
group: GroupResult;
|
|
14
|
-
value: any;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Represents the header of the column group.
|
|
18
|
-
*/
|
|
19
|
-
export declare class ExcelExportGroupHeader extends React.PureComponent<ExcelExportGroupHeaderProps> {
|
|
20
|
-
}
|