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.
|
|
|
/*! © SpryMedia Ltd, - datatables.net/license */
|
|
|
|
import $ from"jquery";import DataTable from"datatables.net";var validChars="$£€c0123456789.-,()'",str=DataTable.util.escapeRegex(validChars),re=new RegExp("[^"+str+"]");DataTable.ext.type.detect.unshift(function(e){return"string"!=typeof e||re.test(e)?null:"currency"}),DataTable.ext.type.order["currency-pre"]=function(e){return""===e?0:(e=e.match(/[\()]/g)?!0!==e.match(/[\-]/g)?"-"+e.replace(/[\$£€c\(\),]/g,""):e.replace(/[^\d\-\.]/g,""):e.replace(/[\$£€\,]/g,""),parseFloat(e))};export default DataTable;
|