melhorias no build
This commit is contained in:
parent
cd6d9c35a2
commit
1d6a109fc4
387 changed files with 765 additions and 23443 deletions
12
dist-esm/texto_busca.js
Normal file
12
dist-esm/texto_busca.js
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
/** gerar o texto de busca removendo caracteres especies e caixa alta */
|
||||
export const texto_busca = (...texto) => texto
|
||||
.map((txt) => txt === null || txt === undefined
|
||||
? ""
|
||||
: String(txt)
|
||||
.normalize("NFD")
|
||||
// biome-ignore lint/suspicious/noMisleadingCharacterClass: <explanation>
|
||||
.replace(/[\u0300-\u036f]/g, "")
|
||||
.replace(/\s+/g, " ")
|
||||
.toLowerCase())
|
||||
.join(" ");
|
||||
//# sourceMappingURL=texto_busca.js.map
|
||||
Loading…
Add table
Add a link
Reference in a new issue