@progress/kendo-vue-excel-export 8.0.3-develop.1 → 8.0.3-develop.3
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/ColumnBase.d.ts +45 -0
- package/ExcelExportColumnOptions.d.ts +46 -0
- package/ExcelExportOptions.d.ts +104 -0
- package/dist/cdn/js/kendo-vue-excel.js +1 -1
- package/index.d.mts +6 -281
- package/index.d.ts +6 -281
- package/ooxml/CellOptionsInterface.d.ts +85 -0
- package/ooxml/ExporterColumns.d.ts +33 -0
- package/ooxml/workbook.d.ts +21 -0
- package/package-metadata.d.ts +12 -0
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +11 -5
- package/saveExcel.d.ts +12 -0
package/ColumnBase.d.ts
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { CellOptions } from './ooxml/CellOptionsInterface';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export interface ColumnBase {
|
|
13
|
+
/**
|
|
14
|
+
* @hidden
|
|
15
|
+
*/
|
|
16
|
+
children?: any;
|
|
17
|
+
/**
|
|
18
|
+
* The options of the column header cell.
|
|
19
|
+
*/
|
|
20
|
+
headerCellOptions?: CellOptions;
|
|
21
|
+
/**
|
|
22
|
+
* Sets the visibility of the column.
|
|
23
|
+
*
|
|
24
|
+
* @default false
|
|
25
|
+
*/
|
|
26
|
+
hidden?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* @hidden
|
|
29
|
+
*/
|
|
30
|
+
level?: number;
|
|
31
|
+
/**
|
|
32
|
+
* Toggles the locked (frozen) state of the column.
|
|
33
|
+
*
|
|
34
|
+
* @default false
|
|
35
|
+
*/
|
|
36
|
+
locked?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* The title of the column.
|
|
39
|
+
*/
|
|
40
|
+
title?: string;
|
|
41
|
+
/**
|
|
42
|
+
* The width of the column in pixels.
|
|
43
|
+
*/
|
|
44
|
+
width?: number | string;
|
|
45
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { ColumnBase } from './ColumnBase';
|
|
9
|
+
import { CellOptions } from './ooxml/CellOptionsInterface';
|
|
10
|
+
/**
|
|
11
|
+
* Represents the props of the KendoVue ExcelExportColumnProps component.
|
|
12
|
+
*/
|
|
13
|
+
export interface ExcelExportColumnOptions extends ColumnBase {
|
|
14
|
+
/**
|
|
15
|
+
* The options of the column data cells.
|
|
16
|
+
*/
|
|
17
|
+
cellOptions?: CellOptions;
|
|
18
|
+
/**
|
|
19
|
+
* The field to which the column is bound.
|
|
20
|
+
*/
|
|
21
|
+
field?: string;
|
|
22
|
+
/**
|
|
23
|
+
* The options of the column footer cell.
|
|
24
|
+
*/
|
|
25
|
+
footerCellOptions?: CellOptions;
|
|
26
|
+
/**
|
|
27
|
+
* The column footer. Can be a function or a Vue component.
|
|
28
|
+
*/
|
|
29
|
+
footer?: Function;
|
|
30
|
+
/**
|
|
31
|
+
* The options of the column group footer cells.
|
|
32
|
+
*/
|
|
33
|
+
groupFooterCellOptions?: CellOptions;
|
|
34
|
+
/**
|
|
35
|
+
* The footer of the group. Can be a function or a Vue component.
|
|
36
|
+
*/
|
|
37
|
+
groupFooter?: Function;
|
|
38
|
+
/**
|
|
39
|
+
* The options of the column group header cells.
|
|
40
|
+
*/
|
|
41
|
+
groupHeaderCellOptions?: CellOptions;
|
|
42
|
+
/**
|
|
43
|
+
* The header of the group. Can be a function or a Vue component.
|
|
44
|
+
*/
|
|
45
|
+
groupHeader?: Function;
|
|
46
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { ExcelExportColumnOptions } from './ExcelExportColumnOptions';
|
|
9
|
+
import { CellOptions } from './ooxml/CellOptionsInterface';
|
|
10
|
+
import { GroupDescriptor } from '@progress/kendo-data-query';
|
|
11
|
+
/**
|
|
12
|
+
* Represents the props of the KendoVue ExcelExport component.
|
|
13
|
+
*/
|
|
14
|
+
export interface ExcelExportOptions {
|
|
15
|
+
/**
|
|
16
|
+
* You can pass the columns through the props of the component.
|
|
17
|
+
* If both the columns prop and the child column components are presented,
|
|
18
|
+
* the columns from props will be used.
|
|
19
|
+
*/
|
|
20
|
+
columns?: ExcelExportColumnOptions[] | any[];
|
|
21
|
+
/**
|
|
22
|
+
* The creator of the workbook.
|
|
23
|
+
*/
|
|
24
|
+
creator?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The exported data.
|
|
27
|
+
* If grouped, the data must be structured as described by the
|
|
28
|
+
* [`GroupResult`]({% slug api_kendo-data-query_groupresult %}) option of the Kendo UI Data Query component.
|
|
29
|
+
*/
|
|
30
|
+
data?: any[];
|
|
31
|
+
/**
|
|
32
|
+
* The date on which the workbook is created.
|
|
33
|
+
* The default value is `new Date()`.
|
|
34
|
+
*/
|
|
35
|
+
date?: Date;
|
|
36
|
+
/**
|
|
37
|
+
* Enables or disables the column filtering in the Excel file.
|
|
38
|
+
*/
|
|
39
|
+
filterable?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Specifies the name of the file that is exported to Excel.
|
|
42
|
+
*
|
|
43
|
+
* @default "Export.xlsx"
|
|
44
|
+
*/
|
|
45
|
+
fileName?: string;
|
|
46
|
+
/**
|
|
47
|
+
* If set to `true`, the content is forwarded to `proxyURL`
|
|
48
|
+
* even if the browser supports the saving of files locally.
|
|
49
|
+
*/
|
|
50
|
+
forceProxy?: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* The exported data groups.
|
|
53
|
+
* The groups must be compatible with the
|
|
54
|
+
* [`GroupDescriptor`]({% slug api_kendo-data-query_groupdescriptor %}) option of the
|
|
55
|
+
* Kendo UI Data Query component.
|
|
56
|
+
*/
|
|
57
|
+
group?: GroupDescriptor[];
|
|
58
|
+
/**
|
|
59
|
+
* The options of the cells that are inserted before the header cells
|
|
60
|
+
* to align the headers and the column values (when the data is grouped).
|
|
61
|
+
*/
|
|
62
|
+
headerPaddingCellOptions?: CellOptions;
|
|
63
|
+
/**
|
|
64
|
+
* The options of the cells that are inserted before the data, group, and footer cells
|
|
65
|
+
* to indicate the group hierarchy (when the data is grouped).
|
|
66
|
+
*/
|
|
67
|
+
paddingCellOptions?: CellOptions;
|
|
68
|
+
/**
|
|
69
|
+
* The URL of the server-side proxy which will stream the file to the end user.
|
|
70
|
+
* When the browser is not capable of saving files locally—for example,
|
|
71
|
+
* Internet Explorer 9 and earlier, and Safari—a proxy is used.
|
|
72
|
+
* The implementation of the server-side proxy has to be done by you.
|
|
73
|
+
* The proxy receives a POST request with the following parameters in the request body:
|
|
74
|
+
* - `contentType`—The MIME type of the file.
|
|
75
|
+
* - `base64`—The base-64 encoded file content.
|
|
76
|
+
* - `fileName`—The file name, as requested by the caller.
|
|
77
|
+
* The proxy is expected to return the decoded file with the **Content-Disposition**
|
|
78
|
+
* header set to `attachment; filename="<fileName.xslx>"`.
|
|
79
|
+
*/
|
|
80
|
+
proxyURL?: string;
|
|
81
|
+
/**
|
|
82
|
+
* If set to `rtl`, the Excel file will be rendered in the right-to-left mode.
|
|
83
|
+
*/
|
|
84
|
+
dir?: string;
|
|
85
|
+
/**
|
|
86
|
+
* If set to true the data will be exported as a tree based on the `level` property of each data record.
|
|
87
|
+
*/
|
|
88
|
+
hierarchy?: boolean;
|
|
89
|
+
/**
|
|
90
|
+
* Enables or disables collapsible (grouped) rows in the exported file.
|
|
91
|
+
*/
|
|
92
|
+
collapsible?: boolean;
|
|
93
|
+
/**
|
|
94
|
+
* Triggered after the export is complete.
|
|
95
|
+
*/
|
|
96
|
+
onExportComplete?: (event: ExcelExportExportEvent) => void;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Represents the return type of ExcelExportExportEvent.
|
|
100
|
+
*/
|
|
101
|
+
export type ExcelExportExportEvent = {
|
|
102
|
+
dataURL?: string;
|
|
103
|
+
options?: ExcelExportOptions;
|
|
104
|
+
};
|
|
@@ -12,4 +12,4 @@
|
|
|
12
12
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
13
13
|
*-------------------------------------------------------------------------------------------
|
|
14
14
|
*/
|
|
15
|
-
!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("@progress/kendo-ooxml"),require("@progress/kendo-file-saver"),require("@progress/kendo-vue-common")):"function"==typeof define&&define.amd?define(["exports","@progress/kendo-ooxml","@progress/kendo-file-saver","@progress/kendo-vue-common"],o):o((e="undefined"!=typeof globalThis?globalThis:e||self).KendoVueExcel={},e.KendoOoxml,e.KendoFileSaver,e.KendoVueCommon)}(this,
|
|
15
|
+
!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("@progress/kendo-ooxml"),require("@progress/kendo-file-saver"),require("@progress/kendo-vue-common")):"function"==typeof define&&define.amd?define(["exports","@progress/kendo-ooxml","@progress/kendo-file-saver","@progress/kendo-vue-common"],o):o((e="undefined"!=typeof globalThis?globalThis:e||self).KendoVueExcel={},e.KendoOoxml,e.KendoFileSaver,e.KendoVueCommon)}(this,function(e,o,t,r){"use strict";const l=(e,o,t)=>r=>{t(o,r);const l=e({...o}),i=Number(l);return isNaN(i)?l:i},i=(e,o)=>{e.$implicit=e.group=o,e.field=o.field,e.value=o.value,e.aggregates=o.aggregates},n=(e,o)=>{e.group=o.group,e.$implicit=e.aggregates=o},s=(e,o)=>{};class p{constructor(e,o){this.title=e.title,this.field=e.field,this.hidden=e.hidden,this.locked=e.locked,this.width=e.width,this.headerCellOptions=e.headerCellOptions,this.cellOptions=e.cellOptions,this.groupHeaderCellOptions=e.groupHeaderCellOptions,this.groupFooterCellOptions=e.groupFooterCellOptions,this.footerCellOptions=e.footerCellOptions,e.footer&&(this.footerTemplate=l(e.footer,{$implicit:e,column:e,columnIndex:o},s)),e.groupFooter&&(this.groupFooterTemplate=l(e.groupFooter,{column:e,field:e.field},n)),e.groupHeader&&(this.groupHeaderTemplate=l(e.groupHeader,{},i))}}const a=e=>Math.max(...e.map(e=>e.level))+1,d=e=>{const t=(e=>{const o=[];let t=0;const r=(e,o,l)=>{e.forEach(e=>{const l=new p(e,t);if(o.push(l),e.children&&e.children.length>1){const o=l.columns=[];r(e.children,o)}else t++})};return r(e,o),o})(e.columns),r=new o.ExcelExporter({columns:t,data:e.data,filterable:e.filterable,groups:e.group,paddingCellOptions:e.paddingCellOptions,headerPaddingCellOptions:e.headerPaddingCellOptions,hierarchy:e.hierarchy?{depth:a(e.data),itemLevel:e=>e.level}:null,collapsible:e.collapsible}).workbook();return r.creator=e.creator,r.date=e.date,r.rtl="rtl"===e.dir,r},c=e=>new o.Workbook(e).toDataURL(),u={name:"@progress/kendo-vue-excel-export",productName:"Kendo UI for Vue",productCode:"KENDOUIVUE",productCodes:["KENDOUIVUE"],publishDate:0,version:"8.0.3-develop.3",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/"};e.isWorkbookOptions=e=>e&&e.sheets,e.saveExcel=function(e){r.validatePackage(u);const o=d(e);c(o).then(o=>{e.onExportComplete&&e.onExportComplete.call(void 0,{dataURL:o,options:e}),t.saveAs(o,e.fileName,{forceProxy:e.forceProxy,proxyURL:e.proxyURL})})},e.toDataURL=c,e.workbookOptions=d,Object.keys(o).forEach(function(t){"default"===t||Object.prototype.hasOwnProperty.call(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return o[t]}})})});
|
package/index.d.mts
CHANGED
|
@@ -5,284 +5,9 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* The options for the Excel Export cell.
|
|
17
|
-
*/
|
|
18
|
-
declare interface CellOptions {
|
|
19
|
-
/**
|
|
20
|
-
* Sets the background color of the cell.
|
|
21
|
-
* Supports hex CSS-like values that start with `"#"`. For example, `"#ff00ff"`.
|
|
22
|
-
*/
|
|
23
|
-
background?: string;
|
|
24
|
-
/**
|
|
25
|
-
* The style information for the bottom border of the cell.
|
|
26
|
-
*/
|
|
27
|
-
borderBottom?: WorkbookSheetRowCellBorderBottom;
|
|
28
|
-
/**
|
|
29
|
-
* The style information for the left border of the cell.
|
|
30
|
-
*/
|
|
31
|
-
borderLeft?: WorkbookSheetRowCellBorderLeft;
|
|
32
|
-
/**
|
|
33
|
-
* The style information for the top border of the cell.
|
|
34
|
-
*/
|
|
35
|
-
borderTop?: WorkbookSheetRowCellBorderTop;
|
|
36
|
-
/**
|
|
37
|
-
* The style information for the right border of the cell.
|
|
38
|
-
*/
|
|
39
|
-
borderRight?: WorkbookSheetRowCellBorderRight;
|
|
40
|
-
/**
|
|
41
|
-
* If set to `true`, renders the cell value in bold.
|
|
42
|
-
*/
|
|
43
|
-
bold?: boolean;
|
|
44
|
-
/**
|
|
45
|
-
* The text color of the cell.
|
|
46
|
-
* Supports hex CSS-like values that start with `"#"`. For example, `"#ff00ff"`.
|
|
47
|
-
*/
|
|
48
|
-
color?: string;
|
|
49
|
-
/**
|
|
50
|
-
* Sets the font that is used to display the cell value.
|
|
51
|
-
*/
|
|
52
|
-
fontFamily?: string;
|
|
53
|
-
/**
|
|
54
|
-
* Sets the font size in pixels.
|
|
55
|
-
*/
|
|
56
|
-
fontSize?: number;
|
|
57
|
-
/**
|
|
58
|
-
* Sets the format that Excel uses to display the cell value.
|
|
59
|
-
* For more information, refer to the page on
|
|
60
|
-
* [supported Excel formats](https://support.office.com/en-us/article/Create-or-delete-a-custom-number-format-78f2a361-936b-4c03-8772-09fab54be7f4).
|
|
61
|
-
*/
|
|
62
|
-
format?: string;
|
|
63
|
-
/**
|
|
64
|
-
* If set to `true`, renders the cell value in italics.
|
|
65
|
-
*/
|
|
66
|
-
italic?: boolean;
|
|
67
|
-
/**
|
|
68
|
-
* Sets the horizontal alignment of the cell value.
|
|
69
|
-
* The supported values are:
|
|
70
|
-
* * `"left"`
|
|
71
|
-
* * `"center"`
|
|
72
|
-
* * `"right"`
|
|
73
|
-
*/
|
|
74
|
-
textAlign?: 'left' | 'center' | 'right';
|
|
75
|
-
/**
|
|
76
|
-
* If set to `true`, underlines the cell value.
|
|
77
|
-
*/
|
|
78
|
-
underline?: boolean;
|
|
79
|
-
/**
|
|
80
|
-
* If set to `true`, wraps the cell value.
|
|
81
|
-
*/
|
|
82
|
-
wrap?: boolean;
|
|
83
|
-
/**
|
|
84
|
-
* Sets the vertical alignment of the cell value.
|
|
85
|
-
* The supported values are:
|
|
86
|
-
* * `"top"`
|
|
87
|
-
* * `"center"`
|
|
88
|
-
* * `"bottom"`
|
|
89
|
-
*/
|
|
90
|
-
verticalAlign?: 'top' | 'center' | 'bottom';
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
/**
|
|
94
|
-
* @hidden
|
|
95
|
-
*/
|
|
96
|
-
declare interface ColumnBase {
|
|
97
|
-
/**
|
|
98
|
-
* @hidden
|
|
99
|
-
*/
|
|
100
|
-
children?: any;
|
|
101
|
-
/**
|
|
102
|
-
* The options of the column header cell.
|
|
103
|
-
*/
|
|
104
|
-
headerCellOptions?: CellOptions;
|
|
105
|
-
/**
|
|
106
|
-
* Sets the visibility of the column.
|
|
107
|
-
*
|
|
108
|
-
* @default false
|
|
109
|
-
*/
|
|
110
|
-
hidden?: boolean;
|
|
111
|
-
/**
|
|
112
|
-
* @hidden
|
|
113
|
-
*/
|
|
114
|
-
level?: number;
|
|
115
|
-
/**
|
|
116
|
-
* Toggles the locked (frozen) state of the column.
|
|
117
|
-
*
|
|
118
|
-
* @default false
|
|
119
|
-
*/
|
|
120
|
-
locked?: boolean;
|
|
121
|
-
/**
|
|
122
|
-
* The title of the column.
|
|
123
|
-
*/
|
|
124
|
-
title?: string;
|
|
125
|
-
/**
|
|
126
|
-
* The width of the column in pixels.
|
|
127
|
-
*/
|
|
128
|
-
width?: number | string;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
/**
|
|
132
|
-
* Represents the props of the KendoVue ExcelExportColumnProps component.
|
|
133
|
-
*/
|
|
134
|
-
export declare interface ExcelExportColumnOptions extends ColumnBase {
|
|
135
|
-
/**
|
|
136
|
-
* The options of the column data cells.
|
|
137
|
-
*/
|
|
138
|
-
cellOptions?: CellOptions;
|
|
139
|
-
/**
|
|
140
|
-
* The field to which the column is bound.
|
|
141
|
-
*/
|
|
142
|
-
field?: string;
|
|
143
|
-
/**
|
|
144
|
-
* The options of the column footer cell.
|
|
145
|
-
*/
|
|
146
|
-
footerCellOptions?: CellOptions;
|
|
147
|
-
/**
|
|
148
|
-
* The column footer. Can be a function or a Vue component.
|
|
149
|
-
*/
|
|
150
|
-
footer?: Function;
|
|
151
|
-
/**
|
|
152
|
-
* The options of the column group footer cells.
|
|
153
|
-
*/
|
|
154
|
-
groupFooterCellOptions?: CellOptions;
|
|
155
|
-
/**
|
|
156
|
-
* The footer of the group. Can be a function or a Vue component.
|
|
157
|
-
*/
|
|
158
|
-
groupFooter?: Function;
|
|
159
|
-
/**
|
|
160
|
-
* The options of the column group header cells.
|
|
161
|
-
*/
|
|
162
|
-
groupHeaderCellOptions?: CellOptions;
|
|
163
|
-
/**
|
|
164
|
-
* The header of the group. Can be a function or a Vue component.
|
|
165
|
-
*/
|
|
166
|
-
groupHeader?: Function;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
/**
|
|
170
|
-
* Represents the return type of ExcelExportExportEvent.
|
|
171
|
-
*/
|
|
172
|
-
export declare type ExcelExportExportEvent = {
|
|
173
|
-
dataURL?: string;
|
|
174
|
-
options?: ExcelExportOptions;
|
|
175
|
-
};
|
|
176
|
-
|
|
177
|
-
/**
|
|
178
|
-
* Represents the props of the KendoVue ExcelExport component.
|
|
179
|
-
*/
|
|
180
|
-
export declare interface ExcelExportOptions {
|
|
181
|
-
/**
|
|
182
|
-
* You can pass the columns through the props of the component.
|
|
183
|
-
* If both the columns prop and the child column components are presented,
|
|
184
|
-
* the columns from props will be used.
|
|
185
|
-
*/
|
|
186
|
-
columns?: ExcelExportColumnOptions[] | any[];
|
|
187
|
-
/**
|
|
188
|
-
* The creator of the workbook.
|
|
189
|
-
*/
|
|
190
|
-
creator?: string;
|
|
191
|
-
/**
|
|
192
|
-
* The exported data.
|
|
193
|
-
* If grouped, the data must be structured as described by the
|
|
194
|
-
* [`GroupResult`]({% slug api_kendo-data-query_groupresult %}) option of the Kendo UI Data Query component.
|
|
195
|
-
*/
|
|
196
|
-
data?: any[];
|
|
197
|
-
/**
|
|
198
|
-
* The date on which the workbook is created.
|
|
199
|
-
* The default value is `new Date()`.
|
|
200
|
-
*/
|
|
201
|
-
date?: Date;
|
|
202
|
-
/**
|
|
203
|
-
* Enables or disables the column filtering in the Excel file.
|
|
204
|
-
*/
|
|
205
|
-
filterable?: boolean;
|
|
206
|
-
/**
|
|
207
|
-
* Specifies the name of the file that is exported to Excel.
|
|
208
|
-
*
|
|
209
|
-
* @default "Export.xlsx"
|
|
210
|
-
*/
|
|
211
|
-
fileName?: string;
|
|
212
|
-
/**
|
|
213
|
-
* If set to `true`, the content is forwarded to `proxyURL`
|
|
214
|
-
* even if the browser supports the saving of files locally.
|
|
215
|
-
*/
|
|
216
|
-
forceProxy?: boolean;
|
|
217
|
-
/**
|
|
218
|
-
* The exported data groups.
|
|
219
|
-
* The groups must be compatible with the
|
|
220
|
-
* [`GroupDescriptor`]({% slug api_kendo-data-query_groupdescriptor %}) option of the
|
|
221
|
-
* Kendo UI Data Query component.
|
|
222
|
-
*/
|
|
223
|
-
group?: GroupDescriptor[];
|
|
224
|
-
/**
|
|
225
|
-
* The options of the cells that are inserted before the header cells
|
|
226
|
-
* to align the headers and the column values (when the data is grouped).
|
|
227
|
-
*/
|
|
228
|
-
headerPaddingCellOptions?: CellOptions;
|
|
229
|
-
/**
|
|
230
|
-
* The options of the cells that are inserted before the data, group, and footer cells
|
|
231
|
-
* to indicate the group hierarchy (when the data is grouped).
|
|
232
|
-
*/
|
|
233
|
-
paddingCellOptions?: CellOptions;
|
|
234
|
-
/**
|
|
235
|
-
* The URL of the server-side proxy which will stream the file to the end user.
|
|
236
|
-
* When the browser is not capable of saving files locally—for example,
|
|
237
|
-
* Internet Explorer 9 and earlier, and Safari—a proxy is used.
|
|
238
|
-
* The implementation of the server-side proxy has to be done by you.
|
|
239
|
-
* The proxy receives a POST request with the following parameters in the request body:
|
|
240
|
-
* - `contentType`—The MIME type of the file.
|
|
241
|
-
* - `base64`—The base-64 encoded file content.
|
|
242
|
-
* - `fileName`—The file name, as requested by the caller.
|
|
243
|
-
* The proxy is expected to return the decoded file with the **Content-Disposition**
|
|
244
|
-
* header set to `attachment; filename="<fileName.xslx>"`.
|
|
245
|
-
*/
|
|
246
|
-
proxyURL?: string;
|
|
247
|
-
/**
|
|
248
|
-
* If set to `rtl`, the Excel file will be rendered in the right-to-left mode.
|
|
249
|
-
*/
|
|
250
|
-
dir?: string;
|
|
251
|
-
/**
|
|
252
|
-
* If set to true the data will be exported as a tree based on the `level` property of each data record.
|
|
253
|
-
*/
|
|
254
|
-
hierarchy?: boolean;
|
|
255
|
-
/**
|
|
256
|
-
* Enables or disables collapsible (grouped) rows in the exported file.
|
|
257
|
-
*/
|
|
258
|
-
collapsible?: boolean;
|
|
259
|
-
/**
|
|
260
|
-
* Triggered after the export is complete.
|
|
261
|
-
*/
|
|
262
|
-
onExportComplete?: (event: ExcelExportExportEvent) => void;
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
/**
|
|
266
|
-
* @hidden
|
|
267
|
-
*/
|
|
268
|
-
export declare const isWorkbookOptions: (value: any) => boolean;
|
|
269
|
-
|
|
270
|
-
/**
|
|
271
|
-
* @hidden
|
|
272
|
-
*/
|
|
273
|
-
export declare function saveExcel(exportOptions: ExcelExportOptions): void;
|
|
274
|
-
|
|
275
|
-
/**
|
|
276
|
-
* @hidden
|
|
277
|
-
*/
|
|
278
|
-
export declare const toDataURL: (options: WorkbookOptions) => Promise<string>;
|
|
279
|
-
|
|
280
|
-
/**
|
|
281
|
-
* @hidden
|
|
282
|
-
*/
|
|
283
|
-
export declare const workbookOptions: (options: ExcelExportOptions) => WorkbookOptions;
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
export * from "@progress/kendo-ooxml";
|
|
287
|
-
|
|
288
|
-
export { }
|
|
8
|
+
import { default as saveExcel } from './saveExcel.js';
|
|
9
|
+
export { saveExcel };
|
|
10
|
+
export * from './ExcelExportOptions.js';
|
|
11
|
+
export * from './ExcelExportColumnOptions.js';
|
|
12
|
+
export * from './ooxml/workbook.js';
|
|
13
|
+
export * from '@progress/kendo-ooxml';
|
package/index.d.ts
CHANGED
|
@@ -5,284 +5,9 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* The options for the Excel Export cell.
|
|
17
|
-
*/
|
|
18
|
-
declare interface CellOptions {
|
|
19
|
-
/**
|
|
20
|
-
* Sets the background color of the cell.
|
|
21
|
-
* Supports hex CSS-like values that start with `"#"`. For example, `"#ff00ff"`.
|
|
22
|
-
*/
|
|
23
|
-
background?: string;
|
|
24
|
-
/**
|
|
25
|
-
* The style information for the bottom border of the cell.
|
|
26
|
-
*/
|
|
27
|
-
borderBottom?: WorkbookSheetRowCellBorderBottom;
|
|
28
|
-
/**
|
|
29
|
-
* The style information for the left border of the cell.
|
|
30
|
-
*/
|
|
31
|
-
borderLeft?: WorkbookSheetRowCellBorderLeft;
|
|
32
|
-
/**
|
|
33
|
-
* The style information for the top border of the cell.
|
|
34
|
-
*/
|
|
35
|
-
borderTop?: WorkbookSheetRowCellBorderTop;
|
|
36
|
-
/**
|
|
37
|
-
* The style information for the right border of the cell.
|
|
38
|
-
*/
|
|
39
|
-
borderRight?: WorkbookSheetRowCellBorderRight;
|
|
40
|
-
/**
|
|
41
|
-
* If set to `true`, renders the cell value in bold.
|
|
42
|
-
*/
|
|
43
|
-
bold?: boolean;
|
|
44
|
-
/**
|
|
45
|
-
* The text color of the cell.
|
|
46
|
-
* Supports hex CSS-like values that start with `"#"`. For example, `"#ff00ff"`.
|
|
47
|
-
*/
|
|
48
|
-
color?: string;
|
|
49
|
-
/**
|
|
50
|
-
* Sets the font that is used to display the cell value.
|
|
51
|
-
*/
|
|
52
|
-
fontFamily?: string;
|
|
53
|
-
/**
|
|
54
|
-
* Sets the font size in pixels.
|
|
55
|
-
*/
|
|
56
|
-
fontSize?: number;
|
|
57
|
-
/**
|
|
58
|
-
* Sets the format that Excel uses to display the cell value.
|
|
59
|
-
* For more information, refer to the page on
|
|
60
|
-
* [supported Excel formats](https://support.office.com/en-us/article/Create-or-delete-a-custom-number-format-78f2a361-936b-4c03-8772-09fab54be7f4).
|
|
61
|
-
*/
|
|
62
|
-
format?: string;
|
|
63
|
-
/**
|
|
64
|
-
* If set to `true`, renders the cell value in italics.
|
|
65
|
-
*/
|
|
66
|
-
italic?: boolean;
|
|
67
|
-
/**
|
|
68
|
-
* Sets the horizontal alignment of the cell value.
|
|
69
|
-
* The supported values are:
|
|
70
|
-
* * `"left"`
|
|
71
|
-
* * `"center"`
|
|
72
|
-
* * `"right"`
|
|
73
|
-
*/
|
|
74
|
-
textAlign?: 'left' | 'center' | 'right';
|
|
75
|
-
/**
|
|
76
|
-
* If set to `true`, underlines the cell value.
|
|
77
|
-
*/
|
|
78
|
-
underline?: boolean;
|
|
79
|
-
/**
|
|
80
|
-
* If set to `true`, wraps the cell value.
|
|
81
|
-
*/
|
|
82
|
-
wrap?: boolean;
|
|
83
|
-
/**
|
|
84
|
-
* Sets the vertical alignment of the cell value.
|
|
85
|
-
* The supported values are:
|
|
86
|
-
* * `"top"`
|
|
87
|
-
* * `"center"`
|
|
88
|
-
* * `"bottom"`
|
|
89
|
-
*/
|
|
90
|
-
verticalAlign?: 'top' | 'center' | 'bottom';
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
/**
|
|
94
|
-
* @hidden
|
|
95
|
-
*/
|
|
96
|
-
declare interface ColumnBase {
|
|
97
|
-
/**
|
|
98
|
-
* @hidden
|
|
99
|
-
*/
|
|
100
|
-
children?: any;
|
|
101
|
-
/**
|
|
102
|
-
* The options of the column header cell.
|
|
103
|
-
*/
|
|
104
|
-
headerCellOptions?: CellOptions;
|
|
105
|
-
/**
|
|
106
|
-
* Sets the visibility of the column.
|
|
107
|
-
*
|
|
108
|
-
* @default false
|
|
109
|
-
*/
|
|
110
|
-
hidden?: boolean;
|
|
111
|
-
/**
|
|
112
|
-
* @hidden
|
|
113
|
-
*/
|
|
114
|
-
level?: number;
|
|
115
|
-
/**
|
|
116
|
-
* Toggles the locked (frozen) state of the column.
|
|
117
|
-
*
|
|
118
|
-
* @default false
|
|
119
|
-
*/
|
|
120
|
-
locked?: boolean;
|
|
121
|
-
/**
|
|
122
|
-
* The title of the column.
|
|
123
|
-
*/
|
|
124
|
-
title?: string;
|
|
125
|
-
/**
|
|
126
|
-
* The width of the column in pixels.
|
|
127
|
-
*/
|
|
128
|
-
width?: number | string;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
/**
|
|
132
|
-
* Represents the props of the KendoVue ExcelExportColumnProps component.
|
|
133
|
-
*/
|
|
134
|
-
export declare interface ExcelExportColumnOptions extends ColumnBase {
|
|
135
|
-
/**
|
|
136
|
-
* The options of the column data cells.
|
|
137
|
-
*/
|
|
138
|
-
cellOptions?: CellOptions;
|
|
139
|
-
/**
|
|
140
|
-
* The field to which the column is bound.
|
|
141
|
-
*/
|
|
142
|
-
field?: string;
|
|
143
|
-
/**
|
|
144
|
-
* The options of the column footer cell.
|
|
145
|
-
*/
|
|
146
|
-
footerCellOptions?: CellOptions;
|
|
147
|
-
/**
|
|
148
|
-
* The column footer. Can be a function or a Vue component.
|
|
149
|
-
*/
|
|
150
|
-
footer?: Function;
|
|
151
|
-
/**
|
|
152
|
-
* The options of the column group footer cells.
|
|
153
|
-
*/
|
|
154
|
-
groupFooterCellOptions?: CellOptions;
|
|
155
|
-
/**
|
|
156
|
-
* The footer of the group. Can be a function or a Vue component.
|
|
157
|
-
*/
|
|
158
|
-
groupFooter?: Function;
|
|
159
|
-
/**
|
|
160
|
-
* The options of the column group header cells.
|
|
161
|
-
*/
|
|
162
|
-
groupHeaderCellOptions?: CellOptions;
|
|
163
|
-
/**
|
|
164
|
-
* The header of the group. Can be a function or a Vue component.
|
|
165
|
-
*/
|
|
166
|
-
groupHeader?: Function;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
/**
|
|
170
|
-
* Represents the return type of ExcelExportExportEvent.
|
|
171
|
-
*/
|
|
172
|
-
export declare type ExcelExportExportEvent = {
|
|
173
|
-
dataURL?: string;
|
|
174
|
-
options?: ExcelExportOptions;
|
|
175
|
-
};
|
|
176
|
-
|
|
177
|
-
/**
|
|
178
|
-
* Represents the props of the KendoVue ExcelExport component.
|
|
179
|
-
*/
|
|
180
|
-
export declare interface ExcelExportOptions {
|
|
181
|
-
/**
|
|
182
|
-
* You can pass the columns through the props of the component.
|
|
183
|
-
* If both the columns prop and the child column components are presented,
|
|
184
|
-
* the columns from props will be used.
|
|
185
|
-
*/
|
|
186
|
-
columns?: ExcelExportColumnOptions[] | any[];
|
|
187
|
-
/**
|
|
188
|
-
* The creator of the workbook.
|
|
189
|
-
*/
|
|
190
|
-
creator?: string;
|
|
191
|
-
/**
|
|
192
|
-
* The exported data.
|
|
193
|
-
* If grouped, the data must be structured as described by the
|
|
194
|
-
* [`GroupResult`]({% slug api_kendo-data-query_groupresult %}) option of the Kendo UI Data Query component.
|
|
195
|
-
*/
|
|
196
|
-
data?: any[];
|
|
197
|
-
/**
|
|
198
|
-
* The date on which the workbook is created.
|
|
199
|
-
* The default value is `new Date()`.
|
|
200
|
-
*/
|
|
201
|
-
date?: Date;
|
|
202
|
-
/**
|
|
203
|
-
* Enables or disables the column filtering in the Excel file.
|
|
204
|
-
*/
|
|
205
|
-
filterable?: boolean;
|
|
206
|
-
/**
|
|
207
|
-
* Specifies the name of the file that is exported to Excel.
|
|
208
|
-
*
|
|
209
|
-
* @default "Export.xlsx"
|
|
210
|
-
*/
|
|
211
|
-
fileName?: string;
|
|
212
|
-
/**
|
|
213
|
-
* If set to `true`, the content is forwarded to `proxyURL`
|
|
214
|
-
* even if the browser supports the saving of files locally.
|
|
215
|
-
*/
|
|
216
|
-
forceProxy?: boolean;
|
|
217
|
-
/**
|
|
218
|
-
* The exported data groups.
|
|
219
|
-
* The groups must be compatible with the
|
|
220
|
-
* [`GroupDescriptor`]({% slug api_kendo-data-query_groupdescriptor %}) option of the
|
|
221
|
-
* Kendo UI Data Query component.
|
|
222
|
-
*/
|
|
223
|
-
group?: GroupDescriptor[];
|
|
224
|
-
/**
|
|
225
|
-
* The options of the cells that are inserted before the header cells
|
|
226
|
-
* to align the headers and the column values (when the data is grouped).
|
|
227
|
-
*/
|
|
228
|
-
headerPaddingCellOptions?: CellOptions;
|
|
229
|
-
/**
|
|
230
|
-
* The options of the cells that are inserted before the data, group, and footer cells
|
|
231
|
-
* to indicate the group hierarchy (when the data is grouped).
|
|
232
|
-
*/
|
|
233
|
-
paddingCellOptions?: CellOptions;
|
|
234
|
-
/**
|
|
235
|
-
* The URL of the server-side proxy which will stream the file to the end user.
|
|
236
|
-
* When the browser is not capable of saving files locally—for example,
|
|
237
|
-
* Internet Explorer 9 and earlier, and Safari—a proxy is used.
|
|
238
|
-
* The implementation of the server-side proxy has to be done by you.
|
|
239
|
-
* The proxy receives a POST request with the following parameters in the request body:
|
|
240
|
-
* - `contentType`—The MIME type of the file.
|
|
241
|
-
* - `base64`—The base-64 encoded file content.
|
|
242
|
-
* - `fileName`—The file name, as requested by the caller.
|
|
243
|
-
* The proxy is expected to return the decoded file with the **Content-Disposition**
|
|
244
|
-
* header set to `attachment; filename="<fileName.xslx>"`.
|
|
245
|
-
*/
|
|
246
|
-
proxyURL?: string;
|
|
247
|
-
/**
|
|
248
|
-
* If set to `rtl`, the Excel file will be rendered in the right-to-left mode.
|
|
249
|
-
*/
|
|
250
|
-
dir?: string;
|
|
251
|
-
/**
|
|
252
|
-
* If set to true the data will be exported as a tree based on the `level` property of each data record.
|
|
253
|
-
*/
|
|
254
|
-
hierarchy?: boolean;
|
|
255
|
-
/**
|
|
256
|
-
* Enables or disables collapsible (grouped) rows in the exported file.
|
|
257
|
-
*/
|
|
258
|
-
collapsible?: boolean;
|
|
259
|
-
/**
|
|
260
|
-
* Triggered after the export is complete.
|
|
261
|
-
*/
|
|
262
|
-
onExportComplete?: (event: ExcelExportExportEvent) => void;
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
/**
|
|
266
|
-
* @hidden
|
|
267
|
-
*/
|
|
268
|
-
export declare const isWorkbookOptions: (value: any) => boolean;
|
|
269
|
-
|
|
270
|
-
/**
|
|
271
|
-
* @hidden
|
|
272
|
-
*/
|
|
273
|
-
export declare function saveExcel(exportOptions: ExcelExportOptions): void;
|
|
274
|
-
|
|
275
|
-
/**
|
|
276
|
-
* @hidden
|
|
277
|
-
*/
|
|
278
|
-
export declare const toDataURL: (options: WorkbookOptions) => Promise<string>;
|
|
279
|
-
|
|
280
|
-
/**
|
|
281
|
-
* @hidden
|
|
282
|
-
*/
|
|
283
|
-
export declare const workbookOptions: (options: ExcelExportOptions) => WorkbookOptions;
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
export * from "@progress/kendo-ooxml";
|
|
287
|
-
|
|
288
|
-
export { }
|
|
8
|
+
import { default as saveExcel } from './saveExcel';
|
|
9
|
+
export { saveExcel };
|
|
10
|
+
export * from './ExcelExportOptions';
|
|
11
|
+
export * from './ExcelExportColumnOptions';
|
|
12
|
+
export * from './ooxml/workbook';
|
|
13
|
+
export * from '@progress/kendo-ooxml';
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { WorkbookSheetRowCellBorderBottom, WorkbookSheetRowCellBorderLeft, WorkbookSheetRowCellBorderTop, WorkbookSheetRowCellBorderRight } from '@progress/kendo-ooxml';
|
|
9
|
+
/**
|
|
10
|
+
* The options for the Excel Export cell.
|
|
11
|
+
*/
|
|
12
|
+
export interface CellOptions {
|
|
13
|
+
/**
|
|
14
|
+
* Sets the background color of the cell.
|
|
15
|
+
* Supports hex CSS-like values that start with `"#"`. For example, `"#ff00ff"`.
|
|
16
|
+
*/
|
|
17
|
+
background?: string;
|
|
18
|
+
/**
|
|
19
|
+
* The style information for the bottom border of the cell.
|
|
20
|
+
*/
|
|
21
|
+
borderBottom?: WorkbookSheetRowCellBorderBottom;
|
|
22
|
+
/**
|
|
23
|
+
* The style information for the left border of the cell.
|
|
24
|
+
*/
|
|
25
|
+
borderLeft?: WorkbookSheetRowCellBorderLeft;
|
|
26
|
+
/**
|
|
27
|
+
* The style information for the top border of the cell.
|
|
28
|
+
*/
|
|
29
|
+
borderTop?: WorkbookSheetRowCellBorderTop;
|
|
30
|
+
/**
|
|
31
|
+
* The style information for the right border of the cell.
|
|
32
|
+
*/
|
|
33
|
+
borderRight?: WorkbookSheetRowCellBorderRight;
|
|
34
|
+
/**
|
|
35
|
+
* If set to `true`, renders the cell value in bold.
|
|
36
|
+
*/
|
|
37
|
+
bold?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* The text color of the cell.
|
|
40
|
+
* Supports hex CSS-like values that start with `"#"`. For example, `"#ff00ff"`.
|
|
41
|
+
*/
|
|
42
|
+
color?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Sets the font that is used to display the cell value.
|
|
45
|
+
*/
|
|
46
|
+
fontFamily?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Sets the font size in pixels.
|
|
49
|
+
*/
|
|
50
|
+
fontSize?: number;
|
|
51
|
+
/**
|
|
52
|
+
* Sets the format that Excel uses to display the cell value.
|
|
53
|
+
* For more information, refer to the page on
|
|
54
|
+
* [supported Excel formats](https://support.office.com/en-us/article/Create-or-delete-a-custom-number-format-78f2a361-936b-4c03-8772-09fab54be7f4).
|
|
55
|
+
*/
|
|
56
|
+
format?: string;
|
|
57
|
+
/**
|
|
58
|
+
* If set to `true`, renders the cell value in italics.
|
|
59
|
+
*/
|
|
60
|
+
italic?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* Sets the horizontal alignment of the cell value.
|
|
63
|
+
* The supported values are:
|
|
64
|
+
* * `"left"`
|
|
65
|
+
* * `"center"`
|
|
66
|
+
* * `"right"`
|
|
67
|
+
*/
|
|
68
|
+
textAlign?: 'left' | 'center' | 'right';
|
|
69
|
+
/**
|
|
70
|
+
* If set to `true`, underlines the cell value.
|
|
71
|
+
*/
|
|
72
|
+
underline?: boolean;
|
|
73
|
+
/**
|
|
74
|
+
* If set to `true`, wraps the cell value.
|
|
75
|
+
*/
|
|
76
|
+
wrap?: boolean;
|
|
77
|
+
/**
|
|
78
|
+
* Sets the vertical alignment of the cell value.
|
|
79
|
+
* The supported values are:
|
|
80
|
+
* * `"top"`
|
|
81
|
+
* * `"center"`
|
|
82
|
+
* * `"bottom"`
|
|
83
|
+
*/
|
|
84
|
+
verticalAlign?: 'top' | 'center' | 'bottom';
|
|
85
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { CellOptions } from './CellOptionsInterface';
|
|
9
|
+
import { ExcelExportColumnOptions } from '../ExcelExportColumnOptions';
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
export declare const toExporterColumns: (sourceColumns?: ExcelExportColumnOptions[]) => ExporterColumn[];
|
|
14
|
+
/**
|
|
15
|
+
* @hidden
|
|
16
|
+
*/
|
|
17
|
+
export declare class ExporterColumn {
|
|
18
|
+
title?: string;
|
|
19
|
+
field?: string;
|
|
20
|
+
hidden?: boolean;
|
|
21
|
+
locked?: boolean;
|
|
22
|
+
width?: number | string;
|
|
23
|
+
columns: ExporterColumn[];
|
|
24
|
+
groupHeaderTemplate: any;
|
|
25
|
+
groupFooterTemplate: any;
|
|
26
|
+
footerTemplate: any;
|
|
27
|
+
headerCellOptions?: CellOptions;
|
|
28
|
+
cellOptions?: CellOptions;
|
|
29
|
+
groupHeaderCellOptions?: CellOptions;
|
|
30
|
+
groupFooterCellOptions?: CellOptions;
|
|
31
|
+
footerCellOptions?: CellOptions;
|
|
32
|
+
constructor(column: ExcelExportColumnOptions, columnIndex?: number);
|
|
33
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { WorkbookOptions } from '@progress/kendo-ooxml';
|
|
9
|
+
import { ExcelExportOptions } from '../ExcelExportOptions';
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
export declare const workbookOptions: (options: ExcelExportOptions) => WorkbookOptions;
|
|
14
|
+
/**
|
|
15
|
+
* @hidden
|
|
16
|
+
*/
|
|
17
|
+
export declare const toDataURL: (options: WorkbookOptions) => Promise<string>;
|
|
18
|
+
/**
|
|
19
|
+
* @hidden
|
|
20
|
+
*/
|
|
21
|
+
export declare const isWorkbookOptions: (value: any) => boolean;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { PackageMetadata } from '@progress/kendo-licensing';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export declare const packageMetadata: PackageMetadata;
|
package/package-metadata.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-vue-excel-export",productName:"Kendo UI for Vue",productCode:"KENDOUIVUE",productCodes:["KENDOUIVUE"],publishDate:
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-vue-excel-export",productName:"Kendo UI for Vue",productCode:"KENDOUIVUE",productCodes:["KENDOUIVUE"],publishDate: 1773401796,version:"8.0.3-develop.3",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/"};exports.packageMetadata=e;
|
package/package-metadata.mjs
CHANGED
|
@@ -10,8 +10,8 @@ const e = {
|
|
|
10
10
|
productName: "Kendo UI for Vue",
|
|
11
11
|
productCode: "KENDOUIVUE",
|
|
12
12
|
productCodes: ["KENDOUIVUE"],
|
|
13
|
-
publishDate:
|
|
14
|
-
version: "8.0.3-develop.
|
|
13
|
+
publishDate: 1773401796,
|
|
14
|
+
version: "8.0.3-develop.3",
|
|
15
15
|
licensingDocsUrl: "https://www.telerik.com/kendo-vue-ui/my-license/"
|
|
16
16
|
};
|
|
17
17
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-vue-excel-export",
|
|
3
|
-
"version": "8.0.3-develop.
|
|
3
|
+
"version": "8.0.3-develop.3",
|
|
4
4
|
"description": "TODO",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -9,8 +9,14 @@
|
|
|
9
9
|
"types": "./index.d.ts",
|
|
10
10
|
"exports": {
|
|
11
11
|
".": {
|
|
12
|
-
"import":
|
|
13
|
-
|
|
12
|
+
"import": {
|
|
13
|
+
"types": "./index.d.mts",
|
|
14
|
+
"default": "./index.mjs"
|
|
15
|
+
},
|
|
16
|
+
"require": {
|
|
17
|
+
"types": "./index.d.ts",
|
|
18
|
+
"default": "./index.js"
|
|
19
|
+
}
|
|
14
20
|
},
|
|
15
21
|
"./package.json": {
|
|
16
22
|
"default": "./package.json"
|
|
@@ -20,7 +26,7 @@
|
|
|
20
26
|
"peerDependencies": {
|
|
21
27
|
"@progress/kendo-licensing": "^1.7.2",
|
|
22
28
|
"@progress/kendo-data-query": "^1.7.0",
|
|
23
|
-
"@progress/kendo-vue-common": "8.0.3-develop.
|
|
29
|
+
"@progress/kendo-vue-common": "8.0.3-develop.3",
|
|
24
30
|
"vue": "^3.0.2"
|
|
25
31
|
},
|
|
26
32
|
"dependencies": {
|
|
@@ -43,7 +49,7 @@
|
|
|
43
49
|
"package": {
|
|
44
50
|
"productName": "Kendo UI for Vue",
|
|
45
51
|
"productCode": "KENDOUIVUE",
|
|
46
|
-
"publishDate":
|
|
52
|
+
"publishDate": 1773401796,
|
|
47
53
|
"licensingDocsUrl": "https://www.telerik.com/kendo-vue-ui/my-license/"
|
|
48
54
|
}
|
|
49
55
|
},
|
package/saveExcel.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { ExcelExportOptions } from './ExcelExportOptions';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export default function saveExcel(exportOptions: ExcelExportOptions): void;
|