(this["webpackJsonp@netdata/dashboard"]=this["webpackJsonp@netdata/dashboard"]||[]).push([[7],{511:function(t,o){!function(t){"use strict";var o=t.fn.bootstrapTable.utils.sprintf,e={json:"JSON",xml:"XML",png:"PNG",csv:"CSV",txt:"TXT",sql:"SQL",doc:"MS-Word",excel:"MS-Excel",xlsx:"MS-Excel (OpenXML)",powerpoint:"MS-Powerpoint",pdf:"PDF"};t.extend(t.fn.bootstrapTable.defaults,{showExport:!1,exportDataType:"basic",exportTypes:["json","xml","csv","txt","sql","excel"],exportOptions:{}}),t.extend(t.fn.bootstrapTable.defaults.icons,{export:"glyphicon-export icon-share"}),t.extend(t.fn.bootstrapTable.locales,{formatExport:function(){return"Export data"}}),t.extend(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales);var s=t.fn.bootstrapTable.Constructor,n=s.prototype.initToolbar;s.prototype.initToolbar=function(){if(this.showToolbar=this.options.showExport,n.apply(this,Array.prototype.slice.apply(arguments)),this.options.showExport){var s=this,a=this.$toolbar.find(">.btn-group"),i=a.find("div.export");if(!i.length){var p=(i=t(['
','",'","
"].join("")).appendTo(a)).find(".dropdown-menu"),l=this.options.exportTypes;if("string"==typeof this.options.exportTypes){var r=this.options.exportTypes.slice(1,-1).replace(/ /g,"").split(",");l=[],t.each(r,(function(t,o){l.push(o.slice(1,-1))}))}t.each(l,(function(t,o){e.hasOwnProperty(o)&&p.append(['','',e[o],"",""].join(""))})),p.find("li").click((function(){var o=t(this).data("type"),e=function(){s.$el.tableExport(t.extend({},s.options.exportOptions,{type:o,escape:!1}))};if("all"===s.options.exportDataType&&s.options.pagination)s.$el.one("server"===s.options.sidePagination?"post-body.bs.table":"page-change.bs.table",(function(){e(),s.togglePagination()})),s.togglePagination();else if("selected"===s.options.exportDataType){var n=s.getData(),a=s.getAllSelections();"server"===s.options.sidePagination&&((n={total:s.options.totalRows})[s.options.dataField]=s.getData(),(a={total:s.options.totalRows})[s.options.dataField]=s.getAllSelections()),s.load(a),e(),s.load(n)}else e()}))}}}}(jQuery)}}]);
//# sourceMappingURL=7.850d6c32.chunk.js.map