diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-04-14 18:12:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-04-14 18:12:10 +0000 |
commit | b5321aff06d6ea8d730d62aec2ffd8e9271c1ffc (patch) | |
tree | 36c41e35994786456154f9d3bf88c324763aeea4 /web/gui/dashboard/static/js/7.cf6bc66f.chunk.js | |
parent | Adding upstream version 1.33.1. (diff) | |
download | netdata-upstream/1.34.0.tar.xz netdata-upstream/1.34.0.zip |
Adding upstream version 1.34.0.upstream/1.34.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'web/gui/dashboard/static/js/7.cf6bc66f.chunk.js')
-rw-r--r-- | web/gui/dashboard/static/js/7.cf6bc66f.chunk.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/web/gui/dashboard/static/js/7.cf6bc66f.chunk.js b/web/gui/dashboard/static/js/7.cf6bc66f.chunk.js new file mode 100644 index 00000000..b59b53c5 --- /dev/null +++ b/web/gui/dashboard/static/js/7.cf6bc66f.chunk.js @@ -0,0 +1,2 @@ +(this["webpackJsonp@netdata/dashboard"]=this["webpackJsonp@netdata/dashboard"]||[]).push([[7],{506: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(['<div class="export btn-group">','<button class="btn'+o(" btn-%s",this.options.buttonsClass)+o(" btn-%s",this.options.iconSize)+' dropdown-toggle" aria-label="export type" title="'+this.options.formatExport()+'" data-toggle="dropdown" type="button">',o('<i class="%s %s"></i> ',this.options.iconsPrefix,this.options.icons.export),'<span class="caret"></span>',"</button>",'<ul class="dropdown-menu" role="menu">',"</ul>","</div>"].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(['<li role="menuitem" data-type="'+o+'">','<a href="javascript:void(0)">',e[o],"</a>","</li>"].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.cf6bc66f.chunk.js.map
\ No newline at end of file |