@progress/kendo-react-excel-export 12.0.2-develop.3 → 12.0.2-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/dist/cdn/js/kendo-react-excel.js +1 -1
- package/index.d.mts +48 -10
- package/index.d.ts +48 -10
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +3 -3
|
@@ -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,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("prop-types"),require("@progress/kendo-file-saver"),require("@progress/kendo-ooxml"),require("react-dom/server"),require("@progress/kendo-react-common")):"function"==typeof define&&define.amd?define(["exports","react","prop-types","@progress/kendo-file-saver","@progress/kendo-ooxml","react-dom/server","@progress/kendo-react-common"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).KendoReactExcel={},e.React,e.PropTypes,e.KendoFileSaver,e.KendoOoxml,e.ReactDOMServer,e.KendoReactCommon)}(this,(function(e,t,o,r,s,l,i){"use strict";function n(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(o){if("default"!==o){var r=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(t,o,r.get?r:{enumerable:!0,get:function(){return e[o]}})}})),t.default=e,Object.freeze(t)}var a=n(t),p=n(s),d=n(l);const c=(e,t,o)=>r=>{o(t,r);const s=d.renderToStaticMarkup(a.createElement(e,{...t})),l=Number(s);return isNaN(l)?s:l},h=(e,t)=>{e.$implicit=e.group=t,e.field=t.field,e.value=t.value,e.aggregates=t.aggregates},u=(e,t)=>{e.group=t.group,e.$implicit=e.aggregates=t},m=(e,t)=>{};class g{constructor(e,t){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=c(e.footer,{$implicit:e,column:e,columnIndex:t},m)),e.groupFooter&&(this.groupFooterTemplate=c(e.groupFooter,{column:e,field:e.field},u)),e.groupHeader&&(this.groupHeaderTemplate=c(e.groupHeader,{},h))}}const f=e=>Math.max(...e.map((e=>e.level)))+1,y=e=>{const t=(e=>{const t=[];let o=0;const r=(e,t,s)=>{e.forEach((e=>{if(e.level===s){const l=new g(e,o);if(t.push(l),e.children&&e.children.length>1){const t=l.columns=[];r(e.children,t,s+1)}else o++}}))};return r(e,t,0),t})(e.columns),o=new s.ExcelExporter({columns:t,data:e.data,filterable:e.filterable,groups:e.group,paddingCellOptions:e.paddingCellOptions,headerPaddingCellOptions:e.headerPaddingCellOptions,hierarchy:e.hierarchy?{depth:f(e.data),itemLevel:e=>e.level}:null,collapsible:e.collapsible}).workbook();return o.creator=e.creator,o.date=e.date,o.rtl="rtl"===e.dir,o},x=e=>new s.Workbook(e).toDataURL(),O=e=>e&&e.sheets,b=Object.freeze({name:"@progress/kendo-react-excel-export",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate:0,version:"12.0.2-develop.
|
|
15
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("prop-types"),require("@progress/kendo-file-saver"),require("@progress/kendo-ooxml"),require("react-dom/server"),require("@progress/kendo-react-common")):"function"==typeof define&&define.amd?define(["exports","react","prop-types","@progress/kendo-file-saver","@progress/kendo-ooxml","react-dom/server","@progress/kendo-react-common"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).KendoReactExcel={},e.React,e.PropTypes,e.KendoFileSaver,e.KendoOoxml,e.ReactDOMServer,e.KendoReactCommon)}(this,(function(e,t,o,r,s,l,i){"use strict";function n(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(o){if("default"!==o){var r=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(t,o,r.get?r:{enumerable:!0,get:function(){return e[o]}})}})),t.default=e,Object.freeze(t)}var a=n(t),p=n(s),d=n(l);const c=(e,t,o)=>r=>{o(t,r);const s=d.renderToStaticMarkup(a.createElement(e,{...t})),l=Number(s);return isNaN(l)?s:l},h=(e,t)=>{e.$implicit=e.group=t,e.field=t.field,e.value=t.value,e.aggregates=t.aggregates},u=(e,t)=>{e.group=t.group,e.$implicit=e.aggregates=t},m=(e,t)=>{};class g{constructor(e,t){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=c(e.footer,{$implicit:e,column:e,columnIndex:t},m)),e.groupFooter&&(this.groupFooterTemplate=c(e.groupFooter,{column:e,field:e.field},u)),e.groupHeader&&(this.groupHeaderTemplate=c(e.groupHeader,{},h))}}const f=e=>Math.max(...e.map((e=>e.level)))+1,y=e=>{const t=(e=>{const t=[];let o=0;const r=(e,t,s)=>{e.forEach((e=>{if(e.level===s){const l=new g(e,o);if(t.push(l),e.children&&e.children.length>1){const t=l.columns=[];r(e.children,t,s+1)}else o++}}))};return r(e,t,0),t})(e.columns),o=new s.ExcelExporter({columns:t,data:e.data,filterable:e.filterable,groups:e.group,paddingCellOptions:e.paddingCellOptions,headerPaddingCellOptions:e.headerPaddingCellOptions,hierarchy:e.hierarchy?{depth:f(e.data),itemLevel:e=>e.level}:null,collapsible:e.collapsible}).workbook();return o.creator=e.creator,o.date=e.date,o.rtl="rtl"===e.dir,o},x=e=>new s.Workbook(e).toDataURL(),O=e=>e&&e.sheets,b=Object.freeze({name:"@progress/kendo-react-excel-export",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate:0,version:"12.0.2-develop.4",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"}),C=class extends a.Component{constructor(e){super(e),this.showLicenseWatermark=!1,this.saveFile=e=>{r.saveAs(e,this.props.fileName,{forceProxy:this.props.forceProxy,proxyURL:this.props.proxyURL})},this.extractColumns=(e,t=0)=>Array.isArray(e)?e.map((e=>this.extractChild(e,t))):[e,this.extractChild(e,t)],this.extractChild=(e,t=0)=>a.isValidElement(e)?{...e.props,width:e.props.width&&parseInt(`${e.props.width}`,10),level:t,children:e.props.children&&this.extractColumns(e.props.children,t+1)}:{...e,level:t,children:e.children&&this.extractColumns(e.children,t+1)},this.getExportData=e=>{let t;return t=e?Array.isArray(e)?{data:e}:e:{data:this.props.data,group:this.props.group},t},this.showLicenseWatermark=!i.validatePackage(b,{component:"ExcelExport"}),this.licenseMessage=i.getLicenseMessage(b),this.save=this.save.bind(this),this.toDataURL=this.toDataURL.bind(this),this.workbookOptions=this.workbookOptions.bind(this)}save(e,t){this.toDataURL(e,t).then(((...e)=>{this.props.onExportComplete&&this.props.onExportComplete.call(void 0,{target:this}),this.saveFile(...e)}))}toDataURL(e,t){const o=O(e)?e:this.workbookOptions(e,t);return x(o)}workbookOptions(e,t){const o=this.getExportData(e),r=this.props.children,s=r&&r.type&&"KendoReactGrid"===r.type.displayName&&r.props&&a.Children.toArray(r.props.children),l=this.extractColumns(s||t||this.props.columns||a.Children.toArray(r));return y({columns:l,data:o.data,group:o.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 a.createElement(a.Fragment,null,this.props.children||null,this.showLicenseWatermark&&a.createElement(i.WatermarkOverlay,{message:this.licenseMessage}))}};C.propTypes={children:o.any,columns:o.arrayOf(o.any),creator:o.string,data:o.any,date:o.any,filterable:o.bool,fileName:o.string,forceProxy:o.bool,group:o.any,headerPaddingCellOptions:o.any,paddingCellOptions:o.any,proxyURL:o.string,dir:o.string,hierarchy:o.bool,collapsible:o.bool},C.defaultProps={fileName:"Export.xlsx",forceProxy:!1,collapsible:!1};let k=C;const E=e=>null;E.propTypes={cellOptions:o.any,field:o.string,footerCellOptions:o.any,footer:o.oneOfType([o.func,o.element]),groupFooterCellOptions:o.any,groupFooter:o.oneOfType([o.func,o.element]),groupHeaderCellOptions:o.any,groupHeader:o.oneOfType([o.func,o.element]),headerCellOptions:o.any,hidden:o.bool,level:o.number,locked:o.bool,title:o.string,width:o.number};const v=e=>null;v.propTypes={children:o.oneOfType([o.arrayOf(o.element),o.element]),headerCellOptions:o.any,hidden:o.bool,level:o.number,locked:o.bool,title:o.string,width:o.number};class w extends a.PureComponent{}let R=class extends a.PureComponent{};class P extends a.PureComponent{}e.KendoOoxml=p,e.ExcelExport=k,e.ExcelExportColumn=E,e.ExcelExportColumnGroup=v,e.ExcelExportFooter=w,e.ExcelExportGroupFooter=R,e.ExcelExportGroupHeader=P,e.isWorkbookOptions=O,e.toDataURL=x,e.workbookOptions=y}));
|
package/index.d.mts
CHANGED
|
@@ -258,11 +258,11 @@ export declare interface ExcelExportColumnProps extends ColumnBase {
|
|
|
258
258
|
}
|
|
259
259
|
|
|
260
260
|
/**
|
|
261
|
-
* The type that is expected for the ExcelExportComponent data
|
|
261
|
+
* The type that is expected for the ExcelExportComponent `data`.
|
|
262
262
|
*/
|
|
263
263
|
export declare interface ExcelExportData {
|
|
264
264
|
/**
|
|
265
|
-
* The exported data. If grouped, the data
|
|
265
|
+
* The exported data. If grouped, structure the data as described in the [`GroupResult`]({% slug api_kendo-data-query_groupresult %}) of the KendoReact Data Query component.
|
|
266
266
|
*/
|
|
267
267
|
data?: any[];
|
|
268
268
|
/**
|
|
@@ -291,7 +291,13 @@ export declare class ExcelExportFooter extends React_2.PureComponent<ExcelExport
|
|
|
291
291
|
* Represents the props that will be passed to the ExcelExportFooter component when the template is rendered.
|
|
292
292
|
*/
|
|
293
293
|
export declare interface ExcelExportFooterProps {
|
|
294
|
+
/**
|
|
295
|
+
* The column configuration object for the current column.
|
|
296
|
+
*/
|
|
294
297
|
column: ExcelExportColumnProps;
|
|
298
|
+
/**
|
|
299
|
+
* The index of the current column within the grid.
|
|
300
|
+
*/
|
|
295
301
|
columnIndex: number;
|
|
296
302
|
}
|
|
297
303
|
|
|
@@ -305,9 +311,21 @@ export declare class ExcelExportGroupFooter extends React_2.PureComponent<ExcelE
|
|
|
305
311
|
* Represents the props that will be passed to the ExcelExportGroupFooter component when the template is rendered.
|
|
306
312
|
*/
|
|
307
313
|
export declare interface ExcelExportGroupFooterProps {
|
|
314
|
+
/**
|
|
315
|
+
* The field name by which the data is grouped.
|
|
316
|
+
*/
|
|
308
317
|
field: string;
|
|
318
|
+
/**
|
|
319
|
+
* The column configuration object for the current column.
|
|
320
|
+
*/
|
|
309
321
|
column: ExcelExportColumnProps;
|
|
322
|
+
/**
|
|
323
|
+
* The aggregate calculation results for the current group.
|
|
324
|
+
*/
|
|
310
325
|
aggregates: AggregateResult;
|
|
326
|
+
/**
|
|
327
|
+
* The group data and metadata for the current group.
|
|
328
|
+
*/
|
|
311
329
|
group: GroupResult;
|
|
312
330
|
}
|
|
313
331
|
|
|
@@ -321,9 +339,21 @@ export declare class ExcelExportGroupHeader extends React_2.PureComponent<ExcelE
|
|
|
321
339
|
* Represents the props that will be passed to the ExcelExportGroupHeader component when the template is rendered.
|
|
322
340
|
*/
|
|
323
341
|
export declare interface ExcelExportGroupHeaderProps {
|
|
342
|
+
/**
|
|
343
|
+
* The field name by which the data is grouped.
|
|
344
|
+
*/
|
|
324
345
|
field: string;
|
|
346
|
+
/**
|
|
347
|
+
* The aggregate calculation results for the current group.
|
|
348
|
+
*/
|
|
325
349
|
aggregates: AggregateResult;
|
|
350
|
+
/**
|
|
351
|
+
* The group data and metadata for the current group.
|
|
352
|
+
*/
|
|
326
353
|
group: GroupResult;
|
|
354
|
+
/**
|
|
355
|
+
* The value that identifies the current group.
|
|
356
|
+
*/
|
|
327
357
|
value: any;
|
|
328
358
|
}
|
|
329
359
|
|
|
@@ -336,7 +366,7 @@ export declare interface ExcelExportProps {
|
|
|
336
366
|
*/
|
|
337
367
|
children?: any;
|
|
338
368
|
/**
|
|
339
|
-
*
|
|
369
|
+
* Pass the columns through the component props. If you provide both the `columns` prop and the child column components, the component uses the columns from props.
|
|
340
370
|
*/
|
|
341
371
|
columns?: ExcelExportColumnProps[];
|
|
342
372
|
/**
|
|
@@ -344,11 +374,13 @@ export declare interface ExcelExportProps {
|
|
|
344
374
|
*/
|
|
345
375
|
creator?: string;
|
|
346
376
|
/**
|
|
347
|
-
* The exported data. If grouped, the data
|
|
377
|
+
* The exported data. If grouped, structure the data as described by the [`GroupResult`]({% slug api_kendo-data-query_groupresult %}) option of the KendoReact Data Query component.
|
|
348
378
|
*/
|
|
349
379
|
data?: any[];
|
|
350
380
|
/**
|
|
351
|
-
* The date on which the workbook is created.
|
|
381
|
+
* The date on which the workbook is created.
|
|
382
|
+
*
|
|
383
|
+
* @default new Date()
|
|
352
384
|
*/
|
|
353
385
|
date?: Date;
|
|
354
386
|
/**
|
|
@@ -356,11 +388,15 @@ export declare interface ExcelExportProps {
|
|
|
356
388
|
*/
|
|
357
389
|
filterable?: boolean;
|
|
358
390
|
/**
|
|
359
|
-
* Specifies the name of the file that is exported to Excel.
|
|
391
|
+
* Specifies the name of the file that is exported to Excel.
|
|
392
|
+
*
|
|
393
|
+
* @default "Export.xlsx"
|
|
360
394
|
*/
|
|
361
395
|
fileName?: string;
|
|
362
396
|
/**
|
|
363
|
-
* If set to `true`, the content is forwarded to `proxyURL` even if the browser supports
|
|
397
|
+
* If set to `true`, the content is forwarded to `proxyURL` even if the browser supports saving files locally.
|
|
398
|
+
*
|
|
399
|
+
* @default false
|
|
364
400
|
*/
|
|
365
401
|
forceProxy?: boolean;
|
|
366
402
|
/**
|
|
@@ -376,7 +412,7 @@ export declare interface ExcelExportProps {
|
|
|
376
412
|
*/
|
|
377
413
|
paddingCellOptions?: CellOptions;
|
|
378
414
|
/**
|
|
379
|
-
* The URL of the server-side proxy which
|
|
415
|
+
* The URL of the server-side proxy which streams the file to the end user. When the browser cannot save files locally—for example, Internet Explorer 9 and earlier, and Safari—a proxy is used. You must implement the server-side proxy.
|
|
380
416
|
*
|
|
381
417
|
* The proxy receives a `POST` request with the following parameters in the request body:
|
|
382
418
|
* - `contentType`—The MIME type of the file.
|
|
@@ -385,15 +421,17 @@ export declare interface ExcelExportProps {
|
|
|
385
421
|
*/
|
|
386
422
|
proxyURL?: string;
|
|
387
423
|
/**
|
|
388
|
-
* If set to `rtl`, the Excel file
|
|
424
|
+
* If set to `rtl`, the Excel file is rendered in the right-to-left mode.
|
|
389
425
|
*/
|
|
390
426
|
dir?: string;
|
|
391
427
|
/**
|
|
392
|
-
* If set to true the data
|
|
428
|
+
* If set to `true`, the data is exported as a tree based on the `level` property of each data record.
|
|
393
429
|
*/
|
|
394
430
|
hierarchy?: boolean;
|
|
395
431
|
/**
|
|
396
432
|
* Enables or disables collapsible (grouped) rows in the exported file.
|
|
433
|
+
*
|
|
434
|
+
* @default false
|
|
397
435
|
*/
|
|
398
436
|
collapsible?: boolean;
|
|
399
437
|
/**
|
package/index.d.ts
CHANGED
|
@@ -258,11 +258,11 @@ export declare interface ExcelExportColumnProps extends ColumnBase {
|
|
|
258
258
|
}
|
|
259
259
|
|
|
260
260
|
/**
|
|
261
|
-
* The type that is expected for the ExcelExportComponent data
|
|
261
|
+
* The type that is expected for the ExcelExportComponent `data`.
|
|
262
262
|
*/
|
|
263
263
|
export declare interface ExcelExportData {
|
|
264
264
|
/**
|
|
265
|
-
* The exported data. If grouped, the data
|
|
265
|
+
* The exported data. If grouped, structure the data as described in the [`GroupResult`]({% slug api_kendo-data-query_groupresult %}) of the KendoReact Data Query component.
|
|
266
266
|
*/
|
|
267
267
|
data?: any[];
|
|
268
268
|
/**
|
|
@@ -291,7 +291,13 @@ export declare class ExcelExportFooter extends React_2.PureComponent<ExcelExport
|
|
|
291
291
|
* Represents the props that will be passed to the ExcelExportFooter component when the template is rendered.
|
|
292
292
|
*/
|
|
293
293
|
export declare interface ExcelExportFooterProps {
|
|
294
|
+
/**
|
|
295
|
+
* The column configuration object for the current column.
|
|
296
|
+
*/
|
|
294
297
|
column: ExcelExportColumnProps;
|
|
298
|
+
/**
|
|
299
|
+
* The index of the current column within the grid.
|
|
300
|
+
*/
|
|
295
301
|
columnIndex: number;
|
|
296
302
|
}
|
|
297
303
|
|
|
@@ -305,9 +311,21 @@ export declare class ExcelExportGroupFooter extends React_2.PureComponent<ExcelE
|
|
|
305
311
|
* Represents the props that will be passed to the ExcelExportGroupFooter component when the template is rendered.
|
|
306
312
|
*/
|
|
307
313
|
export declare interface ExcelExportGroupFooterProps {
|
|
314
|
+
/**
|
|
315
|
+
* The field name by which the data is grouped.
|
|
316
|
+
*/
|
|
308
317
|
field: string;
|
|
318
|
+
/**
|
|
319
|
+
* The column configuration object for the current column.
|
|
320
|
+
*/
|
|
309
321
|
column: ExcelExportColumnProps;
|
|
322
|
+
/**
|
|
323
|
+
* The aggregate calculation results for the current group.
|
|
324
|
+
*/
|
|
310
325
|
aggregates: AggregateResult;
|
|
326
|
+
/**
|
|
327
|
+
* The group data and metadata for the current group.
|
|
328
|
+
*/
|
|
311
329
|
group: GroupResult;
|
|
312
330
|
}
|
|
313
331
|
|
|
@@ -321,9 +339,21 @@ export declare class ExcelExportGroupHeader extends React_2.PureComponent<ExcelE
|
|
|
321
339
|
* Represents the props that will be passed to the ExcelExportGroupHeader component when the template is rendered.
|
|
322
340
|
*/
|
|
323
341
|
export declare interface ExcelExportGroupHeaderProps {
|
|
342
|
+
/**
|
|
343
|
+
* The field name by which the data is grouped.
|
|
344
|
+
*/
|
|
324
345
|
field: string;
|
|
346
|
+
/**
|
|
347
|
+
* The aggregate calculation results for the current group.
|
|
348
|
+
*/
|
|
325
349
|
aggregates: AggregateResult;
|
|
350
|
+
/**
|
|
351
|
+
* The group data and metadata for the current group.
|
|
352
|
+
*/
|
|
326
353
|
group: GroupResult;
|
|
354
|
+
/**
|
|
355
|
+
* The value that identifies the current group.
|
|
356
|
+
*/
|
|
327
357
|
value: any;
|
|
328
358
|
}
|
|
329
359
|
|
|
@@ -336,7 +366,7 @@ export declare interface ExcelExportProps {
|
|
|
336
366
|
*/
|
|
337
367
|
children?: any;
|
|
338
368
|
/**
|
|
339
|
-
*
|
|
369
|
+
* Pass the columns through the component props. If you provide both the `columns` prop and the child column components, the component uses the columns from props.
|
|
340
370
|
*/
|
|
341
371
|
columns?: ExcelExportColumnProps[];
|
|
342
372
|
/**
|
|
@@ -344,11 +374,13 @@ export declare interface ExcelExportProps {
|
|
|
344
374
|
*/
|
|
345
375
|
creator?: string;
|
|
346
376
|
/**
|
|
347
|
-
* The exported data. If grouped, the data
|
|
377
|
+
* The exported data. If grouped, structure the data as described by the [`GroupResult`]({% slug api_kendo-data-query_groupresult %}) option of the KendoReact Data Query component.
|
|
348
378
|
*/
|
|
349
379
|
data?: any[];
|
|
350
380
|
/**
|
|
351
|
-
* The date on which the workbook is created.
|
|
381
|
+
* The date on which the workbook is created.
|
|
382
|
+
*
|
|
383
|
+
* @default new Date()
|
|
352
384
|
*/
|
|
353
385
|
date?: Date;
|
|
354
386
|
/**
|
|
@@ -356,11 +388,15 @@ export declare interface ExcelExportProps {
|
|
|
356
388
|
*/
|
|
357
389
|
filterable?: boolean;
|
|
358
390
|
/**
|
|
359
|
-
* Specifies the name of the file that is exported to Excel.
|
|
391
|
+
* Specifies the name of the file that is exported to Excel.
|
|
392
|
+
*
|
|
393
|
+
* @default "Export.xlsx"
|
|
360
394
|
*/
|
|
361
395
|
fileName?: string;
|
|
362
396
|
/**
|
|
363
|
-
* If set to `true`, the content is forwarded to `proxyURL` even if the browser supports
|
|
397
|
+
* If set to `true`, the content is forwarded to `proxyURL` even if the browser supports saving files locally.
|
|
398
|
+
*
|
|
399
|
+
* @default false
|
|
364
400
|
*/
|
|
365
401
|
forceProxy?: boolean;
|
|
366
402
|
/**
|
|
@@ -376,7 +412,7 @@ export declare interface ExcelExportProps {
|
|
|
376
412
|
*/
|
|
377
413
|
paddingCellOptions?: CellOptions;
|
|
378
414
|
/**
|
|
379
|
-
* The URL of the server-side proxy which
|
|
415
|
+
* The URL of the server-side proxy which streams the file to the end user. When the browser cannot save files locally—for example, Internet Explorer 9 and earlier, and Safari—a proxy is used. You must implement the server-side proxy.
|
|
380
416
|
*
|
|
381
417
|
* The proxy receives a `POST` request with the following parameters in the request body:
|
|
382
418
|
* - `contentType`—The MIME type of the file.
|
|
@@ -385,15 +421,17 @@ export declare interface ExcelExportProps {
|
|
|
385
421
|
*/
|
|
386
422
|
proxyURL?: string;
|
|
387
423
|
/**
|
|
388
|
-
* If set to `rtl`, the Excel file
|
|
424
|
+
* If set to `rtl`, the Excel file is rendered in the right-to-left mode.
|
|
389
425
|
*/
|
|
390
426
|
dir?: string;
|
|
391
427
|
/**
|
|
392
|
-
* If set to true the data
|
|
428
|
+
* If set to `true`, the data is exported as a tree based on the `level` property of each data record.
|
|
393
429
|
*/
|
|
394
430
|
hierarchy?: boolean;
|
|
395
431
|
/**
|
|
396
432
|
* Enables or disables collapsible (grouped) rows in the exported file.
|
|
433
|
+
*
|
|
434
|
+
* @default false
|
|
397
435
|
*/
|
|
398
436
|
collapsible?: boolean;
|
|
399
437
|
/**
|
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=Object.freeze({name:"@progress/kendo-react-excel-export",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate:
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=Object.freeze({name:"@progress/kendo-react-excel-export",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate: 1757424630,version:"12.0.2-develop.4",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"});exports.packageMetadata=e;
|
package/package-metadata.mjs
CHANGED
|
@@ -10,8 +10,8 @@ const e = Object.freeze({
|
|
|
10
10
|
productName: "KendoReact",
|
|
11
11
|
productCode: "KENDOUIREACT",
|
|
12
12
|
productCodes: ["KENDOUIREACT"],
|
|
13
|
-
publishDate:
|
|
14
|
-
version: "12.0.2-develop.
|
|
13
|
+
publishDate: 1757424630,
|
|
14
|
+
version: "12.0.2-develop.4",
|
|
15
15
|
licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/"
|
|
16
16
|
});
|
|
17
17
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-react-excel-export",
|
|
3
|
-
"version": "12.0.2-develop.
|
|
3
|
+
"version": "12.0.2-develop.4",
|
|
4
4
|
"description": "React Excel export helps you export and save data to Excel files and customize or filter the output. KendoReact Excel Export package",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"@progress/kendo-licensing": "^1.7.0",
|
|
29
29
|
"@progress/kendo-data-query": "^1.0.0",
|
|
30
|
-
"@progress/kendo-react-common": "12.0.2-develop.
|
|
30
|
+
"@progress/kendo-react-common": "12.0.2-develop.4",
|
|
31
31
|
"react": "^16.8.2 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
|
|
32
32
|
"react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
|
|
33
33
|
},
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"package": {
|
|
56
56
|
"productName": "KendoReact",
|
|
57
57
|
"productCode": "KENDOUIREACT",
|
|
58
|
-
"publishDate":
|
|
58
|
+
"publishDate": 1757424630,
|
|
59
59
|
"licensingDocsUrl": "https://www.telerik.com/kendo-react-ui/components/my-license/"
|
|
60
60
|
}
|
|
61
61
|
},
|