@celke/kole-react 0.4.1 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +22 -22
- package/README.md +968 -525
- package/dist/components/Avaliacao/Avaliacao.d.ts +1 -1
- package/dist/components/Avatar/GrupoAvatares.d.ts +16 -0
- package/dist/components/BlocoCodigo/BlocoCodigo.d.ts +15 -0
- package/dist/components/BotaoFechar/BotaoFechar.d.ts +1 -1
- package/dist/components/Busca/Busca.d.ts +1 -1
- package/dist/components/Calendario/Calendario.d.ts +100 -0
- package/dist/components/Calendario/MiniCalendario.d.ts +27 -0
- package/dist/components/Calendario/datasCalendario.d.ts +27 -0
- package/dist/components/Calendario/repetirEvento.d.ts +26 -0
- package/dist/components/Campo/Campo.d.ts +1 -0
- package/dist/components/CampoBusca/CampoBusca.d.ts +1 -1
- package/dist/components/CampoBusca/CampoCidade.d.ts +1 -1
- package/dist/components/CampoMensagem/CampoMensagem.d.ts +20 -1
- package/dist/components/Carregando/Carregando.d.ts +1 -1
- package/dist/components/ChatFlutuante/ChatFlutuante.d.ts +31 -0
- package/dist/components/Conversa/Conversa.d.ts +1 -1
- package/dist/components/Estrutura/Estrutura.d.ts +13 -2
- package/dist/components/Form/Form.d.ts +1 -1
- package/dist/components/Girador/Girador.d.ts +1 -1
- package/dist/components/Grafico/GraficoRosca.d.ts +31 -0
- package/dist/components/Grafico/MolduraGrafico.d.ts +36 -1
- package/dist/components/Grafico/escalas.d.ts +3 -0
- package/dist/components/InicioConversa/InicioConversa.d.ts +29 -0
- package/dist/components/Kanban/CartaoKanban.d.ts +35 -0
- package/dist/components/Kanban/Kanban.d.ts +62 -0
- package/dist/components/Kanban/Pecas.d.ts +30 -0
- package/dist/components/Kanban/tipos.d.ts +35 -0
- package/dist/components/ListaCards/ListaCards.d.ts +1 -1
- package/dist/components/ListaConversas/ListaConversas.d.ts +40 -0
- package/dist/components/ListaTarefas/ListaTarefas.d.ts +52 -0
- package/dist/components/Mensagem/Mensagem.d.ts +1 -1
- package/dist/components/NavegadorPeriodo/NavegadorPeriodo.d.ts +28 -0
- package/dist/components/Picklist/Picklist.d.ts +1 -1
- package/dist/components/Preferencias/Preferencias.d.ts +25 -2
- package/dist/components/QuadroArrastavel/QuadroArrastavel.d.ts +59 -6
- package/dist/components/Referencias/Referencias.d.ts +1 -1
- package/dist/components/SeletorContexto/SeletorContexto.d.ts +32 -0
- package/dist/components/SeletorIdioma/Bandeira.d.ts +10 -0
- package/dist/components/SeletorIdioma/SeletorIdioma.d.ts +23 -0
- package/dist/components/Site/CabecalhoSecao.d.ts +18 -0
- package/dist/components/Site/CampoPesquisa.d.ts +15 -0
- package/dist/components/Site/CardConteudo.d.ts +28 -0
- package/dist/components/Site/CardDepoimento.d.ts +14 -0
- package/dist/components/Site/CardPlano.d.ts +22 -0
- package/dist/components/Site/CardRecurso.d.ts +22 -0
- package/dist/components/Site/ConteudoArtigo.d.ts +12 -0
- package/dist/components/Site/DestaqueSite.d.ts +27 -0
- package/dist/components/Site/EstruturaSite.d.ts +60 -0
- package/dist/components/Site/FaixaChamada.d.ts +14 -0
- package/dist/components/Site/FaixaNumeros.d.ts +20 -0
- package/dist/components/Site/FiltroPilulas.d.ts +17 -0
- package/dist/components/Site/ListaNumerada.d.ts +21 -0
- package/dist/components/Site/Newsletter.d.ts +16 -0
- package/dist/components/Site/SecaoSite.d.ts +15 -0
- package/dist/components/Site/SumarioPagina.d.ts +17 -0
- package/dist/components/Site/linkSite.d.ts +18 -0
- package/dist/components/Tabela/Tabela.d.ts +1 -1
- package/dist/components/TelaLogin/TelaLogin.d.ts +1 -1
- package/dist/components/Valor/Valor.d.ts +53 -0
- package/dist/estilos.css +1 -1
- package/dist/i18n/contexto.d.ts +15 -0
- package/dist/i18n/en.d.ts +3 -0
- package/dist/i18n/es.d.ts +3 -0
- package/dist/i18n/idiomas.d.ts +41 -0
- package/dist/i18n/pt-BR.d.ts +545 -0
- package/dist/i18n/textos.d.ts +17 -0
- package/dist/index.d.ts +46 -2
- package/dist/index.js +9325 -3670
- package/dist/index.js.map +1 -1
- package/dist/tailwind.css +96 -82
- package/dist/tokens.css +489 -461
- package/dist/utils/dinheiro.d.ts +49 -0
- package/dist/utils/entidade.d.ts +3 -2
- package/dist/utils/periodo.d.ts +36 -0
- package/dist/utils/senha.d.ts +2 -1
- package/dist/utils/tempo.d.ts +32 -0
- package/dist/utils/texto.d.ts +12 -5
- package/dist/utils/tiposCampo.d.ts +3 -1
- package/dist/utils/validadores.d.ts +4 -2
- package/package.json +93 -91
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Idioma } from './idiomas.js';
|
|
2
|
+
import { type Textos } from './pt-BR.js';
|
|
3
|
+
interface ValorIdioma {
|
|
4
|
+
idioma: Idioma;
|
|
5
|
+
textos: Textos;
|
|
6
|
+
}
|
|
7
|
+
export declare const ContextoIdioma: import("react").Context<ValorIdioma>;
|
|
8
|
+
/**
|
|
9
|
+
* O dicionário do idioma ativo. Fora de um `ProvedorPreferencias` (ou
|
|
10
|
+
* `ProvedorUi`), devolve o pt-BR: os componentes funcionam sozinhos.
|
|
11
|
+
*/
|
|
12
|
+
export declare function useTextos(): Textos;
|
|
13
|
+
/** O idioma ativo (`pt-BR` fora do provedor): para formatar datas e números. */
|
|
14
|
+
export declare function useIdioma(): Idioma;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Idiomas da biblioteca e as peças sem React do multi-idioma: interpolação,
|
|
3
|
+
* plural e formatadores `Intl` com cache por idioma.
|
|
4
|
+
*/
|
|
5
|
+
/** Idiomas com dicionário pronto na biblioteca. */
|
|
6
|
+
export type IdiomaPadrao = 'pt-BR' | 'en' | 'es';
|
|
7
|
+
/**
|
|
8
|
+
* Idioma ativo. Além dos três prontos, o sistema pode acrescentar outro (ex.:
|
|
9
|
+
* `'fr'`) passando os textos dele em `textos` do `ProvedorPreferencias`; o que
|
|
10
|
+
* faltar sai em pt-BR.
|
|
11
|
+
*/
|
|
12
|
+
export type Idioma = IdiomaPadrao | (string & {});
|
|
13
|
+
export declare const IDIOMAS_PADRAO: readonly IdiomaPadrao[];
|
|
14
|
+
/** Formas do plural (categorias do `Intl.PluralRules`); `other` é obrigatória e serve de reserva. */
|
|
15
|
+
export interface Plural {
|
|
16
|
+
zero?: string;
|
|
17
|
+
one?: string;
|
|
18
|
+
two?: string;
|
|
19
|
+
few?: string;
|
|
20
|
+
many?: string;
|
|
21
|
+
other: string;
|
|
22
|
+
}
|
|
23
|
+
/** Locale do `Intl` para o idioma (`en` → `en-US`, `es` → `es-ES`; os outros, como vierem). */
|
|
24
|
+
export declare function localeDe(idioma: Idioma): string;
|
|
25
|
+
/** `'Página {atual} de {total}'` + `{ atual: 2, total: 9 }` → `'Página 2 de 9'`. Chave sem valor fica como está. */
|
|
26
|
+
export declare function interpolar(modelo: string, valores?: Record<string, string | number>): string;
|
|
27
|
+
/** `Intl.NumberFormat` do idioma, criado uma vez por combinação de opções. */
|
|
28
|
+
export declare function formatoNumero(idioma: Idioma, opcoes?: Intl.NumberFormatOptions): Intl.NumberFormat;
|
|
29
|
+
/** `Intl.DateTimeFormat` do idioma, criado uma vez por combinação de opções. */
|
|
30
|
+
export declare function formatoData(idioma: Idioma, opcoes?: Intl.DateTimeFormatOptions): Intl.DateTimeFormat;
|
|
31
|
+
/** `Intl.ListFormat` (`a, b e c` · `a, b and c` · `a, b y c`). */
|
|
32
|
+
export declare function formatoLista(idioma: Idioma, tipo?: 'conjunction' | 'disjunction'): Intl.ListFormat;
|
|
33
|
+
/**
|
|
34
|
+
* A forma certa do plural para `n`, já com `{n}` (formatado no idioma) e os
|
|
35
|
+
* outros valores trocados: `{ one: '{n} item', other: '{n} itens' }`.
|
|
36
|
+
*/
|
|
37
|
+
export declare function pluralizar(idioma: Idioma, n: number, formas: Plural, valores?: Record<string, string | number>): string;
|
|
38
|
+
/** Os 7 dias da semana, começando no domingo, no formato pedido (`short` = `dom.`/`Sun`). */
|
|
39
|
+
export declare function diasDaSemana(idioma: Idioma, formato?: 'narrow' | 'short' | 'long'): string[];
|
|
40
|
+
/** Os 12 meses (`long` = janeiro/January). */
|
|
41
|
+
export declare function mesesDoAno(idioma: Idioma, formato?: 'narrow' | 'short' | 'long'): string[];
|
|
@@ -0,0 +1,545 @@
|
|
|
1
|
+
import type { Plural } from './idiomas.js';
|
|
2
|
+
/**
|
|
3
|
+
* Textos da biblioteca em português do Brasil: a fonte da verdade. `en.ts` e
|
|
4
|
+
* `es.ts` têm o mesmo formato (faltar chave é erro de tipo). `{nome}` é
|
|
5
|
+
* trocado pelo valor; os objetos com `one`/`other` são plurais.
|
|
6
|
+
*/
|
|
7
|
+
export declare const textosPtBR: {
|
|
8
|
+
idioma: {
|
|
9
|
+
/** O nome do idioma no próprio idioma (aparece no seletor). */
|
|
10
|
+
nome: string;
|
|
11
|
+
seletor: string;
|
|
12
|
+
atual: string;
|
|
13
|
+
};
|
|
14
|
+
comum: {
|
|
15
|
+
fechar: string;
|
|
16
|
+
cancelar: string;
|
|
17
|
+
confirmar: string;
|
|
18
|
+
salvar: string;
|
|
19
|
+
voltar: string;
|
|
20
|
+
remover: string;
|
|
21
|
+
excluir: string;
|
|
22
|
+
renomear: string;
|
|
23
|
+
adicionar: string;
|
|
24
|
+
aplicar: string;
|
|
25
|
+
buscar: string;
|
|
26
|
+
buscarReticencias: string;
|
|
27
|
+
buscando: string;
|
|
28
|
+
buscandoReticencias: string;
|
|
29
|
+
carregando: string;
|
|
30
|
+
carregandoReticencias: string;
|
|
31
|
+
selecione: string;
|
|
32
|
+
limparSelecao: string;
|
|
33
|
+
anterior: string;
|
|
34
|
+
proximo: string;
|
|
35
|
+
hoje: string;
|
|
36
|
+
ontem: string;
|
|
37
|
+
amanha: string;
|
|
38
|
+
sim: string;
|
|
39
|
+
nao: string;
|
|
40
|
+
copiar: string;
|
|
41
|
+
copiado: string;
|
|
42
|
+
naoFoiPossivelCopiar: string;
|
|
43
|
+
copiaBloqueada: string;
|
|
44
|
+
tentarDeNovo: string;
|
|
45
|
+
tentarNovamente: string;
|
|
46
|
+
detalhes: string;
|
|
47
|
+
expandir: string;
|
|
48
|
+
recolher: string;
|
|
49
|
+
temaClaro: string;
|
|
50
|
+
temaEscuro: string;
|
|
51
|
+
usarTemaClaro: string;
|
|
52
|
+
usarTemaEscuro: string;
|
|
53
|
+
menuPrincipal: string;
|
|
54
|
+
campoObrigatorio: string;
|
|
55
|
+
opcoes: string;
|
|
56
|
+
opcoesDe: string;
|
|
57
|
+
ok: string;
|
|
58
|
+
};
|
|
59
|
+
estados: {
|
|
60
|
+
vazioTitulo: string;
|
|
61
|
+
carregandoRegistros: string;
|
|
62
|
+
erroTitulo: string;
|
|
63
|
+
erroDescricao: string;
|
|
64
|
+
};
|
|
65
|
+
validacao: {
|
|
66
|
+
telefoneFixo: string;
|
|
67
|
+
telefoneCelular: string;
|
|
68
|
+
telefoneIncompleto: string;
|
|
69
|
+
cpfIncompleto: string;
|
|
70
|
+
cpfInvalido: string;
|
|
71
|
+
cnpjIncompleto: string;
|
|
72
|
+
cnpjInvalido: string;
|
|
73
|
+
cpfCnpjIncompleto: string;
|
|
74
|
+
emailInvalido: string;
|
|
75
|
+
cepIncompleto: string;
|
|
76
|
+
placaInvalida: string;
|
|
77
|
+
renavam: string;
|
|
78
|
+
chassiIncompleto: string;
|
|
79
|
+
chassiInvalido: string;
|
|
80
|
+
cnhIncompleta: string;
|
|
81
|
+
cnhInvalida: string;
|
|
82
|
+
imeiIncompleto: string;
|
|
83
|
+
imeiInvalido: string;
|
|
84
|
+
horaInvalida: string;
|
|
85
|
+
dataInvalida: string;
|
|
86
|
+
dataHoraInvalida: string;
|
|
87
|
+
/** Aviso do campo quando o valor não passa na regra mas é mantido. */
|
|
88
|
+
mantido: string;
|
|
89
|
+
};
|
|
90
|
+
campos: {
|
|
91
|
+
placeholderCpfCnpj: string;
|
|
92
|
+
placeholderChassi: string;
|
|
93
|
+
placeholderEmail: string;
|
|
94
|
+
};
|
|
95
|
+
senha: {
|
|
96
|
+
minimo: string;
|
|
97
|
+
minuscula: string;
|
|
98
|
+
maiuscula: string;
|
|
99
|
+
digito: string;
|
|
100
|
+
simbolo: string;
|
|
101
|
+
fraca: string;
|
|
102
|
+
media: string;
|
|
103
|
+
forte: string;
|
|
104
|
+
capsLock: string;
|
|
105
|
+
mostrar: string;
|
|
106
|
+
ocultar: string;
|
|
107
|
+
forca: string;
|
|
108
|
+
};
|
|
109
|
+
tempo: {
|
|
110
|
+
agora: string;
|
|
111
|
+
ontem: string;
|
|
112
|
+
amanha: string;
|
|
113
|
+
/** `{quanto}` = "5 min", "2 h", "3 dias"… */
|
|
114
|
+
passado: string;
|
|
115
|
+
futuro: string;
|
|
116
|
+
minutos: string;
|
|
117
|
+
horas: string;
|
|
118
|
+
dias: Plural;
|
|
119
|
+
meses: Plural;
|
|
120
|
+
anos: Plural;
|
|
121
|
+
atrasado: string;
|
|
122
|
+
hoje: string;
|
|
123
|
+
amanhaRotulo: string;
|
|
124
|
+
venceu: string;
|
|
125
|
+
venceHoje: string;
|
|
126
|
+
vence: string;
|
|
127
|
+
concluido: string;
|
|
128
|
+
bomDia: string;
|
|
129
|
+
boaTarde: string;
|
|
130
|
+
boaNoite: string;
|
|
131
|
+
};
|
|
132
|
+
entidade: {
|
|
133
|
+
novo: string;
|
|
134
|
+
editar: string;
|
|
135
|
+
leitura: string;
|
|
136
|
+
};
|
|
137
|
+
abas: {
|
|
138
|
+
pendencias: Plural;
|
|
139
|
+
};
|
|
140
|
+
alerta: {
|
|
141
|
+
fechar: string;
|
|
142
|
+
};
|
|
143
|
+
anexo: {
|
|
144
|
+
minimo: Plural;
|
|
145
|
+
escolher: string;
|
|
146
|
+
anexo: string;
|
|
147
|
+
foto: string;
|
|
148
|
+
previaIndisponivel: string;
|
|
149
|
+
arquivoIndisponivel: string;
|
|
150
|
+
pdf: string;
|
|
151
|
+
imagem: string;
|
|
152
|
+
controlesImagem: string;
|
|
153
|
+
reduzir: string;
|
|
154
|
+
ampliar: string;
|
|
155
|
+
ajustar: string;
|
|
156
|
+
girar: string;
|
|
157
|
+
excede: Plural;
|
|
158
|
+
arrasteVarios: string;
|
|
159
|
+
arrasteUm: string;
|
|
160
|
+
ateTamanho: string;
|
|
161
|
+
visualizar: string;
|
|
162
|
+
removerNome: string;
|
|
163
|
+
contador: string;
|
|
164
|
+
fotoDe: string;
|
|
165
|
+
fotoN: string;
|
|
166
|
+
ampliarFoto: string;
|
|
167
|
+
ampliarFotoDe: string;
|
|
168
|
+
imagemDe: string;
|
|
169
|
+
};
|
|
170
|
+
avaliacao: {
|
|
171
|
+
salvando: string;
|
|
172
|
+
de: string;
|
|
173
|
+
};
|
|
174
|
+
avatares: {
|
|
175
|
+
rotulo: string;
|
|
176
|
+
};
|
|
177
|
+
codigo: {
|
|
178
|
+
copiar: string;
|
|
179
|
+
copiado: string;
|
|
180
|
+
};
|
|
181
|
+
busca: {
|
|
182
|
+
placeholder: string;
|
|
183
|
+
encontrados: Plural;
|
|
184
|
+
nada: string;
|
|
185
|
+
menu: string;
|
|
186
|
+
nenhumResultado: string;
|
|
187
|
+
excedente: Plural;
|
|
188
|
+
};
|
|
189
|
+
cidade: {
|
|
190
|
+
rotulo: string;
|
|
191
|
+
escolhaUf: string;
|
|
192
|
+
};
|
|
193
|
+
mensagem: {
|
|
194
|
+
placeholder: string;
|
|
195
|
+
rotulo: string;
|
|
196
|
+
enviar: string;
|
|
197
|
+
parar: string;
|
|
198
|
+
anexos: string;
|
|
199
|
+
tentarNovamente: string;
|
|
200
|
+
copiar: string;
|
|
201
|
+
copiada: string;
|
|
202
|
+
gerando: string;
|
|
203
|
+
enviando: string;
|
|
204
|
+
erro: string;
|
|
205
|
+
enviandoProgresso: string;
|
|
206
|
+
enviandoNome: string;
|
|
207
|
+
removerNome: string;
|
|
208
|
+
};
|
|
209
|
+
card: {
|
|
210
|
+
telaCheia: string;
|
|
211
|
+
sairTelaCheia: string;
|
|
212
|
+
};
|
|
213
|
+
carrossel: {
|
|
214
|
+
anterior: string;
|
|
215
|
+
proximo: string;
|
|
216
|
+
irPara: string;
|
|
217
|
+
pausar: string;
|
|
218
|
+
retomar: string;
|
|
219
|
+
posicao: string;
|
|
220
|
+
};
|
|
221
|
+
chat: {
|
|
222
|
+
titulo: string;
|
|
223
|
+
fechar: string;
|
|
224
|
+
novas: Plural;
|
|
225
|
+
};
|
|
226
|
+
citacao: {
|
|
227
|
+
em: string;
|
|
228
|
+
};
|
|
229
|
+
confirmacao: {
|
|
230
|
+
removerTitulo: string;
|
|
231
|
+
removerMensagem: string;
|
|
232
|
+
entendi: string;
|
|
233
|
+
};
|
|
234
|
+
conversa: {
|
|
235
|
+
rotulo: string;
|
|
236
|
+
irFim: string;
|
|
237
|
+
vazioTitulo: string;
|
|
238
|
+
vazioDescricao: string;
|
|
239
|
+
lista: string;
|
|
240
|
+
nova: string;
|
|
241
|
+
vazia: string;
|
|
242
|
+
fixadas: string;
|
|
243
|
+
ultimos7: string;
|
|
244
|
+
ultimos30: string;
|
|
245
|
+
buscar: string;
|
|
246
|
+
nadaEncontrado: string;
|
|
247
|
+
fixar: string;
|
|
248
|
+
desafixar: string;
|
|
249
|
+
novoNome: string;
|
|
250
|
+
sugestoesRotulo: string;
|
|
251
|
+
};
|
|
252
|
+
estrutura: {
|
|
253
|
+
buscarNoSistema: string;
|
|
254
|
+
inicio: string;
|
|
255
|
+
recolherMenu: string;
|
|
256
|
+
expandirMenu: string;
|
|
257
|
+
fecharSubmenu: string;
|
|
258
|
+
abrirMenu: string;
|
|
259
|
+
densidade: string;
|
|
260
|
+
densidadeAtual: string;
|
|
261
|
+
compacta: string;
|
|
262
|
+
confortavel: string;
|
|
263
|
+
espacosa: string;
|
|
264
|
+
desenvolvimento: string;
|
|
265
|
+
notificacoes: string;
|
|
266
|
+
naoLidas: Plural;
|
|
267
|
+
usuario: string;
|
|
268
|
+
menuUsuario: string;
|
|
269
|
+
contaPreferencias: string;
|
|
270
|
+
buscaGlobal: string;
|
|
271
|
+
aparencia: string;
|
|
272
|
+
pularConteudo: string;
|
|
273
|
+
ambienteSr: string;
|
|
274
|
+
versaoSr: string;
|
|
275
|
+
submenu: string;
|
|
276
|
+
naoLidasCurto: string;
|
|
277
|
+
semNotificacoesTudo: string;
|
|
278
|
+
contaDe: string;
|
|
279
|
+
};
|
|
280
|
+
filtros: {
|
|
281
|
+
consultar: string;
|
|
282
|
+
consultarAlterado: string;
|
|
283
|
+
limpar: string;
|
|
284
|
+
alterados: string;
|
|
285
|
+
aplicados: string;
|
|
286
|
+
removerChip: string;
|
|
287
|
+
};
|
|
288
|
+
form: {
|
|
289
|
+
formularios: string;
|
|
290
|
+
pronto: string;
|
|
291
|
+
pendencias: Plural;
|
|
292
|
+
};
|
|
293
|
+
grafico: {
|
|
294
|
+
categoria: string;
|
|
295
|
+
data: string;
|
|
296
|
+
valor: string;
|
|
297
|
+
semDados: string;
|
|
298
|
+
verGrafico: string;
|
|
299
|
+
verDados: string;
|
|
300
|
+
series: string;
|
|
301
|
+
esconderSerie: string;
|
|
302
|
+
mostrarSerie: string;
|
|
303
|
+
eixo: string;
|
|
304
|
+
eixoEsquerdo: string;
|
|
305
|
+
eixoDireito: string;
|
|
306
|
+
semDado: string;
|
|
307
|
+
pontos: string;
|
|
308
|
+
destaque: string;
|
|
309
|
+
tendencia: string;
|
|
310
|
+
ponto: string;
|
|
311
|
+
pontoN: string;
|
|
312
|
+
linha: string;
|
|
313
|
+
outros: string;
|
|
314
|
+
item: string;
|
|
315
|
+
participacao: string;
|
|
316
|
+
total: string;
|
|
317
|
+
totalDe: string;
|
|
318
|
+
fatias: string;
|
|
319
|
+
esconderFatia: string;
|
|
320
|
+
mostrarFatia: string;
|
|
321
|
+
alta: string;
|
|
322
|
+
queda: string;
|
|
323
|
+
};
|
|
324
|
+
kanban: {
|
|
325
|
+
prioridadeBaixa: string;
|
|
326
|
+
prioridadeMedia: string;
|
|
327
|
+
prioridadeAlta: string;
|
|
328
|
+
prioridadeCritica: string;
|
|
329
|
+
prioridade: string;
|
|
330
|
+
aberta: string;
|
|
331
|
+
andamento: string;
|
|
332
|
+
bloqueada: string;
|
|
333
|
+
concluida: string;
|
|
334
|
+
subtarefas: string;
|
|
335
|
+
subtarefasFeitas: string;
|
|
336
|
+
comentarios: Plural;
|
|
337
|
+
anexos: Plural;
|
|
338
|
+
vazioTitulo: string;
|
|
339
|
+
vazioDescricao: string;
|
|
340
|
+
quadro: string;
|
|
341
|
+
excluirColuna: string;
|
|
342
|
+
visiveis: string;
|
|
343
|
+
cartoes: Plural;
|
|
344
|
+
limite: string;
|
|
345
|
+
expandirColuna: string;
|
|
346
|
+
novoNomeColuna: string;
|
|
347
|
+
nomeColuna: string;
|
|
348
|
+
acoesColuna: string;
|
|
349
|
+
acoesColunaCurto: string;
|
|
350
|
+
tituloNovoCartao: string;
|
|
351
|
+
tituloCartao: string;
|
|
352
|
+
adicionarCartao: string;
|
|
353
|
+
noLimite: string;
|
|
354
|
+
nomeNovaColuna: string;
|
|
355
|
+
adicionarColuna: string;
|
|
356
|
+
emColuna: string;
|
|
357
|
+
};
|
|
358
|
+
listaTarefas: {
|
|
359
|
+
vazioTitulo: string;
|
|
360
|
+
rotulo: string;
|
|
361
|
+
concluida: string;
|
|
362
|
+
concluir: string;
|
|
363
|
+
reabrir: string;
|
|
364
|
+
};
|
|
365
|
+
menu: {
|
|
366
|
+
maisOpcoes: string;
|
|
367
|
+
maisOpcoesDe: string;
|
|
368
|
+
};
|
|
369
|
+
periodo: {
|
|
370
|
+
rotulo: string;
|
|
371
|
+
anterior: {
|
|
372
|
+
mes: string;
|
|
373
|
+
trimestre: string;
|
|
374
|
+
ano: string;
|
|
375
|
+
personalizado: string;
|
|
376
|
+
};
|
|
377
|
+
proximo: {
|
|
378
|
+
mes: string;
|
|
379
|
+
trimestre: string;
|
|
380
|
+
ano: string;
|
|
381
|
+
personalizado: string;
|
|
382
|
+
};
|
|
383
|
+
escolher: string;
|
|
384
|
+
esteMes: string;
|
|
385
|
+
mesPassado: string;
|
|
386
|
+
esteTrimestre: string;
|
|
387
|
+
esteAno: string;
|
|
388
|
+
anoPassado: string;
|
|
389
|
+
livre: string;
|
|
390
|
+
de: string;
|
|
391
|
+
ate: string;
|
|
392
|
+
antesDoInicio: string;
|
|
393
|
+
/** `rotuloPeriodo`: "novembro de 2026", "3º trimestre de 2026", "5 de nov. a 14 de nov. de 2026". */
|
|
394
|
+
mesAno: string;
|
|
395
|
+
trimestreN: string;
|
|
396
|
+
trimestreAno: string;
|
|
397
|
+
diaAno: string;
|
|
398
|
+
intervalo: string;
|
|
399
|
+
};
|
|
400
|
+
paginacao: {
|
|
401
|
+
rotulo: string;
|
|
402
|
+
anterior: string;
|
|
403
|
+
proxima: string;
|
|
404
|
+
/** `{faixa}` (ex.: 1–10) aparece em negrito. */
|
|
405
|
+
exibindo: string;
|
|
406
|
+
porPagina: string;
|
|
407
|
+
};
|
|
408
|
+
picklist: {
|
|
409
|
+
disponiveis: string;
|
|
410
|
+
selecionados: string;
|
|
411
|
+
movido: string;
|
|
412
|
+
movidos: string;
|
|
413
|
+
posicao: string;
|
|
414
|
+
nadaEncontrado: string;
|
|
415
|
+
nenhumItem: string;
|
|
416
|
+
moverSelecionados: string;
|
|
417
|
+
moverTodos: string;
|
|
418
|
+
devolverSelecionados: string;
|
|
419
|
+
devolverTodos: string;
|
|
420
|
+
reordenado: string;
|
|
421
|
+
buscarEm: string;
|
|
422
|
+
};
|
|
423
|
+
quadro: {
|
|
424
|
+
solto: string;
|
|
425
|
+
colunaSolta: string;
|
|
426
|
+
pego: string;
|
|
427
|
+
colunaPega: string;
|
|
428
|
+
cancelado: string;
|
|
429
|
+
colunaPosicao: string;
|
|
430
|
+
semDestino: string;
|
|
431
|
+
posicao: string;
|
|
432
|
+
arrastar: string;
|
|
433
|
+
moverColuna: string;
|
|
434
|
+
arrastarColuna: string;
|
|
435
|
+
mover: string;
|
|
436
|
+
colunaN: string;
|
|
437
|
+
};
|
|
438
|
+
referencias: {
|
|
439
|
+
mostrarTrecho: string;
|
|
440
|
+
mostrarMenos: string;
|
|
441
|
+
quantas: Plural;
|
|
442
|
+
};
|
|
443
|
+
contexto: {
|
|
444
|
+
trocar: string;
|
|
445
|
+
atual: string;
|
|
446
|
+
};
|
|
447
|
+
valor: {
|
|
448
|
+
ocultar: string;
|
|
449
|
+
mostrar: string;
|
|
450
|
+
oculto: string;
|
|
451
|
+
};
|
|
452
|
+
site: {
|
|
453
|
+
pesquisar: string;
|
|
454
|
+
paginaInicial: string;
|
|
455
|
+
abrirMenu: string;
|
|
456
|
+
redesSociais: string;
|
|
457
|
+
maisEscolhido: string;
|
|
458
|
+
newsletterTitulo: string;
|
|
459
|
+
newsletterCampo: string;
|
|
460
|
+
newsletterBotao: string;
|
|
461
|
+
newsletterOk: string;
|
|
462
|
+
newsletterInvalido: string;
|
|
463
|
+
newsletterErro: string;
|
|
464
|
+
nestaPagina: string;
|
|
465
|
+
nota: string;
|
|
466
|
+
};
|
|
467
|
+
tabela: {
|
|
468
|
+
rotulo: string;
|
|
469
|
+
selecionarTodos: string;
|
|
470
|
+
selecao: string;
|
|
471
|
+
selecionarLinha: string;
|
|
472
|
+
acoes: string;
|
|
473
|
+
};
|
|
474
|
+
login: {
|
|
475
|
+
titulo: string;
|
|
476
|
+
subtitulo: string;
|
|
477
|
+
codigoInstrucao: string;
|
|
478
|
+
erroEntrar: string;
|
|
479
|
+
informeDigitos: string;
|
|
480
|
+
erroCodigo: string;
|
|
481
|
+
sobre: string;
|
|
482
|
+
email: string;
|
|
483
|
+
emailPlaceholder: string;
|
|
484
|
+
usuario: string;
|
|
485
|
+
senha: string;
|
|
486
|
+
entrando: string;
|
|
487
|
+
entrar: string;
|
|
488
|
+
doisFatoresTitulo: string;
|
|
489
|
+
doisFatoresSubtitulo: string;
|
|
490
|
+
codigo: string;
|
|
491
|
+
confiar: string;
|
|
492
|
+
confiarDica: string;
|
|
493
|
+
cpf: string;
|
|
494
|
+
};
|
|
495
|
+
toast: {
|
|
496
|
+
fechar: string;
|
|
497
|
+
};
|
|
498
|
+
trilha: {
|
|
499
|
+
rotulo: string;
|
|
500
|
+
};
|
|
501
|
+
calendario: {
|
|
502
|
+
rotulo: string;
|
|
503
|
+
mes: string;
|
|
504
|
+
semana: string;
|
|
505
|
+
dia: string;
|
|
506
|
+
lista: string;
|
|
507
|
+
visao: string;
|
|
508
|
+
vazioMes: string;
|
|
509
|
+
semTitulo: string;
|
|
510
|
+
agoraTermina: string;
|
|
511
|
+
anterior: {
|
|
512
|
+
mes: string;
|
|
513
|
+
semana: string;
|
|
514
|
+
dia: string;
|
|
515
|
+
};
|
|
516
|
+
proximo: {
|
|
517
|
+
mes: string;
|
|
518
|
+
semana: string;
|
|
519
|
+
dia: string;
|
|
520
|
+
};
|
|
521
|
+
repete: string;
|
|
522
|
+
repeteSr: string;
|
|
523
|
+
repeteTitulo: string;
|
|
524
|
+
ate: string;
|
|
525
|
+
livre: string;
|
|
526
|
+
diaInteiro: string;
|
|
527
|
+
hoje: string;
|
|
528
|
+
eventos: Plural;
|
|
529
|
+
mais: string;
|
|
530
|
+
agora: string;
|
|
531
|
+
ajudaHorario: string;
|
|
532
|
+
ajudaTamanho: string;
|
|
533
|
+
ajudaEnter: string;
|
|
534
|
+
escolherDia: string;
|
|
535
|
+
comEventos: string;
|
|
536
|
+
/** Título da semana: "10 – 16 de novembro de 2026" ou "28 de out – 3 de nov de 2026". */
|
|
537
|
+
semanaMesmoMes: string;
|
|
538
|
+
semanaMeses: string;
|
|
539
|
+
};
|
|
540
|
+
boasVindas: {
|
|
541
|
+
ultimoAcesso: string;
|
|
542
|
+
};
|
|
543
|
+
};
|
|
544
|
+
/** Formato de todos os dicionários (o pt-BR é a fonte da verdade). */
|
|
545
|
+
export type Textos = typeof textosPtBR;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { Idioma } from './idiomas.js';
|
|
2
|
+
import { type Textos } from './pt-BR.js';
|
|
3
|
+
/** Qualquer parte dos textos: cada componente e cada texto dele ficam opcionais. */
|
|
4
|
+
export type TextosParciais = {
|
|
5
|
+
[K in keyof Textos]?: Textos[K] extends object ? {
|
|
6
|
+
[J in keyof Textos[K]]?: Textos[K][J];
|
|
7
|
+
} : Textos[K];
|
|
8
|
+
};
|
|
9
|
+
/** Os dicionários que vêm com a biblioteca. */
|
|
10
|
+
export declare const DICIONARIOS: Record<'pt-BR' | 'en' | 'es', Textos>;
|
|
11
|
+
/** Interno: o `ProvedorPreferencias` registra aqui os textos que o sistema passou. */
|
|
12
|
+
export declare function registrarTextos(extras?: Partial<Record<Idioma, TextosParciais>>): void;
|
|
13
|
+
/**
|
|
14
|
+
* O dicionário de um idioma: pt-BR por baixo (o que faltar sai em português),
|
|
15
|
+
* o dicionário pronto do idioma por cima e, por último, os textos do sistema.
|
|
16
|
+
*/
|
|
17
|
+
export declare function textosDe(idioma?: Idioma): Textos;
|