@progress/kendo-vue-excel-export 10.2.0-develop.10 → 10.2.0-develop.11

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.
@@ -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.2.0-develop.10",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]}})})});
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>0){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.2.0-develop.11",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]}})})});
@@ -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 d=(t,e,r)=>l=>{r(e,l);const o=t({...e}),p=Number(o);return isNaN(p)?o:p},n=(t,e)=>{t.$implicit=t.group=e,t.field=e.field,t.value=e.value,t.aggregates=e.aggregates},u=(t,e)=>{t.group=e.group,t.$implicit=t.aggregates=e},C=(t,e)=>{},f=t=>{const e=[];let r=0;const s=(l,o,p)=>{l.forEach(i=>{const h=new a(i,r);if(o.push(h),i.children&&i.children.length>1){const g=h.columns=[];s(i.children,g)}else r++})};return s(t,e),e};class a{constructor(e,r){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:r},C)),e.groupFooter&&(this.groupFooterTemplate=d(e.groupFooter,{column:e,field:e.field},u)),e.groupHeader&&(this.groupHeaderTemplate=d(e.groupHeader,{},n))}}exports.ExporterColumn=a;exports.toExporterColumns=f;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=(t,e,r)=>l=>{r(e,l);const o=t({...e}),p=Number(o);return isNaN(p)?o:p},n=(t,e)=>{t.$implicit=t.group=e,t.field=e.field,t.value=e.value,t.aggregates=e.aggregates},u=(t,e)=>{t.group=e.group,t.$implicit=t.aggregates=e},C=(t,e)=>{},f=t=>{const e=[];let r=0;const s=(l,o,p)=>{l.forEach(i=>{const h=new a(i,r);if(o.push(h),i.children&&i.children.length>0){const g=h.columns=[];s(i.children,g)}else r++})};return s(t,e),e};class a{constructor(e,r){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:r},C)),e.groupFooter&&(this.groupFooterTemplate=d(e.groupFooter,{column:e,field:e.field},u)),e.groupHeader&&(this.groupHeaderTemplate=d(e.groupHeader,{},n))}}exports.ExporterColumn=a;exports.toExporterColumns=f;
@@ -22,7 +22,7 @@ const d = (t, e, r) => (p) => {
22
22
  const s = (p, o, l) => {
23
23
  p.forEach((i) => {
24
24
  const h = new f(i, r);
25
- if (o.push(h), i.children && i.children.length > 1) {
25
+ if (o.push(h), i.children && i.children.length > 0) {
26
26
  const a = h.columns = [];
27
27
  s(i.children, a);
28
28
  } else
@@ -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: 1793620853,version:"10.2.0-develop.10",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/"};exports.packageMetadata=e;
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: 1793637538,version:"10.2.0-develop.11",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/"};exports.packageMetadata=e;
@@ -10,8 +10,8 @@ const e = {
10
10
  productName: "Kendo UI for Vue",
11
11
  productCode: "KENDOUIVUE",
12
12
  productCodes: ["KENDOUIVUE"],
13
- publishDate: 1793620853,
14
- version: "10.2.0-develop.10",
13
+ publishDate: 1793637538,
14
+ version: "10.2.0-develop.11",
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.2.0-develop.10",
3
+ "version": "10.2.0-develop.11",
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.12.0",
28
28
  "@progress/kendo-data-query": "^1.7.0",
29
- "@progress/kendo-vue-common": "10.2.0-develop.10",
29
+ "@progress/kendo-vue-common": "10.2.0-develop.11",
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": 1793620853,
52
+ "publishDate": 1793637538,
53
53
  "licensingDocsUrl": "https://www.telerik.com/kendo-vue-ui/my-license/"
54
54
  }
55
55
  },