survey/bootstrap/data-table/Responsive-2.4.1/js/responsive.semanticui.min.js
2023-09-19 14:27:53 +02:00

4 lines
1.2 KiB
JavaScript

/*! Bootstrap integration for DataTables' Responsive
* © SpryMedia Ltd - datatables.net/license
*/
!function(t){var a,d;"function"==typeof define&&define.amd?define(["jquery","datatables.net-se","datatables.net-responsive"],function(e){return t(e,window,document)}):"object"==typeof exports?(a=require("jquery"),d=function(e,n){n.fn.dataTable||require("datatables.net-se")(e,n),n.fn.dataTable.Responsive||require("datatables.net-responsive")(e,n)},"undefined"!=typeof window?module.exports=function(e,n){return e=e||window,n=n||a(e),d(e,n),t(n,0,e.document)}:(d(window,a),module.exports=t(a,window,window.document))):t(jQuery,window,document)}(function(d,e,n,t){"use strict";var a=d.fn.dataTable,o=a.Responsive.display,i=o.modal,s=d('<div class="ui modal" role="dialog"><div class="header"><button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button></div><div class="content"/></div>');return o.modal=function(a){return function(e,n,t){d.fn.modal?n||(a&&a.header&&s.find("div.header").empty().append('<h4 class="title">'+a.header(e)+"</h4>"),s.find("div.content").empty().append(t()),s.parent().hasClass("dimmer")||s.appendTo("body"),s.modal("show")):i(e,n,t)}},a});