@selectwin/kit 0.1.262 → 0.1.264
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 +74 -0
- package/dist/SelectActionMenu.d.ts +7 -1
- package/dist/SelectActionMenu.js +14 -13
- package/dist/SelectBlockBuilder.d.ts +63 -0
- package/dist/SelectBlockBuilder.js +370 -0
- package/dist/SelectCalendar.d.ts +68 -4
- package/dist/SelectCalendar.js +449 -279
- package/dist/SelectChannelPreview.d.ts +34 -5
- package/dist/SelectChannelPreview.js +167 -73
- package/dist/SelectChartCard.d.ts +13 -0
- package/dist/SelectChartCard.js +50 -30
- package/dist/SelectCombobox.d.ts +5 -0
- package/dist/SelectCombobox.js +77 -61
- package/dist/SelectConversationContext.d.ts +30 -0
- package/dist/SelectConversationContext.js +141 -0
- package/dist/SelectDatePicker.d.ts +4 -0
- package/dist/SelectDatePicker.js +78 -62
- package/dist/SelectDateRangeField.d.ts +6 -1
- package/dist/SelectDateRangeField.js +9 -8
- package/dist/SelectField.d.ts +7 -3
- package/dist/SelectField.js +71 -70
- package/dist/SelectFilterBar.d.ts +9 -0
- package/dist/SelectFilterBar.js +301 -179
- package/dist/SelectFunnel.d.ts +12 -2
- package/dist/SelectFunnel.js +193 -63
- package/dist/SelectHorizontalBar.d.ts +11 -1
- package/dist/SelectHorizontalBar.js +86 -35
- package/dist/SelectHtmlFrame.d.ts +3 -1
- package/dist/SelectHtmlFrame.js +4 -4
- package/dist/SelectIconButton.d.ts +2 -1
- package/dist/SelectIconButton.js +1 -1
- package/dist/SelectLocale.d.ts +146 -0
- package/dist/SelectLocale.js +363 -31
- package/dist/SelectMail.d.ts +80 -4
- package/dist/SelectMail.js +433 -300
- package/dist/SelectMailEditor.d.ts +35 -1
- package/dist/SelectMailEditor.js +347 -163
- package/dist/SelectNumberedList.d.ts +20 -2
- package/dist/SelectNumberedList.js +75 -17
- package/dist/SelectPopover.js +31 -18
- package/dist/SelectProgressBar.d.ts +22 -5
- package/dist/SelectProgressBar.js +70 -40
- package/dist/SelectRecordCard.d.ts +13 -4
- package/dist/SelectRecordCard.js +30 -8
- package/dist/SelectRuleBuilder.d.ts +52 -0
- package/dist/SelectRuleBuilder.js +157 -0
- package/dist/SelectSearchPreview.d.ts +35 -0
- package/dist/SelectSearchPreview.js +69 -0
- package/dist/SelectSegmented.d.ts +2 -0
- package/dist/SelectSegmented.js +1 -1
- package/dist/SelectSortable.d.ts +5 -1
- package/dist/SelectSparkBars.d.ts +5 -1
- package/dist/SelectSparkBars.js +65 -57
- package/dist/SelectSteps.d.ts +6 -0
- package/dist/SelectSteps.js +43 -10
- package/dist/SelectTabs.d.ts +16 -4
- package/dist/SelectTabs.js +95 -60
- package/dist/SelectTextarea.d.ts +1 -1
- package/dist/SelectVoiceNote.d.ts +6 -1
- package/dist/SelectVoiceNote.js +118 -106
- package/dist/chartUtils.d.ts +10 -0
- package/dist/index.d.ts +18 -2
- package/dist/index.js +153 -149
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/SelectLocale.d.ts
CHANGED
|
@@ -51,6 +51,10 @@ export interface SelectKitMessages {
|
|
|
51
51
|
/** 0.1.258: o selo da faceta que é um campo personalizado ("campo") e o que o leitor de tela ouve no lugar dele. */
|
|
52
52
|
customField: string;
|
|
53
53
|
customFieldLabel: string;
|
|
54
|
+
/** 0.1.263: a folha de baixo do celular (`phone="sheet"`): o botão ("Filtros · 2"), o título e o fechar. */
|
|
55
|
+
filters: string;
|
|
56
|
+
filtersCount: (label: string, count: number) => string;
|
|
57
|
+
showResults: string;
|
|
54
58
|
};
|
|
55
59
|
dataTable: {
|
|
56
60
|
columns: string;
|
|
@@ -128,6 +132,19 @@ export interface SelectKitMessages {
|
|
|
128
132
|
attachmentGet: (name: string) => string;
|
|
129
133
|
/** 0.1.261: o nome do canal do selo no rosto da lista (`SelectMailListItem channel`). */
|
|
130
134
|
channel: Record<'whatsapp' | 'email' | 'instagram' | 'messenger' | 'sms', string>;
|
|
135
|
+
/**
|
|
136
|
+
* 0.1.263 (a prancha E-Mail): a coluna das caixas e das pastas (`SelectInbox nav`), a estrela que se marca na linha
|
|
137
|
+
* (`SelectMailListItem onFlagToggle`), a linha que espera o servidor (`pending`) e o anexo que só baixa
|
|
138
|
+
* (`SelectMailAttachment downloadOnly`).
|
|
139
|
+
*/
|
|
140
|
+
nav: string;
|
|
141
|
+
flag: string;
|
|
142
|
+
unflag: string;
|
|
143
|
+
pending: string;
|
|
144
|
+
downloadOnly: string;
|
|
145
|
+
download: string;
|
|
146
|
+
attachmentDownload: (name: string) => string;
|
|
147
|
+
attachmentDownloadGet: (name: string) => string;
|
|
131
148
|
};
|
|
132
149
|
/**
|
|
133
150
|
* 0.1.254: as peças do chat (o inbox do WhatsApp) — o estado do envio, a citação, as reações, o seletor de emoji, o
|
|
@@ -286,6 +303,16 @@ export interface SelectKitMessages {
|
|
|
286
303
|
/** 0.1.258: a moldura da página inteira (`SelectDeviceFrame variant="page"`): o nome da área que rola. */
|
|
287
304
|
deviceFrame: {
|
|
288
305
|
page: string;
|
|
306
|
+
/**
|
|
307
|
+
* 0.1.263: a camada por cima da página (`overlay`), o aviso do próprio navegador (`browser-prompt`: a pergunta e os
|
|
308
|
+
* dois botões) e a notificação que chega (`notification`) — os nomes para o leitor de tela e os textos do navegador.
|
|
309
|
+
*/
|
|
310
|
+
overlay: string;
|
|
311
|
+
promptLabel: string;
|
|
312
|
+
promptAsk: (host: string) => string;
|
|
313
|
+
block: string;
|
|
314
|
+
allow: string;
|
|
315
|
+
notificationLabel: string;
|
|
289
316
|
};
|
|
290
317
|
/**
|
|
291
318
|
* 0.1.258: a lista que se ordena (`useSelectSortable`): o nome do item sem nome, o da alça, as instruções do teclado e
|
|
@@ -362,6 +389,125 @@ export interface SelectKitMessages {
|
|
|
362
389
|
count: (count: number) => string;
|
|
363
390
|
clear: string;
|
|
364
391
|
};
|
|
392
|
+
/** 0.1.263: a contagem do campo com teto (`SelectField` e `SelectTextarea` com `showCount`): "54 de 60", "54/60". */
|
|
393
|
+
field: {
|
|
394
|
+
count: (used: string, max: string) => string;
|
|
395
|
+
};
|
|
396
|
+
/** 0.1.263: o erro de um cartão só (`SelectChartCard error`): o botão de tentar de novo. */
|
|
397
|
+
chartCard: {
|
|
398
|
+
retry: string;
|
|
399
|
+
};
|
|
400
|
+
/** 0.1.263: o ritmo da meta (`SelectProgressBar marker` e `SelectProgressMarkerLegend`). */
|
|
401
|
+
progress: {
|
|
402
|
+
marker: (value: string) => string;
|
|
403
|
+
markerLegend: string;
|
|
404
|
+
};
|
|
405
|
+
/** 0.1.263: o funil em tabela (`SelectFunnel shape="table"`): os nomes das colunas. */
|
|
406
|
+
funnel: {
|
|
407
|
+
stage: string;
|
|
408
|
+
reached: string;
|
|
409
|
+
fromPrevious: string;
|
|
410
|
+
fromStart: string;
|
|
411
|
+
};
|
|
412
|
+
/** 0.1.263: a lista dos passos (`SelectNumberedList connected`): o que o leitor de tela ouve antes do título. */
|
|
413
|
+
numberedList: {
|
|
414
|
+
step: (position: number, total: number) => string;
|
|
415
|
+
problem: string;
|
|
416
|
+
};
|
|
417
|
+
/** 0.1.263: a prévia da busca (`SelectSearchPreview`): o nome dela para o leitor de tela. */
|
|
418
|
+
searchPreview: {
|
|
419
|
+
label: string;
|
|
420
|
+
};
|
|
421
|
+
/** 0.1.263: o contexto da conversa (`SelectConversationContext`): o nome do cartão, o link e o aviso da outra aba. */
|
|
422
|
+
conversationContext: {
|
|
423
|
+
label: string;
|
|
424
|
+
link: string;
|
|
425
|
+
newTab: string;
|
|
426
|
+
};
|
|
427
|
+
/**
|
|
428
|
+
* 0.1.263: a agenda (`SelectCalendar`), que só falava português: os dias e os meses, os títulos da barra, as vistas, as
|
|
429
|
+
* setas, a faixa das tarefas, os tipos da legenda, o dia vazio da lista e o que o leitor de tela ouve.
|
|
430
|
+
*/
|
|
431
|
+
calendar: {
|
|
432
|
+
/** Os dias curtos, de domingo a sábado. */
|
|
433
|
+
dow: readonly [string, string, string, string, string, string, string];
|
|
434
|
+
/** 0.1.263: os dias abreviados do cabeçalho numa linha (`dayHeader="inline"`): "seg.", "Mon". */
|
|
435
|
+
dowAbbr: readonly [string, string, string, string, string, string, string];
|
|
436
|
+
/** O título do mês ("outubro de 2026"); `month` de 1 a 12. */
|
|
437
|
+
monthTitle: (month: number, year: number) => string;
|
|
438
|
+
/** O título da semana ("16 – 22 de novembro de 2026"); as datas em [ano, mês, dia]. */
|
|
439
|
+
weekTitle: (from: readonly [number, number, number], to: readonly [number, number, number]) => string;
|
|
440
|
+
/** O título da semana de trabalho, curto ("16 a 20/11/2026"). */
|
|
441
|
+
workWeekTitle: (from: readonly [number, number, number], to: readonly [number, number, number]) => string;
|
|
442
|
+
/** O título do dia ("ter., 17/11/2026"); `dow` de 0 (domingo) a 6. */
|
|
443
|
+
dayTitle: (dow: number, date: readonly [number, number, number]) => string;
|
|
444
|
+
/** O dia por extenso para o leitor de tela ("17 de novembro"). */
|
|
445
|
+
dayLabel: (month: number, day: number) => string;
|
|
446
|
+
/** O dia curto da lista ("17/11"). */
|
|
447
|
+
dayShort: (month: number, day: number) => string;
|
|
448
|
+
views: Record<'month' | 'week' | 'day', string>;
|
|
449
|
+
viewLabel: string;
|
|
450
|
+
today: string;
|
|
451
|
+
todayTag: string;
|
|
452
|
+
prevMonth: string;
|
|
453
|
+
nextMonth: string;
|
|
454
|
+
prevWeek: string;
|
|
455
|
+
nextWeek: string;
|
|
456
|
+
prevDay: string;
|
|
457
|
+
nextDay: string;
|
|
458
|
+
allDay: string;
|
|
459
|
+
allDayRow: string;
|
|
460
|
+
maybe: string;
|
|
461
|
+
cancelled: string;
|
|
462
|
+
others: (n: number) => string;
|
|
463
|
+
events: (n: number) => string;
|
|
464
|
+
seeWeek: (day: string) => string;
|
|
465
|
+
moreIn: (n: number, day: string) => string;
|
|
466
|
+
tasks: string;
|
|
467
|
+
legend: string;
|
|
468
|
+
kinds: Record<'mine' | 'other' | 'series' | 'draft', string>;
|
|
469
|
+
empty: string;
|
|
470
|
+
weekDays: string;
|
|
471
|
+
};
|
|
472
|
+
/**
|
|
473
|
+
* 0.1.263: a moldura da marca no editor do e-mail (`SelectMailEditor`): os nomes do cabeçalho, do rodapé e da assinatura
|
|
474
|
+
* para o leitor de tela, o descadastro fixo do automático e a ficha da variável que não existe.
|
|
475
|
+
*/
|
|
476
|
+
mailEditor: {
|
|
477
|
+
header: string;
|
|
478
|
+
footer: string;
|
|
479
|
+
signature: string;
|
|
480
|
+
unsubscribe: string;
|
|
481
|
+
missing: string;
|
|
482
|
+
};
|
|
483
|
+
/** 0.1.263: o construtor de blocos (`SelectBlockBuilder`): a paleta, a tela, o painel, o adicionar e as setas. */
|
|
484
|
+
blockBuilder: {
|
|
485
|
+
builder: string;
|
|
486
|
+
palette: string;
|
|
487
|
+
drag: (label: string) => string;
|
|
488
|
+
canvas: string;
|
|
489
|
+
panel: string;
|
|
490
|
+
panelEmpty: string;
|
|
491
|
+
open: (label: string) => string;
|
|
492
|
+
fixed: string;
|
|
493
|
+
add: string;
|
|
494
|
+
moveUp: (label: string) => string;
|
|
495
|
+
moveDown: (label: string) => string;
|
|
496
|
+
};
|
|
497
|
+
/** 0.1.263: o construtor de regras (`SelectRuleBuilder`): a frase do topo, as regras, o adicionar e a regra fixa. */
|
|
498
|
+
ruleBuilder: {
|
|
499
|
+
lead: string;
|
|
500
|
+
tail: string;
|
|
501
|
+
all: string;
|
|
502
|
+
any: string;
|
|
503
|
+
matchLabel: string;
|
|
504
|
+
rules: string;
|
|
505
|
+
rule: (n: number) => string;
|
|
506
|
+
remove: (name: string) => string;
|
|
507
|
+
add: string;
|
|
508
|
+
fixed: string;
|
|
509
|
+
fixedWhy: string;
|
|
510
|
+
};
|
|
365
511
|
}
|
|
366
512
|
/** Os dicionários do kit, para quem quer conferir ou montar um texto do mesmo jeito. */
|
|
367
513
|
export declare const selectKitMessages: Readonly<Record<SelectLocaleCode, SelectKitMessages>>;
|
package/dist/SelectLocale.js
CHANGED
|
@@ -1,7 +1,59 @@
|
|
|
1
1
|
import { createContext as e, useContext as t } from "react";
|
|
2
2
|
import { jsx as n } from "react/jsx-runtime";
|
|
3
3
|
//#region src/SelectLocale.tsx
|
|
4
|
-
var r =
|
|
4
|
+
var r = [
|
|
5
|
+
"janeiro",
|
|
6
|
+
"fevereiro",
|
|
7
|
+
"março",
|
|
8
|
+
"abril",
|
|
9
|
+
"maio",
|
|
10
|
+
"junho",
|
|
11
|
+
"julho",
|
|
12
|
+
"agosto",
|
|
13
|
+
"setembro",
|
|
14
|
+
"outubro",
|
|
15
|
+
"novembro",
|
|
16
|
+
"dezembro"
|
|
17
|
+
], i = [
|
|
18
|
+
"jan.",
|
|
19
|
+
"fev.",
|
|
20
|
+
"mar.",
|
|
21
|
+
"abr.",
|
|
22
|
+
"mai.",
|
|
23
|
+
"jun.",
|
|
24
|
+
"jul.",
|
|
25
|
+
"ago.",
|
|
26
|
+
"set.",
|
|
27
|
+
"out.",
|
|
28
|
+
"nov.",
|
|
29
|
+
"dez."
|
|
30
|
+
], a = [
|
|
31
|
+
"January",
|
|
32
|
+
"February",
|
|
33
|
+
"March",
|
|
34
|
+
"April",
|
|
35
|
+
"May",
|
|
36
|
+
"June",
|
|
37
|
+
"July",
|
|
38
|
+
"August",
|
|
39
|
+
"September",
|
|
40
|
+
"October",
|
|
41
|
+
"November",
|
|
42
|
+
"December"
|
|
43
|
+
], o = [
|
|
44
|
+
"Jan",
|
|
45
|
+
"Feb",
|
|
46
|
+
"Mar",
|
|
47
|
+
"Apr",
|
|
48
|
+
"May",
|
|
49
|
+
"Jun",
|
|
50
|
+
"Jul",
|
|
51
|
+
"Aug",
|
|
52
|
+
"Sep",
|
|
53
|
+
"Oct",
|
|
54
|
+
"Nov",
|
|
55
|
+
"Dec"
|
|
56
|
+
], s = (e) => String(e).padStart(2, "0"), c = {
|
|
5
57
|
common: {
|
|
6
58
|
close: "Fechar",
|
|
7
59
|
cancel: "Cancelar",
|
|
@@ -47,7 +99,10 @@ var r = {
|
|
|
47
99
|
searchOption: "Buscar opção…",
|
|
48
100
|
removeFilter: (e) => `Remover filtro ${e}`,
|
|
49
101
|
customField: "campo",
|
|
50
|
-
customFieldLabel: "campo personalizado"
|
|
102
|
+
customFieldLabel: "campo personalizado",
|
|
103
|
+
filters: "Filtros",
|
|
104
|
+
filtersCount: (e, t) => `${e} · ${v(t, "pt-BR")}`,
|
|
105
|
+
showResults: "Ver resultados"
|
|
51
106
|
},
|
|
52
107
|
dataTable: {
|
|
53
108
|
columns: "Colunas",
|
|
@@ -140,7 +195,15 @@ var r = {
|
|
|
140
195
|
instagram: "Instagram",
|
|
141
196
|
messenger: "Messenger",
|
|
142
197
|
sms: "SMS"
|
|
143
|
-
}
|
|
198
|
+
},
|
|
199
|
+
nav: "Caixas e pastas",
|
|
200
|
+
flag: "Marcar com estrela",
|
|
201
|
+
unflag: "Tirar a estrela",
|
|
202
|
+
pending: "Salvando…",
|
|
203
|
+
downloadOnly: "Só baixar",
|
|
204
|
+
download: "Baixar",
|
|
205
|
+
attachmentDownload: (e) => `Baixar ${e}`,
|
|
206
|
+
attachmentDownloadGet: (e) => `Pegar o anexo ${e} para baixar`
|
|
144
207
|
},
|
|
145
208
|
chat: {
|
|
146
209
|
status: {
|
|
@@ -268,11 +331,19 @@ var r = {
|
|
|
268
331
|
retry: "Tentar de novo"
|
|
269
332
|
},
|
|
270
333
|
avatarGroup: { label: (e, t) => {
|
|
271
|
-
let n =
|
|
272
|
-
return e.length === 0 ? t === 1 ? "1 pessoa" : `${n} pessoas` :
|
|
334
|
+
let n = v(t, "pt-BR");
|
|
335
|
+
return e.length === 0 ? t === 1 ? "1 pessoa" : `${n} pessoas` : u(t > 0 ? [...e, `mais ${n}`] : e, "e");
|
|
273
336
|
} },
|
|
274
337
|
lock: { label: "automática" },
|
|
275
|
-
deviceFrame: {
|
|
338
|
+
deviceFrame: {
|
|
339
|
+
page: "Pré-visualização da página",
|
|
340
|
+
overlay: "Prévia da camada",
|
|
341
|
+
promptLabel: "Prévia do aviso do navegador",
|
|
342
|
+
promptAsk: (e) => `${e} quer mostrar notificações`,
|
|
343
|
+
block: "Bloquear",
|
|
344
|
+
allow: "Permitir",
|
|
345
|
+
notificationLabel: "Prévia da notificação"
|
|
346
|
+
},
|
|
276
347
|
sortable: {
|
|
277
348
|
item: (e) => `item ${e}`,
|
|
278
349
|
handle: (e) => `Reordenar ${e}`,
|
|
@@ -367,10 +438,131 @@ var r = {
|
|
|
367
438
|
},
|
|
368
439
|
bulkBar: {
|
|
369
440
|
label: "Ações em lote",
|
|
370
|
-
count: (e) => e === 1 ? "1 selecionado" : `${
|
|
441
|
+
count: (e) => e === 1 ? "1 selecionado" : `${v(e, "pt-BR")} selecionados`,
|
|
371
442
|
clear: "Limpar a seleção"
|
|
443
|
+
},
|
|
444
|
+
field: { count: (e, t) => `${e} de ${t}` },
|
|
445
|
+
chartCard: { retry: "Tentar de novo" },
|
|
446
|
+
progress: {
|
|
447
|
+
marker: (e) => `Deveria estar em ${e}`,
|
|
448
|
+
markerLegend: "onde deveria estar hoje"
|
|
449
|
+
},
|
|
450
|
+
funnel: {
|
|
451
|
+
stage: "Etapa",
|
|
452
|
+
reached: "Chegaram",
|
|
453
|
+
fromPrevious: "Da anterior",
|
|
454
|
+
fromStart: "Do início"
|
|
455
|
+
},
|
|
456
|
+
numberedList: {
|
|
457
|
+
step: (e, t) => `Passo ${e} de ${t}`,
|
|
458
|
+
problem: "com problema"
|
|
459
|
+
},
|
|
460
|
+
searchPreview: { label: "Prévia do resultado da busca" },
|
|
461
|
+
conversationContext: {
|
|
462
|
+
label: "O post do comentário",
|
|
463
|
+
link: "Ver o post",
|
|
464
|
+
newTab: "(abre em outra aba)"
|
|
465
|
+
},
|
|
466
|
+
calendar: {
|
|
467
|
+
dow: [
|
|
468
|
+
"dom",
|
|
469
|
+
"seg",
|
|
470
|
+
"ter",
|
|
471
|
+
"qua",
|
|
472
|
+
"qui",
|
|
473
|
+
"sex",
|
|
474
|
+
"sáb"
|
|
475
|
+
],
|
|
476
|
+
dowAbbr: [
|
|
477
|
+
"dom.",
|
|
478
|
+
"seg.",
|
|
479
|
+
"ter.",
|
|
480
|
+
"qua.",
|
|
481
|
+
"qui.",
|
|
482
|
+
"sex.",
|
|
483
|
+
"sáb."
|
|
484
|
+
],
|
|
485
|
+
monthTitle: (e, t) => `${r[e - 1]} de ${t}`,
|
|
486
|
+
weekTitle: ([e, t, n], [a, o, s]) => e === a && t === o ? `${n} – ${s} de ${r[t - 1]} de ${a}` : e === a ? `${n} de ${i[t - 1]} – ${s} de ${i[o - 1]} de ${a}` : `${n} de ${i[t - 1]} de ${e} – ${s} de ${i[o - 1]} de ${a}`,
|
|
487
|
+
workWeekTitle: ([e, t, n], [r, i, a]) => e === r && t === i ? `${n} a ${s(a)}/${s(i)}/${r}` : `${s(n)}/${s(t)} a ${s(a)}/${s(i)}/${r}`,
|
|
488
|
+
dayTitle: (e, [t, n, r]) => `${[
|
|
489
|
+
"dom",
|
|
490
|
+
"seg",
|
|
491
|
+
"ter",
|
|
492
|
+
"qua",
|
|
493
|
+
"qui",
|
|
494
|
+
"sex",
|
|
495
|
+
"sáb"
|
|
496
|
+
][e]}., ${s(r)}/${s(n)}/${t}`,
|
|
497
|
+
dayLabel: (e, t) => `${t} de ${r[e - 1]}`,
|
|
498
|
+
dayShort: (e, t) => `${s(t)}/${s(e)}`,
|
|
499
|
+
views: {
|
|
500
|
+
month: "Mês",
|
|
501
|
+
week: "Semana",
|
|
502
|
+
day: "Dia"
|
|
503
|
+
},
|
|
504
|
+
viewLabel: "Vista da agenda",
|
|
505
|
+
today: "Hoje",
|
|
506
|
+
todayTag: "hoje",
|
|
507
|
+
prevMonth: "Mês anterior",
|
|
508
|
+
nextMonth: "Próximo mês",
|
|
509
|
+
prevWeek: "Semana anterior",
|
|
510
|
+
nextWeek: "Próxima semana",
|
|
511
|
+
prevDay: "Dia anterior",
|
|
512
|
+
nextDay: "Próximo dia",
|
|
513
|
+
allDay: "Dia inteiro",
|
|
514
|
+
allDayRow: "dia inteiro",
|
|
515
|
+
maybe: "talvez",
|
|
516
|
+
cancelled: "cancelada",
|
|
517
|
+
others: (e) => e === 1 ? "outro" : "outros",
|
|
518
|
+
events: (e) => e === 1 ? "1 evento" : `${e} eventos`,
|
|
519
|
+
seeWeek: (e) => `Ver a semana de ${e}`,
|
|
520
|
+
moreIn: (e, t) => `Mais ${e} em ${t}`,
|
|
521
|
+
tasks: "Tarefas",
|
|
522
|
+
legend: "Legenda",
|
|
523
|
+
kinds: {
|
|
524
|
+
mine: "Eu organizo",
|
|
525
|
+
other: "Outra pessoa organiza",
|
|
526
|
+
series: "Série",
|
|
527
|
+
draft: "Ainda não enviado"
|
|
528
|
+
},
|
|
529
|
+
empty: "Nada marcado",
|
|
530
|
+
weekDays: "Os dias da semana"
|
|
531
|
+
},
|
|
532
|
+
mailEditor: {
|
|
533
|
+
header: "Cabeçalho da marca",
|
|
534
|
+
footer: "Rodapé da marca",
|
|
535
|
+
signature: "Assinatura",
|
|
536
|
+
unsubscribe: "Não quero mais receber estes e-mails",
|
|
537
|
+
missing: "não existe"
|
|
538
|
+
},
|
|
539
|
+
blockBuilder: {
|
|
540
|
+
builder: "Construtor de blocos",
|
|
541
|
+
palette: "Blocos",
|
|
542
|
+
drag: (e) => `Arrastar o bloco ${e}`,
|
|
543
|
+
canvas: "Os blocos",
|
|
544
|
+
panel: "O bloco",
|
|
545
|
+
panelEmpty: "Escolha um bloco para ver os campos dele.",
|
|
546
|
+
open: (e) => `Abrir o bloco ${e}`,
|
|
547
|
+
fixed: "fixo",
|
|
548
|
+
add: "Adicionar bloco",
|
|
549
|
+
moveUp: (e) => `Subir o bloco ${e}`,
|
|
550
|
+
moveDown: (e) => `Descer o bloco ${e}`
|
|
551
|
+
},
|
|
552
|
+
ruleBuilder: {
|
|
553
|
+
lead: "Entram os contatos que atendem a",
|
|
554
|
+
tail: "das regras:",
|
|
555
|
+
all: "todas",
|
|
556
|
+
any: "qualquer uma",
|
|
557
|
+
matchLabel: "Como as regras se somam",
|
|
558
|
+
rules: "Regras",
|
|
559
|
+
rule: (e) => `Regra ${e}`,
|
|
560
|
+
remove: (e) => `Tirar a ${e.charAt(0).toLowerCase()}${e.slice(1)}`,
|
|
561
|
+
add: "Adicionar regra",
|
|
562
|
+
fixed: "Esta regra é fixa: ela vale sempre.",
|
|
563
|
+
fixedWhy: "Regra fixa: por quê"
|
|
372
564
|
}
|
|
373
|
-
},
|
|
565
|
+
}, l = {
|
|
374
566
|
common: {
|
|
375
567
|
close: "Close",
|
|
376
568
|
cancel: "Cancel",
|
|
@@ -416,7 +608,10 @@ var r = {
|
|
|
416
608
|
searchOption: "Search options…",
|
|
417
609
|
removeFilter: (e) => `Remove ${e} filter`,
|
|
418
610
|
customField: "field",
|
|
419
|
-
customFieldLabel: "custom field"
|
|
611
|
+
customFieldLabel: "custom field",
|
|
612
|
+
filters: "Filters",
|
|
613
|
+
filtersCount: (e, t) => `${e} · ${v(t, "en")}`,
|
|
614
|
+
showResults: "Show results"
|
|
420
615
|
},
|
|
421
616
|
dataTable: {
|
|
422
617
|
columns: "Columns",
|
|
@@ -509,7 +704,15 @@ var r = {
|
|
|
509
704
|
instagram: "Instagram",
|
|
510
705
|
messenger: "Messenger",
|
|
511
706
|
sms: "SMS"
|
|
512
|
-
}
|
|
707
|
+
},
|
|
708
|
+
nav: "Mailboxes and folders",
|
|
709
|
+
flag: "Star",
|
|
710
|
+
unflag: "Remove the star",
|
|
711
|
+
pending: "Saving…",
|
|
712
|
+
downloadOnly: "Download only",
|
|
713
|
+
download: "Download",
|
|
714
|
+
attachmentDownload: (e) => `Download ${e}`,
|
|
715
|
+
attachmentDownloadGet: (e) => `Get the attachment ${e} to download`
|
|
513
716
|
},
|
|
514
717
|
chat: {
|
|
515
718
|
status: {
|
|
@@ -637,11 +840,19 @@ var r = {
|
|
|
637
840
|
retry: "Try again"
|
|
638
841
|
},
|
|
639
842
|
avatarGroup: { label: (e, t) => {
|
|
640
|
-
let n =
|
|
641
|
-
return e.length === 0 ? t === 1 ? "1 person" : `${n} people` :
|
|
843
|
+
let n = v(t, "en");
|
|
844
|
+
return e.length === 0 ? t === 1 ? "1 person" : `${n} people` : u(t > 0 ? [...e, `${n} more`] : e, "and");
|
|
642
845
|
} },
|
|
643
846
|
lock: { label: "automatic" },
|
|
644
|
-
deviceFrame: {
|
|
847
|
+
deviceFrame: {
|
|
848
|
+
page: "Page preview",
|
|
849
|
+
overlay: "Layer preview",
|
|
850
|
+
promptLabel: "Browser prompt preview",
|
|
851
|
+
promptAsk: (e) => `${e} wants to show notifications`,
|
|
852
|
+
block: "Block",
|
|
853
|
+
allow: "Allow",
|
|
854
|
+
notificationLabel: "Notification preview"
|
|
855
|
+
},
|
|
645
856
|
sortable: {
|
|
646
857
|
item: (e) => `item ${e}`,
|
|
647
858
|
handle: (e) => `Reorder ${e}`,
|
|
@@ -733,39 +944,160 @@ var r = {
|
|
|
733
944
|
},
|
|
734
945
|
bulkBar: {
|
|
735
946
|
label: "Bulk actions",
|
|
736
|
-
count: (e) => `${
|
|
947
|
+
count: (e) => `${v(e, "en")} selected`,
|
|
737
948
|
clear: "Clear selection"
|
|
949
|
+
},
|
|
950
|
+
field: { count: (e, t) => `${e}/${t}` },
|
|
951
|
+
chartCard: { retry: "Try again" },
|
|
952
|
+
progress: {
|
|
953
|
+
marker: (e) => `Should be at ${e}`,
|
|
954
|
+
markerLegend: "where it should be today"
|
|
955
|
+
},
|
|
956
|
+
funnel: {
|
|
957
|
+
stage: "Stage",
|
|
958
|
+
reached: "Reached",
|
|
959
|
+
fromPrevious: "From previous",
|
|
960
|
+
fromStart: "From start"
|
|
961
|
+
},
|
|
962
|
+
numberedList: {
|
|
963
|
+
step: (e, t) => `Step ${e} of ${t}`,
|
|
964
|
+
problem: "with a problem"
|
|
965
|
+
},
|
|
966
|
+
searchPreview: { label: "Search result preview" },
|
|
967
|
+
conversationContext: {
|
|
968
|
+
label: "The post of the comment",
|
|
969
|
+
link: "View the post",
|
|
970
|
+
newTab: "(opens in a new tab)"
|
|
971
|
+
},
|
|
972
|
+
calendar: {
|
|
973
|
+
dow: [
|
|
974
|
+
"Sun",
|
|
975
|
+
"Mon",
|
|
976
|
+
"Tue",
|
|
977
|
+
"Wed",
|
|
978
|
+
"Thu",
|
|
979
|
+
"Fri",
|
|
980
|
+
"Sat"
|
|
981
|
+
],
|
|
982
|
+
dowAbbr: [
|
|
983
|
+
"Sun",
|
|
984
|
+
"Mon",
|
|
985
|
+
"Tue",
|
|
986
|
+
"Wed",
|
|
987
|
+
"Thu",
|
|
988
|
+
"Fri",
|
|
989
|
+
"Sat"
|
|
990
|
+
],
|
|
991
|
+
monthTitle: (e, t) => `${a[e - 1]} ${t}`,
|
|
992
|
+
weekTitle: ([e, t, n], [r, i, s]) => e === r && t === i ? `${a[t - 1]} ${n} – ${s}, ${r}` : e === r ? `${o[t - 1]} ${n} – ${o[i - 1]} ${s}, ${r}` : `${o[t - 1]} ${n}, ${e} – ${o[i - 1]} ${s}, ${r}`,
|
|
993
|
+
workWeekTitle: ([, e, t], [n, r, i]) => `${s(e)}/${s(t)} – ${s(r)}/${s(i)}/${n}`,
|
|
994
|
+
dayTitle: (e, [t, n, r]) => `${[
|
|
995
|
+
"Sun",
|
|
996
|
+
"Mon",
|
|
997
|
+
"Tue",
|
|
998
|
+
"Wed",
|
|
999
|
+
"Thu",
|
|
1000
|
+
"Fri",
|
|
1001
|
+
"Sat"
|
|
1002
|
+
][e]}, ${s(n)}/${s(r)}/${t}`,
|
|
1003
|
+
dayLabel: (e, t) => `${a[e - 1]} ${t}`,
|
|
1004
|
+
dayShort: (e, t) => `${s(e)}/${s(t)}`,
|
|
1005
|
+
views: {
|
|
1006
|
+
month: "Month",
|
|
1007
|
+
week: "Week",
|
|
1008
|
+
day: "Day"
|
|
1009
|
+
},
|
|
1010
|
+
viewLabel: "Calendar view",
|
|
1011
|
+
today: "Today",
|
|
1012
|
+
todayTag: "today",
|
|
1013
|
+
prevMonth: "Previous month",
|
|
1014
|
+
nextMonth: "Next month",
|
|
1015
|
+
prevWeek: "Previous week",
|
|
1016
|
+
nextWeek: "Next week",
|
|
1017
|
+
prevDay: "Previous day",
|
|
1018
|
+
nextDay: "Next day",
|
|
1019
|
+
allDay: "All day",
|
|
1020
|
+
allDayRow: "all day",
|
|
1021
|
+
maybe: "maybe",
|
|
1022
|
+
cancelled: "cancelled",
|
|
1023
|
+
others: () => "more",
|
|
1024
|
+
events: (e) => e === 1 ? "1 event" : `${e} events`,
|
|
1025
|
+
seeWeek: (e) => `See the week of ${e}`,
|
|
1026
|
+
moreIn: (e, t) => `${e} more on ${t}`,
|
|
1027
|
+
tasks: "Tasks",
|
|
1028
|
+
legend: "Legend",
|
|
1029
|
+
kinds: {
|
|
1030
|
+
mine: "I organize",
|
|
1031
|
+
other: "Someone else organizes",
|
|
1032
|
+
series: "Series",
|
|
1033
|
+
draft: "Not sent yet"
|
|
1034
|
+
},
|
|
1035
|
+
empty: "Nothing scheduled",
|
|
1036
|
+
weekDays: "The days of the week"
|
|
1037
|
+
},
|
|
1038
|
+
mailEditor: {
|
|
1039
|
+
header: "Brand header",
|
|
1040
|
+
footer: "Brand footer",
|
|
1041
|
+
signature: "Signature",
|
|
1042
|
+
unsubscribe: "Unsubscribe from these emails",
|
|
1043
|
+
missing: "does not exist"
|
|
1044
|
+
},
|
|
1045
|
+
blockBuilder: {
|
|
1046
|
+
builder: "Block builder",
|
|
1047
|
+
palette: "Blocks",
|
|
1048
|
+
drag: (e) => `Drag the ${e} block`,
|
|
1049
|
+
canvas: "Blocks",
|
|
1050
|
+
panel: "Block",
|
|
1051
|
+
panelEmpty: "Pick a block to see its fields.",
|
|
1052
|
+
open: (e) => `Open the ${e} block`,
|
|
1053
|
+
fixed: "fixed",
|
|
1054
|
+
add: "Add block",
|
|
1055
|
+
moveUp: (e) => `Move the ${e} block up`,
|
|
1056
|
+
moveDown: (e) => `Move the ${e} block down`
|
|
1057
|
+
},
|
|
1058
|
+
ruleBuilder: {
|
|
1059
|
+
lead: "Include the contacts that match",
|
|
1060
|
+
tail: "of the rules:",
|
|
1061
|
+
all: "all",
|
|
1062
|
+
any: "any",
|
|
1063
|
+
matchLabel: "How the rules combine",
|
|
1064
|
+
rules: "Rules",
|
|
1065
|
+
rule: (e) => `Rule ${e}`,
|
|
1066
|
+
remove: (e) => `Remove ${e.charAt(0).toLowerCase()}${e.slice(1)}`,
|
|
1067
|
+
add: "Add rule",
|
|
1068
|
+
fixed: "This rule is fixed: it always applies.",
|
|
1069
|
+
fixedWhy: "Fixed rule: why"
|
|
738
1070
|
}
|
|
739
1071
|
};
|
|
740
|
-
function
|
|
1072
|
+
function u(e, t) {
|
|
741
1073
|
return e.length <= 1 ? e[0] ?? "" : `${e.slice(0, -1).join(", ")} ${t} ${e[e.length - 1]}`;
|
|
742
1074
|
}
|
|
743
|
-
var
|
|
744
|
-
"pt-BR":
|
|
745
|
-
en:
|
|
746
|
-
},
|
|
747
|
-
function
|
|
748
|
-
return /* @__PURE__ */ n(
|
|
1075
|
+
var d = {
|
|
1076
|
+
"pt-BR": c,
|
|
1077
|
+
en: l
|
|
1078
|
+
}, f = e(null);
|
|
1079
|
+
function p({ locale: e, children: t }) {
|
|
1080
|
+
return /* @__PURE__ */ n(f.Provider, {
|
|
749
1081
|
value: e,
|
|
750
1082
|
children: t
|
|
751
1083
|
});
|
|
752
1084
|
}
|
|
753
|
-
function
|
|
754
|
-
return t(
|
|
1085
|
+
function m() {
|
|
1086
|
+
return t(f) ?? "pt-BR";
|
|
755
1087
|
}
|
|
756
|
-
function
|
|
757
|
-
return t(
|
|
1088
|
+
function h() {
|
|
1089
|
+
return t(f);
|
|
758
1090
|
}
|
|
759
|
-
function
|
|
760
|
-
return
|
|
1091
|
+
function g() {
|
|
1092
|
+
return d[m()];
|
|
761
1093
|
}
|
|
762
|
-
function
|
|
1094
|
+
function _(e) {
|
|
763
1095
|
return e === "en" ? "en-US" : "pt-BR";
|
|
764
1096
|
}
|
|
765
|
-
function
|
|
766
|
-
return e.toLocaleString(
|
|
1097
|
+
function v(e, t = "pt-BR") {
|
|
1098
|
+
return e.toLocaleString(_(t));
|
|
767
1099
|
}
|
|
768
1100
|
//#endregion
|
|
769
|
-
export {
|
|
1101
|
+
export { p as SelectLocaleProvider, v as formatSelectNumber, _ as selectIntlLocale, d as selectKitMessages, m as useSelectLocale, h as useSelectLocaleIfSet, g as useSelectMessages };
|
|
770
1102
|
|
|
771
1103
|
//# sourceMappingURL=SelectLocale.js.map
|