You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Plugins/integration/jqueryui/dataTables.jqueryui.min.js

4 lines
2.2 KiB
JavaScript

/*! DataTables jQuery UI integration
* ©2011-2014 SpryMedia Ltd - datatables.net/license
*/
!function(){function t(a,t){"use strict";var l="css_right ui-icon ui-icon-",e="fg-toolbar ui-toolbar ui-widget-header ui-helper-clearfix ui-corner-";a.extend(!0,t.defaults,{dom:'<"'+e+'tl ui-corner-tr"lfr>t<"'+e+'bl ui-corner-br"ip>',renderer:"jqueryui"}),a.extend(t.ext.classes,{sWrapper:"dataTables_wrapper dt-jqueryui",sPageButton:"fg-button ui-button ui-state-default",sPageButtonActive:"ui-state-disabled",sPageButtonDisabled:"ui-state-disabled",sPaging:"dataTables_paginate fg-buttonset ui-buttonset fg-buttonset-multi ui-buttonset-multi paging_",sSortAsc:"ui-state-default sorting_asc",sSortDesc:"ui-state-default sorting_desc",sSortable:"ui-state-default sorting",sSortableAsc:"ui-state-default sorting_asc_disabled",sSortableDesc:"ui-state-default sorting_desc_disabled",sSortableNone:"ui-state-default sorting_disabled",sSortIcon:"DataTables_sort_icon",sScrollHead:"dataTables_scrollHead ui-state-default",sScrollFoot:"dataTables_scrollFoot ui-state-default",sHeaderTH:"ui-state-default",sFooterTH:"ui-state-default"}),t.ext.renderer.header.jqueryui=function(r,o,n,i){var u=l+"carat-2-n-s",t=-1!==a.inArray("asc",n.asSorting),e=-1!==a.inArray("desc",n.asSorting);n.bSortable&&(t||e)?t&&!e?u=l+"carat-1-n":!t&&e&&(u=l+"carat-1-s"):u="",a("<div/>").addClass("DataTables_sort_wrapper").append(o.contents()).append(a("<span/>").addClass(i.sSortIcon+" "+u)).appendTo(o),a(r.nTable).on("order.dt",function(t,e,a,s){r===e&&(e=n.idx,o.removeClass(i.sSortAsc+" "+i.sSortDesc).addClass("asc"==s[e]?i.sSortAsc:"desc"==s[e]?i.sSortDesc:n.sSortingClass),o.find("span."+i.sSortIcon).removeClass(l+"triangle-1-n "+l+"triangle-1-s "+l+"carat-2-n-s "+l+"carat-1-n "+l+"carat-1-s").addClass("asc"==s[e]?l+"triangle-1-n":"desc"==s[e]?l+"triangle-1-s":u))})},t.TableTools&&a.extend(!0,t.TableTools.classes,{container:"DTTT_container ui-buttonset ui-buttonset-multi",buttons:{normal:"DTTT_button ui-button ui-state-default"},collection:{container:"DTTT_collection ui-buttonset ui-buttonset-multi"}})}"function"==typeof define&&define.amd?define(["jquery","datatables"],t):"object"==typeof exports?t(require("jquery"),require("datatables")):jQuery&&t(jQuery,jQuery.fn.dataTable)}((window,document));