@progress/kendo-react-excel-export 7.2.4-develop.3 → 7.2.4-develop.4

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/index.d.ts CHANGED
@@ -1,15 +1,413 @@
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 { ExcelExport, type ExcelExportProps, type ExcelExportExportEvent } from './ExcelExport';
6
- import type { ExcelExportData } from './ExcelExportData';
7
- import { ExcelExportColumn, type ExcelExportColumnProps } from './ExcelExportColumn';
8
- import { ExcelExportColumnGroup, type ExcelExportColumnGroupProps } from './ExcelExportColumnGroup';
9
- import type { ColumnBase } from './ColumnBase';
10
- import { ExcelExportFooter, type ExcelExportFooterProps } from './templates/ExcelExportFooter';
11
- import { ExcelExportGroupFooter, type ExcelExportGroupFooterProps } from './templates/ExcelExportGroupFooter';
12
- import { ExcelExportGroupHeader, type ExcelExportGroupHeaderProps } from './templates/ExcelExportGroupHeader';
13
- import * as KendoOoxml from '@progress/kendo-ooxml';
14
- export { ExcelExport, ExcelExportData, ExcelExportProps, ExcelExportExportEvent, ExcelExportColumnGroup, ExcelExportColumnGroupProps, ExcelExportFooter, ExcelExportFooterProps, ExcelExportColumn, ExcelExportColumnProps, ColumnBase, ExcelExportGroupFooter, ExcelExportGroupFooterProps, ExcelExportGroupHeader, ExcelExportGroupHeaderProps, KendoOoxml };
15
- export * from './ooxml/workbook';
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2024 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 { AggregateResult } from '@progress/kendo-data-query';
9
+ import { GroupResult } from '@progress/kendo-data-query';
10
+ import * as KendoOoxml from '@progress/kendo-ooxml';
11
+ import PropTypes from 'prop-types';
12
+ import * as React_2 from 'react';
13
+ import { WorkbookOptions } from '@progress/kendo-ooxml';
14
+ import { WorkbookSheetRowCellBorderBottom } from '@progress/kendo-ooxml';
15
+ import { WorkbookSheetRowCellBorderLeft } from '@progress/kendo-ooxml';
16
+ import { WorkbookSheetRowCellBorderRight } from '@progress/kendo-ooxml';
17
+ import { WorkbookSheetRowCellBorderTop } from '@progress/kendo-ooxml';
18
+
19
+ /**
20
+ * The options for the Excel Export cell.
21
+ */
22
+ declare interface CellOptions {
23
+ /**
24
+ * Sets the background color of the cell. Supports hex CSS-like values that start with `"#"`. For example, `"#ff00ff"`.
25
+ */
26
+ background?: string;
27
+ /**
28
+ * The style information for the bottom border of the cell.
29
+ */
30
+ borderBottom?: WorkbookSheetRowCellBorderBottom;
31
+ /**
32
+ * The style information for the left border of the cell.
33
+ */
34
+ borderLeft?: WorkbookSheetRowCellBorderLeft;
35
+ /**
36
+ * The style information for the top border of the cell.
37
+ */
38
+ borderTop?: WorkbookSheetRowCellBorderTop;
39
+ /**
40
+ * The style information for the right border of the cell.
41
+ */
42
+ borderRight?: WorkbookSheetRowCellBorderRight;
43
+ /**
44
+ * If set to `true`, renders the cell value in bold.
45
+ */
46
+ bold?: boolean;
47
+ /**
48
+ * The text color of the cell. Supports hex CSS-like values that start with `"#"`. For example, `"#ff00ff"`.
49
+ */
50
+ color?: string;
51
+ /**
52
+ * Sets the font that is used to display the cell value.
53
+ */
54
+ fontFamily?: string;
55
+ /**
56
+ * Sets the font size in pixels.
57
+ */
58
+ fontSize?: number;
59
+ /**
60
+ * 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).
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
+ *
70
+ * The supported values are:
71
+ * * `"left"`
72
+ * * `"center"`
73
+ * * `"right"`
74
+ */
75
+ textAlign?: 'left' | 'center' | 'right';
76
+ /**
77
+ * If set to `true`, underlines the cell value.
78
+ */
79
+ underline?: boolean;
80
+ /**
81
+ * If set to `true`, wraps the cell value.
82
+ */
83
+ wrap?: boolean;
84
+ /**
85
+ * Sets the vertical alignment of the cell value.
86
+ *
87
+ * The supported values are:
88
+ * * `"top"`
89
+ * * `"center"`
90
+ * * `"bottom"`
91
+ */
92
+ verticalAlign?: 'top' | 'center' | 'bottom';
93
+ }
94
+
95
+ /**
96
+ * @hidden
97
+ */
98
+ export declare interface ColumnBase {
99
+ /**
100
+ * @hidden
101
+ */
102
+ children?: any;
103
+ /**
104
+ * The options of the column header cell.
105
+ */
106
+ headerCellOptions?: CellOptions;
107
+ /**
108
+ * Sets the visibility of the column.
109
+ *
110
+ * @default false
111
+ */
112
+ hidden?: boolean;
113
+ /**
114
+ * @hidden
115
+ */
116
+ level?: number;
117
+ /**
118
+ * Toggles the locked (frozen) state of the column.
119
+ *
120
+ * @default false
121
+ */
122
+ locked?: boolean;
123
+ /**
124
+ * The title of the column.
125
+ */
126
+ title?: string;
127
+ /**
128
+ * The width of the column in pixels.
129
+ */
130
+ width?: number;
131
+ }
132
+
133
+ export declare class ExcelExport extends React_2.Component<ExcelExportProps> {
134
+ /**
135
+ * @hidden
136
+ */
137
+ static propTypes: {
138
+ children: PropTypes.Requireable<any>;
139
+ columns: PropTypes.Requireable<any[]>;
140
+ creator: PropTypes.Requireable<string>;
141
+ data: PropTypes.Requireable<any>;
142
+ date: PropTypes.Requireable<any>;
143
+ filterable: PropTypes.Requireable<boolean>;
144
+ fileName: PropTypes.Requireable<string>;
145
+ forceProxy: PropTypes.Requireable<boolean>;
146
+ group: PropTypes.Requireable<any>;
147
+ headerPaddingCellOptions: PropTypes.Requireable<any>;
148
+ paddingCellOptions: PropTypes.Requireable<any>;
149
+ proxyURL: PropTypes.Requireable<string>;
150
+ dir: PropTypes.Requireable<string>;
151
+ hierarchy: PropTypes.Requireable<boolean>;
152
+ collapsible: PropTypes.Requireable<boolean>;
153
+ };
154
+ /**
155
+ * @hidden
156
+ */
157
+ static defaultProps: {
158
+ fileName: string;
159
+ forceProxy: boolean;
160
+ collapsible: boolean;
161
+ };
162
+ constructor(props: ExcelExportProps);
163
+ /**
164
+ * Saves the data to Excel.
165
+ *
166
+ * @param exportData - An optional parameter. Can be the data that will be exported or the [`WorkbookOptions`]({% slug api_excel-export_workbookoptions %}).
167
+ * @param columns - An optional parameter. If present, it will be used instead of the columns prop or the child column components.
168
+ */
169
+ save(exportData?: any[] | ExcelExportData | WorkbookOptions, columns?: ExcelExportColumnProps[] | React_2.ReactElement<ExcelExportColumnProps>[]): void;
170
+ /**
171
+ * Returns a promise which will be resolved with the file data URI.
172
+ *
173
+ * @param exportData - The optional data or the [`WorkbookOptions`]({% slug api_excel-export_workbookoptions %}) that will be used to generate the data URI.
174
+ * @param externalColumns - The optional columns that will be used.
175
+ * @returns {Promise<string>} - The promise that will be resolved by the file data URI.
176
+ */
177
+ toDataURL(exportData?: any[] | ExcelExportData | WorkbookOptions, columns?: any[]): Promise<string>;
178
+ /**
179
+ * Based on the specified columns and data, returns [`WorkbookOptions`]({% slug api_excel-export_workbookoptions %}).
180
+ *
181
+ * @param exportData - The optional data that will be exported.
182
+ * @param externalColumns - The optional columns that will be used.
183
+ * @returns {WorkbookOptions} - The workbook options.
184
+ */
185
+ workbookOptions(exportData?: any[] | ExcelExportData, externalColumns?: ExcelExportColumnProps[] | React_2.ReactElement<ExcelExportColumnProps>[]): WorkbookOptions;
186
+ /**
187
+ * @hidden
188
+ */
189
+ render(): any;
190
+ protected saveFile: (dataURL: string) => void;
191
+ private extractColumns;
192
+ private extractChild;
193
+ private getExportData;
194
+ }
195
+
196
+ /**
197
+ * Represents the columns of the KendoReact ExcelExport component.
198
+ *
199
+ * @returns null
200
+ */
201
+ export declare const ExcelExportColumn: React_2.FunctionComponent<ExcelExportColumnProps>;
202
+
203
+ /**
204
+ * Represents the column group component of the KendoReact ExcelExport component.
205
+ *
206
+ * @returns null
207
+ */
208
+ export declare const ExcelExportColumnGroup: React_2.FunctionComponent<ExcelExportColumnGroupProps>;
209
+
210
+ export declare interface ExcelExportColumnGroupProps extends ColumnBase {
211
+ }
212
+
213
+ /**
214
+ * Represents the props of the KendoReact ExcelExportColumnProps component.
215
+ */
216
+ export declare interface ExcelExportColumnProps extends ColumnBase {
217
+ /**
218
+ * The options of the column data cells.
219
+ */
220
+ cellOptions?: CellOptions;
221
+ /**
222
+ * The field to which the column is bound.
223
+ */
224
+ field?: string;
225
+ /**
226
+ * The options of the column footer cell.
227
+ */
228
+ footerCellOptions?: CellOptions;
229
+ /**
230
+ * The column footer. Can be a function or a React component.
231
+ */
232
+ footer?: Function | ExcelExportFooter;
233
+ /**
234
+ * The options of the column group footer cells.
235
+ */
236
+ groupFooterCellOptions?: CellOptions;
237
+ /**
238
+ * The footer of the group. Can be a function or a React component.
239
+ */
240
+ groupFooter?: Function | ExcelExportGroupFooter;
241
+ /**
242
+ * The options of the column group header cells.
243
+ */
244
+ groupHeaderCellOptions?: CellOptions;
245
+ /**
246
+ * The header of the group. Can be a function or a React component.
247
+ */
248
+ groupHeader?: Function | ExcelExportGroupHeader;
249
+ }
250
+
251
+ /**
252
+ * The type that is expected for the ExcelExportComponent data.
253
+ */
254
+ export declare interface ExcelExportData {
255
+ /**
256
+ * 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.
257
+ */
258
+ data?: any[];
259
+ /**
260
+ * The exported data groups. The groups must be compatible with the [`GroupDescriptor`]({% slug api_kendo-data-query_groupdescriptor %}) of the KendoReact Data Query component.
261
+ */
262
+ group?: any[];
263
+ }
264
+
265
+ /**
266
+ * Represents the return type of ExcelExportExportEvent.
267
+ */
268
+ export declare type ExcelExportExportEvent = {
269
+ /**
270
+ * The target of the ExcelExportExportEvent from ExcelExport.
271
+ */
272
+ target: ExcelExport;
273
+ };
274
+
275
+ /**
276
+ * Represents the footer of column.
277
+ */
278
+ export declare class ExcelExportFooter extends React_2.PureComponent<ExcelExportFooterProps> {
279
+ }
280
+
281
+ /**
282
+ * Represents the props that will be passed to the ExcelExportFooter component when the template is rendered.
283
+ */
284
+ export declare interface ExcelExportFooterProps {
285
+ column: ExcelExportColumnProps;
286
+ columnIndex: number;
287
+ }
288
+
289
+ /**
290
+ * Represents the footer of the column group.
291
+ */
292
+ export declare class ExcelExportGroupFooter extends React_2.PureComponent<ExcelExportGroupFooterProps> {
293
+ }
294
+
295
+ /**
296
+ * Represents the props that will be passed to the ExcelExportGroupFooter component when the template is rendered.
297
+ */
298
+ export declare interface ExcelExportGroupFooterProps {
299
+ field: string;
300
+ column: ExcelExportColumnProps;
301
+ aggregates: AggregateResult;
302
+ group: GroupResult;
303
+ }
304
+
305
+ /**
306
+ * Represents the header of the column group.
307
+ */
308
+ export declare class ExcelExportGroupHeader extends React_2.PureComponent<ExcelExportGroupHeaderProps> {
309
+ }
310
+
311
+ /**
312
+ * Represents the props that will be passed to the ExcelExportGroupHeader component when the template is rendered.
313
+ */
314
+ export declare interface ExcelExportGroupHeaderProps {
315
+ field: string;
316
+ aggregates: AggregateResult;
317
+ group: GroupResult;
318
+ value: any;
319
+ }
320
+
321
+ /**
322
+ * Represents the props of the KendoReact ExcelExport component.
323
+ */
324
+ export declare interface ExcelExportProps {
325
+ /**
326
+ * @hidden
327
+ */
328
+ children?: any;
329
+ /**
330
+ * 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.
331
+ */
332
+ columns?: ExcelExportColumnProps[];
333
+ /**
334
+ * The creator of the workbook.
335
+ */
336
+ creator?: string;
337
+ /**
338
+ * 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.
339
+ */
340
+ data?: any[];
341
+ /**
342
+ * The date on which the workbook is created. The default value is `new Date()`.
343
+ */
344
+ date?: Date;
345
+ /**
346
+ * Enables or disables the column filtering in the Excel file.
347
+ */
348
+ filterable?: boolean;
349
+ /**
350
+ * Specifies the name of the file that is exported to Excel. Defaults to `Export.xlsx`.
351
+ */
352
+ fileName?: string;
353
+ /**
354
+ * If set to `true`, the content is forwarded to `proxyURL` even if the browser supports the saving of files locally.
355
+ */
356
+ forceProxy?: boolean;
357
+ /**
358
+ * 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.
359
+ */
360
+ group?: any[];
361
+ /**
362
+ * 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).
363
+ */
364
+ headerPaddingCellOptions?: CellOptions;
365
+ /**
366
+ * 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).
367
+ */
368
+ paddingCellOptions?: CellOptions;
369
+ /**
370
+ * 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&mdash;for example, Internet Explorer 9 and earlier, and Safari&mdash;a proxy is used. The implementation of the server-side proxy has to be done by you.
371
+ *
372
+ * The proxy receives a `POST` request with the following parameters in the request body:
373
+ * - `contentType`&mdash;The MIME type of the file.
374
+ * - `base64`&mdash;The base-64 encoded file content.
375
+ * - `fileName`&mdash;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>"`.
376
+ */
377
+ proxyURL?: string;
378
+ /**
379
+ * If set to `rtl`, the Excel file will be rendered in the right-to-left mode.
380
+ */
381
+ dir?: string;
382
+ /**
383
+ * If set to true the data will be exported as a tree based on the `level` property of each data record.
384
+ */
385
+ hierarchy?: boolean;
386
+ /**
387
+ * Enables or disables collapsible (grouped) rows in the exported file.
388
+ */
389
+ collapsible?: boolean;
390
+ /**
391
+ * Triggered after the export is complete.
392
+ */
393
+ onExportComplete?: (event: ExcelExportExportEvent) => void;
394
+ }
395
+
396
+ /**
397
+ * @hidden
398
+ */
399
+ export declare const isWorkbookOptions: (value: any) => boolean;
400
+
401
+ export { KendoOoxml }
402
+
403
+ /**
404
+ * @hidden
405
+ */
406
+ export declare const toDataURL: (options: WorkbookOptions) => Promise<string>;
407
+
408
+ /**
409
+ * @hidden
410
+ */
411
+ export declare const workbookOptions: (options: ExcelExportProps) => WorkbookOptions;
412
+
413
+ export { }
package/index.js CHANGED
@@ -1,5 +1,8 @@
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
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("react"),r=require("prop-types"),E=require("@progress/kendo-file-saver"),c=require("@progress/kendo-ooxml"),k=require("react-dom/server"),w=require("@progress/kendo-react-common");function h(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const o in t)if(o!=="default"){const s=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(e,o,s.get?s:{enumerable:!0,get:()=>t[o]})}}return e.default=t,Object.freeze(e)}const n=h(b),P=h(c),R=h(k),d=(t,e,o)=>i=>{o(e,i);const p=R.renderToStaticMarkup(n.createElement(t,{...e})),l=Number(p);return isNaN(l)?p:l},T=(t,e)=>{t.$implicit=t.group=e,t.field=e.field,t.value=e.value,t.aggregates=e.aggregates},v=(t,e)=>{t.group=e.group,t.$implicit=t.aggregates=e},F=(t,e)=>{},D=t=>{const e=[];let o=0;const s=(i,p,l)=>{i.forEach(a=>{if(a.level===l){const g=new U(a,o);if(p.push(g),a.children&&a.children.length>1){const y=g.columns=[];s(a.children,y,l+1)}else o++}})};return s(t,e,0),e};class U{constructor(e,o){this.columns=null,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=d(e.footer,{$implicit:e,column:e,columnIndex:o},F)),e.groupFooter&&(this.groupFooterTemplate=d(e.groupFooter,{column:e,field:e.field},v)),e.groupHeader&&(this.groupHeaderTemplate=d(e.groupHeader,{},T))}}const L=t=>Math.max(...t.map(e=>e.level))+1,f=t=>{const e=D(t.columns),s=new c.ExcelExporter({columns:e,data:t.data,filterable:t.filterable,groups:t.group,paddingCellOptions:t.paddingCellOptions,headerPaddingCellOptions:t.headerPaddingCellOptions,hierarchy:t.hierarchy?{depth:L(t.data),itemLevel:i=>i.level}:null,collapsible:t.collapsible}).workbook();return s.creator=t.creator,s.date=t.date,s.rtl=t.dir==="rtl",s},x=t=>new c.Workbook(t).toDataURL(),C=t=>t&&t.sheets,N={name:"@progress/kendo-react-excel-export",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:0,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"};class u extends n.Component{constructor(e){super(e),this.saveFile=o=>{E.saveAs(o,this.props.fileName,{forceProxy:this.props.forceProxy,proxyURL:this.props.proxyURL})},this.extractColumns=(o,s=0)=>Array.isArray(o)?o.map(i=>this.extractChild(i,s)):[o,this.extractChild(o,s)],this.extractChild=(o,s=0)=>n.isValidElement(o)?{...o.props,width:o.props.width&&parseInt(`${o.props.width}`,10),level:s,children:o.props.children&&this.extractColumns(o.props.children,s+1)}:{...o,level:s,children:o.children&&this.extractColumns(o.children,s+1)},this.getExportData=o=>{let s;return o?Array.isArray(o)?s={data:o}:s=o:s={data:this.props.data,group:this.props.group},s},w.validatePackage(N),this.save=this.save.bind(this),this.toDataURL=this.toDataURL.bind(this),this.workbookOptions=this.workbookOptions.bind(this)}save(e,o){this.toDataURL(e,o).then((...s)=>{this.props.onExportComplete&&this.props.onExportComplete.call(void 0,{target:this}),this.saveFile(...s)})}toDataURL(e,o){const s=C(e)?e:this.workbookOptions(e,o);return x(s)}workbookOptions(e,o){const s=this.getExportData(e),i=this.props.children,p=i&&i.type&&i.type.displayName==="KendoReactGrid"&&i.props&&n.Children.toArray(i.props.children),l=this.extractColumns(p||o||this.props.columns||n.Children.toArray(i));return f({columns:l,data:s.data,group:s.group,filterable:this.props.filterable,creator:this.props.creator,date:this.props.date,dir:this.props.dir,hierarchy:this.props.hierarchy,paddingCellOptions:this.props.paddingCellOptions,headerPaddingCellOptions:this.props.headerPaddingCellOptions,collapsible:this.props.collapsible})}render(){return this.props.children||null}}u.propTypes={children:r.any,columns:r.arrayOf(r.any),creator:r.string,data:r.any,date:r.any,filterable:r.bool,fileName:r.string,forceProxy:r.bool,group:r.any,headerPaddingCellOptions:r.any,paddingCellOptions:r.any,proxyURL:r.string,dir:r.string,hierarchy:r.bool,collapsible:r.bool};u.defaultProps={fileName:"Export.xlsx",forceProxy:!1,collapsible:!1};const O=t=>null;O.propTypes={cellOptions:r.any,field:r.string,footerCellOptions:r.any,footer:r.oneOfType([r.func,r.element]),groupFooterCellOptions:r.any,groupFooter:r.oneOfType([r.func,r.element]),groupHeaderCellOptions:r.any,groupHeader:r.oneOfType([r.func,r.element]),headerCellOptions:r.any,hidden:r.bool,level:r.number,locked:r.bool,title:r.string,width:r.number};const m=t=>null;m.propTypes={children:r.oneOfType([r.arrayOf(r.element),r.element]),headerCellOptions:r.any,hidden:r.bool,level:r.number,locked:r.bool,title:r.string,width:r.number};class _ extends n.PureComponent{}class H extends n.PureComponent{}class G extends n.PureComponent{}exports.KendoOoxml=P;exports.ExcelExport=u;exports.ExcelExportColumn=O;exports.ExcelExportColumnGroup=m;exports.ExcelExportFooter=_;exports.ExcelExportGroupFooter=H;exports.ExcelExportGroupHeader=G;exports.isWorkbookOptions=C;exports.toDataURL=x;exports.workbookOptions=f;
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./ExcelExport.js"),n=require("./ExcelExportColumn.js"),x=require("./ExcelExportColumnGroup.js"),p=require("./templates/ExcelExportFooter.js"),u=require("./templates/ExcelExportGroupFooter.js"),E=require("./templates/ExcelExportGroupHeader.js"),i=require("@progress/kendo-ooxml"),t=require("./ooxml/workbook.js");function s(o){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const e in o)if(e!=="default"){const c=Object.getOwnPropertyDescriptor(o,e);Object.defineProperty(r,e,c.get?c:{enumerable:!0,get:()=>o[e]})}}return r.default=o,Object.freeze(r)}const a=s(i);exports.ExcelExport=l.ExcelExport;exports.ExcelExportColumn=n.ExcelExportColumn;exports.ExcelExportColumnGroup=x.ExcelExportColumnGroup;exports.ExcelExportFooter=p.ExcelExportFooter;exports.ExcelExportGroupFooter=u.ExcelExportGroupFooter;exports.ExcelExportGroupHeader=E.ExcelExportGroupHeader;exports.KendoOoxml=a;exports.isWorkbookOptions=t.isWorkbookOptions;exports.toDataURL=t.toDataURL;exports.workbookOptions=t.workbookOptions;