id
stringlengths 12
53
| messages
listlengths 3
3
|
|---|---|
code_tetrix_b11f9ce7
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of tetrix/docs/README.md from the tetrix VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```markdown\n# Tetrix\n\nTetrix is an unprecedented business and e-commerce challenge created by VTEX for Brazilian university undergrads and new-grads.\n\nThis is the repository for the challenge's landing page.\n\n```"
}
] |
code_tetrix_738322b2
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of tetrix/react/package.json from the tetrix VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"vtex.tetrix\",\n \"version\": \"0.0.0\",\n \"scripts\": {\n \"lint\": \"tsc --noEmit && eslint --ext ts,tsx .\",\n \"lint:locales\": \"intl-equalizer\"\n },\n \"dependencies\": {\n \"@fortawesome/fontawesome-svg-core\": \"^1.2.17\",\n \"@fortawesome/free-brands-svg-icons\": \"^5.8.1\",\n \"@fortawesome/free-solid-svg-icons\": \"^5.8.1\",\n \"@fortawesome/react-fontawesome\": \"^0.1.4\",\n \"@typeform/embed\": \"^0.9.2\",\n \"nuka-carousel\": \"^4.5.4\",\n \"ramda\": \"^0.26.1\",\n \"react-anchor-link-smooth-scroll\": \"^1.0.12\",\n \"react-ga\": \"^2.5.7\"\n },\n \"devDependencies\": {\n \"@types/graphql\": \"^0.13.3\",\n \"@types/node\": \"^9.4.7\",\n \"@types/prop-types\": \"^15.5.2\",\n \"@types/react\": \"^16.3.16\",\n \"@types/react-dom\": \"^16.0.5\",\n \"@types/react-helmet\": \"^5.0.5\",\n \"@types/react-intl\": \"^2.3.5\",\n \"@vtex/intl-equalizer\": \"^2.3.0\",\n \"eslint\": \"^5.15.1\",\n \"eslint-config-vtex\": \"^10.1.0\",\n \"eslint-config-vtex-react\": \"^4.1.0\",\n \"graphql\": \"^0.13.0\",\n \"prettier\": \"^1.16.1\",\n \"prop-types\": \"^15.6.1\",\n \"react\": \"^16.2.0\",\n \"react-apollo\": \"^2.0.4\",\n \"react-dom\": \"^16.2.0\",\n \"react-intl\": \"^2.4.0\",\n \"tslint-config-vtex\": \"^2.0.0\",\n \"typescript\": \"3.5.2\"\n }\n}\n\n```"
}
] |
code_tetrix_34fbd318
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of tetrix/react/ExampleQuestions.tsx from the tetrix VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```tsx\nimport React, { Fragment } from 'react'\nimport { Helmet } from 'vtex.render-runtime'\n\nimport Footer from './components/Footer'\nimport Logo from './images/tetrix_logo_dark.svg'\nimport favicon from './images/faviconTetrix.png'\n\nconst ExampleQuestions = () => (\n <Fragment>\n <Helmet>\n <title>Tetrix - O Desafio Universitário</title>\n <meta name=\"title\" content=\"Tetrix\" />\n <meta name=\"description\" content=\"O desafio universitário da VTEX\" />\n <meta name=\"theme-color\" content=\"#F71963\" />\n <link rel=\"icon\" href={favicon} />\n <meta\n name=\"google-site-verification\"\n content=\"WwFB6guJNrYrVApfMf_WmoCLNmptYJ_Vgk_i1DpgYLY\"\n />\n {/* <!-- Open Graph / Facebook --> */}\n <meta property=\"og:type\" content=\"website\" />\n <meta property=\"og:url\" content=\"https://tetrix.vtex.com/\" />\n <meta property=\"og:title\" content=\"Tetrix\" />\n <meta\n property=\"og:description\"\n content=\"O desafio universitário da VTEX\"\n />\n {/* <!-- Twitter --> */}\n <meta property=\"twitter:card\" content=\"summary_large_image\" />\n <meta property=\"twitter:url\" content=\"https://tetrix.vtex.com/\" />\n <meta property=\"twitter:title\" content=\"Tetrix\" />\n <meta\n property=\"twitter:description\"\n content=\"O desafio universitário da VTEX\"\n />\n </Helmet>\n <main className=\"w-100 bg-white\">\n <div className=\"w-80-l w-90 center\">\n <a href=\"/tetrix\">\n <img src={Logo} className=\"w-33 pb6 pt8\" />\n </a>\n <section className=\"pv4 lh-copy bb b--muted-3\">\n <h1 className=\"t-heading-1 mt0 c-emphasis\">Questão 1</h1>\n <p>O Dia dos Solteiros é um festival de entretenimento comemorado na China para celebrar a data de ser solteiro, sendo sempre realizado no dia 11 de novembro (11/11, em alusão ao fato de o número 1 representar uma pessoa sozinha)</p>\n <p>Em 2009, o Dia de Solteiros foi adotado pela gigante do e-commerce chinesa Alibaba como equivalente da \"Black Friday\" Atualmente, nesta data, milhões de chineses aproveitam os descontos, independentemente de estarem ou não solteiros, compram presentes para amigos, familiares ou para uso próprio.</p>\n <p>Qual a porcentagem de consumidores comprou produtos de marcas não-chinesas em 2018 no Tmall.com, o principal site de vendas B2C chinês:</p>\n <ul className=\"list\">\n <li><p>a{')'} 20%</p></li>\n <li><p>b{')'} 30%</p></li>\n <li><p><strong>c{')'} 40%</strong></p></li>\n <li><p>d{')'} 50%</p></li>\n </ul>\n </section>\n <section className=\"pv4 lh-copy bb b--muted-3\">\n <h1 className=\"t-heading-1 c-emphasis\">Questão 2</h1>\n <p>Você dispõe de 32 motos com tanque completo. Cada moto consegue percorrer, utilizando todo o tanque, uma distância de 50 km. Qual a máxima distância que você pode percorrer utilizando todas as motos?</p>\n <ul className=\"list\">\n <li><p>a{')'} 1600 km</p></li>\n <li><p>b{')'} 800 km</p></li>\n <li><p><strong>c{')'} 175 km</strong></p></li>\n <li><p>d{')'} 50 km</p></li>\n </ul>\n </section>\n <section className=\"pv4 lh-copy bb b--muted-3\">\n <h1 className=\"t-heading-1 c-emphasis\">Questão 3</h1>\n <p>Um brasileiro, um chileno e um francês se encontram em um elevador. Com qual das palavras abaixo eles concordariam em gênero e número?</p>\n <ul className=\"list\">\n <li><p>a{')'} Dente</p></li>\n <li><p><strong>b{')'} Maçã</strong></p></li>\n <li><p>c{')'} Viagem</p></li>\n <li><p>d{')'} Conta</p></li>\n </ul>\n </section>\n <section className=\"pv4 lh-copy bb b--muted-3\">\n <h1 className=\"t-heading-1 c-emphasis\">Questão 4</h1>\n <p>Assinale a alternativa que contém uma informação incorreta:</p>\n <ul className=\"list\">\n <li><p><strong>a{')'} Em seu segundo encontro com o ditador da Coreia do Norte, Kim Jong Un, Donald Trump tornou-se o primeiro presidente em exercício dos Estados Unidos a pisar em solo norte coreano.</strong></p></li>\n <li><p>b{')'} O governo da Nigéria, país mais populoso do continente e uma das maiores economias africanas, anunciou o interesse em criar um acordo de livre comércio com outros estados africanos, como estratégia para intensificar o comércio entre esses países.</p></li>\n <li><p>c{')'} A União Européia e o Mercosul anunciaram um histórico acordo de livre comércio. O acordo, cujas negociações começaram em 1999, visa a eliminar tarifas em mais de 90% das mercadorias comercializadas entre os blocos.</p></li>\n <li><p>d{')'} Na reunião da cúpula do G20, realizada no Japão, o presidente americano Donald Trump concordou em não aprovar novas tarifas para cerca de $300 bilhões em mercadorias chinesas. Em troca, o presidente chinês Xi Jinping concordou em aprovar a compra de novos produtos agrícolas americanos.</p></li>\n </ul>\n </section>\n <section className=\"pv4 lh-copy\">\n <h1 className=\"t-heading-1 c-emphasis\">Questão 5</h1>\n <p>IPO (Initial Public Offering) é uma sigla para Oferta Pública Inicial (ou OPI). Como o próprio nome diz, é quando uma empresa vende ações para o público pela primeira vez.</p>\n <p>Qual das empresas de tecnologia abaixo ainda não realizou seu IPO:</p>\n <ul className=\"list\">\n <li><p>a{')'} Slack</p></li>\n <li><p>b{')'} Uber</p></li>\n <li><p>c{')'} Lyft</p></li>\n <li><p><strong>d{')'} Airbnb</strong></p></li>\n </ul>\n </section>\n </div>\n </main>\n <Footer />\n </Fragment>\n)\n\nexport default ExampleQuestions\n\n```"
}
] |
code_tetrix_dd525056
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of tetrix/react/Tetrix.tsx from the tetrix VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```tsx\nimport React, { FunctionComponent, Fragment, useEffect } from 'react'\nimport { Helmet } from 'vtex.render-runtime'\nimport ReactGA from 'react-ga'\n\nimport Header from './components/Header'\nimport About from './components/About'\nimport Video from './components/Video'\nimport Prizes from './components/Prizes'\nimport Jury from './components/Jury'\nimport FAQ from './components/FAQ'\nimport Footer from './components/Footer'\nimport HowItWorks from './components/HowItWorks'\nimport News from './components/News'\nimport favicon from './images/faviconTetrix.png'\n\nfunction initializeReactGA() {\n ReactGA.initialize('UA-139462697-3')\n ReactGA.pageview('/')\n}\n\nconst Tetrix: FunctionComponent = () => {\n useEffect(initializeReactGA)\n\n return (\n <Fragment>\n <Helmet>\n <title>Tetrix - O Desafio Universitário</title>\n <meta name=\"title\" content=\"Tetrix\" />\n <meta name=\"description\" content=\"O desafio universitário da VTEX\" />\n <meta name=\"theme-color\" content=\"#F71963\" />\n <link rel=\"icon\" href={favicon} />\n <meta\n name=\"google-site-verification\"\n content=\"WwFB6guJNrYrVApfMf_WmoCLNmptYJ_Vgk_i1DpgYLY\"\n />\n {/* <!-- Open Graph / Facebook --> */}\n <meta property=\"og:type\" content=\"website\" />\n <meta property=\"og:url\" content=\"https://tetrix.vtex.com/\" />\n <meta property=\"og:title\" content=\"Tetrix\" />\n <meta\n property=\"og:description\"\n content=\"O desafio universitário da VTEX\"\n />\n {/* <!-- Twitter --> */}\n <meta property=\"twitter:card\" content=\"summary_large_image\" />\n <meta property=\"twitter:url\" content=\"https://tetrix.vtex.com/\" />\n <meta property=\"twitter:title\" content=\"Tetrix\" />\n <meta\n property=\"twitter:description\"\n content=\"O desafio universitário da VTEX\"\n />\n </Helmet>\n <main className=\"w-100 bg-white\">\n <div className=\"w-90-l center\">\n <Header />\n <About />\n <Video />\n <HowItWorks />\n <Prizes />\n <Jury />\n <News/>\n <FAQ />\n </div>\n </main>\n <Footer />\n </Fragment>\n )\n}\n\nexport default Tetrix\n\n```"
}
] |
code_tetrix_2195aa90
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of tetrix/store/interfaces.json from the tetrix VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"tetrix\": {\n \"blocks\": [\n \"tetrix.landing\"\n ]\n },\n \"tetrix.landing\": {\n \"component\": \"Tetrix\"\n },\n \"tetrix.examples\": {\n \"component\": \"ExampleQuestions\"\n }\n}\n\n```"
}
] |
code_tetrix_f37bd4fc
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of tetrix/store/routes.json from the tetrix VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"tetrix.landing\": {\n \"path\": \"/tetrix\",\n \"cname\": \"tetrix.vtex.com\"\n },\n \"tetrix.examples\": {\n \"path\": \"/tetrix/examples\"\n }\n}\n\n```"
}
] |
code_tetrix_d91acf74
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of tetrix/react/typings/jpg.d.ts from the tetrix VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```typescript\ndeclare module '*.jpg' {\n const path: string\n export default path\n}\n\n```"
}
] |
code_tetrix_a944a0c3
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of tetrix/react/typings/png.d.ts from the tetrix VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```typescript\ndeclare module '*.png' {\n const path: string\n export default path\n}\n\n```"
}
] |
code_tetrix_82f2e96c
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of tetrix/react/typings/vtex.render-runtime.d.ts from the tetrix VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```typescript\n/* Typings for `render-runtime` */\ndeclare module 'vtex.render-runtime' {\n import { Component, ReactElement } from 'react'\n\n export interface RenderContextProps {\n runtime: {\n account: string\n }\n }\n\n export const Link: any\n export const NoSSR: any\n export const RenderContextConsumer: ReactElement\n export const canUseDOM: boolean\n export const withRuntimeContext: ReactElement\n export const Helmet: any\n export const useRuntime: () => {\n culture: {\n locale: string\n }\n emitter: {\n emit: (eventName: string, eventId: string) => void\n }\n query: {\n app: string\n filePath?: string\n }\n }\n}\n\n```"
}
] |
code_tetrix_84a59d24
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of tetrix/react/typings/svg.d.ts from the tetrix VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```typescript\ndeclare module '*.svg' {\n const path: string\n export default path\n}\n\n```"
}
] |
code_tetrix_258965a7
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of tetrix/react/typings/graphql.d.ts from the tetrix VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```typescript\ndeclare module '*.graphql' {\n import { DocumentNode } from 'graphql'\n\n const value: DocumentNode\n export default value\n}\n\n```"
}
] |
code_tetrix_80f17362
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of tetrix/react/typings/vtex.styleguide.d.ts from the tetrix VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```typescript\ndeclare module 'vtex.styleguide' {\n export const Alert\n export const Button\n export const ButtonWithIcon\n export const PageBlock\n export const IconCaretDown\n export const IconCaretUp\n export const IconCaretRight\n export const IconBars\n export const IconCheck\n export const IconDeny\n export const Spinner\n export const EmptyState\n}\n\n```"
}
] |
code_tetrix_cccc9964
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of tetrix/react/components/Nav.tsx from the tetrix VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```tsx\nimport React, { FunctionComponent, useState } from 'react'\nimport { IconBars } from 'vtex.styleguide'\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\nimport { faFacebook, faInstagram } from '@fortawesome/free-brands-svg-icons'\n\nimport Logo from '../images/tetrix_logo.svg'\n\nconst Nav: FunctionComponent = () => {\n const [openNav, setOpenNav] = useState(false)\n\n return (\n <nav className=\"flex\">\n <div className=\"c-on-emphasis w-100 flex flex-column flex-row-l justify-between\">\n <div className=\"flex flex-column items-center\">\n <img src={Logo} className=\"h3-l\" alt=\"TETRIX - O DESAFIO\" />\n <button\n className=\"dn-l c-on-base w-33 mv7 bg-0 bn bg-transparent\"\n onClick={() => setOpenNav(!openNav)}\n >\n <IconBars />\n </button>\n </div>\n <div className=\"flex-l\" hidden={!openNav}>\n <div className=\"flex flex-column flex-row-l justify-center list mt0 items-center mb0\">\n <p className=\"mh5-l mv5 mv0-l\">\n <a className=\"link c-on-emphasis\" href=\"https://tetrix.vtex.com\">\n <strong>HOME</strong>\n </a>\n </p>\n <p className=\"mh5-l mv5 mv0-l bold\">\n <a className=\"link c-on-emphasis\" href=\"#about\">\n <strong>O QUE É?</strong>\n </a>\n </p>\n <p className=\"mh5-l mv5 mv0-l bold\">\n <a\n className=\"link c-on-emphasis\"\n href=\"https://drive.google.com/file/d/1F3z9SdkM_ze1tnrwTf-FTR1xJ-WJ5BHc/view?usp=sharing\"\n >\n <strong>REGRAS</strong>\n </a>\n </p>\n <p className=\"mh5-l mv5 mv0-l bold\">\n <a className=\"link c-on-emphasis\" href=\"#prize\">\n <strong>PRÊMIO</strong>\n </a>\n </p>\n <p className=\"mh5-l mv5 mv0-l bold\">\n <a className=\"link c-on-emphasis\" href=\"#faq\">\n <strong>FAQ</strong>\n </a>\n </p>\n <a\n className=\"link c-on-emphasis mh5-l mv5\"\n href=\"https://www.facebook.com/desafiotetrix/\"\n >\n <FontAwesomeIcon icon={faFacebook} />\n </a>\n <a\n className=\"link c-on-emphasis mh5-l mv5\"\n href=\"https://www.instagram.com/desafiotetrix/\"\n >\n <FontAwesomeIcon icon={faInstagram} />\n </a>\n </div>\n </div>\n </div>\n </nav>\n )\n}\n\nexport default Nav\n\n```"
}
] |
code_tetrix_51b84350
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of tetrix/react/components/QuestionCard.tsx from the tetrix VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```tsx\nimport React, { useState, FunctionComponent } from 'react'\nimport { IconCaretDown, IconCaretRight } from 'vtex.styleguide'\n\ninterface Props {\n question: string\n ans: any\n}\n\nconst QuestionCard: FunctionComponent<Props> = ({ question, ans }) => {\n const [open, setOpen] = useState(false)\n return (\n <article className=\"flex flex-column pr9-l w-100\">\n <p\n className=\"flex justify-between bb b--muted-3 pv3\"\n onClick={() => setOpen(!open)}\n >\n <strong>{question}</strong>\n {open ? <IconCaretDown /> : <IconCaretRight />}\n </p>\n <p hidden={!open} className=\"ph5 lh-copy\">\n {ans}\n </p>\n </article>\n )\n}\n\nexport default QuestionCard\n\n```"
}
] |
code_tetrix_efc895a7
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of tetrix/react/components/News.tsx from the tetrix VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```tsx\nimport React, { useState } from 'react'\n\nconst News = () => {\n const [open, setOpen] = useState(false)\n\n return (\n <section className=\"pa8\">\n <h1 className=\"t-heading-1 c-emphasis\">ÚLTIMAS NOTÍCIAS</h1>\n <div>\n <div className=\"flex flex-column pv5\">\n <article>\n <h4 className=\"t-heading-4 ttu link no-underline\">\n <a href=\"/tetrix/examples\" className=\"link no-underline\">\n CONFIRA EXEMPLOS DE QUESTÕES DO TETRIX!\n </a>\n </h4>\n <small className=\"t-small\">24 de julho de 2019</small>\n </article>\n <article>\n <h4\n className=\"t-heading-4 ttu pointer\"\n onClick={() => setOpen(!open)}\n >\n TESTE DE COMUNICAÇÃO\n </h4>\n <p hidden={!open} className=\"w-80-l lh-copy\">\n Todos os inscritos no Desafio Tetrix receberam um e-mail teste\n hoje (24/07). Caso não tenha recebido ainda, verifique sua caixa\n de spam. Caso não encontre, ocorreu um erro técnico. Para garantir\n que recebera o teste no sábado, nos envie um e-mail para{' '}\n <a href={'mailto:ola@tetrixodesafio.com'}>\n ola@tetrixodesafio.com\n </a>{' '}\n comunicando a falha técnica.\n </p>\n <small className=\"t-small\">24 de julho de 2019</small>\n </article>\n <article>\n <h4 className=\"t-heading-4 ttu link no-underline\">\n <a\n href=\"https://drive.google.com/file/d/13-H1gOh1NT1uBloyHnnTYSI6EytIlrgR/view?usp=sharing\"\n className=\"link no-underline ttu\"\n >\n Instruções finais - Primeira fase Desafio Tetrix\n </a>\n </h4>\n <small className=\"t-small\">25 de julho de 2019</small>\n </article>\n <article>\n <h4 className=\"t-heading-4 ttu link no-underline\">\n <a\n href=\"https://drive.google.com/file/d/1fZgM-SbBe4PuAu1bxtF3XvH1ThFqnF25/view?usp=sharing\"\n className=\"link no-underline ttu\"\n >\n Gabarito Oficial - Primeira fase Desafio Tetrix\n </a>\n </h4>\n <small className=\"t-small\">29 de julho de 2019</small>\n </article>\n <article>\n <h4 className=\"t-heading-4 ttu pointer\">Resultado primeira fase</h4>\n <p className=\"w-80-l lh-copy\">\n Todos os participantes da primeira fase, serão informados\n individualmente, via e-mail, se foram aprovados para a segunda\n fase, no dia 02 de agosto de 2019 às 18h30. Caso não receba uma\n resposta, pedimos que entre em contato via e-mail{' '}\n <a href={'mailto:ola@tetrixodesafio.com'}>\n ola@tetrixodesafio.com\n </a>{' '}\n ou via chat do Instagram (@desafiotetrix).\n </p>\n <small className=\"t-small\">02 de agosto de 2019</small>\n </article>\n </div>\n </div>\n </section>\n )\n}\n\nexport default News\n\n```"
}
] |
code_tetrix_f8b3d8fa
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of tetrix/react/components/HowItWorks.tsx from the tetrix VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```tsx\nimport React, { FunctionComponent } from 'react'\n\nconst HowItWorks: FunctionComponent = () => (\n <section className=\"pa7 mv8 flex flex-column flex-row-l justify-between items-center\">\n <div className=\"w-40-l\">\n <p className=\"t-heading-1 c-emphasis\">COMO FUNCIONA?</p>\n <p className=\"lh-copy\">\n O desafio possui 100 perguntas, divididas em 3 fases. As duas primeiras\n fases são realizadas online (remotamente), enquanto a terceira e a\n última fase acontece no Rio de Janeiro (presencialmente). Todos os\n inscritos terão acesso a primeira fase, e avançarão conforme o\n desempenho da fase anterior. O tempo que você levar para responder cada\n pergunta, impacta diretamente no resultado final.\n </p>\n </div>\n <div className=\"flex flex-column flex-row-l justify-between c-emphasis w-50-l w-90\">\n <div className=\"w-30-l mv5 mv0-l\">\n <div className=\"b--emphasis ba pa5 tc\">\n <p>FASE 1 (27 e 28/07)</p>\n <p className=\"t-heading-1 mv2\">90</p>\n <p>PERGUNTAS</p>\n </div>\n <div className=\"b--emphasis bb bl br tc pt5\">\n <p className=\"mt0\">ONLINE</p>\n </div>\n </div>\n <div className=\"w-30-l mv5 mv0-l\">\n <div className=\"b--emphasis ba pa5 tc\">\n <p>FASE 2 (02/08)</p>\n <p className=\"t-heading-1 mv2\">08</p>\n <p>PERGUNTAS</p>\n </div>\n <div className=\"b--emphasis bb bl br tc pt5\">\n <p className=\"mt0\">ONLINE</p>\n </div>\n </div>\n <div className=\"w-30-l mv5 mv0-l\">\n <div className=\"b--emphasis ba pa5 tc\">\n <p>FASE 3 (19 e 20/10)</p>\n <p className=\"t-heading-1 mv2\">02</p>\n <p>PERGUNTAS</p>\n </div>\n <div className=\"b--emphasis bb bl br tc pt5\">\n <p className=\"mt0\">PRESENCIAL - RJ</p>\n </div>\n </div>\n </div>\n </section>\n)\n\nexport default HowItWorks\n\n```"
}
] |
code_tetrix_4888be87
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of tetrix/react/components/Video.tsx from the tetrix VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```tsx\nimport React, { FunctionComponent } from 'react'\n\nconst Video: FunctionComponent = () => (\n <section className=\"mv7 flex justify-center items-center\">\n <iframe\n className=\"w-70-l w-90 vh-75\"\n src=\"https://www.youtube.com/embed/vO7Kdg4qs34\"\n frameBorder=\"0\"\n allow=\"accelerometer; autoplay; encrypted-media; gyroscope;\"\n allowFullScreen\n />\n </section>\n)\n\nexport default Video\n\n```"
}
] |
code_tetrix_d96e95dc
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of tetrix/react/components/Footer.tsx from the tetrix VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```tsx\nimport React, { FunctionComponent } from 'react'\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\nimport { faFacebook, faInstagram } from '@fortawesome/free-brands-svg-icons'\n\nimport Logo from '../images/tetrix_logo_dark.svg'\n\nconst Footer: FunctionComponent = () => (\n <footer className=\"pa10-l pa7 bg-white\">\n <div className=\"flex flex-row-l flex-column justify-between items-center-l w-90 center\">\n <div className=\"w-90 w-33-l center\">\n <img src={Logo} alt=\"TETRIX\" />\n <div className=\"flex items-center justify-center mv4\">\n <a\n className=\"link c-muted-1 mh5\"\n href=\"https://www.facebook.com/desafiotetrix/\"\n >\n <FontAwesomeIcon icon={faFacebook} />\n </a>\n <a\n className=\"link c-muted-1 mh5\"\n href=\"https://www.instagram.com/desafiotetrix/\"\n >\n <FontAwesomeIcon icon={faInstagram} />\n </a>\n </div>\n </div>\n <div className=\"flex flex-row-l flex-column justify-between mt5 mt0-l\">\n <p className=\"ph5-l\">\n <a className=\"link c-muted-1\" href=\"https://vtex.com\">\n VTEX.COM\n </a>\n </p>\n <p className=\"ph5-l\">\n <a\n className=\"link c-muted-1\"\n href=\"https://drive.google.com/file/d/1F3z9SdkM_ze1tnrwTf-FTR1xJ-WJ5BHc/view?usp=sharing\"\n >\n TERMOS E CONDIÇÕES\n </a>\n </p>\n <p className=\"ph5-l\">\n <a className=\"link c-muted-1\" href=\"https://careers.vtex.com\">\n CAREERS\n </a>\n </p>\n <p className=\"ph5-l\">\n <a className=\"link c-muted-1\" href={'mailto:tetrix@vtex.com'}>\n CONTACT US\n </a>\n </p>\n </div>\n </div>\n </footer>\n)\n\nexport default Footer\n\n```"
}
] |
code_tetrix_254fc562
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of tetrix/react/components/Prizes.tsx from the tetrix VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```tsx\nimport React, { FunctionComponent, useState } from 'react'\nimport Carousel from 'nuka-carousel'\n\nimport Berlim from '../images/berlim.png'\nimport HongKong from '../images/hongkong.png'\nimport London from '../images/londres.png'\nimport NewYork from '../images/nyc.png'\nimport Rio from '../images/rio.png'\nimport Santiago from '../images/santiago.png'\nimport SaoPaulo from '../images/saopaulo.png'\n\nconst Prizes: FunctionComponent = () => {\n const [activeSlide, setActiveSlide] = useState(0)\n\n return (\n <section\n id=\"prize\"\n className=\"pv7 flex flex-row-l flex-column justify-between w-90 center mv8\"\n >\n <div className=\"w-90 center w-50-l\">\n <p className=\"t-heading-1 c-emphasis\">O PRÊMIO</p>\n <p className=\"w-90-l\">\n Quem vencer o desafio será levado para uma jornada de desenvolvimento\n nas principais cidades que desenvolvem iniciativas inovadoras de\n e-commerce. É uma chance única de conhecer tudo que existe sobre\n comércio global, guiado por uma das maiores empresas desse setor no\n mundo.\n </p>\n <div>\n <p\n className={`${activeSlide === 0 &&\n 't-heading-1-l'} pointer t-heading-2 c-emphasis`}\n onMouseOver={() => setActiveSlide(0)}\n onClick={() => setActiveSlide(0)}\n >\n SANTIAGO\n </p>\n <p className=\"dn-l\">\n Conheça os desafios do e-commerce na América Latina hispanohablante,\n conhecendo as características do mercado e dos clientes latinos de\n língua espanhola.\n </p>\n </div>\n <div>\n <p\n className={`${activeSlide === 1 &&\n 't-heading-1-l'} pointer t-heading-2 c-emphasis`}\n onMouseOver={() => setActiveSlide(1)}\n onClick={() => setActiveSlide(1)}\n >\n NOVA YORK\n </p>\n <p className=\"dn-l\">\n Na megalópole norte-americana, desenvolva suas habilidades de\n networking, conhecendo negócios da área de tecnologia e descobrindo\n oportunidades de expansão inovadoras.\n </p>\n </div>\n\n <div>\n <p\n className={`${activeSlide === 2 &&\n 't-heading-1-l'} pointer t-heading-2 c-emphasis`}\n onMouseOver={() => setActiveSlide(2)}\n onClick={() => setActiveSlide(2)}\n >\n LONDRES\n </p>\n <p className=\"dn-l\">\n Na terra da Rainha, aprenda como as fintechs estão revolucionando o\n mercado financeiro global, compreendendo os desafios de\n desenvolvimento, os limites das legislações locais.\n </p>\n </div>\n\n <div>\n <p\n className={`${activeSlide === 3 &&\n 't-heading-1-l'} pointer t-heading-2 c-emphasis`}\n onMouseOver={() => setActiveSlide(3)}\n onClick={() => setActiveSlide(3)}\n >\n BERLIM\n </p>\n <p className=\"dn-l\">\n Desenvolva um olhar mais focado para os resultados de pesquisas para\n aprender a se antecipar nas decisões de negócios, visitando centros\n tecnológicos e universidades.\n </p>\n </div>\n\n <div>\n <p\n className={`${activeSlide === 4 &&\n 't-heading-1-l'} pointer t-heading-2 c-emphasis`}\n onMouseOver={() => setActiveSlide(4)}\n onClick={() => setActiveSlide(4)}\n >\n HONG KONG\n </p>\n <p className=\"dn-l\">\n Desenvolva um olhar mais focado para os resultados de pesquisas para\n aprender a se antecipar nas decisões de negócios, visitando centros\n tecnológicos e universidades.\n </p>\n </div>\n\n <div>\n <p\n className={`${activeSlide === 5 &&\n 't-heading-1-l'} pointer t-heading-2 c-emphasis`}\n onMouseOver={() => setActiveSlide(5)}\n onClick={() => setActiveSlide(5)}\n >\n SÃO PAULO\n </p>\n <p className=\"dn-l\">\n Entenda os diferenciais da capital paulista no cenário de comércio\n eletrônico brasileiro, reconhecendo as razões da sua importância\n para o e-commerce da América Latina. <br />\n Centro de negócios do Brasil e da América Latina: conhecer a os\n diferenciais da capital paulista no cenário do comércio eletrônico\n brasileiro e reconhecer sua posição de importância no cenário do\n e-commerce da América Latina.\n </p>\n </div>\n\n <div>\n <p\n className={`${activeSlide === 6 &&\n 't-heading-1-l'} pointer t-heading-2 c-emphasis`}\n onMouseOver={() => setActiveSlide(6)}\n onClick={() => setActiveSlide(6)}\n >\n RIO DE JANEIRO\n </p>\n <p className=\"dn-l\">\n Visualize na prática os desafios no desenvolvimento e na programação\n da infraestrutura necessária para a viabilização de negócios\n digitais.\n </p>\n </div>\n </div>\n <div className=\"w-50-l w-75 dn flex-l center\">\n <Carousel heightMode=\"first\" slideIndex={activeSlide} withoutControls>\n <img src={Santiago} alt=\"\" />\n <img src={NewYork} alt=\"\" />\n <img src={London} alt=\"\" />\n <img src={Berlim} alt=\"\" />\n <img src={HongKong} alt=\"\" />\n <img src={SaoPaulo} alt=\"\" />\n <img src={Rio} alt=\"\" />\n </Carousel>\n </div>\n </section>\n )\n}\n\nexport default Prizes\n\n```"
}
] |
code_tetrix_589a703b
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of tetrix/react/components/FAQData.tsx from the tetrix VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```tsx\nimport React, { Fragment } from 'react'\n\nexport const questions = [\n {\n question: 'Até quando as inscrições estão abertas?',\n ans: 'As inscrições estarão abertas de 30 de maio a 07 de julho de 2019.',\n },\n {\n question: 'Quando começa o Desafio?',\n ans:\n 'O link de acesso para a primeira fase será disponibilizado no dia 27 de julho, para todos os inscritos.',\n },\n {\n question: 'Quem pode participar do TETRIX?',\n ans:\n 'Pessoas antenadas com veia empreendedora, dispostas a aprender e que querem desenvolver sua carreira no ramo dos negócios e de e-commerce, desde que preencham os seguintes requisitos: Residentes no Brasil, maiores de 18 anos, universitários ou graduados. Se você já possui graduação, deverá ter colado grau a partir do 2º semestre de 2017. ',\n },\n {\n question: 'O TETRIX possui algum custo?',\n ans:\n 'Não! Você não precisa pagar nada para participar, incluindo a fase presencial, em que vamos arcar com os custos de viagem e hospedagem dos participantes que residirem fora da cidade do Rio de Janeiro.',\n },\n {\n question:\n 'O que preciso saber sobre o prêmio? (Venci, quais documentações devo possuir?)',\n ans:\n 'O vencedor deverá ter toda documentação necessária na data do embarque para a viagem prêmio. Isso inclui: vistos, passaporte e certificado internacional de vacinação. Se você não tiver os documentos necessários, não se preocupe! Avise-nos durante a fase final, para providenciarmos.',\n },\n {\n question: 'Ainda possui alguma dúvida?',\n ans: (\n <Fragment>\n Se você ainda possui alguma dúvida que não respondemos aqui nesse FAQ,\n mande um e-mail para{' '}\n <a href={'mailto:ola@tetrixodesafio.com'}>ola@tetrixodesafio.com</a> que\n estamos disponíveis para te ajudar.\n </Fragment>\n ),\n },\n]\n\n```"
}
] |
code_tetrix_4c6cf0e4
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of tetrix/react/components/Jury.tsx from the tetrix VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```tsx\nimport React from 'react'\n\nimport Geraldo from '../images/Geraldo.png'\nimport Mariano from '../images/Mariano.png'\nimport Raissa from '../images/Raissa.png'\nimport Alfredo from '../images/Alfredo.png'\nimport RafaForte from '../images/RafaForte.png'\n\nconst Jury = () => (\n <section className=\"pa8\">\n <h1 className=\"t-heading-1 c-emphasis\">CONHEÇA O JÚRI</h1>\n <div>\n <div className=\"flex flex-column flex-row-l justify-between pv5 items-center\">\n <div className=\"flex\">\n <img src={Geraldo} className=\"w4 h4 mr10-l mr4\" />\n <img src={Mariano} className=\"w4 h4\" />\n </div>\n <div className=\"w-60-l w-90 pl7-l\">\n <h2 className=\"t-heading-2 w-55-l\">\n GERALDO THOMAZ<br />\n E MARIANO GOMIDE\n </h2>\n <p className='t-body lh-copy'>\n Fundadores e atuais CEO's da VTEX, a organizadora do Desafio Tetrix.\n Formados em Engenharia pela UFRJ, são apaixonados pelo Rio e pelo Brasil.\n Acreditam fortemente que a educação é o caminho para que o Brasil posssa competir de igual para igual em tecnologia e negócios com outros países.\n </p>\n </div>\n </div>\n <div className=\"flex flex-column flex-row-l justify-between pv5 items-center\">\n <div className=\"flex mr10-l w-33-l flex-row-reverse\">\n <img src={Raissa} className=\"w4 h4\" />\n </div>\n <div className=\"w-60-l w-90\">\n <h2 className=\"t-heading-2\">\n RAISSA ROTOLO\n </h2>\n <p className='t-body lh-copy'>\n Formada em Engenharia de Produção e com MBA em Gestão de Marketing pela UFRJ,\n é encantada pela perspectiva de impacto que a tecnologia pode trazer à\n sociedade. Hoje é diretora de vendas de uma das mais novas soluções da VTEX, o Omnichannel\n - que possibilita a experiência de compra centrada no consumidor e unificada entre o mundo físico e digital.\n </p>\n </div>\n </div>\n <div className=\"flex flex-column flex-row-l justify-between pv5 items-center\">\n <div className=\"flex mr10-l w-33-l flex-row-reverse\">\n <img src={Alfredo} className=\"w4 h4\" />\n </div>\n <div className=\"w-60-l w-90\">\n <h2 className=\"t-heading-2\">\n ALFREDO SOARES\n </h2>\n <p className=\"t-body lh-copy\">\n Fundador da Xtech commerce e sócio da VTEX Commerce.\n Também é escritor do livro Bora Vender. Acredita que saber vender é uma das habilidades\n mais importantes para a vida profissional.\n </p>\n </div>\n </div>\n <div className=\"flex flex-column flex-row-l justify-between pv5 items-center\">\n <div className=\"flex mr10-l w-33-l flex-row-reverse\">\n <img src={RafaForte} className=\"w4 h4\" />\n </div>\n <div className=\"w-60-l w-90\">\n <h2 className=\"t-heading-2\">\n RAFAEL FORTE\n </h2>\n <p className='t-body lh-copy'>\n Formado em Direito e com MBA pela FGV, é country manager da VTEX no Brasil,\n liderando mais de 300 pessoas. Anteriormente à carreira da VTEX, fundou a\n empresa de tecnologia WX7 e lecionou na IBMEC.\n </p>\n </div>\n </div>\n </div>\n </section>\n)\n\nexport default Jury\n\n```"
}
] |
code_tetrix_8a1a3f96
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of tetrix/react/components/Header.tsx from the tetrix VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```tsx\nimport React, { FunctionComponent } from 'react'\nimport Carousel from 'nuka-carousel'\n\nimport Nav from './Nav'\nimport Slider1 from '../images/slider1.png'\nimport Slider2 from '../images/slider2.png'\nimport Slider3 from '../images/slider3.png'\n\nconst Header: FunctionComponent = () => (\n <header className=\"bg-emphasis pa9\">\n <Nav />\n <div className=\"flex flex-column flex-row-l justify-around items-center mt5\">\n <div className=\"flex flex-column justify-around w-40-l w-90 order-1 order-0-l\">\n <p className=\"t-heading-2 fw7 c-on-emphasis\">\n QUAL A ÚLTIMA VEZ QUE VOCÊ SE SURPREENDEU\n <br />\n <span className=\"underline c-muted-1\"> COM VOCÊ MESMO?</span>\n </p>\n <p className=\"c-on-emphasis lh-copy\">\n No Tetrix, o Desafio, você será capaz de descobrir se o seu\n conhecimento tem fim e, somente ao superá-lo, encontrará respostas às\n perguntas que podem definir seu futuro. Vença e seja levado a uma\n jornada de desenvolvimento pelo mundo.\n </p>\n <p className=\"c-muted-1 b\">Inscreva-se até o dia 19 de julho.</p>\n <a\n className=\"c-emphasis no-underline br-pill mt6 mb3 bg-base ph7 b--none pointer w-50-l\"\n href=\"https://tetrix.typeform.com/to/Jy9KBv\"\n >\n <p className=\"t-heading-4 fw5 mv4 tc\">Participar</p>\n </a>\n </div>\n <div className=\"w-40-l w-90 order-0 order-1-l\">\n <Carousel autoplay wrapAround withoutControls>\n <img src={Slider1} alt=\"\" />\n <img src={Slider2} alt=\"\" />\n <img src={Slider3} alt=\"\" />\n </Carousel>\n </div>\n </div>\n </header>\n)\n\nexport default Header\n\n```"
}
] |
code_tetrix_5cd3c33b
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of tetrix/react/components/FAQ.tsx from the tetrix VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```tsx\nimport React, { FunctionComponent } from 'react'\n\nimport { questions } from './FAQData'\nimport QuestionCard from './QuestionCard'\n\nconst FAQ: FunctionComponent = () => (\n <section id=\"faq\" className=\"pa8 bg-base--inverted c-on-base--inverted mt8\">\n <p className=\"t-heading-1\">F.A.Q.</p>\n <p>\n Para saber mais sobre o TETRIX, o Desafio, confira as{' '}\n <a\n href=\"https://drive.google.com/file/d/1F3z9SdkM_ze1tnrwTf-FTR1xJ-WJ5BHc/view?usp=sharing\"\n className=\"c-on-base--inverted\"\n >\n Regras do Desafio\n </a>{' '}\n e as dúvidas frequentes antes de iniciar sua inscrição.\n </p>\n <div className=\"flex flex-column items-center\">\n {questions.map(q => (\n <QuestionCard question={q.question} ans={q.ans} key={q.question} />\n ))}\n </div>\n </section>\n)\n\nexport default FAQ\n\n```"
}
] |
code_tetrix_37fe6d09
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of tetrix/react/components/About.tsx from the tetrix VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```tsx\nimport React, { FunctionComponent } from 'react'\n\nimport Icon1 from '../images/icone1.png'\nimport Icon2 from '../images/icone2.png'\nimport Icon3 from '../images/icone3.png'\nimport Icon4 from '../images/icone4.png'\nimport Icon5 from '../images/icone5.png'\nimport Icon6 from '../images/icone6.png'\nimport Icon7 from '../images/icone7.png'\nimport Icon8 from '../images/icone8.png'\n\nconst About: FunctionComponent = () => {\n const iconClasses =\n 'w-25-l w-90 pa5 flex flex-column items-center justify-center'\n\n return (\n <section\n id=\"about\"\n className=\"pa7 flex flex-row-l flex-column justify-between items-center mv8\"\n >\n <div className=\"w-33-l\">\n <p className=\"t-heading-2 c-emphasis\">O QUE É O TETRIX?</p>\n <p className=\"t-body lh-copy\">\n O Tetrix é um desafio universitário que foi desenvolvido pela VTEX\n para testar e validar os diferentes tipos de habilidades dos\n participantes. Através de perguntas que conectam múltiplos\n conhecimentos, o Tetrix propõe um um nível de complexidade\n progressiva, que ajuda a identificar diferentes perspectivas e buscar\n solucionadores.\n </p>\n </div>\n <div className=\"flex justify-around items-center flex-wrap w-60-l\">\n <div className={iconClasses}>\n <img src={Icon1} style={{ width: '100px', height: '100px' }} />\n <p className=\"c-emphasis tc\">EVOLUÇÃO</p>\n </div>\n <div className={iconClasses}>\n <img src={Icon2} style={{ width: '100px', height: '100px' }} />\n <p className=\"tc\">CONHECIMENTO TÉCNICO E DE MERCADO</p>\n </div>\n <div className={iconClasses}>\n <img src={Icon3} style={{ width: '100px', height: '100px' }} />\n <p className=\"c-emphasis tc\">AUDÁCIA</p>\n </div>\n <div className={iconClasses}>\n <img src={Icon4} style={{ width: '100px', height: '100px' }} />\n <p className=\"tc\">PENSAMENTO LÓGICO</p>\n </div>\n <div className={iconClasses}>\n <img src={Icon5} style={{ width: '100px', height: '100px' }} />\n <p className=\"tc\">ADMIRAÇÃO COLETIVA</p>\n </div>\n <div className={iconClasses}>\n <img src={Icon6} style={{ width: '100px', height: '100px' }} />\n <p className=\"c-emphasis tc\">CONEXÃO</p>\n </div>\n <div className={iconClasses}>\n <img src={Icon7} style={{ width: '100px', height: '100px' }} />\n <p className=\"tc\">COMUNICAÇÃO</p>\n </div>\n <div className={iconClasses}>\n <img src={Icon8} style={{ width: '100px', height: '100px' }} />\n <p className=\"c-emphasis tc\">VOZ DE REFERÊNCIA</p>\n </div>\n </div>\n </section>\n )\n}\n\nexport default About\n\n```"
}
] |
code_admin-messages_a0aa076a
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of admin-messages/messages/ja/vtex.admin-cms@0.x.json from the admin-messages VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"Author\": \"作成者\",\n \"Draft\": \"下書き\",\n \"Live\": \"ライブ\",\n \"Name\": \"名前\",\n \"Type\": \"タイプ\",\n \"High\": \"高い\",\n \"Low\": \"低い\",\n \"Medium\": \"中程度\",\n \"of\": \"/\",\n \"Search\": \"検索\",\n \"Content\": \"コンテンツ\",\n \"Hide all\": \"すべて非表示にする\",\n \"Show all\": \"すべて表示する\",\n \"Line density\": \"線密度\",\n \"Show rows\": \"表示行数\",\n \"Last update\": \"前回のアップデート\",\n \"Toggle visible fields\": \"表示するフィールドの切り替え\"\n}\n\n```"
}
] |
code_admin-messages_a933c70b
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of admin-messages/messages/ja/vtex.store-components@3.x.json from the admin-messages VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"admin/editor.blockClass.description\": \"クラス名を別途追加し、スタイリングを簡単にしてください\",\n \"admin/editor.blockClass.title\": \"CSS ブロッククラス\",\n \"admin/editor.categoriesHighlighted.cardShape\": \"ボックスの形状\",\n \"admin/editor.categoriesHighlighted.cardShape.rectangular\": \"長方形\",\n \"admin/editor.categoriesHighlighted.cardShape.squared\": \"正方形\",\n \"admin/editor.categoriesHighlighted.categoriesHighlighted\": \"ハイライトされたカテゴリ\",\n \"admin/editor.categoriesHighlighted.category\": \"カテゴリ\",\n \"admin/editor.categoriesHighlighted.description\": \"部門によりハイライトされたカテゴリ\",\n \"admin/editor.categoriesHighlighted.item.categoryImage\": \"カテゴリ画像\",\n \"admin/editor.categoriesHighlighted.item.categoryName\": \"カテゴリ名\",\n \"admin/editor.categoriesHighlighted.quantityOfItems\": \"項目の数\",\n \"admin/editor.categoriesHighlighted.showCategoriesHighlighted\": \"ハイライトされたカテゴリの表示\",\n \"admin/editor.categoriesHighlighted.title\": \"ハイライトされたカテゴリ\",\n \"admin/editor.image.alt.title\": \"代替テキスト\",\n \"admin/editor.image.description\": \"画像を表示する\",\n \"admin/editor.image.src.title\": \"画像\",\n \"admin/editor.image.title\": \"画像\",\n \"admin/editor.image.title.title\": \"画像のタイトル\",\n \"admin/editor.image.title.description\": \"重ねて生じされるタイトル\",\n \"admin/editor.info-card.callAction.button\": \"ボタン\",\n \"admin/editor.info-card.callAction.link\": \"リンク\",\n \"admin/editor.info-card.callAction.none\": \"なし\",\n \"admin/editor.info-card.callToActionMode.description\": \"行動喚起の表示方法をコントロールします\",\n \"admin/editor.info-card.callToActionMode.title\": \"行動喚起モード\",\n \"admin/editor.info-card.callToActionText.description\": \"行動喚起コンポーネントのテキストが内部に表示されます\",\n \"admin/editor.info-card.callToActionText.title\": \"行動喚起テキスト\",\n \"admin/editor.info-card.callToActionUrl.description\": \"CTA をクリックした時にリダイレクトする URL\",\n \"admin/editor.info-card.callToActionUrl.title\": \"行動喚起 URL\",\n \"admin/editor.info-card.description\": \"表示方法を選ぶことのできる画像とテキストのコンポーネント\",\n \"admin/editor.info-card.headline.description\": \"コンポーネント内の見出しに表示されるテキスト\",\n \"admin/editor.info-card.headline.title\": \"見出し\",\n \"admin/editor.info-card.imageActionUrl.description\": \"URL を渡して画像をリンクに変え、ユーザーをリダイレクトできるようにする\",\n \"admin/editor.info-card.imageActionUrl.title\": \"画像アクション URL\",\n \"admin/editor.info-card.imageUrl.description\": \"デスクトップで使用する画像\",\n \"admin/editor.info-card.imageUrl.title\": \"画像\",\n \"admin/editor.info-card.isFullModeStyle.description\": \"True の場合、提供された画像は背景画像として使用され、テキストはその上に表示されます\",\n \"admin/editor.info-card.isFullModeStyle.title\": \"背景の画像\",\n \"admin/editor.info-card.mobileImageUrl.description\": \"モバイルで使用する画像\",\n \"admin/editor.info-card.mobileImageUrl.title\": \"モバイル画像\",\n \"admin/editor.info-card.subhead.description\": \"コンポーネント内の見出しの下に表示されるテキスト\",\n \"admin/editor.info-card.subhead.title\": \"副見出し\",\n \"admin/editor.info-card.textAlignment.center\": \"中央\",\n \"admin/editor.info-card.textAlignment.description\": \"コンポーネント内の文字揃えをコントロールします\",\n \"admin/editor.info-card.textAlignment.left\": \"左\",\n \"admin/editor.info-card.textAlignment.right\": \"右\",\n \"admin/editor.info-card.textAlignment.title\": \"文字揃え\",\n \"admin/editor.info-card.textPosition.center\": \"中央\",\n \"admin/editor.info-card.textPosition.description\": \"コンポーネントテキストが表示される位置を左、中央、右から選びます。\",\n \"admin/editor.info-card.textPosition.left\": \"左\",\n \"admin/editor.info-card.textPosition.right\": \"右\",\n \"admin/editor.info-card.textPosition.title\": \"テキストの位置\",\n \"admin/editor.info-card.title\": \"情報カード\",\n \"admin/editor.logo.description\": \"ストアロゴを表示するコンポーネント\",\n \"admin/editor.logo.height.description\": \"ロゴのために使う高さ\",\n \"admin/editor.logo.height.title\": \"高\",\n \"admin/editor.logo.href.description\": \"ロゴがクリックされた時にリダイレクトされるリンクです。空欄にした場合、クリックできません。\",\n \"admin/editor.logo.href.title\": \"リダイレクトするリンク\",\n \"admin/editor.logo.mobileHeight.description\": \"モバイルで使う高さです。空欄の場合、所定の高さを使用します。\",\n \"admin/editor.logo.mobileHeight.title\": \"モバイルの高さ\",\n \"admin/editor.logo.mobileWidth.description\": \"モバイルで使う幅です。空欄の場合、所定の幅を使用します。\",\n \"admin/editor.logo.mobileWidth.title\": \"モバイルの幅\",\n \"admin/editor.logo.title\": \"ロゴ\",\n \"admin/editor.logo.title.description\": \"ロゴ画像の代替テキスト\",\n \"admin/editor.logo.title.title\": \"代替テキスト\",\n \"admin/editor.logo.url.description\": \"使用する画像\",\n \"admin/editor.logo.url.title\": \"画像\",\n \"admin/editor.logo.width.description\": \"ロゴのために使う幅\",\n \"admin/editor.logo.width.title\": \"幅\",\n \"admin/editor.newsletter.description\": \"ニュースレターフォーム\",\n \"admin/editor.newsletter.hideLabel\": \"ラベルを非表示にする\",\n \"admin/editor.newsletter.label\": \"コンポーネントに使用されるフォームのラベル\",\n \"admin/editor.newsletter.placeholder\": \"Eメール入力のプレースホルダー\",\n \"admin/editor.newsletter.submit\": \"提出ボタンのラベル\",\n \"admin/editor.newsletter.title\": \"ニュースレター\",\n \"admin/editor.notification-bar.content.description\": \"バーのテキスト\",\n \"admin/editor.notification-bar.content.title\": \"コンテンツ\",\n \"admin/editor.notification-bar.description\": \"バースタイルでテキストを表示するコンポーネント\",\n \"admin/editor.notification-bar.title\": \"通知バー\",\n \"admin/editor.product-description.title\": \"製品説明\",\n \"admin/editor.product-description.title-prop.title\": \"タイトル\",\n \"admin/editor.product-images.bgopacity.title\": \"背景の透明度\",\n \"admin/editor.product-images.description\": \"製品画像コンポーネントにより、製品画像をカスタマイズできます\",\n \"admin/editor.product-images.displayThumbnailsArrows.title\": \"サムネイルに矢印を表示します\",\n \"admin/editor.product-images.gallery\": \"ギャラリー内\",\n \"admin/editor.product-images.horizontal\": \"水平\",\n \"admin/editor.product-images.in-page\": \"ページ内\",\n \"admin/editor.product-images.left\": \"左\",\n \"admin/editor.product-images.no-zoom\": \"ズームなし\",\n \"admin/editor.product-images.position.description\": \"垂直方向の時だけ使用できます\",\n \"admin/editor.product-images.position.title\": \"サムネイルの位置\",\n \"admin/editor.product-images.right\": \"右\",\n \"admin/editor.product-images.thumbnailsOrientation.title\": \"サムネイルの方向\",\n \"admin/editor.product-images.title\": \"製品画像\",\n \"admin/editor.product-images.vertical\": \"垂直\",\n \"admin/editor.product-images.zoomOptions.title\": \"拡大オプション\",\n \"admin/editor.product-images.zoomType.title\": \"拡大タイプ\",\n \"admin/editor.product-specifications.hidden-specifications.description\": \"非表示にしたい仕様の名前を入力する\",\n \"admin/editor.product-specifications.hidden-specifications.title\": \"非表示の仕様\",\n \"admin/editor.product-specifications.items.title\": \"仕様\",\n \"admin/editor.product-specifications.title\": \"製品仕様\",\n \"admin/editor.product-specifications.visible-specifications.description\": \"表示したい仕様の名前を入力します。非表示の仕様または見えている仕様の1つだけを入力してください\",\n \"admin/editor.product-specifications.visible-specifications.title\": \"見えている仕様\",\n \"admin/editor.productName.description\": \"製品名コンポーネント\",\n \"admin/editor.productName.showBrandName.title\": \"ブランド名を表示する\",\n \"admin/editor.productName.showProductReference.title\": \"製品の参照を表示する\",\n \"admin/editor.productName.showSku.title\": \"SKU を表示する\",\n \"admin/editor.productName.title\": \"製品名\",\n \"admin/editor.productPrice.description\": \"製品価格コンポーネント\",\n \"admin/editor.productPrice.labelListPrice\": \"リスト価格ラベル\",\n \"admin/editor.productPrice.labelSellingPrice\": \"販売価格ラベル\",\n \"admin/editor.productPrice.showInstallments\": \"製品の分割払い回数を表示する\",\n \"admin/editor.productPrice.showLabels\": \"製品の価格ラベルを表示する\",\n \"admin/editor.productPrice.showListPrice\": \"製品のリスト価格を表示する\",\n \"admin/editor.productPrice.showListPriceRange\": \"製品のリスト価格範囲を表示する\",\n \"admin/editor.productPrice.showSavings\": \"製品のリスト価格と販売価格の差を表示する\",\n \"admin/editor.productPrice.showSellingPriceRange\": \"製品の販売価格範囲を表示する\",\n \"admin/editor.productPrice.title\": \"製品価格\",\n \"admin/editor.search-bar.placeholder.title\": \"プレースホルダー\",\n \"admin/editor.search-bar.title\": \"検索バー\",\n \"admin/editor.share.description\": \"共有ボタンのリスト\",\n \"admin/editor.share.social.title\": \"ソーシャルネットワーク\",\n \"admin/editor.share.title\": \"共有する\",\n \"admin/editor.skuSelector.description\": \"ユーザーが選べるよう、項目のさまざまなバリエーションを表示するコンポーネント\",\n \"admin/editor.skuSelector.seeMoreLabel.description\": \"詳細を見るボタンのラベルです。文字列は、利用できる適切な残りの項目を表示できるよう {quantity} のプレースホルダーがなければなりません。例: 「さらに {quantity} 個を見る」\",\n \"admin/editor.skuSelector.seeMoreLabel.title\": \"詳細を見るラベル\",\n \"admin/editor.skuSelector.title\": \"SKU セレクタ\"\n}\n```"
}
] |
code_admin-messages_34baf06a
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of admin-messages/messages/it/vtex.store-components@3.x.json from the admin-messages VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"admin/editor.blockClass.description\": \"Aggiunge un nome della classe extra per facilitare lo styling\",\n \"admin/editor.blockClass.title\": \"CSS Classe di Blocco\",\n \"admin/editor.categoriesHighlighted.cardShape\": \"Forma del box\",\n \"admin/editor.categoriesHighlighted.cardShape.rectangular\": \"Rettangolare\",\n \"admin/editor.categoriesHighlighted.cardShape.squared\": \"Quadrato\",\n \"admin/editor.categoriesHighlighted.categoriesHighlighted\": \"Categorie in evidenza\",\n \"admin/editor.categoriesHighlighted.category\": \"Categoria\",\n \"admin/editor.categoriesHighlighted.description\": \"Categorie del Reparto in evidenza\",\n \"admin/editor.categoriesHighlighted.item.categoryImage\": \"Immagine categoria\",\n \"admin/editor.categoriesHighlighted.item.categoryName\": \"Nome categoria\",\n \"admin/editor.categoriesHighlighted.quantityOfItems\": \"Quantità di articoli\",\n \"admin/editor.categoriesHighlighted.showCategoriesHighlighted\": \"Mostra categorie in evidenza\",\n \"admin/editor.categoriesHighlighted.title\": \"Categorie in evidenza\",\n \"admin/editor.image.alt.title\": \"Testo alternativo\",\n \"admin/editor.image.description\": \"Mostra un'immagine\",\n \"admin/editor.image.src.title\": \"Immagine\",\n \"admin/editor.image.title\": \"Immagine\",\n \"admin/editor.image.title.title\": \"Titolo immagine\",\n \"admin/editor.image.title.description\": \"Titolo da mostrare al passaggio del mouse\",\n \"admin/editor.info-card.callAction.button\": \"Pulsante\",\n \"admin/editor.info-card.callAction.link\": \"Link\",\n \"admin/editor.info-card.callAction.none\": \"Nessuno\",\n \"admin/editor.info-card.callToActionMode.description\": \"Controlla come viene visualizzata la tua Call to Action (CTA)\",\n \"admin/editor.info-card.callToActionMode.title\": \"Modalità Call to Action\",\n \"admin/editor.info-card.callToActionText.description\": \"Testo da mostrare all'interno del componente Call to Action\",\n \"admin/editor.info-card.callToActionText.title\": \"Testo Call to Action\",\n \"admin/editor.info-card.callToActionUrl.description\": \"Url di reindirizzamento quando si clicca sulla Call to Action (CTA)\",\n \"admin/editor.info-card.callToActionUrl.title\": \"URL Call to Action\",\n \"admin/editor.info-card.description\": \"Un componente con immagini e testo che ti permette di sceglierne la visualizzazione\",\n \"admin/editor.info-card.headline.description\": \"Testo da visualizzare come titolo all'interno del componente\",\n \"admin/editor.info-card.headline.title\": \"Titolo\",\n \"admin/editor.info-card.imageActionUrl.description\": \"Cambia l'URL per rendere l'immagine un link e per reindirizzare l'utente\",\n \"admin/editor.info-card.imageActionUrl.title\": \"URL per l'azione dell'immagine\",\n \"admin/editor.info-card.imageUrl.description\": \"Immagine da utilizzare su desktop\",\n \"admin/editor.info-card.imageUrl.title\": \"Immagine\",\n \"admin/editor.info-card.isFullModeStyle.description\": \"Se è adeguata, l'immagine fornita verrà utilizzata come immagine di sfondo e il testo verrà visualizzato su di essa\",\n \"admin/editor.info-card.isFullModeStyle.title\": \"Immagine come sfondo\",\n \"admin/editor.info-card.mobileImageUrl.description\": \"Immagine da utilizzare su mobile\",\n \"admin/editor.info-card.mobileImageUrl.title\": \"Immagine su mobile\",\n \"admin/editor.info-card.subhead.description\": \"Testo da visualizzare sotto il titolo all'interno del componente\",\n \"admin/editor.info-card.subhead.title\": \"Sottotitolo\",\n \"admin/editor.info-card.textAlignment.center\": \"Centro\",\n \"admin/editor.info-card.textAlignment.description\": \"Controlla l'allineamento del testo all'interno del componente\",\n \"admin/editor.info-card.textAlignment.left\": \"Sinistra\",\n \"admin/editor.info-card.textAlignment.right\": \"Destra\",\n \"admin/editor.info-card.textAlignment.title\": \"Allineamento del testo\",\n \"admin/editor.info-card.textPosition.center\": \"Centro\",\n \"admin/editor.info-card.textPosition.description\": \"Scegli in quale posizione verrà visualizzato il testo del componente: sinistra, centro o destra\",\n \"admin/editor.info-card.textPosition.left\": \"Sinistra\",\n \"admin/editor.info-card.textPosition.right\": \"Destra\",\n \"admin/editor.info-card.textPosition.title\": \"Posizione del testo\",\n \"admin/editor.info-card.title\": \"InfoCard\",\n \"admin/editor.logo.description\": \"Componente per mostrare il logo del tuo negozio\",\n \"admin/editor.logo.height.description\": \"Altezza da utilizzare per il logo.\",\n \"admin/editor.logo.height.title\": \"Altezza\",\n \"admin/editor.logo.href.description\": \"Link di reindirizzamento quando si fa clic sul logo. Lascialo vuoto per rendere il logo non cliccabile.\",\n \"admin/editor.logo.href.title\": \"Link di reindirizzamento\",\n \"admin/editor.logo.mobileHeight.description\": \"Altezza da utilizzare su mobile. Se il campo viene lasciato vuoto, verrà utilizzato il valore di altezza fornito.\",\n \"admin/editor.logo.mobileHeight.title\": \"Altezza su mobile\",\n \"admin/editor.logo.mobileWidth.description\": \"Larghezza da utilizzare su mobile. Se il campo viene lasciato vuoto, verrà utilizzato il valore di larghezza fornito.\",\n \"admin/editor.logo.mobileWidth.title\": \"Larghezza su mobile\",\n \"admin/editor.logo.title\": \"Logo\",\n \"admin/editor.logo.title.description\": \"Testo alternativo da fornire insieme all'immagine del logo\",\n \"admin/editor.logo.title.title\": \"Testo alternativo\",\n \"admin/editor.logo.url.description\": \"Immagine da utilizzare\",\n \"admin/editor.logo.url.title\": \"Immagine\",\n \"admin/editor.logo.width.description\": \"Larghezza da utilizzare per il logo.\",\n \"admin/editor.logo.width.title\": \"Larghezza\",\n \"admin/editor.newsletter.description\": \"Modulo per la Newsletter\",\n \"admin/editor.newsletter.hideLabel\": \"Nascondi etichetta\",\n \"admin/editor.newsletter.label\": \"Etichetta per il modulo utilizzata dal componente\",\n \"admin/editor.newsletter.placeholder\": \"Placeholder per l'inserimento dell'email\",\n \"admin/editor.newsletter.submit\": \"Etichetta per il pulsante di invio\",\n \"admin/editor.newsletter.title\": \"Newsletter\",\n \"admin/editor.notification-bar.content.description\": \"Testo della barra\",\n \"admin/editor.notification-bar.content.title\": \"Contenuto\",\n \"admin/editor.notification-bar.description\": \"Un componente che mostra i testi sotto forma di barra\",\n \"admin/editor.notification-bar.title\": \"Barra delle notifiche\",\n \"admin/editor.product-description.title\": \"Descrizione prodotto\",\n \"admin/editor.product-description.title-prop.title\": \"Titolo\",\n \"admin/editor.product-images.bgopacity.title\": \"Opacità dello sfondo\",\n \"admin/editor.product-images.description\": \"Il componente per le immagini di prodotto ti consente di personalizzare le immagini dei prodotti\",\n \"admin/editor.product-images.displayThumbnailsArrows.title\": \"Visualizza le frecce nelle anteprime\",\n \"admin/editor.product-images.gallery\": \"Nella Galleria\",\n \"admin/editor.product-images.horizontal\": \"Orizzontale\",\n \"admin/editor.product-images.in-page\": \"Nella pagina\",\n \"admin/editor.product-images.left\": \"Sinistra\",\n \"admin/editor.product-images.no-zoom\": \"No zoom\",\n \"admin/editor.product-images.position.description\": \"Utilizzato solo quando l'orientamento è verticale\",\n \"admin/editor.product-images.position.title\": \"Posizione anteprima\",\n \"admin/editor.product-images.right\": \"Destra\",\n \"admin/editor.product-images.thumbnailsOrientation.title\": \"Orientamento anteprima\",\n \"admin/editor.product-images.title\": \"Immagini di prodotto\",\n \"admin/editor.product-images.vertical\": \"Verticale\",\n \"admin/editor.product-images.zoomOptions.title\": \"Opzioni di zoom\",\n \"admin/editor.product-images.zoomType.title\": \"Tipo di zoom\",\n \"admin/editor.product-specifications.hidden-specifications.description\": \"Digita i nomi delle specifiche che desideri nascondere\",\n \"admin/editor.product-specifications.hidden-specifications.title\": \"Specifiche nascoste\",\n \"admin/editor.product-specifications.items.title\": \"Specifica\",\n \"admin/editor.product-specifications.title\": \"Specifiche di prodotto\",\n \"admin/editor.product-specifications.visible-specifications.description\": \"Digita i nomi delle specifiche che desideri vengano visualizzate. Fornisci solamente una tra le specifiche nascoste o tra quelle visibili\",\n \"admin/editor.product-specifications.visible-specifications.title\": \"Specifiche visibili\",\n \"admin/editor.productName.description\": \"Componente per il nome dei prodotti\",\n \"admin/editor.productName.showBrandName.title\": \"Mostra il nome del brand\",\n \"admin/editor.productName.showProductReference.title\": \"Mostra il riferimento dei prodotti\",\n \"admin/editor.productName.showSku.title\": \"Mostra gli sku\",\n \"admin/editor.productName.title\": \"Nome del prodotto\",\n \"admin/editor.productPrice.description\": \"Componente per il prezzo del prodotto\",\n \"admin/editor.productPrice.labelListPrice\": \"Etichetta del prezzo di listino\",\n \"admin/editor.productPrice.labelSellingPrice\": \"Etichetta del prezzo di vendita\",\n \"admin/editor.productPrice.showInstallments\": \"Mostra le rate di pagamento dei prodotti\",\n \"admin/editor.productPrice.showLabels\": \"Mostra le etichette di prezzo dei prodotti\",\n \"admin/editor.productPrice.showListPrice\": \"Mostra il prezzo di listino dei prodotti\",\n \"admin/editor.productPrice.showListPriceRange\": \"Mostra la gamma dei prezzi di listino dei prodotti\",\n \"admin/editor.productPrice.showSavings\": \"Mostra la differenza tra il prezzo di listino e il prezzo di vendita dei prodotti\",\n \"admin/editor.productPrice.showSellingPriceRange\": \"Mostra la gamma dei prezzi di vendita dei prodotti\",\n \"admin/editor.productPrice.title\": \"Prezzo del prodotto\",\n \"admin/editor.search-bar.placeholder.title\": \"Placeholder\",\n \"admin/editor.search-bar.title\": \"Barra di ricerca\",\n \"admin/editor.share.description\": \"Elenco dei pulsanti di condivisione\",\n \"admin/editor.share.social.title\": \"Social Network\",\n \"admin/editor.share.title\": \"Condividi\",\n \"admin/editor.skuSelector.description\": \"Componente che permette di visualizzare diverse varianti di un articolo tra cui l'utente può scegliere\",\n \"admin/editor.skuSelector.seeMoreLabel.description\": \"Etichetta del pulsante Mostra altro. La stringa deve avere un placeholder {quantity} per mostrare gli articoli rimanenti appropriati che sono disponibili. Esempio: \\\"Mostra altri {quantity}\\\"\",\n \"admin/editor.skuSelector.seeMoreLabel.title\": \"Etichetta Mostra altro\",\n \"admin/editor.skuSelector.title\": \"Selettore di SKU\"\n}\n```"
}
] |
code_admin-messages_6d38adc3
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of admin-messages/messages/ro/vtex.store-components@3.x.json from the admin-messages VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"admin/editor.blockClass.description\": \"Adaugă un nume de clasă extra pentru a ușura stilizarea\",\n \"admin/editor.blockClass.title\": \"Clasa CSS Block\",\n \"admin/editor.categoriesHighlighted.cardShape\": \"Formă de cutie\",\n \"admin/editor.categoriesHighlighted.cardShape.rectangular\": \"Dreptunghiular\",\n \"admin/editor.categoriesHighlighted.cardShape.squared\": \"Pătrat\",\n \"admin/editor.categoriesHighlighted.categoriesHighlighted\": \"Categorii evidențiate\",\n \"admin/editor.categoriesHighlighted.category\": \"Categorie\",\n \"admin/editor.categoriesHighlighted.description\": \"Categoriile evidențiate ale Departamentului\",\n \"admin/editor.categoriesHighlighted.item.categoryImage\": \"Imagine categorie\",\n \"admin/editor.categoriesHighlighted.item.categoryName\": \"Denumire categorie\",\n \"admin/editor.categoriesHighlighted.quantityOfItems\": \"Cantitatea de articole\",\n \"admin/editor.categoriesHighlighted.showCategoriesHighlighted\": \"Arată categoriile evidențiate\",\n \"admin/editor.categoriesHighlighted.title\": \"Categorii evidențiate\",\n \"admin/editor.image.alt.title\": \"Text alternativ\",\n \"admin/editor.image.description\": \"Arată orice imagine\",\n \"admin/editor.image.src.title\": \"Imagine\",\n \"admin/editor.image.title\": \"Imagine\",\n \"admin/editor.image.title.title\": \"Titlu imagine\",\n \"admin/editor.image.title.description\": \"Titlul va fi afișat prin trecere\",\n \"admin/editor.info-card.callAction.button\": \"Buton\",\n \"admin/editor.info-card.callAction.link\": \"Link\",\n \"admin/editor.info-card.callAction.none\": \"Niciunul\",\n \"admin/editor.info-card.callToActionMode.description\": \"Controlează modul în care este afișat apelul la acțiune\",\n \"admin/editor.info-card.callToActionMode.title\": \"Mod Apel la acțiune\",\n \"admin/editor.info-card.callToActionText.description\": \"Text pentru afișarea în interiorul componentei apelului la acțiune\",\n \"admin/editor.info-card.callToActionText.title\": \"Text Apel la acțiune\",\n \"admin/editor.info-card.callToActionUrl.description\": \"Url pentru redirecționare când este apăsat CTA\",\n \"admin/editor.info-card.callToActionUrl.title\": \"URL Apel la acțiune\",\n \"admin/editor.info-card.description\": \"O componentă cu imagine și text pe care poți alege cum să le afișezi\",\n \"admin/editor.info-card.headline.description\": \"Text pentru a fi afișat ca titlu înăuntrul componentei\",\n \"admin/editor.info-card.headline.title\": \"Titlu\",\n \"admin/editor.info-card.imageActionUrl.description\": \"Pune URL pentru a face din imagine un link și pentru a putea redirecționa utilizatorul\",\n \"admin/editor.info-card.imageActionUrl.title\": \"URL acțiune imagine\",\n \"admin/editor.info-card.imageUrl.description\": \"Imagine pentru a fi folosită pe desktop\",\n \"admin/editor.info-card.imageUrl.title\": \"Imagine\",\n \"admin/editor.info-card.isFullModeStyle.description\": \"Dacă este adevărată, imaginea furnizată o să fie folosită ca imagine de fundal, iar textul va fi afișat deasupra\",\n \"admin/editor.info-card.isFullModeStyle.title\": \"Imagine ca fundal\",\n \"admin/editor.info-card.mobileImageUrl.description\": \"Imagine pentru a fi folosită pe mobil\",\n \"admin/editor.info-card.mobileImageUrl.title\": \"Imagine mobil\",\n \"admin/editor.info-card.subhead.description\": \"Text pentru a fi afișat sub titlu înăuntrul componentei\",\n \"admin/editor.info-card.subhead.title\": \"Subtitlu\",\n \"admin/editor.info-card.textAlignment.center\": \"Centru\",\n \"admin/editor.info-card.textAlignment.description\": \"Controlează alinierea textului în interiorul componentei\",\n \"admin/editor.info-card.textAlignment.left\": \"Stânga\",\n \"admin/editor.info-card.textAlignment.right\": \"Dreapta\",\n \"admin/editor.info-card.textAlignment.title\": \"Alinierea textului\",\n \"admin/editor.info-card.textPosition.center\": \"Centru\",\n \"admin/editor.info-card.textPosition.description\": \"Alege în care poziție a componentei va fi textul afișat, stânga, centru sau dreapta\",\n \"admin/editor.info-card.textPosition.left\": \"Stânga\",\n \"admin/editor.info-card.textPosition.right\": \"Dreapta\",\n \"admin/editor.info-card.textPosition.title\": \"Poziție text\",\n \"admin/editor.info-card.title\": \"InfoCard\",\n \"admin/editor.logo.description\": \"Componentă pentru a arăta logo-ul magazinului tău\",\n \"admin/editor.logo.height.description\": \"Înălțime de folosit pentru logo.\",\n \"admin/editor.logo.height.title\": \"Înălțime\",\n \"admin/editor.logo.href.description\": \"Link pentru redirecționare când logo-ul este apăsat. A se lăsa gol dacă nu se poate apăsa.\",\n \"admin/editor.logo.href.title\": \"Link pentru redirecționare\",\n \"admin/editor.logo.mobileHeight.description\": \"Înălțime pentru a fi folosită pe mobil. Dacă este gol, se va folosi valoare de înălțime furnizată.\",\n \"admin/editor.logo.mobileHeight.title\": \"Înălțime mobil\",\n \"admin/editor.logo.mobileWidth.description\": \"Lățime folosită pe mobil. Dacă este gol, se va folosi valoare de lățime asigurată.\",\n \"admin/editor.logo.mobileWidth.title\": \"Lățime mobil\",\n \"admin/editor.logo.title\": \"Logo\",\n \"admin/editor.logo.title.description\": \"Text alternative furnizat la imaginea logo-ului\",\n \"admin/editor.logo.title.title\": \"Text alternativ\",\n \"admin/editor.logo.url.description\": \"Imagine de folosit\",\n \"admin/editor.logo.url.title\": \"Imagine\",\n \"admin/editor.logo.width.description\": \"Lățime de folosit pentru logo.\",\n \"admin/editor.logo.width.title\": \"Lățime\",\n \"admin/editor.newsletter.description\": \"Formular newsletter\",\n \"admin/editor.newsletter.hideLabel\": \"Ascunde eticheta\",\n \"admin/editor.newsletter.label\": \"Eticheta formularului folosit de componentă\",\n \"admin/editor.newsletter.placeholder\": \"Placeholder pentru input-ul de e-mail\",\n \"admin/editor.newsletter.submit\": \"Etichetă pentru butonul de transmitere\",\n \"admin/editor.newsletter.title\": \"Newsletter\",\n \"admin/editor.notification-bar.content.description\": \"Textul barei\",\n \"admin/editor.notification-bar.content.title\": \"Conținut\",\n \"admin/editor.notification-bar.description\": \"O componentă care arată orice text în stil de bară\",\n \"admin/editor.notification-bar.title\": \"Bară de notificări\",\n \"admin/editor.product-description.title\": \"Descrierea produsului\",\n \"admin/editor.product-description.title-prop.title\": \"Titlu\",\n \"admin/editor.product-images.bgopacity.title\": \"Opacitate fundal\",\n \"admin/editor.product-images.description\": \"Componenta de imagini ale produsului îți permite să personalizezi imaginile produsului\",\n \"admin/editor.product-images.displayThumbnailsArrows.title\": \"Afișează săgețile sub formă de miniatură\",\n \"admin/editor.product-images.gallery\": \"În Galerie\",\n \"admin/editor.product-images.horizontal\": \"Orizontal\",\n \"admin/editor.product-images.in-page\": \"În pagină\",\n \"admin/editor.product-images.left\": \"Stânga\",\n \"admin/editor.product-images.no-zoom\": \"Fără zoom\",\n \"admin/editor.product-images.position.description\": \"Folosit doar când orientarea este verticală\",\n \"admin/editor.product-images.position.title\": \"Poziție miniatură\",\n \"admin/editor.product-images.right\": \"Dreapta\",\n \"admin/editor.product-images.thumbnailsOrientation.title\": \"Orientare miniatură\",\n \"admin/editor.product-images.title\": \"Imagini produs\",\n \"admin/editor.product-images.vertical\": \"Vertical\",\n \"admin/editor.product-images.zoomOptions.title\": \"Opțiuni zoom\",\n \"admin/editor.product-images.zoomType.title\": \"Tip zoom\",\n \"admin/editor.product-specifications.hidden-specifications.description\": \"Scrie numele specificaților pe care vrei să le ascunzi\",\n \"admin/editor.product-specifications.hidden-specifications.title\": \"Specificații ascunse\",\n \"admin/editor.product-specifications.items.title\": \"Specificație\",\n \"admin/editor.product-specifications.title\": \"Specificații produs\",\n \"admin/editor.product-specifications.visible-specifications.description\": \"Scrie numele specificațiilor care vrei să apară. Furnizează doar una dintre specificațiile ascunse sau specificațiile vizibile\",\n \"admin/editor.product-specifications.visible-specifications.title\": \"Specificații vizibile\",\n \"admin/editor.productName.description\": \"Componentă denumire produs\",\n \"admin/editor.productName.showBrandName.title\": \"Afișează denumirea mărcii\",\n \"admin/editor.productName.showProductReference.title\": \"Afișează referința produsului\",\n \"admin/editor.productName.showSku.title\": \"Afișează sku\",\n \"admin/editor.productName.title\": \"Denumire produs\",\n \"admin/editor.productPrice.description\": \"Componentă preț produs\",\n \"admin/editor.productPrice.labelListPrice\": \"Etichetă preț de listă\",\n \"admin/editor.productPrice.labelSellingPrice\": \"Etichetă preț de vânzare\",\n \"admin/editor.productPrice.showInstallments\": \"Afișează ratele plății produsului\",\n \"admin/editor.productPrice.showLabels\": \"Afișează etichetele prețurilor produsului\",\n \"admin/editor.productPrice.showListPrice\": \"Afișează prețul de listă al produsului\",\n \"admin/editor.productPrice.showListPriceRange\": \"Afișează intervalul prețurilor de listă ale produsului\",\n \"admin/editor.productPrice.showSavings\": \"Afișează diferența dintre prețul de listă și prețul de vânzare al produsului\",\n \"admin/editor.productPrice.showSellingPriceRange\": \"Afișează intervalul prețurilor de vânzare ale produsului\",\n \"admin/editor.productPrice.title\": \"Prețul produsului\",\n \"admin/editor.search-bar.placeholder.title\": \"Placeholder\",\n \"admin/editor.search-bar.title\": \"Bara de căutare\",\n \"admin/editor.share.description\": \"Lista butoanelor de distribuire\",\n \"admin/editor.share.social.title\": \"Rețele sociale\",\n \"admin/editor.share.title\": \"Distribuie\",\n \"admin/editor.skuSelector.description\": \"Componenta care afișează diferite variațiuni ale unui articol ca utilizatorul să aleagă\",\n \"admin/editor.skuSelector.seeMoreLabel.description\": \"Etichetă pentru vezi mai multe produse. Șirul trebuie să aibă un placeholder de {quantity} pentru a afișa cantitatea adecvată de produse disponibile. Exemplu: „Vezi {quantity} mai multe”\",\n \"admin/editor.skuSelector.seeMoreLabel.title\": \"Vezi mai multe etichete\",\n \"admin/editor.skuSelector.title\": \"Selector SKU\"\n}\n```"
}
] |
code_admin-messages_3d19f9c4
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of admin-messages/messages/pt/vtex.store-components@3.x.json from the admin-messages VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"admin/editor.blockClass.description\": \"Adiciona um nome de classe extra para facilitar a estilização\",\n \"admin/editor.blockClass.title\": \"CSS Block Class\",\n \"admin/editor.categoriesHighlighted.cardShape\": \"Forma da caixa\",\n \"admin/editor.categoriesHighlighted.cardShape.rectangular\": \"Retangular\",\n \"admin/editor.categoriesHighlighted.cardShape.squared\": \"Quadrada\",\n \"admin/editor.categoriesHighlighted.categoriesHighlighted\": \"Categorias em Destaque\",\n \"admin/editor.categoriesHighlighted.category\": \"Categoria\",\n \"admin/editor.categoriesHighlighted.description\": \"Categorias em destaque do Departamento\",\n \"admin/editor.categoriesHighlighted.item.categoryImage\": \"Imagem da Categoria\",\n \"admin/editor.categoriesHighlighted.item.categoryName\": \"Nome da Categoria\",\n \"admin/editor.categoriesHighlighted.quantityOfItems\": \"Quantidade de itens\",\n \"admin/editor.categoriesHighlighted.showCategoriesHighlighted\": \"Mostrar categorias em destaque\",\n \"admin/editor.categoriesHighlighted.title\": \"Categorias em Destaque\",\n \"admin/editor.image.alt.title\": \"Texto alternativo\",\n \"admin/editor.image.description\": \"Exiba qualquer imagem\",\n \"admin/editor.image.src.title\": \"Imagem\",\n \"admin/editor.image.title\": \"Imagem\",\n \"admin/editor.image.title.title\": \"Título da imagem\",\n \"admin/editor.image.title.description\": \"Título a ser mostrado quando você passa o mouse pela imagem\",\n \"admin/editor.info-card.callAction.button\": \"Botão\",\n \"admin/editor.info-card.callAction.link\": \"Link\",\n \"admin/editor.info-card.callAction.none\": \"Nenhum\",\n \"admin/editor.info-card.callToActionMode.description\": \"Controla o modo de exibição do seu componente de call to action\",\n \"admin/editor.info-card.callToActionMode.title\": \"Modo do Call to Action\",\n \"admin/editor.info-card.callToActionText.description\": \"Texto a ser mostrado dentro do componente de call to action\",\n \"admin/editor.info-card.callToActionText.title\": \"Texto do Call to Action\",\n \"admin/editor.info-card.callToActionUrl.description\": \"URL para redirecionamento quando ocorrer o CTA\",\n \"admin/editor.info-card.callToActionUrl.title\": \"URL do Call to Action\",\n \"admin/editor.info-card.description\": \"Um componente com imagem e texto onde você pode escolher como apresentar seu conteúdo\",\n \"admin/editor.info-card.headline.description\": \"Texto apresentado com destaque\",\n \"admin/editor.info-card.headline.title\": \"Título\",\n \"admin/editor.info-card.imageActionUrl.description\": \"Passe a URL para tornar a imagem um link e capaz de redirecionar o usuário\",\n \"admin/editor.info-card.imageActionUrl.title\": \"URL de Ação da Imagem\",\n \"admin/editor.info-card.imageUrl.description\": \"Imagem a user usada em desktops\",\n \"admin/editor.info-card.imageUrl.title\": \"Imagem\",\n \"admin/editor.info-card.isFullModeStyle.description\": \"Se for true, a imagem fornecida será usada como fundo de todo o componente e o texto será apresentado sobre ela\",\n \"admin/editor.info-card.isFullModeStyle.title\": \"Imagem como fundo\",\n \"admin/editor.info-card.mobileImageUrl.description\": \"Imagem a user usada em dispositivos móveis\",\n \"admin/editor.info-card.mobileImageUrl.title\": \"Imagem para mobile\",\n \"admin/editor.info-card.subhead.description\": \"Texto apresentado abaixo do título\",\n \"admin/editor.info-card.subhead.title\": \"Subtítulo\",\n \"admin/editor.info-card.textAlignment.center\": \"Centro\",\n \"admin/editor.info-card.textAlignment.description\": \"Controla o alinhamento dos textos dentro do componente\",\n \"admin/editor.info-card.textAlignment.left\": \"Esquerda\",\n \"admin/editor.info-card.textAlignment.right\": \"Direita\",\n \"admin/editor.info-card.textAlignment.title\": \"Alinhamento do Texto\",\n \"admin/editor.info-card.textPosition.center\": \"Centro\",\n \"admin/editor.info-card.textPosition.description\": \"Escolha em qual posição o texto deve ser apresentado (esquerda, centro ou direita)\",\n \"admin/editor.info-card.textPosition.left\": \"Esquerda\",\n \"admin/editor.info-card.textPosition.right\": \"Direita\",\n \"admin/editor.info-card.textPosition.title\": \"Posição do texto\",\n \"admin/editor.info-card.title\": \"InfoCard\",\n \"admin/editor.logo.description\": \"Componente para mostrar o logotipo da sua loja\",\n \"admin/editor.logo.height.description\": \"Altura a ser usada para o logotipo\",\n \"admin/editor.logo.height.title\": \"Altura\",\n \"admin/editor.logo.href.description\": \"Link a ser redirecionado quando o logotipo é clicado. Deixe em branco para torná-lo não clicável.\",\n \"admin/editor.logo.href.title\": \"Link para redirecionar\",\n \"admin/editor.logo.mobileHeight.description\": \"Altura a ser usada no celular. Se vazia, usará o valor de altura fornecido.\",\n \"admin/editor.logo.mobileHeight.title\": \"Altura do celular\",\n \"admin/editor.logo.mobileWidth.description\": \"Largura a ser usada no celular. Se vazia, usará o valor de largura fornecido.\",\n \"admin/editor.logo.mobileWidth.title\": \"Mobile Width\",\n \"admin/editor.logo.title\": \"Logo\",\n \"admin/editor.logo.title.description\": \"Texto alternativo a ser fornecido à imagem do logotipo\",\n \"admin/editor.logo.title.title\": \"Texto alternativo\",\n \"admin/editor.logo.url.description\": \"Imagem a ser utilizada\",\n \"admin/editor.logo.url.title\": \"Imagem\",\n \"admin/editor.logo.width.description\": \"Largura a ser usada para o logotipo.\",\n \"admin/editor.logo.width.title\": \"Largura\",\n \"admin/editor.newsletter.description\": \"Formulário de Newsletter\",\n \"admin/editor.newsletter.hideLabel\": \"Esconder título\",\n \"admin/editor.newsletter.label\": \"Título do formulário\",\n \"admin/editor.newsletter.placeholder\": \"Placeholder do input de email\",\n \"admin/editor.newsletter.submit\": \"Texto do botão\",\n \"admin/editor.newsletter.title\": \"Newsletter\",\n \"admin/editor.notification-bar.content.description\": \"Texto da barra\",\n \"admin/editor.notification-bar.content.title\": \"Conteúdo\",\n \"admin/editor.notification-bar.description\": \"Um componente que mostra qualquer texto em um estilo de barra\",\n \"admin/editor.notification-bar.title\": \"Notification bar\",\n \"admin/editor.product-description.title\": \"Descrição de produto\",\n \"admin/editor.product-description.title-prop.title\": \"Título\",\n \"admin/editor.product-images.bgopacity.title\": \"Opacidade do fundo\",\n \"admin/editor.product-images.description\": \"Componente que permite personalizar propriedades das imagens do produto\",\n \"admin/editor.product-images.displayThumbnailsArrows.title\": \"Mostrar setas nas miniaturas\",\n \"admin/editor.product-images.gallery\": \"Em galeria\",\n \"admin/editor.product-images.horizontal\": \"Horizontal\",\n \"admin/editor.product-images.in-page\": \"Na página\",\n \"admin/editor.product-images.left\": \"Esquerda\",\n \"admin/editor.product-images.no-zoom\": \"Sem zoom\",\n \"admin/editor.product-images.position.description\": \"Usada apenas quando orientação é vertical\",\n \"admin/editor.product-images.position.title\": \"Posição das Miniaturas\",\n \"admin/editor.product-images.right\": \"Direita\",\n \"admin/editor.product-images.thumbnailsOrientation.title\": \"Orientação das Miniaturas\",\n \"admin/editor.product-images.title\": \"Imagems do produto\",\n \"admin/editor.product-images.vertical\": \"Vertical\",\n \"admin/editor.product-images.zoomOptions.title\": \"Opções de zoom\",\n \"admin/editor.product-images.zoomType.title\": \"Tipo de zoom\",\n \"admin/editor.product-specifications.hidden-specifications.description\": \"Digite os nomes das especificações que você deseja ocultar\",\n \"admin/editor.product-specifications.hidden-specifications.title\": \"Especificações Ocultas\",\n \"admin/editor.product-specifications.items.title\": \"Especificação\",\n \"admin/editor.product-specifications.title\": \"Especificacões de Produto\",\n \"admin/editor.product-specifications.visible-specifications.description\": \"Digite os nomes das especificações que você deseja que apareça. Forneça apenas uma das especificações ocultas ou visíveis\",\n \"admin/editor.product-specifications.visible-specifications.title\": \"Especificações Visíveis\",\n \"admin/editor.productName.description\": \"Componente do nome do produto\",\n \"admin/editor.productName.showBrandName.title\": \"Mostrar a marca\",\n \"admin/editor.productName.showProductReference.title\": \"Mostrar a referência do produto\",\n \"admin/editor.productName.showSku.title\": \"Mostrar o SKU\",\n \"admin/editor.productName.title\": \"Nome do produto\",\n \"admin/editor.productPrice.description\": \"Componente do preço do produto\",\n \"admin/editor.productPrice.labelListPrice\": \"Label do list price\",\n \"admin/editor.productPrice.labelSellingPrice\": \"Label do selling price\",\n \"admin/editor.productPrice.showInstallments\": \"Mostrar opção de parcelamento\",\n \"admin/editor.productPrice.showLabels\": \"Mostrar legendas nos preços\",\n \"admin/editor.productPrice.showListPrice\": \"Mostrar preço de tabela\",\n \"admin/editor.productPrice.showListPriceRange\": \"Mostrar o intervalo de preços de tabela do produto\",\n \"admin/editor.productPrice.showSavings\": \"Mostrar diferença entre o preço tabelado e o de venda\",\n \"admin/editor.productPrice.showSellingPriceRange\": \"Mostrar o intervalo de preços de venda do produto\",\n \"admin/editor.productPrice.title\": \"Preço do produto\",\n \"admin/editor.search-bar.placeholder.title\": \"Texto da busca\",\n \"admin/editor.search-bar.title\": \"Busca\",\n \"admin/editor.share.description\": \"Lista de botões de compartilhamento\",\n \"admin/editor.share.social.title\": \"Redes sociais\",\n \"admin/editor.share.title\": \"Compartilhamento\",\n \"admin/editor.skuSelector.description\": \"Componente que exibe diferentes variações dadas de um produto para o usuário escolher\",\n \"admin/editor.skuSelector.seeMoreLabel.description\": \"Rótulo do botão ver mais. A mensagem deve ter um espaço reservado {quantity} para mostrar os itens restantes apropriados disponíveis. Exemplo: \\\"Ver mais {quantity}\\\"\",\n \"admin/editor.skuSelector.seeMoreLabel.title\": \"Rótulo do botão ver mais\",\n \"admin/editor.skuSelector.title\": \"Seletor de SKU\"\n}\n```"
}
] |
code_admin-messages_d0d25111
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of admin-messages/messages/ar/vtex.store-components@3.x.json from the admin-messages VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"admin/editor.blockClass.description\": \"لإضافة اسم فئة إضافي لتسهيل عملية تسريح الشعر\",\n \"admin/editor.blockClass.title\": \"فئة كتلة CSS\",\n \"admin/editor.categoriesHighlighted.cardShape\": \"شكل العلبة\",\n \"admin/editor.categoriesHighlighted.cardShape.rectangular\": \"مستطيلة\",\n \"admin/editor.categoriesHighlighted.cardShape.squared\": \"مربعة\",\n \"admin/editor.categoriesHighlighted.categoriesHighlighted\": \"الفئات المميزة\",\n \"admin/editor.categoriesHighlighted.category\": \"القسم 2\",\n \"admin/editor.categoriesHighlighted.description\": \"فئات الخدمات التي تم إبرازها\",\n \"admin/editor.categoriesHighlighted.item.categoryImage\": \"صورة الفئة\",\n \"admin/editor.categoriesHighlighted.item.categoryName\": \"اسم الفئة\",\n \"admin/editor.categoriesHighlighted.quantityOfItems\": \"عدد العناصر\",\n \"admin/editor.categoriesHighlighted.showCategoriesHighlighted\": \"عرض الفئات المميزة\",\n \"admin/editor.categoriesHighlighted.title\": \"الفئات المميزة\",\n \"admin/editor.image.alt.title\": \"النص البديل\",\n \"admin/editor.image.description\": \"عرض أي صورة\",\n \"admin/editor.image.src.title\": \"الصورة\",\n \"admin/editor.image.title\": \"الصورة\",\n \"admin/editor.image.title.title\": \"عنوان الصورة\",\n \"admin/editor.image.title.description\": \"العنوان الذي سيتم عرضه عند المرور بالفأررة\",\n \"admin/editor.info-card.callAction.button\": \"الزر\",\n \"admin/editor.info-card.callAction.link\": \"الرابط\",\n \"admin/editor.info-card.callAction.none\": \"لا شيء\",\n \"admin/editor.info-card.callToActionMode.description\": \"للتحكم في كيفية عرض عبارة اتخاذ إجراء\",\n \"admin/editor.info-card.callToActionMode.title\": \"وضع الدعوة إلى العمل\",\n \"admin/editor.info-card.callToActionText.description\": \"نص لإظهاره في مكون الدعوة الداخلية إلى الإجراء\",\n \"admin/editor.info-card.callToActionText.title\": \"نص الدعوة إلى العمل\",\n \"admin/editor.info-card.callToActionUrl.description\": \"عنوان الرابط لإعادة التوجيه إليه عند النقر فوق CTA\",\n \"admin/editor.info-card.callToActionUrl.title\": \"رابط الدعوة إلى العمل\",\n \"admin/editor.info-card.description\": \"مكون يحتوي على صورة ونص يمكنك اختيار كيفية عرضهما\",\n \"admin/editor.info-card.headline.description\": \"النص الذي سيتم عرضه كعنوان رئيسي داخل المكون\",\n \"admin/editor.info-card.headline.title\": \"العنوان الرئيسي\",\n \"admin/editor.info-card.imageActionUrl.description\": \"مرر عنوان الرابط لجعل الصورة رابطًا يمكّن من إعادة توجيه المستخدم\",\n \"admin/editor.info-card.imageActionUrl.title\": \"رابط إجراء الصورة\",\n \"admin/editor.info-card.imageUrl.description\": \"الصورة التي سيتم استخدامها على سطح المكتب\",\n \"admin/editor.info-card.imageUrl.title\": \"الصورة\",\n \"admin/editor.info-card.isFullModeStyle.description\": \"إذا كان صحيحًا، فسيتم استخدام الصورة المقدمة كصورة خلفية وسيتم عرض النص فوقها\",\n \"admin/editor.info-card.isFullModeStyle.title\": \"الصورة كخلفية\",\n \"admin/editor.info-card.mobileImageUrl.description\": \"الصورة التي سيتم استخدامها على الهاتف\",\n \"admin/editor.info-card.mobileImageUrl.title\": \"صورة الهاتف\",\n \"admin/editor.info-card.subhead.description\": \"النص الذي سيتم عرضه كعنوان فرعي داخل المكون\",\n \"admin/editor.info-card.subhead.title\": \"عنوان فرعي\",\n \"admin/editor.info-card.textAlignment.center\": \"الوسط\",\n \"admin/editor.info-card.textAlignment.description\": \"التحكم في توجيه النص داخل المكون\",\n \"admin/editor.info-card.textAlignment.left\": \"اليسار\",\n \"admin/editor.info-card.textAlignment.right\": \"اليمين\",\n \"admin/editor.info-card.textAlignment.title\": \"توجيه النص\",\n \"admin/editor.info-card.textPosition.center\": \"الوسط\",\n \"admin/editor.info-card.textPosition.description\": \"اختر موضع نص المكون الذي سيتم عرضه، يسار أو وسط أو يمين\",\n \"admin/editor.info-card.textPosition.left\": \"اليسار\",\n \"admin/editor.info-card.textPosition.right\": \"اليمين\",\n \"admin/editor.info-card.textPosition.title\": \"موقع النص\",\n \"admin/editor.info-card.title\": \"InfoCard\",\n \"admin/editor.logo.description\": \"مكون لعرضه على شعار متجرك\",\n \"admin/editor.logo.height.description\": \"الارتفاع الذي سيتم استخدامه للشعار.\",\n \"admin/editor.logo.height.title\": \"الإرتفاع\",\n \"admin/editor.logo.href.description\": \"الرابط الذي ستتم إعادة توجيهك إليه عند النقر فوق الشعار. اترك الحقل فارغًا حتى لا يكون قابلاً للنقر.\",\n \"admin/editor.logo.href.title\": \"رابط إعادة التوجيه\",\n \"admin/editor.logo.mobileHeight.description\": \"الطول المستخدم على الهاتف المحمول. إذا كان فارغًا، فسيستخدم قيمة الارتفاع المقدمة.\",\n \"admin/editor.logo.mobileHeight.title\": \"إرتفاع الهاتف\",\n \"admin/editor.logo.mobileWidth.description\": \"العرض المستخدم على الهاتف المحمول. إذا كان فارغًا، فسيستخدم قيمة العرض المقدمة.\",\n \"admin/editor.logo.mobileWidth.title\": \"عرض الهاتف\",\n \"admin/editor.logo.title\": \"الشعار\",\n \"admin/editor.logo.title.description\": \"نص بديل يتم توفيره لصورة الشعار\",\n \"admin/editor.logo.title.title\": \"النص البديل\",\n \"admin/editor.logo.url.description\": \"الصورة التي سيتم استعالها\",\n \"admin/editor.logo.url.title\": \"الصورة\",\n \"admin/editor.logo.width.description\": \"العرض الذي سيتم استخدامه للشعار.\",\n \"admin/editor.logo.width.title\": \"العرض\",\n \"admin/editor.newsletter.description\": \"شكر الرسالة الإخبارية\",\n \"admin/editor.newsletter.hideLabel\": \"إخفاء التسمية\",\n \"admin/editor.newsletter.label\": \"تسمية النموذج المستخدم من قبل المكون\",\n \"admin/editor.newsletter.placeholder\": \"عنصر محجوز لإدخال البريد الإلكتروني\",\n \"admin/editor.newsletter.submit\": \"تسمية زر الإرسال\",\n \"admin/editor.newsletter.title\": \"الرسائل الإخبارية\",\n \"admin/editor.notification-bar.content.description\": \"نص الشريط\",\n \"admin/editor.notification-bar.content.title\": \"المحتوى\",\n \"admin/editor.notification-bar.description\": \"مكون يعرض أي نص بنمط شريط\",\n \"admin/editor.notification-bar.title\": \"شريط الإشعارات\",\n \"admin/editor.product-description.title\": \"وصف المنتج\",\n \"admin/editor.product-description.title-prop.title\": \"العنوان\",\n \"admin/editor.product-images.bgopacity.title\": \"درجة تعتيم الخلفية\",\n \"admin/editor.product-images.description\": \"يسمح لك مكون صور المنتج بتخصيص صور المنتج\",\n \"admin/editor.product-images.displayThumbnailsArrows.title\": \"عرض الأسهم في العروض المصغرة\",\n \"admin/editor.product-images.gallery\": \"في المعرض\",\n \"admin/editor.product-images.horizontal\": \"أفقي\",\n \"admin/editor.product-images.in-page\": \"في الصفحة\",\n \"admin/editor.product-images.left\": \"اليسار\",\n \"admin/editor.product-images.no-zoom\": \"بدون تكبير\",\n \"admin/editor.product-images.position.description\": \"يُستخدم فقط عندما يكون الاتجاه رأسيًا\",\n \"admin/editor.product-images.position.title\": \"موضع الصورة المصغرة\",\n \"admin/editor.product-images.right\": \"اليمين\",\n \"admin/editor.product-images.thumbnailsOrientation.title\": \"توجيه الصور المصغرة\",\n \"admin/editor.product-images.title\": \"صور المنتج\",\n \"admin/editor.product-images.vertical\": \"رأسي\",\n \"admin/editor.product-images.zoomOptions.title\": \"خيارات التكبير\",\n \"admin/editor.product-images.zoomType.title\": \"نوع التكبير\",\n \"admin/editor.product-specifications.hidden-specifications.description\": \"اكتب أسماء المواصفات التي تريد إخفاءها\",\n \"admin/editor.product-specifications.hidden-specifications.title\": \"المواصفات المخفية\",\n \"admin/editor.product-specifications.items.title\": \"المواصفات\",\n \"admin/editor.product-specifications.title\": \"مواصفات المنتج\",\n \"admin/editor.product-specifications.visible-specifications.description\": \"اكتب أسماء المواصفات التي تريد ظهورها. قم بتوفير إحدى المواصفات المخفية أو المواصفات المرئية فقط\",\n \"admin/editor.product-specifications.visible-specifications.title\": \"المواصفات المرئية\",\n \"admin/editor.productName.description\": \"مكون اسم المنتج\",\n \"admin/editor.productName.showBrandName.title\": \"يعرض اسم العلامة التجارية\",\n \"admin/editor.productName.showProductReference.title\": \"يعرض مرجع المنتج\",\n \"admin/editor.productName.showSku.title\": \"يعرض الـ sku\",\n \"admin/editor.productName.title\": \"اسم المنتج\",\n \"admin/editor.productPrice.description\": \"مكون سعر المنتج\",\n \"admin/editor.productPrice.labelListPrice\": \"تسمية لائحة الأسعار\",\n \"admin/editor.productPrice.labelSellingPrice\": \"تسمية أسعار البيع\",\n \"admin/editor.productPrice.showInstallments\": \"عرض أقساط الدفع الخاصة بالمنتج\",\n \"admin/editor.productPrice.showLabels\": \"عرض ملصقات أسعار المنتج\",\n \"admin/editor.productPrice.showListPrice\": \"إظهار سعر قائمة المنتجات\",\n \"admin/editor.productPrice.showListPriceRange\": \"إظهار نطاق قائمة المنتجات\",\n \"admin/editor.productPrice.showSavings\": \"عرض قائمة المنتجات وفرق أسعار البيع\",\n \"admin/editor.productPrice.showSellingPriceRange\": \"إظهار نطاق أسعار بيع المنتج\",\n \"admin/editor.productPrice.title\": \"سعر المنتج\",\n \"admin/editor.search-bar.placeholder.title\": \"مساحة محجوزة\",\n \"admin/editor.search-bar.title\": \"شريط البحث\",\n \"admin/editor.share.description\": \"قائمة أزرار المشاركة\",\n \"admin/editor.share.social.title\": \"مواقع التواصل الإجتماعي\",\n \"admin/editor.share.title\": \"مشاركة\",\n \"admin/editor.skuSelector.description\": \"مكون يعرض متغيرات معينة مختلفة لعنصر من اختيار المستخدم\",\n \"admin/editor.skuSelector.seeMoreLabel.description\": \"تسمية لعرض مزيد من الأزرار. يجب أن تحتوي الخانة على عنصر محجوز {quantity} لإظهار العناصر المتبقية المناسبة المتوفرة. مثال: \\\"عرض {quantity} أخرى\\\"\",\n \"admin/editor.skuSelector.seeMoreLabel.title\": \"عرض المزيد من التسميات\",\n \"admin/editor.skuSelector.title\": \"محدّد SKU\"\n}\n```"
}
] |
code_admin-messages_9213b174
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of admin-messages/messages/nl/vtex.store-components@3.x.json from the admin-messages VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"admin/editor.blockClass.description\": \"Voegt een extra klasse-naam toe om de styling te vergemakkelijken\",\n \"admin/editor.blockClass.title\": \"CSS-blokklasse\",\n \"admin/editor.categoriesHighlighted.cardShape\": \"De vorm van de doos\",\n \"admin/editor.categoriesHighlighted.cardShape.rectangular\": \"Rechthoekig\",\n \"admin/editor.categoriesHighlighted.cardShape.squared\": \"Vierkantig\",\n \"admin/editor.categoriesHighlighted.categoriesHighlighted\": \"Categorieën gemarkeerd\",\n \"admin/editor.categoriesHighlighted.category\": \"Categorie\",\n \"admin/editor.categoriesHighlighted.description\": \"Categorieën gemarkeerd van de afdeling\",\n \"admin/editor.categoriesHighlighted.item.categoryImage\": \"Afbeelding categorie\",\n \"admin/editor.categoriesHighlighted.item.categoryName\": \"Categorienaam\",\n \"admin/editor.categoriesHighlighted.quantityOfItems\": \"Hoeveelheid items\",\n \"admin/editor.categoriesHighlighted.showCategoriesHighlighted\": \"Toon gemarkeerde categorieën\",\n \"admin/editor.categoriesHighlighted.title\": \"Categorieën gemarkeerd\",\n \"admin/editor.image.alt.title\": \"Alternatieve tekst\",\n \"admin/editor.image.description\": \"Toon eender welke afbeelding\",\n \"admin/editor.image.src.title\": \"Afbeelding\",\n \"admin/editor.image.title\": \"Afbeelding\",\n \"admin/editor.image.title.title\": \"Titel van de afbeelding\",\n \"admin/editor.image.title.description\": \"Titel die moet worden weergegeven bij zweven\",\n \"admin/editor.info-card.callAction.button\": \"Knop\",\n \"admin/editor.info-card.callAction.link\": \"Link\",\n \"admin/editor.info-card.callAction.none\": \"Geen\",\n \"admin/editor.info-card.callToActionMode.description\": \"Controleert hoe uw oproep tot actie wordt weergegeven\",\n \"admin/editor.info-card.callToActionMode.title\": \"Oproep tot actiemodus\",\n \"admin/editor.info-card.callToActionText.description\": \"Tekst die in de oproep tot actie-component moet worden weergegeven\",\n \"admin/editor.info-card.callToActionText.title\": \"Oproep tot actie-tekst\",\n \"admin/editor.info-card.callToActionUrl.description\": \"Url om door te sturen naar wanneer CTA is geklikt\",\n \"admin/editor.info-card.callToActionUrl.title\": \"Oproep tot actie-URL\",\n \"admin/editor.info-card.description\": \"Een component met afbeelding en tekst die u kunt kiezen hoe u deze weergeeft\",\n \"admin/editor.info-card.headline.description\": \"Tekst die moet worden weergegeven als een kop binnenin component\",\n \"admin/editor.info-card.headline.title\": \"Headline\",\n \"admin/editor.info-card.imageActionUrl.description\": \"Geef de URL door om van de afbeelding een link te maken en de gebruiker om te leiden\",\n \"admin/editor.info-card.imageActionUrl.title\": \"Afbeelding actie-URL\",\n \"admin/editor.info-card.imageUrl.description\": \"Afbeelding om op desktop te gebruiken\",\n \"admin/editor.info-card.imageUrl.title\": \"Afbeelding\",\n \"admin/editor.info-card.isFullModeStyle.description\": \"Indien waar, zal de verstrekte afbeelding worden gebruikt als achtergrondafbeelding en zal er tekst overheen worden weergegeven\",\n \"admin/editor.info-card.isFullModeStyle.title\": \"Afbeelding als achtergrond\",\n \"admin/editor.info-card.mobileImageUrl.description\": \"Afbeelding voor mobiel gebruik\",\n \"admin/editor.info-card.mobileImageUrl.title\": \"Mobiele afbeelding\",\n \"admin/editor.info-card.subhead.description\": \"Tekst die moet worden weergegeven onder de kop binnenin component\",\n \"admin/editor.info-card.subhead.title\": \"Subkop\",\n \"admin/editor.info-card.textAlignment.center\": \"Midden\",\n \"admin/editor.info-card.textAlignment.description\": \"Regel de tekstuitlijning binnen het onderdeel\",\n \"admin/editor.info-card.textAlignment.left\": \"Links\",\n \"admin/editor.info-card.textAlignment.right\": \"Rechts\",\n \"admin/editor.info-card.textAlignment.title\": \"Tekstuitlijning\",\n \"admin/editor.info-card.textPosition.center\": \"Midden\",\n \"admin/editor.info-card.textPosition.description\": \"Kies in welke positie de componenttekst wordt weergegeven, links, in het midden of rechts\",\n \"admin/editor.info-card.textPosition.left\": \"Links\",\n \"admin/editor.info-card.textPosition.right\": \"Rechts\",\n \"admin/editor.info-card.textPosition.title\": \"Tekstpositie\",\n \"admin/editor.info-card.title\": \"InfoCard\",\n \"admin/editor.logo.description\": \"Onderdeel om uw winkellogo te tonen\",\n \"admin/editor.logo.height.description\": \"Hoogte te gebruiken voor het logo.\",\n \"admin/editor.logo.height.title\": \"Hoogte\",\n \"admin/editor.logo.href.description\": \"Link die moet worden doorgestuurd wanneer op het logo wordt geklikt. Laat leeg om het niet aanklikbaar te maken.\",\n \"admin/editor.logo.href.title\": \"Link naar omleiding\",\n \"admin/editor.logo.mobileHeight.description\": \"Hoogte voor mobiel gebruik. Indien leeg, zal gebruik maken van de meegeleverde hoogtewaarde.\",\n \"admin/editor.logo.mobileHeight.title\": \"Mobiele hoogte\",\n \"admin/editor.logo.mobileWidth.description\": \"Breedte te gebruiken op mobiel. Indien leeg, zal de verstrekte breedtewaarde worden gebruikt.\",\n \"admin/editor.logo.mobileWidth.title\": \"Mobiele breedte\",\n \"admin/editor.logo.title\": \"Logo\",\n \"admin/editor.logo.title.description\": \"Alternatieve tekst voor de afbeelding van het logo\",\n \"admin/editor.logo.title.title\": \"Alternatieve tekst\",\n \"admin/editor.logo.url.description\": \"Te gebruiken afbeelding\",\n \"admin/editor.logo.url.title\": \"Afbeelding\",\n \"admin/editor.logo.width.description\": \"Breedte te gebruiken voor het logo.\",\n \"admin/editor.logo.width.title\": \"Breedte\",\n \"admin/editor.newsletter.description\": \"Nieuwsbriefformulier\",\n \"admin/editor.newsletter.hideLabel\": \"Verberg label\",\n \"admin/editor.newsletter.label\": \"Label van de door het onderdeel gebruikte vorm\",\n \"admin/editor.newsletter.placeholder\": \"Plaatshouder van de e-mailinvoer\",\n \"admin/editor.newsletter.submit\": \"Label van de verzendknop\",\n \"admin/editor.newsletter.title\": \"Newsletter\",\n \"admin/editor.notification-bar.content.description\": \"Tekst van de balk\",\n \"admin/editor.notification-bar.content.title\": \"Inhoud\",\n \"admin/editor.notification-bar.description\": \"Een onderdeel dat elke tekst in een staafstijl laat zien\",\n \"admin/editor.notification-bar.title\": \"Notificatiebalk\",\n \"admin/editor.product-description.title\": \"Productbeschrijving\",\n \"admin/editor.product-description.title-prop.title\": \"Titel\",\n \"admin/editor.product-images.bgopacity.title\": \"Achtergrondopaciteit\",\n \"admin/editor.product-images.description\": \"Met de component productafbeeldingen kunt u de productafbeeldingen aanpassen\",\n \"admin/editor.product-images.displayThumbnailsArrows.title\": \"Weergavepijlen in miniaturen\",\n \"admin/editor.product-images.gallery\": \"In gallerij\",\n \"admin/editor.product-images.horizontal\": \"Horizontaal\",\n \"admin/editor.product-images.in-page\": \"In pagina\",\n \"admin/editor.product-images.left\": \"Links\",\n \"admin/editor.product-images.no-zoom\": \"Geen zoom\",\n \"admin/editor.product-images.position.description\": \"Alleen gebruikt wanneer de oriëntatie verticaal is\",\n \"admin/editor.product-images.position.title\": \"Miniatuurpositie\",\n \"admin/editor.product-images.right\": \"Rechts\",\n \"admin/editor.product-images.thumbnailsOrientation.title\": \"Miniatuuroriëntatie\",\n \"admin/editor.product-images.title\": \"Productafbeeldingen\",\n \"admin/editor.product-images.vertical\": \"Verticaal\",\n \"admin/editor.product-images.zoomOptions.title\": \"Zoomopties\",\n \"admin/editor.product-images.zoomType.title\": \"Zoomtype\",\n \"admin/editor.product-specifications.hidden-specifications.description\": \"Typenamen van specificaties die u wilt verbergen\",\n \"admin/editor.product-specifications.hidden-specifications.title\": \"Verborgen specificaties\",\n \"admin/editor.product-specifications.items.title\": \"Specificatie\",\n \"admin/editor.product-specifications.title\": \"Productspecificaties\",\n \"admin/editor.product-specifications.visible-specifications.description\": \"Typenamen van specificaties die u wilt laten verschijnen. Geef slechts één van de verborgen specificaties of zichtbare specificaties op\",\n \"admin/editor.product-specifications.visible-specifications.title\": \"Zichtbare specificaties\",\n \"admin/editor.productName.description\": \"Productnaam component\",\n \"admin/editor.productName.showBrandName.title\": \"Toont de merknaam\",\n \"admin/editor.productName.showProductReference.title\": \"Toont de productreferentie\",\n \"admin/editor.productName.showSku.title\": \"Toont de sku\",\n \"admin/editor.productName.title\": \"Productnaam\",\n \"admin/editor.productPrice.description\": \"Productprijs component\",\n \"admin/editor.productPrice.labelListPrice\": \"Label prijslijst\",\n \"admin/editor.productPrice.labelSellingPrice\": \"Label verkoopprijs\",\n \"admin/editor.productPrice.showInstallments\": \"Toon de betalingstermijnen van het product\",\n \"admin/editor.productPrice.showLabels\": \"Toon de prijslabels van de producten\",\n \"admin/editor.productPrice.showListPrice\": \"Toon de catalogusprijs van het product\",\n \"admin/editor.productPrice.showListPriceRange\": \"Toon de prijslijst van de producten\",\n \"admin/editor.productPrice.showSavings\": \"Toon productlijst en verschil in verkoopprijs\",\n \"admin/editor.productPrice.showSellingPriceRange\": \"Toon de verkoopprijzen van het product\",\n \"admin/editor.productPrice.title\": \"Productprijs\",\n \"admin/editor.search-bar.placeholder.title\": \"Plaatsaanduiding\",\n \"admin/editor.search-bar.title\": \"Zoekbalk\",\n \"admin/editor.share.description\": \"Lijst met deelknoppen\",\n \"admin/editor.share.social.title\": \"Sociale netwerken\",\n \"admin/editor.share.title\": \"Deel\",\n \"admin/editor.skuSelector.description\": \"Component die verschillende gegeven variaties van een item weergeeft, zodat de gebruiker kan kiezen\",\n \"admin/editor.skuSelector.seeMoreLabel.description\": \"Label van zie meer knop. De string moet een {quantity} plaatshouder hebben om de juiste resterende items te tonen. Voorbeeld: \\\"Zie {quantity} meer\\\"\",\n \"admin/editor.skuSelector.seeMoreLabel.title\": \"Zie meer label\",\n \"admin/editor.skuSelector.title\": \"SKU-selector\"\n}\n```"
}
] |
code_admin-messages_d703511c
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of admin-messages/messages/bg/vtex.store-components@3.x.json from the admin-messages VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"admin/editor.blockClass.description\": \"Добавя допълнително име на клас, за да улесни стилизирането\",\n \"admin/editor.blockClass.title\": \"Клас на CSS блокиране\",\n \"admin/editor.categoriesHighlighted.cardShape\": \"Форма на кутията\",\n \"admin/editor.categoriesHighlighted.cardShape.rectangular\": \"Правоъгълна\",\n \"admin/editor.categoriesHighlighted.cardShape.squared\": \"Квадратна\",\n \"admin/editor.categoriesHighlighted.categoriesHighlighted\": \"Маркирани категории\",\n \"admin/editor.categoriesHighlighted.category\": \"Категория\",\n \"admin/editor.categoriesHighlighted.description\": \"Маркирани категории на отдела\",\n \"admin/editor.categoriesHighlighted.item.categoryImage\": \"Изображение от категорията\",\n \"admin/editor.categoriesHighlighted.item.categoryName\": \"Име на категорията\",\n \"admin/editor.categoriesHighlighted.quantityOfItems\": \"Количество артикули\",\n \"admin/editor.categoriesHighlighted.showCategoriesHighlighted\": \"Показване на категориите маркирани\",\n \"admin/editor.categoriesHighlighted.title\": \"Маркирани категории\",\n \"admin/editor.image.alt.title\": \"Алтернативен текст\",\n \"admin/editor.image.description\": \"Показване на което и да било изображение\",\n \"admin/editor.image.src.title\": \"Изображение\",\n \"admin/editor.image.title\": \"Изображение\",\n \"admin/editor.image.title.title\": \"Заглавие на изображението\",\n \"admin/editor.image.title.description\": \"Заглавието, което се показва при задържане на мишката\",\n \"admin/editor.info-card.callAction.button\": \"Бутон\",\n \"admin/editor.info-card.callAction.link\": \"Връзка\",\n \"admin/editor.info-card.callAction.none\": \"Няма\",\n \"admin/editor.info-card.callToActionMode.description\": \"Контролира как се показва призивът ви към действие\",\n \"admin/editor.info-card.callToActionMode.title\": \"Режим на призив към действие\",\n \"admin/editor.info-card.callToActionText.description\": \"Текст за показване на вътрешен компонент на призив към действие\",\n \"admin/editor.info-card.callToActionText.title\": \"Текст на призива към действие\",\n \"admin/editor.info-card.callToActionUrl.description\": \"URL адрес, към който да бъдете изпратени при кликване върху CTA\",\n \"admin/editor.info-card.callToActionUrl.title\": \"URL адрес за призив към действие\",\n \"admin/editor.info-card.description\": \"Компонент с изображение и текст, които можете да изберете как да се показват\",\n \"admin/editor.info-card.headline.description\": \"Текст, който се показва като заглавие в компонента\",\n \"admin/editor.info-card.headline.title\": \"Заглавие\",\n \"admin/editor.info-card.imageActionUrl.description\": \"Задайте URL, за да превърнете изображението в линк и да можете да пренасочвате потребителя\",\n \"admin/editor.info-card.imageActionUrl.title\": \"URL за действие през изображението\",\n \"admin/editor.info-card.imageUrl.description\": \"Изображение, което да се използва на настолен компютър\",\n \"admin/editor.info-card.imageUrl.title\": \"Изображение\",\n \"admin/editor.info-card.isFullModeStyle.description\": \"Ако е вярно, предоставеното изображение ще се използва като фоново изображение и върху него ще се показва текстът\",\n \"admin/editor.info-card.isFullModeStyle.title\": \"Изображението като фон\",\n \"admin/editor.info-card.mobileImageUrl.description\": \"Изображение, което да се използва на мобилно устройство\",\n \"admin/editor.info-card.mobileImageUrl.title\": \"Изображение за мобилно устройство\",\n \"admin/editor.info-card.subhead.description\": \"Текст, който да се показва под заглавието в компонента\",\n \"admin/editor.info-card.subhead.title\": \"Подзаглавие\",\n \"admin/editor.info-card.textAlignment.center\": \"Центрирано\",\n \"admin/editor.info-card.textAlignment.description\": \"Контролира подравняването на текста в компонента\",\n \"admin/editor.info-card.textAlignment.left\": \"Ляво\",\n \"admin/editor.info-card.textAlignment.right\": \"Дясно\",\n \"admin/editor.info-card.textAlignment.title\": \"Подравняване на текста\",\n \"admin/editor.info-card.textPosition.center\": \"Центрирано\",\n \"admin/editor.info-card.textPosition.description\": \"Изберете в коя позиция на компонента ще се показва текстът – ляво, центрирано или дясно\",\n \"admin/editor.info-card.textPosition.left\": \"Ляво\",\n \"admin/editor.info-card.textPosition.right\": \"Дясно\",\n \"admin/editor.info-card.textPosition.title\": \"Позиция на текста\",\n \"admin/editor.info-card.title\": \"InfoCard\",\n \"admin/editor.logo.description\": \"Компонент, който показва логото на магазина ви\",\n \"admin/editor.logo.height.description\": \"Височината, която да се използва за логото.\",\n \"admin/editor.logo.height.title\": \"Височина\",\n \"admin/editor.logo.href.description\": \"Линк за пренасочване при кликване върху логото. Оставете празно, ако искате да няма хипервръзка.\",\n \"admin/editor.logo.href.title\": \"Линк за пренасочване\",\n \"admin/editor.logo.mobileHeight.description\": \"Височина за използване на мобилно устройство. Ако е празно, ще се използва предоставената стойност за височината.\",\n \"admin/editor.logo.mobileHeight.title\": \"Височина за мобилното устройство\",\n \"admin/editor.logo.mobileWidth.description\": \"Широчина за използване на мобилно устройство. Ако е празно, ще се използва предоставената стойност за широчина.\",\n \"admin/editor.logo.mobileWidth.title\": \"Широчина за мобилно устройство\",\n \"admin/editor.logo.title\": \"Лого\",\n \"admin/editor.logo.title.description\": \"Алтернативен текст, предоставян с изображението на логото\",\n \"admin/editor.logo.title.title\": \"Алтернативен текст\",\n \"admin/editor.logo.url.description\": \"Изображение, което да се използва\",\n \"admin/editor.logo.url.title\": \"Изображение\",\n \"admin/editor.logo.width.description\": \"Широчината, която да се използва за логото.\",\n \"admin/editor.logo.width.title\": \"Широчина\",\n \"admin/editor.newsletter.description\": \"Бюлетин от\",\n \"admin/editor.newsletter.hideLabel\": \"Скриване на етикет\",\n \"admin/editor.newsletter.label\": \"Етикет на формата, използвана от компонента\",\n \"admin/editor.newsletter.placeholder\": \"Параметър за попълване за въвеждане на имейл\",\n \"admin/editor.newsletter.submit\": \"Етикет на бутона за подаване\",\n \"admin/editor.newsletter.title\": \"Бюлетин\",\n \"admin/editor.notification-bar.content.description\": \"Текст на лентата\",\n \"admin/editor.notification-bar.content.title\": \"Съдържание\",\n \"admin/editor.notification-bar.description\": \"Компонент, който показва текст в лентов стил\",\n \"admin/editor.notification-bar.title\": \"Лента за известия\",\n \"admin/editor.product-description.title\": \"Описание на продукта\",\n \"admin/editor.product-description.title-prop.title\": \"Заглавие\",\n \"admin/editor.product-images.bgopacity.title\": \"Прозрачност на фона\",\n \"admin/editor.product-images.description\": \"Компонента с изображения на продукта ви позволява да персонализирате изображенията на продукта\",\n \"admin/editor.product-images.displayThumbnailsArrows.title\": \"Показване на стрелки в миниатюри\",\n \"admin/editor.product-images.gallery\": \"В галерия\",\n \"admin/editor.product-images.horizontal\": \"Хоризонтално\",\n \"admin/editor.product-images.in-page\": \"На страницата\",\n \"admin/editor.product-images.left\": \"Ляво\",\n \"admin/editor.product-images.no-zoom\": \"Без увеличение\",\n \"admin/editor.product-images.position.description\": \"Използва се само когато ориентацията е вертикална\",\n \"admin/editor.product-images.position.title\": \"Позиция на миниатюрата\",\n \"admin/editor.product-images.right\": \"Дясно\",\n \"admin/editor.product-images.thumbnailsOrientation.title\": \"Ориентация на миниатюрите\",\n \"admin/editor.product-images.title\": \"Изображения на продукта\",\n \"admin/editor.product-images.vertical\": \"Вертикално\",\n \"admin/editor.product-images.zoomOptions.title\": \"Опции на увеличение\",\n \"admin/editor.product-images.zoomType.title\": \"Тип увеличение\",\n \"admin/editor.product-specifications.hidden-specifications.description\": \"Напишете имената на спецификациите, които искате да скриете\",\n \"admin/editor.product-specifications.hidden-specifications.title\": \"Скрити спецификации\",\n \"admin/editor.product-specifications.items.title\": \"Спецификация\",\n \"admin/editor.product-specifications.title\": \"Спецификации на продукт\",\n \"admin/editor.product-specifications.visible-specifications.description\": \"Напишете имената на спецификациите, които искате да се появят. Напишете само една от скритите спецификации или видимите спецификации\",\n \"admin/editor.product-specifications.visible-specifications.title\": \"Видими спецификации\",\n \"admin/editor.productName.description\": \"Компонент с име на продукта\",\n \"admin/editor.productName.showBrandName.title\": \"Показва името на бранда\",\n \"admin/editor.productName.showProductReference.title\": \"Показва референтния номер на продукта\",\n \"admin/editor.productName.showSku.title\": \"Показва ИЕ\",\n \"admin/editor.productName.title\": \"Име на продукта\",\n \"admin/editor.productPrice.description\": \"Компонент с цена на продукта\",\n \"admin/editor.productPrice.labelListPrice\": \"Етикет за каталожна цена\",\n \"admin/editor.productPrice.labelSellingPrice\": \"Етикет с продажна цена\",\n \"admin/editor.productPrice.showInstallments\": \"Показване на вноските за плащане на продукта\",\n \"admin/editor.productPrice.showLabels\": \"Показване на етикетите с цените за продукта\",\n \"admin/editor.productPrice.showListPrice\": \"Показване на каталожната цена на продукта\",\n \"admin/editor.productPrice.showListPriceRange\": \"Показване на диапазона на каталожните цени на продуктите\",\n \"admin/editor.productPrice.showSavings\": \"Показване на разликата между каталожните цени и продажните цени на продуктите\",\n \"admin/editor.productPrice.showSellingPriceRange\": \"Показване на диапазона на продажните цени на продуктите\",\n \"admin/editor.productPrice.title\": \"Цена на продукта\",\n \"admin/editor.search-bar.placeholder.title\": \"Параметър за попълване\",\n \"admin/editor.search-bar.title\": \"Лента за търсене\",\n \"admin/editor.share.description\": \"Списък с бутони за споделяне\",\n \"admin/editor.share.social.title\": \"Социални мрежи\",\n \"admin/editor.share.title\": \"Споделяне\",\n \"admin/editor.skuSelector.description\": \"Компонент, който показва различни посочени вариации на артикул, от които потребителят да избере\",\n \"admin/editor.skuSelector.seeMoreLabel.description\": \"Етикет за бутон за повече информация. Низът трябва да има параметър за попълване за {quantity}, който да показва подходящите оставащи налични артикули. Пример: \\\"Вижте още {quantity}\\\"\",\n \"admin/editor.skuSelector.seeMoreLabel.title\": \"Етикет за повече информация\",\n \"admin/editor.skuSelector.title\": \"Селектор на ИЕ\"\n}\n```"
}
] |
code_admin-messages_87c48f3f
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of admin-messages/messages/ko/vtex.admin-cms@0.x.json from the admin-messages VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"Author\": \"작성자\",\n \"Draft\": \"초안\",\n \"Live\": \"라이브\",\n \"Name\": \"이름\",\n \"Type\": \"유형\",\n \"High\": \"높음\",\n \"Low\": \"낮음\",\n \"Medium\": \"중간\",\n \"of\": \"/\",\n \"Search\": \"검색\",\n \"Content\": \"콘텐츠\",\n \"Hide all\": \"모두 숨기기\",\n \"Show all\": \"모두 표시\",\n \"Line density\": \"선 밀도\",\n \"Show rows\": \"행 표시\",\n \"Last update\": \"마지막 업데이트\",\n \"Toggle visible fields\": \"표시된 필드 표시/숨기기\"\n}\n\n```"
}
] |
code_admin-messages_1c6ee3f3
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of admin-messages/messages/ko/vtex.store-components@3.x.json from the admin-messages VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"admin/editor.blockClass.description\": \"손쉬운 스타일링을 위해 클래스 이름 추가\",\n \"admin/editor.blockClass.title\": \"CSS Block Class\",\n \"admin/editor.categoriesHighlighted.cardShape\": \"상자 모양\",\n \"admin/editor.categoriesHighlighted.cardShape.rectangular\": \"직사각형\",\n \"admin/editor.categoriesHighlighted.cardShape.squared\": \"사각형\",\n \"admin/editor.categoriesHighlighted.categoriesHighlighted\": \"강조된 카테고리\",\n \"admin/editor.categoriesHighlighted.category\": \"카테고리\",\n \"admin/editor.categoriesHighlighted.description\": \"부문이 강조 표시된 카테고리\",\n \"admin/editor.categoriesHighlighted.item.categoryImage\": \"카테고리 이미지\",\n \"admin/editor.categoriesHighlighted.item.categoryName\": \"카테고리 이름\",\n \"admin/editor.categoriesHighlighted.quantityOfItems\": \"품목 수량\",\n \"admin/editor.categoriesHighlighted.showCategoriesHighlighted\": \"강조된 카테고리 표시\",\n \"admin/editor.categoriesHighlighted.title\": \"강조된 카테고리\",\n \"admin/editor.image.alt.title\": \"대체 텍스트\",\n \"admin/editor.image.description\": \"이미지 표시\",\n \"admin/editor.image.src.title\": \"이미지\",\n \"admin/editor.image.title\": \"이미지\",\n \"admin/editor.image.title.title\": \"이미지 제목\",\n \"admin/editor.image.title.description\": \"가리키면 표시할 제목\",\n \"admin/editor.info-card.callAction.button\": \"버튼\",\n \"admin/editor.info-card.callAction.link\": \"링크\",\n \"admin/editor.info-card.callAction.none\": \"없음\",\n \"admin/editor.info-card.callToActionMode.description\": \"콜 투 액션 디스플레이 조절\",\n \"admin/editor.info-card.callToActionMode.title\": \"콜 투 액션 모드\",\n \"admin/editor.info-card.callToActionText.description\": \"콜 투 액션 요소 안에 표시할 텍스트\",\n \"admin/editor.info-card.callToActionText.title\": \"콜 투 액션 텍스트\",\n \"admin/editor.info-card.callToActionUrl.description\": \"콜 투 액션(CTA)을 클릭할 때 이동할 URL\",\n \"admin/editor.info-card.callToActionUrl.title\": \"콜 투 액션 URL\",\n \"admin/editor.info-card.description\": \"이미지 및 텍스트를 표시하는 방법을 선택할 수 있는 구성 요소\",\n \"admin/editor.info-card.headline.description\": \"구성 요소 내부의 헤드라인으로 표시할 텍스트\",\n \"admin/editor.info-card.headline.title\": \"헤드라인\",\n \"admin/editor.info-card.imageActionUrl.description\": \"URL을 전달하여 이미지를 링크하고 사용자를 리디렉션할 수 있습니다\",\n \"admin/editor.info-card.imageActionUrl.title\": \"이미지 액션 URL\",\n \"admin/editor.info-card.imageUrl.description\": \"데스크톱에서 사용할 이미지\",\n \"admin/editor.info-card.imageUrl.title\": \"이미지\",\n \"admin/editor.info-card.isFullModeStyle.description\": \"참일 경우 제공된 이미지가 배경 이미지로 사용되고 그 위에 텍스트가 표시됩니다.\",\n \"admin/editor.info-card.isFullModeStyle.title\": \"배경 이미지\",\n \"admin/editor.info-card.mobileImageUrl.description\": \"모바일에서 사용할 이미지\",\n \"admin/editor.info-card.mobileImageUrl.title\": \"모바일 이미지\",\n \"admin/editor.info-card.subhead.description\": \"구성 요소 내부의 헤드라인 아래에 표시할 텍스트\",\n \"admin/editor.info-card.subhead.title\": \"부제목\",\n \"admin/editor.info-card.textAlignment.center\": \"가운데\",\n \"admin/editor.info-card.textAlignment.description\": \"구성 요소 내부의 텍스트 정렬 제어\",\n \"admin/editor.info-card.textAlignment.left\": \"왼쪽\",\n \"admin/editor.info-card.textAlignment.right\": \"오른쪽\",\n \"admin/editor.info-card.textAlignment.title\": \"텍스트 정렬\",\n \"admin/editor.info-card.textPosition.center\": \"가운데\",\n \"admin/editor.info-card.textPosition.description\": \"왼쪽, 가운데 또는 오른쪽에 표시될 구성요소 텍스트의 위치 선택\",\n \"admin/editor.info-card.textPosition.left\": \"왼쪽\",\n \"admin/editor.info-card.textPosition.right\": \"오른쪽\",\n \"admin/editor.info-card.textPosition.title\": \"텍스트 위치\",\n \"admin/editor.info-card.title\": \"인포카드\",\n \"admin/editor.logo.description\": \"스토어 로고를 표시하는 구성 요소\",\n \"admin/editor.logo.height.description\": \"로고에 사용할 높이.\",\n \"admin/editor.logo.height.title\": \"높이\",\n \"admin/editor.logo.href.description\": \"로고를 클릭할 때 이동할 링크입니다. 클릭할 수 없도록 하려면 비워 두세요.\",\n \"admin/editor.logo.href.title\": \"이동할 링크\",\n \"admin/editor.logo.mobileHeight.description\": \"모바일에서 사용할 높이입니다. 비어 있으면 제공된 높이 값을 사용합니다.\",\n \"admin/editor.logo.mobileHeight.title\": \"모바일 높이\",\n \"admin/editor.logo.mobileWidth.description\": \"모바일에서 사용할 너비입니다. 비어 있으면 제공된 너비 값을 사용합니다.\",\n \"admin/editor.logo.mobileWidth.title\": \"모바일 너비\",\n \"admin/editor.logo.title\": \"로고\",\n \"admin/editor.logo.title.description\": \"로고 이미지에 제공할 대체 텍스트\",\n \"admin/editor.logo.title.title\": \"대체 텍스트\",\n \"admin/editor.logo.url.description\": \"사용할 이미지\",\n \"admin/editor.logo.url.title\": \"이미지\",\n \"admin/editor.logo.width.description\": \"로고에 사용할 너비.\",\n \"admin/editor.logo.width.title\": \"너비\",\n \"admin/editor.newsletter.description\": \"뉴스레터 양식\",\n \"admin/editor.newsletter.hideLabel\": \"라벨 숨기기\",\n \"admin/editor.newsletter.label\": \"구성 요소에서 사용하는 양식의 라벨\",\n \"admin/editor.newsletter.placeholder\": \"이메일 입력의 플레이스홀더\",\n \"admin/editor.newsletter.submit\": \"제출 단추의 라벨\",\n \"admin/editor.newsletter.title\": \"뉴스레터\",\n \"admin/editor.notification-bar.content.description\": \"바의 텍스트\",\n \"admin/editor.notification-bar.content.title\": \"내용\",\n \"admin/editor.notification-bar.description\": \"바 스타일로 텍스트를 표시하는 구성 요소\",\n \"admin/editor.notification-bar.title\": \"알림 표시줄\",\n \"admin/editor.product-description.title\": \"제품 설명\",\n \"admin/editor.product-description.title-prop.title\": \"제목\",\n \"admin/editor.product-images.bgopacity.title\": \"배경 불투명도\",\n \"admin/editor.product-images.description\": \"제품 이미지 요소로 제품 이미지를 원하는 대로 바꿀 수 있습니다\",\n \"admin/editor.product-images.displayThumbnailsArrows.title\": \"섬네일에 화살표 표시\",\n \"admin/editor.product-images.gallery\": \"갤러리 안\",\n \"admin/editor.product-images.horizontal\": \"수평\",\n \"admin/editor.product-images.in-page\": \"페이지 안\",\n \"admin/editor.product-images.left\": \"왼쪽\",\n \"admin/editor.product-images.no-zoom\": \"줌 없음\",\n \"admin/editor.product-images.position.description\": \"방향이 수직인 경우에만 사용\",\n \"admin/editor.product-images.position.title\": \"섬네일 위치\",\n \"admin/editor.product-images.right\": \"오른쪽\",\n \"admin/editor.product-images.thumbnailsOrientation.title\": \"섬네일 방향\",\n \"admin/editor.product-images.title\": \"제품 이미지\",\n \"admin/editor.product-images.vertical\": \"수직\",\n \"admin/editor.product-images.zoomOptions.title\": \"줌 옵션\",\n \"admin/editor.product-images.zoomType.title\": \"줌 타입\",\n \"admin/editor.product-specifications.hidden-specifications.description\": \"숨기려는 사양 이름 입력\",\n \"admin/editor.product-specifications.hidden-specifications.title\": \"숨겨진 사양\",\n \"admin/editor.product-specifications.items.title\": \"사양\",\n \"admin/editor.product-specifications.title\": \"제품 사양\",\n \"admin/editor.product-specifications.visible-specifications.description\": \"표시할 사양 이름을 입력합니다. 숨겨진 사양 또는 보이는 사양 중 하나만 제공합니다\",\n \"admin/editor.product-specifications.visible-specifications.title\": \"보이는 사양\",\n \"admin/editor.productName.description\": \"제품 이름 요소\",\n \"admin/editor.productName.showBrandName.title\": \"브랜드 이름 표시\",\n \"admin/editor.productName.showProductReference.title\": \"제품 참조 표시\",\n \"admin/editor.productName.showSku.title\": \"sku 표시\",\n \"admin/editor.productName.title\": \"상품명\",\n \"admin/editor.productPrice.description\": \"제품 가격 요소\",\n \"admin/editor.productPrice.labelListPrice\": \"정가 라벨\",\n \"admin/editor.productPrice.labelSellingPrice\": \"판매가격 라벨\",\n \"admin/editor.productPrice.showInstallments\": \"제품의 결제 할부 표시\",\n \"admin/editor.productPrice.showLabels\": \"정가 라벨 표시\",\n \"admin/editor.productPrice.showListPrice\": \"제품 정가 표시\",\n \"admin/editor.productPrice.showListPriceRange\": \"제품의 정가 범위 표시\",\n \"admin/editor.productPrice.showSavings\": \"제품의 정가와 판매 가격 차이 표시\",\n \"admin/editor.productPrice.showSellingPriceRange\": \"제품의 판매 가격 범위 표시\",\n \"admin/editor.productPrice.title\": \"제품 가격\",\n \"admin/editor.search-bar.placeholder.title\": \"플레이스 홀더\",\n \"admin/editor.search-bar.title\": \"검색란\",\n \"admin/editor.share.description\": \"공유 버튼 목록\",\n \"admin/editor.share.social.title\": \"소셜 네트워크\",\n \"admin/editor.share.title\": \"공유\",\n \"admin/editor.skuSelector.description\": \"사용자가 선택할 수 있도록 다양한 항목 변형을 표시하는 구성 요소\",\n \"admin/editor.skuSelector.seeMoreLabel.description\": \"더보기 버튼의 라벨입니다. 사용 가능한 적절한 나머지 항목을 표시하려면 문자열에 {quantity} 플레이스홀더가 있어야합니다. 예 : \\\"{quantity} 더보기\\\"\",\n \"admin/editor.skuSelector.seeMoreLabel.title\": \"라벨 더보기\",\n \"admin/editor.skuSelector.title\": \"SKU 선택기\"\n}\n```"
}
] |
code_admin-messages_2b3cd206
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of admin-messages/messages/fr/vtex.admin-cms@0.x.json from the admin-messages VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"Author\": \"Auteur\",\n \"Draft\": \"Brouillon\",\n \"Live\": \"En direct\",\n \"Name\": \"Nom\",\n \"Type\": \"Type\",\n \"High\": \"Haute\",\n \"Low\": \"Basse\",\n \"Medium\": \"Moyen\",\n \"of\": \"le\",\n \"Search\": \"Rechercher\",\n \"Content\": \"Contenu\",\n \"Hide all\": \"Tout masquer\",\n \"Show all\": \"Tout afficher\",\n \"Line density\": \"Densité de ligne\",\n \"Show rows\": \"Afficher les lignes\",\n \"Last update\": \"Dernière mise à jour\",\n \"Toggle visible fields\": \"Basculer les champs visibles\"\n}\n\n```"
}
] |
code_admin-messages_6893f209
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of admin-messages/messages/fr/vtex.store-components@3.x.json from the admin-messages VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"admin/editor.blockClass.description\": \"Ajoute une classe supplémentaire pour simplifier le style\",\n \"admin/editor.blockClass.title\": \"Classe de bloc CSS\",\n \"admin/editor.categoriesHighlighted.cardShape\": \"Forme de boîte\",\n \"admin/editor.categoriesHighlighted.cardShape.rectangular\": \"Rectangulaire\",\n \"admin/editor.categoriesHighlighted.cardShape.squared\": \"Carrée\",\n \"admin/editor.categoriesHighlighted.categoriesHighlighted\": \"Catégories mises en avant\",\n \"admin/editor.categoriesHighlighted.category\": \"Catégorie\",\n \"admin/editor.categoriesHighlighted.description\": \"Catégories du service mises en évidence\",\n \"admin/editor.categoriesHighlighted.item.categoryImage\": \"Image de la catégorie\",\n \"admin/editor.categoriesHighlighted.item.categoryName\": \"Nom de la catégorie\",\n \"admin/editor.categoriesHighlighted.quantityOfItems\": \"Quantité d’articles\",\n \"admin/editor.categoriesHighlighted.showCategoriesHighlighted\": \"Afficher les catégories mises en avant\",\n \"admin/editor.categoriesHighlighted.title\": \"Catégories mises en avant\",\n \"admin/editor.image.alt.title\": \"Texte alternatif\",\n \"admin/editor.image.description\": \"Afficher une image\",\n \"admin/editor.image.src.title\": \"Image\",\n \"admin/editor.image.title\": \"Photo\",\n \"admin/editor.image.title.title\": \"Titre de l’image\",\n \"admin/editor.image.title.description\": \"Titre à afficher par pointage\",\n \"admin/editor.info-card.callAction.button\": \"Bouton\",\n \"admin/editor.info-card.callAction.link\": \"Lien\",\n \"admin/editor.info-card.callAction.none\": \"Aucun\",\n \"admin/editor.info-card.callToActionMode.description\": \"Contrôle l’affichage de votre appel à l’action\",\n \"admin/editor.info-card.callToActionMode.title\": \"Mode d’appel à l’action\",\n \"admin/editor.info-card.callToActionText.description\": \"Texte à afficher à l’intérieur du composant de l’appel à l’action\",\n \"admin/editor.info-card.callToActionText.title\": \"Texte d’appel à l’action\",\n \"admin/editor.info-card.callToActionUrl.description\": \"URL de redirection lorsque l’on clique sur CTA (appel à l'action)\",\n \"admin/editor.info-card.callToActionUrl.title\": \"URL d’appel à l’action\",\n \"admin/editor.info-card.description\": \"Un composant avec image et texte avec choix d’affichage\",\n \"admin/editor.info-card.headline.description\": \"Texte à afficher sous forme de titre principal à l’intérieur du composant\",\n \"admin/editor.info-card.headline.title\": \"Titre principal\",\n \"admin/editor.info-card.imageActionUrl.description\": \"Passez l’URL pour faire de l’image un lien pour rediriger l’utilisateur\",\n \"admin/editor.info-card.imageActionUrl.title\": \"URL de l’action de l’image\",\n \"admin/editor.info-card.imageUrl.description\": \"Image à utiliser sur le bureau\",\n \"admin/editor.info-card.imageUrl.title\": \"Image\",\n \"admin/editor.info-card.isFullModeStyle.description\": \"Si vrai, l'image fournie sera utilisée comme image de fond et le texte sera affiché par-dessus\",\n \"admin/editor.info-card.isFullModeStyle.title\": \"Image en arrière-plan\",\n \"admin/editor.info-card.mobileImageUrl.description\": \"Image à utiliser sur le mobile\",\n \"admin/editor.info-card.mobileImageUrl.title\": \"Image sur mobile\",\n \"admin/editor.info-card.subhead.description\": \"Texte à afficher sous le titre principal à l’intérieur du composant\",\n \"admin/editor.info-card.subhead.title\": \"Sous-titre\",\n \"admin/editor.info-card.textAlignment.center\": \"Centre\",\n \"admin/editor.info-card.textAlignment.description\": \"Contrôler l’alignement du texte à l’intérieur du composant\",\n \"admin/editor.info-card.textAlignment.left\": \"Gauche\",\n \"admin/editor.info-card.textAlignment.right\": \"Droite\",\n \"admin/editor.info-card.textAlignment.title\": \"Alignement du texte\",\n \"admin/editor.info-card.textPosition.center\": \"Centre\",\n \"admin/editor.info-card.textPosition.description\": \"Choisir la position dans laquelle le texte composant sera affiché, à gauche, au centre ou à droite\",\n \"admin/editor.info-card.textPosition.left\": \"Gauche\",\n \"admin/editor.info-card.textPosition.right\": \"Droite\",\n \"admin/editor.info-card.textPosition.title\": \"Position du texte\",\n \"admin/editor.info-card.title\": \"InfoCard\",\n \"admin/editor.logo.description\": \"Composant permettant d’afficher le logo de votre magasin\",\n \"admin/editor.logo.height.description\": \"Hauteur à utiliser pour le logo.\",\n \"admin/editor.logo.height.title\": \"Hauteur\",\n \"admin/editor.logo.href.description\": \"Lien à rediriger lorsque l’on clique sur le logo. Laisser vide pour qu’il ne soit pas cliquable.\",\n \"admin/editor.logo.href.title\": \"Lien de redirection\",\n \"admin/editor.logo.mobileHeight.description\": \"Hauteur à utiliser sur le mobile. Si c’est vide, utiliser la valeur de hauteur fournie.\",\n \"admin/editor.logo.mobileHeight.title\": \"Hauteur pour mobile\",\n \"admin/editor.logo.mobileWidth.description\": \"Largeur à utiliser sur le mobile. Si c’est vide, utiliser la valeur de hauteur fournie.\",\n \"admin/editor.logo.mobileWidth.title\": \"Largeur pour mobile\",\n \"admin/editor.logo.title\": \"Logo\",\n \"admin/editor.logo.title.description\": \"Texte alternatif à fournir pour l’image du logo\",\n \"admin/editor.logo.title.title\": \"Texte alternatif\",\n \"admin/editor.logo.url.description\": \"Image à utiliser\",\n \"admin/editor.logo.url.title\": \"Image\",\n \"admin/editor.logo.width.description\": \"Largeur à utiliser pour le logo.\",\n \"admin/editor.logo.width.title\": \"Largeur\",\n \"admin/editor.newsletter.description\": \"Formulaire de newsletter\",\n \"admin/editor.newsletter.hideLabel\": \"Masquer l’étiquette\",\n \"admin/editor.newsletter.label\": \"Étiquette du formulaire utilisé par le composant\",\n \"admin/editor.newsletter.placeholder\": \"Espace réservé pour input email\",\n \"admin/editor.newsletter.submit\": \"Étiquette du bouton d’envoi\",\n \"admin/editor.newsletter.title\": \"Newsletter\",\n \"admin/editor.notification-bar.content.description\": \"Texte de la barre\",\n \"admin/editor.notification-bar.content.title\": \"Contenu\",\n \"admin/editor.notification-bar.description\": \"Un composant qui affiche du texte dans un style de barre\",\n \"admin/editor.notification-bar.title\": \"Barre de notification\",\n \"admin/editor.product-description.title\": \"Description du produit\",\n \"admin/editor.product-description.title-prop.title\": \"Titre\",\n \"admin/editor.product-images.bgopacity.title\": \"Opacité de l’arrière-plan\",\n \"admin/editor.product-images.description\": \"Le composant « images de produits » vous permet de personnaliser les images de produits\",\n \"admin/editor.product-images.displayThumbnailsArrows.title\": \"Afficher les flèches dans les miniatures\",\n \"admin/editor.product-images.gallery\": \"Dans la galerie\",\n \"admin/editor.product-images.horizontal\": \"Horizontale\",\n \"admin/editor.product-images.in-page\": \"Dans la page\",\n \"admin/editor.product-images.left\": \"Gauche\",\n \"admin/editor.product-images.no-zoom\": \"Pas de zoom\",\n \"admin/editor.product-images.position.description\": \"Utilisé uniquement lorsque l’orientation est verticale\",\n \"admin/editor.product-images.position.title\": \"Position de la miniature\",\n \"admin/editor.product-images.right\": \"Droite\",\n \"admin/editor.product-images.thumbnailsOrientation.title\": \"Orientation de la miniature\",\n \"admin/editor.product-images.title\": \"Images de produit\",\n \"admin/editor.product-images.vertical\": \"Verticale\",\n \"admin/editor.product-images.zoomOptions.title\": \"Options du zoom\",\n \"admin/editor.product-images.zoomType.title\": \"Type de zoom\",\n \"admin/editor.product-specifications.hidden-specifications.description\": \"Tapez les noms des caractéristiques que vous souhaitez masquer\",\n \"admin/editor.product-specifications.hidden-specifications.title\": \"Caractéristiques masquées\",\n \"admin/editor.product-specifications.items.title\": \"Caractéristiques\",\n \"admin/editor.product-specifications.title\": \"Caractéristiques du produit\",\n \"admin/editor.product-specifications.visible-specifications.description\": \"Tapez les noms des caractéristiques que vous voulez faire apparaître. Ne fournissez qu’une des caractéristiques cachées ou visibles\",\n \"admin/editor.product-specifications.visible-specifications.title\": \"Caractéristiques visibles\",\n \"admin/editor.productName.description\": \"Nom du produit composant\",\n \"admin/editor.productName.showBrandName.title\": \"Afficher le nom de marque\",\n \"admin/editor.productName.showProductReference.title\": \"Afficher la référence produit\",\n \"admin/editor.productName.showSku.title\": \"Afficher le sku\",\n \"admin/editor.productName.title\": \"Nom du produit\",\n \"admin/editor.productPrice.description\": \"Prix du produit composant\",\n \"admin/editor.productPrice.labelListPrice\": \"Étiquette de prix de la liste\",\n \"admin/editor.productPrice.labelSellingPrice\": \"Étiquette de prix de vente\",\n \"admin/editor.productPrice.showInstallments\": \"Afficher les échéances de paiement du produit\",\n \"admin/editor.productPrice.showLabels\": \"Afficher les étiquettes de prix des produits\",\n \"admin/editor.productPrice.showListPrice\": \"Afficher le prix de liste du produit\",\n \"admin/editor.productPrice.showListPriceRange\": \"Afficher l’éventail de prix des produits\",\n \"admin/editor.productPrice.showSavings\": \"Afficher la liste de produits et la différence de prix de vente\",\n \"admin/editor.productPrice.showSellingPriceRange\": \"Afficher l’éventail des prix de vente du produit\",\n \"admin/editor.productPrice.title\": \"Prix du produit\",\n \"admin/editor.search-bar.placeholder.title\": \"Espace réservé\",\n \"admin/editor.search-bar.title\": \"Barre de recherche\",\n \"admin/editor.share.description\": \"Liste des boutons de partage\",\n \"admin/editor.share.social.title\": \"Réseaux sociaux\",\n \"admin/editor.share.title\": \"Partager\",\n \"admin/editor.skuSelector.description\": \"Composant affichant les variantes d’un article pour que l’utilisateur puisse choisir\",\n \"admin/editor.skuSelector.seeMoreLabel.description\": \"Étiquette pour voir plus de boutons. La chaîne doit comporter un {quantity} espace réservé pour indiquer les éléments disponibles restants appropriés. Exemple : \\\"Voir {quantity} plus\\\"\",\n \"admin/editor.skuSelector.seeMoreLabel.title\": \"Balise « afficher plus »\",\n \"admin/editor.skuSelector.title\": \"Choix de SKU\"\n}\n```"
}
] |
code_admin-messages_6a9e9ad2
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of admin-messages/messages/es/vtex.admin-cms@0.x.json from the admin-messages VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"Author\": \"Autor\",\n \"Draft\": \"Borrador\",\n \"Live\": \"Producción\",\n \"Name\": \"Nombre\",\n \"Type\": \"Tipo\",\n \"High\": \"Alta\",\n \"Low\": \"Baja\",\n \"Medium\": \"Normal\",\n \"of\": \"de\",\n \"Search\": \"Buscar\",\n \"Content\": \"Contenido\",\n \"Hide all\": \"Ocultar todo\",\n \"Show all\": \"Mostrar todo\",\n \"Line density\": \"Densidad de línea\",\n \"Show rows\": \"Mostrar filas\",\n \"Last update\": \"Última actualización\",\n \"Toggle visible fields\": \"Alternar campos visibles\"\n}\n\n```"
}
] |
code_admin-messages_0fcf2f9c
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of admin-messages/messages/es/vtex.store-components@3.x.json from the admin-messages VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"admin/editor.blockClass.description\": \"Agrega un nombre de clase extra para facilitar el estilo\",\n \"admin/editor.blockClass.title\": \"Clase de bloque CSS\",\n \"admin/editor.categoriesHighlighted.cardShape\": \"Forma de la caja\",\n \"admin/editor.categoriesHighlighted.cardShape.rectangular\": \"Rectangular\",\n \"admin/editor.categoriesHighlighted.cardShape.squared\": \"Cuadrada\",\n \"admin/editor.categoriesHighlighted.categoriesHighlighted\": \"Categorías destacadas\",\n \"admin/editor.categoriesHighlighted.category\": \"Categoría\",\n \"admin/editor.categoriesHighlighted.description\": \"Categorías destacadas del departamento\",\n \"admin/editor.categoriesHighlighted.item.categoryImage\": \"Imagen de la categoría\",\n \"admin/editor.categoriesHighlighted.item.categoryName\": \"Nombre de la categoría\",\n \"admin/editor.categoriesHighlighted.quantityOfItems\": \"Cantidad de artículos\",\n \"admin/editor.categoriesHighlighted.showCategoriesHighlighted\": \"Mostar categorías destacadas\",\n \"admin/editor.categoriesHighlighted.title\": \"Categorías destacadas\",\n \"admin/editor.image.alt.title\": \"Texto alternativo\",\n \"admin/editor.image.description\": \"Mostrar cualquier imagen\",\n \"admin/editor.image.src.title\": \"Imagen\",\n \"admin/editor.image.title\": \"Imagen\",\n \"admin/editor.image.title.title\": \"Título de la imagen\",\n \"admin/editor.image.title.description\": \"Título que se mostrará al pasar el mouse\",\n \"admin/editor.info-card.callAction.button\": \"Botón\",\n \"admin/editor.info-card.callAction.link\": \"Enlace\",\n \"admin/editor.info-card.callAction.none\": \"Ninguno\",\n \"admin/editor.info-card.callToActionMode.description\": \"Controla cómo se muestra tu llamada a la acción (CTA)\",\n \"admin/editor.info-card.callToActionMode.title\": \"Modo CTA\",\n \"admin/editor.info-card.callToActionText.description\": \"Texto que se mostrará dentro del componente CTA\",\n \"admin/editor.info-card.callToActionText.title\": \"Texto CTA\",\n \"admin/editor.info-card.callToActionUrl.description\": \"URL de redirección cuando se hace clic en el CTA\",\n \"admin/editor.info-card.callToActionUrl.title\": \"URL del CTA\",\n \"admin/editor.info-card.description\": \"Un componente con imagen y texto donde puedes elegir cómo se muestra tu contenido\",\n \"admin/editor.info-card.headline.description\": \"Texto que se mostrará como título dentro del componente\",\n \"admin/editor.info-card.headline.title\": \"Título\",\n \"admin/editor.info-card.imageActionUrl.description\": \"Pasa la URL para convertir la imagen en un enlace y poder redirigir al usuario\",\n \"admin/editor.info-card.imageActionUrl.title\": \"URL de acción de la imagen\",\n \"admin/editor.info-card.imageUrl.description\": \"Imagen que se utilizará en dispositivos de escritorio\",\n \"admin/editor.info-card.imageUrl.title\": \"Imagen\",\n \"admin/editor.info-card.isFullModeStyle.description\": \"Si es afirmativo, la imagen proporcionada se utilizará como imagen de fondo de todo el componente y el texto se mostrará sobre ella\",\n \"admin/editor.info-card.isFullModeStyle.title\": \"Imagen como fondo\",\n \"admin/editor.info-card.mobileImageUrl.description\": \"Imagen que se utilizará en dispositivos móviles\",\n \"admin/editor.info-card.mobileImageUrl.title\": \"Imagen para dispositivos móviles\",\n \"admin/editor.info-card.subhead.description\": \"Texto que se mostrará debajo del título dentro del componente\",\n \"admin/editor.info-card.subhead.title\": \"Subtítulo\",\n \"admin/editor.info-card.textAlignment.center\": \"Centro\",\n \"admin/editor.info-card.textAlignment.description\": \"Controla la alineación del texto dentro del componente\",\n \"admin/editor.info-card.textAlignment.left\": \"Izquierda\",\n \"admin/editor.info-card.textAlignment.right\": \"Derecha\",\n \"admin/editor.info-card.textAlignment.title\": \"Alineación del texto\",\n \"admin/editor.info-card.textPosition.center\": \"Centro\",\n \"admin/editor.info-card.textPosition.description\": \"Selecciona la posición en que se debe mostrar el texto del componente: izquierda, centro o derecha\",\n \"admin/editor.info-card.textPosition.left\": \"Izquierda\",\n \"admin/editor.info-card.textPosition.right\": \"Derecha\",\n \"admin/editor.info-card.textPosition.title\": \"Posición del texto\",\n \"admin/editor.info-card.title\": \"InfoCard\",\n \"admin/editor.logo.description\": \"Componente para mostrar el logotipo de tu tienda\",\n \"admin/editor.logo.height.description\": \"Altura que se utilizará para el logotipo.\",\n \"admin/editor.logo.height.title\": \"Altura\",\n \"admin/editor.logo.href.description\": \"Enlace de redireccionamiento cuando se hace clic en el logotipo. Déjalo en blanco para que no se pueda hacer clic.\",\n \"admin/editor.logo.href.title\": \"Enlace de redireccionamiento\",\n \"admin/editor.logo.mobileHeight.description\": \"Altura que se utilizará en dispositivos móviles. Si está en blanco, se utilizará el valor de altura proporcionado.\",\n \"admin/editor.logo.mobileHeight.title\": \"Altura en móvil\",\n \"admin/editor.logo.mobileWidth.description\": \"Anchura que se utilizará en dispositivos móviles. Si está en blanco, se utilizará el valor de anchura proporcionado.\",\n \"admin/editor.logo.mobileWidth.title\": \"Anchura en móvil\",\n \"admin/editor.logo.title\": \"Logotipo\",\n \"admin/editor.logo.title.description\": \"Texto alternativo para la imagen del logotipo\",\n \"admin/editor.logo.title.title\": \"Texto alternativo\",\n \"admin/editor.logo.url.description\": \"Imagen que se utilizará\",\n \"admin/editor.logo.url.title\": \"Imagen\",\n \"admin/editor.logo.width.description\": \"Anchura que se utilizará para el logotipo.\",\n \"admin/editor.logo.width.title\": \"Anchura\",\n \"admin/editor.newsletter.description\": \"Formulario de newsletter\",\n \"admin/editor.newsletter.hideLabel\": \"Ocultar etiqueta\",\n \"admin/editor.newsletter.label\": \"Etiqueta del formulario utilizada por el componente\",\n \"admin/editor.newsletter.placeholder\": \"Marcador de posición de la entrada del email\",\n \"admin/editor.newsletter.submit\": \"Etiqueta del botón de enviar\",\n \"admin/editor.newsletter.title\": \"Newsletter\",\n \"admin/editor.notification-bar.content.description\": \"Texto de la barra\",\n \"admin/editor.notification-bar.content.title\": \"Contenido\",\n \"admin/editor.notification-bar.description\": \"Un componente que muestra cualquier texto en forma de barra\",\n \"admin/editor.notification-bar.title\": \"Barra de notificaciones\",\n \"admin/editor.product-description.title\": \"Descripción del producto\",\n \"admin/editor.product-description.title-prop.title\": \"Título\",\n \"admin/editor.product-images.bgopacity.title\": \"Opacidad del fondo\",\n \"admin/editor.product-images.description\": \"El componente de imágenes del producto te permite personalizar las imágenes del producto\",\n \"admin/editor.product-images.displayThumbnailsArrows.title\": \"Mostrar flechas en miniaturas\",\n \"admin/editor.product-images.gallery\": \"En galería\",\n \"admin/editor.product-images.horizontal\": \"Horizontal\",\n \"admin/editor.product-images.in-page\": \"En la página\",\n \"admin/editor.product-images.left\": \"Izquierda\",\n \"admin/editor.product-images.no-zoom\": \"Sin zoom\",\n \"admin/editor.product-images.position.description\": \"Se utiliza solo cuando la orientación es vertical\",\n \"admin/editor.product-images.position.title\": \"Posición de miniatura\",\n \"admin/editor.product-images.right\": \"Derecha\",\n \"admin/editor.product-images.thumbnailsOrientation.title\": \"Orientación de miniaturas\",\n \"admin/editor.product-images.title\": \"Imágenes del producto\",\n \"admin/editor.product-images.vertical\": \"Vertical\",\n \"admin/editor.product-images.zoomOptions.title\": \"Opciones de zoom\",\n \"admin/editor.product-images.zoomType.title\": \"Tipo de zoom\",\n \"admin/editor.product-specifications.hidden-specifications.description\": \"Escribe los nombres de las especificaciones que deseas ocultar\",\n \"admin/editor.product-specifications.hidden-specifications.title\": \"Especificaciones ocultas\",\n \"admin/editor.product-specifications.items.title\": \"Especificación\",\n \"admin/editor.product-specifications.title\": \"Especificaciones del producto\",\n \"admin/editor.product-specifications.visible-specifications.description\": \"Escribe los nombres de las especificaciones que deseas que aparezcan. Solo proporciona una de las especificaciones ocultas o especificaciones visibles.\",\n \"admin/editor.product-specifications.visible-specifications.title\": \"Especificaciones visibles\",\n \"admin/editor.productName.description\": \"Componente del nombre del producto\",\n \"admin/editor.productName.showBrandName.title\": \"Muestra el nombre de la marca\",\n \"admin/editor.productName.showProductReference.title\": \"Muestra la referencia del producto\",\n \"admin/editor.productName.showSku.title\": \"Muestra el SKU\",\n \"admin/editor.productName.title\": \"Nombre del producto\",\n \"admin/editor.productPrice.description\": \"Componente de precio del producto\",\n \"admin/editor.productPrice.labelListPrice\": \"Etiqueta del precio de lista\",\n \"admin/editor.productPrice.labelSellingPrice\": \"Etiqueta del precio de venta\",\n \"admin/editor.productPrice.showInstallments\": \"Mostrar cuotas de pago del producto\",\n \"admin/editor.productPrice.showLabels\": \"Mostrar etiquetas de precios del producto\",\n \"admin/editor.productPrice.showListPrice\": \"Mostrar precio de lista del producto\",\n \"admin/editor.productPrice.showListPriceRange\": \"Mostrar rango de precios de lista del producto\",\n \"admin/editor.productPrice.showSavings\": \"Mostrar diferencia entre el precio de lista y venta del producto\",\n \"admin/editor.productPrice.showSellingPriceRange\": \"Mostrar rango de precios de venta del producto\",\n \"admin/editor.productPrice.title\": \"Precio del producto\",\n \"admin/editor.search-bar.placeholder.title\": \"Marcador de posición\",\n \"admin/editor.search-bar.title\": \"Barra de búsqueda\",\n \"admin/editor.share.description\": \"Lista de botones para compartir\",\n \"admin/editor.share.social.title\": \"Redes sociales\",\n \"admin/editor.share.title\": \"Compartir\",\n \"admin/editor.skuSelector.description\": \"Componente que muestra diferentes variaciones dadas de un ítem entre las que el usuario puede escoger\",\n \"admin/editor.skuSelector.seeMoreLabel.description\": \"Etiqueta del botón \\\"ver más\\\". La cadena debe tener un marcador de posición {quantity} para mostrar los ítems restantes correctos disponibles. Ejemplo: \\\"Ver {quantity} más\\\".\",\n \"admin/editor.skuSelector.seeMoreLabel.title\": \"Etiqueta \\\"ver más\\\"\",\n \"admin/editor.skuSelector.title\": \"Selector de SKU\"\n}\n```"
}
] |
code_admin-messages_a6dbf8ed
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of admin-messages/messages/en/vtex.admin-cms@0.x.json from the admin-messages VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"Author\": \"Author\",\n \"Draft\": \"Draft\",\n \"Live\": \"Live\",\n \"Name\": \"Name\",\n \"Type\": \"Type\",\n \"High\": \"High\",\n \"Low\": \"Low\",\n \"Medium\": \"Medium\",\n \"of\": \"of\",\n \"Search\": \"Search\",\n \"Content\": \"Content\",\n \"Hide all\": \"Hide all\",\n \"Show all\": \"Show all\",\n \"Line density\": \"Line density\",\n \"Show rows\": \"Show rows\",\n \"Last update\": \"Last update\",\n \"Toggle visible fields\": \"Toggle visible fields\"\n}\n\n```"
}
] |
code_admin-messages_b4901053
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of admin-messages/messages/en/vtex.store-components@3.x.json from the admin-messages VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"admin/editor.blockClass.description\": \"Adds an extra class name to ease styling\",\n \"admin/editor.blockClass.title\": \"CSS Block Class\",\n \"admin/editor.categoriesHighlighted.cardShape\": \"Box shape\",\n \"admin/editor.categoriesHighlighted.cardShape.rectangular\": \"Rectangular\",\n \"admin/editor.categoriesHighlighted.cardShape.squared\": \"Squared\",\n \"admin/editor.categoriesHighlighted.categoriesHighlighted\": \"Categories Highlighted\",\n \"admin/editor.categoriesHighlighted.category\": \"Category\",\n \"admin/editor.categoriesHighlighted.description\": \"Categories Highlighted of the Department\",\n \"admin/editor.categoriesHighlighted.item.categoryImage\": \"Category Image\",\n \"admin/editor.categoriesHighlighted.item.categoryName\": \"Category Name\",\n \"admin/editor.categoriesHighlighted.quantityOfItems\": \"Quantity of Items\",\n \"admin/editor.categoriesHighlighted.showCategoriesHighlighted\": \"Show categories highlighted\",\n \"admin/editor.categoriesHighlighted.title\": \"Categories Highlighted\",\n \"admin/editor.image.alt.title\": \"Alternative text\",\n \"admin/editor.image.description\": \"Show any image\",\n \"admin/editor.image.src.title\": \"Image\",\n \"admin/editor.image.title\": \"Image\",\n \"admin/editor.image.title.title\": \"Image title\",\n \"admin/editor.image.title.description\": \"Title to be shown on hover\",\n \"admin/editor.info-card.callAction.button\": \"Button\",\n \"admin/editor.info-card.callAction.link\": \"Link\",\n \"admin/editor.info-card.callAction.none\": \"None\",\n \"admin/editor.info-card.callToActionMode.description\": \"Controls how your call to action is displayed\",\n \"admin/editor.info-card.callToActionMode.title\": \"Call to Action Mode\",\n \"admin/editor.info-card.callToActionText.description\": \"Text to show inside call to action component\",\n \"admin/editor.info-card.callToActionText.title\": \"Call to Action text\",\n \"admin/editor.info-card.callToActionUrl.description\": \"Url to redirect to when CTA is clicked\",\n \"admin/editor.info-card.callToActionUrl.title\": \"Call to Action URL\",\n \"admin/editor.info-card.description\": \"A component with image and text that you can choose how to display them\",\n \"admin/editor.info-card.headline.description\": \"Text to be displayed as a headline inside component\",\n \"admin/editor.info-card.headline.title\": \"Headline\",\n \"admin/editor.info-card.imageActionUrl.description\": \"Pass URL to make image a link and able to redirect user\",\n \"admin/editor.info-card.imageActionUrl.title\": \"Image Action URL\",\n \"admin/editor.info-card.imageUrl.description\": \"Image to be used on desktop\",\n \"admin/editor.info-card.imageUrl.title\": \"Image\",\n \"admin/editor.info-card.isFullModeStyle.description\": \"If true, image provided will be used as a background image and text will be displayed over it\",\n \"admin/editor.info-card.isFullModeStyle.title\": \"Image as background\",\n \"admin/editor.info-card.mobileImageUrl.description\": \"Image to be used on mobile\",\n \"admin/editor.info-card.mobileImageUrl.title\": \"Mobile Image\",\n \"admin/editor.info-card.subhead.description\": \"Text to be displayed underneath headline inside component\",\n \"admin/editor.info-card.subhead.title\": \"Subhead\",\n \"admin/editor.info-card.textAlignment.center\": \"Center\",\n \"admin/editor.info-card.textAlignment.description\": \"Control the text alignment inside component\",\n \"admin/editor.info-card.textAlignment.left\": \"Left\",\n \"admin/editor.info-card.textAlignment.right\": \"Right\",\n \"admin/editor.info-card.textAlignment.title\": \"Text Alignment\",\n \"admin/editor.info-card.textPosition.center\": \"Center\",\n \"admin/editor.info-card.textPosition.description\": \"Choose in which position of the component text will be displayed, left, center or right\",\n \"admin/editor.info-card.textPosition.left\": \"Left\",\n \"admin/editor.info-card.textPosition.right\": \"Right\",\n \"admin/editor.info-card.textPosition.title\": \"Text Position\",\n \"admin/editor.info-card.title\": \"InfoCard\",\n \"admin/editor.logo.description\": \"Component to show your store logo\",\n \"admin/editor.logo.height.description\": \"Height to be used for logo.\",\n \"admin/editor.logo.height.title\": \"Height\",\n \"admin/editor.logo.href.description\": \"Link to be redirected when logo is clicked. Leave empty to make it not clickable.\",\n \"admin/editor.logo.href.title\": \"Link to redirect\",\n \"admin/editor.logo.mobileHeight.description\": \"Height to be used on mobile. If empty, will use the provided height value.\",\n \"admin/editor.logo.mobileHeight.title\": \"Mobile Height\",\n \"admin/editor.logo.mobileWidth.description\": \"Width to be used on mobile. If empty, will use the provided width value.\",\n \"admin/editor.logo.mobileWidth.title\": \"Mobile Width\",\n \"admin/editor.logo.title\": \"Logo\",\n \"admin/editor.logo.title.description\": \"Alternative text to be provided to logo image\",\n \"admin/editor.logo.title.title\": \"Alternative text\",\n \"admin/editor.logo.url.description\": \"Image to be used\",\n \"admin/editor.logo.url.title\": \"Image\",\n \"admin/editor.logo.width.description\": \"Width to be used for logo.\",\n \"admin/editor.logo.width.title\": \"Width\",\n \"admin/editor.newsletter.description\": \"Newsletter form\",\n \"admin/editor.newsletter.hideLabel\": \"Hide label\",\n \"admin/editor.newsletter.label\": \"Label of the form used by the component\",\n \"admin/editor.newsletter.placeholder\": \"Placeholder of the email input\",\n \"admin/editor.newsletter.submit\": \"Label of the submit button\",\n \"admin/editor.newsletter.title\": \"Newsletter\",\n \"admin/editor.notification-bar.content.description\": \"Text of the bar\",\n \"admin/editor.notification-bar.content.title\": \"Content\",\n \"admin/editor.notification-bar.description\": \"A component that show any text in a bar style\",\n \"admin/editor.notification-bar.title\": \"Notification bar\",\n \"admin/editor.product-description.title\": \"Product description\",\n \"admin/editor.product-description.title-prop.title\": \"Title\",\n \"admin/editor.product-images.bgopacity.title\": \"Background opacity\",\n \"admin/editor.product-images.description\": \"Product images component allow you to customize the product images\",\n \"admin/editor.product-images.displayThumbnailsArrows.title\": \"Display Arrows in Thumbnails\",\n \"admin/editor.product-images.gallery\": \"In Gallery\",\n \"admin/editor.product-images.horizontal\": \"Horizontal\",\n \"admin/editor.product-images.in-page\": \"In page\",\n \"admin/editor.product-images.left\": \"Left\",\n \"admin/editor.product-images.no-zoom\": \"No zoom\",\n \"admin/editor.product-images.position.description\": \"Used only when orientation is vertical\",\n \"admin/editor.product-images.position.title\": \"Thumbnail position\",\n \"admin/editor.product-images.right\": \"Right\",\n \"admin/editor.product-images.thumbnailsOrientation.title\": \"Thumbnails Orientation\",\n \"admin/editor.product-images.title\": \"Product Images\",\n \"admin/editor.product-images.vertical\": \"Vertical\",\n \"admin/editor.product-images.zoomOptions.title\": \"Zoom Options\",\n \"admin/editor.product-images.zoomType.title\": \"Zoom Type\",\n \"admin/editor.product-specifications.hidden-specifications.description\": \"Type names of specifications you want to hide\",\n \"admin/editor.product-specifications.hidden-specifications.title\": \"Hidden Specficiations\",\n \"admin/editor.product-specifications.items.title\": \"Specification\",\n \"admin/editor.product-specifications.title\": \"Product Specifications\",\n \"admin/editor.product-specifications.visible-specifications.description\": \"Type names of specifications you want to appear. Only provide one of the hidden specifications or visible specifications\",\n \"admin/editor.product-specifications.visible-specifications.title\": \"Visible Specifications\",\n \"admin/editor.productName.description\": \"Product name Component\",\n \"admin/editor.productName.showBrandName.title\": \"Shows the brand name\",\n \"admin/editor.productName.showProductReference.title\": \"Shows the product reference\",\n \"admin/editor.productName.showSku.title\": \"Shows the sku\",\n \"admin/editor.productName.title\": \"Product name\",\n \"admin/editor.productPrice.description\": \"Product price Component\",\n \"admin/editor.productPrice.labelListPrice\": \"List price's label\",\n \"admin/editor.productPrice.labelSellingPrice\": \"Selling price's label\",\n \"admin/editor.productPrice.showInstallments\": \"Show product's payment installments\",\n \"admin/editor.productPrice.showLabels\": \"Show product's prices' labels\",\n \"admin/editor.productPrice.showListPrice\": \"Show product's list price\",\n \"admin/editor.productPrice.showListPriceRange\": \"Show product's list prices range\",\n \"admin/editor.productPrice.showSavings\": \"Show product's list and selling price difference\",\n \"admin/editor.productPrice.showSellingPriceRange\": \"Show product's selling prices range\",\n \"admin/editor.productPrice.title\": \"Product price\",\n \"admin/editor.search-bar.placeholder.title\": \"Placeholder\",\n \"admin/editor.search-bar.title\": \"Search bar\",\n \"admin/editor.share.description\": \"List of share buttons\",\n \"admin/editor.share.social.title\": \"Social Networks\",\n \"admin/editor.share.title\": \"Share\",\n \"admin/editor.skuSelector.description\": \"Component that displays different given variations of an item for user to choose\",\n \"admin/editor.skuSelector.seeMoreLabel.description\": \"Label of see more button. The string must have a {quantity} placeholder to show the appropriate remaining items available. Example: \\\"See {quantity} more\\\"\",\n \"admin/editor.skuSelector.seeMoreLabel.title\": \"See more label\",\n \"admin/editor.skuSelector.title\": \"SKU Selector\"\n}\n```"
}
] |
code_admin-messages_67e17985
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of admin-messages/messages/th/vtex.admin-cms@0.x.json from the admin-messages VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"Author\": \"ผู้เขียน\",\n \"Draft\": \"ร่าง\",\n \"Live\": \"สด\",\n \"Name\": \"ชื่อ\",\n \"Type\": \"ประเภท\",\n \"High\": \"สูง\",\n \"Low\": \"ต่ำ\",\n \"Medium\": \"กลาง\",\n \"of\": \"ของ\",\n \"Search\": \"ค้นหา\",\n \"Content\": \"คอนเทนต์\",\n \"Hide all\": \"ซ่อนทั้งหมด\",\n \"Show all\": \"แสดงทั้งหมด\",\n \"Line density\": \"ความเข้มของเส้น\",\n \"Show rows\": \"แสดงแถว\",\n \"Last update\": \"อัปเดตล่าสุด\",\n \"Toggle visible fields\": \"สลับฟิลด์ข้อมูลที่มองเห็นได้\"\n}\n\n```"
}
] |
code_admin-messages_e201f7dc
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of admin-messages/messages/th/vtex.store-components@3.x.json from the admin-messages VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"admin/editor.blockClass.description\": \"เพิ่มชื่อคลาสพิเศษเพื่อทำให้จัดรูปแบบงายมากขึ้น\",\n \"admin/editor.blockClass.title\": \"คลาสบล็อก CSS\",\n \"admin/editor.categoriesHighlighted.cardShape\": \"รูปร่างกล่อง\",\n \"admin/editor.categoriesHighlighted.cardShape.rectangular\": \"สี่เหลี่ยมผืนผ้า\",\n \"admin/editor.categoriesHighlighted.cardShape.squared\": \"สี่เหลี่ยม\",\n \"admin/editor.categoriesHighlighted.categoriesHighlighted\": \"หมวดหมู่ที่เน้น\",\n \"admin/editor.categoriesHighlighted.category\": \"หมวดหมู่\",\n \"admin/editor.categoriesHighlighted.description\": \"หมวดหมู่ของแผนกที่เน้น\",\n \"admin/editor.categoriesHighlighted.item.categoryImage\": \"รูปภาพของหมวดหมู่\",\n \"admin/editor.categoriesHighlighted.item.categoryName\": \"รูปภาพของหมวดหมู่\",\n \"admin/editor.categoriesHighlighted.quantityOfItems\": \"จำนวนสินค้า\",\n \"admin/editor.categoriesHighlighted.showCategoriesHighlighted\": \"แสดงหมวดหมู่ที่เน้น\",\n \"admin/editor.categoriesHighlighted.title\": \"หมวดหมู่ที่เน้น\",\n \"admin/editor.image.alt.title\": \"ข้อความแสดงแทน\",\n \"admin/editor.image.description\": \"แสดงรูปภาพใดก็ได้\",\n \"admin/editor.image.src.title\": \"รูปภาพ\",\n \"admin/editor.image.title\": \"รูปภาพ\",\n \"admin/editor.image.title.title\": \"ชื่อเรื่องของรูปภาพ\",\n \"admin/editor.image.title.description\": \"ชื่อเรื่องจะแสดงเมื่อนำเมาส์ไปชี้\",\n \"admin/editor.info-card.callAction.button\": \"ปุ่ม\",\n \"admin/editor.info-card.callAction.link\": \"ลิงก์\",\n \"admin/editor.info-card.callAction.none\": \"ไม่มี\",\n \"admin/editor.info-card.callToActionMode.description\": \"ควบคุมว่าจะให้การกระตุ้นให้ดำเนินการของคุณแสดงอย่างไร\",\n \"admin/editor.info-card.callToActionMode.title\": \"โหมดกระตุ้นให้ดำเนินการ\",\n \"admin/editor.info-card.callToActionText.description\": \"ข้อความจะแสดงภายในคอมโพเนนต์การกระตุ้นให้ดำเนินการ\",\n \"admin/editor.info-card.callToActionText.title\": \"ข้อความกระตุ้นให้ดำเนินการ\",\n \"admin/editor.info-card.callToActionUrl.description\": \"URL จะเปลี่ยนเส้นทางเมื่อมีการคลิกปุ่มกระตุ้นให้ดำเนินการ\",\n \"admin/editor.info-card.callToActionUrl.title\": \"URL การกระตุ้นให้ดำเนินการ\",\n \"admin/editor.info-card.description\": \"คอมโพเนนต์ที่มีรูปภาพและข้อความที่คุณสามารถเลือกได้ว่าจะให้แสดงผลรูปภาพและข้อความอย่างไร\",\n \"admin/editor.info-card.headline.description\": \"ข้อความจะแสดงเป็นหัวเรื่องภายในคอมโพเนนต์\",\n \"admin/editor.info-card.headline.title\": \"หัวเรื่อง\",\n \"admin/editor.info-card.imageActionUrl.description\": \"ผ่าน URL เพื่อทำให้รูปภาพเป็นลิงก์เพื่อเปลี่ยนเส้นทางผู้ใช้\",\n \"admin/editor.info-card.imageActionUrl.title\": \"Image Action URL\",\n \"admin/editor.info-card.imageUrl.description\": \"รูปภาพจะถูกใช้บนเดสก์ท็อป\",\n \"admin/editor.info-card.imageUrl.title\": \"รูปภาพ\",\n \"admin/editor.info-card.isFullModeStyle.description\": \"หากเป็น Trie จะใช้รูปภาพที่จัดเตรียมไว้เป็นรูปภาพพื้นหลังและจะแสดงข้อความเหนือรูปภาพ\",\n \"admin/editor.info-card.isFullModeStyle.title\": \"รูปภาพเป็นพื้นหลัง\",\n \"admin/editor.info-card.mobileImageUrl.description\": \"รูปภาพจะถูกใช้บนมือถือ\",\n \"admin/editor.info-card.mobileImageUrl.title\": \"รูปภาพสำหรับมือถือ\",\n \"admin/editor.info-card.subhead.description\": \"ข้อความจะแสดงใต้หัวเรื่องภายในคอมโพเนนต์\",\n \"admin/editor.info-card.subhead.title\": \"หัวเรื่องย่อย\",\n \"admin/editor.info-card.textAlignment.center\": \"ตรงกลาง\",\n \"admin/editor.info-card.textAlignment.description\": \"ควบคุมการวางตำแหน่งข้อความภายในคอมโพเนนต์\",\n \"admin/editor.info-card.textAlignment.left\": \"ซ้าย\",\n \"admin/editor.info-card.textAlignment.right\": \"ขวา\",\n \"admin/editor.info-card.textAlignment.title\": \"การวางตำแหน่งข้อความ\",\n \"admin/editor.info-card.textPosition.center\": \"ตรงกลาง\",\n \"admin/editor.info-card.textPosition.description\": \"เลือกว่าจะแสดงข้อความของคอมโพเนนต์ในตำแหน่งใด ซ้าย ตรงกลาง หรือขวา\",\n \"admin/editor.info-card.textPosition.left\": \"ซ้าย\",\n \"admin/editor.info-card.textPosition.right\": \"ขวา\",\n \"admin/editor.info-card.textPosition.title\": \"ตำแหน่งข้อความ\",\n \"admin/editor.info-card.title\": \"InfoCard\",\n \"admin/editor.logo.description\": \"คอมโพเนนต์จะแสดงโลโก้ร้านค้าของคุณ\",\n \"admin/editor.logo.height.description\": \"ความสูงที่จะใช้สำหรับโลโก้\",\n \"admin/editor.logo.height.title\": \"ความสูง\",\n \"admin/editor.logo.href.description\": \"ลิงก์จะเปลี่ยนเส้นทางเมื่อคลิกที่โลโก้ ปล่อยว่างไว้เพื่อทำให้ไม่สามารถคลิกได้\",\n \"admin/editor.logo.href.title\": \"ลิงก์เพื่อเปลี่ยนเส้นทาง\",\n \"admin/editor.logo.mobileHeight.description\": \"ความสูงจะถูกใช้บนมือถือ หากมีค่าว่าง จะใช้ค่าความสูงที่จัดเตรียมไว้\",\n \"admin/editor.logo.mobileHeight.title\": \"ความสูงของมือถิอ\",\n \"admin/editor.logo.mobileWidth.description\": \"ความกว้างจะถูกใช้บนมือถือ หากมีค่าว่าง จะใช้ค่าความกว้างที่จัดเตรียมไว้\",\n \"admin/editor.logo.mobileWidth.title\": \"ความกว้างมือถือ\",\n \"admin/editor.logo.title\": \"โลโก้\",\n \"admin/editor.logo.title.description\": \"ข้อความแสดงแทนจะถูกจัดเตรียมไว้ให้สำหรับรูปภาพโลโก้\",\n \"admin/editor.logo.title.title\": \"ข้อความแสดงแทน\",\n \"admin/editor.logo.url.description\": \"รุปภาพที่จะใช้\",\n \"admin/editor.logo.url.title\": \"รูปภาพ\",\n \"admin/editor.logo.width.description\": \"ความกว้างที่จะใช้สำหรับโลโก้\",\n \"admin/editor.logo.width.title\": \"ความกว้าง\",\n \"admin/editor.newsletter.description\": \"จดหมายข่าวจาก\",\n \"admin/editor.newsletter.hideLabel\": \"ซ่อนป้ายข้อความ\",\n \"admin/editor.newsletter.label\": \"ป้ายข้อความของแบบฟอร์มที่คอมโพเนนต์ใช้\",\n \"admin/editor.newsletter.placeholder\": \"ข้อความตัวอย่างหรือคำอธิบายสำหรับการป้อนอีเมล\",\n \"admin/editor.newsletter.submit\": \"ป้ายข้อความของปุ่มส่ง\",\n \"admin/editor.newsletter.title\": \"จดหมายข่าว\",\n \"admin/editor.notification-bar.content.description\": \"ข้อความของแถบ\",\n \"admin/editor.notification-bar.content.title\": \"เนื้อหา\",\n \"admin/editor.notification-bar.description\": \"คอมโพเนนต์ที่แสดงข้อความใด ๆ ใน Bar Style\",\n \"admin/editor.notification-bar.title\": \"แถบแจ้งเตือน\",\n \"admin/editor.product-description.title\": \"คำอธิบายผลิตภัณฑ์\",\n \"admin/editor.product-description.title-prop.title\": \"ชื่อเรื่อง\",\n \"admin/editor.product-images.bgopacity.title\": \"ความทึบแสงของพื้นหลัง\",\n \"admin/editor.product-images.description\": \"คอมโพเนนต์รูปภาพผลิตภัณฑ์ทำให้คุณสามารถกำหนดรูปภาพผลิตภัณฑ์ได้เอง\",\n \"admin/editor.product-images.displayThumbnailsArrows.title\": \"แสดงลูกศรในภาพตัวอย่างขนาดเล็ก\",\n \"admin/editor.product-images.gallery\": \"ในแกลลอรี่\",\n \"admin/editor.product-images.horizontal\": \"แนวนอน\",\n \"admin/editor.product-images.in-page\": \"ในหน้า\",\n \"admin/editor.product-images.left\": \"ซ้าย\",\n \"admin/editor.product-images.no-zoom\": \"ไม่มีซูม\",\n \"admin/editor.product-images.position.description\": \"ใช้เฉพาะเมื่อมีการวางเป็นแนวตั้ง\",\n \"admin/editor.product-images.position.title\": \"ตำแหน่งภาพตัวอย่างขนาดเล็ก\",\n \"admin/editor.product-images.right\": \"ขวา\",\n \"admin/editor.product-images.thumbnailsOrientation.title\": \"การวางแนวภาพตัวอย่างขนาดเล็ก\",\n \"admin/editor.product-images.title\": \"รูปภาพผลิตภัณฑ์\",\n \"admin/editor.product-images.vertical\": \"แนวตั้ง\",\n \"admin/editor.product-images.zoomOptions.title\": \"ตัวเลือกซูม\",\n \"admin/editor.product-images.zoomType.title\": \"ประเภทซูม\",\n \"admin/editor.product-specifications.hidden-specifications.description\": \"ชื่อประเภทข้อกำหนดคุณลักษณะที่คุณต้องการซ่อน\",\n \"admin/editor.product-specifications.hidden-specifications.title\": \"ซ่อนข้อกำหนดคุณลักษณะแล้ว\",\n \"admin/editor.product-specifications.items.title\": \"ข้อกำหนดคุณลักษณะ\",\n \"admin/editor.product-specifications.title\": \"ข้อกำหนดคุณลักษณะผลิตถัณฑ์\",\n \"admin/editor.product-specifications.visible-specifications.description\": \"ชื่อประเภทข้อกำหนดคุณลักษณะที่คุณต้องการให้ปรากฏ ให้เพียงหนึ่งข้อกำหนดคุณลักษณะที่ซ่อนอยู่หรือเห็นได้เท่านั้น\",\n \"admin/editor.product-specifications.visible-specifications.title\": \"ข้อกำหนดคุณลักษณะที่มองเห็นได้\",\n \"admin/editor.productName.description\": \"คอมโพเนนต์ของชื่อผลิตภัณฑ์\",\n \"admin/editor.productName.showBrandName.title\": \"แสดงชื่อแบรนด์\",\n \"admin/editor.productName.showProductReference.title\": \"แสดงข้อมูลอ้างอิงผลิตภัณฑ์\",\n \"admin/editor.productName.showSku.title\": \"แสดง SKU\",\n \"admin/editor.productName.title\": \"ชื่อผลิตภัณฑ์\",\n \"admin/editor.productPrice.description\": \"คอมโพเนนต์ของราคาสินค้า\",\n \"admin/editor.productPrice.labelListPrice\": \"ป้ายข้อความของราคาตามบัญชีราคา\",\n \"admin/editor.productPrice.labelSellingPrice\": \"ป้ายข้อความของราคาขาย\",\n \"admin/editor.productPrice.showInstallments\": \"แสดงการผ่อนชำระของผลิตภัณฑ์\",\n \"admin/editor.productPrice.showLabels\": \"แสดงป้ายข้อความราคาของผลิตภัณฑ์\",\n \"admin/editor.productPrice.showListPrice\": \"แสดงราคาตามบัญขีราคาของผลิตภัณฑ์\",\n \"admin/editor.productPrice.showListPriceRange\": \"แสดงช่วงราคาตามบัญขีราคาของผลิตภัณฑ์\",\n \"admin/editor.productPrice.showSavings\": \"แสดงราความแตกต่างระหว่างราคาตามบัญชีราคาและราคาขายของผลิตภัณฑ์\",\n \"admin/editor.productPrice.showSellingPriceRange\": \"แสดงช่วงราคาขายของผลิตภัณฑ์\",\n \"admin/editor.productPrice.title\": \"ราคาผลิตภัณฑ์\",\n \"admin/editor.search-bar.placeholder.title\": \"ข้อความตัวอย่างหรือคำอธิบาย\",\n \"admin/editor.search-bar.title\": \"แถบค้นหา\",\n \"admin/editor.share.description\": \"รายการปุ่มแชร์\",\n \"admin/editor.share.social.title\": \"เครือข่ายทางสังคม\",\n \"admin/editor.share.title\": \"แชร์\",\n \"admin/editor.skuSelector.description\": \"คอมโพเนนต์ที่แสดงรุ่นต่าง ๆ ของสินค้า ที่กำหนดไว้เพื่อให้ผู้ใช้เลือก\",\n \"admin/editor.skuSelector.seeMoreLabel.description\": \"ป้ายข้อความของปุ่มดูเพิ่มเติม สตริงต้องมี {quantity} ข้อความตัวอย่างหรือคำอธิบายเพื่อแสดงสินค้าพร้อมจำหน่ายที่เหลืออยู่อย่างเหมาะสม ตัวอย่าง: \\\"ดู {quantity} เพิ่มเติม\\\"\",\n \"admin/editor.skuSelector.seeMoreLabel.title\": \"ดูป้ายข้อความเพิ่มเติม\",\n \"admin/editor.skuSelector.title\": \"ตัวเลือก SKU\"\n}\n```"
}
] |
code_hermes_79c09db4
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of hermes/messages/pt.json from the hermes VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"admin/test\": \"teste\",\n \"store/test\": \"teste\"\n}\n```"
}
] |
code_hermes_d2058388
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of hermes/messages/en.json from the hermes VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"admin/test\": \"test\",\n \"store/test\": \"test\"\n}\n\n```"
}
] |
code_hermes_861e9954
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of hermes/messages/es.json from the hermes VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"admin/test\": \"teste\",\n \"store/test\": \"teste\"\n}\n```"
}
] |
code_hermes_74c648ba
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of hermes/docs/README.md from the hermes VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```markdown\n# VTEX React App Template\n\nOur guide repository to structure for react apps, that should be used as a template.\n\nWe use `yarn` as our default package manager, before coding make sure to run yarn on: `root` and `react` folders.\n\n## Some features:\n\n### Tests\n\nFor testing we use `@vtex/test-tools`, our own testing framework based on `react-testing-library`, the tests should be located on the `react/__tests__` folder. For references, visit our [repository](https://github.com/vtex/test-tools).\n\n### Hooks\n\nHusky hooks tha runs on every `pre-commit` and `pre-push`.\n\n### Intl Equalizer\n\nTool for equalizing the messages located on the `messages` folder/builder. It's configured to use the **en.json** as the default file for comparison. For references, visit our [repository](https://github.com/vtex/intl-equalizer).\n\n### Lint + Formatting\n\nTS lint configured with Prettier and .Config.\n\n### Available Scripts\n\n```json\n{\n \"lint\": \"cd ./react && yarn lint\",\n \"test\": \"cd ./react && yarn test\",\n \"lint:locales\": \"intl-equalizer\",\n \"locales:fix\": \"intl-equalizer --fix\",\n \"verify\": \"yarn lint && yarn lint:locales && yarn test\"\n}\n```\n\n### Ci\n\n#### Install:\n\n```yml\ninstall:\n commands:\n - echo Installing Packages...\n - cd react\n - npm install\n - echo Packages installed!\n```\n\n#### Pre-build:\n\n```yml\npre_build:\n commands:\n - echo Running tests...\n - npm run verify\n - echo Lint and tests finished!\n```\n\n```"
}
] |
code_hermes_c41bfcee
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of hermes/graphql/schema.graphql from the hermes VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```graphql\n# some fun types here\n\ntype StatusContent {\n status: StatusDescriptionInfo\n}\n\ntype StatusDescriptionInfo {\n indicator: String\n description: String\n}\n\ntype Query {\n getGitHubStatus: StatusContent @cacheControl(scope: PRIVATE, maxAge: SHORT)\n}\n\n# type Mutation {\n# # You should always return the whole object in a mutation, not only a boolean. This will help in browser caching\n# }\n\n```"
}
] |
code_hermes_76c0862e
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of hermes/node/package.json from the hermes VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"dependencies\": {\n \"ramda\": \"^0.26.1\"\n },\n \"devDependencies\": {\n \"@types/bluebird\": \"^3.5.25\",\n \"@types/node\": \"^10.12.17\",\n \"@types/ramda\": \"types/npm-ramda#dist\",\n \"@vtex/api\": \"^3.8.1\",\n \"prettier\": \"^1.16.4\",\n \"tslint\": \"^5.12.0\",\n \"tslint-config-vtex\": \"^2.1.0\",\n \"typescript\": \"3.5.2\"\n },\n \"scripts\": {\n \"lint\": \"tsc --noEmit && tslint -c tslint.json './**/*.ts'\"\n }\n}\n\n```"
}
] |
code_hermes_3c0662c9
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of hermes/node/index.ts from the hermes VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```typescript\nimport { Service, ServiceContext } from '@vtex/api'\n\nimport { Clients } from './clients'\nimport getGitHubStatus from './resolvers/status'\n\nconst MEDIUM_TIMEOUT_MS = 30 * 1000\n\ndeclare global {\n // We declare a global Context type just to avoid re-writing ServiceContext<Clients, State> in every handler and resolver\n type Context = ServiceContext<Clients>\n}\n\n// Export a service that defines resolvers and clients' options\nexport default new Service<Clients>({\n clients: {\n implementation: Clients,\n options: {\n default: {\n retries: 5,\n timeout: MEDIUM_TIMEOUT_MS,\n },\n },\n },\n graphql: {\n resolvers: {\n // Mutation: {},\n Query: {\n getGitHubStatus,\n },\n },\n },\n})\n\n```"
}
] |
code_hermes_cd0db48c
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of hermes/pages/interfaces.json from the hermes VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"app\": {\n \"component\": \"*\",\n \"render\": \"client\"\n },\n \"app.hermes\": {\n \"component\": \"index\",\n \"render\": \"client\"\n }\n}\n\n```"
}
] |
code_hermes_041e698f
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of hermes/react/index.tsx from the hermes VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```tsx\n/* eslint-disable no-console */\nimport React from 'react'\nimport { PageBlock, Alert } from 'vtex.styleguide'\n\nimport Logo from './components/Logo'\nimport Speedometer from './components/Speedometer'\n\nexport default class App extends React.Component {\n public state: {\n wifiStatus: boolean\n slackStatus: boolean\n }\n public constructor(props: any) {\n super(props)\n this.state = {\n wifiStatus: true,\n slackStatus: true,\n }\n }\n\n public async componentDidMount() {\n window.addEventListener('online', () => this.setState({ wifiStatus: true }))\n window.addEventListener('offline', () =>\n this.setState({ wifiStatus: false })\n )\n }\n\n public componentWillUnmount() {\n window.removeEventListener('online', () => {})\n window.removeEventListener('offline', () => {})\n }\n\n public render() {\n const { wifiStatus } = this.state\n return (\n <div\n className=\"flex justify-center pb7 bg-muted-5 min-vh-100\"\n style={{ backgroundColor: '#333' }}>\n <div className=\"w-100 ph10 pv5\">\n <div className=\"flex flex-row items-center\">\n <Logo />\n <h2 className=\"ml3 c-muted-5\">H E R M E S</h2>\n </div>\n <PageBlock variation=\"aside\">\n <div>\n <Alert type={wifiStatus ? 'success' : 'error'}>{`wifi is ${\n wifiStatus ? 'online' : 'offline'\n }`}</Alert>\n </div>\n <Speedometer />\n </PageBlock>\n </div>\n </div>\n )\n }\n}\n\n```"
}
] |
code_hermes_161d82f0
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of hermes/react/package.json from the hermes VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"scripts\": {\n \"lint\": \"tsc --noEmit && eslint --quiet --fix --ext ts,tsx .\",\n \"test\": \"vtex-test-tools test\"\n },\n \"dependencies\": {\n \"apollo-client\": \"^2.6.3\",\n \"react\": \"^16.8.6\",\n \"react-apollo\": \"^2.5.8\",\n \"react-d3-speedometer\": \"^0.7.0\",\n \"react-dom\": \"^16.8.6\",\n \"react-intl\": \"^2.9.0\"\n },\n \"devDependencies\": {\n \"@types/graphql\": \"^14.2.2\",\n \"@types/react\": \"^16.8.22\",\n \"@types/react-intl\": \"^2.3.18\",\n \"@vtex/test-tools\": \"^0.3.2\",\n \"eslint\": \"5.x\",\n \"eslint-config-vtex-react\": \"^5.0.1\",\n \"prettier\": \"^1.18.2\",\n \"prop-types\": \"^15.7.2\",\n \"typescript\": \"3.5.2\"\n }\n}\n\n```"
}
] |
code_hermes_860c01f9
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of hermes/node/clients/index.ts from the hermes VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```typescript\nimport { IOClients } from '@vtex/api'\n\nimport GitHubStatusClient from './status'\n\nexport class Clients extends IOClients {\n get status() {\n return this.getOrSet('status', GitHubStatusClient)\n }\n}\n\n```"
}
] |
code_hermes_477dff83
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of hermes/node/resolvers/status.ts from the hermes VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```typescript\nasync function getGitHubStatus(_: string, __: any, ctx: Context) {\n const deliveryApps = await ctx.clients.status.getStatus()\n return deliveryApps\n}\n\nexport default getGitHubStatus\n\n```"
}
] |
code_hermes_45b42a5a
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of hermes/node/clients/status/index.ts from the hermes VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```typescript\nimport { ExternalClient, InstanceOptions, IOContext } from '@vtex/api'\n\nexport default class GitHubStatusClient extends ExternalClient {\n public constructor(context: IOContext, options?: InstanceOptions) {\n super('https://kctbh9vrtdwd.statuspage.io', context, {\n ...options,\n retries: 3,\n timeout: 25000,\n })\n }\n\n public getStatus = () => {\n return this.http.get<string>('api/v2/status.json')\n }\n}\n\n```"
}
] |
code_hermes_ded626cc
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of hermes/node/clients/github/index.ts from the hermes VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```typescript\nimport { ExternalClient, InstanceOptions, IOContext } from '@vtex/api'\n\nexport default class GitHubStatusClient extends ExternalClient {\n public constructor(context: IOContext, options?: InstanceOptions) {\n super('https://kctbh9vrtdwd.statuspage.io', context, {\n ...options,\n retries: 3,\n timeout: 25000,\n })\n }\n\n public getStatus = () => {\n return this.http.get<string>('api/v2/status.json')\n }\n}\n\n```"
}
] |
code_hermes_96b5b5a1
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of hermes/react/components/Speedometer.tsx from the hermes VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```tsx\n/* eslint-disable no-console */\nimport React from 'react'\nimport ReactSpeedometer from 'react-d3-speedometer'\nimport { Tag } from 'vtex.styleguide'\n\nimport Logo from './components/Logo'\n\nexport default class App extends React.Component {\n public state: {\n wifiSpeed: number\n }\n public constructor(props: any) {\n super(props)\n this.state = {\n wifiSpeed: 420,\n }\n }\n\n public async componentDidMount() {\n const getRandomInt = (min: number, max: number) => {\n min = Math.ceil(min)\n max = Math.floor(max)\n return Math.floor(Math.random() * (max - min)) + min\n }\n const loop: any = () =>\n setTimeout(() => {\n const { wifiSpeed } = this.state\n this.setState({\n wifiSpeed:\n wifiSpeed > 440\n ? wifiSpeed - getRandomInt(5, 10)\n : wifiSpeed < 400\n ? wifiSpeed + getRandomInt(5, 10)\n : wifiSpeed - getRandomInt(5, 10),\n })\n loop()\n }, getRandomInt(420, 840))\n\n loop()\n }\n\n public render() {\n const { wifiSpeed } = this.state\n return (\n <div className=\"flex flex-column\">\n <div className=\"center\" style={{ width: 300, height: 170 }}>\n <ReactSpeedometer\n maxValue={500}\n value={wifiSpeed}\n needleColor=\"black\"\n startColor=\"red\"\n segments={10}\n endColor=\"green\"\n />\n </div>\n <span className=\"mt4 tc\">\n WiFi Speed\n <span className=\"ml4\">\n <Tag\n type={wifiSpeed > 400 ? 'success' : 'warning'}\n variation=\"low\">\n {`ping ${Math.floor(wifiSpeed / 10)}`}\n </Tag>\n </span>\n </span>\n </div>\n )\n }\n}\n\n```"
}
] |
code_hermes_da53ff4e
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of hermes/react/components/Logo.tsx from the hermes VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```tsx\nimport React from 'react'\n\ninterface Props {\n color?: string\n height?: string\n width?: string\n}\n\nconst Logo: React.FC<Props> = ({\n color = \"#fff\",\n height = '32pt',\n width = '32pt',\n}) => {\n return (\n <svg xmlns=\"http://www.w3.org/2000/svg\" height={height} viewBox=\"0 -88 512.00006 512\" width={width}>\n <path fill={color} d=\"m88.660156 120.785156c1.753906 1.257813 3.777344 1.863282 5.78125 1.863282 3.089844 0 6.136719-1.4375 8.074219-4.136719l.164063-.226563c3.1875-4.460937 2.152343-10.664062-2.308594-13.851562-4.464844-3.1875-10.664063-2.152344-13.851563 2.308594l-.132812.183593c-3.199219 4.453125-2.179688 10.660157 2.273437 13.859375zm0 0\"/>\n <path fill={color} d=\"m511.34375 8.578125c-.5625-4.097656-3.609375-7.417969-7.644531-8.332031-4.035157-.914063-8.214844.773437-10.484375 4.230468-25.773438 39.203126-88.96875 32.328126-114.945313 27.554688-3.617187-.667969-7.304687-1.601562-11.210937-2.59375-14.09375-3.574219-30.0625-7.628906-46.3125.980469-3.683594 1.949219-9.066406 5.714843-12.773438 12.210937-22.242187-9.09375-45.792968-13.707031-70.171875-13.707031-46.296875 0-90.660156 17.125-124.917969 48.214844-4.058593 3.6875-4.363281 9.964843-.675781 14.027343 1.957031 2.160157 4.648438 3.253907 7.351563 3.253907 2.378906 0 4.769531-.847657 6.671875-2.574219 30.59375-27.769531 70.21875-43.0625 111.570312-43.0625 23.042969 0 45.25 4.613281 66.113281 13.691406.480469 7.09375 2.648438 15.558594 7.398438 25.667969 3.890625 8.277344 2.964844 17.089844-2.753906 26.191406-9.980469 15.882813-32.308594 28.347657-44.757813 28.46875-7.53125 0-14.613281 2.933594-19.9375 8.257813-5.324219 5.324218-8.257812 12.40625-8.257812 19.933594 0 16.105468 15.980469 28.875 42.746093 34.15625 13.757813 2.714843 38.238282 4.257812 52.328126-4.078126 5.207031 4.46875 12.277343 8.953126 20.0625 8.949219 2.261718 0 4.585937-.378906 6.941406-1.246093 8.535156-3.144532 14.464844-11.847657 17.617187-25.867188.390625-1.730469.710938-3.433594.980469-5.054688 8.722656 1.5625 16.507812 1.371094 23.304688-.554687 2.265624 9.804687 3.652343 19.816406 4.109374 29.933594-54.179687 13.84375-109.949218 20.859375-165.894531 20.859375-55.945312 0-111.714843-7.015625-165.898437-20.859375 1-22.519531 6.453125-44.167969 16.242187-64.460938 2.382813-4.9375.3125-10.875-4.625-13.253906-4.9375-2.386719-10.875-.3125-13.257812 4.625-11.59375 24.023437-17.742188 49.738281-18.328125 76.492187l-48.972656 48.238282c-2.207032 2.175781-3.273438 5.257812-2.8789068 8.332031.3906248 3.074219 2.1953128 5.789063 4.8828128 7.339844 70.691406 40.816406 151.207031 62.386719 232.835937 62.386719 81.632813 0 162.144531-21.570313 232.835938-62.386719 2.6875-1.550781 4.492187-4.265625 4.886719-7.339844.394531-3.074219-.675782-6.15625-2.882813-8.332031l-48.96875-48.230469c-.339844-15.179687-2.507813-30.179687-6.46875-44.730469 4.921875-5.933594 7.394531-12.789062 8.632813-18.257812 12.902343-.9375 22.265624-5.546875 27.890624-13.757813 6.375-9.296875 5.902344-20.503906 4.21875-28.644531 25.210938-8.53125 42.375-26.941406 49.9375-53.765625 6.21875-22.066406 3.578126-42.066406 3.460938-42.90625zm-273.542969 308.496094c-73.78125 0-146.609375-18.410157-211.46875-53.347657l38.429688-37.855468c56.488281 14.636718 114.667969 22.078125 173.039062 22.078125 58.371094 0 116.550781-7.441407 173.039063-22.078125l38.433594 37.855468c-64.863282 34.9375-137.691407 53.347657-211.472657 53.347657zm205.769531-228.421875c-.175781.035156-.355468.078125-.535156.121094-11 2.578124-23.464844 3.164062-36.054687 1.699218-5.433594-.628906-10.378907 3.265625-11.011719 8.710938-.636719 5.449218 3.265625 10.378906 8.710938 11.011718 11.566406 1.347657 23.113281 1.207032 33.902343-.382812.839844 4.507812.957031 9.664062-1.234375 12.859375-3.570312 5.210937-13.890625 5.511719-19.722656 5.226563-2.746094-.128907-5.382812.863281-7.351562 2.75-1.96875 1.890624-3.078126 4.503906-3.058594 7.230468 0 .121094-.265625 12.226563-7.921875 17.84375-7.402344 5.441406-19.65625 3.148438-28.636719.269532-2.964844-.953126-6.203125-.449219-8.75 1.339843-2.546875 1.796875-4.105469 4.683594-4.207031 7.796875-.398438 12.003906-4.121094 23.789063-6.835938 25.003906-.035156-.015624-3.984375.046876-12.804687-9.675781-1.898438-2.09375-4.578125-3.257812-7.351563-3.257812-.570312 0-1.140625.050781-1.714843.148437-3.300782.578125-6.085938 2.785156-7.40625 5.859375-.730469.84375-5.398438 3.714844-17.207032 4.230469-10.492187.464844-22.507812-1.167969-32.144531-4.355469-11.585937-3.832031-16.773437-8.832031-16.773437-12.089843 0-2.226563.867187-4.316407 2.441406-5.890626 1.574218-1.574218 3.667968-2.441406 5.992187-2.441406 18.339844-.179687 47.421875-15.394531 61.476563-37.765625 9.410156-14.980469 10.765625-30.609375 3.910156-45.195312-7.820312-16.648438-7.566406-27.324219.757812-31.730469 9.484376-5.027344 19.984376-2.367188 32.136719.71875 4.046875 1.027344 8.234375 2.089844 12.503907 2.871094 25.007812 4.601562 80.246093 10.582031 116.511718-16.453125-2.902344 19.871093-13.402344 46.050781-47.621094 53.546875zm0 0\"/>\n <path fill={color} d=\"m379.015625 83.34375-.519531-.230469c-5.007813-2.238281-10.878906.003907-13.117188 5.011719-2.238281 5.003906.007813 10.878906 5.011719 13.117188l.699219.308593c1.289062.5625 2.632812.828125 3.957031.828125 3.832031 0 7.480469-2.230468 9.109375-5.964844 2.191406-5.027343-.109375-10.878906-5.140625-13.070312zm0 0\"/>\n </svg>\n )\n}\n\nexport default Logo\n```"
}
] |
code_hermes_cb58ed0c
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of hermes/react/__tests__/index.test.tsx from the hermes VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```tsx\ndescribe('Orders List Scenarios', () => {\n it('should work', () => {\n expect(1).toBe(1)\n })\n})\n\n```"
}
] |
code_rewriter-pages-draft_b58a8fdd
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of rewriter-pages-draft/docs/README.md from the rewriter-pages-draft VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```markdown\n## 🚨 Disclaimer - Template Application\n>:warning: **This project is not maintained by VTEX, and this app is provided as a working example on how this feature can be implemented. Improvements and fixes will be on the implementation team side.**\n>\n>All template applications provided are developed by the VTEX community, you can use them freely.\n\n \n# Rewriter Page Draft\nThis app blocks any request made to `/_draft/` folder from public access. The app is a template for building applications that block public access to specific routes, while mantaining all these routes accesible from myvtex.com domain.\n\n \n# Usage\nFor testing it you can install the app via VTEX Toolbelt. \n\n```bash\n vtex install vtex.rewriter-pages-draft@0.x\n```\n\n## How it works?\nAfter installing the app, all request to URLs starting with `/_draft/` will return a 404 error if navigated from the public domain. These routes will still be available from the yvtex.com domain.\n\nFrom a CMS perspective, this feature allows the user to create draft pages and work on them, while not making them public. Creating a page with a URL starting with `/_draft/` will make the trick. The page content will be available from the site editor in order to work on it, and a preview can be navigated using the myvtex domain.\n\nOnce the content is finished, the page can be **published** just removing the `/_draft/` segment from the page URL.\n\n## Possible Uses\nThis app can be used for blocking any public access while mainting the autenticated access using myvtex.com domain. Also can be used to restric access based on other conditions. Basically, this app allows to rewrite the request internally based on specific conditions.\n\n\n<!-- DOCS-IGNORE:start -->\n\n \n# Contributors ✨\n\nThanks goes to these wonderful people:\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<!-- markdownlint-enable -->\n<!-- prettier-ignore-end -->\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n\n<!-- DOCS-IGNORE:end -->\n\n```"
}
] |
code_rewriter-pages-draft_3ef0886c
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of rewriter-pages-draft/node/service.json from the rewriter-pages-draft VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"memory\": 256,\n \"ttl\": 10,\n \"timeout\": 2,\n \"minReplicas\": 2,\n \"maxReplicas\": 4,\n \"workers\": 1,\n \"routes\": {\n \"routing\": {\n \"path\": \"/_draft/*path\",\n \"public\": true,\n \"smartcache\": true,\n \"rootOnly\": true\n }\n }\n}\n\n```"
}
] |
code_rewriter-pages-draft_2bdec3cb
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of rewriter-pages-draft/node/package.json from the rewriter-pages-draft VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"dependencies\": {\n \"co-body\": \"^6.0.0\",\n \"ramda\": \"^0.25.0\"\n },\n \"devDependencies\": {\n \"@types/co-body\": \"^0.0.3\",\n \"@types/jest\": \"^24.0.18\",\n \"@types/node\": \"^12.0.0\",\n \"@types/ramda\": \"types/npm-ramda#dist\",\n \"@vtex/api\": \"6.45.12\",\n \"@vtex/test-tools\": \"^1.0.0\",\n \"@vtex/tsconfig\": \"^0.5.6\",\n \"typescript\": \"3.9.7\"\n },\n \"scripts\": {\n \"lint\": \"tsc --noEmit --pretty\"\n },\n \"version\": \"0.2.0\"\n}\n\n```"
}
] |
code_rewriter-pages-draft_b3b27767
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of rewriter-pages-draft/node/index.ts from the rewriter-pages-draft VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```typescript\nimport type { ClientsConfig, ServiceContext, RecorderState } from '@vtex/api'\nimport { LRUCache, method, Service } from '@vtex/api'\n\nimport { Clients } from './clients'\nimport { proxy } from './middlewares/proxy'\n\nconst TIMEOUT_MS = 800\n\n// Create a LRU memory cache for the Status client.\n// The @vtex/api HttpClient respects Cache-Control headers and uses the provided cache.\nconst memoryCache = new LRUCache<string, any>({ max: 5000 })\n\n//metrics.trackCache('status', memoryCache)\n\n// This is the configuration for clients available in `ctx.clients`.\nconst clients: ClientsConfig<Clients> = {\n // We pass our custom implementation of the clients bag, containing the Status client.\n implementation: Clients,\n options: {\n // All IO Clients will be initialized with these options, unless otherwise specified.\n default: {\n retries: 2,\n timeout: TIMEOUT_MS,\n },\n // This key will be merged with the default options and add this cache to our Proxy client.\n proxy: {\n memoryCache,\n },\n },\n}\n\ndeclare global {\n // We declare a global Context type just to avoid re-writing ServiceContext<Clients, State> in every handler and resolver\n type Context = ServiceContext<Clients, State>\n\n // The shape of our State object found in `ctx.state`. This is used as state bag to communicate between middlewares.\n interface State extends RecorderState {\n code: number\n }\n}\n\n// Export a service that defines route handlers and client options.\nexport default new Service({\n clients,\n routes: {\n // `status` is the route ID from service.json. It maps to an array of middlewares (or a single handler).\n routing: method({\n GET: [proxy],\n }),\n },\n})\n\n```"
}
] |
code_rewriter-pages-draft_656e7917
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of rewriter-pages-draft/node/clients/proxy.ts from the rewriter-pages-draft VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```typescript\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { ExternalClient, InstanceOptions, IOContext } from '@vtex/api'\nimport { AxiosResponse } from 'axios'\n\nconst baseURL = ({ workspace, account }: IOContext) => {\n return `http://${workspace}--${account}.myvtex.com`\n}\n\nexport class IOInternalProxy extends ExternalClient {\n constructor(ctx: IOContext, opts?: InstanceOptions) {\n super(baseURL(ctx), ctx, opts)\n }\n\n // TODO: Add Inflight to this call\n public getStream = (path: string, headers: Record<string, string>) =>\n (this.http as any).request({\n headers,\n responseType: 'stream',\n transformResponse: (x: any) => x,\n url: path,\n validateStatus: (_: any) => true,\n }) as Promise<AxiosResponse>\n\n public evaluate = (path: string) => {\n //console.log(\"storeUserAuthToken\",this.context.storeUserAuthToken)\n //console.log(\"adminUserAuthToken\",this.context.adminUserAuthToken)\n //console.log(\"authToken\",this.context.authToken)\n\n return this.http.get(\n `http://app.io.vtex.com/vtex.rewriter/v1/${this.context.account}/${this.context.workspace}/evaluate${path}`, \n {\n headers: {VtexIdclientAutCookie: this.context.authToken}\n }\n )\n }\n\n}\n```"
}
] |
code_rewriter-pages-draft_7e12982a
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of rewriter-pages-draft/node/clients/index.ts from the rewriter-pages-draft VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```typescript\nimport { IOClients } from '@vtex/api'\n\nimport {IOInternalProxy} from './proxy'\n\n// Extend the default IOClients implementation with our own custom clients.\nexport class Clients extends IOClients {\n public get proxy() {\n return this.getOrSet('proxy', IOInternalProxy)\n }\n}\n\n```"
}
] |
code_rewriter-pages-draft_e0e7f14f
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of rewriter-pages-draft/node/middlewares/proxy.ts from the rewriter-pages-draft VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```typescript\n\nimport { forEachObjIndexed, pick, endsWith } from 'ramda'\n\nconst HEADERS_TO_SEND = [\n 'accept',\n 'accept-language',\n 'content-length',\n 'content-type',\n 'rest-range',\n 'x-forwarded-host',\n 'x-forwarded-path',\n 'x-vtex-root-path',\n 'cloudfront-is-mobile-viewer',\n 'cloudfront-is-tablet-viewer',\n 'cloudfront-viewer-country',\n 'vtex-io-device-type',\n 'vtex-io-viewer-country',\n]\n\nconst HEADERS_TO_RESPOND = [\n 'content-type',\n 'cache-control',\n 'access-control-allow-origin',\n 'access-control-allow-credentials',\n 'access-control-allow-headers',\n 'x-frame-options',\n 'x-vtex-etag-control',\n]\n\nconst ORIGINAL_PATH_HEADER = 'x-vtex-original-path'\nconst FORWARDED_PATH_HEADER = 'x-forwarded-path'\n\nconst isReestrictedHost = (host: string) => endsWith('myvtex.com', host)\n\nconst proxyCall = async function(ctx: Context, evaluate: boolean) {\n const {\n clients: { proxy }\n } = ctx\n\n let href: string\n\n if (evaluate) {\n const reponse_eval = await proxy.evaluate(ctx.url)\n href = reponse_eval.href\n }\n else {\n href = ctx.url\n }\n const segmentToken = ctx.cookies.get('vtex_segment')\n const sessionToken = ctx.cookies.get('vtex_session')\n const bindingAddress = ctx.cookies.get('vtex_binding_address')\n const segmentCookie = segmentToken ? `vtex_segment=${segmentToken};` : ''\n const sessionCookie = sessionToken ? `vtex_session=${sessionToken};` : ''\n const bindingAddressCookie = bindingAddress\n ? `vtex_binding_address=${bindingAddress}`\n : ''\n const cookie = `VtexIdclientAutCookie=${ctx.vtex.authToken};${segmentCookie};${sessionCookie};${bindingAddressCookie}`\n\n const forwardedPath = ctx.get(FORWARDED_PATH_HEADER)\n\n const originalPathHeader = forwardedPath\n ? { [ORIGINAL_PATH_HEADER]: encodeURI(forwardedPath) }\n : null\n\n const canonicalPathHeader = forwardedPath\n ? { [ORIGINAL_PATH_HEADER]: encodeURI(forwardedPath) }\n : null\n\n const response = await proxy.getStream(href, {\n ...pick(HEADERS_TO_SEND, ctx.request.headers),\n cookie,\n ...originalPathHeader,\n ...canonicalPathHeader,\n })\n\n ctx.status = response.status || 500\n\n ctx.body = response.data\n\n // Set response headers based on service's response headers\n if (response.headers.vary) {\n ctx.vary(response.headers.vary)\n }\n\n const headersToRespond = pick(HEADERS_TO_RESPOND, response.headers)\n forEachObjIndexed(\n (value:string, header) => value && ctx.set(header, value),\n headersToRespond\n )\n \n if (response.headers['content-encoding']) {\n ctx.set(\n 'Content-Encoding', response.headers['content-encoding']\n )\n }\n}\n\nexport async function proxy(ctx: Context, next: () => Promise<any>) {\n if (isReestrictedHost(ctx.host)) {\n await proxyCall(ctx, true)\n }\n else {\n ctx.path = '/_v/segment/routing/vtex.store@2.x/notFoundSearch/search' + ctx.path\n await proxyCall(ctx, false)\n }\n await next()\n}\n\n\n```"
}
] |
code_product-kit_270eb275
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of product-kit/messages/pt.json from the product-kit VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"admin/editor.productKitList.title\": \"Kit de Produtos\",\n \"admin/editor.productKitList.description\": \"O componente de kit de produtos exibe uma lista horizontal de produtos que pertencem ao kit\",\n \"admin/editor.productKitList.allowSwap\": \"Permitir Troca\",\n \"admin/editor.productKitList.allowRemoval\": \"Permitir Remoção\",\n \"admin/editor.productKitList.showArrows\": \"Mostrar Setas\",\n \"admin/editor.productKitList.nextArrow\": \"Seta Direita\",\n \"admin/editor.productKitList.prevArrow\": \"Seta Esquerda\",\n \"admin/editor.productKitList.showDots\": \"Mostrar Pontos\",\n \"admin/editor.productKitList.dot\": \"Ponto\",\n \"admin/editor.productKitList.showListPrice\": \"Mostrar lista de preços\",\n \"admin/editor.productKitList.showLabels\": \"Mostrar rótulos\",\n \"admin/editor.productKitList.showInstallments\": \"Mostrar parcelamentos\",\n \"admin/editor.productKitList.showBadge\": \"Mostrar badge\",\n \"admin/editor.productKitList.badgeText\": \"Texto da badge\",\n \"store/productKitList.takeAll\": \"Leve os {numberOfItems} produtos\",\n \"store/productKitList.buildYourBundle\": \"Monte seu Kit\",\n \"store/productKitList.swapItem\": \"Trocar\",\n \"store/productKitList.buyKit\": \"Comprar Kit\"\n}\n\n```"
}
] |
code_product-kit_3cb5dde2
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of product-kit/messages/en.json from the product-kit VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"admin/editor.productKitList.title\": \"Product Kit\",\n \"admin/editor.productKitList.description\": \"The Product Kit component display a horizontal list of products to buy together\",\n \"admin/editor.productKitList.allowSwap\": \"Allow Swap\",\n \"admin/editor.productKitList.allowRemoval\": \"Allow Removal\",\n \"admin/editor.productKitList.showArrows\": \"Show Arrows\",\n \"admin/editor.productKitList.nextArrow\": \"Next Arrow\",\n \"admin/editor.productKitList.prevArrow\": \"Prev Arrow\",\n \"admin/editor.productKitList.showDots\": \"Show Dots\",\n \"admin/editor.productKitList.dot\": \"Dot\",\n \"admin/editor.productKitList.showListPrice\": \"Show list price\",\n \"admin/editor.productKitList.showLabels\": \"Show labels\",\n \"admin/editor.productKitList.showInstallments\": \"Show installments\",\n \"admin/editor.productKitList.showBadge\": \"Show badge\",\n \"admin/editor.productKitList.badgeText\": \"Badge Text\",\n \"store/productKitList.takeAll\": \"Take all {numberOfItems} products\",\n \"store/productKitList.buildYourBundle\": \"Build your bundle\",\n \"store/productKitList.swapItem\": \"Swap\",\n \"store/productKitList.buyKit\": \"Buy Kit\"\n}\n\n```"
}
] |
code_product-kit_97b7b734
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of product-kit/messages/context.json from the product-kit VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"admin/editor.productKitList.title\": \"admin/editor.productKitList.title\",\n \"admin/editor.productKitList.allowSwap\": \"admin/editor.productKitList.allowSwap\",\n \"admin/editor.productKitList.allowRemoval\": \"admin/editor.productKitList.allowRemoval\",\n \"admin/editor.productKitList.showArrows\": \"admin/editor.productKitList.showArrows\",\n \"admin/editor.productKitList.nextArrow\": \"admin/editor.productKitList.nextArrow\",\n \"admin/editor.productKitList.prevArrow\": \"admin/editor.productKitList.prevArrow\",\n \"admin/editor.productKitList.showDots\": \"admin/editor.productKitList.showDots\",\n \"admin/editor.productKitList.dot\": \"admin/editor.productKitList.dot\",\n \"admin/editor.productKitList.description\": \"admin/editor.productKitList.description\",\n \"admin/editor.productKitList.showListPrice\": \"admin/editor.productKitList.showListPrice\",\n \"admin/editor.productKitList.showLabels\": \"admin/editor.productKitList.showLabels\",\n \"admin/editor.productKitList.showInstallments\": \"admin/editor.productKitList.showInstallments\",\n \"admin/editor.productKitList.showBadge\": \"admin/editor.productKitList.showBadge\",\n \"admin/editor.productKitList.badgeText\": \"admin/editor.productKitList.badgeText\",\n \"store/productKitList.takeAll\": \"store/productKitList.takeAll\",\n \"store/productKitList.buildYourBundle\": \"store/productKitList.buildYourBundle\",\n \"store/productKitList.swapItem\": \"store/productKitList.swapItem\",\n \"store/productKitList.buyKit\": \"store/productKitList.buyKit\"\n}\n\n```"
}
] |
code_product-kit_1c30dc9b
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of product-kit/messages/es.json from the product-kit VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"admin/editor.productKitList.title\": \"Kit de Productos\",\n \"admin/editor.productKitList.allowSwap\": \"Pemitir Permuta\",\n \"admin/editor.productKitList.allowRemoval\": \"Pemitir Remoción\",\n \"admin/editor.productKitList.showArrows\": \"Mostrar Flechas\",\n \"admin/editor.productKitList.nextArrow\": \"Flecha Siguiente\",\n \"admin/editor.productKitList.prevArrow\": \"Flecha Anterior\",\n \"admin/editor.productKitList.showDots\": \"Mostrar Puntos\",\n \"admin/editor.productKitList.dot\": \"Punto\",\n \"admin/editor.productKitList.description\": \"El component de kit de productos muestra una lista horizontal de productos que pertenecen al kit\",\n \"admin/editor.productKitList.showListPrice\": \"Mostrar lista de precios\",\n \"admin/editor.productKitList.showLabels\": \"Mostrar las etiquetas\",\n \"admin/editor.productKitList.showInstallments\": \"Mostrar parcelas\",\n \"admin/editor.productKitList.showBadge\": \"Mostrar badge\",\n \"admin/editor.productKitList.badgeText\": \"Texto de badge\",\n \"store/productKitList.takeAll\": \"Ileve los {numberOfItems} productos\",\n \"store/productKitList.buildYourBundle\": \"Monte su Kit\",\n \"store/productKitList.swapItem\": \"Intercambiar\",\n \"store/productKitList.buyKit\": \"Comprar Kit\"\n}\n\n```"
}
] |
code_product-kit_aa09593a
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of product-kit/docs/README.md from the product-kit VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```markdown\n# VTEX Product Kit \n\n\n\n> ⚠️ ***The Product Kit app has been deprecated.** Although support for this app is still granted by VTEX, we strongly recommend you to update your store theme in order to keep up with the framework's evolution!*\n\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\n[](#contributors-)\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\n\n## Description\n\nThe VTEX product kit app shows two or more products as a kit. Usually these products are sold together and offer a discount. This app is used by store theme.\n\n:loudspeaker: **Disclaimer:** Don't fork this project, use, contribute, or open issue with your feature request.\n\n## Release schedule\n\n| Release | Status | Initial Release | Maintenance LTS Start | End-of-life | Store Compatibility |\n| :-----: | :-----------------: | :-------------: | :-------------------: | :---------: | :-----------------: |\n| [1.x] | **Current Release** | 2018-11-05 | | | 2.x |\n| [0.x] | **Maintenance LTS** | 2018-07-06 | 2018-11-05 | March 2019 | 1.x |\n\nSee our [LTS policy](https://github.com/vtex-apps/awesome-io#lts-policy) for more information.\n\n## Table of Contents\n\n- [Usage](#usage)\n - [Blocks API](#blocks-api)\n - [Configuration](#configuration)\n - [Styles API](#styles-api)\n - [CSS namespaces](#css-namespaces)\n- [Troubleshooting](#troubleshooting)\n- [Contributing](#contributing)\n- [Tests](#tests)\n\n## Usage\n\nThis app uses our store builder with the blocks architecture. To know more about Store Builder [click here.](https://help.vtex.com/en/tutorial/understanding-storebuilder-and-stylesbuilder#structuring-and-configuring-our-store-with-object-object)\n\nWe add the product-kit as a block in our [Store](https://github.com/vtex-apps/store/blob/master/store/interfaces.json).\n\nTo configure or customize this app, you need to import it in your dependencies in `manifest.json`.\n\n```json\n dependencies: {\n \"vtex.product-kit\": \"1.x\"\n }\n```\n\nThen, add `product-kit` block into our app theme as we do in our [Store theme app](https://github.com/vtex-apps/store-theme/blob/master/store/blocks.json).\n\nNow, you can change the behavior of the `product-kit` block. See an example of how to configure:\n\n```json\n\"product-kit\": {\n \"blocks\": [\n \"product-summary\"\n ],\n \"props\":{\n \"showArrows\": true,\n \"nextArrow\": \"next\",\n \"prevArrow\": \"prev\",\n \"showDots\": true,\n \"dots\": \"dots\",\n \"showListPrice\": true,\n \"showLabel\": true,\n \"showInstallments\": true,\n \"showBadge\": true,\n \"badgeText\": \"badge\",\n \"showCollections\": true,\n \"allowSwap\": true,\n \"allowRemoval\": true,\n }\n }\n```\n\n### Blocks API\n\nThis app has an interface that describes what rules must be implemented by a block when you want to use the product kit.\n\n```json\n \"product-kit\": {\n \"required\": [\n \"product-summary\"\n ],\n \"component\": \"index\"\n }\n}\n```\n\nThe product kit has as a required block the `product-summary`. So, any product kit block implementation created must add a product-summary as a block that is inside of product kit. (Similarly, `product-summary` has its own inner block structure that can be configured. There is a link to its API in the next section.)\n\n### Configuration\n\nThrough the Storefront you can change the behavior and interface of `ProductKit`. But, you can also make adjusts in your theme app, like Store does.\n\n| Prop name | Type | Description | Default Value |\n| ------------------ | --------- | -------------------------------------- | ------------------------------------------ |\n| `showArrows` | `Boolean` | Show or not the arrows | true |\n| `nextArrow` | `String` | Next arrow icon | `''` |\n| `prevArrow` | `String` | Previous arrow icon | `''` |\n| `showDots` | `Boolean` | Show or not the slider dots | true |\n| `dots` | `String` | Slider dots icon | `''` |\n| `showListPrice` | `Boolean` | Show or not the list price | true |\n| `showLabels` | `Boolean` | Show or not the labels \"from\" and \"to\" | false |\n| `showInstallments` | `Boolean` | Show or not the installments | false |\n| `showBadge` | `Boolean` | Show or not the discount badge | false |\n| `badgeText` | `String` | Text of the discount badge | `Badge Text/Texto de badge/Texto da badge` |\n| `showCollections` | `Boolean` | Show or not the collections badges | true |\n| `allowSwap` | `Boolean` | Allow or not the item swap | true |\n| `allowRemoval` | `Boolean` | Allow or not the item removal | true |\n\nAlso, you can configure the product summary that is defined on product-kit. See [here](https://github.com/vtex-apps/product-summary/blob/master/README.md#configuration) the Product Summary API.\n\n### Styles API\n\nThis app provides some CSS classes as an API for style customization.\n\nTo use this CSS API, you must add the `styles` builder and create an app styling CSS file.\n\n1. Add the `styles` builder to your `manifest.json`:\n\n```json\n \"builders\": {\n \"styles\": \"1.x\"\n }\n```\n\n2. Create a file called `vtex.product-kit.css` inside the `styles/css` folder. Add your custom styles:\n\n```css\n.container {\n margin-top: 10px;\n}\n```\n\n#### CSS namespaces\n\nBelow, we describe the namespaces that are define in the `ProductKit`.\n\n| Class name | Description | Component Source |\n| --------------- | ---------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------- |\n| `container` | A wrapper that envolves all the elements of the product kit, responsible for the main margins and paddings | [ProductKitContent](/react/components/ProductKitContent.js) |\n| `listContainer` | The container for the products and final prices | [index](/react/index.js) |\n| `listDetails` | The container for the total price of the kit | [ListDetails](/react/components/ProductKitDetails.js) |\n| `item` | The container of one product | [ProductKitItem](/react/components/ProductKitItem.js) |\n\n## Troubleshooting\n\nYou can check if others are passing through similar issues [here](https://github.com/vtex-apps/product-kit/issues). Also feel free to [open issues](https://github.com/vtex-apps/product-kit/issues/new) or contribute with pull requests.\n\n## Contributing\n\nCheck it out [how to contribute](https://github.com/vtex-apps/awesome-io#contributing) with this project. \n\n## Tests\n\nTo execute our tests go to `react/` folder and run `yarn test`\n\n### Travis CI\n\n[](https://travis-ci.org/vtex-apps/product-kit)\n[](https://coveralls.io/github/vtex-apps/product-kit?branch=master)\n\n## Contributors ✨\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<!-- markdownlint-enable -->\n<!-- prettier-ignore-end -->\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n\n```"
}
] |
code_product-kit_f0ffb46d
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of product-kit/react/styles.css from the product-kit VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```css\n.listDetails {\n width: 15rem;\n}\n\n.container {}\n\n.item {}\n\n.listContainer {}\n```"
}
] |
code_product-kit_207d39e4
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of product-kit/react/global.css from the product-kit VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```css\n.vtex-product-kit-1-x-listContainer .vtex-store-components-3-x-dots li button:before {\t\n font-size: 1vw;\t\n}\n```"
}
] |
code_product-kit_9986b51a
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of product-kit/react/index.js from the product-kit VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```javascript\nimport React, { Component } from 'react'\nimport { Slider, Container } from 'vtex.store-components'\nimport { FormattedMessage } from 'react-intl'\nimport { path } from 'ramda'\n\nimport ProductKitContent from './components/ProductKitContent'\nimport { schema } from './schema/index'\nimport { propTypes, defaultProps } from './props/index'\n\nimport styles from './styles.css'\nimport './global.css'\n\n/** Slick slider should display at most one Product Kit per time */\nconst KITS_PER_TIME = 1\n\n/**\n * ProductKit component.\n * Display a list of Kits of Products inside a Slick Slider component.\n */\nexport default class ProductKit extends Component {\n static getSchema = schema\n\n static propTypes = propTypes\n\n static defaultProps = defaultProps\n\n render() {\n const {\n showArrows,\n prevArrow,\n nextArrow,\n showDots,\n dots,\n showListPrice,\n showLabel,\n showInstallments,\n showBadge,\n badgeText,\n showCollections,\n allowSwap,\n allowRemoval,\n productQuery,\n } = this.props\n const { product, loading } = productQuery || {}\n const productKitList = path(['benefits'], product)\n\n /** The product does not have any kit of products associated with it,\n * in this case the component should not be rendered */\n if (loading || (!productKitList || !productKitList.length)) {\n return null\n }\n\n /** The component should be displayed only in large screens for a while */\n return (\n <Container className={`${styles.listContainer} dn db-ns flex-column`}>\n <div className=\"t-heading-3 c-muted-1 fw3 mv4 flex items-center justify-center\">\n <FormattedMessage id=\"store/productKitList.buildYourBundle\" />\n </div>\n <Slider\n leftArrowClasses=\"z-2\"\n dotsClasses=\"top-0 relative f6\"\n sliderSettings={{\n arrows: showArrows,\n prevArrow,\n nextArrow,\n dots: showDots,\n appendDots: dots,\n slidesToShow: KITS_PER_TIME,\n }}\n >\n {productKitList.map((productKit, index) => (\n <ProductKitContent\n key={index}\n baseProduct={product}\n productKit={productKit}\n allowSwap={allowSwap}\n allowRemoval={allowRemoval}\n summaryProps={{\n showListPrice,\n showLabel,\n showInstallments,\n showBadge,\n badgeText,\n showCollections,\n }}\n />\n ))}\n </Slider>\n </Container>\n )\n }\n}\n\n```"
}
] |
code_product-kit_7978608a
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of product-kit/react/package.json from the product-kit VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"product-kit\",\n \"version\": \"1.10.2\",\n \"description\": \"A Product kit component.\",\n \"scripts\": {\n \"pretest\": \"yarn\",\n \"test\": \"vtex-test-tools test\",\n \"test:coverage\": \"vtex-test-tools test --collectCoverage\",\n \"gen:coveralls\": \"yarn test:coverage && cat ./coverage/lcov.info | coveralls\"\n },\n \"author\": \"VTEX\",\n \"license\": \"ISC\",\n \"dependencies\": {\n \"ramda\": \"^0.26.1\",\n \"react-intl\": \"^2.7.2\"\n },\n \"devDependencies\": {\n \"@types/node\": \"^10.12.21\",\n \"@types/prop-types\": \"^15.5.8\",\n \"@types/react\": \"^16.8.1\",\n \"@vtex/test-tools\": \"^0.1.3\",\n \"coveralls\": \"^3.0.3\"\n },\n \"resolutions\": {\n \"babel-core\": \"^7.0.0-bridge.0\"\n }\n}\n\n```"
}
] |
code_product-kit_1653f615
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of product-kit/store/interfaces.json from the product-kit VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"product-kit\": {\n \"required\": [\"product-summary\"],\n \"component\": \"index\"\n }\n}\n\n```"
}
] |
code_product-kit_ed136263
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of product-kit/react/props/index.js from the product-kit VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```javascript\nimport PropTypes from 'prop-types'\n\nexport const summaryShape = PropTypes.shape({\n /** Show or not the list price */\n showListPrice: PropTypes.bool,\n /** Show or not the labels \"from\" and \"to\" */\n showLabel: PropTypes.bool,\n /** Show or not the installments */\n showInstallments: PropTypes.bool,\n /** Show or not the discount badge */\n showBadge: PropTypes.bool,\n /** Text of the discount badge */\n badgeText: PropTypes.string,\n /** Show or not the collections badges */\n showCollections: PropTypes.bool,\n /** Display mode of summary */\n displayMode: PropTypes.string,\n})\n\nexport const productShape = PropTypes.shape({\n /** Product's link text */\n linkText: PropTypes.string.isRequired,\n /** Product's name */\n productName: PropTypes.string.isRequired,\n /** Product's brand */\n brand: PropTypes.string.isRequired,\n /** Product's SKU */\n sku: PropTypes.shape({\n /** SKU name */\n name: PropTypes.string.isRequired,\n /** SKU id */\n itemId: PropTypes.string.isRequired,\n /** SKU Image to be shown */\n image: PropTypes.shape({\n /** Image URL */\n imageUrl: PropTypes.string.isRequired,\n /** Image tag as string */\n imageTag: PropTypes.string.isRequired,\n }).isRequired,\n /** SKU seller */\n seller: PropTypes.shape({\n /** Seller comertial offer */\n commertialOffer: PropTypes.shape({\n /** SKU installments */\n Installments: PropTypes.arrayOf(\n PropTypes.shape({\n /** Installment value */\n Value: PropTypes.number.isRequired,\n /** Interest rate (zero if interest-free) */\n InterestRate: PropTypes.number.isRequired,\n /** Calculated total value */\n TotalValuePlusInterestRate: PropTypes.number,\n /** Number of installments */\n NumberOfInstallments: PropTypes.number.isRequired,\n /** Installments offer name */\n Name: PropTypes.string,\n })\n ),\n /** Selling Price */\n Price: PropTypes.number.isRequired,\n /** List Price */\n ListPrice: PropTypes.number.isRequired,\n }).isRequired,\n }).isRequired,\n }).isRequired,\n /** Product's collections */\n productClusters: PropTypes.arrayOf(PropTypes.shape({\n name: PropTypes.string.isRequired,\n })),\n})\n\nexport const benefitShape = PropTypes.shape({\n items: PropTypes.arrayOf(PropTypes.shape({\n /** Benefit Product */\n benefitProduct: PropTypes.shape({\n /** SKU's id */\n skuId: PropTypes.string,\n /** Product slug */\n slug: PropTypes.string.isRequired,\n /** Product Query from the graphql */\n productQuery: PropTypes.shape({\n /** Product that owns the informations */\n product: PropTypes.shape({\n /** Product's id */\n productId: PropTypes.string.isRequired,\n /** Product's name */\n productName: PropTypes.string.isRequired,\n /** Product reference */\n productReference: PropTypes.string,\n /** Product's brand */\n brand: PropTypes.string,\n /** Product's SKUs */\n items: PropTypes.arrayOf(\n PropTypes.shape({\n /** SKU id */\n itemId: PropTypes.string.isRequired,\n /** SKU name */\n name: PropTypes.string.isRequired,\n /** SKU Images to be shown */\n images: PropTypes.arrayOf(\n PropTypes.shape({\n /** Image id */\n imageId: PropTypes.string.isRequired,\n /** Image label */\n imageLabel: PropTypes.string,\n /** Image tag as string */\n imageTag: PropTypes.string,\n /** Image URL */\n imageUrl: PropTypes.string.isRequired,\n /** Image text */\n imageText: PropTypes.string.isRequired,\n })\n ).isRequired,\n /** SKU sellers */\n sellers: PropTypes.arrayOf(\n PropTypes.shape({\n /** Seller id */\n sellerId: PropTypes.string.isRequired,\n /** Seller comertial offer */\n commertialOffer: PropTypes.shape({\n /** SKU installments */\n Installments: PropTypes.arrayOf(\n PropTypes.shape({\n /** Installment value */\n Value: PropTypes.number.isRequired,\n /** Interest rate (zero if interest-free) */\n InterestRate: PropTypes.number.isRequired,\n /** Calculated total value */\n TotalValuePlusInterestRate: PropTypes.number,\n /** Number of installments */\n NumberOfInstallments: PropTypes.number.isRequired,\n /** Installments offer name */\n Name: PropTypes.string,\n })\n ),\n /** Selling Price */\n Price: PropTypes.number.isRequired,\n /** List Price */\n ListPrice: PropTypes.number.isRequired,\n }).isRequired,\n })\n ).isRequired,\n })\n ).isRequired,\n }),\n /** Loading info */\n loading: PropTypes.bool.isRequired,\n }),\n /** Share Schema properties */\n share: PropTypes.shape({\n /** Social Networks configuration */\n social: PropTypes.object.isRequired,\n }),\n }),\n /** List of SKUS of the above product which belongs to the benefit */\n benefitSKUIds: PropTypes.arrayOf(\n PropTypes.string,\n ).isRequired,\n /** Discount of the product according to the benefit */\n discount: PropTypes.number.isRequired,\n /** Minimum quantity of the product to validate the benefit */\n minQuantity: PropTypes.number.isRequired,\n })).isRequired,\n})\n\nexport const propTypes = {\n /** Show or not the arrows */\n showArrows: PropTypes.bool,\n /** Show or not the dots */\n showDots: PropTypes.bool,\n /** Next arrow icon */\n nextArrow: PropTypes.any,\n /** Previous arrow icon */\n prevArrow: PropTypes.any,\n /** Dots icon */\n dots: PropTypes.any,\n /** Show or not the list price */\n showListPrice: PropTypes.bool,\n /** Show or not the labels \"from\" and \"to\" */\n showLabel: PropTypes.bool,\n /** Show or not the installments */\n showInstallments: PropTypes.bool,\n /** Show or not the discount badge */\n showBadge: PropTypes.bool,\n /** Text of the discount badge */\n badgeText: PropTypes.string,\n /** Show or not the collections badges */\n showCollections: PropTypes.bool,\n /** Allow or not the item swap */\n allowSwap: PropTypes.bool,\n /** Allow or not the item removal */\n allowRemoval: PropTypes.bool,\n /** Product Query */\n productQuery: PropTypes.shape({\n /** Query is loading or not */\n loading: PropTypes.bool.isRequired,\n /** Product */\n product: PropTypes.shape({\n /** Product ID */\n productId: PropTypes.string.isRequired,\n /** Benefits associated with the product */\n benefits: PropTypes.arrayOf(\n benefitShape\n ),\n }).isRequired,\n }).isRequired,\n}\n\nexport const defaultProps = {\n showArrows: true,\n showDots: true,\n showListPrice: true,\n showLabel: false,\n showInstallments: false,\n showBadge: true,\n showCollections: true,\n allowSwap: true,\n allowRemoval: true,\n}\n\n```"
}
] |
code_product-kit_d47a2278
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of product-kit/react/schema/index.js from the product-kit VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```javascript\nexport const schema = ({ showArrows, showDots, showBadge }) => {\n return {\n title: 'admin/editor.productKitList.title',\n description: 'admin/editor.productKitList.description',\n type: 'object',\n properties: {\n allowSwap: {\n type: 'boolean',\n title: 'admin/editor.productKitList.allowSwap',\n default: true,\n isLayout: false,\n },\n allowRemoval: {\n type: 'boolean',\n title: 'admin/editor.productKitList.allowRemoval',\n default: true,\n isLayout: false,\n },\n showArrows: {\n type: 'boolean',\n title: 'admin/editor.productKitList.showArrows',\n default: true,\n isLayout: true,\n },\n nextArrow: showArrows ? {\n type: 'string',\n title: 'admin/editor.productKitList.nextArrow',\n default: '',\n isLayout: false,\n widget: {\n 'ui:widget': 'image-uploader',\n },\n } : {},\n prevArrow: showArrows ? {\n type: 'string',\n title: 'admin/editor.productKitList.prevArrow',\n default: '',\n isLayout: false,\n widget: {\n 'ui:widget': 'image-uploader',\n },\n } : {},\n showDots: {\n type: 'boolean',\n title: 'admin/editor.productKitList.showDots',\n default: true,\n isLayout: true,\n },\n dots: showDots ? {\n type: 'string',\n title: 'admin/editor.productKitList.dot',\n default: '',\n isLayout: false,\n widget: {\n 'ui:widget': 'image-uploader',\n },\n } : {},\n showListPrice: {\n type: 'boolean',\n title: 'admin/editor.productKitList.showListPrice',\n default: true,\n isLayout: true,\n },\n showLabels: {\n type: 'boolean',\n title: 'admin/editor.productKitList.showLabels',\n default: false,\n isLayout: true,\n },\n showInstallments: {\n type: 'boolean',\n title: 'admin/editor.productKitList.showInstallments',\n default: false,\n isLayout: true,\n },\n showBadge: {\n type: 'boolean',\n title: 'admin/editor.productKitList.showBadge',\n default: false,\n isLayout: true,\n },\n badgeText: showBadge\n ? {\n type: 'string',\n title: 'admin/editor.productKitList.badgeText',\n isLayout: false,\n }\n : {},\n },\n }\n}\n\n```"
}
] |
code_product-kit_45013424
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of product-kit/react/components/ProductKitContent.js from the product-kit VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```javascript\nimport React, { Component } from 'react'\nimport PropTypes from 'prop-types'\nimport { equals } from 'ramda'\n\nimport { IconPlus, IconEquals } from 'vtex.store-icons'\n\nimport ProductKitItem from './ProductKitItem'\nimport ProductKitDetails from './ProductKitDetails'\nimport { extractItemsKit } from '../helpers/index'\nimport { benefitShape, summaryShape } from '../props/index'\nimport styles from '../styles.css'\n\nconst DEFAULT_VISIBLE_ITEMS = 3\n\n/**\n * ProductKitContent component.\n * Manages the operations over the items of a ProductKit.\n */\nexport default class ProductKitContent extends Component {\n static propTypes = {\n /** Product kit */\n productKit: benefitShape,\n /** Base product of the kit */\n baseProduct: PropTypes.shape({\n /** Id of the product */\n productId: PropTypes.string.isRequired,\n }),\n /** Product Summary Props */\n summaryProps: summaryShape,\n /** Allow or not the item swap */\n allowSwap: PropTypes.bool,\n /** Allow or not the item removal */\n allowRemoval: PropTypes.bool,\n }\n\n state = {\n shownItems: [],\n hiddenItems: [],\n numberOfVisibleItems: DEFAULT_VISIBLE_ITEMS,\n }\n\n /**\n * Updates the shown and hidden items arrays with the content of the\n * items array passed as an argument. This function uses the helper\n * function to extract the items kit from the items data.\n */\n updateComponentState = items => {\n const itemsKit = extractItemsKit(items, this.props.baseProduct)\n const { numberOfVisibleItems } = this.state\n\n this.setState({\n shownItems: itemsKit.slice(0, numberOfVisibleItems),\n hiddenItems: itemsKit.slice(numberOfVisibleItems),\n })\n }\n\n /**\n * When the component mounts it must update the shown and hidden items.\n */\n componentDidMount() {\n this.updateComponentState(this.props.productKit.items)\n }\n\n /**\n * Checks if the items data has changed since the last update of the props.\n */\n componentDidUpdate(prevProps) {\n const {\n productKit: { items: curItems },\n } = this.props\n const {\n productKit: { items: prevItems },\n } = prevProps\n\n if (!this.state.shownItems.length || !equals(curItems, prevItems)) {\n this.updateComponentState(curItems)\n }\n }\n\n /**\n * Receives the index of the item of the shownItems array and swap it by the\n * first item of the hiddenItems array, the swapped item will be pushed at the end\n * of the hiddenItems.\n */\n handleItemSwap = index => {\n const { shownItems, hiddenItems } = this.state\n const item = shownItems[index]\n\n shownItems[index] = hiddenItems.shift()\n hiddenItems.push(item)\n\n this.setState({\n shownItems,\n hiddenItems,\n })\n }\n\n /**\n * Receives the index of the item and handles the removal of it ProductKitItem wrapper component.\n * An important observation here is that the item kit itself is not removed from the kit,\n * it is just putted at the end of the hiddenItems array.\n */\n handleItemRemoval = index => {\n const { shownItems, hiddenItems, numberOfVisibleItems } = this.state\n\n hiddenItems.push(shownItems.splice(index, 1)[0])\n\n this.setState({\n shownItems,\n hiddenItems,\n numberOfVisibleItems: numberOfVisibleItems - 1,\n })\n }\n\n render() {\n const { summaryProps } = this.props\n\n const { shownItems, hiddenItems, numberOfVisibleItems } = this.state\n\n /** Allow swap operation if and only if there is hidden items */\n const allowSwap = this.props.allowSwap && hiddenItems.length > 0\n\n /** Allow removal operation if and only if the kit has more than two visible items */\n const allowRemoval = this.props.allowRemoval && numberOfVisibleItems > 2\n\n return (\n <div\n className={`${\n styles.container\n } flex flex-row items-center justify-center b--muted-5 pv3 w-100`}\n >\n {shownItems.map((item, index) => (\n <div\n className=\"flex flex-row items-center justify-center c-muted-1\"\n key={index}\n >\n {index > 0 && <IconPlus size={45} className=\"w2\" />}\n <ProductKitItem\n key={index}\n item={item}\n index={index}\n summaryProps={summaryProps}\n onItemSwap={this.handleItemSwap}\n onItemRemoval={this.handleItemRemoval}\n allowSwap={index > 0 && allowSwap}\n allowRemoval={index > 0 && allowRemoval}\n />\n </div>\n ))}\n <span className=\"c-muted-1\">\n <IconEquals size={44} viewBox=\"0 0 44 22\" className=\"w2\" />\n </span>\n <ProductKitDetails items={shownItems} />\n </div>\n )\n }\n}\n\n```"
}
] |
code_product-kit_7e7bd27a
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of product-kit/react/components/ProductKitDetails.js from the product-kit VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```javascript\nimport { path } from 'ramda'\nimport React, { Component } from 'react'\nimport PropTypes from 'prop-types'\nimport { FormattedMessage } from 'react-intl'\nimport { BuyButton, ProductPrice } from 'vtex.store-components'\n\nimport { productShape } from '../props'\nimport styles from '../styles.css'\n\n/**\n * ProductKitDetails component.\n *\n * Show the details (price and number of items) of the Kit.\n */\nexport default class ProductKitDetails extends Component {\n static propTypes = {\n /** Array of items */\n items: PropTypes.arrayOf(\n productShape,\n ),\n }\n\n getPrice = item => {\n return item.sku.seller.commertialOffer.Price\n }\n\n calculateListPrice = items => {\n return items.reduce((price, item) => {\n return price + this.getPrice(item)\n }, 0)\n }\n\n /**\n * Calculates the Kit Price according to the products that are being displayed.\n * The price itself is calculated based on the discount that each product have separately.\n */\n calculateSellingPrice = items => {\n return items.reduce((price, item) => {\n return (\n price + (this.getPrice(item) * (100 - item.discount)) / 100\n )\n }, 0)\n }\n\n /**\n * Extract the information required of the item to be passed to the BuyButton\n * component.\n */\n getSkuItems = items => {\n return items.map(item => ({\n skuId: String(item.sku.itemId),\n quantity: item.minQuantity,\n seller: parseInt(item.sku.seller.sellerId),\n name: item.productName,\n price: path(['sku', 'seller', 'commertialOffer', 'Price'], item),\n variant: item.sku.name,\n brand: item.brand,\n detailUrl: `/${item.linkText}/p`,\n imageUrl: path(['sku', 'image', 'imageUrl'], item),\n listPrice: path(['sku', 'seller', 'commertialOffer', 'ListPrice'], item),\n }))\n }\n\n render() {\n const { items } = this.props\n\n return (\n <div className={`${styles.listDetails} flex flex-column items-center justify-center tc ph7`}>\n <div className=\"t-body c-muted-1 mv3\">\n <FormattedMessage\n id=\"store/productKitList.takeAll\"\n values={{ numberOfItems: items.length }}\n />\n </div>\n <div className=\"pv4\">\n <ProductPrice\n sellingPrice={this.calculateSellingPrice(items)}\n listPrice={this.calculateListPrice(items)}\n listPriceClass=\"t-heading-5--small strike\"\n sellingPriceClass=\"t-heading-5\"\n showInstallments={false}\n showLabels={false}\n />\n </div>\n <BuyButton skuItems={this.getSkuItems(items)}>\n <FormattedMessage id=\"store/productKitList.buyKit\" />\n </BuyButton>\n </div>\n )\n }\n}\n\n```"
}
] |
code_product-kit_6fad871d
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of product-kit/react/components/ProductKitItem.js from the product-kit VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```javascript\nimport PropTypes from 'prop-types'\nimport React, { Component } from 'react'\n\nimport { ExtensionPoint } from 'vtex.render-runtime'\nimport { IconRemove, IconSwap } from 'vtex.store-icons'\n\nimport { productShape, summaryShape } from '../props'\nimport styles from '../styles.css'\n\n/**\n * ProductKitItem component.\n *\n * Displays a product as an item of a kit of products and provides\n * the buttons to trigger the swap and removal item operations.\n */\nexport default class ProductKitItem extends Component {\n static propTypes = {\n /** Product item */\n item: productShape,\n /** Index of the item */\n index: PropTypes.number,\n /** Function that is called to handle the item swap operation */\n onItemSwap: PropTypes.func,\n /** Function that is called to handle the item removal operation */\n onItemRemoval: PropTypes.func,\n /** Allow or not the item swap */\n allowSwap: PropTypes.bool,\n /** Allow or not the item removal */\n allowRemoval: PropTypes.bool,\n /** Product Summary Props */\n summaryProps: summaryShape,\n }\n\n render() {\n const {\n item,\n index,\n allowSwap,\n allowRemoval,\n onItemSwap,\n onItemRemoval,\n summaryProps,\n } = this.props\n\n return (\n <div className={styles.item}>\n <div className=\"flex flex-row\">\n <div className=\"pl4\">\n <ExtensionPoint\n id=\"product-summary\"\n product={item}\n {...summaryProps}\n hideBuyButton\n />\n </div>\n <div className=\"flex flex-column items-center w2\">\n {allowRemoval && (\n <div\n className=\"pointer flex items-center mh3 mv3 c-on-base\"\n onClick={() => onItemRemoval(index)}\n >\n <IconRemove size={21} viewBox=\"0 0 21 21\" className=\"w1 h1\" />\n </div>\n )}\n {allowSwap && (\n <div\n className=\"pointer flex items-center mh3 mv3 c-on-base\"\n onClick={() => onItemSwap(index)}\n >\n <IconSwap size={21} viewBox=\"0 0 21 21\" className=\"w1 h1\" />\n </div>\n )}\n </div>\n </div>\n </div>\n )\n }\n}\n\n```"
}
] |
code_product-kit_cf3273cd
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of product-kit/react/__tests__/productKit.test.js from the product-kit VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```javascript\nimport React from 'react'\nimport { render, fireEvent, act } from '@vtex/test-tools/react'\nimport { productMock } from '../__mocks__/productMock'\nimport ProductKit from '../index'\n\ndescribe('<ProductSummary /> component', () => {\n function renderComponent(customProps, itemNumber = 1) {\n return render(<ProductKit {...productMock(itemNumber)} {...customProps} />)\n }\n\n it('should be rendered', () => {\n expect(renderComponent()).toBeDefined()\n })\n\n it('should match the snapshot with no removal and swap', () => {\n const { asFragment } = renderComponent({\n allowSwap: false,\n allowRemoval: false,\n })\n expect(asFragment()).toMatchSnapshot()\n })\n\n it('should match the snapshot with removal and swap', () => {\n const { asFragment } = renderComponent(\n {\n allowSwap: true,\n allowRemoval: true,\n },\n 5\n )\n expect(asFragment()).toMatchSnapshot()\n })\n\n it('should render 3 products', () => {\n const { getByText } = renderComponent({}, 4)\n expect(getByText(/Take all 3 products/)).toBeTruthy()\n })\n\n it('should remove an item from the kit', () => {\n const { getByText, container } = renderComponent({ allowRemoval: true }, 2)\n expect(getByText(/Take all 2 products/)).toBeTruthy()\n\n act(() => {\n fireEvent.click(container.querySelector('.IconRemove'))\n })\n\n expect(getByText(/Take all 1 products/)).toBeTruthy()\n })\n\n /** It will swap the first swapable (name-2) for the one left over (name-4).\n * If swapped again, it should retrieve the previous one. */\n it('should swap an item from the kit', () => {\n const { getByText, container, queryByText } = renderComponent(\n { allowSwap: true },\n 4\n )\n expect(getByText('name-2')).toBeTruthy()\n\n act(() => {\n fireEvent.click(container.querySelector('.IconSwap'))\n })\n\n expect(getByText('name-4')).toBeTruthy()\n expect(queryByText('name-2')).toBeNull()\n\n act(() => {\n fireEvent.click(container.querySelector('.IconSwap'))\n })\n\n expect(getByText('name-2')).toBeTruthy()\n })\n})\n\n```"
}
] |
code_product-kit_ce8db972
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of product-kit/react/helpers/index.js from the product-kit VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```javascript\nimport { propEq, findIndex } from 'ramda'\n\n/**\n * Helper functions to extract the Kit Items of a Product Kit and sets the first\n * item as the main item according to the mainProductId passed as an argument.\n */\nexport const extractItemsKit = (productsKit, mainProduct) => {\n const itemsKit = []\n let indexOfMainProduct = -1\n\n if (productsKit) {\n productsKit.forEach((productKit, index) => {\n const {\n benefitProduct,\n benefitSKUIds,\n discount,\n minQuantity,\n } = productKit\n\n if (\n benefitProduct.productId === mainProduct.productId &&\n indexOfMainProduct === -1\n ) {\n indexOfMainProduct = index\n }\n\n benefitSKUIds.forEach(skuId => {\n const indexOfItem = findIndex(propEq('itemId', skuId))(\n benefitProduct.items\n )\n\n if (indexOfItem !== -1) {\n itemsKit.push(\n extractKitItem({\n discount,\n minQuantity,\n product: {\n ...benefitProduct,\n items: [benefitProduct.items[indexOfItem]],\n },\n })\n )\n }\n })\n })\n }\n\n if (indexOfMainProduct !== -1) {\n const mainItem = itemsKit[indexOfMainProduct]\n itemsKit[indexOfMainProduct] = itemsKit[0]\n itemsKit[0] = mainItem\n }\n\n return itemsKit\n}\n\n/**\n * Extract the required information of a Product to be used into the\n * ProductKitItem component.\n */\nexport const extractKitItem = productKit => {\n const { discount, minQuantity, product } = productKit\n const kitItem = { ...product }\n\n if (kitItem.items && kitItem.items.length) {\n kitItem.sku = { ...kitItem.items[0] }\n kitItem.productName = kitItem.sku.nameComplete\n\n if (kitItem.sku.sellers && kitItem.sku.sellers.length) {\n kitItem.sku.seller = kitItem.sku.sellers[0]\n } else {\n kitItem.sku.seller = {\n commertialOffer: {\n Price: 0,\n ListPrice: 0,\n },\n }\n }\n\n if (kitItem.sku.images && kitItem.sku.images.length) {\n kitItem.sku.image = { ...kitItem.sku.images[0] }\n kitItem.sku.image.imageUrl = kitItem.sku.image.imageUrl.replace(\n /^https?:/,\n ''\n )\n }\n\n kitItem.sku.referenceId = (kitItem.sku.referenceId &&\n kitItem.sku.referenceId[0]) || {\n Value: '',\n }\n }\n\n return { ...kitItem, discount, minQuantity }\n}\n\n```"
}
] |
code_order-items_618a5192
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of order-items/react/utils.ts from the order-items VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```typescript\nexport {\n AVAILABLE,\n adjustForItemInput,\n mapToOrderFormItem,\n filterUndefined,\n} from '@vtex/order-items'\n\n```"
}
] |
code_order-items_7a7318d7
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of order-items/react/package.json from the order-items VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"vtex.order-items\",\n \"version\": \"0.14.0\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"test\": \"vtex-test-tools test --passWithNoTests\"\n },\n \"dependencies\": {\n \"@vtex/css-handles\": \"^1.1.3\",\n \"@vtex/order-items\": \"^0.7.0\",\n \"classnames\": \"^2.2.6\",\n \"debounce\": \"^1.2.0\",\n \"react\": \"^16.8.3\",\n \"react-dom\": \"^16.9.0\",\n \"react-intl\": \"3.9.1\",\n \"uuid\": \"^3.3.3\"\n },\n \"devDependencies\": {\n \"@apollo/react-testing\": \"^3.1.3\",\n \"@types/classnames\": \"^2.2.7\",\n \"@types/debounce\": \"^1.2.0\",\n \"@types/graphql\": \"^14.2.0\",\n \"@types/jest\": \"^28.1.6\",\n \"@types/node\": \"^11.13.0\",\n \"@types/prop-types\": \"^15.7.0\",\n \"@types/ramda\": \"^0.26.5\",\n \"@types/react\": \"^16.8.10\",\n \"@types/react-intl\": \"^2.3.17\",\n \"@types/uuid\": \"^3.4.6\",\n \"@vtex/test-tools\": \"^3.4.3\",\n \"apollo-client\": \"^2.5.1\",\n \"graphql-tag\": \"^2.11.0\",\n \"ramda\": \"^0.26.1\",\n \"react-apollo\": \"^3.1.3\",\n \"typescript\": \"3.9.7\",\n \"vtex.checkout-graphql\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.checkout-graphql@0.60.0/public/@types/vtex.checkout-graphql\",\n \"vtex.checkout-resources\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.checkout-resources@0.46.0/public/@types/vtex.checkout-resources\",\n \"vtex.checkout-splunk\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.checkout-splunk@0.1.0/public/@types/vtex.checkout-splunk\",\n \"vtex.order-items\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.order-items@0.12.0/public/@types/vtex.order-items\",\n \"vtex.order-manager\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.order-manager@0.11.0/public/@types/vtex.order-manager\",\n \"vtex.render-runtime\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.render-runtime@8.128.4/public/@types/vtex.render-runtime\"\n },\n \"resolutions\": {\n \"json-schema\": \"^0.4.0\"\n }\n}\n\n```"
}
] |
code_order-items_d48a4b14
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of order-items/react/OrderItems.tsx from the order-items VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```tsx\nimport { useCallback } from 'react'\nimport { useMutation } from 'react-apollo'\nimport UpdateItems from 'vtex.checkout-resources/MutationUpdateItems'\nimport AddToCart from 'vtex.checkout-resources/MutationAddToCart'\nimport SetManualPrice from 'vtex.checkout-resources/MutationSetManualPrice'\nimport {\n UpdateItemsMutationVariables,\n SetManualPriceMutationVariables,\n AddToCartMutationVariables,\n} from 'vtex.checkout-resources'\nimport type { OrderForm } from 'vtex.checkout-graphql'\nimport { OrderForm as OrderManager, OrderQueue } from 'vtex.order-manager'\nimport { useSplunk } from 'vtex.checkout-splunk'\nimport { useOrderItems, createOrderItemsProvider } from '@vtex/order-items'\n\nconst { useOrderForm } = OrderManager\nconst { useOrderQueue, useQueueStatus } = OrderQueue\n\nfunction useLogger() {\n const { logSplunk } = useSplunk()\n\n const log = useCallback(\n ({ type, level, event, workflowType, workflowInstance }) => {\n logSplunk({ type, level, event, workflowType, workflowInstance })\n },\n [logSplunk]\n )\n\n return { log }\n}\n\ninterface SetManualPrice {\n setManualPrice: OrderForm\n}\n\ninterface UpdateItemsMutation {\n updateItems: OrderForm\n}\n\nfunction useMutateAddItems() {\n const [mutateAddItem] = useMutation<\n { addToCart: OrderForm },\n AddToCartMutationVariables\n >(AddToCart)\n\n return useCallback(\n (variables: AddToCartMutationVariables) => {\n return mutateAddItem({ variables }).then(({ data, errors }) => {\n return { data: data?.addToCart, errors }\n })\n },\n [mutateAddItem]\n )\n}\n\nfunction useMutateUpdateQuantity() {\n const [mutateUpdateQuantity] = useMutation<\n UpdateItemsMutation,\n UpdateItemsMutationVariables\n >(UpdateItems)\n\n return useCallback(\n (variables: UpdateItemsMutationVariables) => {\n return mutateUpdateQuantity({ variables }).then(({ data, errors }) => {\n return { data: data?.updateItems, errors }\n })\n },\n [mutateUpdateQuantity]\n )\n}\n\nfunction useMutateSetManualPrice() {\n const [mutateSetManualPrice] = useMutation<\n SetManualPrice,\n SetManualPriceMutationVariables\n >(SetManualPrice)\n\n return useCallback(\n ({ itemIndex, price }: { itemIndex: number; price: number }) => {\n return mutateSetManualPrice({\n variables: { manualPriceInput: { price, itemIndex } },\n }).then(({ data, errors }) => {\n return { data: data?.setManualPrice, errors }\n })\n },\n [mutateSetManualPrice]\n )\n}\n\nconst { OrderItemsProvider } = createOrderItemsProvider<OrderForm>({\n useOrderForm,\n useOrderQueue,\n useQueueStatus,\n useLogger,\n useMutateAddItems,\n useMutateSetManualPrice,\n useMutateUpdateQuantity,\n})\n\nexport { useOrderItems, OrderItemsProvider }\nexport default { useOrderItems, OrderItemsProvider }\n\n```"
}
] |
code_order-items_a65fb0d4
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of order-items/react/typings/globals.d.ts from the order-items VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```typescript\nimport {\n OrderForm as GraphqlOrderForm,\n AssemblyOptionInput,\n} from 'vtex.checkout-graphql'\n\ndeclare global {\n type OrderForm = GraphqlOrderForm\n\n type Maybe<T> = T | undefined | null\n\n interface OrderFormItemInput {\n id?: number\n index?: number\n quantity?: number\n seller?: string\n uniqueId?: string\n options?: AssemblyOptionInput[]\n }\n\n interface CatalogItem {\n additionalInfo: ItemAdditionalInfo\n availability: string\n detailUrl: string\n id: string\n imageUrl: string\n index?: number\n listPrice: number\n measurementUnit: string\n name: string\n price: number\n productId: string\n quantity: number\n sellingPrice: number\n seller: string\n skuName: string\n skuSpecifications: SKUSpecification[]\n options?: AssemblyOptionInput[]\n uniqueId?: string\n }\n\n interface ItemAdditionalInfo {\n brandName: string\n }\n\n interface MarketingData {\n coupon: Maybe<string>\n }\n\n interface SKUSpecification {\n fieldName: string\n fieldValues: string[]\n }\n\n interface Totalizer {\n id: string\n name: string\n value: number\n }\n\n interface UpdateItemsMutation {\n updateItems: OrderForm\n }\n\n interface FakeUniqueIdMap {\n [fakeUniqueId: string]: string\n }\n}\n\n```"
}
] |
code_order-items_e48c7566
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of order-items/react/typings/vtex.checkout-resources.d.ts from the order-items VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```typescript\ndeclare module 'vtex.checkout-resources/*' {\n import { DocumentNode } from 'graphql'\n\n const value: DocumentNode\n export default value\n}\n\n```"
}
] |
code_order-items_2735e399
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of order-items/react/typings/css.d.ts from the order-items VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```typescript\ndeclare module '*.css' {\n const css: any\n export default css\n}\n\n```"
}
] |
code_order-items_635f36cf
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of order-items/react/typings/graphql.d.ts from the order-items VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```typescript\ndeclare module '*.graphql' {\n import { DocumentNode } from 'graphql'\n\n const value: DocumentNode\n export default value\n}\n\n```"
}
] |
code_order-items_7bb40ecc
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of order-items/react/typings/vtex.styleguide.d.ts from the order-items VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```typescript\ndeclare module 'vtex.styleguide' {\n import { ComponentType } from 'react'\n\n export const Input: ComponentType<InputProps>\n\n interface InputProps {\n [key: string]: any\n }\n}\n\n```"
}
] |
code_checkout-shipping_48488f13
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of checkout-shipping/messages/sl.json from the checkout-shipping VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"store/checkout.shipping.informAddress\": \"Prosimo, sporočite svoj naslov\",\n \"store/checkout.shipping.chooseAddress\": \"Izberite naslov\",\n \"store/checkout.shipping.selectedDeliveryOptionsLabel\": \"Izbrali ste\",\n \"store/checkout.shipping.newAddressLabel\": \"Nov naslov…\",\n \"store/checkout.shipping.shippingOptionLabel\": \"Način odpošiljanja\",\n \"store/checkout.shipping.completeAddressLabel\": \"Izpolnite naslov za dostavo\",\n \"store/checkout.shipping.receiverNameLabel\": \"Ime in priimek\",\n \"store/checkout.shipping.receiverLabel\": \"Prejemnik\",\n \"store/checkout.shipping.shippingOptionsForAddressLabel\": \"Možnosti odpošiljanja za\",\n \"store/checkout.shipping.emptyDeliveryOptionsAlert\": \"Za vašo lokacijo ni na voljo nobenih možnosti dostave.\",\n \"store/checkout.shipping.changeAddressLabel\": \"spremeni\",\n \"store/checkout.shipping.changeReceiverLabel\": \"spremeni\",\n \"store/checkout.shipping.seeDetails\": \"Oglej si podrobnosti\",\n \"store/checkout.shipping.distance\": \"{distanceValue}km stran\",\n \"store/checkout.shipping.pickupPointsModal.details\": \"Podrobnosti\",\n \"store/checkout.shipping.pickupPointsModal.weekDay0\": \"Nedelja\",\n \"store/checkout.shipping.pickupPointsModal.weekDay1\": \"Ponedeljek\",\n \"store/checkout.shipping.pickupPointsModal.weekDay2\": \"Torek\",\n \"store/checkout.shipping.pickupPointsModal.weekDay3\": \"Sreda\",\n \"store/checkout.shipping.pickupPointsModal.weekDay4\": \"Četrtek\",\n \"store/checkout.shipping.pickupPointsModal.weekDay5\": \"Petek\",\n \"store/checkout.shipping.pickupPointsModal.weekDay6\": \"Sobota\",\n \"store/checkout.shipping.pickupPointsModal.weekDay1to5\": \"Ponedeljek do Petka\",\n \"store/checkout.shipping.pickupPointsModal.closed\": \"Zaprto\",\n \"store/checkout.shipping.pickupPointsModal.hourFromTo\": \"{openingTime}h - {closingTime}h\",\n \"store/checkout.shipping.pickupPointsModal.businessHours\": \"Delovni čas\",\n \"store/checkout.shipping.pickupPointsModal.allItemsAvailable\": \"Vsi elementi so na voljo.\",\n \"store/checkout.shipping.pickupPointsModal.availableItems\": \"Elementi, ki so na voljo\",\n \"store/checkout.shipping.pickupPointsModal.address\": \"Naslov\",\n \"store/checkout.shipping.goToPayment\": \"Pojdite na plačilo\",\n \"store/checkout.shipping.goToAddress\": \"Pojdite na naslov\",\n \"store/checkout.shipping.tryAgainButton\": \"Poskusite znova\",\n \"store/checkout.shipping.unknownErrorMessage\": \"Pri poskusu vložitve zahteve je prišlo do napake.\",\n \"store/checkout.shipping.backToAddressList\": \"Ali, <a>pojdite nazaj na seznam naslovov</a>.\"\n}\n\n```"
}
] |
code_checkout-shipping_f95efaf5
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of checkout-shipping/messages/nl.json from the checkout-shipping VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"store/checkout.shipping.informAddress\": \"Geef uw adres door\",\n \"store/checkout.shipping.chooseAddress\": \"Kies een adres\",\n \"store/checkout.shipping.selectedDeliveryOptionsLabel\": \"U koos\",\n \"store/checkout.shipping.newAddressLabel\": \"Nieuw adres…\",\n \"store/checkout.shipping.shippingOptionLabel\": \"Verzendoptie\",\n \"store/checkout.shipping.completeAddressLabel\": \"Vul het afleveradres in\",\n \"store/checkout.shipping.receiverNameLabel\": \"Naam en achternaam\",\n \"store/checkout.shipping.receiverLabel\": \"Ontvanger\",\n \"store/checkout.shipping.shippingOptionsForAddressLabel\": \"Verzendopties voor\",\n \"store/checkout.shipping.emptyDeliveryOptionsAlert\": \"Er zijn geen bezorgopties beschikbaar voor uw locatie.\",\n \"store/checkout.shipping.changeAddressLabel\": \"verander\",\n \"store/checkout.shipping.changeReceiverLabel\": \"wijzig\",\n \"store/checkout.shipping.seeDetails\": \"Zie details\",\n \"store/checkout.shipping.distance\": \"{distanceValue}km afstand\",\n \"store/checkout.shipping.pickupPointsModal.details\": \"Details\",\n \"store/checkout.shipping.pickupPointsModal.weekDay0\": \"Zondag\",\n \"store/checkout.shipping.pickupPointsModal.weekDay1\": \"Maandag\",\n \"store/checkout.shipping.pickupPointsModal.weekDay2\": \"Dinsdag\",\n \"store/checkout.shipping.pickupPointsModal.weekDay3\": \"Woensdag\",\n \"store/checkout.shipping.pickupPointsModal.weekDay4\": \"Donderdag\",\n \"store/checkout.shipping.pickupPointsModal.weekDay5\": \"Vrijdag\",\n \"store/checkout.shipping.pickupPointsModal.weekDay6\": \"Zaterdag\",\n \"store/checkout.shipping.pickupPointsModal.weekDay1to5\": \"Maandag tot en met vrijdag\",\n \"store/checkout.shipping.pickupPointsModal.closed\": \"Gesloten\",\n \"store/checkout.shipping.pickupPointsModal.hourFromTo\": \"{openingTime}u - {closingTime}u\",\n \"store/checkout.shipping.pickupPointsModal.businessHours\": \"Kantooruren\",\n \"store/checkout.shipping.pickupPointsModal.allItemsAvailable\": \"Alle items zijn beschikbaar.\",\n \"store/checkout.shipping.pickupPointsModal.availableItems\": \"Beschikbare items\",\n \"store/checkout.shipping.pickupPointsModal.address\": \"Adres\",\n \"store/checkout.shipping.goToPayment\": \"Ga naar betaling\",\n \"store/checkout.shipping.goToAddress\": \"Ga naar adres\",\n \"store/checkout.shipping.tryAgainButton\": \"Opnieuw proberen\",\n \"store/checkout.shipping.unknownErrorMessage\": \"Er is een fout opgetreden bij het indienen van uw verzoek.\",\n \"store/checkout.shipping.backToAddressList\": \"Of, <a>terug naar adreslijst</a>.\"\n}\n\n```"
}
] |
code_checkout-shipping_476c3e5f
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of checkout-shipping/messages/uk.json from the checkout-shipping VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"store/checkout.shipping.informAddress\": \"Вкажіть свою адресу\",\n \"store/checkout.shipping.chooseAddress\": \"Виберіть адресу\",\n \"store/checkout.shipping.selectedDeliveryOptionsLabel\": \"Ви вибрали\",\n \"store/checkout.shipping.newAddressLabel\": \"Нова адреса…\",\n \"store/checkout.shipping.shippingOptionLabel\": \"Варіант відправлення\",\n \"store/checkout.shipping.completeAddressLabel\": \"Заповніть адресу доставлення\",\n \"store/checkout.shipping.receiverNameLabel\": \"Ім’я та прізвище\",\n \"store/checkout.shipping.receiverLabel\": \"Одержувач\",\n \"store/checkout.shipping.shippingOptionsForAddressLabel\": \"Варіанти відправлення для\",\n \"store/checkout.shipping.emptyDeliveryOptionsAlert\": \"Для вашого місця розташування варіанти доставлення відсутні.\",\n \"store/checkout.shipping.changeAddressLabel\": \"змінити\",\n \"store/checkout.shipping.changeReceiverLabel\": \"змінити\",\n \"store/checkout.shipping.seeDetails\": \"Переглянути детальніше\",\n \"store/checkout.shipping.distance\": \"Відстань — {distanceValue} км\",\n \"store/checkout.shipping.pickupPointsModal.details\": \"Детальніше\",\n \"store/checkout.shipping.pickupPointsModal.weekDay0\": \"Неділя\",\n \"store/checkout.shipping.pickupPointsModal.weekDay1\": \"Понеділок\",\n \"store/checkout.shipping.pickupPointsModal.weekDay2\": \"Вівторок\",\n \"store/checkout.shipping.pickupPointsModal.weekDay3\": \"Середа\",\n \"store/checkout.shipping.pickupPointsModal.weekDay4\": \"Четвер\",\n \"store/checkout.shipping.pickupPointsModal.weekDay5\": \"П’ятниця\",\n \"store/checkout.shipping.pickupPointsModal.weekDay6\": \"Субота\",\n \"store/checkout.shipping.pickupPointsModal.weekDay1to5\": \"З понеділка по п’ятницю\",\n \"store/checkout.shipping.pickupPointsModal.closed\": \"Зачинено\",\n \"store/checkout.shipping.pickupPointsModal.hourFromTo\": \"З {openingTime} до {closingTime}\",\n \"store/checkout.shipping.pickupPointsModal.businessHours\": \"Робочі години\",\n \"store/checkout.shipping.pickupPointsModal.allItemsAvailable\": \"Усі товари доступні.\",\n \"store/checkout.shipping.pickupPointsModal.availableItems\": \"Доступні товари\",\n \"store/checkout.shipping.pickupPointsModal.address\": \"Адреса\",\n \"store/checkout.shipping.goToPayment\": \"Перейти до оплати\",\n \"store/checkout.shipping.goToAddress\": \"Перейти до адреси\",\n \"store/checkout.shipping.tryAgainButton\": \"Спробуйте ще раз\",\n \"store/checkout.shipping.unknownErrorMessage\": \"Під час оформлення вашого запиту виникла помилка.\",\n \"store/checkout.shipping.backToAddressList\": \"Або <a>поверніться до списку адрес</a>.\"\n}\n\n```"
}
] |
code_checkout-shipping_17d1c506
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of checkout-shipping/messages/fi.json from the checkout-shipping VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"store/checkout.shipping.informAddress\": \"Anna osoitteesi\",\n \"store/checkout.shipping.chooseAddress\": \"Valitse osoite\",\n \"store/checkout.shipping.selectedDeliveryOptionsLabel\": \"Valitsit\",\n \"store/checkout.shipping.newAddressLabel\": \"Uusi osoite…\",\n \"store/checkout.shipping.shippingOptionLabel\": \"Lähetysvaihtoehto\",\n \"store/checkout.shipping.completeAddressLabel\": \"Täydennä toimitusosoite\",\n \"store/checkout.shipping.receiverNameLabel\": \"Etu- ja sukunimi\",\n \"store/checkout.shipping.receiverLabel\": \"Vastaanottaja\",\n \"store/checkout.shipping.shippingOptionsForAddressLabel\": \"Lähetysvaihtoehdot kohteelle\",\n \"store/checkout.shipping.emptyDeliveryOptionsAlert\": \"Sijaintiisi ei ole saatavilla toimitusvaihtoehtoja.\",\n \"store/checkout.shipping.changeAddressLabel\": \"muuta\",\n \"store/checkout.shipping.changeReceiverLabel\": \"muuta\",\n \"store/checkout.shipping.seeDetails\": \"Näytä tiedot\",\n \"store/checkout.shipping.distance\": \"{distanceValue} km päässä\",\n \"store/checkout.shipping.pickupPointsModal.details\": \"Tiedot\",\n \"store/checkout.shipping.pickupPointsModal.weekDay0\": \"Sunnuntai\",\n \"store/checkout.shipping.pickupPointsModal.weekDay1\": \"Maanantai\",\n \"store/checkout.shipping.pickupPointsModal.weekDay2\": \"Tiistai\",\n \"store/checkout.shipping.pickupPointsModal.weekDay3\": \"Keskiviikko\",\n \"store/checkout.shipping.pickupPointsModal.weekDay4\": \"Torstai\",\n \"store/checkout.shipping.pickupPointsModal.weekDay5\": \"Perjantai\",\n \"store/checkout.shipping.pickupPointsModal.weekDay6\": \"Lauantai\",\n \"store/checkout.shipping.pickupPointsModal.weekDay1to5\": \"Maanantaista perjantaihin\",\n \"store/checkout.shipping.pickupPointsModal.closed\": \"Suljettu\",\n \"store/checkout.shipping.pickupPointsModal.hourFromTo\": \"{openingTime}–{closingTime}\",\n \"store/checkout.shipping.pickupPointsModal.businessHours\": \"Aukioloajat\",\n \"store/checkout.shipping.pickupPointsModal.allItemsAvailable\": \"Kaikki tuotteet ovat saatavilla.\",\n \"store/checkout.shipping.pickupPointsModal.availableItems\": \"Saatavilla olevat tuotteet\",\n \"store/checkout.shipping.pickupPointsModal.address\": \"Osoite\",\n \"store/checkout.shipping.goToPayment\": \"Siirry maksamaan\",\n \"store/checkout.shipping.goToAddress\": \"Siirry osoitteeseen\",\n \"store/checkout.shipping.tryAgainButton\": \"Yritä uudelleen\",\n \"store/checkout.shipping.unknownErrorMessage\": \"Pyyntöäsi tehdessä tapahtui virhe.\",\n \"store/checkout.shipping.backToAddressList\": \"Tai <a>palaa takaisin osoiteluetteloon</a>.\"\n}\n\n```"
}
] |
code_checkout-shipping_2fe0bd65
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of checkout-shipping/messages/sk.json from the checkout-shipping VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"store/checkout.shipping.informAddress\": \"Povedzte nám svoju adresu\",\n \"store/checkout.shipping.chooseAddress\": \"Vyberte adresu\",\n \"store/checkout.shipping.selectedDeliveryOptionsLabel\": \"Vybrali ste\",\n \"store/checkout.shipping.newAddressLabel\": \"Nová adresa…\",\n \"store/checkout.shipping.shippingOptionLabel\": \"Spôsob dopravy\",\n \"store/checkout.shipping.completeAddressLabel\": \"Vyplňte dodaciu adresu\",\n \"store/checkout.shipping.receiverNameLabel\": \"Meno a priezvisko\",\n \"store/checkout.shipping.receiverLabel\": \"Príjemca\",\n \"store/checkout.shipping.shippingOptionsForAddressLabel\": \"Spôsob dopravy pre\",\n \"store/checkout.shipping.emptyDeliveryOptionsAlert\": \"Pre vašu lokalitu nie sú k dispozícii žiadne možnosti doručenia.\",\n \"store/checkout.shipping.changeAddressLabel\": \"zmeniť\",\n \"store/checkout.shipping.changeReceiverLabel\": \"zmeniť\",\n \"store/checkout.shipping.seeDetails\": \"Pozrieť podrobnosti\",\n \"store/checkout.shipping.distance\": \"vzdialené {distanceValue} km\",\n \"store/checkout.shipping.pickupPointsModal.details\": \"Podrobnosti\",\n \"store/checkout.shipping.pickupPointsModal.weekDay0\": \"Neďeľa\",\n \"store/checkout.shipping.pickupPointsModal.weekDay1\": \"Pondelok\",\n \"store/checkout.shipping.pickupPointsModal.weekDay2\": \"Utorok\",\n \"store/checkout.shipping.pickupPointsModal.weekDay3\": \"Streda\",\n \"store/checkout.shipping.pickupPointsModal.weekDay4\": \"Štvrtok\",\n \"store/checkout.shipping.pickupPointsModal.weekDay5\": \"Piatok\",\n \"store/checkout.shipping.pickupPointsModal.weekDay6\": \"Sobota\",\n \"store/checkout.shipping.pickupPointsModal.weekDay1to5\": \"Pondelok až piatok\",\n \"store/checkout.shipping.pickupPointsModal.closed\": \"Zatvorené\",\n \"store/checkout.shipping.pickupPointsModal.hourFromTo\": \"{openingTime} h - {closingTime} h\",\n \"store/checkout.shipping.pickupPointsModal.businessHours\": \"Pracovná doba\",\n \"store/checkout.shipping.pickupPointsModal.allItemsAvailable\": \"Všetky položky sú k dispozícii.\",\n \"store/checkout.shipping.pickupPointsModal.availableItems\": \"Dostupné položky\",\n \"store/checkout.shipping.pickupPointsModal.address\": \"Adresa\",\n \"store/checkout.shipping.goToPayment\": \"Prejsť na platbu\",\n \"store/checkout.shipping.goToAddress\": \"Prejsť na adresu\",\n \"store/checkout.shipping.tryAgainButton\": \"Skúste to znova\",\n \"store/checkout.shipping.unknownErrorMessage\": \"Pri pokuse o zadanie vašej žiadosti sa vyskytla chyba.\",\n \"store/checkout.shipping.backToAddressList\": \"Alebo <a> sa vráťte na zoznam adries</a>.\"\n}\n\n```"
}
] |
code_checkout-shipping_f9978c72
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of checkout-shipping/messages/pt.json from the checkout-shipping VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"store/checkout.shipping.informAddress\": \"Por favor informe seu endereço\",\n \"store/checkout.shipping.chooseAddress\": \"Escolha um endereço\",\n \"store/checkout.shipping.selectedDeliveryOptionsLabel\": \"Você selecionou\",\n \"store/checkout.shipping.newAddressLabel\": \"Novo endereço…\",\n \"store/checkout.shipping.shippingOptionLabel\": \"Opção de entrega\",\n \"store/checkout.shipping.completeAddressLabel\": \"Complete o endereço de entrega\",\n \"store/checkout.shipping.receiverNameLabel\": \"Nome e sobrenome\",\n \"store/checkout.shipping.receiverLabel\": \"Destinatário\",\n \"store/checkout.shipping.shippingOptionsForAddressLabel\": \"Opções de entrega para\",\n \"store/checkout.shipping.emptyDeliveryOptionsAlert\": \"Não há opções de entrega disponíveis para a sua localidade.\",\n \"store/checkout.shipping.changeAddressLabel\": \"alterar\",\n \"store/checkout.shipping.changeReceiverLabel\": \"alterar\",\n \"store/checkout.shipping.seeDetails\": \"Ver detalhes\",\n \"store/checkout.shipping.distance\": \"{distanceValue}km de distância\",\n \"store/checkout.shipping.pickupPointsModal.details\": \"Detalhes\",\n \"store/checkout.shipping.pickupPointsModal.weekDay0\": \"Domingo\",\n \"store/checkout.shipping.pickupPointsModal.weekDay1\": \"Segunda-feira\",\n \"store/checkout.shipping.pickupPointsModal.weekDay2\": \"Terça-feira\",\n \"store/checkout.shipping.pickupPointsModal.weekDay3\": \"Quarta-feira\",\n \"store/checkout.shipping.pickupPointsModal.weekDay4\": \"Quinta-feira\",\n \"store/checkout.shipping.pickupPointsModal.weekDay5\": \"Sexta-feira\",\n \"store/checkout.shipping.pickupPointsModal.weekDay6\": \"Sábado\",\n \"store/checkout.shipping.pickupPointsModal.weekDay1to5\": \"Segunda a Sexta-feira\",\n \"store/checkout.shipping.pickupPointsModal.closed\": \"Fechado\",\n \"store/checkout.shipping.pickupPointsModal.hourFromTo\": \"{openingTime}h a {closingTime}h\",\n \"store/checkout.shipping.pickupPointsModal.businessHours\": \"Horário de funcionamento\",\n \"store/checkout.shipping.pickupPointsModal.allItemsAvailable\": \"Todos os itens estão disponíveis nesta loja.\",\n \"store/checkout.shipping.pickupPointsModal.availableItems\": \"Itens disponíveis\",\n \"store/checkout.shipping.pickupPointsModal.address\": \"Endereço\",\n \"store/checkout.shipping.goToPayment\": \"Ir para pagamento\",\n \"store/checkout.shipping.goToAddress\": \"Ir para endereço\",\n \"store/checkout.shipping.tryAgainButton\": \"Tentar novamente\",\n \"store/checkout.shipping.unknownErrorMessage\": \"Ocorreu um erro ao tentar realizar sua solicitação.\",\n \"store/checkout.shipping.backToAddressList\": \"Ou, <a>volte para a lista de endereços</a>.\"\n}\n\n```"
}
] |
code_checkout-shipping_2d32fc1a
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of checkout-shipping/messages/en.json from the checkout-shipping VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"store/checkout.shipping.informAddress\": \"Please inform your address\",\n \"store/checkout.shipping.chooseAddress\": \"Choose an address\",\n \"store/checkout.shipping.selectedDeliveryOptionsLabel\": \"You selected\",\n \"store/checkout.shipping.newAddressLabel\": \"New address…\",\n \"store/checkout.shipping.shippingOptionLabel\": \"Shipping option\",\n \"store/checkout.shipping.completeAddressLabel\": \"Complete the delivery address\",\n \"store/checkout.shipping.receiverNameLabel\": \"Name and surname\",\n \"store/checkout.shipping.receiverLabel\": \"Receiver\",\n \"store/checkout.shipping.shippingOptionsForAddressLabel\": \"Shipping options for\",\n \"store/checkout.shipping.emptyDeliveryOptionsAlert\": \"No delivery options are available for your location.\",\n \"store/checkout.shipping.changeAddressLabel\": \"change\",\n \"store/checkout.shipping.changeReceiverLabel\": \"change\",\n \"store/checkout.shipping.seeDetails\": \"See details\",\n \"store/checkout.shipping.distance\": \"{distanceValue}km away\",\n \"store/checkout.shipping.pickupPointsModal.details\": \"Details\",\n \"store/checkout.shipping.pickupPointsModal.weekDay0\": \"Sunday\",\n \"store/checkout.shipping.pickupPointsModal.weekDay1\": \"Monday\",\n \"store/checkout.shipping.pickupPointsModal.weekDay2\": \"Tuesday\",\n \"store/checkout.shipping.pickupPointsModal.weekDay3\": \"Wednesday\",\n \"store/checkout.shipping.pickupPointsModal.weekDay4\": \"Thursday\",\n \"store/checkout.shipping.pickupPointsModal.weekDay5\": \"Friday\",\n \"store/checkout.shipping.pickupPointsModal.weekDay6\": \"Saturday\",\n \"store/checkout.shipping.pickupPointsModal.weekDay1to5\": \"Monday to Friday\",\n \"store/checkout.shipping.pickupPointsModal.closed\": \"Closed\",\n \"store/checkout.shipping.pickupPointsModal.hourFromTo\": \"{openingTime}h - {closingTime}h\",\n \"store/checkout.shipping.pickupPointsModal.businessHours\": \"Business hours\",\n \"store/checkout.shipping.pickupPointsModal.allItemsAvailable\": \"All the items are available.\",\n \"store/checkout.shipping.pickupPointsModal.availableItems\": \"Available items\",\n \"store/checkout.shipping.pickupPointsModal.address\": \"Address\",\n \"store/checkout.shipping.goToPayment\": \"Go to payment\",\n \"store/checkout.shipping.goToAddress\": \"Go to address\",\n \"store/checkout.shipping.tryAgainButton\": \"Try again\",\n \"store/checkout.shipping.unknownErrorMessage\": \"There was an error while trying to make your request.\",\n \"store/checkout.shipping.backToAddressList\": \"Or, <a>go back to address list</a>.\"\n}\n\n```"
}
] |
code_checkout-shipping_0cd0f784
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of checkout-shipping/messages/fr.json from the checkout-shipping VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"store/checkout.shipping.informAddress\": \"Veuillez renseigner votre adresse\",\n \"store/checkout.shipping.chooseAddress\": \"Choisissez une adresse\",\n \"store/checkout.shipping.selectedDeliveryOptionsLabel\": \"Vous avez sélectionné\",\n \"store/checkout.shipping.newAddressLabel\": \"Nouvelle adresse…\",\n \"store/checkout.shipping.shippingOptionLabel\": \"Mode d’expédition\",\n \"store/checkout.shipping.completeAddressLabel\": \"Complétez l’adresse de livraison\",\n \"store/checkout.shipping.receiverNameLabel\": \"Prénom et nom\",\n \"store/checkout.shipping.receiverLabel\": \"Destinataire\",\n \"store/checkout.shipping.shippingOptionsForAddressLabel\": \"Options d’expédition pour\",\n \"store/checkout.shipping.emptyDeliveryOptionsAlert\": \"Aucune option de livraison n’est disponible pour votre localisation.\",\n \"store/checkout.shipping.changeAddressLabel\": \"changer\",\n \"store/checkout.shipping.changeReceiverLabel\": \"modifier\",\n \"store/checkout.shipping.seeDetails\": \"Afficher les détails\",\n \"store/checkout.shipping.distance\": \"{distanceValue} km de distance\",\n \"store/checkout.shipping.pickupPointsModal.details\": \"Informations\",\n \"store/checkout.shipping.pickupPointsModal.weekDay0\": \"Dimanche\",\n \"store/checkout.shipping.pickupPointsModal.weekDay1\": \"Lundi\",\n \"store/checkout.shipping.pickupPointsModal.weekDay2\": \"Mardi\",\n \"store/checkout.shipping.pickupPointsModal.weekDay3\": \"Mercredi\",\n \"store/checkout.shipping.pickupPointsModal.weekDay4\": \"Jeudi\",\n \"store/checkout.shipping.pickupPointsModal.weekDay5\": \"Vendredi\",\n \"store/checkout.shipping.pickupPointsModal.weekDay6\": \"Samedi\",\n \"store/checkout.shipping.pickupPointsModal.weekDay1to5\": \"Du lundi au vendredi\",\n \"store/checkout.shipping.pickupPointsModal.closed\": \"Fermé\",\n \"store/checkout.shipping.pickupPointsModal.hourFromTo\": \"{openingTime}h - {closingTime}h\",\n \"store/checkout.shipping.pickupPointsModal.businessHours\": \"Heures ouvrables\",\n \"store/checkout.shipping.pickupPointsModal.allItemsAvailable\": \"Tous les articles sont disponibles.\",\n \"store/checkout.shipping.pickupPointsModal.availableItems\": \"Articles disponibles\",\n \"store/checkout.shipping.pickupPointsModal.address\": \"Adresse\",\n \"store/checkout.shipping.goToPayment\": \"Aller au paiement\",\n \"store/checkout.shipping.goToAddress\": \"Aller à l’adresse\",\n \"store/checkout.shipping.tryAgainButton\": \"Réessayez\",\n \"store/checkout.shipping.unknownErrorMessage\": \"Une erreur s’est produite lors de l’envoi de votre demande.\",\n \"store/checkout.shipping.backToAddressList\": \"Ou, <a>retourner à la liste d’adresses</a>.\"\n}\n\n```"
}
] |
code_checkout-shipping_ce1efdb2
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of checkout-shipping/messages/el.json from the checkout-shipping VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"store/checkout.shipping.informAddress\": \"Ενημερώστε για την διεύθυνσή σας\",\n \"store/checkout.shipping.chooseAddress\": \"Επιλέξτε μια διεύθυνση\",\n \"store/checkout.shipping.selectedDeliveryOptionsLabel\": \"Έχετε επιλέξει\",\n \"store/checkout.shipping.newAddressLabel\": \"Νέα διεύθυνση…\",\n \"store/checkout.shipping.shippingOptionLabel\": \"Επιλογή μεταφοράς\",\n \"store/checkout.shipping.completeAddressLabel\": \"Συμπληρώστε τη διεύθυνση παράδοσης\",\n \"store/checkout.shipping.receiverNameLabel\": \"Ονοματεπώνυμο\",\n \"store/checkout.shipping.receiverLabel\": \"Παραλήπτης\",\n \"store/checkout.shipping.shippingOptionsForAddressLabel\": \"Επιλογές μεταφοράς για\",\n \"store/checkout.shipping.emptyDeliveryOptionsAlert\": \"Δεν υπάρχουν διαθέσιμες επιλογές παράδοσης για την τοποθεσία σας.\",\n \"store/checkout.shipping.changeAddressLabel\": \"αλλαγή\",\n \"store/checkout.shipping.changeReceiverLabel\": \"αλλαγή\",\n \"store/checkout.shipping.seeDetails\": \"Βλέπε λεπτομέρειες\",\n \"store/checkout.shipping.distance\": \"{distanceValue}χλμ μακριά\",\n \"store/checkout.shipping.pickupPointsModal.details\": \"Λεπτομέρειες\",\n \"store/checkout.shipping.pickupPointsModal.weekDay0\": \"Κυριακή\",\n \"store/checkout.shipping.pickupPointsModal.weekDay1\": \"Δευτέρα\",\n \"store/checkout.shipping.pickupPointsModal.weekDay2\": \"Τρίτη\",\n \"store/checkout.shipping.pickupPointsModal.weekDay3\": \"Τετάρτη\",\n \"store/checkout.shipping.pickupPointsModal.weekDay4\": \"Πέμπτη\",\n \"store/checkout.shipping.pickupPointsModal.weekDay5\": \"Παρασκευή\",\n \"store/checkout.shipping.pickupPointsModal.weekDay6\": \"Σάββατο\",\n \"store/checkout.shipping.pickupPointsModal.weekDay1to5\": \"Δευτέρα έως Παρασκευή\",\n \"store/checkout.shipping.pickupPointsModal.closed\": \"Έκλεισε\",\n \"store/checkout.shipping.pickupPointsModal.hourFromTo\": \"{openingTime}ω - {closingTime}ω\",\n \"store/checkout.shipping.pickupPointsModal.businessHours\": \"Εργάσιμες ώρες\",\n \"store/checkout.shipping.pickupPointsModal.allItemsAvailable\": \"Όλα τα προϊόντα είναι διαθέσιμα.\",\n \"store/checkout.shipping.pickupPointsModal.availableItems\": \"Διαθέσιμα προϊόντα\",\n \"store/checkout.shipping.pickupPointsModal.address\": \"Διεύθυνση\",\n \"store/checkout.shipping.goToPayment\": \"Μεταβείτε στην πληρωμή\",\n \"store/checkout.shipping.goToAddress\": \"Μεταβείτε στη διεύθυνση\",\n \"store/checkout.shipping.tryAgainButton\": \"Δοκιμάστε ξανά\",\n \"store/checkout.shipping.unknownErrorMessage\": \"Προέκυψε σφάλμα κατά την προσπάθεια δημιουργίας του αιτήματός σας.\",\n \"store/checkout.shipping.backToAddressList\": \"Ή, <a>επιστρέψτε στη λίστα διεύθυνσης</a>.\"\n}\n\n```"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.