@designcrowd/fe-shared-lib 1.3.8 → 1.3.9-currency-5
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/.storybook-static/assets/Auth-CV5AmoX8.css +1 -0
- package/.storybook-static/assets/Auth.stories-CX3sjxh5.js +490 -0
- package/.storybook-static/assets/AuthCrazyDomains.stories-Didj_VFa.js +73 -0
- package/.storybook-static/assets/Button-5UzSGUF6.css +1 -0
- package/.storybook-static/assets/Button-DtVlr_q3.js +1 -0
- package/.storybook-static/assets/ButtonGroup-Dfr7bNL2.css +1 -0
- package/.storybook-static/assets/ButtonGroup.stories-4EQk-ktb.js +503 -0
- package/.storybook-static/assets/ButtonPrimary-Bu6bXb_c.css +1 -0
- package/.storybook-static/assets/ButtonPrimary-DG9wNod9.js +1 -0
- package/.storybook-static/assets/Buttons.stories-B_KpeCzt.js +761 -0
- package/.storybook-static/assets/ButtonsCrazyDomains.stories-oZtahAmR.js +199 -0
- package/.storybook-static/assets/Checkbox.mixin-DkHpdvGa.js +1 -0
- package/.storybook-static/assets/Checkbox.stories-C67RL0ut.js +203 -0
- package/.storybook-static/assets/Checktile.stories-DN2wfzd6.js +88 -0
- package/.storybook-static/assets/CollapsiblePanel.stories-BkzrqfVG.js +39 -0
- package/.storybook-static/assets/ColorPicker.stories-85BQwpyF.js +73 -0
- package/.storybook-static/assets/CopyToClipboardText.stories-Csh5nVRs.js +32 -0
- package/.storybook-static/assets/Dropdown.stories-NNlxNopk.js +159 -0
- package/.storybook-static/assets/DropdownItem-CDX_V6Mi.js +1 -0
- package/.storybook-static/assets/DropdownItem-CLNmWtKh.css +1 -0
- package/.storybook-static/assets/FormControl.mixin-_gXRExB7.js +1 -0
- package/.storybook-static/assets/HashRouteModal.stories-Dy1_nLTJ.js +64 -0
- package/.storybook-static/assets/HelloBar-z54fob0q.js +1 -0
- package/.storybook-static/assets/HelloBar.stories-ClJ9_KRK.js +342 -0
- package/.storybook-static/assets/Icon-8mZGP41G.js +144 -0
- package/.storybook-static/assets/Icon.stories-BcXMvpuh.js +126 -0
- package/.storybook-static/assets/Icon.stories-D6ECVMta.js +751 -0
- package/.storybook-static/assets/Loader-D61Ki9P1.js +1 -0
- package/.storybook-static/assets/LogoBusinessBrandColours-B1_8hw0H.js +1 -0
- package/.storybook-static/assets/LogoBusinessBrandColours-DEFhAyxR.css +1 -0
- package/.storybook-static/assets/LogoBusinessBrandColours.stories-CIWe9ndn.js +36 -0
- package/.storybook-static/assets/Masonry-C2MNiGg0.css +1 -0
- package/.storybook-static/assets/Masonry.stories-CDT8kZCv.js +71 -0
- package/.storybook-static/assets/Modal-BQrpXSGA.js +1 -0
- package/.storybook-static/assets/Modal-BvVMN71n.css +1 -0
- package/.storybook-static/assets/Modal.stories-BycF7YL6.js +345 -0
- package/.storybook-static/assets/Notice.stories-BufkrC1b.js +222 -0
- package/.storybook-static/assets/NumberStepper-Blffv09R.css +1 -0
- package/.storybook-static/assets/NumberStepper.stories-6_y_lEgC.js +64 -0
- package/.storybook-static/assets/PaymentConfigList-wI1eTv5x.css +1 -0
- package/.storybook-static/assets/PaymentConfigList.stories-BlzzKrzz.js +126 -0
- package/.storybook-static/assets/Picture-Cq76CaoK.js +1 -0
- package/.storybook-static/assets/Picture.stories-BDqRm9_g.js +119 -0
- package/.storybook-static/assets/Pill-BsMeJhV9.js +1 -0
- package/.storybook-static/assets/Pill.stories-DUvzbtnS.js +18 -0
- package/.storybook-static/assets/PillBar-os4mJV3M.css +1 -0
- package/.storybook-static/assets/PillBar.stories-BUMLXBij.js +41 -0
- package/.storybook-static/assets/Price-DKOwLeD0.js +1 -0
- package/.storybook-static/assets/Price.stories-DlqrNUWI.js +221 -0
- package/.storybook-static/assets/PublishBrandPageModal-CLU8-If3.css +1 -0
- package/.storybook-static/assets/PublishBrandPageModal.stories-Dqobvq-n.js +273 -0
- package/.storybook-static/assets/SearchBar.stories-_wPX3-Rl.js +12 -0
- package/.storybook-static/assets/Select-Dw-zvSUg.css +1 -0
- package/.storybook-static/assets/Select.stories-BWINGxdY.js +108 -0
- package/.storybook-static/assets/SellDomainNameList.fixtures-LC6fjr_b.js +1 -0
- package/.storybook-static/assets/SellDomainNameListModal-ByK_ak0A.js +1 -0
- package/.storybook-static/assets/SellDomainNameListModal-CdfyEX1a.css +1 -0
- package/.storybook-static/assets/SellDomainNameListModal.stories-DrL8w2AY.js +71 -0
- package/.storybook-static/assets/SellDomainNameListSearchResult-1WuAKfzI.css +1 -0
- package/.storybook-static/assets/SellDomainNameListSearchResult-By0IpIM_.js +1 -0
- package/.storybook-static/assets/SellDomainNameSearchWithResults-BttjI4PH.js +1 -0
- package/.storybook-static/assets/SellDomainNameSearchWithResults.stories-Dm1Q8Cza.js +37 -0
- package/.storybook-static/assets/SellDomainNameWidget.stories-CKoz3WnZ.js +36 -0
- package/.storybook-static/assets/SignIn-DNYeJu86.css +1 -0
- package/.storybook-static/assets/SignIn-Dt8OJr0J.js +1 -0
- package/.storybook-static/assets/Slider-Cog2FFdj.css +1 -0
- package/.storybook-static/assets/Slider.stories-08DN2SFB.js +141 -0
- package/.storybook-static/assets/StarRating-BtKh7pzm.css +1 -0
- package/.storybook-static/assets/StarRating.stories-BEIj9ufA.js +45 -0
- package/.storybook-static/assets/TabMenu.stories-D9f0pyZI.js +47 -0
- package/.storybook-static/assets/TextCopyField-B04vTGbG.js +1 -0
- package/.storybook-static/assets/TextCopyField.stories-KD0WUWzA.js +47 -0
- package/.storybook-static/assets/TextInput-JK1M0hv6.js +1 -0
- package/.storybook-static/assets/TextInput.stories-BO0eQqBY.js +233 -0
- package/.storybook-static/assets/Textarea.stories-Bcn4sCkV.js +207 -0
- package/.storybook-static/assets/Toggle.stories-CuTFLoNh.js +161 -0
- package/.storybook-static/assets/Tooltip-DcSbUh5f.js +1 -0
- package/.storybook-static/assets/Tooltip-DyXIgFQH.css +1 -0
- package/.storybook-static/assets/Tooltip.stories-B0I_PBGG.js +953 -0
- package/.storybook-static/assets/UploadYourLogoApplication-EyTEQx-x.css +9 -0
- package/.storybook-static/assets/UploadYourLogoApplication.stories-Dixp1ynI.js +194 -0
- package/.storybook-static/assets/UploadYourLogoDropzone-DQqACf-e.css +1 -0
- package/.storybook-static/assets/UploadYourLogoDropzone-DouZtNvi.js +24 -0
- package/.storybook-static/assets/UploadYourLogoDropzone.stories-BHYeu4gz.js +55 -0
- package/.storybook-static/assets/UploadedLogoSearchResultCard.stories-D1KR63O4.js +79 -0
- package/.storybook-static/assets/_commonjsHelpers-D6-XlEtG.js +1 -0
- package/.storybook-static/assets/_plugin-vue_export-helper-DlAUqK2U.js +1 -0
- package/.storybook-static/assets/api-lSJGRrF2.js +1 -0
- package/.storybook-static/assets/axe-nGVJxRof.js +30 -0
- package/.storybook-static/assets/brand-crowd-api.client-DiPM1Wo-.js +1 -0
- package/.storybook-static/assets/bundled-translations-BZ57czTo.js +1 -0
- package/.storybook-static/assets/bundled-translations.de-DE-DXggTXB2.js +1 -0
- package/.storybook-static/assets/bundled-translations.es-ES-DtMmvicd.js +1 -0
- package/.storybook-static/assets/bundled-translations.fr-FR-BrQqbieG.js +1 -0
- package/.storybook-static/assets/bundled-translations.pt-PT-CpiWEAtr.js +1 -0
- package/.storybook-static/assets/carousel-CMMZ5MZ-.css +1 -0
- package/.storybook-static/assets/carousel.stories-o3eu2Qyc.js +374 -0
- package/.storybook-static/assets/event-constants-CMO9VQVu.js +1 -0
- package/.storybook-static/assets/iframe-C86bI_2U.js +1126 -0
- package/.storybook-static/assets/index-Bw-gCGc_.js +6 -0
- package/.storybook-static/assets/index-DhkYCT1V.js +29 -0
- package/.storybook-static/assets/matchers-7Z3WT2CE-T3xScrR7.js +14 -0
- package/.storybook-static/assets/tracking-ATsLLehC.js +1 -0
- package/.storybook-static/css/tailwind-brandCrowd.css +2404 -0
- package/.storybook-static/css/tailwind-brandPage.css +2088 -0
- package/.storybook-static/css/tailwind-crazyDomains.css +2404 -0
- package/.storybook-static/css/tailwind-designCom.css +2404 -0
- package/.storybook-static/css/tailwind-designCrowd.css +2404 -0
- package/.storybook-static/favicon.svg +1 -0
- package/.storybook-static/iframe.html +694 -0
- package/.storybook-static/index.html +156 -0
- package/.storybook-static/index.json +1 -0
- package/.storybook-static/nunito-sans-bold-italic.woff2 +0 -0
- package/.storybook-static/nunito-sans-bold.woff2 +0 -0
- package/.storybook-static/nunito-sans-italic.woff2 +0 -0
- package/.storybook-static/nunito-sans-regular.woff2 +0 -0
- package/.storybook-static/project.json +1 -0
- package/.storybook-static/sb-addons/a11y-1/manager-bundle.js +5 -0
- package/.storybook-static/sb-addons/links-2/manager-bundle.js +3 -0
- package/.storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +188 -0
- package/.storybook-static/sb-addons/themes-3/manager-bundle.js +3 -0
- package/.storybook-static/sb-common-assets/favicon.svg +1 -0
- package/.storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/.storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/.storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/.storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/.storybook-static/sb-manager/globals-module-info.js +797 -0
- package/.storybook-static/sb-manager/globals-runtime.js +72062 -0
- package/.storybook-static/sb-manager/globals.js +34 -0
- package/.storybook-static/sb-manager/runtime.js +13002 -0
- package/dist/css/tailwind-brandCrowd.css +2419 -0
- package/dist/css/tailwind-brandPage.css +2107 -0
- package/dist/css/tailwind-crazyDomains.css +2419 -0
- package/dist/css/tailwind-designCom.css +2419 -0
- package/dist/css/tailwind-designCrowd.css +2419 -0
- package/package.json +1 -1
- package/public/css/tailwind-brandCrowd.css +2414 -0
- package/public/css/tailwind-brandPage.css +2098 -0
- package/public/css/tailwind-crazyDomains.css +2414 -0
- package/public/css/tailwind-designCom.css +2414 -0
- package/public/css/tailwind-designCrowd.css +2414 -0
- package/src/atoms/components/Dropdown/DropdownItem.vue +1 -1
- package/src/atoms/components/TextInput/TextInput.vue +2 -1
- package/src/bundles/bundled-translations.de-DE.json +105 -0
- package/src/bundles/bundled-translations.es-ES.json +105 -0
- package/src/bundles/bundled-translations.fr-CA.json +105 -0
- package/src/bundles/bundled-translations.fr-FR.json +105 -0
- package/src/bundles/bundled-translations.json +105 -0
- package/src/bundles/bundled-translations.pt-BR.json +105 -0
- package/src/bundles/bundled-translations.pt-PT.json +105 -0
- package/src/experiences/clients/brand-page-api.client.js +15 -0
- package/src/experiences/components/AuthFlow/AuthModal.vue +1 -1
- package/src/experiences/components/AuthFlow/ForgotPassword.vue +1 -1
- package/src/experiences/components/AuthFlow/ResetPassword.vue +1 -1
- package/src/experiences/components/AuthFlow/ResetPasswordSuccessModal.vue +1 -1
- package/src/experiences/components/AuthFlow/SocialSignInButton.vue +1 -1
- package/src/experiences/components/AuthFlow/SubmissionButton.vue +1 -1
- package/src/experiences/components/PaymentConfigList/PaymentConfig.mixin.js +20 -0
- package/src/experiences/components/PaymentConfigList/PaymentConfigDeleteConfigModal.vue +7 -5
- package/src/experiences/components/PaymentConfigList/PaymentConfigDropdown.vue +77 -39
- package/src/experiences/components/PaymentConfigList/PaymentConfigList.stories.js +45 -0
- package/src/experiences/components/PaymentConfigList/PaymentConfigList.vue +3 -3
- package/src/experiences/components/PaymentConfigList/i18n/shared-payment-config.de-DE.json +2 -1
- package/src/experiences/components/PaymentConfigList/i18n/shared-payment-config.es-ES.json +2 -1
- package/src/experiences/components/PaymentConfigList/i18n/shared-payment-config.fr-CA.json +2 -1
- package/src/experiences/components/PaymentConfigList/i18n/shared-payment-config.fr-FR.json +2 -1
- package/src/experiences/components/PaymentConfigList/i18n/shared-payment-config.json +2 -1
- package/src/experiences/components/PaymentConfigList/i18n/shared-payment-config.pt-BR.json +2 -1
- package/src/experiences/components/PaymentConfigList/i18n/shared-payment-config.pt-PT.json +2 -1
- package/src/experiences/components/UploadYourLogoOnBoarding/LogoBusinessBrandColours.vue +3 -3
- package/src/experiences/components/UploadYourLogoOnBoarding/LogoCropper.vue +1 -1
- package/src/experiences/components/UploadYourLogoOnBoarding/LogoUploadModal.vue +1 -1
- package/src/experiences/components/UploadedLogoSearchResultCard/UploadedLogoSearchResultCard.vue +1 -1
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
{
|
|
2
|
+
"price": {
|
|
3
|
+
"domainCreditUsed": "Crédito de domínio utilizado",
|
|
4
|
+
"free": "Grátis"
|
|
5
|
+
},
|
|
6
|
+
"sharedPaymentConfig": {
|
|
7
|
+
"onboardingIncomplete": "Integração incompleta",
|
|
8
|
+
"pendingVerification": "Verificação Pendente",
|
|
9
|
+
"connected": "Conectado",
|
|
10
|
+
"inactive": "Inativo",
|
|
11
|
+
"addPaymentProvider": "Adicionar fornecedor de pagamentos",
|
|
12
|
+
"deletePaymentMethod": "Excluir método de pagamento",
|
|
13
|
+
"currencyLabel": "Moeda"
|
|
14
|
+
},
|
|
15
|
+
"publishBrandPageModal": {
|
|
16
|
+
"firstTimePublishHeaderLabel": "Defina o URL para {{brandPageDisplayName}}",
|
|
17
|
+
"sitePublishedLabel": "Site publicado!",
|
|
18
|
+
"publishSuccessLabel": "Seu {{brandPageDisplayName}} está ativo! Comece a usar seu link:",
|
|
19
|
+
"freePublishCardTitleLabel": "Endereço gratuito",
|
|
20
|
+
"freePublishCardDescriptionLabel": "Escolha um endereço gratuito para publicar agora. Você pode editar o URL depois",
|
|
21
|
+
"slugInputPlaceholderYourNameLabel": "Seu nome",
|
|
22
|
+
"slugInputPlaceholderYourBusinessNameLabel": "nome-da-sua-empresa",
|
|
23
|
+
"freeDomainLabel": "Domínio gratuito",
|
|
24
|
+
"purchasedDomainLabel": "Domínio comprado",
|
|
25
|
+
"setUrlLabel": "Definir URL",
|
|
26
|
+
"publishLabel": "Publicar",
|
|
27
|
+
"viewMoreDomainLabel": "Ver mais domínios",
|
|
28
|
+
"viewMyWebsiteLabel": "Ver {{brandPageDisplayName}}",
|
|
29
|
+
"copyLabel": "Copiar",
|
|
30
|
+
"copySuccessLabel": "Copiado!",
|
|
31
|
+
"publishedSuccessDescriptionLabel": "Compre um nome de domínio que corresponda à sua marca",
|
|
32
|
+
"hasAlreadyPurchasedDomainCloseButtonLabel": "Não, obrigado. Talvez depois",
|
|
33
|
+
"selectDomainDropdownPlaceholder": "Selecionar nome de domínio",
|
|
34
|
+
"websiteFriendlyName": "Site",
|
|
35
|
+
"digitalBusinessCardFriendlyName": "Cartão de visita digital"
|
|
36
|
+
},
|
|
37
|
+
"sellDomainNameList": {
|
|
38
|
+
"freeDomainButtonLabel": "Domínio gratuito",
|
|
39
|
+
"buyNowButtonLabel": "Comprar Agora",
|
|
40
|
+
"pricePerYearLabel": "/yr",
|
|
41
|
+
"costPriceLabel": "Preço de custo:"
|
|
42
|
+
},
|
|
43
|
+
"sellDomainNameListModal": {
|
|
44
|
+
"domainSearchHeaderTitle": "Pesquise um nome de domínio",
|
|
45
|
+
"domainSearchHeaderSubtitle": "Compre um nome de domínio que corresponda à sua marca"
|
|
46
|
+
},
|
|
47
|
+
"sellDomainNameModalApplication": {
|
|
48
|
+
"domainSearchHeaderTitle": "Pesquisar um nome de domínio",
|
|
49
|
+
"domainSearchHeaderSubtitle": "Compre um nome de domínio correspondente à sua marca"
|
|
50
|
+
},
|
|
51
|
+
"sellDomainNameSearch": {
|
|
52
|
+
"searchButtonLabel": "Pesquisar",
|
|
53
|
+
"searchBarLabel": "Pesquisar",
|
|
54
|
+
"searchBarPlaceholder": "Pesquisar nomes de domínio",
|
|
55
|
+
"searchBarPreText": "Nome de domínio"
|
|
56
|
+
},
|
|
57
|
+
"sellDomainNameListSearchResult": {
|
|
58
|
+
"domainSearchEmptyMessage": "Não encontramos nenhum domínio com \"{{domainNameSearchTerm}}\".",
|
|
59
|
+
"searchAnotherDomainMessage": "Tente pesquisar outro nome de domínio."
|
|
60
|
+
},
|
|
61
|
+
"sellDomainNameWidget": {
|
|
62
|
+
"searchButtonLabel": "Pesquisar",
|
|
63
|
+
"searchBarLabel": "Pesquisar",
|
|
64
|
+
"searchBarPlaceholder": "Pesquisar nomes de domínio",
|
|
65
|
+
"domainSearchOrConnectHeaderSubtitle": "Compre um nome de domínio que corresponda à sua marca ou associe ao domínio que já tem"
|
|
66
|
+
},
|
|
67
|
+
"uploadYourLogo": {
|
|
68
|
+
"uploadYourLogoText": "Carregue o seu logotipo",
|
|
69
|
+
"disclaimerText": "Certifique-se de que você tem o direito de usar qualquer imagem que você enviar.",
|
|
70
|
+
"generatingDesigns": "A gerar designs…",
|
|
71
|
+
"uploadingAndConverting": "Carregando e convertendo o seu logotipo...",
|
|
72
|
+
"stepOf": "Etapa {{CURRENT}} de {{TOTAL}}",
|
|
73
|
+
"uploadError": "Erro no carregamento",
|
|
74
|
+
"cancel": "Cancelar",
|
|
75
|
+
"continue": "Continuar",
|
|
76
|
+
"back": "Voltar",
|
|
77
|
+
"no": "Não",
|
|
78
|
+
"yes": "Sim",
|
|
79
|
+
"businessName": "Nome da empresa",
|
|
80
|
+
"businessNameDescription": "Insira o texto do seu logotipo ou nome da empresa",
|
|
81
|
+
"cropYourLogo": "Recorte o seu logotipo",
|
|
82
|
+
"cropDescription": "Recorte o design do seu logotipo para caber na tela do nosso criador de logotipos",
|
|
83
|
+
"logoPreview": "Prévia do logotipo",
|
|
84
|
+
"logoPreviewDescription": "Seu logotipo está ótimo! Ajude-nos a configurar seu logotipo concluindo as próximas etapas.",
|
|
85
|
+
"primaryTextColor": "Cor principal do texto",
|
|
86
|
+
"primaryTextColorDescription": "Para criar o logotipo, confirme a cor principal do texto. Escolha uma das cores disponíveis ou clique no ícone de mais para adicionar outra.",
|
|
87
|
+
"backgroundColor": "Cor de fundo",
|
|
88
|
+
"backgroundColorDescription": "Ajude-nos a configurar seu logotipo confirmando a cor de fundo. Escolha entre as cores disponíveis ou clique no ícone de adição para adicionar outra.",
|
|
89
|
+
"colorsWarning": "As cores do texto e do fundo são muito parecidas. Escolha uma combinação mais distinta para garantir que eles criem designs de qualidade.",
|
|
90
|
+
"exitConfirmationTitle": "Tem certeza de que deseja sair?",
|
|
91
|
+
"exitConfirmationDescription": "O progresso do carregamento do seu logotipo nesta sessão será perdido",
|
|
92
|
+
"maxByoFileErrorMessage": "Seu arquivo excede o tamanho máximo de 25 MB. Escolha um arquivo menor.",
|
|
93
|
+
"genericByoErrorMessage": "Ocorreu um erro inesperado. Tente novamente.",
|
|
94
|
+
"dropYourFileHere": "Arraste o seu ficheiro aqui ou",
|
|
95
|
+
"clickToUpload": "clique para carregar",
|
|
96
|
+
"acceptedFiles": "Aceitamos arquivos PNG, JPG, SVG ou EPS de até 25 MB",
|
|
97
|
+
"wrongUploadType": "Você não pode baixar arquivos deste tipo."
|
|
98
|
+
},
|
|
99
|
+
"uploadLogoSearchResultCard": {
|
|
100
|
+
"replace": "Substituir",
|
|
101
|
+
"replaceLogo": "Substituir logotipo",
|
|
102
|
+
"delete": "Excluir",
|
|
103
|
+
"deleteLogo": "Excluir logotipo"
|
|
104
|
+
}
|
|
105
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
{
|
|
2
|
+
"price": {
|
|
3
|
+
"domainCreditUsed": "Crédito de domínio utilizado",
|
|
4
|
+
"free": "Grátis"
|
|
5
|
+
},
|
|
6
|
+
"sharedPaymentConfig": {
|
|
7
|
+
"onboardingIncomplete": "Integração incompleta",
|
|
8
|
+
"pendingVerification": "Verificação Pendente",
|
|
9
|
+
"connected": "Ligado",
|
|
10
|
+
"inactive": "Inativo",
|
|
11
|
+
"addPaymentProvider": "Adicionar fornecedor de pagamentos",
|
|
12
|
+
"deletePaymentMethod": "Eliminar método de pagamento",
|
|
13
|
+
"currencyLabel": "Moeda"
|
|
14
|
+
},
|
|
15
|
+
"publishBrandPageModal": {
|
|
16
|
+
"firstTimePublishHeaderLabel": "Defina o URL para {{brandPageDisplayName}}",
|
|
17
|
+
"sitePublishedLabel": "Site publicado!",
|
|
18
|
+
"publishSuccessLabel": "A sua página {{brandPageDisplayName}} está ativa! Comece a utilizar o link:",
|
|
19
|
+
"freePublishCardTitleLabel": "Endereço gratuito",
|
|
20
|
+
"freePublishCardDescriptionLabel": "Escolha um endereço gratuito para publicar agora. Pode sempre editar o URL mais tarde",
|
|
21
|
+
"slugInputPlaceholderYourNameLabel": "o-seu-nome",
|
|
22
|
+
"slugInputPlaceholderYourBusinessNameLabel": "nome-da-sua-empresa",
|
|
23
|
+
"freeDomainLabel": "Domínio gratuito",
|
|
24
|
+
"purchasedDomainLabel": "Domínio comprado",
|
|
25
|
+
"setUrlLabel": "Definir URL",
|
|
26
|
+
"publishLabel": "Publicar",
|
|
27
|
+
"viewMoreDomainLabel": "VER MAIS DOMÍNIOS",
|
|
28
|
+
"viewMyWebsiteLabel": "Ver {{brandPageDisplayName}}",
|
|
29
|
+
"copyLabel": "Copiar",
|
|
30
|
+
"copySuccessLabel": "Copiado!",
|
|
31
|
+
"publishedSuccessDescriptionLabel": "Compre um nome de domínio que corresponda à sua marca",
|
|
32
|
+
"hasAlreadyPurchasedDomainCloseButtonLabel": "Não, obrigado, talvez mais tarde",
|
|
33
|
+
"selectDomainDropdownPlaceholder": "Selecionar nome de domínio",
|
|
34
|
+
"websiteFriendlyName": "Website",
|
|
35
|
+
"digitalBusinessCardFriendlyName": "Cartão de visita digital"
|
|
36
|
+
},
|
|
37
|
+
"sellDomainNameList": {
|
|
38
|
+
"freeDomainButtonLabel": "Domínio gratuito",
|
|
39
|
+
"buyNowButtonLabel": "Comprar Agora",
|
|
40
|
+
"pricePerYearLabel": "/yr",
|
|
41
|
+
"costPriceLabel": "Preço de Custo:"
|
|
42
|
+
},
|
|
43
|
+
"sellDomainNameListModal": {
|
|
44
|
+
"domainSearchHeaderTitle": "Pesquisar um nome de domínio",
|
|
45
|
+
"domainSearchHeaderSubtitle": "Compre um nome de domínio que corresponda à sua marca"
|
|
46
|
+
},
|
|
47
|
+
"sellDomainNameModalApplication": {
|
|
48
|
+
"domainSearchHeaderTitle": "Pesquisar um nome de domínio",
|
|
49
|
+
"domainSearchHeaderSubtitle": "Compre um nome de domínio que corresponda à sua marca"
|
|
50
|
+
},
|
|
51
|
+
"sellDomainNameSearch": {
|
|
52
|
+
"searchButtonLabel": "Pesquisar",
|
|
53
|
+
"searchBarLabel": "Pesquisar",
|
|
54
|
+
"searchBarPlaceholder": "Pesquisar nomes de domínio",
|
|
55
|
+
"searchBarPreText": "Nome de domínio"
|
|
56
|
+
},
|
|
57
|
+
"sellDomainNameListSearchResult": {
|
|
58
|
+
"domainSearchEmptyMessage": "Não conseguimos encontrar nenhum domínio para \"{{domainNameSearchTerm}}\".",
|
|
59
|
+
"searchAnotherDomainMessage": "Experimente pesquisar outro nome de domínio."
|
|
60
|
+
},
|
|
61
|
+
"sellDomainNameWidget": {
|
|
62
|
+
"searchButtonLabel": "Pesquisar",
|
|
63
|
+
"searchBarLabel": "Pesquisar",
|
|
64
|
+
"searchBarPlaceholder": "Pesquisar nomes de domínio",
|
|
65
|
+
"domainSearchOrConnectHeaderSubtitle": "Compre um nome de domínio que corresponda à sua marca ou associe ao domínio que já tem"
|
|
66
|
+
},
|
|
67
|
+
"uploadYourLogo": {
|
|
68
|
+
"uploadYourLogoText": "Carregue o seu logótipo",
|
|
69
|
+
"disclaimerText": "Certifique-se de que tem os direitos de utilização de todas as imagens que carregar.",
|
|
70
|
+
"generatingDesigns": "A gerar designs…",
|
|
71
|
+
"uploadingAndConverting": "A carregar e a converter o seu logótipo…",
|
|
72
|
+
"stepOf": "Passo {{CURRENT}} de {{TOTAL}}",
|
|
73
|
+
"uploadError": "Erro ao carregar",
|
|
74
|
+
"cancel": "Cancelar",
|
|
75
|
+
"continue": "Continuar",
|
|
76
|
+
"back": "Voltar",
|
|
77
|
+
"no": "Não",
|
|
78
|
+
"yes": "Sim",
|
|
79
|
+
"businessName": "Nome da empresa",
|
|
80
|
+
"businessNameDescription": "Introduza o texto do seu logótipo ou o nome da sua empresa",
|
|
81
|
+
"cropYourLogo": "Recorte o seu logótipo",
|
|
82
|
+
"cropDescription": "Recorte o design de logótipo para caber no ecrã do criador de logótipos",
|
|
83
|
+
"logoPreview": "Pré-visualização do logótipo",
|
|
84
|
+
"logoPreviewDescription": "O seu logótipo está com um ótimo aspeto! Ajude-nos a configurar o seu logótipo concluindo os próximos passos.",
|
|
85
|
+
"primaryTextColor": "Cor principal do texto",
|
|
86
|
+
"primaryTextColorDescription": "Ajude-nos a configurar o seu logótipo confirmando a cor principal do texto. Escolha entre as cores disponíveis ou clique no ícone de mais para adicionar outra.",
|
|
87
|
+
"backgroundColor": "Cor de fundo",
|
|
88
|
+
"backgroundColorDescription": "Ajude-nos a configurar o seu logótipo confirmando a cor do fundo. Escolha entre as cores disponíveis ou clique no ícone de mais para adicionar outra.",
|
|
89
|
+
"colorsWarning": "As suas cores de texto e de fundo são demasiado semelhantes. Escolha uma combinação mais distinta para garantir que criamos designs de qualidade.",
|
|
90
|
+
"exitConfirmationTitle": "Tem a certeza de que pretende sair?",
|
|
91
|
+
"exitConfirmationDescription": "O progresso do carregamento do seu logótipo nesta sessão será perdido",
|
|
92
|
+
"maxByoFileErrorMessage": "O seu ficheiro excede o tamanho máximo de 25 MB. Escolha um ficheiro mais pequeno.",
|
|
93
|
+
"genericByoErrorMessage": "Ocorreu um erro inesperado. Tente novamente.",
|
|
94
|
+
"dropYourFileHere": "Arraste o seu ficheiro aqui ou",
|
|
95
|
+
"clickToUpload": "clique para carregar",
|
|
96
|
+
"acceptedFiles": "Aceitamos ficheiros PNG, JPG, SVG ou EPS até 25 MB",
|
|
97
|
+
"wrongUploadType": "Não pode carregar ficheiros deste tipo."
|
|
98
|
+
},
|
|
99
|
+
"uploadLogoSearchResultCard": {
|
|
100
|
+
"replace": "Substituir",
|
|
101
|
+
"replaceLogo": "Substituir logótipo",
|
|
102
|
+
"delete": "Eliminar",
|
|
103
|
+
"deleteLogo": "Eliminar Logótipo"
|
|
104
|
+
}
|
|
105
|
+
}
|
|
@@ -24,6 +24,20 @@ const getPaymentConfigsByBrandPageToken = async (brandPageToken) => {
|
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
26
|
|
|
27
|
+
const getPaymentConfigCurrencyListByBrandPageTokenAsync = async () => {
|
|
28
|
+
try {
|
|
29
|
+
const response = await getAxios().get(`/maker/api/brand-pages/payment-configs/currency-list`);
|
|
30
|
+
|
|
31
|
+
if (response.status === 200) {
|
|
32
|
+
return response.data;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
return null;
|
|
36
|
+
} catch (err) {
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
|
|
27
41
|
const deletePaymentConfigByBrandPageTokenAndConfigId = async (brandPageToken, paymentConfigId) => {
|
|
28
42
|
try {
|
|
29
43
|
const response = await getAxios().delete(`/maker/api/brand-pages/${brandPageToken}/payment-configs`, {
|
|
@@ -44,4 +58,5 @@ export default {
|
|
|
44
58
|
setBrandPageApiClientAxios,
|
|
45
59
|
getPaymentConfigsByBrandPageToken,
|
|
46
60
|
deletePaymentConfigByBrandPageTokenAndConfigId,
|
|
61
|
+
getPaymentConfigCurrencyListByBrandPageTokenAsync,
|
|
47
62
|
};
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
</template>
|
|
75
75
|
<script>
|
|
76
76
|
import { getCurrentLocale } from '../../../useSharedLibTranslate';
|
|
77
|
-
import HelloBar from '
|
|
77
|
+
import HelloBar from '../../../atoms/components/HelloBar/HelloBar.vue';
|
|
78
78
|
import SubmissionButton from './SubmissionButton.vue';
|
|
79
79
|
|
|
80
80
|
export default {
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
</template>
|
|
65
65
|
<script>
|
|
66
66
|
import { getCurrentLocale } from '../../../useSharedLibTranslate';
|
|
67
|
-
import HelloBar from '
|
|
67
|
+
import HelloBar from '../../../atoms/components/HelloBar/HelloBar.vue';
|
|
68
68
|
import SubmissionButton from './SubmissionButton.vue';
|
|
69
69
|
|
|
70
70
|
export default {
|
|
@@ -32,9 +32,15 @@ export default {
|
|
|
32
32
|
data: () => ({
|
|
33
33
|
isLoading: true,
|
|
34
34
|
paymentConfigs: [],
|
|
35
|
+
currencies: [],
|
|
35
36
|
selectedPaymentConfig: {},
|
|
36
37
|
isStripeOptionActionVisible: false,
|
|
37
38
|
}),
|
|
39
|
+
computed: {
|
|
40
|
+
selectedCurrency() {
|
|
41
|
+
return this.currencies.find((currency) => currency.iso4127Code === this.selectedPaymentConfig?.defaultCurrency);
|
|
42
|
+
},
|
|
43
|
+
},
|
|
38
44
|
methods: {
|
|
39
45
|
getPaymentConfigStatusDisplayText(paymentConfigStatus) {
|
|
40
46
|
switch (paymentConfigStatus) {
|
|
@@ -94,5 +100,19 @@ export default {
|
|
|
94
100
|
this.isLoading = false;
|
|
95
101
|
}
|
|
96
102
|
},
|
|
103
|
+
|
|
104
|
+
async getCurrentListAsync() {
|
|
105
|
+
try {
|
|
106
|
+
const result = await brandPageApiClient.getPaymentConfigCurrencyListByBrandPageTokenAsync();
|
|
107
|
+
|
|
108
|
+
if (result) {
|
|
109
|
+
this.currencies = result?.currencies || [];
|
|
110
|
+
}
|
|
111
|
+
} catch (err) {
|
|
112
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
113
|
+
console.error(`Error fetching currency list: ${err}`);
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
},
|
|
97
117
|
},
|
|
98
118
|
};
|
|
@@ -40,17 +40,17 @@
|
|
|
40
40
|
</Modal>
|
|
41
41
|
</template>
|
|
42
42
|
<script>
|
|
43
|
-
import Modal from '
|
|
44
|
-
import Button from '
|
|
45
|
-
import Loader from '
|
|
46
|
-
import brandPageApiClient from '
|
|
43
|
+
import Modal from '../../../atoms/components/Modal/Modal.vue';
|
|
44
|
+
import Button from '../../../atoms/components/Button/Button.vue';
|
|
45
|
+
import Loader from '../../../atoms/components/Loader/Loader.vue';
|
|
46
|
+
import brandPageApiClient from '../../clients/brand-page-api.client';
|
|
47
|
+
|
|
47
48
|
export default {
|
|
48
49
|
components: {
|
|
49
50
|
Modal,
|
|
50
51
|
Button,
|
|
51
52
|
Loader,
|
|
52
53
|
},
|
|
53
|
-
emits: ['close-modal', 'on-delete'],
|
|
54
54
|
props: {
|
|
55
55
|
paymentConfig: {
|
|
56
56
|
type: Object,
|
|
@@ -60,8 +60,10 @@ export default {
|
|
|
60
60
|
brandPageToken: {
|
|
61
61
|
type: String,
|
|
62
62
|
required: false,
|
|
63
|
+
default: () => undefined,
|
|
63
64
|
},
|
|
64
65
|
},
|
|
66
|
+
emits: ['close-modal', 'on-delete'],
|
|
65
67
|
data: () => ({
|
|
66
68
|
isLoading: false,
|
|
67
69
|
}),
|
|
@@ -10,54 +10,84 @@
|
|
|
10
10
|
variant="outline"
|
|
11
11
|
@on-click="onAddPaymentProviderButtonClick"
|
|
12
12
|
></Button>
|
|
13
|
-
<
|
|
14
|
-
<
|
|
15
|
-
<
|
|
16
|
-
|
|
17
|
-
|
|
13
|
+
<div v-if="!isLoading && !isAddPaymentProviderButtonVisible">
|
|
14
|
+
<Dropdown ref="dropdown">
|
|
15
|
+
<template #title>
|
|
16
|
+
<div
|
|
17
|
+
v-if="selectedPaymentConfig"
|
|
18
|
+
class="tw-flex tw-items-center tw-px-2 tw-py-2 drop-down-item tw-cursor-pointer"
|
|
19
|
+
>
|
|
20
|
+
<span class="tw-text-sm tw-grow tw-select-none tw-flex tw-flex-col">
|
|
21
|
+
<span>{{ selectedPaymentConfig.name }}</span>
|
|
22
|
+
<small class="stripe-acct">({{ selectedPaymentConfig.paymentProviderExternalId }})</small>
|
|
23
|
+
</span>
|
|
24
|
+
<Pill class="tw-text-white" :class="getPaymentConfigStatusDisplayClasses(selectedPaymentConfig.status)">
|
|
25
|
+
{{ getPaymentConfigStatusDisplayText(selectedPaymentConfig.status) }}
|
|
26
|
+
</Pill>
|
|
27
|
+
</div>
|
|
28
|
+
</template>
|
|
29
|
+
|
|
30
|
+
<DropdownItem
|
|
31
|
+
v-for="paymentConfig in paymentConfigs"
|
|
32
|
+
:key="`payment-config-${paymentConfig.id}`"
|
|
33
|
+
@click="onPaymentConfigClick(paymentConfig)"
|
|
18
34
|
>
|
|
19
35
|
<span class="tw-text-sm tw-grow tw-select-none tw-flex tw-flex-col">
|
|
20
|
-
<span>{{
|
|
21
|
-
<small class="stripe-acct">({{
|
|
36
|
+
<span>{{ paymentConfig.name }}</span>
|
|
37
|
+
<small class="stripe-acct">({{ paymentConfig.paymentProviderExternalId }})</small>
|
|
22
38
|
</span>
|
|
23
|
-
<Pill class="tw-text-white" :class="getPaymentConfigStatusDisplayClasses(
|
|
24
|
-
{{ getPaymentConfigStatusDisplayText(
|
|
39
|
+
<Pill class="tw-text-white" :class="getPaymentConfigStatusDisplayClasses(paymentConfig.status)">
|
|
40
|
+
{{ getPaymentConfigStatusDisplayText(paymentConfig.status) }}
|
|
25
41
|
</Pill>
|
|
26
|
-
</
|
|
27
|
-
</template>
|
|
42
|
+
</DropdownItem>
|
|
28
43
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
</
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
44
|
+
<DropdownItem v-if="showAddPaymentProvider" class="tw-border-t-2" @click="onAddPaymentProviderButtonClick">
|
|
45
|
+
<Button
|
|
46
|
+
:full-width="true"
|
|
47
|
+
:label="sharedPaymentConfigTr('addPaymentProvider')"
|
|
48
|
+
size="small"
|
|
49
|
+
variant="outline"
|
|
50
|
+
@on-click="onAddPaymentProviderButtonClick"
|
|
51
|
+
/>
|
|
52
|
+
</DropdownItem>
|
|
53
|
+
</Dropdown>
|
|
54
|
+
<!-- Currency -->
|
|
55
|
+
<template v-if="currencies && currencies.length > 0">
|
|
56
|
+
<h4 class="tw-mt-6 tw-mb-2 tw-text-sm tw-font-bold">{{ sharedPaymentConfigTr('currencyLabel') }}</h4>
|
|
57
|
+
<Dropdown ref="dropdownCurrency" :menu-element-classes="'tw-w-full'">
|
|
58
|
+
<template #title>
|
|
59
|
+
<div
|
|
60
|
+
v-if="selectedCurrency"
|
|
61
|
+
class="tw-flex tw-items-center tw-px-2 tw-py-2 drop-down-item tw-cursor-pointer"
|
|
62
|
+
>
|
|
63
|
+
<span class="tw-text-sm tw-grow tw-select-none tw-flex tw-flex-col">
|
|
64
|
+
<span>{{ selectedCurrency.iso4127Code }} ({{ selectedCurrency.symbol }})</span>
|
|
65
|
+
</span>
|
|
66
|
+
</div>
|
|
67
|
+
</template>
|
|
42
68
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
69
|
+
<DropdownItem
|
|
70
|
+
v-for="currency in currencies"
|
|
71
|
+
:key="`currency-${currency.id}`"
|
|
72
|
+
@click="onCurrencyClick(currency)"
|
|
73
|
+
>
|
|
74
|
+
<span class="tw-text-sm tw-grow tw-select-none tw-flex tw-flex-col">
|
|
75
|
+
<span>{{ currency.iso4127Code }} ({{ currency.symbol }})</span>
|
|
76
|
+
</span>
|
|
77
|
+
<Icon v-if="selectedCurrency?.id === currency.id" name="check-thin" />
|
|
78
|
+
</DropdownItem>
|
|
79
|
+
</Dropdown>
|
|
80
|
+
</template>
|
|
81
|
+
</div>
|
|
53
82
|
</div>
|
|
54
83
|
</template>
|
|
55
84
|
<script>
|
|
56
|
-
import Button from '
|
|
57
|
-
import Dropdown from '
|
|
58
|
-
import DropdownItem from '
|
|
59
|
-
import Loader from '
|
|
60
|
-
import Pill from '
|
|
85
|
+
import Button from '../../../atoms/components/Button/Button.vue';
|
|
86
|
+
import Dropdown from '../../../atoms/components/Dropdown/Dropdown.vue';
|
|
87
|
+
import DropdownItem from '../../../atoms/components/Dropdown/DropdownItem.vue';
|
|
88
|
+
import Loader from '../../../atoms/components/Loader/Loader.vue';
|
|
89
|
+
import Pill from '../../../atoms/components/Pill/Pill.vue';
|
|
90
|
+
import Icon from '../../../atoms/components/Icon/Icon.vue';
|
|
61
91
|
|
|
62
92
|
import PaymentConfigMixin, { paymentConfigStatuses } from './PaymentConfig.mixin';
|
|
63
93
|
import { sharedPaymentConfigTr } from '../../../useSharedLibTranslate';
|
|
@@ -69,6 +99,7 @@ export default {
|
|
|
69
99
|
DropdownItem,
|
|
70
100
|
Loader,
|
|
71
101
|
Pill,
|
|
102
|
+
Icon,
|
|
72
103
|
},
|
|
73
104
|
mixins: [PaymentConfigMixin],
|
|
74
105
|
props: {
|
|
@@ -89,6 +120,8 @@ export default {
|
|
|
89
120
|
},
|
|
90
121
|
},
|
|
91
122
|
async mounted() {
|
|
123
|
+
this.getCurrentListAsync();
|
|
124
|
+
|
|
92
125
|
if (this.brandPageToken) {
|
|
93
126
|
await this.updatePaymentConfigs();
|
|
94
127
|
if (!this.selectedPaymentConfig && this.paymentConfigs.length === 0) {
|
|
@@ -125,6 +158,11 @@ export default {
|
|
|
125
158
|
this.selectedPaymentConfig = paymentConfig;
|
|
126
159
|
this.$emit('on-payment-config-selected', this.selectedPaymentConfig);
|
|
127
160
|
},
|
|
161
|
+
|
|
162
|
+
onCurrencyClick(currency) {
|
|
163
|
+
this.$refs.dropdownCurrency.hideMenu();
|
|
164
|
+
this.$emit('on-currency-selected', currency);
|
|
165
|
+
},
|
|
128
166
|
},
|
|
129
167
|
};
|
|
130
168
|
</script>
|
|
@@ -57,11 +57,53 @@ const PAYMENT_CONFIGS_RESPONSE = [
|
|
|
57
57
|
},
|
|
58
58
|
];
|
|
59
59
|
|
|
60
|
+
const PAYMENT_CONFIGS_CURRENCY_LIST_RESPONSE = {
|
|
61
|
+
currencies: [
|
|
62
|
+
{
|
|
63
|
+
id: '9dce1a02-f415-433b-8ea8-0144c651e236',
|
|
64
|
+
name: 'United State Dollar',
|
|
65
|
+
iso4127Code: 'USD',
|
|
66
|
+
iso31662Code: 'US',
|
|
67
|
+
symbol: '$',
|
|
68
|
+
isSymbolPlacedBeforePrice: true,
|
|
69
|
+
created: '2023-06-21T01:04:12.961Z',
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
id: '38dc53a9-a66f-4c6d-b14c-cf987d7f779b',
|
|
73
|
+
name: 'Australian Dollar',
|
|
74
|
+
iso4127Code: 'AUD',
|
|
75
|
+
iso31662Code: 'AU',
|
|
76
|
+
symbol: '$',
|
|
77
|
+
isSymbolPlacedBeforePrice: true,
|
|
78
|
+
created: '2023-06-21T01:04:12.961Z',
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
id: '02c5a9f3-39f1-4764-bd91-a76982dd949a',
|
|
82
|
+
name: 'British Pound Sterling',
|
|
83
|
+
iso4127Code: 'GBP',
|
|
84
|
+
iso31662Code: 'UK',
|
|
85
|
+
symbol: '£',
|
|
86
|
+
isSymbolPlacedBeforePrice: true,
|
|
87
|
+
created: '2023-06-21T01:04:12.961Z',
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
id: '2b26857d-0525-4bf0-b37c-e020847e0bd2',
|
|
91
|
+
name: 'Euro',
|
|
92
|
+
iso4127Code: 'EUR',
|
|
93
|
+
iso31662Code: 'EU',
|
|
94
|
+
symbol: '€',
|
|
95
|
+
isSymbolPlacedBeforePrice: true,
|
|
96
|
+
created: '2023-06-21T01:04:12.961Z',
|
|
97
|
+
},
|
|
98
|
+
],
|
|
99
|
+
};
|
|
100
|
+
|
|
60
101
|
export const SampleStripe = () => {
|
|
61
102
|
const mock = new MockAdapter(axios, { delayResponse: MOCK_RESPONSE_DELAY });
|
|
62
103
|
const brandPageToken = '6bc3885c-7e5c-4c9e-9b54-21dcd06ca647';
|
|
63
104
|
|
|
64
105
|
mock.onGet(`/maker/api/brand-pages/${brandPageToken}/payment-configs`).reply(200, PAYMENT_CONFIGS_RESPONSE);
|
|
106
|
+
mock.onGet(`/maker/api/brand-pages/payment-configs/currency-list`).reply(200, PAYMENT_CONFIGS_CURRENCY_LIST_RESPONSE);
|
|
65
107
|
|
|
66
108
|
return {
|
|
67
109
|
components: {
|
|
@@ -85,6 +127,7 @@ export const SampleStripeHideExternalId = () => {
|
|
|
85
127
|
const brandPageToken = '6bc3885c-7e5c-4c9e-9b54-21dcd06ca647';
|
|
86
128
|
|
|
87
129
|
mock.onGet(`/maker/api/brand-pages/${brandPageToken}/payment-configs`).reply(200, PAYMENT_CONFIGS_RESPONSE);
|
|
130
|
+
mock.onGet(`/maker/api/brand-pages/payment-configs/currency-list`).reply(200, PAYMENT_CONFIGS_CURRENCY_LIST_RESPONSE);
|
|
88
131
|
|
|
89
132
|
return {
|
|
90
133
|
components: {
|
|
@@ -112,6 +155,7 @@ export const SampleDropdownStripe = () => {
|
|
|
112
155
|
const brandPageToken = '6bc3885c-7e5c-4c9e-9b54-21dcd06ca647';
|
|
113
156
|
|
|
114
157
|
mock.onGet(`/maker/api/brand-pages/${brandPageToken}/payment-configs`).reply(200, PAYMENT_CONFIGS_RESPONSE);
|
|
158
|
+
mock.onGet(`/maker/api/brand-pages/payment-configs/currency-list`).reply(200, PAYMENT_CONFIGS_CURRENCY_LIST_RESPONSE);
|
|
115
159
|
|
|
116
160
|
return {
|
|
117
161
|
components: {
|
|
@@ -139,6 +183,7 @@ export const SampleDropdownStripeWithFilter = () => {
|
|
|
139
183
|
const brandPageToken = '6bc3885c-7e5c-4c9e-9b54-21dcd06ca647';
|
|
140
184
|
|
|
141
185
|
mock.onGet(`/maker/api/brand-pages/${brandPageToken}/payment-configs`).reply(200, PAYMENT_CONFIGS_RESPONSE);
|
|
186
|
+
mock.onGet(`/maker/api/brand-pages/payment-configs/currency-list`).reply(200, PAYMENT_CONFIGS_CURRENCY_LIST_RESPONSE);
|
|
142
187
|
|
|
143
188
|
return {
|
|
144
189
|
components: {
|
|
@@ -65,10 +65,10 @@
|
|
|
65
65
|
</template>
|
|
66
66
|
|
|
67
67
|
<script>
|
|
68
|
-
import Loader from '
|
|
69
|
-
import Button from '
|
|
68
|
+
import Loader from '../../../atoms/components/Loader/Loader.vue';
|
|
69
|
+
import Button from '../../../atoms/components/Button/Button.vue';
|
|
70
70
|
import PaymentConfigDeleteConfigModal from './PaymentConfigDeleteConfigModal.vue';
|
|
71
|
-
import Icon from '
|
|
71
|
+
import Icon from '../../../atoms/components/Icon/Icon.vue';
|
|
72
72
|
|
|
73
73
|
import PaymentConfigMixin from './PaymentConfig.mixin';
|
|
74
74
|
import { sharedPaymentConfigTr } from '../../../useSharedLibTranslate';
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
"connected" : "Connecté",
|
|
6
6
|
"inactive" : "Inactif",
|
|
7
7
|
"addPaymentProvider" : "Ajouter un fournisseur de paiement",
|
|
8
|
-
"deletePaymentMethod" : "Supprimer le mode de paiement"
|
|
8
|
+
"deletePaymentMethod" : "Supprimer le mode de paiement",
|
|
9
|
+
"currencyLabel" : "Devise"
|
|
9
10
|
}
|
|
10
11
|
}
|