implementado tsup

This commit is contained in:
Luiz Silva 2025-07-17 08:54:56 -03:00
parent 7bddbd5c72
commit 8efeb59716
131 changed files with 2216 additions and 1476 deletions

View file

@ -0,0 +1 @@
{"version":3,"sources":["../src/texto_busca.ts"],"sourcesContent":["/** gerar o texto de busca removendo caracteres especies e caixa alta */\n\nexport const texto_busca = (...texto: any[]): string =>\n texto\n .map((txt) =>\n txt === null || txt === undefined\n ? \"\"\n : String(txt)\n .normalize(\"NFD\")\n .replace(/[\\u0300-\\u036f]/g, \"\")\n .replace(/\\s+/g, \" \")\n .toLowerCase(),\n )\n .join(\" \")\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEO,MAAM,cAAc,IAAI,UAC7B,MACG;AAAA,EAAI,CAAC,QACJ,QAAQ,QAAQ,QAAQ,SACpB,KACA,OAAO,GAAG,EACP,UAAU,KAAK,EACf,QAAQ,oBAAoB,EAAE,EAC9B,QAAQ,QAAQ,GAAG,EACnB,YAAY;AACrB,EACC,KAAK,GAAG;","names":[]}