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/sorting/czech-string.min.mjs

2 lines
730 B
JavaScript

/*! © SpryMedia Ltd - datatables.net/license */
import $ from"jquery";import DataTable from"datatables.net";DataTable.ext.order["czech-pre"]=function(a){var b,e={A:"Aa",a:"aa","Á":"Ab","á":"ab",C:"Ca",c:"ca","Č":"Cb","č":"cb",D:"Da",d:"da","Ď":"db","ď":"db",E:"Ea",e:"ea","É":"eb","é":"eb","Ě":"Ec","ě":"ec",I:"Ia",i:"ia","Í":"Ib","í":"ib",N:"Na",n:"na","Ň":"Nb","ň":"nb",O:"Oa",o:"oa","Ó":"Ob","ó":"ob",R:"Ra",r:"ra","Ř":"Rb","ř":"rb",S:"Sa",s:"sa","Š":"Sb","š":"sb",T:"Ta",t:"ta","Ť":"Tb","ť":"tb",U:"Ua",u:"ua","Ú":"Ub","ú":"ub","Ů":"Uc","ů":"uc",Y:"Ya",y:"ya","Ý":"Yb","ý":"yb",Z:"Za",z:"za","Ž":"Zb","ž":"zb"};for(b in e)a=a.split(b).join(e[b]).toLowerCase();return a};export default DataTable;