@40rty/ams-ui 0.5.10 → 0.5.11
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/dist/agent.js +2 -2
- package/dist/{chunk-FSY7MEP5.js → chunk-CQXGHVS6.js} +394 -1
- package/dist/{chunk-KNIUL72S.js → chunk-IFVVYH4T.js} +1 -1
- package/dist/{chunk-M5T3ZTBB.js → chunk-ODII3M4H.js} +4 -4
- package/dist/{chunk-G3IXNKXL.js → chunk-PPKL7CCQ.js} +1 -1
- package/dist/{chunk-4ZX4IRC6.js → chunk-PYH6XCHQ.js} +1 -1
- package/dist/conversation.js +5 -5
- package/dist/index.js +5 -3
- package/dist/island.js +2 -2
- package/dist/presence.js +1 -1
- package/dist/shell.js +5 -5
- package/dist/thread-panel.js +2 -2
- package/dist/types/index.d.ts +1 -1
- package/dist/types/labels/index.d.ts +1 -0
- package/dist/types/labels/pt/agent.d.ts +2 -0
- package/dist/types/labels/pt/commerce.d.ts +2 -0
- package/dist/types/labels/pt/content.d.ts +2 -0
- package/dist/types/labels/pt/count.d.ts +4 -0
- package/dist/types/labels/pt/notices.d.ts +2 -0
- package/dist/types/labels/pt/shell.d.ts +2 -0
- package/package.json +2 -2
package/dist/agent.js
CHANGED
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
useForgetFact,
|
|
68
68
|
useMeasuredHeight,
|
|
69
69
|
useVisibleFactList
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-PYH6XCHQ.js";
|
|
71
71
|
import {
|
|
72
72
|
PRESENCE_DURABLE_SLOTS,
|
|
73
73
|
PRESENCE_FACT_LIMIT,
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
readLabel,
|
|
76
76
|
useVisibleFacts
|
|
77
77
|
} from "./chunk-RMJDSHLA.js";
|
|
78
|
-
import "./chunk-
|
|
78
|
+
import "./chunk-CQXGHVS6.js";
|
|
79
79
|
import "./chunk-ZP27BQQE.js";
|
|
80
80
|
export {
|
|
81
81
|
AgentPresenceWidget,
|
|
@@ -775,14 +775,406 @@ var HE_SHELL = {
|
|
|
775
775
|
}
|
|
776
776
|
};
|
|
777
777
|
|
|
778
|
+
// src/labels/pt/count.ts
|
|
779
|
+
function ptCount(count, one, many) {
|
|
780
|
+
return `${count} ${count === 1 ? one : many}`;
|
|
781
|
+
}
|
|
782
|
+
function ptDecimal(value) {
|
|
783
|
+
return value.toLocaleString("pt-BR", { minimumFractionDigits: 1, maximumFractionDigits: 1 });
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
// src/labels/pt/agent.ts
|
|
787
|
+
var PT_AGENT = {
|
|
788
|
+
canvas: {
|
|
789
|
+
share: "Compartilhar",
|
|
790
|
+
shareCopied: "Link copiado",
|
|
791
|
+
shareUnavailable: "Ainda n\xE3o d\xE1 para compartilhar",
|
|
792
|
+
shareA11y: "Compartilhar esta p\xE1gina",
|
|
793
|
+
shareTitle: "Enviar esta p\xE1gina",
|
|
794
|
+
shareExplain: "A pessoa recebe esta p\xE1gina e a conversa por tr\xE1s dela, congeladas como est\xE3o agora. Vira uma c\xF3pia dela para continuar \u2014 a sua p\xE1gina, o seu carrinho e o que voc\xEA fizer depois continuam sendo seus.",
|
|
795
|
+
shareCopy: "Copiar link",
|
|
796
|
+
shareExpiry: (days) => `Expira em ${ptCount(days, "dia", "dias")}`,
|
|
797
|
+
shareClose: "Fechar",
|
|
798
|
+
shareNative: "Compartilhar\u2026",
|
|
799
|
+
shareSubject: "Uma p\xE1gina feita para mim"
|
|
800
|
+
},
|
|
801
|
+
chat: {
|
|
802
|
+
placeholder: "Pergunte ao assistente",
|
|
803
|
+
placeholderFollowUp: "Continue a conversa"
|
|
804
|
+
},
|
|
805
|
+
voice: {
|
|
806
|
+
speak: "Falar"
|
|
807
|
+
},
|
|
808
|
+
presence: {
|
|
809
|
+
newFacts: (count) => count === 1 ? "1 novo detalhe" : `${count} novos detalhes`,
|
|
810
|
+
brief: {
|
|
811
|
+
open: "Mostrar o que sei sobre voc\xEA",
|
|
812
|
+
close: "Ocultar o que sei sobre voc\xEA",
|
|
813
|
+
identity: {
|
|
814
|
+
greeting: (name) => `Oi, ${name}`,
|
|
815
|
+
invite: "Me diga como posso te chamar",
|
|
816
|
+
placeholder: "Seu nome",
|
|
817
|
+
change: (name) => `Mudar o nome pelo qual te chamo (${name})`
|
|
818
|
+
},
|
|
819
|
+
more: (count) => `Mostrar mais ${count}`,
|
|
820
|
+
forget: (label) => `Esquecer ${label}`,
|
|
821
|
+
recalled: {
|
|
822
|
+
title: "De antes",
|
|
823
|
+
badge: "Voc\xEA me contou isso em uma visita anterior"
|
|
824
|
+
},
|
|
825
|
+
inferred: {
|
|
826
|
+
title: "Desta visita"
|
|
827
|
+
}
|
|
828
|
+
},
|
|
829
|
+
composing: [
|
|
830
|
+
"Montando isso para voc\xEA",
|
|
831
|
+
"Organizando as op\xE7\xF5es",
|
|
832
|
+
"Colocando tudo no lugar",
|
|
833
|
+
"Buscando o equil\xEDbrio",
|
|
834
|
+
"Come\xE7ando do in\xEDcio",
|
|
835
|
+
"Abrindo espa\xE7o ao lado"
|
|
836
|
+
],
|
|
837
|
+
ask: {
|
|
838
|
+
fallback: "Quer que eu fa\xE7a isso?",
|
|
839
|
+
dismiss: "Dispensar"
|
|
840
|
+
}
|
|
841
|
+
},
|
|
842
|
+
conversation: {
|
|
843
|
+
home: "In\xEDcio",
|
|
844
|
+
thisPage: "Esta p\xE1gina",
|
|
845
|
+
whatIKnow: "O que sei",
|
|
846
|
+
startOver: "Recome\xE7ar",
|
|
847
|
+
clearFacts: "Limpar",
|
|
848
|
+
clearFact: (label) => `Limpar ${label}`,
|
|
849
|
+
searching: (query) => `Procurando em ${query}`,
|
|
850
|
+
working: "Preparando sua resposta",
|
|
851
|
+
lookedAt: (count) => count === 1 ? "1 analisado" : `${count} analisados`,
|
|
852
|
+
send: "Enviar",
|
|
853
|
+
verdict: "Nossa escolha",
|
|
854
|
+
ourPick: "Recomendado",
|
|
855
|
+
tradeoff: "Pr\xF3s e contras",
|
|
856
|
+
tradeoffCaveat: (caveat) => `Ponto de aten\xE7\xE3o: ${caveat}`,
|
|
857
|
+
pathsTitle: "Pr\xF3ximos passos",
|
|
858
|
+
noteEyebrow: "Uma dica",
|
|
859
|
+
explainProducts: "Produtos assim"
|
|
860
|
+
}
|
|
861
|
+
};
|
|
862
|
+
|
|
863
|
+
// src/labels/pt/commerce.ts
|
|
864
|
+
var PT_COMMERCE = {
|
|
865
|
+
product: {
|
|
866
|
+
addToBag: "adicionar ao carrinho",
|
|
867
|
+
added: "adicionado \xB7 \u2713",
|
|
868
|
+
save: "salvar",
|
|
869
|
+
saved: "salvo",
|
|
870
|
+
inStock: "em estoque",
|
|
871
|
+
outOfStock: "esgotado",
|
|
872
|
+
reviewsTitle: "Avalia\xE7\xF5es",
|
|
873
|
+
reviewsEmpty: "Este produto ainda n\xE3o tem avalia\xE7\xF5es.",
|
|
874
|
+
specs: {
|
|
875
|
+
vendor: "marca",
|
|
876
|
+
type: "tipo",
|
|
877
|
+
available: "dispon\xEDvel",
|
|
878
|
+
rating: "avalia\xE7\xE3o",
|
|
879
|
+
tags: "tags",
|
|
880
|
+
variant: "variante"
|
|
881
|
+
},
|
|
882
|
+
a11y: {
|
|
883
|
+
ratingLabel: (value, count) => `Nota ${ptDecimal(value)} de 5 em ${ptCount(count, "avalia\xE7\xE3o", "avalia\xE7\xF5es")}`
|
|
884
|
+
},
|
|
885
|
+
addToCart: "Adicionar ao carrinho",
|
|
886
|
+
addedToCart: "Adicionado",
|
|
887
|
+
adding: "Adicionando\u2026",
|
|
888
|
+
badge: {
|
|
889
|
+
sale: "Oferta",
|
|
890
|
+
soldOut: "Esgotado",
|
|
891
|
+
new: "Novo"
|
|
892
|
+
},
|
|
893
|
+
showFewer: "Mostrar menos",
|
|
894
|
+
showAll: (hidden) => hidden > 0 ? `Mostrar todos (${hidden})` : "Mostrar todos",
|
|
895
|
+
noImages: "Sem imagens",
|
|
896
|
+
noImage: "Sem imagem",
|
|
897
|
+
video: "V\xEDdeo do produto",
|
|
898
|
+
specSheet: "ver ficha t\xE9cnica",
|
|
899
|
+
view: (title) => `Ver ${title}`,
|
|
900
|
+
saveAmount: (amount) => `Economize ${amount}`,
|
|
901
|
+
selectOption: (name) => `Selecionar ${name}`,
|
|
902
|
+
selectOptions: "Selecionar op\xE7\xF5es",
|
|
903
|
+
coreFeatures: "Principais caracter\xEDsticas",
|
|
904
|
+
viewImage: (index) => `Ver imagem ${index}`,
|
|
905
|
+
tabs: {
|
|
906
|
+
features: "Caracter\xEDsticas",
|
|
907
|
+
specs: "Especifica\xE7\xF5es",
|
|
908
|
+
manual: "Manual de uso"
|
|
909
|
+
},
|
|
910
|
+
downloadManual: "Baixar o manual de uso",
|
|
911
|
+
specRows: {
|
|
912
|
+
category: "Categoria",
|
|
913
|
+
rating: "Avalia\xE7\xE3o",
|
|
914
|
+
ratingValue: (value, count) => `${value} (${ptCount(count, "avalia\xE7\xE3o", "avalia\xE7\xF5es")})`
|
|
915
|
+
},
|
|
916
|
+
registry: {
|
|
917
|
+
title: "Adicionar \xE0 lista",
|
|
918
|
+
addTo: (provider) => `Adicionar \xE0 lista ${provider}`
|
|
919
|
+
}
|
|
920
|
+
},
|
|
921
|
+
comparison: {
|
|
922
|
+
verdict: "Nossa escolha",
|
|
923
|
+
headToHead: "Lado a lado",
|
|
924
|
+
myPick: "minha escolha",
|
|
925
|
+
leadsOn: "vence em",
|
|
926
|
+
takes: "leva",
|
|
927
|
+
wins: "vence esta",
|
|
928
|
+
rows: {
|
|
929
|
+
price: "Pre\xE7o",
|
|
930
|
+
sale: "Oferta",
|
|
931
|
+
rating: "Avalia\xE7\xE3o",
|
|
932
|
+
percentOff: (pct) => `${pct}% de desconto`
|
|
933
|
+
}
|
|
934
|
+
},
|
|
935
|
+
rating: {
|
|
936
|
+
reviewsCount: (count) => ptCount(count, "avalia\xE7\xE3o", "avalia\xE7\xF5es"),
|
|
937
|
+
reviewsTotal: (count, formatted) => `${formatted} ${count === 1 ? "avalia\xE7\xE3o" : "avalia\xE7\xF5es"}`,
|
|
938
|
+
basedOn: (count, formatted) => `Com base em ${formatted} ${count === 1 ? "avalia\xE7\xE3o" : "avalia\xE7\xF5es"}`
|
|
939
|
+
},
|
|
940
|
+
variantPicker: {
|
|
941
|
+
title: "escolha as op\xE7\xF5es",
|
|
942
|
+
dismiss: "agora n\xE3o"
|
|
943
|
+
},
|
|
944
|
+
cart: {
|
|
945
|
+
title: "carrinho",
|
|
946
|
+
empty: "seu carrinho est\xE1 vazio",
|
|
947
|
+
emptyHint: "adicione um produto para come\xE7ar",
|
|
948
|
+
removeLine: "Remover do carrinho",
|
|
949
|
+
viewOnStore: "ver carrinho na loja oficial",
|
|
950
|
+
freeShippingThreshold: null,
|
|
951
|
+
shippingFree: "gr\xE1tis",
|
|
952
|
+
shippingDeferred: "frete e impostos calculados no checkout",
|
|
953
|
+
promoPlaceholder: "cupom de desconto",
|
|
954
|
+
promoApply: "aplicar",
|
|
955
|
+
promoNotApplicable: "n\xE3o se aplica",
|
|
956
|
+
promoInvalid: "cupom n\xE3o reconhecido",
|
|
957
|
+
discount: "desconto",
|
|
958
|
+
itemSingular: "item",
|
|
959
|
+
itemPlural: "itens",
|
|
960
|
+
subtotal: "subtotal",
|
|
961
|
+
shipping: "frete",
|
|
962
|
+
total: "total",
|
|
963
|
+
linePending: "adicionando\u2026",
|
|
964
|
+
linePendingPrice: "\u2014",
|
|
965
|
+
totalsPending: "atualizando valores\u2026",
|
|
966
|
+
itemCount: (count) => ptCount(count, "item", "itens"),
|
|
967
|
+
continueShopping: "Continuar comprando",
|
|
968
|
+
decrease: "Diminuir quantidade",
|
|
969
|
+
increase: "Aumentar quantidade",
|
|
970
|
+
removeItem: "Remover item",
|
|
971
|
+
openLine: (title) => `Abrir ${title}`,
|
|
972
|
+
removeCode: (code) => `Remover cupom ${code}`,
|
|
973
|
+
openWithCount: (count) => `Abrir carrinho (${ptCount(count, "item", "itens")})`,
|
|
974
|
+
backToChat: "Voltar \xE0 conversa",
|
|
975
|
+
close: "Fechar carrinho",
|
|
976
|
+
checkout: "finalizar compra",
|
|
977
|
+
redirecting: "redirecionando\u2026",
|
|
978
|
+
bag: "Carrinho",
|
|
979
|
+
openBag: "Abrir carrinho",
|
|
980
|
+
headerA11y: "Carrinho",
|
|
981
|
+
headerA11yCount: (count) => `Carrinho, ${ptCount(count, "item", "itens")}`,
|
|
982
|
+
summary: {
|
|
983
|
+
subtotal: "Subtotal",
|
|
984
|
+
note: "Frete e impostos calculados no checkout.",
|
|
985
|
+
checkout: "Finalizar compra"
|
|
986
|
+
}
|
|
987
|
+
},
|
|
988
|
+
wishlist: {
|
|
989
|
+
title: "favoritos",
|
|
990
|
+
pieces: (count) => ptCount(count, "produto", "produtos"),
|
|
991
|
+
saved: "salvo",
|
|
992
|
+
viewAll: "ver todos os favoritos",
|
|
993
|
+
collectionTitle: "Salvos",
|
|
994
|
+
close: "Fechar favoritos",
|
|
995
|
+
remove: "Remover dos favoritos",
|
|
996
|
+
removeShort: "remover",
|
|
997
|
+
empty: "nenhum ainda",
|
|
998
|
+
emptyHint: "Favorite um produto para guard\xE1-lo aqui.",
|
|
999
|
+
items: "Itens salvos"
|
|
1000
|
+
},
|
|
1001
|
+
reviews: {
|
|
1002
|
+
verifiedBuyer: "Compra verificada",
|
|
1003
|
+
verified: "Verificada",
|
|
1004
|
+
unavailable: "As avalia\xE7\xF5es n\xE3o est\xE3o dispon\xEDveis agora.",
|
|
1005
|
+
summaryEyebrow: "Clientes dizem",
|
|
1006
|
+
onIntent: (intent) => `Sobre \u201C${intent}\u201D`,
|
|
1007
|
+
mostRelevant: "Mais relevantes",
|
|
1008
|
+
all: "Todas as avalia\xE7\xF5es",
|
|
1009
|
+
sort: {
|
|
1010
|
+
recent: "Mais recentes",
|
|
1011
|
+
highest: "Melhor avaliadas",
|
|
1012
|
+
lowest: "Pior avaliadas"
|
|
1013
|
+
},
|
|
1014
|
+
filterAll: (count) => `Todas as avalia\xE7\xF5es (${count})`,
|
|
1015
|
+
filterAllShort: (count) => `Todas ${count}`,
|
|
1016
|
+
filterStars: (stars, count) => `Avalia\xE7\xF5es de ${stars} estrelas (${count})`,
|
|
1017
|
+
seeAll: (count) => `Ver as ${count} avalia\xE7\xF5es`,
|
|
1018
|
+
hideAll: "Ocultar avalia\xE7\xF5es",
|
|
1019
|
+
loadMore: (count) => `Carregar mais ${count}`
|
|
1020
|
+
}
|
|
1021
|
+
};
|
|
1022
|
+
|
|
1023
|
+
// src/labels/pt/content.ts
|
|
1024
|
+
var PT_CONTENT = {
|
|
1025
|
+
content: {
|
|
1026
|
+
blogEyebrow: "Blog",
|
|
1027
|
+
collectionsEyebrow: "Compre por categoria",
|
|
1028
|
+
collectionStyles: (count) => count === 1 ? "1 op\xE7\xE3o" : `${count} op\xE7\xF5es`,
|
|
1029
|
+
policyEyebrow: "Jur\xEDdico",
|
|
1030
|
+
readFullPolicy: "Ler a pol\xEDtica completa",
|
|
1031
|
+
scroll: "Role",
|
|
1032
|
+
scrollNext: "Ir para a pr\xF3xima se\xE7\xE3o",
|
|
1033
|
+
announcementPrev: "Aviso anterior",
|
|
1034
|
+
announcementNext: "Pr\xF3ximo aviso",
|
|
1035
|
+
dismiss: "Dispensar",
|
|
1036
|
+
ugcVideoPoster: (author) => `Capa do v\xEDdeo de ${author}`,
|
|
1037
|
+
ugcUpload: (author) => `Publica\xE7\xE3o de ${author}`,
|
|
1038
|
+
reading: "lendo\u2026",
|
|
1039
|
+
updated: (date) => `Atualizado em ${date}`,
|
|
1040
|
+
featuredInGuide: "Neste guia",
|
|
1041
|
+
readTime: (minutes) => `${minutes} min de leitura`
|
|
1042
|
+
}
|
|
1043
|
+
};
|
|
1044
|
+
|
|
1045
|
+
// src/labels/pt/notices.ts
|
|
1046
|
+
var PT_NOTICES = {
|
|
1047
|
+
notices: {
|
|
1048
|
+
contentFailed: "Parte do conte\xFAdo n\xE3o p\xF4de ser carregada.",
|
|
1049
|
+
itemsUnavailable: (count) => count === 1 ? "1 item n\xE3o p\xF4de ser carregado." : `${count} itens n\xE3o puderam ser carregados.`
|
|
1050
|
+
}
|
|
1051
|
+
};
|
|
1052
|
+
|
|
1053
|
+
// src/labels/pt/shell.ts
|
|
1054
|
+
var PT_SHELL = {
|
|
1055
|
+
menu: {
|
|
1056
|
+
shopAll: (label) => `Ver tudo em ${label}`,
|
|
1057
|
+
open: "Abrir menu",
|
|
1058
|
+
close: "Fechar menu",
|
|
1059
|
+
site: "Menu do site",
|
|
1060
|
+
categories: (label) => `Categorias de ${label}`
|
|
1061
|
+
},
|
|
1062
|
+
composer: {
|
|
1063
|
+
placeholder: "Pergunte o que quiser\u2026",
|
|
1064
|
+
writeMessage: "Escreva uma mensagem",
|
|
1065
|
+
askQuestion: "Fa\xE7a uma pergunta",
|
|
1066
|
+
send: "Enviar",
|
|
1067
|
+
sendNow: "Enviar agora",
|
|
1068
|
+
stop: "Parar",
|
|
1069
|
+
cancel: "Cancelar",
|
|
1070
|
+
open: "Abrir o campo de mensagem",
|
|
1071
|
+
openLabel: "perguntar",
|
|
1072
|
+
fold: "Recolher o campo de mensagem",
|
|
1073
|
+
back: "Voltar",
|
|
1074
|
+
forward: "Avan\xE7ar",
|
|
1075
|
+
toSidePanel: "Mudar para o painel lateral",
|
|
1076
|
+
toBottomDock: "Mudar para a barra inferior",
|
|
1077
|
+
closePanel: "Fechar painel",
|
|
1078
|
+
resizePanel: "Redimensionar painel",
|
|
1079
|
+
suggestions: "Sugest\xF5es",
|
|
1080
|
+
followUpSuggestions: "Sugest\xF5es para continuar",
|
|
1081
|
+
emptyHint: "Pergunte qualquer coisa para come\xE7ar \u2014 produtos, uso, d\xFAvidas.",
|
|
1082
|
+
attach: "Anexar um arquivo",
|
|
1083
|
+
removeAttachment: (name) => `Remover ${name}`,
|
|
1084
|
+
attachmentFailure: (failure) => {
|
|
1085
|
+
switch (failure.kind) {
|
|
1086
|
+
case "empty":
|
|
1087
|
+
return "O arquivo est\xE1 vazio.";
|
|
1088
|
+
case "unsupported_type":
|
|
1089
|
+
return failure.mimeType.length > 0 ? `${failure.mimeType} n\xE3o \xE9 aceito.` : "Este tipo de arquivo n\xE3o \xE9 aceito.";
|
|
1090
|
+
case "too_large":
|
|
1091
|
+
return `O arquivo passa de ${failure.maxMb}MB.`;
|
|
1092
|
+
case "not_ready":
|
|
1093
|
+
return "N\xE3o \xE9 poss\xEDvel anexar antes de a sess\xE3o come\xE7ar.";
|
|
1094
|
+
case "upload_failed":
|
|
1095
|
+
return "O envio falhou.";
|
|
1096
|
+
}
|
|
1097
|
+
},
|
|
1098
|
+
dictate: "Ditar",
|
|
1099
|
+
stopDictation: "Parar o ditado",
|
|
1100
|
+
micDenied: "O acesso ao microfone foi negado \u2014 toque para digitar",
|
|
1101
|
+
listening: "Ouvindo\u2026",
|
|
1102
|
+
newConversation: "Come\xE7ar uma nova conversa",
|
|
1103
|
+
olderConversations: "Conversas anteriores",
|
|
1104
|
+
since: {
|
|
1105
|
+
now: "agora",
|
|
1106
|
+
minutes: (count) => `${count} min`,
|
|
1107
|
+
hours: (count) => `${count} h`,
|
|
1108
|
+
days: (count) => `${count} d`
|
|
1109
|
+
},
|
|
1110
|
+
jumpToEarlier: "Ir para uma mensagem anterior",
|
|
1111
|
+
showMoreDetail: "Mostrar mais detalhes",
|
|
1112
|
+
showLessDetail: "Mostrar menos detalhes"
|
|
1113
|
+
},
|
|
1114
|
+
thread: {
|
|
1115
|
+
title: "Assistente",
|
|
1116
|
+
tab: "Perguntar",
|
|
1117
|
+
placeholder: "Pergunte o que quiser\u2026",
|
|
1118
|
+
empty: "Conte o que voc\xEA est\xE1 procurando.",
|
|
1119
|
+
working: "Juntando tudo\u2026",
|
|
1120
|
+
open: "Abrir a conversa",
|
|
1121
|
+
close: "Fechar a conversa",
|
|
1122
|
+
showAssistant: "Mostrar o assistente",
|
|
1123
|
+
openAssistant: "Abrir assistente",
|
|
1124
|
+
closeAssistant: "Fechar assistente",
|
|
1125
|
+
introTitle: "Pergunte o que quiser.",
|
|
1126
|
+
introHint: "Encontre o produto certo, compare op\xE7\xF5es ou tire uma d\xFAvida direto."
|
|
1127
|
+
},
|
|
1128
|
+
live: {
|
|
1129
|
+
thinking: "Pensando\u2026",
|
|
1130
|
+
understood: "O que entendi",
|
|
1131
|
+
confirm: "Sim",
|
|
1132
|
+
activity: "Atividade do assistente",
|
|
1133
|
+
askGroup: "Uma pergunta do assistente",
|
|
1134
|
+
dismissAsk: "Dispensar a pergunta",
|
|
1135
|
+
forgetFact: (label, value) => `Esquecer ${label}: ${value}`,
|
|
1136
|
+
lookingThrough: (count) => `Olhando ${count} resultados`,
|
|
1137
|
+
lookingFor: (query) => `Procurando \u201C${query}\u201D`,
|
|
1138
|
+
pendingFloor: "consultando o estoque \xB7 refinando a escolha"
|
|
1139
|
+
},
|
|
1140
|
+
history: {
|
|
1141
|
+
title: "Hist\xF3rico",
|
|
1142
|
+
session: "sess\xE3o",
|
|
1143
|
+
prompts: (count) => count === 1 ? "1 PERGUNTA" : `${count} PERGUNTAS`,
|
|
1144
|
+
empty: "nenhuma pergunta ainda",
|
|
1145
|
+
clear: "limpar sess\xE3o"
|
|
1146
|
+
},
|
|
1147
|
+
errors: {
|
|
1148
|
+
generic: "Algo deu errado do nosso lado. Tentar de novo?",
|
|
1149
|
+
noAnswer: "Nosso assistente n\xE3o teve resposta para isso. Quer reformular?",
|
|
1150
|
+
noResponse: "N\xE3o recebemos resposta do assistente. Tentar de novo?",
|
|
1151
|
+
dropped: "A conex\xE3o caiu antes de terminarmos. Tentar de novo?",
|
|
1152
|
+
sendFailed: "N\xE3o conseguimos enviar sua mensagem. Verifique sua conex\xE3o e tente de novo.",
|
|
1153
|
+
sessionFailed: "N\xE3o conseguimos iniciar a sess\xE3o. Tentar de novo?",
|
|
1154
|
+
expired: "Sua sess\xE3o expirou. Atualize a p\xE1gina para come\xE7ar de novo.",
|
|
1155
|
+
restoreFailed: "N\xE3o conseguimos restaurar sua sess\xE3o. Atualize a p\xE1gina para come\xE7ar de novo.",
|
|
1156
|
+
reconnecting: "Reconectando\u2026",
|
|
1157
|
+
retry: "Tentar de novo"
|
|
1158
|
+
},
|
|
1159
|
+
nav: {
|
|
1160
|
+
home: "In\xEDcio",
|
|
1161
|
+
breadcrumb: "Navega\xE7\xE3o",
|
|
1162
|
+
search: "Buscar",
|
|
1163
|
+
storeFallback: "Loja",
|
|
1164
|
+
conversation: "Conversa"
|
|
1165
|
+
}
|
|
1166
|
+
};
|
|
1167
|
+
|
|
778
1168
|
// src/labels/index.ts
|
|
779
1169
|
var EN_LABELS = { ...EN_COMMERCE, ...EN_AGENT, ...EN_SHELL, ...EN_CONTENT, ...EN_NOTICES };
|
|
780
1170
|
var HE_LABELS = { ...HE_COMMERCE, ...HE_AGENT, ...HE_SHELL, ...HE_CONTENT, ...HE_NOTICES };
|
|
1171
|
+
var PT_LABELS = { ...PT_COMMERCE, ...PT_AGENT, ...PT_SHELL, ...PT_CONTENT, ...PT_NOTICES };
|
|
781
1172
|
var DEFAULT_LABELS = EN_LABELS;
|
|
782
1173
|
var LABELS_BY_LANGUAGE = /* @__PURE__ */ new Map([
|
|
783
1174
|
["en", EN_LABELS],
|
|
784
1175
|
["he", HE_LABELS],
|
|
785
|
-
["iw", HE_LABELS]
|
|
1176
|
+
["iw", HE_LABELS],
|
|
1177
|
+
["pt", PT_LABELS]
|
|
786
1178
|
]);
|
|
787
1179
|
function labelsForLocale(locale) {
|
|
788
1180
|
const language = new Intl.Locale(locale).language;
|
|
@@ -834,6 +1226,7 @@ function useLocale() {
|
|
|
834
1226
|
export {
|
|
835
1227
|
EN_LABELS,
|
|
836
1228
|
HE_LABELS,
|
|
1229
|
+
PT_LABELS,
|
|
837
1230
|
DEFAULT_LABELS,
|
|
838
1231
|
labelsForLocale,
|
|
839
1232
|
useTextDirection,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
SideDock,
|
|
4
4
|
useSideDockSpacing
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-IFVVYH4T.js";
|
|
6
6
|
import {
|
|
7
7
|
useMediaQuery,
|
|
8
8
|
useScrollLock
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
AgentPresenceWidget,
|
|
12
12
|
PresenceBriefRail,
|
|
13
13
|
mirrorX
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-PYH6XCHQ.js";
|
|
15
15
|
import {
|
|
16
16
|
submitOnEnter,
|
|
17
17
|
useScrollThreshold
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
AttachmentStrip,
|
|
22
22
|
DictationButton,
|
|
23
23
|
ListeningWaveform
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-PPKL7CCQ.js";
|
|
25
25
|
import {
|
|
26
26
|
Spinner,
|
|
27
27
|
cn
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
useLabels,
|
|
31
31
|
useLocale,
|
|
32
32
|
useTextDirection
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-CQXGHVS6.js";
|
|
34
34
|
import {
|
|
35
35
|
AgentCaret,
|
|
36
36
|
AnimatePresence,
|
package/dist/conversation.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
ComposerChipStrip,
|
|
4
4
|
usePromptComposer
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-ODII3M4H.js";
|
|
6
|
+
import "./chunk-IFVVYH4T.js";
|
|
7
7
|
import "./chunk-I5QE47QY.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-PYH6XCHQ.js";
|
|
9
9
|
import "./chunk-RMJDSHLA.js";
|
|
10
10
|
import "./chunk-PHXP2SKS.js";
|
|
11
11
|
import "./chunk-GQURT3IR.js";
|
|
@@ -13,11 +13,11 @@ import {
|
|
|
13
13
|
AttachButton,
|
|
14
14
|
AttachmentStrip,
|
|
15
15
|
DictationButton
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-PPKL7CCQ.js";
|
|
17
17
|
import "./chunk-WDL5PHO2.js";
|
|
18
18
|
import {
|
|
19
19
|
useLabels
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-CQXGHVS6.js";
|
|
21
21
|
import {
|
|
22
22
|
AnimatePresence,
|
|
23
23
|
motion,
|
package/dist/index.js
CHANGED
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
presenceClass,
|
|
38
38
|
registerDefaultPresenceForms,
|
|
39
39
|
useMeasuredHeight
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-PYH6XCHQ.js";
|
|
41
41
|
import {
|
|
42
42
|
readFacts,
|
|
43
43
|
readLabel,
|
|
@@ -56,11 +56,12 @@ import {
|
|
|
56
56
|
EN_LABELS,
|
|
57
57
|
HE_LABELS,
|
|
58
58
|
LabelsProvider,
|
|
59
|
+
PT_LABELS,
|
|
59
60
|
labelsForLocale,
|
|
60
61
|
useLabels,
|
|
61
62
|
useLocale,
|
|
62
63
|
useTextDirection
|
|
63
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-CQXGHVS6.js";
|
|
64
65
|
import {
|
|
65
66
|
AnimatePresence,
|
|
66
67
|
Reveal,
|
|
@@ -3944,7 +3945,7 @@ function CartFoot({
|
|
|
3944
3945
|
const discountAmount = backendTotal !== void 0 && backendTotal < subtotal ? subtotal - backendTotal : 0;
|
|
3945
3946
|
const effectiveTotal = backendTotal !== void 0 ? backendTotal : subtotal;
|
|
3946
3947
|
return /* @__PURE__ */ jsxs36("div", { className: "cart-drawer__foot", children: [
|
|
3947
|
-
lines.length > 0 && /* @__PURE__ */ jsx48(
|
|
3948
|
+
(lines.length > 0 || discountCodes.length > 0) && /* @__PURE__ */ jsx48(
|
|
3948
3949
|
CartPromoCode,
|
|
3949
3950
|
{
|
|
3950
3951
|
discountCodes,
|
|
@@ -7008,6 +7009,7 @@ export {
|
|
|
7008
7009
|
LayoutMorphSkeleton,
|
|
7009
7010
|
Modal,
|
|
7010
7011
|
Money as MoneyDisplay,
|
|
7012
|
+
PT_LABELS,
|
|
7011
7013
|
PageDetail,
|
|
7012
7014
|
PendingTurn,
|
|
7013
7015
|
PresenceBriefBody,
|
package/dist/island.js
CHANGED
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
AttachButton,
|
|
10
10
|
AttachmentStrip,
|
|
11
11
|
DictationButton
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-PPKL7CCQ.js";
|
|
13
13
|
import "./chunk-WDL5PHO2.js";
|
|
14
14
|
import {
|
|
15
15
|
useLabels
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-CQXGHVS6.js";
|
|
17
17
|
import "./chunk-ZP27BQQE.js";
|
|
18
18
|
|
|
19
19
|
// src/shell/SpacefrontIsland.tsx
|
package/dist/presence.js
CHANGED
package/dist/shell.js
CHANGED
|
@@ -38,17 +38,17 @@ import {
|
|
|
38
38
|
useOnScreen,
|
|
39
39
|
usePromptComposer,
|
|
40
40
|
useShellDock
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-ODII3M4H.js";
|
|
42
42
|
import {
|
|
43
43
|
SIDE_DOCK_EASE,
|
|
44
44
|
SIDE_DOCK_REVEAL_MS,
|
|
45
45
|
SideDock,
|
|
46
46
|
useSideDockSpacing
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-IFVVYH4T.js";
|
|
48
48
|
import {
|
|
49
49
|
DragSheet
|
|
50
50
|
} from "./chunk-I5QE47QY.js";
|
|
51
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-PYH6XCHQ.js";
|
|
52
52
|
import "./chunk-RMJDSHLA.js";
|
|
53
53
|
import "./chunk-PHXP2SKS.js";
|
|
54
54
|
import "./chunk-GQURT3IR.js";
|
|
@@ -57,11 +57,11 @@ import {
|
|
|
57
57
|
AttachmentStrip,
|
|
58
58
|
DictationButton,
|
|
59
59
|
ListeningWaveform
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-PPKL7CCQ.js";
|
|
61
61
|
import {
|
|
62
62
|
Spinner
|
|
63
63
|
} from "./chunk-WDL5PHO2.js";
|
|
64
|
-
import "./chunk-
|
|
64
|
+
import "./chunk-CQXGHVS6.js";
|
|
65
65
|
import "./chunk-ZP27BQQE.js";
|
|
66
66
|
export {
|
|
67
67
|
AnimatedPlaceholder,
|
package/dist/thread-panel.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
SideDock
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-IFVVYH4T.js";
|
|
5
5
|
import {
|
|
6
6
|
stopHostKeys,
|
|
7
7
|
useHostShell,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-QXCHHCPU.js";
|
|
10
10
|
import {
|
|
11
11
|
useLabels
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-CQXGHVS6.js";
|
|
13
13
|
|
|
14
14
|
// src/shell/SpacefrontThreadPanel.tsx
|
|
15
15
|
import * as React2 from "react";
|
package/dist/types/index.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export { useMediaQuery } from './hooks/use-media-query';
|
|
|
13
13
|
export { useScrollLock } from './hooks/use-scroll-lock';
|
|
14
14
|
export { useReducedMotion } from './hooks/use-reduced-motion';
|
|
15
15
|
export { useContainerWidth } from './hooks/use-container-width';
|
|
16
|
-
export { DEFAULT_LABELS, EN_LABELS, HE_LABELS, labelsForLocale, type Labels } from './labels';
|
|
16
|
+
export { DEFAULT_LABELS, EN_LABELS, HE_LABELS, PT_LABELS, labelsForLocale, type Labels } from './labels';
|
|
17
17
|
export { LabelsProvider, useLabels, useLocale, useTextDirection, type LabelsProviderProps, type LabelOverrides } from './labels-context';
|
|
18
18
|
export { Button, type ButtonProps } from './primitives/Button';
|
|
19
19
|
export { Badge, type BadgeProps } from './primitives/Badge';
|
|
@@ -24,6 +24,7 @@ export interface Labels extends CommerceLabels, AgentLabels, ShellLabels, Conten
|
|
|
24
24
|
}
|
|
25
25
|
export declare const EN_LABELS: Labels;
|
|
26
26
|
export declare const HE_LABELS: Labels;
|
|
27
|
+
export declare const PT_LABELS: Labels;
|
|
27
28
|
/** The fallback outside any provider (stories, catalog previews) — English. */
|
|
28
29
|
export declare const DEFAULT_LABELS: Labels;
|
|
29
30
|
/**
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/** Portuguese counted nouns: singular for exactly one, plural otherwise. */
|
|
2
|
+
export declare function ptCount(count: number, one: string, many: string): string;
|
|
3
|
+
/** A rating as Brazilians write it: one decimal, comma separator ("4,5"). */
|
|
4
|
+
export declare function ptDecimal(value: number): string;
|
package/package.json
CHANGED
|
@@ -76,12 +76,12 @@
|
|
|
76
76
|
"zod": "^3.23.0"
|
|
77
77
|
},
|
|
78
78
|
"peerDependencies": {
|
|
79
|
-
"@40rty/ams-sdk": "0.5.
|
|
79
|
+
"@40rty/ams-sdk": "0.5.11",
|
|
80
80
|
"lucide-react": ">=0.400.0",
|
|
81
81
|
"react": ">=18.0.0",
|
|
82
82
|
"react-dom": ">=18.0.0"
|
|
83
83
|
},
|
|
84
|
-
"version": "0.5.
|
|
84
|
+
"version": "0.5.11",
|
|
85
85
|
"homepage": "https://docs.40rty.ai",
|
|
86
86
|
"license": "UNLICENSED",
|
|
87
87
|
"engines": {
|