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