xertica-ui 2.2.0 → 2.2.1
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/CHANGELOG.md +1 -1
- package/README.md +1 -1
- package/dist/ThemeContext-BgclCB35.js +1856 -0
- package/dist/ThemeContext-DQUOeziy.cjs +1855 -0
- package/dist/VerifyEmailPage-RrUApqBN.js +3214 -0
- package/dist/VerifyEmailPage-VoMI7MYH.cjs +3213 -0
- package/dist/XerticaProvider-BSyFrmC0.js +49 -0
- package/dist/XerticaProvider-CiNKjMx1.cjs +48 -0
- package/dist/XerticaXLogo-B2svDGZh.cjs +251 -0
- package/dist/XerticaXLogo-CowGv7BC.js +252 -0
- package/dist/brand.cjs.js +2 -2
- package/dist/brand.es.js +2 -2
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.es.js +1 -1
- package/dist/index.cjs.js +5 -5
- package/dist/index.es.js +5 -5
- package/dist/layout.cjs.js +1 -1
- package/dist/layout.es.js +1 -1
- package/dist/pages.cjs.js +1 -1
- package/dist/pages.es.js +1 -1
- package/dist/sidebar-CRMiBtAi.js +801 -0
- package/dist/sidebar-CZ2mWaMM.cjs +800 -0
- package/dist/xertica-ui.css +1 -1
- package/package.json +1 -1
- package/templates/CLAUDE.md +165 -180
- package/templates/package.json +2 -2
- package/templates/src/features/auth/ui/ForgotPasswordContent.tsx +9 -7
- package/templates/src/features/auth/ui/LoginContent.tsx +10 -8
- package/templates/src/features/auth/ui/ResetPasswordContent.tsx +179 -177
- package/templates/src/features/auth/ui/SocialLoginButtons.tsx +9 -4
- package/templates/src/features/auth/ui/VerifyEmailContent.tsx +84 -82
- package/templates/src/features/template/ui/TemplateContent.tsx +1 -1
- package/templates/src/locales/en/components/assistant.json +14 -0
- package/templates/src/locales/en/pages/forgotPassword.json +10 -0
- package/templates/src/locales/en/pages/templates.json +1 -1
- package/templates/src/locales/es/components/assistant.json +14 -0
- package/templates/src/locales/es/pages/forgotPassword.json +10 -0
- package/templates/src/locales/es/pages/templates.json +1 -1
- package/templates/src/locales/pt-BR/components/assistant.json +14 -0
- package/templates/src/locales/pt-BR/pages/forgotPassword.json +10 -0
- package/templates/src/locales/pt-BR/pages/templates.json +1 -1
- package/templates/src/pages/AssistantPage.tsx +464 -463
|
@@ -0,0 +1,1856 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { createContext, useMemo, useEffect, useState, useCallback, useContext } from "react";
|
|
3
|
+
import i18n from "i18next";
|
|
4
|
+
import { initReactI18next } from "react-i18next";
|
|
5
|
+
import { useQueryClient } from "@tanstack/react-query";
|
|
6
|
+
const view$2 = "Visualizar";
|
|
7
|
+
const edit$2 = "Editar";
|
|
8
|
+
const cancel$5 = "Cancelar";
|
|
9
|
+
const save$5 = "Salvar";
|
|
10
|
+
const confirm$2 = "Confirmar";
|
|
11
|
+
const loading$2 = "Carregando...";
|
|
12
|
+
const error$2 = "Erro";
|
|
13
|
+
const previous$2 = "Anterior";
|
|
14
|
+
const next$2 = "Próximo";
|
|
15
|
+
const active$2 = "Ativo";
|
|
16
|
+
const inactive$2 = "Inativo";
|
|
17
|
+
const away$2 = "Ausente";
|
|
18
|
+
const close$2 = "Fechar";
|
|
19
|
+
const copied$5 = "Copiado";
|
|
20
|
+
const copyCode$2 = "Copiar código";
|
|
21
|
+
const seeMore$2 = "Ver mais";
|
|
22
|
+
const seeLess$2 = "Ver menos";
|
|
23
|
+
const __vite_glob_0_0 = {
|
|
24
|
+
view: view$2,
|
|
25
|
+
edit: edit$2,
|
|
26
|
+
"delete": "Excluir",
|
|
27
|
+
cancel: cancel$5,
|
|
28
|
+
save: save$5,
|
|
29
|
+
confirm: confirm$2,
|
|
30
|
+
loading: loading$2,
|
|
31
|
+
error: error$2,
|
|
32
|
+
previous: previous$2,
|
|
33
|
+
next: next$2,
|
|
34
|
+
"new": "Novo",
|
|
35
|
+
active: active$2,
|
|
36
|
+
inactive: inactive$2,
|
|
37
|
+
away: away$2,
|
|
38
|
+
close: close$2,
|
|
39
|
+
copied: copied$5,
|
|
40
|
+
copyCode: copyCode$2,
|
|
41
|
+
seeMore: seeMore$2,
|
|
42
|
+
seeLess: seeLess$2
|
|
43
|
+
};
|
|
44
|
+
const title$n = "Atividade Recente";
|
|
45
|
+
const type$2 = { "create": "Criado", "update": "Atualizado", "remove": "Removido", "comment": "Comentou", "deploy": "Deploy" };
|
|
46
|
+
const __vite_glob_0_1 = {
|
|
47
|
+
title: title$n,
|
|
48
|
+
type: type$2
|
|
49
|
+
};
|
|
50
|
+
const title$m = "Assistente Xertica";
|
|
51
|
+
const defaultUserName$2 = "Usuário";
|
|
52
|
+
const defaultWelcomeMessage$2 = "Como posso ajudar?";
|
|
53
|
+
const greeting$2 = "Olá, {{name}}";
|
|
54
|
+
const open$2 = "Abrir assistente";
|
|
55
|
+
const expand$5 = "Expandir assistente";
|
|
56
|
+
const collapse$5 = "Recolher assistente";
|
|
57
|
+
const moreSuggestions$2 = "Mais sugestões";
|
|
58
|
+
const back$2 = "Voltar";
|
|
59
|
+
const inputPlaceholder$2 = "Envie uma mensagem";
|
|
60
|
+
const uploadDocument$2 = "Upload de documento";
|
|
61
|
+
const uploadAudio$2 = "Upload de áudio";
|
|
62
|
+
const download$2 = "Baixar";
|
|
63
|
+
const generatePodcast$2 = "Gerar Podcast";
|
|
64
|
+
const like$2 = "Gostei";
|
|
65
|
+
const dislike$2 = "Não gostei";
|
|
66
|
+
const copied$4 = "Copiado";
|
|
67
|
+
const copyMessage$2 = "Copiar mensagem";
|
|
68
|
+
const audioNotSupported$2 = "Seu navegador não suporta o elemento de áudio.";
|
|
69
|
+
const searchResultsFound$2 = "Resultados Encontrados";
|
|
70
|
+
const searchSources$2 = "Fontes Consultadas";
|
|
71
|
+
const searchActions$2 = "O que você pode fazer com estes resultados";
|
|
72
|
+
const searchSaved$2 = "Pesquisa salva";
|
|
73
|
+
const processing$2 = "Processando...";
|
|
74
|
+
const newConversation$2 = "Nova Conversa";
|
|
75
|
+
const noFavorites$2 = "Nenhuma conversa favorita ainda";
|
|
76
|
+
const noHistory$2 = "Nenhuma conversa no histórico";
|
|
77
|
+
const closeDocumentEditor$2 = "Fechar editor de documento";
|
|
78
|
+
const documentEditorPlaceholder$2 = "Comece a digitar o conteúdo do seu documento aqui...";
|
|
79
|
+
const recordingAudio$2 = "Gravando áudio";
|
|
80
|
+
const stopRecording$2 = "Parar gravação";
|
|
81
|
+
const viewActions$2 = "Ver ações";
|
|
82
|
+
const attachFile$2 = "Anexar arquivo";
|
|
83
|
+
const suggestWithVoice$2 = "Sugerir com voz";
|
|
84
|
+
const removeAction$2 = "Remover ação";
|
|
85
|
+
const sendMessage$2 = "Enviar mensagem";
|
|
86
|
+
const disclaimer$2 = "O assistente Xertica pode cometer erros. Considere verificar informações importantes.";
|
|
87
|
+
const recordingStarted$2 = "Gravação iniciada";
|
|
88
|
+
const recordingDescription$2 = "Fale sua mensagem...";
|
|
89
|
+
const recordingDescriptionFull$2 = "Fale sua dúvida ou comando. A gravação parará automaticamente em 60s.";
|
|
90
|
+
const podcastName$2 = "Podcast";
|
|
91
|
+
const likeToast$2 = "Obrigado por avaliar positivamente!";
|
|
92
|
+
const feedbackToast$2 = "Obrigado pelo seu feedback. Vamos melhorar.";
|
|
93
|
+
const defaultSuggestions$2 = { "createDocument": "Me ajude a criar um documento profissional", "searchFiles": 'Buscar nos meus arquivos por "relatório"', "summarizeConversations": "Resuma as conversas importantes desta semana", "createPodcast": "Crie um podcast sobre o último projeto" };
|
|
94
|
+
const voiceTranscriptions$2 = { "salesData": "Como posso analisar os dados de vendas do último trimestre?", "performanceReport": "Me ajude a criar um relatório de performance do time", "marketTrends": "Quais são as principais tendências do mercado atual?", "customerSatisfaction": "Preciso de insights sobre a satisfação dos clientes", "teamProductivity": "Como posso melhorar a produtividade da minha equipe?", "keyMetrics": "Me mostre um resumo das métricas mais importantes", "digitalMarketing": "Crie um documento sobre técnicas de marketing digital", "socialEngagement": "Analise os dados de engajamento das redes sociais" };
|
|
95
|
+
const tabs$5 = { "chat": "Chat", "chatLabel": "Ver chat", "history": "Histórico", "historyLabel": "Ver histórico de conversas", "favorites": "Favoritos", "favoritesLabel": "Ver mensagens favoritas" };
|
|
96
|
+
const actions$8 = { "createDocument": "Criar documento", "createDocumentDesc": "Gere um documento completo", "generatePodcast": "Gerar podcast", "generatePodcastDesc": "Crie um podcast de áudio", "search": "Pesquisar", "searchDesc": "Busque por informações relevantes" };
|
|
97
|
+
const feedbackDialog$2 = { "title": "Enviar feedback", "titleWithCategory": "Enviar feedback: {{category}}", "description": "Conte-nos por que essa resposta não foi útil para que possamos melhorar.", "descriptionOptional": "Gostaria de adicionar algum comentário? (Opcional)", "placeholder": "Descreva o motivo...", "placeholderOptional": "Comentário adicional...", "confirmAndSend": "Confirmar e Enviar", "send": "Enviar Feedback" };
|
|
98
|
+
const suggestions$2 = { "whatCanIAsk": "O que posso pedir para você fazer?", "whatDoYouDo": "O que você faz?", "whichProjects": "Com quais projetos devo me preocupar agora?", "nextProject": "Qual meu próximo projeto?" };
|
|
99
|
+
const richSuggestions$2 = { "viewPerformance": "Ver análise de desempenho", "generateReport": "Gerar relatório do projeto", "createDocument": "Criar documento de requisitos", "generatePodcast": "Gerar podcast de resumo diário" };
|
|
100
|
+
const feedback$2 = { "notWhatIWanted": "Não era o que eu estava procurando", "incorrectInfo": "Informações incorretas", "incompleteAnswer": "Resposta incompleta", "other": "Outros..." };
|
|
101
|
+
const __vite_glob_0_2 = {
|
|
102
|
+
title: title$m,
|
|
103
|
+
defaultUserName: defaultUserName$2,
|
|
104
|
+
defaultWelcomeMessage: defaultWelcomeMessage$2,
|
|
105
|
+
greeting: greeting$2,
|
|
106
|
+
open: open$2,
|
|
107
|
+
expand: expand$5,
|
|
108
|
+
collapse: collapse$5,
|
|
109
|
+
moreSuggestions: moreSuggestions$2,
|
|
110
|
+
back: back$2,
|
|
111
|
+
inputPlaceholder: inputPlaceholder$2,
|
|
112
|
+
uploadDocument: uploadDocument$2,
|
|
113
|
+
uploadAudio: uploadAudio$2,
|
|
114
|
+
download: download$2,
|
|
115
|
+
generatePodcast: generatePodcast$2,
|
|
116
|
+
like: like$2,
|
|
117
|
+
dislike: dislike$2,
|
|
118
|
+
copied: copied$4,
|
|
119
|
+
copyMessage: copyMessage$2,
|
|
120
|
+
audioNotSupported: audioNotSupported$2,
|
|
121
|
+
searchResultsFound: searchResultsFound$2,
|
|
122
|
+
searchSources: searchSources$2,
|
|
123
|
+
searchActions: searchActions$2,
|
|
124
|
+
searchSaved: searchSaved$2,
|
|
125
|
+
processing: processing$2,
|
|
126
|
+
newConversation: newConversation$2,
|
|
127
|
+
noFavorites: noFavorites$2,
|
|
128
|
+
noHistory: noHistory$2,
|
|
129
|
+
closeDocumentEditor: closeDocumentEditor$2,
|
|
130
|
+
documentEditorPlaceholder: documentEditorPlaceholder$2,
|
|
131
|
+
recordingAudio: recordingAudio$2,
|
|
132
|
+
stopRecording: stopRecording$2,
|
|
133
|
+
viewActions: viewActions$2,
|
|
134
|
+
attachFile: attachFile$2,
|
|
135
|
+
suggestWithVoice: suggestWithVoice$2,
|
|
136
|
+
removeAction: removeAction$2,
|
|
137
|
+
sendMessage: sendMessage$2,
|
|
138
|
+
disclaimer: disclaimer$2,
|
|
139
|
+
recordingStarted: recordingStarted$2,
|
|
140
|
+
recordingDescription: recordingDescription$2,
|
|
141
|
+
recordingDescriptionFull: recordingDescriptionFull$2,
|
|
142
|
+
podcastName: podcastName$2,
|
|
143
|
+
likeToast: likeToast$2,
|
|
144
|
+
feedbackToast: feedbackToast$2,
|
|
145
|
+
defaultSuggestions: defaultSuggestions$2,
|
|
146
|
+
voiceTranscriptions: voiceTranscriptions$2,
|
|
147
|
+
tabs: tabs$5,
|
|
148
|
+
actions: actions$8,
|
|
149
|
+
feedbackDialog: feedbackDialog$2,
|
|
150
|
+
suggestions: suggestions$2,
|
|
151
|
+
richSuggestions: richSuggestions$2,
|
|
152
|
+
feedback: feedback$2
|
|
153
|
+
};
|
|
154
|
+
const audioTitle$2 = "Áudio";
|
|
155
|
+
const video$2 = "Vídeo";
|
|
156
|
+
const untitledVideo$2 = "Vídeo sem título";
|
|
157
|
+
const play$2 = "Reproduzir";
|
|
158
|
+
const pause$2 = "Pausar";
|
|
159
|
+
const mute$2 = "Desativar som";
|
|
160
|
+
const unmute$2 = "Ativar som";
|
|
161
|
+
const restart$2 = "Recomeçar";
|
|
162
|
+
const info$2 = "Informações";
|
|
163
|
+
const speed$2 = "Velocidade";
|
|
164
|
+
const speedLabel$2 = "Velocidade ({{speed}}x)";
|
|
165
|
+
const downloadAudio$2 = "Baixar Áudio";
|
|
166
|
+
const downloadFile$2 = "Baixar arquivo";
|
|
167
|
+
const moreOptions$5 = "Mais opções";
|
|
168
|
+
const closePlayer$2 = "Fechar player";
|
|
169
|
+
const selectSpeed$2 = "Selecionar velocidade";
|
|
170
|
+
const audioInfo$2 = "Informações do áudio";
|
|
171
|
+
const playbackProgress$2 = "Progresso da reprodução";
|
|
172
|
+
const videoProgress$2 = "Progresso do vídeo";
|
|
173
|
+
const volume$2 = "Volume";
|
|
174
|
+
const floatingMode$2 = "Modo Flutuante";
|
|
175
|
+
const openFloatingMode$2 = "Abrir modo flutuante";
|
|
176
|
+
const playingMedia$2 = "Reproduzindo Mídia";
|
|
177
|
+
const playingFloating$2 = "Reproduzindo em janela flutuante";
|
|
178
|
+
const restoreToPage$2 = "Restaurar para a página";
|
|
179
|
+
const restore$2 = "Restaurar";
|
|
180
|
+
const popOut$2 = "Pop-out Player";
|
|
181
|
+
const __vite_glob_0_3 = {
|
|
182
|
+
audioTitle: audioTitle$2,
|
|
183
|
+
video: video$2,
|
|
184
|
+
untitledVideo: untitledVideo$2,
|
|
185
|
+
play: play$2,
|
|
186
|
+
pause: pause$2,
|
|
187
|
+
mute: mute$2,
|
|
188
|
+
unmute: unmute$2,
|
|
189
|
+
restart: restart$2,
|
|
190
|
+
info: info$2,
|
|
191
|
+
speed: speed$2,
|
|
192
|
+
speedLabel: speedLabel$2,
|
|
193
|
+
downloadAudio: downloadAudio$2,
|
|
194
|
+
downloadFile: downloadFile$2,
|
|
195
|
+
moreOptions: moreOptions$5,
|
|
196
|
+
closePlayer: closePlayer$2,
|
|
197
|
+
selectSpeed: selectSpeed$2,
|
|
198
|
+
audioInfo: audioInfo$2,
|
|
199
|
+
playbackProgress: playbackProgress$2,
|
|
200
|
+
videoProgress: videoProgress$2,
|
|
201
|
+
volume: volume$2,
|
|
202
|
+
floatingMode: floatingMode$2,
|
|
203
|
+
openFloatingMode: openFloatingMode$2,
|
|
204
|
+
playingMedia: playingMedia$2,
|
|
205
|
+
playingFloating: playingFloating$2,
|
|
206
|
+
restoreToPage: restoreToPage$2,
|
|
207
|
+
restore: restore$2,
|
|
208
|
+
popOut: popOut$2
|
|
209
|
+
};
|
|
210
|
+
const title$l = "Notificações";
|
|
211
|
+
const markAllRead$2 = "Marcar todas como lidas";
|
|
212
|
+
const viewAll$2 = "Ver todas as notificações";
|
|
213
|
+
const __vite_glob_0_4 = {
|
|
214
|
+
title: title$l,
|
|
215
|
+
markAllRead: markAllRead$2,
|
|
216
|
+
viewAll: viewAll$2
|
|
217
|
+
};
|
|
218
|
+
const status$b = { "online": "Online", "offline": "Offline", "away": "Ausente", "busy": "Ocupado" };
|
|
219
|
+
const __vite_glob_0_5 = {
|
|
220
|
+
status: status$b
|
|
221
|
+
};
|
|
222
|
+
const progress$2 = "Progresso";
|
|
223
|
+
const status$a = { "active": "Em andamento", "review": "Em revisão", "completed": "Concluído", "paused": "Pausado", "atRisk": "Em risco" };
|
|
224
|
+
const __vite_glob_0_6 = {
|
|
225
|
+
progress: progress$2,
|
|
226
|
+
status: status$a
|
|
227
|
+
};
|
|
228
|
+
const collapse$4 = "Recolher menu";
|
|
229
|
+
const expand$4 = "Expandir menu";
|
|
230
|
+
const mainNavigation$2 = "Navegação principal";
|
|
231
|
+
const moreOptions$4 = "Mais opções";
|
|
232
|
+
const submenu$2 = "Submenu de {{label}}";
|
|
233
|
+
const searchPlaceholder$5 = "Buscar...";
|
|
234
|
+
const closeFilters$2 = "Fechar filtros";
|
|
235
|
+
const openFilters$2 = "Abrir filtros";
|
|
236
|
+
const search$2 = "Buscar";
|
|
237
|
+
const userProfile$2 = "Perfil do usuário";
|
|
238
|
+
const profile$2 = "Perfil";
|
|
239
|
+
const logout$2 = "Sair";
|
|
240
|
+
const __vite_glob_0_7 = {
|
|
241
|
+
collapse: collapse$4,
|
|
242
|
+
expand: expand$4,
|
|
243
|
+
mainNavigation: mainNavigation$2,
|
|
244
|
+
moreOptions: moreOptions$4,
|
|
245
|
+
submenu: submenu$2,
|
|
246
|
+
searchPlaceholder: searchPlaceholder$5,
|
|
247
|
+
closeFilters: closeFilters$2,
|
|
248
|
+
openFilters: openFilters$2,
|
|
249
|
+
search: search$2,
|
|
250
|
+
userProfile: userProfile$2,
|
|
251
|
+
profile: profile$2,
|
|
252
|
+
logout: logout$2
|
|
253
|
+
};
|
|
254
|
+
const totalUsers$2 = "Total de Usuários";
|
|
255
|
+
const totalRevenue$2 = "Receita Total";
|
|
256
|
+
const conversionRate$2 = "Taxa de Conversão";
|
|
257
|
+
const last30Days$2 = "Últimos 30 dias";
|
|
258
|
+
const currentMonth$2 = "Mês atual";
|
|
259
|
+
const currentWeek$2 = "Semana atual";
|
|
260
|
+
const __vite_glob_0_8 = {
|
|
261
|
+
totalUsers: totalUsers$2,
|
|
262
|
+
totalRevenue: totalRevenue$2,
|
|
263
|
+
conversionRate: conversionRate$2,
|
|
264
|
+
last30Days: last30Days$2,
|
|
265
|
+
currentMonth: currentMonth$2,
|
|
266
|
+
currentWeek: currentWeek$2
|
|
267
|
+
};
|
|
268
|
+
const name$2 = "Nome";
|
|
269
|
+
const email$2 = "E-mail";
|
|
270
|
+
const role$2 = "Função";
|
|
271
|
+
const status$9 = "Status";
|
|
272
|
+
const actions$7 = "Ações";
|
|
273
|
+
const showing$2 = "Exibindo {{count}} de {{total}} usuários";
|
|
274
|
+
const roles$5 = { "Developer": "Desenvolvedor", "Designer": "Designer", "Manager": "Gerente", "Analyst": "Analista" };
|
|
275
|
+
const __vite_glob_0_9 = {
|
|
276
|
+
name: name$2,
|
|
277
|
+
email: email$2,
|
|
278
|
+
role: role$2,
|
|
279
|
+
status: status$9,
|
|
280
|
+
actions: actions$7,
|
|
281
|
+
showing: showing$2,
|
|
282
|
+
roles: roles$5
|
|
283
|
+
};
|
|
284
|
+
const somethingWentWrong$2 = "Algo deu errado";
|
|
285
|
+
const unexpectedError$2 = "Ocorreu um erro inesperado na aplicação. Por favor, tente novamente.";
|
|
286
|
+
const tryAgain$2 = "Tentar novamente";
|
|
287
|
+
const goHome$2 = "Ir para o início";
|
|
288
|
+
const pageLoadError$2 = "Erro ao carregar página";
|
|
289
|
+
const pageLoadErrorDesc$2 = "Esta página encontrou um problema. Por favor, tente novamente.";
|
|
290
|
+
const sectionLoadError$2 = "Não foi possível carregar este conteúdo";
|
|
291
|
+
const __vite_glob_0_10 = {
|
|
292
|
+
somethingWentWrong: somethingWentWrong$2,
|
|
293
|
+
unexpectedError: unexpectedError$2,
|
|
294
|
+
tryAgain: tryAgain$2,
|
|
295
|
+
goHome: goHome$2,
|
|
296
|
+
pageLoadError: pageLoadError$2,
|
|
297
|
+
pageLoadErrorDesc: pageLoadErrorDesc$2,
|
|
298
|
+
sectionLoadError: sectionLoadError$2
|
|
299
|
+
};
|
|
300
|
+
const label$2 = "Selecionar idioma";
|
|
301
|
+
const placeholder$2 = "Idioma";
|
|
302
|
+
const ptBR$3 = "Português (BR)";
|
|
303
|
+
const en$3 = "English";
|
|
304
|
+
const es$3 = "Español";
|
|
305
|
+
const __vite_glob_0_11 = {
|
|
306
|
+
label: label$2,
|
|
307
|
+
placeholder: placeholder$2,
|
|
308
|
+
ptBR: ptBR$3,
|
|
309
|
+
en: en$3,
|
|
310
|
+
es: es$3
|
|
311
|
+
};
|
|
312
|
+
const home$2 = "Início";
|
|
313
|
+
const template$2 = "Template";
|
|
314
|
+
const designSystem$2 = "Design System";
|
|
315
|
+
const settings$5 = "Configurações";
|
|
316
|
+
const __vite_glob_0_12 = {
|
|
317
|
+
home: home$2,
|
|
318
|
+
template: template$2,
|
|
319
|
+
designSystem: designSystem$2,
|
|
320
|
+
settings: settings$5
|
|
321
|
+
};
|
|
322
|
+
const title$k = "Membros da Equipe";
|
|
323
|
+
const subtitle$b = "Gerencie o acesso dos membros ao sistema.";
|
|
324
|
+
const newMember$2 = "Novo Membro";
|
|
325
|
+
const searchPlaceholder$4 = "Buscar email...";
|
|
326
|
+
const headers$2 = { "name": "Nome", "email": "E-mail", "role": "Cargo", "status": "Status", "action": "Ação" };
|
|
327
|
+
const roles$4 = { "administrator": "Administrador", "editor": "Editor" };
|
|
328
|
+
const status$8 = { "active": "Ativo", "inactive": "Inativo" };
|
|
329
|
+
const actions$6 = { "editProfile": "Editar Perfil", "revokeAccess": "Revogar Acesso" };
|
|
330
|
+
const __vite_glob_0_13 = {
|
|
331
|
+
title: title$k,
|
|
332
|
+
subtitle: subtitle$b,
|
|
333
|
+
newMember: newMember$2,
|
|
334
|
+
searchPlaceholder: searchPlaceholder$4,
|
|
335
|
+
headers: headers$2,
|
|
336
|
+
roles: roles$4,
|
|
337
|
+
status: status$8,
|
|
338
|
+
actions: actions$6
|
|
339
|
+
};
|
|
340
|
+
const title$j = "Dashboard";
|
|
341
|
+
const subtitle$a = "Visão geral do sistema";
|
|
342
|
+
const downloadReport$2 = "Baixar Relatório";
|
|
343
|
+
const lastMonth$2 = "no último mês";
|
|
344
|
+
const stats$2 = { "totalRevenue": "Receita Total", "totalRevenueValue": "R$ 45.231,89", "activeUsers": "Usuários Ativos", "sales": "Vendas", "retentionRate": "Taxa de Retenção" };
|
|
345
|
+
const overview$5 = "Visão Geral";
|
|
346
|
+
const chartArea$2 = "Área de Gráfico";
|
|
347
|
+
const recentEvents$2 = "Últimos Eventos";
|
|
348
|
+
const events$2 = { "userLogin": "Login de João Silva", "invoicePaid": "Fatura #INV004 paga" };
|
|
349
|
+
const __vite_glob_0_14 = {
|
|
350
|
+
title: title$j,
|
|
351
|
+
subtitle: subtitle$a,
|
|
352
|
+
downloadReport: downloadReport$2,
|
|
353
|
+
lastMonth: lastMonth$2,
|
|
354
|
+
stats: stats$2,
|
|
355
|
+
overview: overview$5,
|
|
356
|
+
chartArea: chartArea$2,
|
|
357
|
+
recentEvents: recentEvents$2,
|
|
358
|
+
events: events$2
|
|
359
|
+
};
|
|
360
|
+
const title$i = "Editar Perfil Corporativo";
|
|
361
|
+
const description$5 = "Atualize os detalhes de sua conta e defina as preferências.";
|
|
362
|
+
const fullNameLabel$2 = "Nome Completo";
|
|
363
|
+
const fullNamePlaceholder$2 = "Seu nome";
|
|
364
|
+
const emailLabel$8 = "E-mail Corporativo";
|
|
365
|
+
const emailPlaceholder$8 = "nome@exemplo.com";
|
|
366
|
+
const notifyLabel$2 = "Desejo receber notificações atualizadas por e-mail no final de cada dia constando o sumário.";
|
|
367
|
+
const successMessage$2 = "Perfil salvo com sucesso!";
|
|
368
|
+
const cancel$4 = "Cancelar";
|
|
369
|
+
const save$4 = "Salvar Alterações";
|
|
370
|
+
const errors$2 = { "fullNameRequired": "Nome completo é obrigatório", "emailInvalid": "Formato inválido" };
|
|
371
|
+
const __vite_glob_0_15 = {
|
|
372
|
+
title: title$i,
|
|
373
|
+
description: description$5,
|
|
374
|
+
fullNameLabel: fullNameLabel$2,
|
|
375
|
+
fullNamePlaceholder: fullNamePlaceholder$2,
|
|
376
|
+
emailLabel: emailLabel$8,
|
|
377
|
+
emailPlaceholder: emailPlaceholder$8,
|
|
378
|
+
notifyLabel: notifyLabel$2,
|
|
379
|
+
successMessage: successMessage$2,
|
|
380
|
+
cancel: cancel$4,
|
|
381
|
+
save: save$4,
|
|
382
|
+
errors: errors$2
|
|
383
|
+
};
|
|
384
|
+
const welcome$2 = "Bem-vindo ao Design System!";
|
|
385
|
+
const subtitle$9 = "Sua plataforma inteligente para automação e análise de dados";
|
|
386
|
+
const templateCliTitle$2 = "Template CLI";
|
|
387
|
+
const templateCliDescription$2 = "Página de template pronta para uso CLI com todos os componentes configurados.";
|
|
388
|
+
const templateClibadge$2 = "Novo";
|
|
389
|
+
const __vite_glob_0_16 = {
|
|
390
|
+
welcome: welcome$2,
|
|
391
|
+
subtitle: subtitle$9,
|
|
392
|
+
templateCliTitle: templateCliTitle$2,
|
|
393
|
+
templateCliDescription: templateCliDescription$2,
|
|
394
|
+
templateClibadge: templateClibadge$2
|
|
395
|
+
};
|
|
396
|
+
const heading$8 = "Acesse sua conta";
|
|
397
|
+
const emailLabel$7 = "E-mail";
|
|
398
|
+
const emailPlaceholder$7 = "seu@email.com";
|
|
399
|
+
const passwordLabel$5 = "Senha";
|
|
400
|
+
const submit$8 = "Entrar";
|
|
401
|
+
const submitting$5 = "Entrando...";
|
|
402
|
+
const forgotPassword$5 = "Esqueceu sua senha?";
|
|
403
|
+
const orContinueWith$2 = "ou continue com";
|
|
404
|
+
const signInWithGoogle$2 = "Entrar com Google";
|
|
405
|
+
const signInWithMTLogin$2 = "Entrar com MT Login";
|
|
406
|
+
const signInWithGovBr$2 = "Entrar com gov.br";
|
|
407
|
+
const heroImageAlt$8 = "Equipe trabalhando com tecnologia";
|
|
408
|
+
const errorFillFields$2 = "Por favor, preencha todos os campos";
|
|
409
|
+
const __vite_glob_0_17 = {
|
|
410
|
+
heading: heading$8,
|
|
411
|
+
emailLabel: emailLabel$7,
|
|
412
|
+
emailPlaceholder: emailPlaceholder$7,
|
|
413
|
+
passwordLabel: passwordLabel$5,
|
|
414
|
+
submit: submit$8,
|
|
415
|
+
submitting: submitting$5,
|
|
416
|
+
forgotPassword: forgotPassword$5,
|
|
417
|
+
orContinueWith: orContinueWith$2,
|
|
418
|
+
signInWithGoogle: signInWithGoogle$2,
|
|
419
|
+
signInWithMTLogin: signInWithMTLogin$2,
|
|
420
|
+
signInWithGovBr: signInWithGovBr$2,
|
|
421
|
+
heroImageAlt: heroImageAlt$8,
|
|
422
|
+
errorFillFields: errorFillFields$2
|
|
423
|
+
};
|
|
424
|
+
const title$h = "Acesso ao Sistema";
|
|
425
|
+
const description$4 = "Insira suas credenciais corporativas abaixo.";
|
|
426
|
+
const emailLabel$6 = "Email Corporativo";
|
|
427
|
+
const emailPlaceholder$6 = "m@xertica.com";
|
|
428
|
+
const passwordLabel$4 = "Senha";
|
|
429
|
+
const forgotPassword$4 = "Esqueceu a senha?";
|
|
430
|
+
const submit$7 = "Entrar";
|
|
431
|
+
const __vite_glob_0_18 = {
|
|
432
|
+
title: title$h,
|
|
433
|
+
description: description$4,
|
|
434
|
+
emailLabel: emailLabel$6,
|
|
435
|
+
emailPlaceholder: emailPlaceholder$6,
|
|
436
|
+
passwordLabel: passwordLabel$4,
|
|
437
|
+
forgotPassword: forgotPassword$4,
|
|
438
|
+
submit: submit$7
|
|
439
|
+
};
|
|
440
|
+
const heading$7 = "Redefinir senha";
|
|
441
|
+
const subheading$2 = "Crie uma nova senha segura para sua conta";
|
|
442
|
+
const newPasswordLabel$2 = "Nova senha";
|
|
443
|
+
const confirmPasswordLabel$2 = "Confirmar senha";
|
|
444
|
+
const requirements$2 = "Requisitos de senha:";
|
|
445
|
+
const requirementMinChars$2 = "Mínimo de 6 caracteres";
|
|
446
|
+
const requirementMatch$2 = "As senhas coincidem";
|
|
447
|
+
const submit$6 = "Redefinir senha";
|
|
448
|
+
const submitting$4 = "Redefinindo...";
|
|
449
|
+
const backToLogin$5 = "Voltar para o login";
|
|
450
|
+
const heroImageAlt$7 = "Segurança e proteção";
|
|
451
|
+
const errorMinLength$2 = "A senha deve ter pelo menos 6 caracteres";
|
|
452
|
+
const errorMismatch$2 = "As senhas não coincidem";
|
|
453
|
+
const strengthWeak$2 = "Senha fraca";
|
|
454
|
+
const strengthMedium$2 = "Senha média";
|
|
455
|
+
const strengthStrong$2 = "Senha forte";
|
|
456
|
+
const __vite_glob_0_19 = {
|
|
457
|
+
heading: heading$7,
|
|
458
|
+
subheading: subheading$2,
|
|
459
|
+
newPasswordLabel: newPasswordLabel$2,
|
|
460
|
+
confirmPasswordLabel: confirmPasswordLabel$2,
|
|
461
|
+
requirements: requirements$2,
|
|
462
|
+
requirementMinChars: requirementMinChars$2,
|
|
463
|
+
requirementMatch: requirementMatch$2,
|
|
464
|
+
submit: submit$6,
|
|
465
|
+
submitting: submitting$4,
|
|
466
|
+
backToLogin: backToLogin$5,
|
|
467
|
+
heroImageAlt: heroImageAlt$7,
|
|
468
|
+
errorMinLength: errorMinLength$2,
|
|
469
|
+
errorMismatch: errorMismatch$2,
|
|
470
|
+
strengthWeak: strengthWeak$2,
|
|
471
|
+
strengthMedium: strengthMedium$2,
|
|
472
|
+
strengthStrong: strengthStrong$2
|
|
473
|
+
};
|
|
474
|
+
const breadcrumb$2 = "Página de Template";
|
|
475
|
+
const title$g = "Página de Template";
|
|
476
|
+
const subtitle$8 = "Template completo com componentes do Xertica UI Design System";
|
|
477
|
+
const formSubmitSuccess$2 = "Formulário enviado com sucesso!";
|
|
478
|
+
const sections$2 = { "alerts": "Alertas", "cardsAndTabs": "Cards & Tabs", "buttons": "Botões", "badges": "Badges", "dialogs": "Dialogs", "sidebarVariations": "Variações da Sidebar", "enhancedComponents": "v2.2.1 — Componentes Aprimorados" };
|
|
479
|
+
const alerts$2 = { "infoTitle": "Informação", "infoDescription": "Este é um exemplo de alerta informativo usando os componentes do Design System.", "errorTitle": "Erro", "errorDescription": "Ocorreu um erro ao processar sua solicitação.", "successTitle": "Sucesso", "successDescription": "Operação realizada com sucesso!", "warningTitle": "Aviso", "warningDescription": "Atenção: esta ação não pode ser desfeita." };
|
|
480
|
+
const tabs$4 = { "overview": "Visão Geral", "forms": "Formulários", "data": "Dados", "settings": "Configurações" };
|
|
481
|
+
const overview$4 = { "progressTitle": "Progress & Sliders", "progressDescription": "Exemplos de componentes de progresso", "projectProgress": "Progresso do Projeto", "volume": "Volume", "totalUsersDemoValue": "1.234", "revenueDemoValue": "R$ 45,2k", "conversionRateDemoValue": "3,2%" };
|
|
482
|
+
const forms$2 = { "registrationTitle": "Formulário de Cadastro", "registrationDescription": "Preencha os campos abaixo para criar uma nova conta", "firstName": "Nome", "firstNamePlaceholder": "João", "lastName": "Sobrenome", "lastNamePlaceholder": "Silva", "email": "E-mail", "emailPlaceholder": "joao@exemplo.com", "phone": "Telefone", "phonePlaceholder": "(11) 99999-9999", "role": "Cargo", "rolePlaceholder": "Selecione um cargo", "roles": { "developer": "Desenvolvedor", "designer": "Designer", "manager": "Gerente", "analyst": "Analista" }, "bio": "Biografia", "bioPlaceholder": "Conte-nos um pouco sobre você...", "preferences": "Preferências", "newsletter": "Receber newsletter por e-mail", "pushNotifications": "Ativar notificações push", "featureUpdates": "Receber atualizações sobre novos recursos", "accountType": "Tipo de Conta", "accountPersonal": "Pessoal", "accountBusiness": "Empresarial", "accountEnterprise": "Enterprise", "cancel": "Cancelar", "createAccount": "Criar Conta" };
|
|
483
|
+
const data$2 = { "title": "Lista de Usuários", "description": "Gerencie os usuários do sistema", "searchPlaceholder": "Buscar usuários...", "headers": { "name": "Nome", "email": "E-mail", "role": "Cargo", "status": "Status", "actions": "Ações" }, "roles": { "developerFemale": "Desenvolvedora", "designer": "Designer", "manager": "Gerente", "analyst": "Analista" }, "status": { "active": "Ativo", "away": "Ausente", "inactive": "Inativo" }, "edit": "Editar", "showing": "Exibindo {{count}} de {{total}} usuários", "previous": "Anterior", "next": "Próximo", "demoEmailDomain": "exemplo.com" };
|
|
484
|
+
const settings$4 = { "title": "Configurações do Sistema", "description": "Gerencie as configurações gerais", "darkMode": "Modo Escuro", "darkModeDescription": "Ativar tema escuro na interface", "emailNotifications": "Notificações por E-mail", "emailNotificationsDescription": "Receber atualizações importantes por e-mail", "pushNotifications": "Notificações Push", "pushNotificationsDescription": "Receber notificações instantâneas no navegador", "language": "Idioma", "languages": { "ptBR": "Português (Brasil)", "en": "English", "es": "Español" }, "timezone": "Fuso Horário", "timezones": { "saoPaulo": "América/São Paulo (GMT-3)", "newYork": "América/Nova York (GMT-5)", "london": "Europa/Londres (GMT+0)" }, "restoreDefaults": "Restaurar Padrões", "saveChanges": "Salvar Alterações" };
|
|
485
|
+
const buttons$2 = { "title": "Variações de Botões", "description": "Diferentes estilos e tamanhos de botões", "variants": "Variantes", "sizes": "Tamanhos", "withIcons": "Com Ícones", "states": "Estados", "profile": "Perfil", "messages": "Mensagens", "schedule": "Agendar", "disabled": "Desabilitado", "outlineDisabled": "Outline Desabilitado", "variantLabels": { "default": "Padrão", "secondary": "Secundário", "outline": "Contorno", "ghost": "Ghost", "link": "Link", "destructive": "Destrutivo" }, "sizeLabels": { "small": "Pequeno", "default": "Padrão", "large": "Grande" } };
|
|
486
|
+
const badges$2 = { "title": "Variações de Badges", "description": "Diferentes estilos de badges para status e tags", "labels": { "default": "Padrão", "secondary": "Secundário", "outline": "Contorno", "destructive": "Destrutivo", "success": "Sucesso", "warning": "Aviso", "info": "Info" } };
|
|
487
|
+
const dialogs$2 = { "dialogTitle": "Dialog", "dialogDescription": "Um modal básico interativo", "editProfile": "Editar Perfil", "editProfileDescription": "Faça alterações no seu perfil aqui. Clique em salvar quando terminar.", "name": "Nome", "nameDefaultValue": "Pedro Duarte", "username": "Usuário", "usernameDefaultValue": "@pedroduarte", "update": "Atualizar", "alertDialogTitle": "Alert Dialog", "alertDialogDescription": "Um alerta para decisões importantes", "deleteAccount": "Excluir Conta", "areYouSure": "Você tem certeza absoluta?", "deleteWarning": "Esta ação não pode ser desfeita. Isso excluirá permanentemente sua conta e removerá seus dados de nossos servidores.", "cancel": "Cancelar", "continue": "Continuar" };
|
|
488
|
+
const sidebar$2 = { "title": "Sidebar Assistant Mode vs Default", "description": "A Sidebar suporta flexibilidade com a propriedade variant.", "assistantMode": "Modo Assistant", "defaultMode": "Modo Padrão", "searchTopicsPlaceholder": "Pesquisar tópicos...", "newConversation": "Nova Conversa", "recent": "Recentes", "constructionMonitoring": "Monitoramento de Obras", "items": { "sidebarRefactor": "Refatoração Sidebar", "sidebarRefactorDescription": "Ativa agora", "br163Restoration": "Restauração BR-163", "br163Location": "Cuiabá, MT" }, "actions": { "rename": "Renomear", "renameToast": "Abrir renomear...", "move": "Mover", "moveActive": "Projetos Ativos", "moveActiveToast": "Movido para Projetos Ativos", "moveMonitoring": "Monitoramento", "moveMonitoringToast": "Movido para Monitoramento", "moveArchive": "Arquivo", "moveArchiveToast": "Movido para Arquivo", "clear": "Limpar", "clearToast": "Histórico Limpo!", "newCategory": "Nova Categoria", "newCategoryToast": "Criar nova categoria...", "archiveGroup": "Arquivar Grupo", "archiveGroupToast": "Arquivando grupo..." }, "logoutToast": "Saiu", "settingsClickedToast": "Configurações clicadas", "routes": { "home": "Início", "dashboard": "Dashboard", "settings": "Configurações" }, "assistantContent": "Conteúdo do Assistant Mode", "defaultContent": "Navegação Tradicional do Sistema" };
|
|
489
|
+
const enhanced$2 = { "pagination": { "title": "Pagination", "description": "Navegação por páginas com a prop <code>disabled</code> em Previous/Next — ARIA e foco acessíveis.", "pageOfTotal": "Página {{current}} de {{total}} — algoritmo Set-deduplicado garante unicidade de itens" }, "stepper": { "title": "Stepper", "description": 'Wizard multi-etapas com <code>role="list"</code>, <code>aria-current="step"</code> e <code>initialStep</code> clampado automaticamente.', "step1Label": "Dados pessoais", "step1Description": "Nome e e-mail", "step2Label": "Endereço", "step2Description": "CEP e cidade", "step3Label": "Confirmação", "step3Description": "Revisar e enviar", "previous": "Anterior", "next": "Próximo", "finish": "Concluir" }, "treeView": { "title": "TreeView", "description": "Navegação hierárquica com <code>ariaLabel</code>, roving tabindex e teclado WAI-ARIA (Espaço expande/colapsa, Enter seleciona).", "ariaLabel": "Estrutura de componentes", "selectedConsoleLog": "Selecionado:", "nodes": { "components": "Componentes", "ui": "UI", "button": "Botão", "input": "Input", "pagination": "Paginação", "layout": "Layout", "sidebar": "Sidebar", "header": "Header", "hooks": "Hooks" } }, "richText": { "title": "RichTextEditor", "description": 'Editor rich text com <code>role="textbox"</code>, <code>aria-multiline</code> e contadores via <code>useState</code> (sem IIFE).', "placeholder": "Escreva aqui..." } };
|
|
490
|
+
const footer$2 = { "title": "Template CLI-Ready", "subtitle": "Como usar este template", "descriptionPart1": "Este template está pronto para ser usado como base para novos projetos. Todos os componentes são importados da biblioteca ", "descriptionPart2": " e seguem a arquitetura CLI-first do Xertica UI.", "tipTitle": "Dica", "tipDescriptionPart1": "Copie este arquivo como ponto de partida para suas páginas. Todos os componentes são reutilizáveis e customizáveis através das variáveis CSS definidas em ", "tipDescriptionPart2": "." };
|
|
491
|
+
const headerWithBreadcrumbs$2 = { "sectionTitle": "Cabeçalho com Breadcrumbs", "cardTitle": "Cabeçalho Principal", "cardDescription": "Exemplo de Header com breadcrumbs de 4 níveis", "exampleContentTitle": "Conteúdo de Exemplo", "exampleContentDescriptionPart1": "Neste exemplo, o componente ", "exampleContentDescriptionPart2": " principal da aplicação agora suporta receber um array de breadcrumbs para navegações complexas com mais de 3 níveis.", "breadcrumbs": { "dashboard": "Dashboard", "settings": "Configurações", "users": "Usuários", "accessProfile": "Perfil de Acesso" } };
|
|
492
|
+
const headerVariations$2 = { "sectionTitle": "Variações de Cabeçalho", "cardTitle": "Configurações do Cabeçalho Principal", "cardDescription": "O Header é focado em navegação (breadcrumbs) e ações contextuais rápidas.", "visibleElements": "Elementos Visíveis", "actionButtons": "Botões de Ação", "breadcrumbsLabel": "Breadcrumbs", "preview": "Visualização", "currentPage": "Página Atual", "contentArea": "Área de Conteúdo da Página", "breadcrumbBrand": "Xertica UI", "breadcrumbSettings": "Configurações", "breadcrumbProfile": "Perfil", "notificationsOpenedToast": "Notificações abertas", "messagesLabel": "Mensagens", "messagesOpenedToast": "Mensagens abertas" };
|
|
493
|
+
const sidebarControls$2 = { "footerSettings": "Configurações do Rodapé", "userProfile": "Perfil do Usuário", "settings": "Configurações", "logoutButton": "Botão de Sair", "sidebarWidthDesktop": "Largura da Sidebar (Desktop)", "sidebarWidthAriaLabel": "Largura da Sidebar", "filterByStatus": "Filtrar por Status", "filterActive": "Ativo", "filterArchived": "Arquivado", "filterPending": "Pendente" };
|
|
494
|
+
const __vite_glob_0_20 = {
|
|
495
|
+
breadcrumb: breadcrumb$2,
|
|
496
|
+
title: title$g,
|
|
497
|
+
subtitle: subtitle$8,
|
|
498
|
+
formSubmitSuccess: formSubmitSuccess$2,
|
|
499
|
+
sections: sections$2,
|
|
500
|
+
alerts: alerts$2,
|
|
501
|
+
tabs: tabs$4,
|
|
502
|
+
overview: overview$4,
|
|
503
|
+
forms: forms$2,
|
|
504
|
+
data: data$2,
|
|
505
|
+
settings: settings$4,
|
|
506
|
+
buttons: buttons$2,
|
|
507
|
+
badges: badges$2,
|
|
508
|
+
dialogs: dialogs$2,
|
|
509
|
+
sidebar: sidebar$2,
|
|
510
|
+
enhanced: enhanced$2,
|
|
511
|
+
footer: footer$2,
|
|
512
|
+
headerWithBreadcrumbs: headerWithBreadcrumbs$2,
|
|
513
|
+
headerVariations: headerVariations$2,
|
|
514
|
+
sidebarControls: sidebarControls$2
|
|
515
|
+
};
|
|
516
|
+
const heading$6 = "Verifique seu e-mail";
|
|
517
|
+
const instructionsSent$2 = "Enviamos as instruções para redefinir sua senha para:";
|
|
518
|
+
const instructions$2 = "Siga as instruções no e-mail para redefinir sua senha. O link expira em 24 horas.";
|
|
519
|
+
const checkSpam$2 = "Verifique sua pasta de spam se não encontrar o e-mail";
|
|
520
|
+
const notReceived$2 = "Não recebeu o e-mail?";
|
|
521
|
+
const resend$2 = "Reenviar e-mail";
|
|
522
|
+
const resending$2 = "Reenviando...";
|
|
523
|
+
const resentSuccess$2 = "E-mail reenviado com sucesso!";
|
|
524
|
+
const backToLogin$4 = "Voltar para o login";
|
|
525
|
+
const heroImageAlt$6 = "E-mail e comunicação";
|
|
526
|
+
const __vite_glob_0_21 = {
|
|
527
|
+
heading: heading$6,
|
|
528
|
+
instructionsSent: instructionsSent$2,
|
|
529
|
+
instructions: instructions$2,
|
|
530
|
+
checkSpam: checkSpam$2,
|
|
531
|
+
notReceived: notReceived$2,
|
|
532
|
+
resend: resend$2,
|
|
533
|
+
resending: resending$2,
|
|
534
|
+
resentSuccess: resentSuccess$2,
|
|
535
|
+
backToLogin: backToLogin$4,
|
|
536
|
+
heroImageAlt: heroImageAlt$6
|
|
537
|
+
};
|
|
538
|
+
const switchToLight$2 = "Mudar para tema claro";
|
|
539
|
+
const switchToDark$2 = "Mudar para tema escuro";
|
|
540
|
+
const lightMode$2 = "Modo Claro";
|
|
541
|
+
const darkMode$2 = "Modo Escuro";
|
|
542
|
+
const __vite_glob_0_22 = {
|
|
543
|
+
switchToLight: switchToLight$2,
|
|
544
|
+
switchToDark: switchToDark$2,
|
|
545
|
+
lightMode: lightMode$2,
|
|
546
|
+
darkMode: darkMode$2
|
|
547
|
+
};
|
|
548
|
+
const view$1 = "View";
|
|
549
|
+
const edit$1 = "Edit";
|
|
550
|
+
const cancel$3 = "Cancel";
|
|
551
|
+
const save$3 = "Save";
|
|
552
|
+
const confirm$1 = "Confirm";
|
|
553
|
+
const loading$1 = "Loading...";
|
|
554
|
+
const error$1 = "Error";
|
|
555
|
+
const previous$1 = "Previous";
|
|
556
|
+
const next$1 = "Next";
|
|
557
|
+
const active$1 = "Active";
|
|
558
|
+
const inactive$1 = "Inactive";
|
|
559
|
+
const away$1 = "Away";
|
|
560
|
+
const close$1 = "Close";
|
|
561
|
+
const copied$3 = "Copied";
|
|
562
|
+
const copyCode$1 = "Copy code";
|
|
563
|
+
const seeMore$1 = "See more";
|
|
564
|
+
const seeLess$1 = "See less";
|
|
565
|
+
const __vite_glob_1_0 = {
|
|
566
|
+
view: view$1,
|
|
567
|
+
edit: edit$1,
|
|
568
|
+
"delete": "Delete",
|
|
569
|
+
cancel: cancel$3,
|
|
570
|
+
save: save$3,
|
|
571
|
+
confirm: confirm$1,
|
|
572
|
+
loading: loading$1,
|
|
573
|
+
error: error$1,
|
|
574
|
+
previous: previous$1,
|
|
575
|
+
next: next$1,
|
|
576
|
+
"new": "New",
|
|
577
|
+
active: active$1,
|
|
578
|
+
inactive: inactive$1,
|
|
579
|
+
away: away$1,
|
|
580
|
+
close: close$1,
|
|
581
|
+
copied: copied$3,
|
|
582
|
+
copyCode: copyCode$1,
|
|
583
|
+
seeMore: seeMore$1,
|
|
584
|
+
seeLess: seeLess$1
|
|
585
|
+
};
|
|
586
|
+
const title$f = "Recent Activity";
|
|
587
|
+
const type$1 = { "create": "Created", "update": "Updated", "remove": "Removed", "comment": "Commented", "deploy": "Deploy" };
|
|
588
|
+
const __vite_glob_1_1 = {
|
|
589
|
+
title: title$f,
|
|
590
|
+
type: type$1
|
|
591
|
+
};
|
|
592
|
+
const title$e = "Xertica Assistant";
|
|
593
|
+
const defaultUserName$1 = "User";
|
|
594
|
+
const defaultWelcomeMessage$1 = "How can I help you?";
|
|
595
|
+
const greeting$1 = "Hello, {{name}}";
|
|
596
|
+
const open$1 = "Open assistant";
|
|
597
|
+
const expand$3 = "Expand assistant";
|
|
598
|
+
const collapse$3 = "Collapse assistant";
|
|
599
|
+
const moreSuggestions$1 = "More suggestions";
|
|
600
|
+
const back$1 = "Back";
|
|
601
|
+
const inputPlaceholder$1 = "Send a message";
|
|
602
|
+
const uploadDocument$1 = "Upload document";
|
|
603
|
+
const uploadAudio$1 = "Upload audio";
|
|
604
|
+
const download$1 = "Download";
|
|
605
|
+
const generatePodcast$1 = "Generate Podcast";
|
|
606
|
+
const like$1 = "Like";
|
|
607
|
+
const dislike$1 = "Dislike";
|
|
608
|
+
const copied$2 = "Copied";
|
|
609
|
+
const copyMessage$1 = "Copy message";
|
|
610
|
+
const audioNotSupported$1 = "Your browser does not support the audio element.";
|
|
611
|
+
const searchResultsFound$1 = "Results Found";
|
|
612
|
+
const searchSources$1 = "Consulted Sources";
|
|
613
|
+
const searchActions$1 = "What you can do with these results";
|
|
614
|
+
const searchSaved$1 = "Search saved";
|
|
615
|
+
const processing$1 = "Processing...";
|
|
616
|
+
const newConversation$1 = "New Conversation";
|
|
617
|
+
const noFavorites$1 = "No favorite conversations yet";
|
|
618
|
+
const noHistory$1 = "No conversation history";
|
|
619
|
+
const closeDocumentEditor$1 = "Close document editor";
|
|
620
|
+
const documentEditorPlaceholder$1 = "Start typing the content of your document here...";
|
|
621
|
+
const recordingAudio$1 = "Recording audio";
|
|
622
|
+
const stopRecording$1 = "Stop recording";
|
|
623
|
+
const viewActions$1 = "View actions";
|
|
624
|
+
const attachFile$1 = "Attach file";
|
|
625
|
+
const suggestWithVoice$1 = "Suggest with voice";
|
|
626
|
+
const removeAction$1 = "Remove action";
|
|
627
|
+
const sendMessage$1 = "Send message";
|
|
628
|
+
const disclaimer$1 = "The Xertica assistant may make mistakes. Consider verifying important information.";
|
|
629
|
+
const recordingStarted$1 = "Recording started";
|
|
630
|
+
const recordingDescription$1 = "Speak your message...";
|
|
631
|
+
const recordingDescriptionFull$1 = "Speak your question or command. Recording will stop automatically in 60s.";
|
|
632
|
+
const podcastName$1 = "Podcast";
|
|
633
|
+
const likeToast$1 = "Thank you for the positive rating!";
|
|
634
|
+
const feedbackToast$1 = "Thank you for your feedback. We will improve.";
|
|
635
|
+
const defaultSuggestions$1 = { "createDocument": "Help me create a professional document", "searchFiles": 'Search my files for "report"', "summarizeConversations": "Summarize the important conversations from this week", "createPodcast": "Create a podcast about the last project" };
|
|
636
|
+
const voiceTranscriptions$1 = { "salesData": "How can I analyze last quarter's sales data?", "performanceReport": "Help me create a team performance report", "marketTrends": "What are the main current market trends?", "customerSatisfaction": "I need insights on customer satisfaction", "teamProductivity": "How can I improve my team's productivity?", "keyMetrics": "Show me a summary of the most important metrics", "digitalMarketing": "Create a document on digital marketing techniques", "socialEngagement": "Analyze the social media engagement data" };
|
|
637
|
+
const tabs$3 = { "chat": "Chat", "chatLabel": "View chat", "history": "History", "historyLabel": "View conversation history", "favorites": "Favorites", "favoritesLabel": "View favorite messages" };
|
|
638
|
+
const actions$5 = { "createDocument": "Create document", "createDocumentDesc": "Generate a complete document", "generatePodcast": "Generate podcast", "generatePodcastDesc": "Create an audio podcast", "search": "Search", "searchDesc": "Search for relevant information" };
|
|
639
|
+
const feedbackDialog$1 = { "title": "Send feedback", "titleWithCategory": "Send feedback: {{category}}", "description": "Tell us why this response was not helpful so we can improve.", "descriptionOptional": "Would you like to add a comment? (Optional)", "placeholder": "Describe the reason...", "placeholderOptional": "Additional comment...", "confirmAndSend": "Confirm and Send", "send": "Send Feedback" };
|
|
640
|
+
const suggestions$1 = { "whatCanIAsk": "What can I ask you to do?", "whatDoYouDo": "What do you do?", "whichProjects": "Which projects should I focus on now?", "nextProject": "What is my next project?" };
|
|
641
|
+
const richSuggestions$1 = { "viewPerformance": "View performance analysis", "generateReport": "Generate project report", "createDocument": "Create requirements document", "generatePodcast": "Generate daily summary podcast" };
|
|
642
|
+
const feedback$1 = { "notWhatIWanted": "Not what I was looking for", "incorrectInfo": "Incorrect information", "incompleteAnswer": "Incomplete answer", "other": "Other..." };
|
|
643
|
+
const __vite_glob_1_2 = {
|
|
644
|
+
title: title$e,
|
|
645
|
+
defaultUserName: defaultUserName$1,
|
|
646
|
+
defaultWelcomeMessage: defaultWelcomeMessage$1,
|
|
647
|
+
greeting: greeting$1,
|
|
648
|
+
open: open$1,
|
|
649
|
+
expand: expand$3,
|
|
650
|
+
collapse: collapse$3,
|
|
651
|
+
moreSuggestions: moreSuggestions$1,
|
|
652
|
+
back: back$1,
|
|
653
|
+
inputPlaceholder: inputPlaceholder$1,
|
|
654
|
+
uploadDocument: uploadDocument$1,
|
|
655
|
+
uploadAudio: uploadAudio$1,
|
|
656
|
+
download: download$1,
|
|
657
|
+
generatePodcast: generatePodcast$1,
|
|
658
|
+
like: like$1,
|
|
659
|
+
dislike: dislike$1,
|
|
660
|
+
copied: copied$2,
|
|
661
|
+
copyMessage: copyMessage$1,
|
|
662
|
+
audioNotSupported: audioNotSupported$1,
|
|
663
|
+
searchResultsFound: searchResultsFound$1,
|
|
664
|
+
searchSources: searchSources$1,
|
|
665
|
+
searchActions: searchActions$1,
|
|
666
|
+
searchSaved: searchSaved$1,
|
|
667
|
+
processing: processing$1,
|
|
668
|
+
newConversation: newConversation$1,
|
|
669
|
+
noFavorites: noFavorites$1,
|
|
670
|
+
noHistory: noHistory$1,
|
|
671
|
+
closeDocumentEditor: closeDocumentEditor$1,
|
|
672
|
+
documentEditorPlaceholder: documentEditorPlaceholder$1,
|
|
673
|
+
recordingAudio: recordingAudio$1,
|
|
674
|
+
stopRecording: stopRecording$1,
|
|
675
|
+
viewActions: viewActions$1,
|
|
676
|
+
attachFile: attachFile$1,
|
|
677
|
+
suggestWithVoice: suggestWithVoice$1,
|
|
678
|
+
removeAction: removeAction$1,
|
|
679
|
+
sendMessage: sendMessage$1,
|
|
680
|
+
disclaimer: disclaimer$1,
|
|
681
|
+
recordingStarted: recordingStarted$1,
|
|
682
|
+
recordingDescription: recordingDescription$1,
|
|
683
|
+
recordingDescriptionFull: recordingDescriptionFull$1,
|
|
684
|
+
podcastName: podcastName$1,
|
|
685
|
+
likeToast: likeToast$1,
|
|
686
|
+
feedbackToast: feedbackToast$1,
|
|
687
|
+
defaultSuggestions: defaultSuggestions$1,
|
|
688
|
+
voiceTranscriptions: voiceTranscriptions$1,
|
|
689
|
+
tabs: tabs$3,
|
|
690
|
+
actions: actions$5,
|
|
691
|
+
feedbackDialog: feedbackDialog$1,
|
|
692
|
+
suggestions: suggestions$1,
|
|
693
|
+
richSuggestions: richSuggestions$1,
|
|
694
|
+
feedback: feedback$1
|
|
695
|
+
};
|
|
696
|
+
const audioTitle$1 = "Audio";
|
|
697
|
+
const video$1 = "Video";
|
|
698
|
+
const untitledVideo$1 = "Untitled Video";
|
|
699
|
+
const play$1 = "Play";
|
|
700
|
+
const pause$1 = "Pause";
|
|
701
|
+
const mute$1 = "Mute";
|
|
702
|
+
const unmute$1 = "Unmute";
|
|
703
|
+
const restart$1 = "Restart";
|
|
704
|
+
const info$1 = "Info";
|
|
705
|
+
const speed$1 = "Speed";
|
|
706
|
+
const speedLabel$1 = "Speed ({{speed}}x)";
|
|
707
|
+
const downloadAudio$1 = "Download Audio";
|
|
708
|
+
const downloadFile$1 = "Download file";
|
|
709
|
+
const moreOptions$3 = "More options";
|
|
710
|
+
const closePlayer$1 = "Close player";
|
|
711
|
+
const selectSpeed$1 = "Select speed";
|
|
712
|
+
const audioInfo$1 = "Audio info";
|
|
713
|
+
const playbackProgress$1 = "Playback progress";
|
|
714
|
+
const videoProgress$1 = "Video progress";
|
|
715
|
+
const volume$1 = "Volume";
|
|
716
|
+
const floatingMode$1 = "Floating Mode";
|
|
717
|
+
const openFloatingMode$1 = "Open floating mode";
|
|
718
|
+
const playingMedia$1 = "Playing Media";
|
|
719
|
+
const playingFloating$1 = "Playing in floating window";
|
|
720
|
+
const restoreToPage$1 = "Restore to page";
|
|
721
|
+
const restore$1 = "Restore";
|
|
722
|
+
const popOut$1 = "Pop-out Player";
|
|
723
|
+
const __vite_glob_1_3 = {
|
|
724
|
+
audioTitle: audioTitle$1,
|
|
725
|
+
video: video$1,
|
|
726
|
+
untitledVideo: untitledVideo$1,
|
|
727
|
+
play: play$1,
|
|
728
|
+
pause: pause$1,
|
|
729
|
+
mute: mute$1,
|
|
730
|
+
unmute: unmute$1,
|
|
731
|
+
restart: restart$1,
|
|
732
|
+
info: info$1,
|
|
733
|
+
speed: speed$1,
|
|
734
|
+
speedLabel: speedLabel$1,
|
|
735
|
+
downloadAudio: downloadAudio$1,
|
|
736
|
+
downloadFile: downloadFile$1,
|
|
737
|
+
moreOptions: moreOptions$3,
|
|
738
|
+
closePlayer: closePlayer$1,
|
|
739
|
+
selectSpeed: selectSpeed$1,
|
|
740
|
+
audioInfo: audioInfo$1,
|
|
741
|
+
playbackProgress: playbackProgress$1,
|
|
742
|
+
videoProgress: videoProgress$1,
|
|
743
|
+
volume: volume$1,
|
|
744
|
+
floatingMode: floatingMode$1,
|
|
745
|
+
openFloatingMode: openFloatingMode$1,
|
|
746
|
+
playingMedia: playingMedia$1,
|
|
747
|
+
playingFloating: playingFloating$1,
|
|
748
|
+
restoreToPage: restoreToPage$1,
|
|
749
|
+
restore: restore$1,
|
|
750
|
+
popOut: popOut$1
|
|
751
|
+
};
|
|
752
|
+
const title$d = "Notifications";
|
|
753
|
+
const markAllRead$1 = "Mark all as read";
|
|
754
|
+
const viewAll$1 = "View all notifications";
|
|
755
|
+
const __vite_glob_1_4 = {
|
|
756
|
+
title: title$d,
|
|
757
|
+
markAllRead: markAllRead$1,
|
|
758
|
+
viewAll: viewAll$1
|
|
759
|
+
};
|
|
760
|
+
const status$7 = { "online": "Online", "offline": "Offline", "away": "Away", "busy": "Busy" };
|
|
761
|
+
const __vite_glob_1_5 = {
|
|
762
|
+
status: status$7
|
|
763
|
+
};
|
|
764
|
+
const progress$1 = "Progress";
|
|
765
|
+
const status$6 = { "active": "In progress", "review": "Under review", "completed": "Completed", "paused": "Paused", "atRisk": "At risk" };
|
|
766
|
+
const __vite_glob_1_6 = {
|
|
767
|
+
progress: progress$1,
|
|
768
|
+
status: status$6
|
|
769
|
+
};
|
|
770
|
+
const collapse$2 = "Collapse menu";
|
|
771
|
+
const expand$2 = "Expand menu";
|
|
772
|
+
const mainNavigation$1 = "Main navigation";
|
|
773
|
+
const moreOptions$2 = "More options";
|
|
774
|
+
const submenu$1 = "Submenu of {{label}}";
|
|
775
|
+
const searchPlaceholder$3 = "Search...";
|
|
776
|
+
const closeFilters$1 = "Close filters";
|
|
777
|
+
const openFilters$1 = "Open filters";
|
|
778
|
+
const search$1 = "Search";
|
|
779
|
+
const userProfile$1 = "User profile";
|
|
780
|
+
const profile$1 = "Profile";
|
|
781
|
+
const logout$1 = "Sign out";
|
|
782
|
+
const __vite_glob_1_7 = {
|
|
783
|
+
collapse: collapse$2,
|
|
784
|
+
expand: expand$2,
|
|
785
|
+
mainNavigation: mainNavigation$1,
|
|
786
|
+
moreOptions: moreOptions$2,
|
|
787
|
+
submenu: submenu$1,
|
|
788
|
+
searchPlaceholder: searchPlaceholder$3,
|
|
789
|
+
closeFilters: closeFilters$1,
|
|
790
|
+
openFilters: openFilters$1,
|
|
791
|
+
search: search$1,
|
|
792
|
+
userProfile: userProfile$1,
|
|
793
|
+
profile: profile$1,
|
|
794
|
+
logout: logout$1
|
|
795
|
+
};
|
|
796
|
+
const totalUsers$1 = "Total Users";
|
|
797
|
+
const totalRevenue$1 = "Total Revenue";
|
|
798
|
+
const conversionRate$1 = "Conversion Rate";
|
|
799
|
+
const last30Days$1 = "Last 30 days";
|
|
800
|
+
const currentMonth$1 = "Current month";
|
|
801
|
+
const currentWeek$1 = "Current week";
|
|
802
|
+
const __vite_glob_1_8 = {
|
|
803
|
+
totalUsers: totalUsers$1,
|
|
804
|
+
totalRevenue: totalRevenue$1,
|
|
805
|
+
conversionRate: conversionRate$1,
|
|
806
|
+
last30Days: last30Days$1,
|
|
807
|
+
currentMonth: currentMonth$1,
|
|
808
|
+
currentWeek: currentWeek$1
|
|
809
|
+
};
|
|
810
|
+
const name$1 = "Name";
|
|
811
|
+
const email$1 = "Email";
|
|
812
|
+
const role$1 = "Role";
|
|
813
|
+
const status$5 = "Status";
|
|
814
|
+
const actions$4 = "Actions";
|
|
815
|
+
const showing$1 = "Showing {{count}} of {{total}} users";
|
|
816
|
+
const roles$3 = { "Developer": "Developer", "Designer": "Designer", "Manager": "Manager", "Analyst": "Analyst" };
|
|
817
|
+
const __vite_glob_1_9 = {
|
|
818
|
+
name: name$1,
|
|
819
|
+
email: email$1,
|
|
820
|
+
role: role$1,
|
|
821
|
+
status: status$5,
|
|
822
|
+
actions: actions$4,
|
|
823
|
+
showing: showing$1,
|
|
824
|
+
roles: roles$3
|
|
825
|
+
};
|
|
826
|
+
const somethingWentWrong$1 = "Something went wrong";
|
|
827
|
+
const unexpectedError$1 = "An unexpected error occurred in the application. Please try again.";
|
|
828
|
+
const tryAgain$1 = "Try again";
|
|
829
|
+
const goHome$1 = "Go to home";
|
|
830
|
+
const pageLoadError$1 = "Error loading page";
|
|
831
|
+
const pageLoadErrorDesc$1 = "This page encountered a problem. Please try again.";
|
|
832
|
+
const sectionLoadError$1 = "Could not load this content";
|
|
833
|
+
const __vite_glob_1_10 = {
|
|
834
|
+
somethingWentWrong: somethingWentWrong$1,
|
|
835
|
+
unexpectedError: unexpectedError$1,
|
|
836
|
+
tryAgain: tryAgain$1,
|
|
837
|
+
goHome: goHome$1,
|
|
838
|
+
pageLoadError: pageLoadError$1,
|
|
839
|
+
pageLoadErrorDesc: pageLoadErrorDesc$1,
|
|
840
|
+
sectionLoadError: sectionLoadError$1
|
|
841
|
+
};
|
|
842
|
+
const label$1 = "Select language";
|
|
843
|
+
const placeholder$1 = "Language";
|
|
844
|
+
const ptBR$2 = "Português (BR)";
|
|
845
|
+
const en$2 = "English";
|
|
846
|
+
const es$2 = "Español";
|
|
847
|
+
const __vite_glob_1_11 = {
|
|
848
|
+
label: label$1,
|
|
849
|
+
placeholder: placeholder$1,
|
|
850
|
+
ptBR: ptBR$2,
|
|
851
|
+
en: en$2,
|
|
852
|
+
es: es$2
|
|
853
|
+
};
|
|
854
|
+
const home$1 = "Home";
|
|
855
|
+
const template$1 = "Template";
|
|
856
|
+
const designSystem$1 = "Design System";
|
|
857
|
+
const settings$3 = "Settings";
|
|
858
|
+
const __vite_glob_1_12 = {
|
|
859
|
+
home: home$1,
|
|
860
|
+
template: template$1,
|
|
861
|
+
designSystem: designSystem$1,
|
|
862
|
+
settings: settings$3
|
|
863
|
+
};
|
|
864
|
+
const title$c = "Team Members";
|
|
865
|
+
const subtitle$7 = "Manage member access to the system.";
|
|
866
|
+
const newMember$1 = "New Member";
|
|
867
|
+
const searchPlaceholder$2 = "Search email...";
|
|
868
|
+
const headers$1 = { "name": "Name", "email": "Email", "role": "Role", "status": "Status", "action": "Action" };
|
|
869
|
+
const roles$2 = { "administrator": "Administrator", "editor": "Editor" };
|
|
870
|
+
const status$4 = { "active": "Active", "inactive": "Inactive" };
|
|
871
|
+
const actions$3 = { "editProfile": "Edit Profile", "revokeAccess": "Revoke Access" };
|
|
872
|
+
const __vite_glob_1_13 = {
|
|
873
|
+
title: title$c,
|
|
874
|
+
subtitle: subtitle$7,
|
|
875
|
+
newMember: newMember$1,
|
|
876
|
+
searchPlaceholder: searchPlaceholder$2,
|
|
877
|
+
headers: headers$1,
|
|
878
|
+
roles: roles$2,
|
|
879
|
+
status: status$4,
|
|
880
|
+
actions: actions$3
|
|
881
|
+
};
|
|
882
|
+
const title$b = "Dashboard";
|
|
883
|
+
const subtitle$6 = "System overview";
|
|
884
|
+
const downloadReport$1 = "Download Report";
|
|
885
|
+
const lastMonth$1 = "from last month";
|
|
886
|
+
const stats$1 = { "totalRevenue": "Total Revenue", "totalRevenueValue": "$45,231.89", "activeUsers": "Active Users", "sales": "Sales", "retentionRate": "Retention Rate" };
|
|
887
|
+
const overview$3 = "Overview";
|
|
888
|
+
const chartArea$1 = "Chart Area";
|
|
889
|
+
const recentEvents$1 = "Recent Events";
|
|
890
|
+
const events$1 = { "userLogin": "Login by João Silva", "invoicePaid": "Invoice #INV004 paid" };
|
|
891
|
+
const __vite_glob_1_14 = {
|
|
892
|
+
title: title$b,
|
|
893
|
+
subtitle: subtitle$6,
|
|
894
|
+
downloadReport: downloadReport$1,
|
|
895
|
+
lastMonth: lastMonth$1,
|
|
896
|
+
stats: stats$1,
|
|
897
|
+
overview: overview$3,
|
|
898
|
+
chartArea: chartArea$1,
|
|
899
|
+
recentEvents: recentEvents$1,
|
|
900
|
+
events: events$1
|
|
901
|
+
};
|
|
902
|
+
const title$a = "Edit Corporate Profile";
|
|
903
|
+
const description$3 = "Update your account details and set your preferences.";
|
|
904
|
+
const fullNameLabel$1 = "Full Name";
|
|
905
|
+
const fullNamePlaceholder$1 = "Your name";
|
|
906
|
+
const emailLabel$5 = "Corporate Email";
|
|
907
|
+
const emailPlaceholder$5 = "name@example.com";
|
|
908
|
+
const notifyLabel$1 = "I want to receive updated notifications by email at the end of each day with a summary.";
|
|
909
|
+
const successMessage$1 = "Profile saved successfully!";
|
|
910
|
+
const cancel$2 = "Cancel";
|
|
911
|
+
const save$2 = "Save Changes";
|
|
912
|
+
const errors$1 = { "fullNameRequired": "Full name is required", "emailInvalid": "Invalid format" };
|
|
913
|
+
const __vite_glob_1_15 = {
|
|
914
|
+
title: title$a,
|
|
915
|
+
description: description$3,
|
|
916
|
+
fullNameLabel: fullNameLabel$1,
|
|
917
|
+
fullNamePlaceholder: fullNamePlaceholder$1,
|
|
918
|
+
emailLabel: emailLabel$5,
|
|
919
|
+
emailPlaceholder: emailPlaceholder$5,
|
|
920
|
+
notifyLabel: notifyLabel$1,
|
|
921
|
+
successMessage: successMessage$1,
|
|
922
|
+
cancel: cancel$2,
|
|
923
|
+
save: save$2,
|
|
924
|
+
errors: errors$1
|
|
925
|
+
};
|
|
926
|
+
const welcome$1 = "Welcome to the Design System!";
|
|
927
|
+
const subtitle$5 = "Your intelligent platform for automation and data analysis";
|
|
928
|
+
const templateCliTitle$1 = "Template CLI";
|
|
929
|
+
const templateCliDescription$1 = "Ready-to-use CLI template page with all components configured.";
|
|
930
|
+
const templateClibadge$1 = "New";
|
|
931
|
+
const __vite_glob_1_16 = {
|
|
932
|
+
welcome: welcome$1,
|
|
933
|
+
subtitle: subtitle$5,
|
|
934
|
+
templateCliTitle: templateCliTitle$1,
|
|
935
|
+
templateCliDescription: templateCliDescription$1,
|
|
936
|
+
templateClibadge: templateClibadge$1
|
|
937
|
+
};
|
|
938
|
+
const heading$5 = "Access your account";
|
|
939
|
+
const emailLabel$4 = "Email";
|
|
940
|
+
const emailPlaceholder$4 = "your@email.com";
|
|
941
|
+
const passwordLabel$3 = "Password";
|
|
942
|
+
const submit$5 = "Sign in";
|
|
943
|
+
const submitting$3 = "Signing in...";
|
|
944
|
+
const forgotPassword$3 = "Forgot your password?";
|
|
945
|
+
const orContinueWith$1 = "or continue with";
|
|
946
|
+
const signInWithGoogle$1 = "Sign in with Google";
|
|
947
|
+
const signInWithMTLogin$1 = "Sign in with MT Login";
|
|
948
|
+
const signInWithGovBr$1 = "Sign in with gov.br";
|
|
949
|
+
const heroImageAlt$5 = "Team working with technology";
|
|
950
|
+
const errorFillFields$1 = "Please fill in all fields";
|
|
951
|
+
const __vite_glob_1_17 = {
|
|
952
|
+
heading: heading$5,
|
|
953
|
+
emailLabel: emailLabel$4,
|
|
954
|
+
emailPlaceholder: emailPlaceholder$4,
|
|
955
|
+
passwordLabel: passwordLabel$3,
|
|
956
|
+
submit: submit$5,
|
|
957
|
+
submitting: submitting$3,
|
|
958
|
+
forgotPassword: forgotPassword$3,
|
|
959
|
+
orContinueWith: orContinueWith$1,
|
|
960
|
+
signInWithGoogle: signInWithGoogle$1,
|
|
961
|
+
signInWithMTLogin: signInWithMTLogin$1,
|
|
962
|
+
signInWithGovBr: signInWithGovBr$1,
|
|
963
|
+
heroImageAlt: heroImageAlt$5,
|
|
964
|
+
errorFillFields: errorFillFields$1
|
|
965
|
+
};
|
|
966
|
+
const title$9 = "System Access";
|
|
967
|
+
const description$2 = "Enter your corporate credentials below.";
|
|
968
|
+
const emailLabel$3 = "Corporate Email";
|
|
969
|
+
const emailPlaceholder$3 = "m@xertica.com";
|
|
970
|
+
const passwordLabel$2 = "Password";
|
|
971
|
+
const forgotPassword$2 = "Forgot password?";
|
|
972
|
+
const submit$4 = "Sign in";
|
|
973
|
+
const __vite_glob_1_18 = {
|
|
974
|
+
title: title$9,
|
|
975
|
+
description: description$2,
|
|
976
|
+
emailLabel: emailLabel$3,
|
|
977
|
+
emailPlaceholder: emailPlaceholder$3,
|
|
978
|
+
passwordLabel: passwordLabel$2,
|
|
979
|
+
forgotPassword: forgotPassword$2,
|
|
980
|
+
submit: submit$4
|
|
981
|
+
};
|
|
982
|
+
const heading$4 = "Reset password";
|
|
983
|
+
const subheading$1 = "Create a new secure password for your account";
|
|
984
|
+
const newPasswordLabel$1 = "New password";
|
|
985
|
+
const confirmPasswordLabel$1 = "Confirm password";
|
|
986
|
+
const requirements$1 = "Password requirements:";
|
|
987
|
+
const requirementMinChars$1 = "At least 6 characters";
|
|
988
|
+
const requirementMatch$1 = "Passwords match";
|
|
989
|
+
const submit$3 = "Reset password";
|
|
990
|
+
const submitting$2 = "Resetting...";
|
|
991
|
+
const backToLogin$3 = "Back to login";
|
|
992
|
+
const heroImageAlt$4 = "Security and protection";
|
|
993
|
+
const errorMinLength$1 = "Password must be at least 6 characters";
|
|
994
|
+
const errorMismatch$1 = "Passwords do not match";
|
|
995
|
+
const strengthWeak$1 = "Weak password";
|
|
996
|
+
const strengthMedium$1 = "Medium password";
|
|
997
|
+
const strengthStrong$1 = "Strong password";
|
|
998
|
+
const __vite_glob_1_19 = {
|
|
999
|
+
heading: heading$4,
|
|
1000
|
+
subheading: subheading$1,
|
|
1001
|
+
newPasswordLabel: newPasswordLabel$1,
|
|
1002
|
+
confirmPasswordLabel: confirmPasswordLabel$1,
|
|
1003
|
+
requirements: requirements$1,
|
|
1004
|
+
requirementMinChars: requirementMinChars$1,
|
|
1005
|
+
requirementMatch: requirementMatch$1,
|
|
1006
|
+
submit: submit$3,
|
|
1007
|
+
submitting: submitting$2,
|
|
1008
|
+
backToLogin: backToLogin$3,
|
|
1009
|
+
heroImageAlt: heroImageAlt$4,
|
|
1010
|
+
errorMinLength: errorMinLength$1,
|
|
1011
|
+
errorMismatch: errorMismatch$1,
|
|
1012
|
+
strengthWeak: strengthWeak$1,
|
|
1013
|
+
strengthMedium: strengthMedium$1,
|
|
1014
|
+
strengthStrong: strengthStrong$1
|
|
1015
|
+
};
|
|
1016
|
+
const breadcrumb$1 = "Template Page";
|
|
1017
|
+
const title$8 = "Template Page";
|
|
1018
|
+
const subtitle$4 = "Complete template with components from the Xertica UI Design System";
|
|
1019
|
+
const formSubmitSuccess$1 = "Form submitted successfully!";
|
|
1020
|
+
const sections$1 = { "alerts": "Alerts", "cardsAndTabs": "Cards & Tabs", "buttons": "Buttons", "badges": "Badges", "dialogs": "Dialogs", "sidebarVariations": "Sidebar Variations", "enhancedComponents": "v2.2.1 — Enhanced Components" };
|
|
1021
|
+
const alerts$1 = { "infoTitle": "Information", "infoDescription": "This is an example of an informational alert using Design System components.", "errorTitle": "Error", "errorDescription": "An error occurred while processing your request.", "successTitle": "Success", "successDescription": "Operation completed successfully!", "warningTitle": "Warning", "warningDescription": "Warning: this action cannot be undone." };
|
|
1022
|
+
const tabs$2 = { "overview": "Overview", "forms": "Forms", "data": "Data", "settings": "Settings" };
|
|
1023
|
+
const overview$2 = { "progressTitle": "Progress & Sliders", "progressDescription": "Examples of progress components", "projectProgress": "Project Progress", "volume": "Volume", "totalUsersDemoValue": "1,234", "revenueDemoValue": "$45.2k", "conversionRateDemoValue": "3.2%" };
|
|
1024
|
+
const forms$1 = { "registrationTitle": "Registration Form", "registrationDescription": "Fill in the fields below to create a new account", "firstName": "First name", "firstNamePlaceholder": "John", "lastName": "Last name", "lastNamePlaceholder": "Doe", "email": "Email", "emailPlaceholder": "john@example.com", "phone": "Phone", "phonePlaceholder": "(555) 123-4567", "role": "Role", "rolePlaceholder": "Select a role", "roles": { "developer": "Developer", "designer": "Designer", "manager": "Manager", "analyst": "Analyst" }, "bio": "Biography", "bioPlaceholder": "Tell us a bit about yourself...", "preferences": "Preferences", "newsletter": "Receive newsletter by email", "pushNotifications": "Enable push notifications", "featureUpdates": "Receive updates about new features", "accountType": "Account Type", "accountPersonal": "Personal", "accountBusiness": "Business", "accountEnterprise": "Enterprise", "cancel": "Cancel", "createAccount": "Create Account" };
|
|
1025
|
+
const data$1 = { "title": "User List", "description": "Manage system users", "searchPlaceholder": "Search users...", "headers": { "name": "Name", "email": "Email", "role": "Role", "status": "Status", "actions": "Actions" }, "roles": { "developerFemale": "Developer", "designer": "Designer", "manager": "Manager", "analyst": "Analyst" }, "status": { "active": "Active", "away": "Away", "inactive": "Inactive" }, "edit": "Edit", "showing": "Showing {{count}} of {{total}} users", "previous": "Previous", "next": "Next", "demoEmailDomain": "example.com" };
|
|
1026
|
+
const settings$2 = { "title": "System Settings", "description": "Manage general settings", "darkMode": "Dark Mode", "darkModeDescription": "Enable dark theme in the interface", "emailNotifications": "Email Notifications", "emailNotificationsDescription": "Receive important updates by email", "pushNotifications": "Push Notifications", "pushNotificationsDescription": "Receive instant notifications in the browser", "language": "Language", "languages": { "ptBR": "Português (Brazil)", "en": "English", "es": "Español" }, "timezone": "Time Zone", "timezones": { "saoPaulo": "America/Sao Paulo (GMT-3)", "newYork": "America/New York (GMT-5)", "london": "Europe/London (GMT+0)" }, "restoreDefaults": "Restore Defaults", "saveChanges": "Save Changes" };
|
|
1027
|
+
const buttons$1 = { "title": "Button Variations", "description": "Different button styles and sizes", "variants": "Variants", "sizes": "Sizes", "withIcons": "With Icons", "states": "States", "profile": "Profile", "messages": "Messages", "schedule": "Schedule", "disabled": "Disabled", "outlineDisabled": "Outline Disabled", "variantLabels": { "default": "Default", "secondary": "Secondary", "outline": "Outline", "ghost": "Ghost", "link": "Link", "destructive": "Destructive" }, "sizeLabels": { "small": "Small", "default": "Default", "large": "Large" } };
|
|
1028
|
+
const badges$1 = { "title": "Badge Variations", "description": "Different badge styles for statuses and tags", "labels": { "default": "Default", "secondary": "Secondary", "outline": "Outline", "destructive": "Destructive", "success": "Success", "warning": "Warning", "info": "Info" } };
|
|
1029
|
+
const dialogs$1 = { "dialogTitle": "Dialog", "dialogDescription": "A basic interactive modal", "editProfile": "Edit Profile", "editProfileDescription": "Make changes to your profile here. Click save when you're done.", "name": "Name", "nameDefaultValue": "Pedro Duarte", "username": "Username", "usernameDefaultValue": "@pedroduarte", "update": "Update", "alertDialogTitle": "Alert Dialog", "alertDialogDescription": "An alert for important decisions", "deleteAccount": "Delete Account", "areYouSure": "Are you absolutely sure?", "deleteWarning": "This action cannot be undone. This will permanently delete your account and remove your data from our servers.", "cancel": "Cancel", "continue": "Continue" };
|
|
1030
|
+
const sidebar$1 = { "title": "Sidebar Assistant Mode vs Default", "description": "The Sidebar supports flexibility through the variant property.", "assistantMode": "Assistant Mode", "defaultMode": "Default Mode", "searchTopicsPlaceholder": "Search topics...", "newConversation": "New Conversation", "recent": "Recent", "constructionMonitoring": "Construction Monitoring", "items": { "sidebarRefactor": "Sidebar Refactor", "sidebarRefactorDescription": "Active now", "br163Restoration": "BR-163 Restoration", "br163Location": "Cuiabá, MT" }, "actions": { "rename": "Rename", "renameToast": "Open rename...", "move": "Move", "moveActive": "Active Projects", "moveActiveToast": "Moved to Active Projects", "moveMonitoring": "Monitoring", "moveMonitoringToast": "Moved to Monitoring", "moveArchive": "Archive", "moveArchiveToast": "Moved to Archive", "clear": "Clear", "clearToast": "History cleared!", "newCategory": "New Category", "newCategoryToast": "Create new category...", "archiveGroup": "Archive Group", "archiveGroupToast": "Archiving group..." }, "logoutToast": "Signed out", "settingsClickedToast": "Settings clicked", "routes": { "home": "Home", "dashboard": "Dashboard", "settings": "Settings" }, "assistantContent": "Assistant Mode Content", "defaultContent": "Traditional System Navigation" };
|
|
1031
|
+
const enhanced$1 = { "pagination": { "title": "Pagination", "description": "Page navigation with the <code>disabled</code> prop on Previous/Next — accessible ARIA and focus.", "pageOfTotal": "Page {{current}} of {{total}} — Set-deduplicated algorithm guarantees item uniqueness" }, "stepper": { "title": "Stepper", "description": 'Multi-step wizard with <code>role="list"</code>, <code>aria-current="step"</code> and <code>initialStep</code> automatically clamped.', "step1Label": "Personal data", "step1Description": "Name and email", "step2Label": "Address", "step2Description": "ZIP code and city", "step3Label": "Confirmation", "step3Description": "Review and submit", "previous": "Previous", "next": "Next", "finish": "Finish" }, "treeView": { "title": "TreeView", "description": "Hierarchical navigation with <code>ariaLabel</code>, roving tabindex and WAI-ARIA keyboard (Space expands/collapses, Enter selects).", "ariaLabel": "Component structure", "selectedConsoleLog": "Selected:", "nodes": { "components": "Components", "ui": "UI", "button": "Button", "input": "Input", "pagination": "Pagination", "layout": "Layout", "sidebar": "Sidebar", "header": "Header", "hooks": "Hooks" } }, "richText": { "title": "RichTextEditor", "description": 'Rich text editor with <code>role="textbox"</code>, <code>aria-multiline</code> and counters via <code>useState</code> (without IIFE).', "placeholder": "Write here..." } };
|
|
1032
|
+
const footer$1 = { "title": "Template CLI-Ready", "subtitle": "How to use this template", "descriptionPart1": "This template is ready to be used as a base for new projects. All components are imported from the ", "descriptionPart2": " library and follow Xertica UI's CLI-first architecture.", "tipTitle": "Tip", "tipDescriptionPart1": "Copy this file as a starting point for your pages. All components are reusable and customizable through the CSS variables defined in ", "tipDescriptionPart2": "." };
|
|
1033
|
+
const headerWithBreadcrumbs$1 = { "sectionTitle": "Header with Breadcrumbs", "cardTitle": "Main Header", "cardDescription": "Example of a Header with 4-level breadcrumbs", "exampleContentTitle": "Example Content", "exampleContentDescriptionPart1": "In this example, the ", "exampleContentDescriptionPart2": " component of the application now supports an array of breadcrumbs for complex navigations with more than 3 levels.", "breadcrumbs": { "dashboard": "Dashboard", "settings": "Settings", "users": "Users", "accessProfile": "Access Profile" } };
|
|
1034
|
+
const headerVariations$1 = { "sectionTitle": "Header Variations", "cardTitle": "Main Header Settings", "cardDescription": "The Header focuses on navigation (breadcrumbs) and quick contextual actions.", "visibleElements": "Visible Elements", "actionButtons": "Action Buttons", "breadcrumbsLabel": "Breadcrumbs", "preview": "Preview", "currentPage": "Current Page", "contentArea": "Page Content Area", "breadcrumbBrand": "Xertica UI", "breadcrumbSettings": "Settings", "breadcrumbProfile": "Profile", "notificationsOpenedToast": "Notifications opened", "messagesLabel": "Messages", "messagesOpenedToast": "Messages opened" };
|
|
1035
|
+
const sidebarControls$1 = { "footerSettings": "Footer Settings", "userProfile": "User Profile", "settings": "Settings", "logoutButton": "Logout Button", "sidebarWidthDesktop": "Sidebar Width (Desktop)", "sidebarWidthAriaLabel": "Sidebar Width", "filterByStatus": "Filter by Status", "filterActive": "Active", "filterArchived": "Archived", "filterPending": "Pending" };
|
|
1036
|
+
const __vite_glob_1_20 = {
|
|
1037
|
+
breadcrumb: breadcrumb$1,
|
|
1038
|
+
title: title$8,
|
|
1039
|
+
subtitle: subtitle$4,
|
|
1040
|
+
formSubmitSuccess: formSubmitSuccess$1,
|
|
1041
|
+
sections: sections$1,
|
|
1042
|
+
alerts: alerts$1,
|
|
1043
|
+
tabs: tabs$2,
|
|
1044
|
+
overview: overview$2,
|
|
1045
|
+
forms: forms$1,
|
|
1046
|
+
data: data$1,
|
|
1047
|
+
settings: settings$2,
|
|
1048
|
+
buttons: buttons$1,
|
|
1049
|
+
badges: badges$1,
|
|
1050
|
+
dialogs: dialogs$1,
|
|
1051
|
+
sidebar: sidebar$1,
|
|
1052
|
+
enhanced: enhanced$1,
|
|
1053
|
+
footer: footer$1,
|
|
1054
|
+
headerWithBreadcrumbs: headerWithBreadcrumbs$1,
|
|
1055
|
+
headerVariations: headerVariations$1,
|
|
1056
|
+
sidebarControls: sidebarControls$1
|
|
1057
|
+
};
|
|
1058
|
+
const heading$3 = "Check your email";
|
|
1059
|
+
const instructionsSent$1 = "We sent the instructions to reset your password to:";
|
|
1060
|
+
const instructions$1 = "Follow the instructions in the email to reset your password. The link expires in 24 hours.";
|
|
1061
|
+
const checkSpam$1 = "Check your spam folder if you don't find the email";
|
|
1062
|
+
const notReceived$1 = "Didn't receive the email?";
|
|
1063
|
+
const resend$1 = "Resend email";
|
|
1064
|
+
const resending$1 = "Resending...";
|
|
1065
|
+
const resentSuccess$1 = "Email resent successfully!";
|
|
1066
|
+
const backToLogin$2 = "Back to login";
|
|
1067
|
+
const heroImageAlt$3 = "Email and communication";
|
|
1068
|
+
const __vite_glob_1_21 = {
|
|
1069
|
+
heading: heading$3,
|
|
1070
|
+
instructionsSent: instructionsSent$1,
|
|
1071
|
+
instructions: instructions$1,
|
|
1072
|
+
checkSpam: checkSpam$1,
|
|
1073
|
+
notReceived: notReceived$1,
|
|
1074
|
+
resend: resend$1,
|
|
1075
|
+
resending: resending$1,
|
|
1076
|
+
resentSuccess: resentSuccess$1,
|
|
1077
|
+
backToLogin: backToLogin$2,
|
|
1078
|
+
heroImageAlt: heroImageAlt$3
|
|
1079
|
+
};
|
|
1080
|
+
const switchToLight$1 = "Switch to light theme";
|
|
1081
|
+
const switchToDark$1 = "Switch to dark theme";
|
|
1082
|
+
const lightMode$1 = "Light Mode";
|
|
1083
|
+
const darkMode$1 = "Dark Mode";
|
|
1084
|
+
const __vite_glob_1_22 = {
|
|
1085
|
+
switchToLight: switchToLight$1,
|
|
1086
|
+
switchToDark: switchToDark$1,
|
|
1087
|
+
lightMode: lightMode$1,
|
|
1088
|
+
darkMode: darkMode$1
|
|
1089
|
+
};
|
|
1090
|
+
const view = "Ver";
|
|
1091
|
+
const edit = "Editar";
|
|
1092
|
+
const cancel$1 = "Cancelar";
|
|
1093
|
+
const save$1 = "Guardar";
|
|
1094
|
+
const confirm = "Confirmar";
|
|
1095
|
+
const loading = "Cargando...";
|
|
1096
|
+
const error = "Error";
|
|
1097
|
+
const previous = "Anterior";
|
|
1098
|
+
const next = "Siguiente";
|
|
1099
|
+
const active = "Activo";
|
|
1100
|
+
const inactive = "Inactivo";
|
|
1101
|
+
const away = "Ausente";
|
|
1102
|
+
const close = "Cerrar";
|
|
1103
|
+
const copied$1 = "Copiado";
|
|
1104
|
+
const copyCode = "Copiar código";
|
|
1105
|
+
const seeMore = "Ver más";
|
|
1106
|
+
const seeLess = "Ver menos";
|
|
1107
|
+
const __vite_glob_2_0 = {
|
|
1108
|
+
view,
|
|
1109
|
+
edit,
|
|
1110
|
+
"delete": "Eliminar",
|
|
1111
|
+
cancel: cancel$1,
|
|
1112
|
+
save: save$1,
|
|
1113
|
+
confirm,
|
|
1114
|
+
loading,
|
|
1115
|
+
error,
|
|
1116
|
+
previous,
|
|
1117
|
+
next,
|
|
1118
|
+
"new": "Nuevo",
|
|
1119
|
+
active,
|
|
1120
|
+
inactive,
|
|
1121
|
+
away,
|
|
1122
|
+
close,
|
|
1123
|
+
copied: copied$1,
|
|
1124
|
+
copyCode,
|
|
1125
|
+
seeMore,
|
|
1126
|
+
seeLess
|
|
1127
|
+
};
|
|
1128
|
+
const title$7 = "Actividad Reciente";
|
|
1129
|
+
const type = { "create": "Creado", "update": "Actualizado", "remove": "Eliminado", "comment": "Comentó", "deploy": "Deploy" };
|
|
1130
|
+
const __vite_glob_2_1 = {
|
|
1131
|
+
title: title$7,
|
|
1132
|
+
type
|
|
1133
|
+
};
|
|
1134
|
+
const title$6 = "Asistente Xertica";
|
|
1135
|
+
const defaultUserName = "Usuario";
|
|
1136
|
+
const defaultWelcomeMessage = "¿Cómo puedo ayudarte?";
|
|
1137
|
+
const greeting = "Hola, {{name}}";
|
|
1138
|
+
const open = "Abrir asistente";
|
|
1139
|
+
const expand$1 = "Expandir asistente";
|
|
1140
|
+
const collapse$1 = "Contraer asistente";
|
|
1141
|
+
const moreSuggestions = "Más sugerencias";
|
|
1142
|
+
const back = "Volver";
|
|
1143
|
+
const inputPlaceholder = "Envía un mensaje";
|
|
1144
|
+
const uploadDocument = "Subir documento";
|
|
1145
|
+
const uploadAudio = "Subir audio";
|
|
1146
|
+
const download = "Descargar";
|
|
1147
|
+
const generatePodcast = "Generar Podcast";
|
|
1148
|
+
const like = "Me gusta";
|
|
1149
|
+
const dislike = "No me gusta";
|
|
1150
|
+
const copied = "Copiado";
|
|
1151
|
+
const copyMessage = "Copiar mensaje";
|
|
1152
|
+
const audioNotSupported = "Tu navegador no soporta el elemento de audio.";
|
|
1153
|
+
const searchResultsFound = "Resultados Encontrados";
|
|
1154
|
+
const searchSources = "Fuentes Consultadas";
|
|
1155
|
+
const searchActions = "Lo que puedes hacer con estos resultados";
|
|
1156
|
+
const searchSaved = "Búsqueda guardada";
|
|
1157
|
+
const processing = "Procesando...";
|
|
1158
|
+
const newConversation = "Nueva Conversación";
|
|
1159
|
+
const noFavorites = "Aún no hay conversaciones favoritas";
|
|
1160
|
+
const noHistory = "No hay historial de conversaciones";
|
|
1161
|
+
const closeDocumentEditor = "Cerrar editor de documento";
|
|
1162
|
+
const documentEditorPlaceholder = "Empieza a escribir el contenido de tu documento aquí...";
|
|
1163
|
+
const recordingAudio = "Grabando audio";
|
|
1164
|
+
const stopRecording = "Detener grabación";
|
|
1165
|
+
const viewActions = "Ver acciones";
|
|
1166
|
+
const attachFile = "Adjuntar archivo";
|
|
1167
|
+
const suggestWithVoice = "Sugerir con voz";
|
|
1168
|
+
const removeAction = "Eliminar acción";
|
|
1169
|
+
const sendMessage = "Enviar mensaje";
|
|
1170
|
+
const disclaimer = "El asistente Xertica puede cometer errores. Considere verificar información importante.";
|
|
1171
|
+
const recordingStarted = "Grabación iniciada";
|
|
1172
|
+
const recordingDescription = "Habla tu mensaje...";
|
|
1173
|
+
const recordingDescriptionFull = "Habla tu pregunta o comando. La grabación se detendrá automáticamente en 60s.";
|
|
1174
|
+
const podcastName = "Podcast";
|
|
1175
|
+
const likeToast = "¡Gracias por la valoración positiva!";
|
|
1176
|
+
const feedbackToast = "Gracias por tu comentario. Vamos a mejorar.";
|
|
1177
|
+
const defaultSuggestions = { "createDocument": "Ayúdame a crear un documento profesional", "searchFiles": 'Buscar en mis archivos por "informe"', "summarizeConversations": "Resume las conversaciones importantes de esta semana", "createPodcast": "Crea un podcast sobre el último proyecto" };
|
|
1178
|
+
const voiceTranscriptions = { "salesData": "¿Cómo puedo analizar los datos de ventas del último trimestre?", "performanceReport": "Ayúdame a crear un informe de rendimiento del equipo", "marketTrends": "¿Cuáles son las principales tendencias del mercado actual?", "customerSatisfaction": "Necesito información sobre la satisfacción de los clientes", "teamProductivity": "¿Cómo puedo mejorar la productividad de mi equipo?", "keyMetrics": "Muéstrame un resumen de las métricas más importantes", "digitalMarketing": "Crea un documento sobre técnicas de marketing digital", "socialEngagement": "Analiza los datos de participación en redes sociales" };
|
|
1179
|
+
const tabs$1 = { "chat": "Chat", "chatLabel": "Ver chat", "history": "Historial", "historyLabel": "Ver historial de conversaciones", "favorites": "Favoritos", "favoritesLabel": "Ver mensajes favoritos" };
|
|
1180
|
+
const actions$2 = { "createDocument": "Crear documento", "createDocumentDesc": "Genera un documento completo", "generatePodcast": "Generar podcast", "generatePodcastDesc": "Crea un podcast de audio", "search": "Buscar", "searchDesc": "Busca información relevante" };
|
|
1181
|
+
const feedbackDialog = { "title": "Enviar comentario", "titleWithCategory": "Enviar comentario: {{category}}", "description": "Cuéntanos por qué esta respuesta no fue útil para que podamos mejorar.", "descriptionOptional": "¿Te gustaría agregar algún comentario? (Opcional)", "placeholder": "Describe el motivo...", "placeholderOptional": "Comentario adicional...", "confirmAndSend": "Confirmar y Enviar", "send": "Enviar Comentario" };
|
|
1182
|
+
const suggestions = { "whatCanIAsk": "¿Qué puedo pedirte que hagas?", "whatDoYouDo": "¿Qué haces?", "whichProjects": "¿En qué proyectos debo enfocarme ahora?", "nextProject": "¿Cuál es mi próximo proyecto?" };
|
|
1183
|
+
const richSuggestions = { "viewPerformance": "Ver análisis de rendimiento", "generateReport": "Generar informe del proyecto", "createDocument": "Crear documento de requisitos", "generatePodcast": "Generar podcast de resumen diario" };
|
|
1184
|
+
const feedback = { "notWhatIWanted": "No era lo que buscaba", "incorrectInfo": "Información incorrecta", "incompleteAnswer": "Respuesta incompleta", "other": "Otros..." };
|
|
1185
|
+
const __vite_glob_2_2 = {
|
|
1186
|
+
title: title$6,
|
|
1187
|
+
defaultUserName,
|
|
1188
|
+
defaultWelcomeMessage,
|
|
1189
|
+
greeting,
|
|
1190
|
+
open,
|
|
1191
|
+
expand: expand$1,
|
|
1192
|
+
collapse: collapse$1,
|
|
1193
|
+
moreSuggestions,
|
|
1194
|
+
back,
|
|
1195
|
+
inputPlaceholder,
|
|
1196
|
+
uploadDocument,
|
|
1197
|
+
uploadAudio,
|
|
1198
|
+
download,
|
|
1199
|
+
generatePodcast,
|
|
1200
|
+
like,
|
|
1201
|
+
dislike,
|
|
1202
|
+
copied,
|
|
1203
|
+
copyMessage,
|
|
1204
|
+
audioNotSupported,
|
|
1205
|
+
searchResultsFound,
|
|
1206
|
+
searchSources,
|
|
1207
|
+
searchActions,
|
|
1208
|
+
searchSaved,
|
|
1209
|
+
processing,
|
|
1210
|
+
newConversation,
|
|
1211
|
+
noFavorites,
|
|
1212
|
+
noHistory,
|
|
1213
|
+
closeDocumentEditor,
|
|
1214
|
+
documentEditorPlaceholder,
|
|
1215
|
+
recordingAudio,
|
|
1216
|
+
stopRecording,
|
|
1217
|
+
viewActions,
|
|
1218
|
+
attachFile,
|
|
1219
|
+
suggestWithVoice,
|
|
1220
|
+
removeAction,
|
|
1221
|
+
sendMessage,
|
|
1222
|
+
disclaimer,
|
|
1223
|
+
recordingStarted,
|
|
1224
|
+
recordingDescription,
|
|
1225
|
+
recordingDescriptionFull,
|
|
1226
|
+
podcastName,
|
|
1227
|
+
likeToast,
|
|
1228
|
+
feedbackToast,
|
|
1229
|
+
defaultSuggestions,
|
|
1230
|
+
voiceTranscriptions,
|
|
1231
|
+
tabs: tabs$1,
|
|
1232
|
+
actions: actions$2,
|
|
1233
|
+
feedbackDialog,
|
|
1234
|
+
suggestions,
|
|
1235
|
+
richSuggestions,
|
|
1236
|
+
feedback
|
|
1237
|
+
};
|
|
1238
|
+
const audioTitle = "Audio";
|
|
1239
|
+
const video = "Video";
|
|
1240
|
+
const untitledVideo = "Video sin título";
|
|
1241
|
+
const play = "Reproducir";
|
|
1242
|
+
const pause = "Pausar";
|
|
1243
|
+
const mute = "Silenciar";
|
|
1244
|
+
const unmute = "Activar sonido";
|
|
1245
|
+
const restart = "Reiniciar";
|
|
1246
|
+
const info = "Información";
|
|
1247
|
+
const speed = "Velocidad";
|
|
1248
|
+
const speedLabel = "Velocidad ({{speed}}x)";
|
|
1249
|
+
const downloadAudio = "Descargar Audio";
|
|
1250
|
+
const downloadFile = "Descargar archivo";
|
|
1251
|
+
const moreOptions$1 = "Más opciones";
|
|
1252
|
+
const closePlayer = "Cerrar reproductor";
|
|
1253
|
+
const selectSpeed = "Seleccionar velocidad";
|
|
1254
|
+
const audioInfo = "Información del audio";
|
|
1255
|
+
const playbackProgress = "Progreso de reproducción";
|
|
1256
|
+
const videoProgress = "Progreso del video";
|
|
1257
|
+
const volume = "Volumen";
|
|
1258
|
+
const floatingMode = "Modo Flotante";
|
|
1259
|
+
const openFloatingMode = "Abrir modo flotante";
|
|
1260
|
+
const playingMedia = "Reproduciendo Medios";
|
|
1261
|
+
const playingFloating = "Reproduciendo en ventana flotante";
|
|
1262
|
+
const restoreToPage = "Restaurar a la página";
|
|
1263
|
+
const restore = "Restaurar";
|
|
1264
|
+
const popOut = "Reproductor emergente";
|
|
1265
|
+
const __vite_glob_2_3 = {
|
|
1266
|
+
audioTitle,
|
|
1267
|
+
video,
|
|
1268
|
+
untitledVideo,
|
|
1269
|
+
play,
|
|
1270
|
+
pause,
|
|
1271
|
+
mute,
|
|
1272
|
+
unmute,
|
|
1273
|
+
restart,
|
|
1274
|
+
info,
|
|
1275
|
+
speed,
|
|
1276
|
+
speedLabel,
|
|
1277
|
+
downloadAudio,
|
|
1278
|
+
downloadFile,
|
|
1279
|
+
moreOptions: moreOptions$1,
|
|
1280
|
+
closePlayer,
|
|
1281
|
+
selectSpeed,
|
|
1282
|
+
audioInfo,
|
|
1283
|
+
playbackProgress,
|
|
1284
|
+
videoProgress,
|
|
1285
|
+
volume,
|
|
1286
|
+
floatingMode,
|
|
1287
|
+
openFloatingMode,
|
|
1288
|
+
playingMedia,
|
|
1289
|
+
playingFloating,
|
|
1290
|
+
restoreToPage,
|
|
1291
|
+
restore,
|
|
1292
|
+
popOut
|
|
1293
|
+
};
|
|
1294
|
+
const title$5 = "Notificaciones";
|
|
1295
|
+
const markAllRead = "Marcar todas como leídas";
|
|
1296
|
+
const viewAll = "Ver todas las notificaciones";
|
|
1297
|
+
const __vite_glob_2_4 = {
|
|
1298
|
+
title: title$5,
|
|
1299
|
+
markAllRead,
|
|
1300
|
+
viewAll
|
|
1301
|
+
};
|
|
1302
|
+
const status$3 = { "online": "En línea", "offline": "Desconectado", "away": "Ausente", "busy": "Ocupado" };
|
|
1303
|
+
const __vite_glob_2_5 = {
|
|
1304
|
+
status: status$3
|
|
1305
|
+
};
|
|
1306
|
+
const progress = "Progreso";
|
|
1307
|
+
const status$2 = { "active": "En curso", "review": "En revisión", "completed": "Completado", "paused": "Pausado", "atRisk": "En riesgo" };
|
|
1308
|
+
const __vite_glob_2_6 = {
|
|
1309
|
+
progress,
|
|
1310
|
+
status: status$2
|
|
1311
|
+
};
|
|
1312
|
+
const collapse = "Contraer menú";
|
|
1313
|
+
const expand = "Expandir menú";
|
|
1314
|
+
const mainNavigation = "Navegación principal";
|
|
1315
|
+
const moreOptions = "Más opciones";
|
|
1316
|
+
const submenu = "Submenú de {{label}}";
|
|
1317
|
+
const searchPlaceholder$1 = "Buscar...";
|
|
1318
|
+
const closeFilters = "Cerrar filtros";
|
|
1319
|
+
const openFilters = "Abrir filtros";
|
|
1320
|
+
const search = "Buscar";
|
|
1321
|
+
const userProfile = "Perfil de usuario";
|
|
1322
|
+
const profile = "Perfil";
|
|
1323
|
+
const logout = "Cerrar sesión";
|
|
1324
|
+
const __vite_glob_2_7 = {
|
|
1325
|
+
collapse,
|
|
1326
|
+
expand,
|
|
1327
|
+
mainNavigation,
|
|
1328
|
+
moreOptions,
|
|
1329
|
+
submenu,
|
|
1330
|
+
searchPlaceholder: searchPlaceholder$1,
|
|
1331
|
+
closeFilters,
|
|
1332
|
+
openFilters,
|
|
1333
|
+
search,
|
|
1334
|
+
userProfile,
|
|
1335
|
+
profile,
|
|
1336
|
+
logout
|
|
1337
|
+
};
|
|
1338
|
+
const totalUsers = "Total de Usuarios";
|
|
1339
|
+
const totalRevenue = "Ingresos Totales";
|
|
1340
|
+
const conversionRate = "Tasa de Conversión";
|
|
1341
|
+
const last30Days = "Últimos 30 días";
|
|
1342
|
+
const currentMonth = "Mes actual";
|
|
1343
|
+
const currentWeek = "Semana actual";
|
|
1344
|
+
const __vite_glob_2_8 = {
|
|
1345
|
+
totalUsers,
|
|
1346
|
+
totalRevenue,
|
|
1347
|
+
conversionRate,
|
|
1348
|
+
last30Days,
|
|
1349
|
+
currentMonth,
|
|
1350
|
+
currentWeek
|
|
1351
|
+
};
|
|
1352
|
+
const name = "Nombre";
|
|
1353
|
+
const email = "Correo";
|
|
1354
|
+
const role = "Rol";
|
|
1355
|
+
const status$1 = "Estado";
|
|
1356
|
+
const actions$1 = "Acciones";
|
|
1357
|
+
const showing = "Mostrando {{count}} de {{total}} usuarios";
|
|
1358
|
+
const roles$1 = { "Developer": "Desarrollador", "Designer": "Diseñador", "Manager": "Gerente", "Analyst": "Analista" };
|
|
1359
|
+
const __vite_glob_2_9 = {
|
|
1360
|
+
name,
|
|
1361
|
+
email,
|
|
1362
|
+
role,
|
|
1363
|
+
status: status$1,
|
|
1364
|
+
actions: actions$1,
|
|
1365
|
+
showing,
|
|
1366
|
+
roles: roles$1
|
|
1367
|
+
};
|
|
1368
|
+
const somethingWentWrong = "Algo salió mal";
|
|
1369
|
+
const unexpectedError = "Ocurrió un error inesperado en la aplicación. Por favor, inténtalo de nuevo.";
|
|
1370
|
+
const tryAgain = "Intentar de nuevo";
|
|
1371
|
+
const goHome = "Ir al inicio";
|
|
1372
|
+
const pageLoadError = "Error al cargar la página";
|
|
1373
|
+
const pageLoadErrorDesc = "Esta página encontró un problema. Por favor, inténtalo de nuevo.";
|
|
1374
|
+
const sectionLoadError = "No se pudo cargar este contenido";
|
|
1375
|
+
const __vite_glob_2_10 = {
|
|
1376
|
+
somethingWentWrong,
|
|
1377
|
+
unexpectedError,
|
|
1378
|
+
tryAgain,
|
|
1379
|
+
goHome,
|
|
1380
|
+
pageLoadError,
|
|
1381
|
+
pageLoadErrorDesc,
|
|
1382
|
+
sectionLoadError
|
|
1383
|
+
};
|
|
1384
|
+
const label = "Seleccionar idioma";
|
|
1385
|
+
const placeholder = "Idioma";
|
|
1386
|
+
const ptBR$1 = "Português (BR)";
|
|
1387
|
+
const en$1 = "English";
|
|
1388
|
+
const es$1 = "Español";
|
|
1389
|
+
const __vite_glob_2_11 = {
|
|
1390
|
+
label,
|
|
1391
|
+
placeholder,
|
|
1392
|
+
ptBR: ptBR$1,
|
|
1393
|
+
en: en$1,
|
|
1394
|
+
es: es$1
|
|
1395
|
+
};
|
|
1396
|
+
const home = "Inicio";
|
|
1397
|
+
const template = "Plantilla";
|
|
1398
|
+
const designSystem = "Sistema de Diseño";
|
|
1399
|
+
const settings$1 = "Configuración";
|
|
1400
|
+
const __vite_glob_2_12 = {
|
|
1401
|
+
home,
|
|
1402
|
+
template,
|
|
1403
|
+
designSystem,
|
|
1404
|
+
settings: settings$1
|
|
1405
|
+
};
|
|
1406
|
+
const title$4 = "Miembros del Equipo";
|
|
1407
|
+
const subtitle$3 = "Gestiona el acceso de los miembros al sistema.";
|
|
1408
|
+
const newMember = "Nuevo Miembro";
|
|
1409
|
+
const searchPlaceholder = "Buscar correo...";
|
|
1410
|
+
const headers = { "name": "Nombre", "email": "Correo", "role": "Rol", "status": "Estado", "action": "Acción" };
|
|
1411
|
+
const roles = { "administrator": "Administrador", "editor": "Editor" };
|
|
1412
|
+
const status = { "active": "Activo", "inactive": "Inactivo" };
|
|
1413
|
+
const actions = { "editProfile": "Editar Perfil", "revokeAccess": "Revocar Acceso" };
|
|
1414
|
+
const __vite_glob_2_13 = {
|
|
1415
|
+
title: title$4,
|
|
1416
|
+
subtitle: subtitle$3,
|
|
1417
|
+
newMember,
|
|
1418
|
+
searchPlaceholder,
|
|
1419
|
+
headers,
|
|
1420
|
+
roles,
|
|
1421
|
+
status,
|
|
1422
|
+
actions
|
|
1423
|
+
};
|
|
1424
|
+
const title$3 = "Dashboard";
|
|
1425
|
+
const subtitle$2 = "Vista general del sistema";
|
|
1426
|
+
const downloadReport = "Descargar Reporte";
|
|
1427
|
+
const lastMonth = "desde el mes pasado";
|
|
1428
|
+
const stats = { "totalRevenue": "Ingresos Totales", "totalRevenueValue": "€45.231,89", "activeUsers": "Usuarios Activos", "sales": "Ventas", "retentionRate": "Tasa de Retención" };
|
|
1429
|
+
const overview$1 = "Vista General";
|
|
1430
|
+
const chartArea = "Área del Gráfico";
|
|
1431
|
+
const recentEvents = "Últimos Eventos";
|
|
1432
|
+
const events = { "userLogin": "Inicio de sesión de João Silva", "invoicePaid": "Factura #INV004 pagada" };
|
|
1433
|
+
const __vite_glob_2_14 = {
|
|
1434
|
+
title: title$3,
|
|
1435
|
+
subtitle: subtitle$2,
|
|
1436
|
+
downloadReport,
|
|
1437
|
+
lastMonth,
|
|
1438
|
+
stats,
|
|
1439
|
+
overview: overview$1,
|
|
1440
|
+
chartArea,
|
|
1441
|
+
recentEvents,
|
|
1442
|
+
events
|
|
1443
|
+
};
|
|
1444
|
+
const title$2 = "Editar Perfil Corporativo";
|
|
1445
|
+
const description$1 = "Actualiza los detalles de tu cuenta y define tus preferencias.";
|
|
1446
|
+
const fullNameLabel = "Nombre Completo";
|
|
1447
|
+
const fullNamePlaceholder = "Tu nombre";
|
|
1448
|
+
const emailLabel$2 = "Correo Corporativo";
|
|
1449
|
+
const emailPlaceholder$2 = "nombre@ejemplo.com";
|
|
1450
|
+
const notifyLabel = "Deseo recibir notificaciones actualizadas por correo al final de cada día con el resumen.";
|
|
1451
|
+
const successMessage = "¡Perfil guardado con éxito!";
|
|
1452
|
+
const cancel = "Cancelar";
|
|
1453
|
+
const save = "Guardar Cambios";
|
|
1454
|
+
const errors = { "fullNameRequired": "El nombre completo es obligatorio", "emailInvalid": "Formato inválido" };
|
|
1455
|
+
const __vite_glob_2_15 = {
|
|
1456
|
+
title: title$2,
|
|
1457
|
+
description: description$1,
|
|
1458
|
+
fullNameLabel,
|
|
1459
|
+
fullNamePlaceholder,
|
|
1460
|
+
emailLabel: emailLabel$2,
|
|
1461
|
+
emailPlaceholder: emailPlaceholder$2,
|
|
1462
|
+
notifyLabel,
|
|
1463
|
+
successMessage,
|
|
1464
|
+
cancel,
|
|
1465
|
+
save,
|
|
1466
|
+
errors
|
|
1467
|
+
};
|
|
1468
|
+
const welcome = "¡Bienvenido al Sistema de Diseño!";
|
|
1469
|
+
const subtitle$1 = "Tu plataforma inteligente para automatización y análisis de datos";
|
|
1470
|
+
const templateCliTitle = "Plantilla CLI";
|
|
1471
|
+
const templateCliDescription = "Página de plantilla lista para usar CLI con todos los componentes configurados.";
|
|
1472
|
+
const templateClibadge = "Nuevo";
|
|
1473
|
+
const __vite_glob_2_16 = {
|
|
1474
|
+
welcome,
|
|
1475
|
+
subtitle: subtitle$1,
|
|
1476
|
+
templateCliTitle,
|
|
1477
|
+
templateCliDescription,
|
|
1478
|
+
templateClibadge
|
|
1479
|
+
};
|
|
1480
|
+
const heading$2 = "Accede a tu cuenta";
|
|
1481
|
+
const emailLabel$1 = "Correo electrónico";
|
|
1482
|
+
const emailPlaceholder$1 = "tu@correo.com";
|
|
1483
|
+
const passwordLabel$1 = "Contraseña";
|
|
1484
|
+
const submit$2 = "Iniciar sesión";
|
|
1485
|
+
const submitting$1 = "Iniciando sesión...";
|
|
1486
|
+
const forgotPassword$1 = "¿Olvidaste tu contraseña?";
|
|
1487
|
+
const orContinueWith = "o continúa con";
|
|
1488
|
+
const signInWithGoogle = "Iniciar sesión con Google";
|
|
1489
|
+
const signInWithMTLogin = "Iniciar sesión con MT Login";
|
|
1490
|
+
const signInWithGovBr = "Iniciar sesión con gov.br";
|
|
1491
|
+
const heroImageAlt$2 = "Equipo trabajando con tecnología";
|
|
1492
|
+
const errorFillFields = "Por favor, completa todos los campos";
|
|
1493
|
+
const __vite_glob_2_17 = {
|
|
1494
|
+
heading: heading$2,
|
|
1495
|
+
emailLabel: emailLabel$1,
|
|
1496
|
+
emailPlaceholder: emailPlaceholder$1,
|
|
1497
|
+
passwordLabel: passwordLabel$1,
|
|
1498
|
+
submit: submit$2,
|
|
1499
|
+
submitting: submitting$1,
|
|
1500
|
+
forgotPassword: forgotPassword$1,
|
|
1501
|
+
orContinueWith,
|
|
1502
|
+
signInWithGoogle,
|
|
1503
|
+
signInWithMTLogin,
|
|
1504
|
+
signInWithGovBr,
|
|
1505
|
+
heroImageAlt: heroImageAlt$2,
|
|
1506
|
+
errorFillFields
|
|
1507
|
+
};
|
|
1508
|
+
const title$1 = "Acceso al Sistema";
|
|
1509
|
+
const description = "Ingresa tus credenciales corporativas abajo.";
|
|
1510
|
+
const emailLabel = "Correo Corporativo";
|
|
1511
|
+
const emailPlaceholder = "m@xertica.com";
|
|
1512
|
+
const passwordLabel = "Contraseña";
|
|
1513
|
+
const forgotPassword = "¿Olvidaste tu contraseña?";
|
|
1514
|
+
const submit$1 = "Entrar";
|
|
1515
|
+
const __vite_glob_2_18 = {
|
|
1516
|
+
title: title$1,
|
|
1517
|
+
description,
|
|
1518
|
+
emailLabel,
|
|
1519
|
+
emailPlaceholder,
|
|
1520
|
+
passwordLabel,
|
|
1521
|
+
forgotPassword,
|
|
1522
|
+
submit: submit$1
|
|
1523
|
+
};
|
|
1524
|
+
const heading$1 = "Restablecer contraseña";
|
|
1525
|
+
const subheading = "Crea una nueva contraseña segura para tu cuenta";
|
|
1526
|
+
const newPasswordLabel = "Nueva contraseña";
|
|
1527
|
+
const confirmPasswordLabel = "Confirmar contraseña";
|
|
1528
|
+
const requirements = "Requisitos de contraseña:";
|
|
1529
|
+
const requirementMinChars = "Mínimo 6 caracteres";
|
|
1530
|
+
const requirementMatch = "Las contraseñas coinciden";
|
|
1531
|
+
const submit = "Restablecer contraseña";
|
|
1532
|
+
const submitting = "Restableciendo...";
|
|
1533
|
+
const backToLogin$1 = "Volver al inicio de sesión";
|
|
1534
|
+
const heroImageAlt$1 = "Seguridad y protección";
|
|
1535
|
+
const errorMinLength = "La contraseña debe tener al menos 6 caracteres";
|
|
1536
|
+
const errorMismatch = "Las contraseñas no coinciden";
|
|
1537
|
+
const strengthWeak = "Contraseña débil";
|
|
1538
|
+
const strengthMedium = "Contraseña media";
|
|
1539
|
+
const strengthStrong = "Contraseña fuerte";
|
|
1540
|
+
const __vite_glob_2_19 = {
|
|
1541
|
+
heading: heading$1,
|
|
1542
|
+
subheading,
|
|
1543
|
+
newPasswordLabel,
|
|
1544
|
+
confirmPasswordLabel,
|
|
1545
|
+
requirements,
|
|
1546
|
+
requirementMinChars,
|
|
1547
|
+
requirementMatch,
|
|
1548
|
+
submit,
|
|
1549
|
+
submitting,
|
|
1550
|
+
backToLogin: backToLogin$1,
|
|
1551
|
+
heroImageAlt: heroImageAlt$1,
|
|
1552
|
+
errorMinLength,
|
|
1553
|
+
errorMismatch,
|
|
1554
|
+
strengthWeak,
|
|
1555
|
+
strengthMedium,
|
|
1556
|
+
strengthStrong
|
|
1557
|
+
};
|
|
1558
|
+
const breadcrumb = "Página de Plantilla";
|
|
1559
|
+
const title = "Página de Plantilla";
|
|
1560
|
+
const subtitle = "Plantilla completa con componentes del Xertica UI Design System";
|
|
1561
|
+
const formSubmitSuccess = "¡Formulario enviado con éxito!";
|
|
1562
|
+
const sections = { "alerts": "Alertas", "cardsAndTabs": "Cards & Tabs", "buttons": "Botones", "badges": "Badges", "dialogs": "Dialogs", "sidebarVariations": "Variaciones de la Sidebar", "enhancedComponents": "v2.2.1 — Componentes Mejorados" };
|
|
1563
|
+
const alerts = { "infoTitle": "Información", "infoDescription": "Este es un ejemplo de alerta informativa usando los componentes del Design System.", "errorTitle": "Error", "errorDescription": "Ocurrió un error al procesar tu solicitud.", "successTitle": "Éxito", "successDescription": "¡Operación realizada con éxito!", "warningTitle": "Aviso", "warningDescription": "Atención: esta acción no se puede deshacer." };
|
|
1564
|
+
const tabs = { "overview": "Vista General", "forms": "Formularios", "data": "Datos", "settings": "Configuración" };
|
|
1565
|
+
const overview = { "progressTitle": "Progress & Sliders", "progressDescription": "Ejemplos de componentes de progreso", "projectProgress": "Progreso del Proyecto", "volume": "Volumen", "totalUsersDemoValue": "1.234", "revenueDemoValue": "€45,2k", "conversionRateDemoValue": "3,2%" };
|
|
1566
|
+
const forms = { "registrationTitle": "Formulario de Registro", "registrationDescription": "Completa los campos a continuación para crear una nueva cuenta", "firstName": "Nombre", "firstNamePlaceholder": "Juan", "lastName": "Apellido", "lastNamePlaceholder": "García", "email": "Correo", "emailPlaceholder": "juan@ejemplo.com", "phone": "Teléfono", "phonePlaceholder": "(55) 1234-5678", "role": "Cargo", "rolePlaceholder": "Selecciona un cargo", "roles": { "developer": "Desarrollador", "designer": "Diseñador", "manager": "Gerente", "analyst": "Analista" }, "bio": "Biografía", "bioPlaceholder": "Cuéntanos un poco sobre ti...", "preferences": "Preferencias", "newsletter": "Recibir newsletter por correo", "pushNotifications": "Activar notificaciones push", "featureUpdates": "Recibir actualizaciones sobre nuevas funciones", "accountType": "Tipo de Cuenta", "accountPersonal": "Personal", "accountBusiness": "Empresarial", "accountEnterprise": "Enterprise", "cancel": "Cancelar", "createAccount": "Crear Cuenta" };
|
|
1567
|
+
const data = { "title": "Lista de Usuarios", "description": "Gestiona los usuarios del sistema", "searchPlaceholder": "Buscar usuarios...", "headers": { "name": "Nombre", "email": "Correo", "role": "Cargo", "status": "Estado", "actions": "Acciones" }, "roles": { "developerFemale": "Desarrolladora", "designer": "Diseñador", "manager": "Gerente", "analyst": "Analista" }, "status": { "active": "Activo", "away": "Ausente", "inactive": "Inactivo" }, "edit": "Editar", "showing": "Mostrando {{count}} de {{total}} usuarios", "previous": "Anterior", "next": "Siguiente", "demoEmailDomain": "ejemplo.com" };
|
|
1568
|
+
const settings = { "title": "Configuración del Sistema", "description": "Gestiona la configuración general", "darkMode": "Modo Oscuro", "darkModeDescription": "Activar tema oscuro en la interfaz", "emailNotifications": "Notificaciones por Correo", "emailNotificationsDescription": "Recibir actualizaciones importantes por correo", "pushNotifications": "Notificaciones Push", "pushNotificationsDescription": "Recibir notificaciones instantáneas en el navegador", "language": "Idioma", "languages": { "ptBR": "Português (Brasil)", "en": "English", "es": "Español" }, "timezone": "Zona Horaria", "timezones": { "saoPaulo": "América/São Paulo (GMT-3)", "newYork": "América/Nueva York (GMT-5)", "london": "Europa/Londres (GMT+0)" }, "restoreDefaults": "Restaurar Predeterminados", "saveChanges": "Guardar Cambios" };
|
|
1569
|
+
const buttons = { "title": "Variaciones de Botones", "description": "Diferentes estilos y tamaños de botones", "variants": "Variantes", "sizes": "Tamaños", "withIcons": "Con Íconos", "states": "Estados", "profile": "Perfil", "messages": "Mensajes", "schedule": "Agendar", "disabled": "Deshabilitado", "outlineDisabled": "Outline Deshabilitado", "variantLabels": { "default": "Predeterminado", "secondary": "Secundario", "outline": "Contorno", "ghost": "Ghost", "link": "Link", "destructive": "Destructivo" }, "sizeLabels": { "small": "Pequeño", "default": "Predeterminado", "large": "Grande" } };
|
|
1570
|
+
const badges = { "title": "Variaciones de Badges", "description": "Diferentes estilos de badges para estados y etiquetas", "labels": { "default": "Predeterminado", "secondary": "Secundario", "outline": "Contorno", "destructive": "Destructivo", "success": "Éxito", "warning": "Aviso", "info": "Info" } };
|
|
1571
|
+
const dialogs = { "dialogTitle": "Dialog", "dialogDescription": "Un modal básico interactivo", "editProfile": "Editar Perfil", "editProfileDescription": "Realiza cambios en tu perfil aquí. Haz clic en guardar cuando termines.", "name": "Nombre", "nameDefaultValue": "Pedro Duarte", "username": "Usuario", "usernameDefaultValue": "@pedroduarte", "update": "Actualizar", "alertDialogTitle": "Alert Dialog", "alertDialogDescription": "Una alerta para decisiones importantes", "deleteAccount": "Eliminar Cuenta", "areYouSure": "¿Estás absolutamente seguro?", "deleteWarning": "Esta acción no se puede deshacer. Esto eliminará permanentemente tu cuenta y borrará tus datos de nuestros servidores.", "cancel": "Cancelar", "continue": "Continuar" };
|
|
1572
|
+
const sidebar = { "title": "Sidebar Assistant Mode vs Default", "description": "La Sidebar admite flexibilidad mediante la propiedad variant.", "assistantMode": "Modo Assistant", "defaultMode": "Modo Predeterminado", "searchTopicsPlaceholder": "Buscar temas...", "newConversation": "Nueva Conversación", "recent": "Recientes", "constructionMonitoring": "Monitoreo de Obras", "items": { "sidebarRefactor": "Refactorización Sidebar", "sidebarRefactorDescription": "Activa ahora", "br163Restoration": "Restauración BR-163", "br163Location": "Cuiabá, MT" }, "actions": { "rename": "Renombrar", "renameToast": "Abrir renombrar...", "move": "Mover", "moveActive": "Proyectos Activos", "moveActiveToast": "Movido a Proyectos Activos", "moveMonitoring": "Monitoreo", "moveMonitoringToast": "Movido a Monitoreo", "moveArchive": "Archivo", "moveArchiveToast": "Movido a Archivo", "clear": "Limpiar", "clearToast": "¡Historial limpiado!", "newCategory": "Nueva Categoría", "newCategoryToast": "Crear nueva categoría...", "archiveGroup": "Archivar Grupo", "archiveGroupToast": "Archivando grupo..." }, "logoutToast": "Sesión cerrada", "settingsClickedToast": "Configuración clicada", "routes": { "home": "Inicio", "dashboard": "Dashboard", "settings": "Configuración" }, "assistantContent": "Contenido del Assistant Mode", "defaultContent": "Navegación Tradicional del Sistema" };
|
|
1573
|
+
const enhanced = { "pagination": { "title": "Pagination", "description": "Navegación por páginas con la prop <code>disabled</code> en Previous/Next — ARIA y foco accesibles.", "pageOfTotal": "Página {{current}} de {{total}} — el algoritmo Set-deduplicado garantiza la unicidad de los elementos" }, "stepper": { "title": "Stepper", "description": 'Wizard multi-etapas con <code>role="list"</code>, <code>aria-current="step"</code> y <code>initialStep</code> clampado automáticamente.', "step1Label": "Datos personales", "step1Description": "Nombre y correo", "step2Label": "Dirección", "step2Description": "Código postal y ciudad", "step3Label": "Confirmación", "step3Description": "Revisar y enviar", "previous": "Anterior", "next": "Siguiente", "finish": "Finalizar" }, "treeView": { "title": "TreeView", "description": "Navegación jerárquica con <code>ariaLabel</code>, roving tabindex y teclado WAI-ARIA (Espacio expande/colapsa, Enter selecciona).", "ariaLabel": "Estructura de componentes", "selectedConsoleLog": "Seleccionado:", "nodes": { "components": "Componentes", "ui": "UI", "button": "Botón", "input": "Input", "pagination": "Paginación", "layout": "Layout", "sidebar": "Sidebar", "header": "Header", "hooks": "Hooks" } }, "richText": { "title": "RichTextEditor", "description": 'Editor rich text con <code>role="textbox"</code>, <code>aria-multiline</code> y contadores via <code>useState</code> (sin IIFE).', "placeholder": "Escribe aquí..." } };
|
|
1574
|
+
const footer = { "title": "Template CLI-Ready", "subtitle": "Cómo usar esta plantilla", "descriptionPart1": "Esta plantilla está lista para ser usada como base para nuevos proyectos. Todos los componentes son importados de la biblioteca ", "descriptionPart2": " y siguen la arquitectura CLI-first de Xertica UI.", "tipTitle": "Consejo", "tipDescriptionPart1": "Copia este archivo como punto de partida para tus páginas. Todos los componentes son reutilizables y personalizables a través de las variables CSS definidas en ", "tipDescriptionPart2": "." };
|
|
1575
|
+
const headerWithBreadcrumbs = { "sectionTitle": "Encabezado con Breadcrumbs", "cardTitle": "Encabezado Principal", "cardDescription": "Ejemplo de Header con breadcrumbs de 4 niveles", "exampleContentTitle": "Contenido de Ejemplo", "exampleContentDescriptionPart1": "En este ejemplo, el componente ", "exampleContentDescriptionPart2": " principal de la aplicación ahora admite recibir un array de breadcrumbs para navegaciones complejas con más de 3 niveles.", "breadcrumbs": { "dashboard": "Dashboard", "settings": "Configuración", "users": "Usuarios", "accessProfile": "Perfil de Acceso" } };
|
|
1576
|
+
const headerVariations = { "sectionTitle": "Variaciones de Encabezado", "cardTitle": "Configuración del Encabezado Principal", "cardDescription": "El Header se enfoca en la navegación (breadcrumbs) y acciones contextuales rápidas.", "visibleElements": "Elementos Visibles", "actionButtons": "Botones de Acción", "breadcrumbsLabel": "Breadcrumbs", "preview": "Vista Previa", "currentPage": "Página Actual", "contentArea": "Área de Contenido de la Página", "breadcrumbBrand": "Xertica UI", "breadcrumbSettings": "Configuración", "breadcrumbProfile": "Perfil", "notificationsOpenedToast": "Notificaciones abiertas", "messagesLabel": "Mensajes", "messagesOpenedToast": "Mensajes abiertos" };
|
|
1577
|
+
const sidebarControls = { "footerSettings": "Configuración del Pie", "userProfile": "Perfil del Usuario", "settings": "Configuración", "logoutButton": "Botón de Salir", "sidebarWidthDesktop": "Ancho de la Sidebar (Desktop)", "sidebarWidthAriaLabel": "Ancho de la Sidebar", "filterByStatus": "Filtrar por Estado", "filterActive": "Activo", "filterArchived": "Archivado", "filterPending": "Pendiente" };
|
|
1578
|
+
const __vite_glob_2_20 = {
|
|
1579
|
+
breadcrumb,
|
|
1580
|
+
title,
|
|
1581
|
+
subtitle,
|
|
1582
|
+
formSubmitSuccess,
|
|
1583
|
+
sections,
|
|
1584
|
+
alerts,
|
|
1585
|
+
tabs,
|
|
1586
|
+
overview,
|
|
1587
|
+
forms,
|
|
1588
|
+
data,
|
|
1589
|
+
settings,
|
|
1590
|
+
buttons,
|
|
1591
|
+
badges,
|
|
1592
|
+
dialogs,
|
|
1593
|
+
sidebar,
|
|
1594
|
+
enhanced,
|
|
1595
|
+
footer,
|
|
1596
|
+
headerWithBreadcrumbs,
|
|
1597
|
+
headerVariations,
|
|
1598
|
+
sidebarControls
|
|
1599
|
+
};
|
|
1600
|
+
const heading = "Verifica tu correo electrónico";
|
|
1601
|
+
const instructionsSent = "Enviamos las instrucciones para restablecer tu contraseña a:";
|
|
1602
|
+
const instructions = "Sigue las instrucciones en el correo para restablecer tu contraseña. El enlace expira en 24 horas.";
|
|
1603
|
+
const checkSpam = "Revisa tu carpeta de spam si no encuentras el correo";
|
|
1604
|
+
const notReceived = "¿No recibiste el correo?";
|
|
1605
|
+
const resend = "Reenviar correo";
|
|
1606
|
+
const resending = "Reenviando...";
|
|
1607
|
+
const resentSuccess = "¡Correo reenviado con éxito!";
|
|
1608
|
+
const backToLogin = "Volver al inicio de sesión";
|
|
1609
|
+
const heroImageAlt = "Correo y comunicación";
|
|
1610
|
+
const __vite_glob_2_21 = {
|
|
1611
|
+
heading,
|
|
1612
|
+
instructionsSent,
|
|
1613
|
+
instructions,
|
|
1614
|
+
checkSpam,
|
|
1615
|
+
notReceived,
|
|
1616
|
+
resend,
|
|
1617
|
+
resending,
|
|
1618
|
+
resentSuccess,
|
|
1619
|
+
backToLogin,
|
|
1620
|
+
heroImageAlt
|
|
1621
|
+
};
|
|
1622
|
+
const switchToLight = "Cambiar a tema claro";
|
|
1623
|
+
const switchToDark = "Cambiar a tema oscuro";
|
|
1624
|
+
const lightMode = "Modo Claro";
|
|
1625
|
+
const darkMode = "Modo Oscuro";
|
|
1626
|
+
const __vite_glob_2_22 = {
|
|
1627
|
+
switchToLight,
|
|
1628
|
+
switchToDark,
|
|
1629
|
+
lightMode,
|
|
1630
|
+
darkMode
|
|
1631
|
+
};
|
|
1632
|
+
function bundleLang(chunks) {
|
|
1633
|
+
const out = {};
|
|
1634
|
+
for (const [filePath, value] of Object.entries(chunks)) {
|
|
1635
|
+
const base = filePath.split("/").pop();
|
|
1636
|
+
if (!base) continue;
|
|
1637
|
+
const key = base.replace(/\.json$/, "");
|
|
1638
|
+
out[key] = value;
|
|
1639
|
+
}
|
|
1640
|
+
return out;
|
|
1641
|
+
}
|
|
1642
|
+
const ptBR = bundleLang(
|
|
1643
|
+
/* @__PURE__ */ Object.assign({ "./locales/pt-BR/common.json": __vite_glob_0_0, "./locales/pt-BR/components/activityCard.json": __vite_glob_0_1, "./locales/pt-BR/components/assistant.json": __vite_glob_0_2, "./locales/pt-BR/components/media.json": __vite_glob_0_3, "./locales/pt-BR/components/notificationCard.json": __vite_glob_0_4, "./locales/pt-BR/components/profileCard.json": __vite_glob_0_5, "./locales/pt-BR/components/projectCard.json": __vite_glob_0_6, "./locales/pt-BR/components/sidebar.json": __vite_glob_0_7, "./locales/pt-BR/components/stats.json": __vite_glob_0_8, "./locales/pt-BR/components/team.json": __vite_glob_0_9, "./locales/pt-BR/errors.json": __vite_glob_0_10, "./locales/pt-BR/languageSelector.json": __vite_glob_0_11, "./locales/pt-BR/nav.json": __vite_glob_0_12, "./locales/pt-BR/pages/crudTemplate.json": __vite_glob_0_13, "./locales/pt-BR/pages/dashboardTemplate.json": __vite_glob_0_14, "./locales/pt-BR/pages/formTemplate.json": __vite_glob_0_15, "./locales/pt-BR/pages/home.json": __vite_glob_0_16, "./locales/pt-BR/pages/login.json": __vite_glob_0_17, "./locales/pt-BR/pages/loginTemplate.json": __vite_glob_0_18, "./locales/pt-BR/pages/resetPassword.json": __vite_glob_0_19, "./locales/pt-BR/pages/templates.json": __vite_glob_0_20, "./locales/pt-BR/pages/verifyEmail.json": __vite_glob_0_21, "./locales/pt-BR/themeToggle.json": __vite_glob_0_22 })
|
|
1644
|
+
);
|
|
1645
|
+
const en = bundleLang(
|
|
1646
|
+
/* @__PURE__ */ Object.assign({ "./locales/en/common.json": __vite_glob_1_0, "./locales/en/components/activityCard.json": __vite_glob_1_1, "./locales/en/components/assistant.json": __vite_glob_1_2, "./locales/en/components/media.json": __vite_glob_1_3, "./locales/en/components/notificationCard.json": __vite_glob_1_4, "./locales/en/components/profileCard.json": __vite_glob_1_5, "./locales/en/components/projectCard.json": __vite_glob_1_6, "./locales/en/components/sidebar.json": __vite_glob_1_7, "./locales/en/components/stats.json": __vite_glob_1_8, "./locales/en/components/team.json": __vite_glob_1_9, "./locales/en/errors.json": __vite_glob_1_10, "./locales/en/languageSelector.json": __vite_glob_1_11, "./locales/en/nav.json": __vite_glob_1_12, "./locales/en/pages/crudTemplate.json": __vite_glob_1_13, "./locales/en/pages/dashboardTemplate.json": __vite_glob_1_14, "./locales/en/pages/formTemplate.json": __vite_glob_1_15, "./locales/en/pages/home.json": __vite_glob_1_16, "./locales/en/pages/login.json": __vite_glob_1_17, "./locales/en/pages/loginTemplate.json": __vite_glob_1_18, "./locales/en/pages/resetPassword.json": __vite_glob_1_19, "./locales/en/pages/templates.json": __vite_glob_1_20, "./locales/en/pages/verifyEmail.json": __vite_glob_1_21, "./locales/en/themeToggle.json": __vite_glob_1_22 })
|
|
1647
|
+
);
|
|
1648
|
+
const es = bundleLang(
|
|
1649
|
+
/* @__PURE__ */ Object.assign({ "./locales/es/common.json": __vite_glob_2_0, "./locales/es/components/activityCard.json": __vite_glob_2_1, "./locales/es/components/assistant.json": __vite_glob_2_2, "./locales/es/components/media.json": __vite_glob_2_3, "./locales/es/components/notificationCard.json": __vite_glob_2_4, "./locales/es/components/profileCard.json": __vite_glob_2_5, "./locales/es/components/projectCard.json": __vite_glob_2_6, "./locales/es/components/sidebar.json": __vite_glob_2_7, "./locales/es/components/stats.json": __vite_glob_2_8, "./locales/es/components/team.json": __vite_glob_2_9, "./locales/es/errors.json": __vite_glob_2_10, "./locales/es/languageSelector.json": __vite_glob_2_11, "./locales/es/nav.json": __vite_glob_2_12, "./locales/es/pages/crudTemplate.json": __vite_glob_2_13, "./locales/es/pages/dashboardTemplate.json": __vite_glob_2_14, "./locales/es/pages/formTemplate.json": __vite_glob_2_15, "./locales/es/pages/home.json": __vite_glob_2_16, "./locales/es/pages/login.json": __vite_glob_2_17, "./locales/es/pages/loginTemplate.json": __vite_glob_2_18, "./locales/es/pages/resetPassword.json": __vite_glob_2_19, "./locales/es/pages/templates.json": __vite_glob_2_20, "./locales/es/pages/verifyEmail.json": __vite_glob_2_21, "./locales/es/themeToggle.json": __vite_glob_2_22 })
|
|
1650
|
+
);
|
|
1651
|
+
const STORAGE_KEY$1 = "xertica_language";
|
|
1652
|
+
const DEFAULT_FALLBACK = "pt-BR";
|
|
1653
|
+
const savedLanguage = typeof window !== "undefined" ? localStorage.getItem(STORAGE_KEY$1) ?? DEFAULT_FALLBACK : DEFAULT_FALLBACK;
|
|
1654
|
+
i18n.use(initReactI18next).init({
|
|
1655
|
+
resources: {
|
|
1656
|
+
"pt-BR": { translation: ptBR },
|
|
1657
|
+
en: { translation: en },
|
|
1658
|
+
es: { translation: es }
|
|
1659
|
+
},
|
|
1660
|
+
lng: savedLanguage,
|
|
1661
|
+
fallbackLng: DEFAULT_FALLBACK,
|
|
1662
|
+
interpolation: {
|
|
1663
|
+
// React already escapes values — no need for i18next to double-escape
|
|
1664
|
+
escapeValue: false
|
|
1665
|
+
}
|
|
1666
|
+
});
|
|
1667
|
+
function registerLanguageResource(code, json, ns = "translation") {
|
|
1668
|
+
if (!i18n.hasResourceBundle(code, ns)) {
|
|
1669
|
+
i18n.addResourceBundle(code, ns, json, true, true);
|
|
1670
|
+
}
|
|
1671
|
+
}
|
|
1672
|
+
const DEFAULT_LANGUAGES = [
|
|
1673
|
+
{ code: "pt-BR", label: "Português (BR)", shortLabel: "PT" },
|
|
1674
|
+
{ code: "en", label: "English", shortLabel: "EN" },
|
|
1675
|
+
{ code: "es", label: "Español", shortLabel: "ES" }
|
|
1676
|
+
];
|
|
1677
|
+
const STORAGE_KEY = "xertica_language";
|
|
1678
|
+
const LEGACY_LANGUAGE_MAP = {
|
|
1679
|
+
PT: "pt-BR",
|
|
1680
|
+
pt: "pt-BR",
|
|
1681
|
+
EN: "en",
|
|
1682
|
+
"en-US": "en",
|
|
1683
|
+
ES: "es"
|
|
1684
|
+
};
|
|
1685
|
+
const LanguageContext = createContext(void 0);
|
|
1686
|
+
function LanguageProvider({
|
|
1687
|
+
children,
|
|
1688
|
+
availableLanguages = DEFAULT_LANGUAGES,
|
|
1689
|
+
defaultLanguage
|
|
1690
|
+
}) {
|
|
1691
|
+
if (availableLanguages.length === 0) {
|
|
1692
|
+
throw new Error(
|
|
1693
|
+
"LanguageProvider: `availableLanguages` cannot be empty. Pass at least one LanguageDefinition or omit the prop to use DEFAULT_LANGUAGES."
|
|
1694
|
+
);
|
|
1695
|
+
}
|
|
1696
|
+
const languages = availableLanguages;
|
|
1697
|
+
const queryClient = useQueryClient();
|
|
1698
|
+
const languageCodesKey = useMemo(() => languages.map((l) => l.code).join(","), [languages]);
|
|
1699
|
+
useEffect(() => {
|
|
1700
|
+
for (const lang of languages) {
|
|
1701
|
+
if (lang.resources && !i18n.hasResourceBundle(lang.code, "translation")) {
|
|
1702
|
+
i18n.addResourceBundle(lang.code, "translation", lang.resources, true, true);
|
|
1703
|
+
}
|
|
1704
|
+
}
|
|
1705
|
+
}, [languageCodesKey]);
|
|
1706
|
+
const resolvedDefault = defaultLanguage ?? languages[0].code;
|
|
1707
|
+
const [language, setLanguageState] = useState(() => {
|
|
1708
|
+
var _a;
|
|
1709
|
+
const saved = typeof window !== "undefined" ? (_a = window.localStorage) == null ? void 0 : _a.getItem(STORAGE_KEY) : null;
|
|
1710
|
+
if (saved && languages.some((l) => l.code === saved)) {
|
|
1711
|
+
return saved;
|
|
1712
|
+
}
|
|
1713
|
+
if (saved && LEGACY_LANGUAGE_MAP[saved]) {
|
|
1714
|
+
const migrated = LEGACY_LANGUAGE_MAP[saved];
|
|
1715
|
+
if (languages.some((l) => l.code === migrated)) {
|
|
1716
|
+
return migrated;
|
|
1717
|
+
}
|
|
1718
|
+
}
|
|
1719
|
+
return resolvedDefault;
|
|
1720
|
+
});
|
|
1721
|
+
const setLanguage = useCallback(
|
|
1722
|
+
(lang) => {
|
|
1723
|
+
var _a;
|
|
1724
|
+
if (!languages.some((l) => l.code === lang)) {
|
|
1725
|
+
if (typeof console !== "undefined") {
|
|
1726
|
+
console.warn(
|
|
1727
|
+
`[LanguageProvider] Language "${lang}" is not in availableLanguages — ignoring.`
|
|
1728
|
+
);
|
|
1729
|
+
}
|
|
1730
|
+
return;
|
|
1731
|
+
}
|
|
1732
|
+
setLanguageState(lang);
|
|
1733
|
+
(_a = window.localStorage) == null ? void 0 : _a.setItem(STORAGE_KEY, lang);
|
|
1734
|
+
i18n.changeLanguage(lang);
|
|
1735
|
+
queryClient.invalidateQueries();
|
|
1736
|
+
},
|
|
1737
|
+
// Depend on the stable codes signature instead of the `languages` array
|
|
1738
|
+
// reference so the callback identity remains stable across inline-prop renders.
|
|
1739
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
1740
|
+
[languageCodesKey, queryClient]
|
|
1741
|
+
);
|
|
1742
|
+
useEffect(() => {
|
|
1743
|
+
if (i18n.language !== language) {
|
|
1744
|
+
i18n.changeLanguage(language);
|
|
1745
|
+
}
|
|
1746
|
+
}, []);
|
|
1747
|
+
const value = useMemo(
|
|
1748
|
+
() => ({
|
|
1749
|
+
language,
|
|
1750
|
+
setLanguage,
|
|
1751
|
+
availableLanguages: languages,
|
|
1752
|
+
isMonolingual: languages.length <= 1
|
|
1753
|
+
}),
|
|
1754
|
+
// `setLanguage` is stable thanks to useCallback above; `languages` is gated
|
|
1755
|
+
// by `languageCodesKey` so that inline-array consumers don't thrash the memo.
|
|
1756
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
1757
|
+
[language, setLanguage, languageCodesKey]
|
|
1758
|
+
);
|
|
1759
|
+
return /* @__PURE__ */ jsx(LanguageContext.Provider, { value, children });
|
|
1760
|
+
}
|
|
1761
|
+
function useLanguage() {
|
|
1762
|
+
const context = useContext(LanguageContext);
|
|
1763
|
+
if (context === void 0) {
|
|
1764
|
+
throw new Error("useLanguage must be used within a LanguageProvider");
|
|
1765
|
+
}
|
|
1766
|
+
return context;
|
|
1767
|
+
}
|
|
1768
|
+
const ThemeContext = createContext(void 0);
|
|
1769
|
+
function ThemeProvider({
|
|
1770
|
+
children,
|
|
1771
|
+
disableDarkMode = false,
|
|
1772
|
+
defaultTheme,
|
|
1773
|
+
storageKey = "xertica-theme"
|
|
1774
|
+
}) {
|
|
1775
|
+
const getInitialTheme = () => {
|
|
1776
|
+
var _a;
|
|
1777
|
+
if (disableDarkMode) return "light";
|
|
1778
|
+
if (defaultTheme) return defaultTheme;
|
|
1779
|
+
if (typeof window !== "undefined") {
|
|
1780
|
+
const savedTheme = (_a = window.localStorage) == null ? void 0 : _a.getItem(storageKey);
|
|
1781
|
+
if (savedTheme && (savedTheme === "light" || savedTheme === "dark")) {
|
|
1782
|
+
return savedTheme;
|
|
1783
|
+
}
|
|
1784
|
+
if (window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches) {
|
|
1785
|
+
return "dark";
|
|
1786
|
+
}
|
|
1787
|
+
}
|
|
1788
|
+
return "light";
|
|
1789
|
+
};
|
|
1790
|
+
const [theme, setThemeState] = useState(getInitialTheme);
|
|
1791
|
+
useEffect(() => {
|
|
1792
|
+
if (disableDarkMode && theme === "dark") {
|
|
1793
|
+
setThemeState("light");
|
|
1794
|
+
}
|
|
1795
|
+
}, [disableDarkMode, theme]);
|
|
1796
|
+
useEffect(() => {
|
|
1797
|
+
var _a;
|
|
1798
|
+
if (typeof document === "undefined") return;
|
|
1799
|
+
const root = document.documentElement;
|
|
1800
|
+
root.classList.remove("light", "dark");
|
|
1801
|
+
if (theme === "dark") {
|
|
1802
|
+
root.classList.add("dark");
|
|
1803
|
+
} else {
|
|
1804
|
+
root.classList.add("light");
|
|
1805
|
+
}
|
|
1806
|
+
if (typeof window !== "undefined") {
|
|
1807
|
+
(_a = window.localStorage) == null ? void 0 : _a.setItem(storageKey, theme);
|
|
1808
|
+
}
|
|
1809
|
+
}, [theme, storageKey]);
|
|
1810
|
+
useEffect(() => {
|
|
1811
|
+
var _a;
|
|
1812
|
+
if (disableDarkMode) return;
|
|
1813
|
+
if (typeof window === "undefined" || !window.matchMedia) return;
|
|
1814
|
+
if (!((_a = window.localStorage) == null ? void 0 : _a.getItem(storageKey))) {
|
|
1815
|
+
const mediaQuery = window.matchMedia("(prefers-color-scheme: dark)");
|
|
1816
|
+
const handleChange = (e) => {
|
|
1817
|
+
setThemeState(e.matches ? "dark" : "light");
|
|
1818
|
+
};
|
|
1819
|
+
mediaQuery.addEventListener("change", handleChange);
|
|
1820
|
+
return () => mediaQuery.removeEventListener("change", handleChange);
|
|
1821
|
+
}
|
|
1822
|
+
}, [disableDarkMode, storageKey]);
|
|
1823
|
+
const toggleTheme = () => {
|
|
1824
|
+
if (disableDarkMode) return;
|
|
1825
|
+
setThemeState((prevTheme) => prevTheme === "light" ? "dark" : "light");
|
|
1826
|
+
};
|
|
1827
|
+
const setTheme = (newTheme) => {
|
|
1828
|
+
if (disableDarkMode && newTheme === "dark") return;
|
|
1829
|
+
setThemeState(newTheme);
|
|
1830
|
+
};
|
|
1831
|
+
const setThemeMode = setTheme;
|
|
1832
|
+
const value = {
|
|
1833
|
+
theme,
|
|
1834
|
+
toggleTheme,
|
|
1835
|
+
setTheme,
|
|
1836
|
+
setThemeMode,
|
|
1837
|
+
isDark: theme === "dark",
|
|
1838
|
+
disableDarkMode
|
|
1839
|
+
};
|
|
1840
|
+
return /* @__PURE__ */ jsx(ThemeContext.Provider, { value, children });
|
|
1841
|
+
}
|
|
1842
|
+
function useTheme() {
|
|
1843
|
+
const context = useContext(ThemeContext);
|
|
1844
|
+
if (context === void 0) {
|
|
1845
|
+
throw new Error("useTheme must be used within a ThemeProvider");
|
|
1846
|
+
}
|
|
1847
|
+
return context;
|
|
1848
|
+
}
|
|
1849
|
+
export {
|
|
1850
|
+
DEFAULT_LANGUAGES as D,
|
|
1851
|
+
LanguageProvider as L,
|
|
1852
|
+
ThemeProvider as T,
|
|
1853
|
+
useTheme as a,
|
|
1854
|
+
registerLanguageResource as r,
|
|
1855
|
+
useLanguage as u
|
|
1856
|
+
};
|