@progress/kendo-vue-excel-export 10.0.1-develop.5 → 10.0.1-develop.7
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/README.md +1 -1
- package/dist/cdn/js/kendo-vue-excel.js +1 -1
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
The Kendo UI for Vue Excel Export feature allows you to export and save data to Excel files, to customize the output cells and columns, and to filter the data after the export.
|
|
17
17
|
|
|
18
|
-
> Starting with **version 6.0.0**, Kendo UI for Vue
|
|
18
|
+
> Starting with **version 6.0.0**, Kendo UI for Vue components no longer support Vue 2. Please check our [Vue 2 End of Support article](https://www.telerik.com/kendo-vue-ui/components/vue2-deprecation/) for more details.
|
|
19
19
|
|
|
20
20
|
## Support Options
|
|
21
21
|
|
|
@@ -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,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:"10.0.1-develop.
|
|
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:"10.0.1-develop.7",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/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: 1790258083,version:"10.0.1-develop.7",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: "10.0.1-develop.
|
|
13
|
+
publishDate: 1790258083,
|
|
14
|
+
version: "10.0.1-develop.7",
|
|
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": "10.0.1-develop.
|
|
3
|
+
"version": "10.0.1-develop.7",
|
|
4
4
|
"description": "TODO",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"@progress/kendo-licensing": "^1.7.2",
|
|
28
28
|
"@progress/kendo-data-query": "^1.7.0",
|
|
29
|
-
"@progress/kendo-vue-common": "10.0.1-develop.
|
|
29
|
+
"@progress/kendo-vue-common": "10.0.1-develop.7",
|
|
30
30
|
"vue": "^3.0.2"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"package": {
|
|
50
50
|
"productName": "Kendo UI for Vue",
|
|
51
51
|
"productCode": "KENDOUIVUE",
|
|
52
|
-
"publishDate":
|
|
52
|
+
"publishDate": 1790258083,
|
|
53
53
|
"licensingDocsUrl": "https://www.telerik.com/kendo-vue-ui/my-license/"
|
|
54
54
|
}
|
|
55
55
|
},
|