-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
10dacba3ab69306f27acd2d1eeeaafab3f2ed4d2 Fix: Tidy up dates for copyr…
…ight message in integration files Sync to source repo @10dacba3ab69306f27acd2d1eeeaafab3f2ed4d2
- Loading branch information
dtbuild
committed
Apr 17, 2024
1 parent
4d983ad
commit f24aef3
Showing
5 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/*! DataTables Bulma integration | ||
* ©2020 SpryMedia Ltd - datatables.net/license | ||
* © SpryMedia Ltd - datatables.net/license | ||
*/ | ||
import jQuery from"jquery";import DataTable from"datatables.net";let $=jQuery;$.extend(!0,DataTable.defaults,{renderer:"bulma"}),$.extend(!0,DataTable.ext.classes,{container:"dt-container dt-bulma",search:{input:"input"},length:{input:"custom-select custom-select-sm form-control form-control-sm"},processing:{container:"dt-processing card"}}),DataTable.ext.renderer.pagingButton.bulma=function(a,n,e,t,l){var i=["pagination-link"],t=(t&&i.push("is-current"),$("<li>"));return{display:t,clicker:$("<a>",{href:l?null:"#",class:i.join(" "),disabled:l}).html(e).appendTo(t)}},DataTable.ext.renderer.pagingContainer.bulma=function(a,n){var e=$('<nav class="pagination" role="navigation" aria-label="pagination"><ul class="pagination-list"></ul></nav>');return e.find("ul").append(n),e},DataTable.ext.renderer.layout.bulma=function(a,n,e){var t={},l=$("<div/>",{class:"columns is-multiline"}).appendTo(n);$.each(e,function(a,n){var e;n.table?e="column is-full":"start"===a?e="column is-narrow":"end"===a?(e="column is-narrow",t.marginLeft="auto"):(e="column is-full",t.marginLeft="auto",t.marginRight="auto"),$("<div/>",{id:n.id||null,class:e+" "+(n.className||"")}).css(t).append(n.contents).appendTo(l)})},$(document).on("init.dt",function(a,n){"dt"===a.namespace&&(a=new $.fn.dataTable.Api(n),$("div.dt-length select",a.table().container()).wrap('<div class="select">'))});export default DataTable; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters