UNPKG

constatic

Version:
4 lines (3 loc) 1.16 kB
import e from"chalk";import{cliLang as s}from"./helper.lang.js";import{setTimeout as f}from"node:timers/promises";function n(o,r){const c=s.get();return r?r(o[c]):o[c]}const t={get tab(){return e.cyan("<tab>")},get enter(){return e.cyan("<enter>")},get space(){return n({"en-US":e.cyan("<space>"),"pt-BR":e.cyan("<espa\xE7o>")})},get a(){return e.cyan("<a>")}},u={get checkbox(){return` `+n({"en-US":`Controls: ${t.space} select/deselect | ${t.a} select all | ${t.enter} proceed`,"pt-BR":`Controles: ${t.space} selecionar/deselecionar | ${t.a} selecionar tudo | ${t.enter} prosseguir`},e.dim)},get searchSelect(){const o=e.cyan("<tab>"),r=e.cyan("<enter>");return()=>` `+n({"en-US":`Controls: ${o} select/deselect | ${r} proceed`,"pt-BR":`Controles: ${o} selecionar/desselecionar | ${r} prosseguir`},e.dim)}},m={get back(){return n({"en-US":e.dim("\u2936 Back"),"pt-BR":e.dim("\u2936 Voltar")})}},d={azoxo:"#5865F2"};function $(){console.log()}const b={"top-left":"\u256D","top-right":"\u256E","bottom-right":"\u256F","bottom-left":"\u2570"};export{b as cliTableChars,d as colors,m as commonTexts,$ as divider,u as instructions,f as sleep,n as uiMessage};