diff --git a/datatables.json b/datatables.json index 41115a6..3a2b141 100644 --- a/datatables.json +++ b/datatables.json @@ -12,5 +12,5 @@ ], "src-repo": "http://github.com/DataTables/DataTablesSrc", "last-tag": "1.11.2", - "last-sync": "45b675ba154e93eae3087811c7cd36675c953b10" + "last-sync": "ea607c6e51e76d13efc341b5d41f5082a33b56e0" } \ No newline at end of file diff --git a/js/dataTables.bulma.js b/js/dataTables.bulma.js index aa4cfd6..c09f039 100644 --- a/js/dataTables.bulma.js +++ b/js/dataTables.bulma.js @@ -39,11 +39,11 @@ var DataTable = $.fn.dataTable; $.extend( true, DataTable.defaults, { dom: "<'columns is-gapless is-multiline'" + - "<'column is-one-half'l>" + - "<'column is-one-half'f>" + + "<'column is-half'l>" + + "<'column is-half'f>" + "<'column is-full'tr>" + - "<'column is-one-half'i>" + - "<'column is-one-half'p>" + + "<'column is-half'i>" + + "<'column is-half'p>" + ">", renderer: 'bulma' } ); diff --git a/js/dataTables.bulma.min.js b/js/dataTables.bulma.min.js index 8fea495..ce01b81 100644 --- a/js/dataTables.bulma.min.js +++ b/js/dataTables.bulma.min.js @@ -8,7 +8,7 @@ $jscomp.IS_SYMBOL_NATIVE="function"===typeof Symbol&&"symbol"===typeof Symbol("x $jscomp.polyfill=function(a,b,c,e){b&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(a,b,c,e):$jscomp.polyfillUnisolated(a,b,c,e))};$jscomp.polyfillUnisolated=function(a,b,c,e){c=$jscomp.global;a=a.split(".");for(e=0;e<'column is-one-half'f><'column is-full'tr><'column is-one-half'i><'column is-one-half'p>>", +(function(a){"function"===typeof define&&define.amd?define(["jquery","datatables.net"],function(b){return a(b,window,document)}):"object"===typeof exports?module.exports=function(b,c){b||(b=window);c&&c.fn.dataTable||(c=require("datatables.net")(b,c).$);return a(c,b,b.document)}:a(jQuery,window,document)})(function(a,b,c,e){var d=a.fn.dataTable;a.extend(!0,d.defaults,{dom:"<'columns is-gapless is-multiline'<'column is-half'l><'column is-half'f><'column is-full'tr><'column is-half'i><'column is-half'p>>", renderer:"bulma"});a.extend(d.ext.classes,{sWrapper:"dataTables_wrapper dt-bulma",sFilterInput:"input",sLengthSelect:"custom-select custom-select-sm form-control form-control-sm",sProcessing:"dataTables_processing card"});d.ext.renderer.pageButton.bulma=function(f,k,D,E,m,v){var w=new d.Api(f),p=f.oLanguage.oPaginate,F=f.oLanguage.oAria.paginate||{},h,l,x=0,A=function(t,y){var z,G=function(q){q.preventDefault();a(q.currentTarget).hasClass("disabled")||w.page()==q.data.action||w.page(q.data.action).draw("page")}; var u=0;for(z=y.length;u=m;break;case "previous":h=p.sPrevious;l=g;n=0>=m;break;case "next":h=p.sNext;l=g;n=m>=v-1;break;case "last":h=p.sLast;l=g;n=m>=v-1;break;default:h=g+1,l=m===g?"is-current":""}h&&(r=a("
  • ",{id:0===D&&"string"===typeof g?f.sTableId+"_"+g:null}).append(a("<"+r+">",{href:"#","aria-controls":f.sTableId, "aria-label":F[g],"data-dt-idx":x,tabindex:f.iTabIndex,"class":"pagination-link "+l,disabled:n}).html(h)).appendTo(t),f.oApi._fnBindAction(r,{action:g},G),x++)}}};try{var B=a(k).find(c.activeElement).data("dt-idx")}catch(t){}var C=a('');a(k).empty().append(C);A(C.find("ul"),E);B!==e&&a(k).find("[data-dt-idx="+B+"]").trigger("focus")};a(c).on("init.dt",function(f,k){"dt"===f.namespace&&(f=new a.fn.dataTable.Api(k),