@selectwin/kit 0.1.252 → 0.1.254
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/README.md +83 -69
- package/dist/SelectAttachMenu.d.ts +29 -0
- package/dist/SelectAttachMenu.js +167 -0
- package/dist/SelectAudioRecorder.d.ts +27 -0
- package/dist/SelectAudioRecorder.js +287 -0
- package/dist/SelectAvatar.d.ts +3 -1
- package/dist/SelectAvatar.js +1 -1
- package/dist/SelectChatSendButton.d.ts +14 -0
- package/dist/SelectChatSendButton.js +25 -0
- package/dist/SelectConversation.d.ts +33 -2
- package/dist/SelectConversation.js +127 -83
- package/dist/SelectConversationQuote.d.ts +20 -0
- package/dist/SelectConversationQuote.js +87 -0
- package/dist/SelectConversationReactions.d.ts +31 -0
- package/dist/SelectConversationReactions.js +101 -0
- package/dist/SelectEmojiPicker.d.ts +12 -0
- package/dist/SelectEmojiPicker.js +178 -0
- package/dist/SelectIconTile.d.ts +2 -1
- package/dist/SelectLightbox.d.ts +32 -0
- package/dist/SelectLightbox.js +172 -0
- package/dist/SelectLocale.d.ts +68 -0
- package/dist/SelectLocale.js +140 -0
- package/dist/SelectMail.d.ts +3 -2
- package/dist/SelectMail.js +224 -244
- package/dist/SelectMessageCards.d.ts +150 -0
- package/dist/SelectMessageCards.js +429 -0
- package/dist/SelectMessageTicks.d.ts +7 -0
- package/dist/SelectMessageTicks.js +31 -0
- package/dist/SelectVoiceNote.d.ts +27 -0
- package/dist/SelectVoiceNote.js +245 -0
- package/dist/emojiData.d.ts +33 -0
- package/dist/emojiData.js +103 -0
- package/dist/icons.d.ts +22 -0
- package/dist/icons.js +89 -10
- package/dist/index.d.ts +23 -1
- package/dist/index.js +236 -224
- package/dist/internal/fileKind.d.ts +12 -0
- package/dist/internal/fileKind.js +44 -0
- package/dist/style.css +1 -1
- package/package.json +67 -67
package/dist/SelectLocale.js
CHANGED
|
@@ -132,6 +132,76 @@ var r = {
|
|
|
132
132
|
attachmentBusy: (e) => `${e}: gerando o link`,
|
|
133
133
|
attachmentGet: (e) => `Pegar o anexo ${e}`
|
|
134
134
|
},
|
|
135
|
+
chat: {
|
|
136
|
+
status: {
|
|
137
|
+
queued: "Na fila",
|
|
138
|
+
sent: "Enviada",
|
|
139
|
+
delivered: "Entregue",
|
|
140
|
+
read: "Lida",
|
|
141
|
+
failed: "Não entregue"
|
|
142
|
+
},
|
|
143
|
+
quote: "Mensagem citada",
|
|
144
|
+
quoteJump: "Ir para a mensagem citada",
|
|
145
|
+
replyingTo: "Respondendo a",
|
|
146
|
+
cancelReply: "Cancelar a resposta",
|
|
147
|
+
reactions: "Reações",
|
|
148
|
+
reactedWith: (e, t) => `${e} reagiu com ${t}`,
|
|
149
|
+
reactionCount: (e, t) => t === 1 ? `1 reação ${e}` : `${t} reações ${e}`,
|
|
150
|
+
react: (e) => `Reagir com ${e}`,
|
|
151
|
+
unreact: (e) => `Tirar a reação ${e}`,
|
|
152
|
+
reactionPicker: "Reagir à mensagem",
|
|
153
|
+
moreEmoji: "Mais emojis",
|
|
154
|
+
lessEmoji: "Menos emojis",
|
|
155
|
+
emoji: "Emojis",
|
|
156
|
+
emojiSearch: "Buscar emoji",
|
|
157
|
+
emojiCategories: "Categorias de emoji",
|
|
158
|
+
emojiNone: "Nenhum emoji encontrado",
|
|
159
|
+
emojiResults: "Resultados",
|
|
160
|
+
emojiRecent: "Recentes",
|
|
161
|
+
play: "Ouvir o áudio",
|
|
162
|
+
pause: "Pausar o áudio",
|
|
163
|
+
seek: "Posição do áudio",
|
|
164
|
+
position: (e, t) => `${e} de ${t}`,
|
|
165
|
+
speed: (e) => `Velocidade ${e}`,
|
|
166
|
+
voiceNote: "Mensagem de voz",
|
|
167
|
+
audioFailed: "Não deu para tocar o áudio",
|
|
168
|
+
recorder: "Gravar áudio",
|
|
169
|
+
recording: "Gravando",
|
|
170
|
+
recPaused: "Pausado",
|
|
171
|
+
recRequesting: "Pedindo o microfone…",
|
|
172
|
+
recDiscard: "Descartar a gravação",
|
|
173
|
+
recPause: "Pausar a gravação",
|
|
174
|
+
recResume: "Continuar a gravação",
|
|
175
|
+
recSend: "Enviar o áudio",
|
|
176
|
+
recDenied: "Sem acesso ao microfone. Libere o microfone nas permissões do navegador e tente de novo.",
|
|
177
|
+
recNoMic: "Nenhum microfone encontrado.",
|
|
178
|
+
recUnsupported: "Este navegador não grava áudio.",
|
|
179
|
+
recFailed: "A gravação parou. Tente de novo.",
|
|
180
|
+
retry: "Tentar de novo",
|
|
181
|
+
close: "Fechar",
|
|
182
|
+
openMap: "Abrir no mapa",
|
|
183
|
+
location: "Localização",
|
|
184
|
+
download: (e) => `Baixar ${e}`,
|
|
185
|
+
openPhoto: "Abrir a foto",
|
|
186
|
+
openMedia: (e, t) => `Abrir a mídia ${e} de ${t}`,
|
|
187
|
+
moreMedia: (e) => `mais ${e}`,
|
|
188
|
+
album: (e) => `${e} fotos`,
|
|
189
|
+
video: "Vídeo",
|
|
190
|
+
lightbox: "Mídia da conversa",
|
|
191
|
+
previous: "Anterior",
|
|
192
|
+
next: "Próxima",
|
|
193
|
+
counter: (e, t) => `${e} de ${t}`,
|
|
194
|
+
reply: "Responder",
|
|
195
|
+
downloadMedia: "Baixar",
|
|
196
|
+
attach: "Anexar",
|
|
197
|
+
unread: (e) => e === 1 ? "1 mensagem nova" : `${e} mensagens novas`,
|
|
198
|
+
messageActions: "Ações da mensagem",
|
|
199
|
+
template: "Modelo",
|
|
200
|
+
listOptions: "Opções da lista",
|
|
201
|
+
copied: "Copiado",
|
|
202
|
+
send: "Enviar",
|
|
203
|
+
record: "Gravar áudio"
|
|
204
|
+
},
|
|
135
205
|
carousel: {
|
|
136
206
|
label: "Destaques",
|
|
137
207
|
carousel: "carrossel",
|
|
@@ -314,6 +384,76 @@ var r = {
|
|
|
314
384
|
attachmentBusy: (e) => `${e}: getting the link`,
|
|
315
385
|
attachmentGet: (e) => `Get the attachment ${e}`
|
|
316
386
|
},
|
|
387
|
+
chat: {
|
|
388
|
+
status: {
|
|
389
|
+
queued: "Queued",
|
|
390
|
+
sent: "Sent",
|
|
391
|
+
delivered: "Delivered",
|
|
392
|
+
read: "Read",
|
|
393
|
+
failed: "Not delivered"
|
|
394
|
+
},
|
|
395
|
+
quote: "Quoted message",
|
|
396
|
+
quoteJump: "Go to the quoted message",
|
|
397
|
+
replyingTo: "Replying to",
|
|
398
|
+
cancelReply: "Cancel the reply",
|
|
399
|
+
reactions: "Reactions",
|
|
400
|
+
reactedWith: (e, t) => `${e} reacted with ${t}`,
|
|
401
|
+
reactionCount: (e, t) => t === 1 ? `1 ${e} reaction` : `${t} ${e} reactions`,
|
|
402
|
+
react: (e) => `React with ${e}`,
|
|
403
|
+
unreact: (e) => `Remove the ${e} reaction`,
|
|
404
|
+
reactionPicker: "React to the message",
|
|
405
|
+
moreEmoji: "More emoji",
|
|
406
|
+
lessEmoji: "Fewer emoji",
|
|
407
|
+
emoji: "Emoji",
|
|
408
|
+
emojiSearch: "Search emoji",
|
|
409
|
+
emojiCategories: "Emoji categories",
|
|
410
|
+
emojiNone: "No emoji found",
|
|
411
|
+
emojiResults: "Results",
|
|
412
|
+
emojiRecent: "Recent",
|
|
413
|
+
play: "Play the audio",
|
|
414
|
+
pause: "Pause the audio",
|
|
415
|
+
seek: "Audio position",
|
|
416
|
+
position: (e, t) => `${e} of ${t}`,
|
|
417
|
+
speed: (e) => `Speed ${e}`,
|
|
418
|
+
voiceNote: "Voice message",
|
|
419
|
+
audioFailed: "Couldn't play the audio",
|
|
420
|
+
recorder: "Record audio",
|
|
421
|
+
recording: "Recording",
|
|
422
|
+
recPaused: "Paused",
|
|
423
|
+
recRequesting: "Asking for the microphone…",
|
|
424
|
+
recDiscard: "Discard the recording",
|
|
425
|
+
recPause: "Pause the recording",
|
|
426
|
+
recResume: "Resume the recording",
|
|
427
|
+
recSend: "Send the audio",
|
|
428
|
+
recDenied: "No access to the microphone. Allow it in the browser permissions and try again.",
|
|
429
|
+
recNoMic: "No microphone found.",
|
|
430
|
+
recUnsupported: "This browser can't record audio.",
|
|
431
|
+
recFailed: "The recording stopped. Try again.",
|
|
432
|
+
retry: "Try again",
|
|
433
|
+
close: "Close",
|
|
434
|
+
openMap: "Open in maps",
|
|
435
|
+
location: "Location",
|
|
436
|
+
download: (e) => `Download ${e}`,
|
|
437
|
+
openPhoto: "Open the photo",
|
|
438
|
+
openMedia: (e, t) => `Open media ${e} of ${t}`,
|
|
439
|
+
moreMedia: (e) => `${e} more`,
|
|
440
|
+
album: (e) => `${e} photos`,
|
|
441
|
+
video: "Video",
|
|
442
|
+
lightbox: "Conversation media",
|
|
443
|
+
previous: "Previous",
|
|
444
|
+
next: "Next",
|
|
445
|
+
counter: (e, t) => `${e} of ${t}`,
|
|
446
|
+
reply: "Reply",
|
|
447
|
+
downloadMedia: "Download",
|
|
448
|
+
attach: "Attach",
|
|
449
|
+
unread: (e) => e === 1 ? "1 new message" : `${e} new messages`,
|
|
450
|
+
messageActions: "Message actions",
|
|
451
|
+
template: "Template",
|
|
452
|
+
listOptions: "List options",
|
|
453
|
+
copied: "Copied",
|
|
454
|
+
send: "Send",
|
|
455
|
+
record: "Record audio"
|
|
456
|
+
},
|
|
317
457
|
carousel: {
|
|
318
458
|
label: "Highlights",
|
|
319
459
|
carousel: "carousel",
|
package/dist/SelectMail.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
+
import { attachmentExt } from './internal/fileKind';
|
|
2
3
|
export interface SelectMailAddress {
|
|
3
4
|
name: string | null;
|
|
4
5
|
address: string;
|
|
@@ -186,8 +187,8 @@ export interface SelectMailAttachmentProps {
|
|
|
186
187
|
readyLabel?: ReactNode;
|
|
187
188
|
failedLabel?: ReactNode;
|
|
188
189
|
}
|
|
189
|
-
/** A extensão em maiúsculas
|
|
190
|
-
export
|
|
190
|
+
/** A extensão em maiúsculas ("XLSX"; sem extensão, "ARQ") — 0.1.254: mora em `internal/fileKind`, e segue exportada daqui. */
|
|
191
|
+
export { attachmentExt };
|
|
191
192
|
/**
|
|
192
193
|
* O anexo de uma mensagem. O arquivo vem por um link assinado e curto: o primeiro clique pede o link (`loading`), o
|
|
193
194
|
* segundo abre (`ready`) — num clique do usuário, que o navegador não barra. Nada é baixado antes do clique.
|