@progress/kendo-ui
Version:
This package is part of the [Kendo UI for jQuery](http://www.telerik.com/kendo-ui) suite.
1 lines • 1.4 kB
JavaScript
module.exports=function(t){var r={};function n(e){if(r[e])return r[e].exports;var o=r[e]={exports:{},id:e,loaded:!1};return t[e].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=t,n.c=r,n.p="",n(0)}({0:function(e,o,t){e.exports=t(1032)},3:function(e,o){e.exports=function(){throw Error("define cannot be used indirect")}},971:function(e,o){e.exports=require("./main")},1032:function(e,o,t){var r;t(3),t=[t(971),t(1033)],void 0===(o="function"==typeof(r=function(){var o=kendo.jQuery,n=kendo;return n.ExcelMixin={extend:function(e){e.events.push("excelExport");e.options.excel=o.extend(e.options.excel,this.options);e.saveAsExcel=this.saveAsExcel},options:{proxyURL:"",allPages:false,filterable:false,fileName:"Export.xlsx",collapsible:false},saveAsExcel:function(){var r=this.options.excel||{};var e=new n.ExcelExporter({columns:this.columns,dataSource:this.dataSource,allPages:r.allPages,filterable:r.filterable,hierarchy:r.hierarchy,collapsible:r.collapsible});e.workbook().then(function(o,e){if(!this.trigger("excelExport",{workbook:o,data:e})){var t=new n.ooxml.Workbook(o);if(!t.options)t.options={};t.options.skipCustomHeight=true;t.toDataURLAsync().then(function(e){n.saveAs({dataURI:e,fileName:o.fileName||r.fileName,proxyURL:r.proxyURL,forceProxy:r.forceProxy})})}}.bind(this))}},kendo})?r.apply(o,t):r)||(e.exports=o)},1033:function(e,o){e.exports=require("../kendo.ooxml")}});