id
stringlengths
12
53
messages
listlengths
3
3
code_dartel-external-prices-node_76feff6b
[ { "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 dartel-external-prices-node/node/clients/pricingClient.ts from the dartel-external-prices-node VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\nimport type { InstanceOptions, IOContext } from '@vtex/api'\nimport { ExternalClient, TooManyRequestsError } from '@vtex/api'\n\nimport type { Quote } from '../typings/externalPrice'\n\nexport default class PricingClient extends ExternalClient {\n constructor(context: IOContext, options?: InstanceOptions) {\n super(`http://${context.account}.myvtex.com/api/pricing`, context, {\n ...options,\n headers: {\n ...options?.headers,\n Accept: 'application/vnd.vtex.pricing.v3+json',\n 'Cache-Control': 'no-cache',\n 'Content-Type': 'application/json',\n 'X-Vtex-Use-Https': 'true',\n VtexIdclientAutcookie: context.authToken ?? '',\n },\n })\n }\n\n public async getPrice(skuId: string | number, priceTable: string) {\n try {\n return await this.http.get<Quote>(\n `/prices/${skuId}/computed/${priceTable}`\n )\n } catch (e) {\n if (e.response.status === 404) {\n return undefined\n }\n\n if (e.response.status === 429) {\n throw new TooManyRequestsError()\n }\n\n throw e\n }\n }\n}\n\nexport interface Context {\n categories: Record<string, never>\n brands: Record<string, never>\n markupRange: null\n dateRange: null\n}\n\n```" } ]
code_dartel-external-prices-node_7fa8d6c1
[ { "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 dartel-external-prices-node/node/typings/profileSystem.d.ts from the dartel-external-prices-node VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\ninterface Address {\n id?: string\n userId?: string\n receiverName?: string\n complement?: string\n neighborhood?: string\n country?: string\n state?: string\n number?: string\n street?: string\n postalCode?: string\n city?: string\n reference?: string\n addressName?: string\n addressType?: string\n geoCoordinates?: string\n}\n\nexport interface Profile {\n firstName?: string\n lastName?: string\n profilePicture?: string\n email: string\n document?: string\n userId?: string\n birthDate?: string\n gender?: string\n homePhone?: string\n businessPhone?: string\n isCorporate?: boolean\n isPJ?: string\n corporateName?: string\n corporateDocument?: string\n stateRegistration?: string\n approved?: boolean\n addresses?: Address[]\n tradeName?: string\n payments?: PaymentProfile[]\n customFields?: ProfileCustomField[]\n priceTables: string\n}\n\ninterface CurrentProfile {\n email: string\n userId?: string\n}\n\n```" } ]
code_dartel-external-prices-node_37f189c1
[ { "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 dartel-external-prices-node/node/typings/externalPrice.d.ts from the dartel-external-prices-node VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\nimport type { Maybe } from '@vtex/api'\n\nexport type Quote = {\n skuId: string\n listPrice: number\n costPrice: number\n sellingPrice: number\n priceValidUntil: string\n tradePolicyId?: string\n}\n\nexport type InputItem = {\n skuId: string\n quantity: number\n index: number\n}\n\nexport type ExternalPriceInput = {\n context: {\n email: string\n }\n item: InputItem\n}\n\nexport type ExternalPriceResponse = {\n message: string\n item: {\n index: number\n skuId: string\n price: number\n costPrice: Maybe<number>\n listPrice: Maybe<number>\n priceValidUntil: string\n priceTables: string\n sellingPrice: Maybe<number>\n tradePolicyId: Maybe<string>\n }\n}\n\n```" } ]
code_dartel-external-prices-node_94fd233d
[ { "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 dartel-external-prices-node/node/typings/global.d.ts from the dartel-external-prices-node VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\nimport type { RecorderState, ServiceContext } from '@vtex/api'\nimport type { Clients } from '../clients'\nimport type { Quote, ExternalPriceInput } from './externalPrice'\n\ndeclare global {\n type Context<TState extends State = State> = ServiceContext<Clients, TState>\n\n interface State extends RecorderState {\n quote?: Quote\n body: ExternalPriceInput\n }\n\n type Next = () => Promise<void>\n}\n\n```" } ]
code_dartel-external-prices-node_4e680e8e
[ { "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 dartel-external-prices-node/node/utils/statusCodeUtils.ts from the dartel-external-prices-node VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\nimport type { AxiosError } from 'axios'\nimport { AuthenticationError, ForbiddenError, UserInputError } from '@vtex/api'\n\nexport function isNotSuccessCode(statusCode: number) {\n return statusCode < 200 || statusCode > 299\n}\n\nexport const statusToError = (e: AxiosError) => {\n if (!e.response) throw e\n\n const { response } = e as AxiosError\n\n if (!response?.status) throw e\n\n const { status } = response\n\n if (status === 401) throw new AuthenticationError(e)\n\n if (status === 403) throw new ForbiddenError(e)\n\n if (status === 400) throw new UserInputError(e)\n\n throw e\n}\n\n```" } ]
code_dartel-external-prices-node_b06d79c0
[ { "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 dartel-external-prices-node/node/__tests__/simple.test.ts from the dartel-external-prices-node VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\n// You can import your files here for testing them\n//\n// More info: https://github.com/sapegin/jest-cheat-sheet\n\ndescribe('simpleTest', () => {\n it('one test case', async () => {\n expect(0.2 + 0.1).not.toBe(0.3)\n })\n})\n\n```" } ]
code_dartel-external-prices-node_a3ff7ce2
[ { "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 dartel-external-prices-node/node/handlers/formatResponse.ts from the dartel-external-prices-node VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\nimport type { ExternalPriceResponse, Quote } from '../typings/externalPrice'\n\nexport async function formatResponse(ctx: Context) {\n const { state, body } = ctx\n const quote = state.quote as Quote\n\n // Checkout service expect prices coming from Pricing Service to be multiplied by 100\n const response: ExternalPriceResponse = {\n message: 'Price quoted successfully.',\n item: {\n price: quote.sellingPrice * 100,\n priceTables: quote.tradePolicyId ?? '',\n index: body.item.index,\n skuId: quote.skuId,\n listPrice: quote.listPrice * 100,\n costPrice: quote.costPrice * 100,\n sellingPrice: quote.sellingPrice * 100,\n priceValidUntil: quote.priceValidUntil,\n tradePolicyId: quote.tradePolicyId,\n },\n }\n\n ctx.body = response\n ctx.status = 200\n}\n\n```" } ]
code_dartel-external-prices-node_d1928c99
[ { "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 dartel-external-prices-node/node/handlers/validate.ts from the dartel-external-prices-node VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\nimport { json } from 'co-body'\nimport { UserInputError } from '@vtex/api'\n\nexport async function validate(ctx: Context, next: Next) {\n ctx.body = await json(ctx.req)\n\n const { item } = ctx.body\n\n if (!item?.skuId) {\n const error = new UserInputError('Item.SkuId is required')\n\n ctx.vtex.logger.error({\n message: 'ExternalPriceApp_Validate',\n error,\n })\n\n throw error\n }\n\n await next()\n}\n\n```" } ]
code_dartel-external-prices-node_201fc805
[ { "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 dartel-external-prices-node/node/handlers/fetchPrice.ts from the dartel-external-prices-node VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\nimport { NotFoundError } from '@vtex/api'\n\nimport type { Profile } from '../typings/profileSystem'\n\nexport async function fetchPrice(ctx: Context, next: Next) {\n const { clients, body } = ctx\n\n const { profileSystem, pricing } = clients\n\n let currentProfile: Profile | null = null\n\n if (body.context.email) {\n try {\n currentProfile = (await profileSystem.getProfileInfo(\n {\n email: body.context.email,\n userId: body.context.email,\n },\n 'priceTables,isCorporate'\n )) as Profile\n } catch (e) {\n ctx.vtex.logger.warn({\n message: 'ExternalPriceApp_FetchPrice_NoProfile',\n e,\n })\n\n throw e\n }\n }\n\n const priceTableDefault = currentProfile?.isPJ === 'True' ? '2' : '1'\n\n const price = await pricing.getPrice(\n body.item.skuId,\n currentProfile?.priceTables ?? priceTableDefault\n )\n\n if (!price) {\n const error = new NotFoundError('Price not found')\n\n ctx.vtex.logger.error({\n message: 'ExternalPriceApp_FetchPrice_Noprice',\n error,\n })\n\n throw error\n }\n\n ctx.state.quote = {\n ...price,\n skuId: body.item.skuId,\n }\n\n await next()\n}\n\n```" } ]
code_document-field_00173260
[ { "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 document-field/docs/README.md from the document-field VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```markdown\n# Document Field\n\nDocument Field is a VTEX IO app that handles formatting and validation of documents, based on a pre-defined\ndocument type. It includes a UI component that renders a input with a listbox, listing all available document\ntypes we currently support.\n\n<img width=\"314\" alt=\"image\" src=\"https://user-images.githubusercontent.com/10223856/77350379-34774e00-6d1b-11ea-8f0e-7290278ede84.png\">\n\n## Usage\n\nTo use this app, you first need to add it in your `manifest.json` file, like so\n\n```json\n{\n \"dependencies\": {\n \"vtex.document-field\": \"0.x\"\n }\n}\n```\n\n> If you are developing in TypeScript, you may also want to run `vtex setup` after the step above\n\nThen you can import the document field component and use it in your forms:\n\n```jsx\nimport * as React from 'react'\nimport { DocumentField } from 'vtex.document-field'\n\nconst Form = () => {\n const [document, setDocument] = React.useState('')\n const [documentType, setDocumentType] = React.useState('cpf')\n\n const handleDocumentChange = data => {\n setDocument(data.document)\n setDocumentType(data.documentType)\n\n // you can also use `data.isValid` to show some\n // validation errors\n }\n\n return (\n <form>\n <DocumentField\n label=\"Document\"\n document={document}\n documentType={documentType}\n onChange={handleDocumentChange}\n />\n </form>\n )\n}\n```\n\n## Components\n\n### DocumentField\n\nResponsible for rendering the listbox with the text field and formatting and validating the document.\n\n#### Props\n\nThe `DocumentField` component also accepts all props of [Styleguide's `Input`](https://styleguide.vtex.com/#/Components/Forms/Input),\nexcept for the `value`, `onChange` and `prefix`, which are used internally by this component.\n\n| Prop name | Type | Required |\n| --- | --- | --- |\n| [`document`](#documentfield-document) | `string` | `true` |\n| [`documentType`](#documentfield-documenttype) | `string` | `true` |\n| [`onChange`](#documentfield-onchange) | `func` | `false` |\n\n##### DocumentField document\n\n`document: string`\n\nThe document value.\n\n##### DocumentField documentType\n\n`documentType: string`\n\nThe document type. E.g.: `cpf`, `ssn`, `dni`.\n\n##### DocumentField onChange\n\n`onChange: (data: { document: string; documentType: string; isValid: boolean }) => void`\n\nCallback to trigger the change of document value. Can be triggered by either typing on the text field\nor by changing the document type within the listbox.\n\n```" } ]
code_document-field_9f599161
[ { "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 document-field/react/package.json from the document-field VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"document-field\",\n \"version\": \"0.1.1\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"test\": \"vtex-test-tools test\"\n },\n \"devDependencies\": {\n \"@apollo/react-testing\": \"^3.1.3\",\n \"@types/jest\": \"^25.1.4\",\n \"@types/node\": \"^13.9.3\",\n \"@types/react\": \"^16.9.25\",\n \"@vtex/styleguide\": \"^9.112.26\",\n \"@vtex/test-tools\": \"^3.1.0\",\n \"vtex.render-runtime\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.render-runtime@8.96.1/public/@types/vtex.render-runtime\",\n \"vtex.styleguide\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.styleguide@9.112.26/public/@types/vtex.styleguide\"\n },\n \"dependencies\": {\n \"msk\": \"^1.0.5\",\n \"react\": \"^16.13.1\",\n \"react-intl\": \"^4.2.2\"\n }\n}\n\n```" } ]
code_document-field_1e6c840b
[ { "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 document-field/react/DocumentField.tsx from the document-field VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport msk from 'msk'\nimport * as React from 'react'\nimport { Input, InputProps } from 'vtex.styleguide'\n\nimport { CPF_MASK, validateCPF } from './utils/validation'\n\ninterface DocumentData {\n document: string\n documentType: string\n isValid: boolean\n}\n\ninterface Props extends Omit<InputProps, 'onChange' | 'value' | 'prefix'> {\n documentType?: string\n document?: string\n onChange?: (data: DocumentData) => void\n}\n\nconst DocumentField = React.forwardRef<HTMLInputElement, Props>(\n function DocumentField(\n { documentType = 'cpf', document = '', onChange = () => {}, ...props },\n ref\n ) {\n const [focused, setFocused] = React.useState(false)\n\n const handleDocumentChange: React.ChangeEventHandler<HTMLInputElement> = evt => {\n onChange({\n document: evt.target.value,\n documentType,\n isValid: true,\n })\n }\n\n const onChangeRef = React.useRef(onChange)\n\n React.useEffect(() => {\n onChangeRef.current = onChange\n }, [onChange])\n\n React.useEffect(() => {\n if (focused || documentType !== 'cpf') {\n return\n }\n\n const value = msk(document, CPF_MASK)\n\n onChangeRef.current({\n document: value,\n isValid: validateCPF(value),\n documentType,\n })\n }, [focused, documentType, document])\n\n const handleBlur: React.FocusEventHandler<HTMLInputElement> = evt => {\n setFocused(false)\n props.onBlur?.(evt)\n }\n\n const handleFocus: React.FocusEventHandler<HTMLInputElement> = evt => {\n setFocused(true)\n props.onFocus?.(evt)\n }\n\n return (\n <Input\n {...props}\n ref={ref}\n prefix={<span className=\"ttu\">{documentType}</span>}\n value={document}\n onChange={handleDocumentChange}\n onBlur={handleBlur}\n onFocus={handleFocus}\n />\n )\n }\n)\n\nexport default DocumentField\n\n```" } ]
code_document-field_ba135afb
[ { "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 document-field/react/typings/vtex.styleguide.d.ts from the document-field VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\n/* eslint-disable import/order */\n\nimport * as Styleguide from 'vtex.styleguide'\n\ndeclare module 'vtex.styleguide' {\n import * as React from 'react'\n\n export type InputProps = {\n label?: string | React.ReactElement\n error?: boolean\n errorMessage?: string\n helpText?: React.ReactNode\n suffix?: React.ReactNode\n prefix?: React.ReactNode\n isLoadingButton?: boolean\n value: string\n onChange: React.ChangeEventHandler<HTMLInputElement>\n } & React.InputHTMLAttributes<HTMLInputElement>\n\n export const Input: React.FC<InputProps>\n}\n\n```" } ]
code_document-field_f6fbac0b
[ { "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 document-field/react/utils/validation.ts from the document-field VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\nexport const CPF_LENGTH = 11\nexport const CPF_MASK = '999.999.999-99'\n\nconst unmaskCPF = (value: string) => value.replace(/\\D/g, '')\n\nexport const validateCPF = (value: string) => {\n const unmaskedValue = unmaskCPF(value)\n\n if (unmaskedValue.length !== CPF_LENGTH) {\n return false\n }\n\n if (unmaskedValue.split('').every(digit => digit === unmaskedValue[0])) {\n return false\n }\n\n let [secondDigit, firstDigit, ...digits] = unmaskedValue\n .split('')\n .map(digit => parseInt(digit, 10))\n .reverse()\n\n digits = digits.reverse()\n\n const firstDigitSum = digits.reduce(\n (acc, digit, index) => acc + digit * (10 - index),\n 0\n )\n const firstDigitRemainder = ((firstDigitSum * 10) % 11) % 10\n\n if (firstDigitRemainder !== firstDigit) return false\n\n const secondDigitSum = digits\n .concat([firstDigit])\n .reduce((acc, digit, index) => acc + digit * (11 - index), 0)\n const secondDigitRemainder = ((secondDigitSum * 10) % 11) % 10\n\n if (secondDigitRemainder !== secondDigit) return false\n\n return true\n}\n\n```" } ]
code_document-field_bc52142f
[ { "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 document-field/react/__tests__/DocumentField.test.tsx from the document-field VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport * as React from 'react'\nimport { render, fireEvent, wait } from '@vtex/test-tools/react'\n\nimport DocumentField from '../DocumentField'\n\ndescribe('DocumentField', () => {\n it('should correctly mask BRA documents', async () => {\n const Component = () => {\n const [document, setDocument] = React.useState('11111111111')\n return (\n <DocumentField\n label=\"Document\"\n documentType=\"cpf\"\n document={document}\n onChange={(data: { document: string }) => setDocument(data.document)}\n />\n )\n }\n\n const { getByLabelText } = render(<Component />)\n\n const input = getByLabelText(/document/i)\n\n await wait(() => void expect(input).toHaveValue('111.111.111-11'))\n })\n\n it('should only mask value on field blur', () => {\n const Component: React.FC = () => {\n const [document, setDocument] = React.useState('')\n const [documentType, setDocumentType] = React.useState('cpf')\n\n const handleDocumentChange = (data: {\n document: string\n documentType: string\n }) => {\n setDocument(data.document)\n setDocumentType(data.documentType)\n }\n\n return (\n <DocumentField\n label=\"Document\"\n document={document}\n documentType={documentType}\n onChange={handleDocumentChange}\n />\n )\n }\n\n const { getByLabelText } = render(<Component />)\n\n const input = getByLabelText(/document/i)\n\n fireEvent.focus(input)\n\n fireEvent.change(input, { target: { value: '123456789' } })\n\n expect(input).toHaveValue('123456789')\n\n fireEvent.change(input, { target: { value: '12345678901' } })\n\n expect(input).toHaveValue('12345678901')\n\n fireEvent.blur(input)\n\n expect(input).toHaveValue('123.456.789-01')\n })\n\n it(\"should not format if document isn't cpf\", () => {\n const AnotherDocComponent: React.FC = () => {\n const [document, setDocument] = React.useState('')\n const [documentType, setDocumentType] = React.useState('another-document')\n\n const handleDocumentChange = (data: {\n document: string\n documentType: string\n }) => {\n setDocument(data.document)\n setDocumentType(data.documentType)\n }\n\n return (\n <DocumentField\n label=\"Document\"\n document={document}\n documentType={documentType}\n onChange={handleDocumentChange}\n />\n )\n }\n\n const { getByLabelText } = render(<AnotherDocComponent />)\n\n const input = getByLabelText(/document/i)\n\n fireEvent.focus(input)\n\n fireEvent.change(input, { target: { value: '123456789' } })\n\n fireEvent.blur(input)\n\n expect(input).toHaveValue('123456789')\n })\n\n it('should allow input of any special characters', () => {\n const Component: React.FC = () => {\n const [document, setDocument] = React.useState('')\n const [documentType, setDocumentType] = React.useState('')\n\n const handleDocumentChange = (data: {\n document: string\n documentType: string\n }) => {\n setDocument(data.document)\n setDocumentType(data.documentType)\n }\n\n return (\n <DocumentField\n label=\"Document\"\n document={document}\n documentType={documentType}\n onChange={handleDocumentChange}\n />\n )\n }\n\n const { getByLabelText } = render(<Component />)\n\n const input = getByLabelText(/document/i)\n\n fireEvent.change(input, { target: { value: 'abc123.,[]&*()' } })\n\n expect(input).toHaveValue('abc123.,[]&*()')\n })\n\n it('should be able to mask a partially masked BRA document', () => {\n const ComponentWithPartialDoc = () => {\n const [doc, setDoc] = React.useState('')\n return (\n <DocumentField\n label=\"Document\"\n documentType=\"cpf\"\n document={doc}\n onChange={(data: { document: string }) => setDoc(data.document)}\n />\n )\n }\n\n const { getByLabelText } = render(<ComponentWithPartialDoc />)\n\n const input = getByLabelText(/document/i)\n\n fireEvent.focus(input)\n\n fireEvent.change(input, { target: { value: '123.45678901' } })\n\n fireEvent.blur(input)\n\n expect(input).toHaveValue('123.456.789-01')\n })\n})\n\n```" } ]
code_datadog-rum-pixel_84bb64a4
[ { "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 datadog-rum-pixel/docs/README.md from the datadog-rum-pixel VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```markdown\n📢 Use this project, [contribute](https://github.com/vtex-apps/datadog-rum-pixel) to it or open issues to help evolve it using [Store Discussion](https://github.com/vtex-apps/store-discussion).\n\n# Datadog RUM\n\nThe VTEX Datadog RUM app is a first party integration to the [Datadog Real User Monitoring (RUM)](https://www.datadoghq.com/product/real-user-monitoring/).\n\n## Installation and configuration\n\n### Step 1 - Installing Datadog RUM app\n\nInstall `vtex.datadog-rum-pixel` in your account.\n\n vtex install vtex.datadog-rum-pixel\n\n> ℹ️ **Info**\n>\n> Access the [Datadog RUM](https://www.datadoghq.com/product/real-user-monitoring/)</a> and login to your account in order to find out what is your account **Datadog RUM ID**. You will need your application ID and client token to set up the app.\n\nFollow the instructions provided by the Datadog RUM App in the `Admin` > `Account Settings` > `Apps` > `My Apps` > `Datadog RUM Pixel App`\n\n### Step 2 - Setup Datadog RUM\n\nTo set up Datadog RUM in your store, you must create and set up all necessary configurations.\n\n#### Configuring Datadog RUM\n\n1. Log in to your [Datadog account](https://www.datadoghq.com/) and navigate to the RUM section.\n\n2. Obtain your application ID, client token, site and service from the Datadog RUM settings.\n\n3. In your VTEX store, go to the Datadog RUM app settings and enter the application ID, client token, site and service.\n\n4. Configure additional settings as required, such as session sample rate, session replay sample rate, track user interactions, track resources, track long tasks, and default privacy level.\n\n#### Checking received data\n\nNow, let's check the received data from your website.\n\n1. Enter in the Datadog RUM dashboard and navigate to the `Real User Monitoring` section.\n\n2. You will see the data from your website, such as page views, user sessions, and more.\n\n> ℹ️ **Info**\n>\n> If you are not able to see any data, go to your browser's Developer Tools, check the console for any errors, and ensure that the Datadog RUM script is correctly set up.\n\n```" } ]
code_datadog-rum-pixel_fb85dd01
[ { "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 datadog-rum-pixel/react/index.tsx from the datadog-rum-pixel VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport { canUseDOM } from 'vtex.render-runtime'\nimport type { DefaultPrivacyLevel } from '@datadog/browser-rum'\n\nimport type { PixelMessage } from './typings/events'\n\nconst datadogRum = import('@datadog/browser-rum')\n\n// no-op for extension point\nexport default function () {\n return null\n}\n\nexport function handleEvents(e: PixelMessage) {\n datadogRum.then(dd => {\n switch (e.data.eventName) {\n case 'vtex:userData': {\n const { data } = e\n\n if (!data.isAuthenticated) {\n break\n }\n\n dd.datadogRum.setUser({\n id: data.id,\n email: data.email,\n name: data.firstName\n ? `${data.firstName} ${data.lastName}`\n : undefined,\n })\n\n break\n }\n\n case 'vtex:cartId': {\n dd.datadogRum.setGlobalContextProperty('cart', {\n cartId: e.data.cartId,\n })\n\n break\n }\n\n case 'vtex:orderPlaced': {\n const order = e.data\n\n dd.datadogRum.setGlobalContextProperty('order', {\n ...order,\n })\n\n break\n }\n\n default: {\n break\n }\n }\n })\n}\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function init(settings: DatadogRumSettings, runtime: any) {\n if (!settings) {\n console.error('Datadog RUM Pixel: Missing settings')\n\n return\n }\n\n const {\n applicationId,\n clientToken,\n site,\n service,\n version,\n sessionSampleRate,\n sessionReplaySampleRate,\n trackUserInteractions,\n trackResources,\n trackLongTasks,\n defaultPrivacyLevel,\n activateInDev,\n } = settings\n\n const env = runtime.workspace === 'master' ? 'production' : 'development'\n\n if (!applicationId || !clientToken || !site || !service) {\n console.error('Datadog RUM Pixel: Missing required settings')\n\n return\n }\n\n if (env === 'development' && activateInDev === 'false') {\n console.info('Datadog RUM Pixel: Not activating in development environment')\n\n return\n }\n\n datadogRum.then(dd => {\n if (dd.datadogRum.getInternalContext()?.session_id) return\n\n dd.datadogRum.init({\n applicationId,\n clientToken,\n site,\n service,\n env: runtime.workspace,\n version,\n sessionSampleRate: Number(sessionSampleRate),\n sessionReplaySampleRate: Number(sessionReplaySampleRate),\n trackUserInteractions: trackUserInteractions === 'true',\n trackResources: trackResources === 'true',\n trackLongTasks: trackLongTasks === 'true',\n defaultPrivacyLevel: defaultPrivacyLevel as DefaultPrivacyLevel,\n })\n\n dd.datadogRum.startSessionReplayRecording()\n\n window.addEventListener('message', handleEvents)\n })\n}\n\nif (canUseDOM && window.__DD_RUM_PIXEL__) {\n init(window.__DD_RUM_PIXEL__, window.__RUNTIME__)\n}\n\n```" } ]
code_datadog-rum-pixel_1cbb2ac4
[ { "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 datadog-rum-pixel/react/package.json from the datadog-rum-pixel VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"version\": \"0.0.1\",\n \"scripts\": {\n \"test\": \"vtex-test-tools test\"\n },\n \"author\": \"VTEX\",\n \"license\": \"ISC\",\n \"devDependencies\": {\n \"@types/node\": \"^12.0.0\",\n \"@vtex/test-tools\": \"^3.3.2\"\n },\n \"dependencies\": {\n \"@datadog/browser-rum\": \"^5.22.0\"\n }\n}\n\n```" } ]
code_datadog-rum-pixel_10554cfb
[ { "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 datadog-rum-pixel/store/interfaces.json from the datadog-rum-pixel VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"pixel.dd-rum\": {\n \"component\": \"index\"\n }\n}\n\n```" } ]
code_datadog-rum-pixel_d4101ccd
[ { "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 datadog-rum-pixel/public/metadata/messages/es-AR.json from the datadog-rum-pixel VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"Datadog RUM\",\n \"headline\": \"Integra tu tienda con Datadog Real User Monitor\",\n \"overview\": \"Datadog Real User Monitoring (RUM) proporciona una visión profunda del rendimiento del frontend de tu aplicación. Monitorea datos de usuarios reales para optimizar el rendimiento web y proporcionar experiencias de usuario excepcionales.\",\n \"features\": [\n \"Configura Datadog Real User Monitor usando el panel de administración de VTEX\",\n \"Rastrea las interacciones de los usuarios y las métricas de rendimiento\",\n \"Monitorea datos de usuarios reales para optimizar el rendimiento web\"\n ],\n \"additionalInformation\": \"Para más información sobre cómo configurar tu Datadog RUM Pixel, consulta la [documentación de Datadog](https://docs.datadoghq.com/real_user_monitoring/browser/setup/)\",\n \"websiteURL\": \"https://vtex.com/\",\n \"support\": {\n \"url\": \"https://support.vtex.com/hc/requests\"\n }\n}\n\n```" } ]
code_datadog-rum-pixel_af2bf841
[ { "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 datadog-rum-pixel/public/metadata/messages/pt-BR.json from the datadog-rum-pixel VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"Datadog RUM\",\n \"headline\": \"Integre sua loja com o Datadog Real User Monitor\",\n \"overview\": \"O Datadog Real User Monitoring (RUM) fornece uma visão profunda do desempenho do frontend da sua aplicação. Monitore dados de usuários reais para otimizar o desempenho da web e proporcionar experiências excepcionais aos usuários.\",\n \"features\": [\n \"Configure o Datadog Real User Monitor usando o painel de administração VTEX\",\n \"Acompanhe as interações dos usuários e as métricas de desempenho\",\n \"Monitore dados de usuários reais para otimizar o desempenho da web\"\n ],\n \"additionalInformation\": \"Para mais informações sobre como configurar seu Datadog RUM Pixel, consulte a [documentação do Datadog](https://docs.datadoghq.com/real_user_monitoring/browser/setup/)\",\n \"websiteURL\": \"https://vtex.com/\",\n \"support\": {\n \"url\": \"https://support.vtex.com/hc/requests\"\n }\n}\n\n```" } ]
code_datadog-rum-pixel_39ec26d3
[ { "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 datadog-rum-pixel/public/metadata/messages/en-US.json from the datadog-rum-pixel VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"Datadog RUM\",\n \"headline\": \"Integrate your store with Datadog Real User Monitor\",\n \"overview\": \"Datadog Real User Monitoring (RUM) provides deep insight into your application's frontend performance. Monitor real user data in order to optimize your web performance and provide exceptional user experiences.\",\n \"features\": [\n \"Configure Datadog Real User Monitor using the VTEX admin panel\",\n \"Track user interactions and performance metrics\",\n \"Monitor real user data to optimize web performance\"\n ],\n \"additionalInformation\": \"For more information about configuring your Datadog RUM Pixel, see the [Datadog documentation](https://docs.datadoghq.com/real_user_monitoring/browser/setup/)\",\n \"websiteURL\": \"https://vtex.com/\",\n \"support\": {\n \"url\": \"https://support.vtex.com/hc/requests\"\n }\n}\n\n```" } ]
code_datadog-rum-pixel_91e5f28f
[ { "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 datadog-rum-pixel/react/typings/events.d.ts from the datadog-rum-pixel VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\n/* eslint-disable @typescript-eslint/no-explicit-any */\nexport interface PixelMessage extends MessageEvent {\n data:\n | ProductViewData\n | ProductClickData\n | OrderPlacedData\n | OrderPlacedTrackedData\n | PageViewData\n | LegacyProductViewData\n | ProductImpressionData\n | AddToCartData\n | RemoveFromCartData\n | CartChangedData\n | HomePageInfo\n | ProductPageInfoData\n | SearchPageInfoData\n | UserData\n | CartIdData\n | CartLoadedData\n | PromoViewData\n | PromotionClickData\n | AddPaymentInfoData\n | AddShippingInfoData\n | SignUpData\n | LoginData\n | ShareData\n | BeginCheckoutData\n | ViewCartData\n | RefundData\n | AddToWishlistData\n | SearchData\n}\n\nexport interface EventData {\n event: string\n eventName: string\n currency: string\n}\n\nexport interface PageInfoData extends EventData {\n event: 'pageInfo'\n eventName: 'vtex:pageInfo'\n accountName: string\n pageTitle: string\n pageUrl: string\n}\n\nexport interface LegacyProductViewData extends EventData {\n event: 'pageInfo'\n eventName: 'vtex:pageInfo'\n eventType: 'productView'\n}\n\nexport interface UserData extends PageInfoData {\n eventType: 'userData'\n eventName: 'vtex:userData'\n firstName?: string\n lastName?: string\n document?: string\n id?: string\n email?: string\n phone?: string\n isAuthenticated: boolean\n}\n\nexport interface CartIdData extends PageInfoData {\n eventType: 'cartId'\n eventName: 'vtex:cartId'\n cartId: string\n}\n\nexport interface HomePageInfo extends PageInfoData {\n eventType: 'homeView'\n}\n\nexport interface ProductPageInfoData extends PageInfoData {\n eventType: 'productPageInfo'\n}\n\nexport interface SearchPageInfoData extends PageInfoData {\n eventType:\n | 'internalSiteSearchView'\n | 'categoryView'\n | 'departmentView'\n | 'emptySearchView'\n category?: CategoryMetaData\n department?: DepartmentMetaData\n search?: SearchMetaData\n}\n\ninterface CategoryMetaData {\n id: string\n name: string\n}\n\ninterface DepartmentMetaData {\n id: string\n name: string\n}\n\ninterface SearchMetaData {\n term: string\n category: CategoryMetaData\n results: number\n}\n\nexport interface PageViewData extends EventData {\n event: 'pageView'\n eventName: 'vtex:pageView'\n pageTitle: string\n pageUrl: string\n referrer: string\n}\n\nexport interface AddToCartData extends EventData {\n event: 'addToCart'\n eventName: 'vtex:addToCart'\n items: CartItem[]\n}\n\nexport interface RemoveFromCartData extends EventData {\n event: 'removeFromCart'\n eventName: 'vtex:removeFromCart'\n items: CartItem[]\n}\n\nexport interface CartChangedData extends EventData {\n event: 'cartChanged'\n eventName: 'vtex:cartChanged'\n items: CartItem[]\n}\n\nexport interface OrderPlacedData extends Order, EventData {\n event: 'orderPlaced'\n eventName: 'vtex:orderPlaced'\n}\n\nexport interface OrderPlacedTrackedData extends Order, EventData {\n event: 'orderPlacedTracked'\n eventName: 'vtex:orderPlacedTracked'\n}\n\nexport interface ProductViewData extends EventData {\n event: 'productView'\n eventName: 'vtex:productView'\n product: Product\n list?: string\n}\n\nexport interface ProductClickData extends EventData {\n event: 'productClick'\n eventName: 'vtex:productClick'\n product: ProductSummary\n position: number\n list?: string\n}\n\nexport interface ProductImpressionData extends EventData {\n event: 'productImpression'\n eventName: 'vtex:productImpression'\n impressions: Impression[]\n product?: ProductSummary // deprecated, use impressions list!\n position?: number // deprecated, use impressions list!\n list: string\n}\n\nexport interface CartLoadedData extends EventData {\n event: 'cartLoaded'\n eventName: 'vtex:cartLoaded'\n orderForm: OrderForm\n}\n\nexport interface PromoViewData extends EventData {\n event: 'promoView'\n eventType: 'vtex:promoView'\n eventName: 'vtex:promoView'\n promotions: Promotion[]\n}\n\nexport interface PromotionClickData extends EventData {\n event: 'promotionClick'\n eventType: 'vtex:promotionClick'\n eventName: 'vtex:promotionClick'\n promotions: Promotion[]\n}\n\nexport interface AddPaymentInfoData extends EventData {\n event: 'addPaymentInfo'\n eventType: 'vtex:addPaymentInfo'\n eventName: 'vtex:addPaymentInfo'\n payment: PaymentType\n items: CartItem[]\n}\n\nexport interface BeginCheckoutData extends EventData {\n event: 'beginCheckout'\n eventType: 'vtex:beginCheckout'\n eventName: 'vtex:beginCheckout'\n items: CartItem[]\n}\n\nexport interface AddShippingInfoData extends EventData {\n event: 'addShippingInfo'\n eventType: 'vtex:addShippingInfo'\n eventName: 'vtex:addShippingInfo'\n items: CartItem[]\n shippingTier: string\n value: number\n}\n\nexport interface ViewCartData extends EventData {\n event: 'viewCart'\n eventType: 'vtex:viewCart'\n eventName: 'vtex:viewCart'\n items: CartItem[]\n}\n\nexport interface AddToWishlistData extends EventData {\n event: 'addToWishlist'\n eventType: 'vtex:addToWishlist'\n eventName: 'vtex:addToWishlist'\n items: {\n selectedItem: SelectedItem\n product: ProductSummary\n }\n list: string\n}\n\nexport interface SelectedItem {\n attachments?: any[]\n complementName?: string\n ean?: string\n estimatedDateArrival?: any\n images?: Image[]\n itemId?: string\n kitItems?: any[]\n measurementUnit?: string\n name?: string\n nameComplete?: string\n referenceId?: any\n sellers: Seller[]\n unitMultiplier?: number\n variations?: any[]\n videos?: any[]\n}\n\nexport interface Seller {\n addToCartLink: string\n commercialOffer: any\n sellerDefault: boolean\n sellerId: string\n sellerName: string\n}\n\nexport interface Image {\n cacheId: string\n imageId: string\n imageLabel: string\n imageTag: string\n imageText: string\n imageUrl: string\n}\n\nexport interface RefundData extends EventData {\n event: 'refund'\n eventType: 'vtex:refund'\n eventName: 'vtex:refund'\n order: {\n transactionId: string\n tax: number\n shipping: number\n value: number\n items: ProductOrder[]\n }\n}\n\nexport interface SearchData extends EventData {\n event: 'search'\n eventType: 'vtex:search'\n eventName: 'vtex:search'\n term: string\n}\n\nexport interface ShareData extends EventData {\n event: 'share'\n eventType: 'vtex:share'\n eventName: 'vtex:share'\n method: string\n contentType: string\n itemId: string\n}\n\nexport interface LoginData extends EventData {\n event: 'login'\n eventType: 'vtex:login'\n eventName: 'vtex:login'\n method: string\n}\n\nexport interface SignUpData extends LoginData, EventData {\n event: 'signUp'\n eventType: 'vtex:signUp'\n eventName: 'vtex:signUp'\n}\n\ntype PromotionProduct = Pick<ProductSummary, 'productId' | 'productName'>\n\ninterface Promotion {\n id?: string\n name?: string\n creative?: string\n position?: string\n products?: PromotionProduct[]\n}\n\ninterface CartItemAdditionalInfo {\n brandName: string\n brandId: string\n}\n\ninterface CartItem {\n id: string\n productCategories: Record<string, string> | null\n productCategoryIds?: string\n additionalInfo: CartItemAdditionalInfo | null\n brand: string\n ean: string\n category: string\n detailUrl: string\n imageUrl: string\n name: string\n skuName: string\n price: number\n priceIsInt?: boolean\n sellingPrice: number\n productId: string\n productRefId: string\n quantity: number\n skuId: string\n referenceId: string // SKU reference id\n variant: string\n}\n\ninterface Totalizer {\n id: string\n name: string\n value: number\n}\n\ninterface ClientProfileData {\n email: string\n firstName: string\n lastName: string\n}\n\ninterface Address {\n addressId: string\n postalCode: string\n street: string\n number: string\n neighborhood: string\n complement: string\n city: string\n state: string\n}\n\ninterface DeliveryOption {\n id: string\n price: number\n estimate: string\n isSelected: boolean\n}\n\ninterface Shipping {\n selectedAddress: Address\n deliveryOptions?: DeliveryOption[]\n}\n\ninterface MarketingData {\n coupon: string\n utmCampaign: string\n utmSource: string\n utmMedium: string\n utmiCampaign: string\n utmiPage: string\n utmiPart: string\n}\n\nexport interface OrderForm {\n id: string\n totalizers: Totalizer[]\n sellers: Seller[]\n salesChannel: string\n items: CartItem[]\n canEditData: boolean\n loggedIn: boolean\n clientProfileData?: ClientProfileData\n shipping?: Shipping\n value: number\n marketingData?: MarketingData\n}\n\nexport interface Order {\n accountName: string\n corporateName: string\n coupon: string\n currency: string\n openTextField: string\n orderGroup: string\n salesChannel: string\n visitorAddressCity: string\n visitorAddressComplement: string\n visitorAddressCountry: string\n visitorAddressNeighborhood: string\n visitorAddressNumber: string\n visitorAddressPostalCode: string\n visitorAddressState: string\n visitorAddressStreet: string\n visitorContactInfo: string[]\n visitorContactPhone: string\n visitorType: string\n transactionId: string\n transactionDate: string\n transactionAffiliation: string\n transactionTotal: number\n transactionShipping: number\n transactionSubtotal: number\n transactionDiscounts: number\n transactionTax: number\n transactionCurrency: string\n transactionPaymentType: PaymentType[]\n transactionShippingMethod: ShippingMethod[]\n transactionLatestShippingEstimate: Date\n transactionProducts: ProductOrder[]\n transactionPayment: {\n id: string\n }\n}\n\nexport interface Impression {\n product: ProductSummary\n position: number\n}\n\nexport interface PaymentType {\n group: string\n paymentSystemName: string\n installments: number\n value: number\n}\n\nexport interface ShippingMethod {\n itemId: string\n selectedSla: string\n}\n\nexport interface ProductOrder {\n id: string\n name: string\n sku: string\n skuRefId: string\n skuName: string\n productRefId: string\n ean: string\n slug: string\n brand: string\n brandId: string\n seller: string\n sellerId: string\n category: string\n categoryId: string\n categoryTree: string[]\n categoryIdTree: string[]\n priceTags: PriceTag[]\n originalPrice: number\n price: number\n sellingPrice: number\n tax: number\n quantity: number\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n components: any[]\n measurementUnit: string\n unitMultiplier: number\n}\n\nexport interface PriceTag {\n identifier: string\n isPercentual: boolean\n value: number\n}\n\nexport interface Product {\n brand: string\n brandId: string\n categories: string[]\n categoryId: string\n categoryTree: Array<{ id: string; name: string }>\n detailUrl: string\n items: Item[]\n linkText: string\n productId: string\n productName: string\n productReference: string\n selectedSku: Item\n}\n\nexport interface Item {\n itemId: string\n name: string\n ean: string\n referenceId: { Key: string; Value: string }\n imageUrl: string\n sellers: Seller[]\n}\n\nexport interface ProductSummary {\n brand: string\n brandId: string\n categories: string[]\n items: ItemSummary[]\n linkText: string\n productId: string\n productName: string\n productReference: string\n selectedItem: SelectedItem\n sku: ItemSummary\n}\n\ninterface ItemSummary {\n itemId: string\n ean: string\n name: string\n referenceId: { Key: string; Value: string }\n seller: Seller\n sellers: Seller[]\n}\n\nexport interface Seller {\n commertialOffer: CommertialOffer\n sellerId: string\n sellerDefault: boolean\n}\n\nexport interface CommertialOffer {\n Price: number\n PriceWithoutDiscount: number\n ListPrice: number\n AvailableQuantity: number\n}\n\nexport type ProductViewReferenceId = Array<Item['referenceId']>\n\n```" } ]
code_datadog-rum-pixel_66e49896
[ { "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 datadog-rum-pixel/react/typings/vtex.render-runtime.d.ts from the datadog-rum-pixel 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, ComponentType, ReactElement, ReactType } from 'react'\n\n export interface NavigationOptions {\n page: string\n params?: any\n }\n\n export interface RenderContextProps {\n runtime: {\n navigate: (options: NavigationOptions) => void\n }\n }\n\n interface ExtensionPointProps {\n id: string\n [key: string]: any\n }\n\n export const ExtensionPoint: ComponentType<ExtensionPointProps>\n\n interface ChildBlockProps {\n id: string\n }\n\n export const ChildBlock: ComponentType<ChildBlockProps>\n export const useChildBlock = function ({\n id: string,\n }): Record<string, unknown> {}\n\n export const Helmet: ReactElement\n export const Link: ReactType\n export const NoSSR: ReactElement\n export const RenderContextConsumer: ReactElement\n export const canUseDOM: boolean\n export const withRuntimeContext: <TOriginalProps extends unknown>(\n Component: ComponentType<TOriginalProps & RenderContextProps>\n ) => ComponentType<TOriginalProps>\n}\n\n```" } ]
code_datadog-rum-pixel_25d97094
[ { "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 datadog-rum-pixel/react/typings/global.d.ts from the datadog-rum-pixel VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\ninterface Window extends Window {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n __RUNTIME__: any\n\n __DD_RUM_PIXEL__: DatadogRumSettings\n}\n\n```" } ]
code_datadog-rum-pixel_02290d50
[ { "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 datadog-rum-pixel/react/typings/datadog.d.ts from the datadog-rum-pixel VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\ninterface DatadogRumSettings {\n applicationId: string\n clientToken: string\n site: string\n service: string\n version: string\n sessionSampleRate: string\n sessionReplaySampleRate: string\n trackUserInteractions: string\n trackResources: string\n trackLongTasks: string\n defaultPrivacyLevel: string\n activateInDev: string\n}\n\n```" } ]
code_abandoned-cart_8c0a541d
[ { "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 abandoned-cart/docs/README.md from the abandoned-cart VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```markdown\n# Abandoned Cart Service\n\n## ⚠️ Maintenance ⚠️\n\n*Starting June 1st 2023, this application will no longer be maintained by VTEX.*\n\n---\n\nThe Abandoned Cart Service app can be used to trigger abandoned cart emails.\n\n## Installation\n\nOpen the terminal and run the following command:\n\n```\nvtex install vtex.abandoned-cart-service\n```\n## Step 1 > Configure the email template in Message Center\n\n1. In the VTEX Admin, go to **Store Settings > Email Templates > Templates**, or type **Templates** in the search bar at the top of the page.\n2. Search for **vtexcommerce-abandoned-cart** .\n3. Select **Enable Email Sending?** and **Use Default Sender**.\n4. Fill in the **Email Title** field as desired.\n5. Fill in the **Recipient (To)** with {{email}}.\n6. In **Html**, enter the created or Use the following default email template information.\n```\n<!DOCTYPE html\n PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xmlns:o=\"urn:schemas-microsoft-com:office:office\"\n xmlns:v=\"urn:schemas-microsoft-com:vml\"\n style=\"-webkit-text-size-adjust:100%; -ms-text-size-adjust:100%;\n-webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; box-sizing:border-box; width:100%; height:100%; margin:0; padding:0; background:#f1f1f1 !important;\">\n\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html;charset=UTF-8\" />\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" />\n <meta name=\"viewport\" content=\"width=device-width,\ninitial-scale=1.0\" />\n <title>{{_accountInfo.TradingName}}</title>\n\n <style>\n a[x-apple-data-detectors] {\n color: inherit !important;\n text-decoration: none !important;\n font-size: inherit !important;\n font-family: inherit !important;\n font-weight: inherit !important;\n line-height: inherit !important;\n }\n\n @media(max-width:600px) {\n img {\n max-width: 100% !important;\n height: auto !important;\n }\n }\n\n @media screen and (min-width:30em) {\n .w-50-ns {\n width: 50% !important;\n }\n\n .pr4-ns {\n padding-right: 2rem !important;\n }\n\n .ph4-ns {\n\n padding-left: 2rem !important;\n padding-right: 2rem !important;\n }\n\n .mv1-ns {\n margin-top: .25rem !important;\n margin-bottom: .25rem !important;\n }\n\n .mv4-ns {\n margin-top: 2rem !important;\n margin-bottom: 2rem !important;\n }\n }\n </style>\n</head>\n\n<body\n style=\"-webkit-text-size-adjust:100%; -ms-text-size-adjust:100%;\n-webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; box-sizing:border-box; width:100%; height:100%; margin:0; padding:0; background:#f1f1f1 !important; font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;\">\n <table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"\n style=\"box-sizing:border-box; margin:0; padding:0; background:#f1f1f1; border-collapse:collapse; width:100%; height:100%;\">\n <tr>\n <td align=\"left\" valign=\"top\" style=\"font-size:14px; line-height:20px; text-align:left;\">\n <table class=\"mv4-ns\" width=\"100%\" align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"\n style=\"max-width:40rem; width:100%; background-color:#fff; border-collapse:collapse;\"\n bgcolor=\"#fff\">\n\n <!-- Header -->\n <tr>\n <td class=\"ph4-ns\" align=\"center\" style=\"font-size:14px; line-height:20px; border-bottom:1px solid #eee; width:100%;\npadding-bottom:2rem; text-align:center;\">\n <div style=\"width:8rem; margin:2rem auto 1rem;\">\n <a href=\"http://{{_accountInfo.HostName}}.com.br\">\n <img alt=\"\" border=\"0\" src=\"http://licensemanager.vtex.com.br/api/site/pub/accounts/{{_accountInfo\n\n.Id}}/logos/show\" style=\"max-width:100%; border:none;\nmax-height:80px !important;\" />\n </a>\n </div>\n <h1 style=\"margin:0; font-size:50px; line-height:58px;\">Abandoned Cart</h1>\n </td>\n </tr>\n\n <!-- Items -->\n <tr>\n <td class=\"ph4-ns\" align=\"left\" style=\"font-size:14px;\nline-height:20px; border-top:1px solid #eee; width:100%; padding:2rem 0;\">\n <div style=\"padding-top:1rem;\">\n <table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"\n style=\"border-collapse:collapse; width:100%;\">\n <tbody>\n {{#each items}}\n <tr>\n <td align=\"left\" valign=\"top\"\n style=\"width:4rem; padding:.5rem .5rem .5rem 0; vertical-align:top;\">\n <img alt=\"\" src=\"{{image}}\" style=\"max-width:100% !important;\" />\n </td>\n <td align=\"left\" valign=\"top\" style=\"padding:.5rem 0; vertical-align:top;\">\n <div class=\"mv1-ns\"\n style=\"line-height:1.25; font-size:1rem !important;\">{{productName}}\n </div>\n <div style=\"color:#777;\">\n {{quantity}} un.\n {{#if sellingPrice}}\n ${{formatCurrency sellingPrice}}\n {{else}} Grátis\n {{/if}}\n </div>\n </td>\n </tr>\n {{/each}}\n </tbody>\n </table>\n </div>\n </td>\n\n </tr>\n\n <!-- Link -->\n <tr>\n <td class=\"ph4-ns\" align=\"left\" style=\"font-size:14px;\nline-height:20px; border-top:1px solid #eee; width:100%; padding:2rem 0;\">\n <a href=\"https://{{_accountInfo.AccountName}}.myvtex.com/checkout/cart/{{addToCartURL}}\"\n style=\"color:black; text-decoration:none;\">\n Link to the cart\n </a>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n </table>\n</body>\n\n</html>\n```\nThe `addToCartURL` variable is formatted to work with the [cart URL](https://help.vtex.com/tutorial/how-to-assemble-the-cart-url--u3Tj5wagnukYwG84IQU06). Its purpose is to send the user back to the checkout with the items in the abandoned cart.\n\n7. In **JSON Data** , enter following JSON as an example of JSON Data:\n```\n{\n \"email\": \"teste@vtex.com.br\",\n \"items\": [\n {\n \"id\": \"880010\",\n \"productName\": \"adidas Men's Performance Polo - Blast Blue S\",\n \"image\": \"https://bibi.vteximg.com.br/arquivos/ids/155405/adidas-mens-performance-p olo-blast-blue.jpg?v=637947886549170000\",\n \"sellingPrice\": \"455.00\",\n \"quantity\": \"1\",\n \"link\": \"adidas-mens-performance-polo-blast-blue\",\n \"availabilityQuantity\": 1000000\n }\n ],\n \"addToCartURL\": \"add?sku=880010&qty=1&seller=1&sc=1\",\n \"additionalFields\": {\n \"firstName\": \"Teste VTEX\"\n },\n \"_accountInfo\": {\n \"MainAccountName\": \"teste\",\n \"AccountName\": \"teste\",\n \"Cnpj\": null,\n \"Id\": \"278fe15c-f0eb-4c30-81a2-f42b29113f1a\",\n \"AppId\": null,\n \"IsActive\": true,\n \"IsOperating\": false,\n \"CreationDate\": \"2022-06-21T19:58:01.3387095Z\",\n \"OperationDate\": null,\n \"CompanyName\": \"Companhia Brasileira de Tecnologia para ecommerce\",\n \"TradingName\": \"VTEX\",\n \"City\": null,\n \"Complement\": null,\n \"Country\": null,\n \"State\": null,\n \"Address\": null,\n \"District\": null,\n \"Number\": null,\n \"PostalCode\": null,\n \"Licenses\": [\n 7\n ],\n \"ParentAccountId\": null,\n \"ParentAccountName\": null,\n \"InactivationDate\": null,\n \"Platform\": \"vtex\",\n \"Privacy\": null,\n \"HasPiiRestriction\": false,\n \"Infra\": null\n }\n}\n```\n8. Click on **Save**.\n\n## Step 2 > Perform the [SPF release](https://help.vtex.com/tutorial/setting-up-abandoned-carts--tutorials_740)\n\n## Step 3 > Follow below steps to [Configure the trigger](https://help.vtex.com/tutorial/setting-up-abandoned-carts--tutorials_740)\n\n1. In the VTEX Admin, go to **Store Settings > Storefront > Master Data**.\n2. In Master Data, click **Applications > Advanced Settings > Data structure**.\n3. Click the **Trigger** tab.\n4. Click the Add ``New button``.\n5. Complete the following fields:\n 1. **Name**: Enter the trigger name.\n 2. **Data Entity**: Select the Customer entity.\n 3. **Status**: Check the **Enabled** option.\n6. On the **Rules** tab, select An attribute value is changed.\n7. Under **Field**, select Last session.\n8. Click ``Add Filter`` five times to display the filter fields. Select them and complete the information as shown below:\n 1. **Checkout - Different from - Completed - and**\n 2. **Checkout – Is not null – and**\n 3. **Cart - Is not null - and**\n 4. **Last cart - Is not null - and**\n 5. **Receives newsletter? - Equal to - true**\n9. Click the **Schedule** tab and select whether the email should be sent as soon as possible, on a specific date or on a dynamic date.\n10. Click the **If Positive** tab.\n\n In the **Action** tab, select **Send an HTTP Request** with the following configuration:\n\n - **URL:** `https://{accountName}.myvtex.com/_v/abandoned-cart`.\n - **Method:** POST.\n - **Header:**\n ```\n content-type: application/json\n accept: application/json\n ```\n - Content as JSON field:\n ```\n {\n \"email\": \"{!email}\",\n \"skuURL\": \"{!rclastcart}\",\n \"template\": \"vtexcommerce-abandoned-cart\",\n \"additionalFields\": {\n // In object you can add any additional field to send in the mail\n \"firstName\": \"{!firstName}\"\n }\n }\n ```\n ![](https://user-images.githubusercontent.com/67066494/184005464-d06e1cda-3b21-42ec-b020-d85d684e6b7c.png)\n11. Click **Save**.\n12. Create a cart and close the page to test the trigger.\n\n### Note:\nA page session expires in 30 minutes. Only after this time does Master Data start counting the time scheduled for the Abandoned Cart trigger. Therefore, the time until the email arrives corresponds to the session time (30 minutes) plus the time scheduled in the trigger.\n\n\n\n\n\n```" } ]
code_abandoned-cart_a4b56e4e
[ { "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 abandoned-cart/node/service.json from the abandoned-cart 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 \"abandonedCart\": {\n \"path\": \"/_v/abandoned-cart\",\n \"public\": true\n }\n },\n \"events\": {\n \"configureMailTemplate\": {\n \"sender\": \"apps\",\n \"keys\": [\"setup\"]\n }\n }\n}\n\n```" } ]
code_abandoned-cart_9dd25feb
[ { "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 abandoned-cart/node/example.json from the abandoned-cart VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"email\": \"correo@gmail.com\",\n \"items\": [\n {\n \"id\": \"20\",\n \"productName\": \"Classic Shoes Top White Slip On 42\",\n \"image\": \"https://vtdlatamio.vteximg.com.br/arquivos/ids/155411/alQRJ5A.jpg?v=637334655878700000\",\n \"sellingPrice\": 41700,\n \"quantity\": \"1\",\n \"link\": \"classic-shoes\"\n },\n {\n \"id\": \"4\",\n \"productName\": \"Vintage Phone Classic\",\n \"image\": \"https://vtdlatamio.vteximg.com.br/arquivos/ids/155403/CyFKwq8.jpg?v=637334589272900000\",\n \"sellingPrice\": 13000,\n \"quantity\": \"1\",\n \"link\": \"vintage-phone\"\n },\n {\n \"id\": \"5\",\n \"productName\": \"Kitzin kitizin\",\n \"image\": \"https://vtdlatamio.vteximg.com.br/arquivos/ids/155404/MkylmSE.jpg?v=637334589274600000\",\n \"sellingPrice\": 7100,\n \"quantity\": \"1\",\n \"link\": \"kitzin-2000189\"\n },\n {\n \"id\": \"35\",\n \"productName\": \"Top Star Color Shirt Magento\",\n \"image\": \"https://vtdlatamio.vteximg.com.br/arquivos/ids/155406/m4iBsqH.jpg?v=637334655845530000\",\n \"sellingPrice\": 8300,\n \"quantity\": \"1\",\n \"link\": \"star-color-top\"\n },\n {\n \"id\": \"41\",\n \"productName\": \"Top Star Color Shirt yellow\",\n \"image\": \"https://vtdlatamio.vteximg.com.br/arquivos/ids/155407/aXf5h4e.jpg?v=637334655852430000\",\n \"sellingPrice\": 8300,\n \"quantity\": \"1\",\n \"link\": \"star-color-top\"\n }\n ],\n \"addToCartURL\": \"add?sku=20&qty=1&seller=1&sku=4&qty=1&seller=1&sku=5&qty=1&seller=1&sku=35&qty=1&seller=1&sku=41&qty=1&seller=1&sc=1\"\n}\n\n```" } ]
code_abandoned-cart_14aac62e
[ { "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 abandoned-cart/node/package.json from the abandoned-cart 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 \"typescript\": \"3.9.7\"\n },\n \"scripts\": {\n \"lint\": \"tsc --noEmit --pretty\"\n },\n \"version\": \"3.1.6\"\n}\n\n```" } ]
code_abandoned-cart_baadd38c
[ { "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 abandoned-cart/node/index.ts from the abandoned-cart VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\nimport {\n ClientsConfig,\n method,\n Service,\n ServiceContext,\n RecorderState,\n} from '@vtex/api'\n\nimport { Clients } from './clients'\nimport { abandonedCart } from './middlewares/abandonedCart'\nimport { configureMailTemplate } from './events/configureMailTemplate'\n\nconst TIMEOUT_MS = 10000\nconst CONCURRENCY = 10\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 events: {\n exponentialTimeoutCoefficient: 2,\n exponentialBackoffCoefficient: 2,\n initialBackoffDelay: 50,\n retries: 1,\n timeout: TIMEOUT_MS,\n concurrency: CONCURRENCY,\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 events: {\n configureMailTemplate,\n },\n routes: {\n abandonedCart: method({\n POST: [abandonedCart],\n }),\n },\n})\n\n```" } ]
code_abandoned-cart_76653420
[ { "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 abandoned-cart/public/metadata/messages/es-AR.json from the abandoned-cart VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"Carrito Abandonado\",\n \"headline\": \"Envia notificaciones por e-mail a los clientes que cargaron productos en el carrito pero no finalizaron la compra.\",\n \"overview\": \"Esta aplicacion permite a su tienda enviar correos a los consumidores recordandoles que tienen un carrito sin finalizar. Esto mejora la conversion de la tienda y aumenta la fidelidad de los clientes.\",\n \"features\": [\n \"Permite a su tienda enviar correos a los consumidores recordandoles que tienen un carrito sin finalizar.\"\n ],\n \"websiteURL\": \"https://vtex.com/\",\n \"support\": {\n \"url\": \"https://support.vtex.com/hc/requests\"\n }\n}\n\n```" } ]
code_abandoned-cart_33c843f7
[ { "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 abandoned-cart/public/metadata/messages/pt-BR.json from the abandoned-cart VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"Carrinho Abandonado\",\n \"headline\": \"Envie notificações por e-mail para usuários que montaram um carrinho na sua loja mas não finalizaram a compra.\",\n \"overview\": \"Este aplicativo permite à sua loja o envio de e-mails para os clientes oferecendo o carrinho de compras que não foi comprado. Isso aumenta a taxa de conversão da loja e aumenta a fidelidade do cliente. Este app monitora os carrinhos abandonados da sua loja e envia e-mails automáticos para os clientes.\",\n \"features\": [\n \"Envie e-mails aos consumidores lembrando-os de que eles têm um carrinho pendente\"\n ],\n \"websiteURL\": \"https://vtex.com/\",\n \"support\": {\n \"url\": \"https://support.vtex.com/hc/requests\"\n }\n}\n\n```" } ]
code_abandoned-cart_e4cd91ee
[ { "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 abandoned-cart/public/metadata/messages/en-US.json from the abandoned-cart VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"Abandoned Cart\",\n \"headline\": \"Send e-mail notifications for users who left an abandoned cart without finish the purchase.\",\n \"overview\": \"This app is a service that will monitor abandoned cards to send emails to customers who left those.\",\n \"features\": [\n \"Allows sending of e-mails for abandoned carts automatically\",\n \"Contribute to increase the conversion rate\"\n ],\n \"websiteURL\": \"https://vtex.com/\",\n \"support\": {\n \"url\": \"https://support.vtex.com/hc/requests\"\n }\n}\n\n```" } ]
code_abandoned-cart_9b143f79
[ { "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 abandoned-cart/node/clients/message.ts from the abandoned-cart VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\nimport { JanusClient, InstanceOptions, IOContext } from '@vtex/api'\nimport { pipe } from 'ramda'\n\nimport configEmail from '../configs/configEmail'\n\ninterface AbandonedCartMailParameters {\n items: MailItem[]\n email: string\n addToCartURL: string\n additionalFields: any\n}\n\nconst withCookieAsHeader = (context: IOContext) => (\n options: InstanceOptions\n): InstanceOptions => ({\n ...options,\n headers: {\n VtexIdclientAutCookie: context.authToken,\n ...(options?.headers ?? {}),\n },\n})\n\nexport default class Message extends JanusClient {\n constructor(context: IOContext, options?: InstanceOptions) {\n super(context, options && pipe(withCookieAsHeader(context))(options))\n }\n\n public async sendMail(\n abandonedCartData: AbandonedCartMailParameters,\n abandonedCartTemplate: string\n ): Promise<string> {\n const data = {\n templateName: abandonedCartTemplate,\n jsonData: {\n ...abandonedCartData,\n },\n }\n\n return this.http.post(`/api/mail-service/pvt/sendmail`, data)\n }\n\n public async sendTemplate(): Promise<any> {\n const data = {\n ...configEmail,\n }\n\n return this.http.post(`/api/template-render/pvt/templates`, data)\n }\n}\n\n```" } ]
code_abandoned-cart_7693d691
[ { "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 abandoned-cart/node/clients/index.ts from the abandoned-cart VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\nimport { IOClients } from '@vtex/api'\n\nimport Catalog from './catalog'\nimport Message from './message'\n\n// Extend the default IOClients implementation with our own custom clients.\nexport class Clients extends IOClients {\n public get catalog() {\n return this.getOrSet('catalog', Catalog)\n }\n\n public get message() {\n return this.getOrSet('message', Message)\n }\n}\n\n```" } ]
code_abandoned-cart_c6871b94
[ { "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 abandoned-cart/node/clients/catalog.ts from the abandoned-cart VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\nimport { AppClient, InstanceOptions, IOContext } from '@vtex/api'\n\nexport default class Catalog extends AppClient {\n constructor(ctx: IOContext, opts?: InstanceOptions) {\n super('vtex.catalog-api-proxy@0.x', ctx, opts)\n }\n\n public async getProducts(skus: SkuURLItem[]): Promise<SearchProduct[]> {\n const searchQS = skus\n ?.map((sku: SkuURLItem) => `fq=skuId:${sku.id}`)\n .join('&')\n\n return this.http.get(`/proxy/catalog/pub/products/search?${searchQS}`, {\n metric: 'products-get',\n })\n }\n}\n\n```" } ]
code_abandoned-cart_4e5ad21e
[ { "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 abandoned-cart/node/typings/catalog.d.ts from the abandoned-cart VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\ninterface Range {\n from: number\n to: number\n}\n\ninterface SelectedFacets {\n key: string\n value: string\n}\n\ninterface QueryArgs {\n query: string\n map?: string\n selectedFacets?: SelectedFacets[]\n}\n\ninterface SearchArgs extends QueryArgs {\n category: string | null\n specificationFilters: string[] | null\n priceRange?: string | null\n collection: string | null\n salesChannel: string | null\n orderBy: string | null\n from: number | null\n to: number | null\n hideUnavailableItems: boolean | null\n simulationBehavior: 'skip' | 'default' | null\n completeSpecifications: boolean\n}\n\ninterface Metadata {\n metaTagDescription?: string\n titleTag?: string\n}\n\ninterface Brand {\n id: string\n name: string\n isActive: boolean\n title: string | null\n metaTagDescription: string | null\n imageUrl: string | null\n}\n\ninterface CategoryTreeResponse {\n id: number\n name: string\n hasChildren: boolean\n url: string\n children: CategoryTreeResponse[]\n Title: string\n MetaTagDescription: string\n}\n\ninterface CategoryByIdResponse {\n parentId: number | null\n GlobalCategoryId: number\n GlobalCategoryName: string\n position: number\n slug: string\n id: number\n name: string\n hasChildren: boolean\n url: string\n children: null\n Title: string\n MetaTagDescription: string\n}\n\ninterface FacetsArgs extends QueryArgs {\n hideUnavailableItems?: boolean\n behavior?: FacetsBehavior\n}\n\nenum FacetsBehavior {\n STATIC = 'Static',\n DYNAMIC = 'Dynamic',\n}\n\ninterface SearchProduct {\n productId: string\n productName: string\n brand: string\n brandId: number\n linkText: string\n productReference: string\n categoryId: string\n productTitle: string\n metaTagDescription: string\n clusterHighlights: Record<string, string>\n productClusters: Record<string, string>\n searchableClusters: Record<string, string>\n categories: string[]\n categoriesIds: string[]\n link: string\n description: string\n items: SearchItem[]\n itemMetadata: {\n items: SearchMetadataItem[]\n }\n titleTag: string\n Specifications?: string[]\n allSpecifications?: string[]\n allSpecificationsGroups?: string[]\n completeSpecifications?: CompleteSpecification[]\n skuSpecifications?: SkuSpecification[]\n}\n\ninterface SearchItem {\n itemId: string\n name: string\n nameComplete: string\n complementName: string\n ean: string\n referenceId: Array<{ Key: string; Value: string }>\n measurementUnit: string\n unitMultiplier: number\n modalType: any | null\n images: SearchImage[]\n Videos: string[]\n variations: string[]\n sellers: Seller[]\n attachments: Array<{\n id: number\n name: string\n required: boolean\n domainValues: string\n }>\n isKit: boolean\n kitItems?: Array<{\n itemId: string\n amount: number\n }>\n}\n\ninterface CompleteSpecification {\n Values: Array<{\n Id: string\n Position: number\n Value: string\n }>\n Name: string\n Position: number\n IsOnProductDetails: boolean\n FieldId: string\n}\n\ninterface SearchItemExtended extends SearchItem {\n skuSpecifications?: SkuSpecification[]\n}\n\ninterface SkuSpecification {\n field: SKUSpecificationField\n values: SKUSpecificationValue[]\n}\n\ninterface SKUSpecificationField {\n name: string\n id: string\n}\n\ninterface SKUSpecificationValue {\n name: string\n id: string\n fieldId: string\n}\n\ninterface SearchImage {\n imageId: string\n imageLabel: string | null\n imageTag: string\n imageUrl: string\n imageText: string\n}\n\ninterface SearchInstallment {\n Value: number\n InterestRate: number\n TotalValuePlusInterestRate: number\n NumberOfInstallments: number\n PaymentSystemName: string\n PaymentSystemGroupName: string\n Name: string\n}\n\ninterface CommertialOffer {\n DeliverySlaSamplesPerRegion: Record<\n string,\n { DeliverySlaPerTypes: any[]; Region: any | null }\n >\n Installments: SearchInstallment[]\n DiscountHighLight: any[]\n GiftSkuIds: string[]\n Teasers: any[]\n BuyTogether: any[]\n ItemMetadataAttachment: any[]\n Price: number\n ListPrice: number\n PriceWithoutDiscount: number\n RewardValue: number\n PriceValidUntil: string\n AvailableQuantity: number\n Tax: number\n DeliverySlaSamples: Array<{\n DeliverySlaPerTypes: any[]\n Region: any | null\n }>\n GetInfoErrorMessage: any | null\n CacheVersionUsedToCallCheckout: string\n}\n\ninterface Seller {\n sellerId: string\n sellerName: string\n addToCartLink: string\n sellerDefault: boolean\n commertialOffer: CommertialOffer\n}\n\ninterface SearchFacet {\n Quantity: number\n Name: string\n Link: string\n LinkEncoded: string\n Map: string\n Value: string\n}\n\ninterface SearchFacetCategory {\n Id: number\n Quantity: number\n Name: string\n Link: string\n LinkEncoded: string\n Map: string\n Value: string\n Children: SearchFacetCategory[]\n}\n\ninterface SummaryItem {\n DisplayedItems: number\n TotalItems: number\n}\n\ninterface SearchFacets {\n Departments: SearchFacet[]\n Brands: SearchFacet[]\n SpecificationFilters: Record<string, SearchFacet[]>\n CategoriesTrees: SearchFacetCategory[]\n PriceRanges: Array<{\n Slug: string\n Quantity: number\n Name: string\n Link: string\n LinkEncoded: string\n Map: null\n Value: string\n }>\n Summary: {\n Departments: SummaryItem\n CategoriesTrees: SummaryItem\n Brands: SummaryItem\n PriceRanges: SummaryItem\n SpecificationFilters: Record<string, SummaryItem>\n }\n}\n\ninterface SearchAutocompleteItem {\n productId: string\n itemId: string\n name: string\n nameComplete: string\n imageUrl: string\n}\n\ninterface SearchAutocompleteUnit {\n items: SearchAutocompleteItem[]\n thumb: string\n thumbUrl: string | null\n name: string\n href: string\n criteria: string\n}\n\ninterface FieldTreeResponseAPI {\n Name: string\n CategoryId: number\n FieldId: number\n IsActive: boolean\n IsStockKeepingUnit: boolean\n}\n\ninterface FieldResponseAPI {\n Name: string\n CategoryId: number | null\n FieldId: number\n IsActive: boolean\n IsRequired: boolean\n FieldTypeId: number\n FieldTypeName: string\n FieldValueId: string | null\n Description: string | null\n IsStockKeepingUnit: boolean\n IsFilter: boolean\n IsOnProductDetails: boolean\n Position: number\n IsWizard: boolean\n IsTopMenuLinkActive: boolean\n IsSideMenuLinkActive: boolean\n DefaultValue: string | null\n FieldGroupId: number\n FieldGroupName: string\n}\n\ninterface MailItem {\n id?: string\n productName?: string\n image?: string\n sellingPrice?: number | string\n quantity?: string\n link?: string\n availabilityQuantity?: number\n}\n\ninterface SkuURLItem {\n id: string\n qty: string\n seller: string\n sc: string\n}\n\n```" } ]
code_abandoned-cart_8bb2ecc3
[ { "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 abandoned-cart/node/middlewares/abandonedCart.ts from the abandoned-cart VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\nimport { json } from 'co-body'\n\nimport { mapProducts, mapSkus } from '../utils/products'\n\ninterface AbandonedCart {\n skuURL: string\n email: string\n template: string\n additionalFields: any\n}\n\nexport async function abandonedCart(ctx: Context, next: () => Promise<any>) {\n const {\n clients: { catalog: catalogClient, message: messageClient },\n } = ctx\n\n const body: AbandonedCart = await json(ctx.req)\n\n const skus = mapSkus(body.skuURL)\n const products = await catalogClient.getProducts(skus)\n\n const items = mapProducts(products, skus).filter(\n value =>\n value.availabilityQuantity !== undefined && value.availabilityQuantity > 0\n )\n\n if (items.length > 0) {\n await messageClient.sendMail(\n {\n email: body.email,\n items,\n addToCartURL: body.skuURL,\n additionalFields: body.additionalFields,\n },\n body.template\n )\n }\n\n ctx.status = 200\n ctx.body = 'ok'\n // ctx.set('Cache-Control', headers['cache-control'])\n\n await next()\n}\n\n```" } ]
code_abandoned-cart_695189d6
[ { "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 abandoned-cart/node/utils/products.ts from the abandoned-cart VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\nconst getPriceWithDecimal = (num: number): string => {\n if (!num) return Number(0).toFixed(2)\n const dec = num.toString().split('.')[1]\n const len = dec && dec.length > 2 ? dec.length : 2\n\n return Number(num).toFixed(len)\n}\n\nexport const mapProducts = (\n products: SearchProduct[],\n skus: SkuURLItem[]\n): MailItem[] => {\n return skus.map<MailItem>((s: SkuURLItem) => {\n let sku: SearchItem | undefined\n const product = products.find((p: SearchProduct) => {\n sku = p.items.find((i: SearchItem) => i.itemId === s.id)\n\n return sku !== undefined\n })\n\n const sellingPrice = getPriceWithDecimal(\n sku?.sellers[0].commertialOffer.Price as number\n )\n\n return {\n id: s.id,\n productName: sku?.nameComplete,\n image: sku?.images[0].imageUrl,\n sellingPrice,\n quantity: s.qty,\n link: product?.linkText,\n availabilityQuantity: sku?.sellers[0].commertialOffer.AvailableQuantity,\n }\n })\n}\n\nexport const mapSkus = (skuURL: string) => {\n const skus = skuURL.match(/(sku|qty|seller|sc)=[0-9]+/g)\n let counter = 0\n\n return (\n skus?.reduce((accum: SkuURLItem[], currentValue: string) => {\n const splitted = currentValue.split('=')\n\n if (splitted[0] === 'sku') {\n accum.push({\n id: splitted[1],\n qty: '',\n seller: '',\n sc: '',\n })\n counter++\n\n return accum\n }\n\n accum[counter - 1] = {\n ...accum[counter - 1],\n [splitted[0]]: splitted[1],\n }\n\n return accum\n }, []) ?? []\n )\n}\n\n```" } ]
code_abandoned-cart_56d51a3f
[ { "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 abandoned-cart/node/configs/configEmail.ts from the abandoned-cart VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\nexport default {\n Name: 'vtexcommerce-abandoned-cart',\n FriendlyName: 'Abandoned Cart',\n Description: 'Notify to the user that he had an order pending to finish',\n IsDefaultTemplate: false,\n AccountId: null,\n AccountName: '{(accountName}}',\n ApplicationId: null,\n IsPersisted: true,\n IsRemoved: false,\n Type: '',\n Templates: {\n email: {\n To: '{{email}}',\n CC: null,\n BCC: null,\n Subject: 'Lost Cart!',\n Message: 'Template Example',\n Type: 'E',\n ProviderId: '00000000-0000-0000-0000-000000000000',\n ProviderName: null,\n IsActive: true,\n withError: false,\n },\n sms: {\n Type: 'S',\n ProviderId: null,\n ProviderName: null,\n IsActive: false,\n withError: false,\n Parameters: [],\n },\n },\n}\n\n```" } ]
code_abandoned-cart_6d5b6ae3
[ { "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 abandoned-cart/node/events/configureMailTemplate.ts from the abandoned-cart VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\nimport { EventContext } from '@vtex/api'\n\nimport { Clients } from '../clients'\n\nexport async function configureMailTemplate(ctx: EventContext<Clients>) {\n const {\n clients: { message: messageClient },\n body: { to },\n } = ctx\n\n if (to) {\n const [appName] = to?.id?.split('@')\n\n if (\n appName.length &&\n `${process.env.VTEX_APP_VENDOR}.${process.env.VTEX_APP_NAME}` === appName\n ) {\n const response = await messageClient.sendTemplate()\n\n return response\n }\n }\n\n return null\n}\n\n```" } ]
code_store-components_f079e0de
[ { "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 store-components/messages/hu.json from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"store/search.clear-input\": \"Keresési mező törlése\",\n \"store/search.submit-search\": \"Termékek keresése\",\n \"store/search.placeholder\": \"Keresés\",\n \"store/search.searchFor\": \"Keresés erre: {term}\",\n \"store/search.search-term-too-short\": \"A keresési kifejezés túl rövid\",\n \"admin/editor.productName.title\": \"Terméknév\",\n \"admin/editor.productName.description\": \"Terméknév komponens\",\n \"admin/editor.productName.showBrandName.title\": \"Márkanév megjelenítése\",\n \"admin/editor.productName.showSku.title\": \"SKU megjelenítése\",\n \"admin/editor.productName.showProductReference.title\": \"Termékreferencia megjelenítése\",\n \"admin/editor.productName.displayMode.title\": \"Link megjelenítése a terméknévvel vagy egyszerű szövegként\",\n \"admin/editor.productName.displayMode.plainText\": \"Egyszerű szöveg\",\n \"admin/editor.productName.displayMode.linkToProductPage\": \"Link a termékoldalra\",\n \"admin/editor.productPrice.title\": \"Termék ára\",\n \"admin/editor.productPrice.description\": \"Termékár komponens\",\n \"admin/editor.productPrice.showListPrice\": \"Listaár megjelenítése\",\n \"admin/editor.productPrice.showSellingPriceRange\": \"Eladási ár tartomány megjelenítése\",\n \"admin/editor.productPrice.showListPriceRange\": \"Listaár tartomány megjelenítése\",\n \"admin/editor.productPrice.showLabels\": \"Árcímkék megjelenítése\",\n \"admin/editor.productPrice.showInstallments\": \"Fizetési részletek megjelenítése\",\n \"admin/editor.productPrice.showSavings\": \"Listaár és eladási ár különbség megjelenítése\",\n \"admin/editor.productPrice.labelSellingPrice\": \"Eladási árcímke\",\n \"admin/editor.productPrice.labelListPrice\": \"Listaár címke\",\n \"admin/editor.share.title\": \"Megosztás\",\n \"admin/editor.share.description\": \"Megosztógombok listája\",\n \"admin/editor.share.social.title\": \"Közösségi média\",\n \"store/product-description.title\": \"Termékleírás\",\n \"store/product-description.property\": \"Tulajdonság\",\n \"store/product-description.specification\": \"Specifikáció\",\n \"store/product-description.collapse.showMore\": \"Mutass többet\",\n \"store/product-description.collapse.showLess\": \"Mutass kevesebbet\",\n \"store/pricing.installment-display\": \"Vagy {installments} {times} {installmentPrice} részletben\",\n \"store/pricing.from\": \"Tól\",\n \"store/pricing.to\": \"Ig\",\n \"store/pricing.savings\": \"Megtakarítás: {savings}\",\n \"store/pricing.interest-free\": \"kamatmentes\",\n \"store/loading\": \"Betöltés…\",\n \"store/shipping.deliveryName\": \"Kiszállítás\",\n \"store/shipping.deliveryEstimate\": \"Becslés\",\n \"store/shipping.deliveryPrice\": \"Érték\",\n \"store/shipping.label\": \"Szállítás kalkulációja\",\n \"store/shipping.free\": \"Ingyenes\",\n \"store/shipping.empty-sla\": \"Nincs szállítási információ a megadott irányítószámhoz\",\n \"store/buy-button.add-to-cart\": \"Kosárba helyezés\",\n \"store/buybutton.buy-success\": \"Termék hozzáadva a kosárhoz\",\n \"store/buybutton.buy-success-duplicate\": \"A termék már a kosárban van\",\n \"store/buybutton.add-failure\": \"Hiba történt, a terméket nem sikerült a kosárba helyezni!\",\n \"store/buybutton.buy-offline-success\": \"A termék hozzáadva az offline kosárhoz\",\n \"store/buybutton.select-sku-variations\": \"Kérjük, válasszon egy opciót minden variációhoz\",\n \"store/buybutton.see-cart\": \"Kosár megtekintése\",\n \"store/technicalspecifications.title\": \"Műszaki adatok\",\n \"store/availability-subscriber.title\": \"Ez a termék jelenleg nem elérhető\",\n \"store/availability-subscriber.subscribe-label\": \"Értesítést kérek, amikor a termék elérhetővé válik\",\n \"store/availability-subscriber.email-placeholder\": \"Email\",\n \"store/availability-subscriber.name-placeholder\": \"Név\",\n \"store/availability-subscriber.send-label\": \"Küldés\",\n \"store/availability-subscriber.invalid-email\": \"Érvénytelen email\",\n \"store/availability-subscriber.added-message\": \"Email sikeresen regisztrálva\",\n \"store/availability-subscriber.error-message\": \"Sikertelen. Kérjük próbálja újra.\",\n \"store/newsletter.label\": \"Iratkozzon fel a hírlevelünkre\",\n \"store/newsletter.placeholder\": \"Adja meg email címét\",\n \"store/newsletter.submit\": \"Feliratkozás\",\n \"store/newsletter.invalidEmail\": \"Kérjük, adjon meg egy érvényes emailt.\",\n \"store/newsletter.confirmationTitle\": \"Köszönjük!\",\n \"store/newsletter.confirmationText\": \"Az email sikeresen regisztrálva.\",\n \"store/newsletter.error\": \"Valami hiba történt. Kérjük, próbálja meg később újra.\",\n \"admin/editor.newsletter.title\": \"Hírlevél\",\n \"admin/editor.newsletter.description\": \"Hírlevél űrlap\",\n \"admin/editor.newsletter.label\": \"Az űrlap címkéje, amelyet a komponens használ\",\n \"admin/editor.newsletter.placeholder\": \"Email mező helykitöltő\",\n \"admin/editor.newsletter.submit\": \"Beküldés gomb címkéje\",\n \"admin/editor.newsletter.hideLabel\": \"Címke elrejtése\",\n \"admin/editor.categoriesHighlighted.title\": \"Kiemelt kategóriák\",\n \"admin/editor.categoriesHighlighted.description\": \"Osztály kiemelt kategóriák\",\n \"admin/editor.categoriesHighlighted.item.categoryName\": \"Kategória neve\",\n \"admin/editor.categoriesHighlighted.item.categoryImage\": \"Kategória képe\",\n \"admin/editor.categoriesHighlighted.category\": \"Kategória\",\n \"admin/editor.categoriesHighlighted.categoriesHighlighted\": \"Kiemelt kategóriák\",\n \"admin/editor.categoriesHighlighted.showCategoriesHighlighted\": \"Kiemelt kategóriák megjelenítése\",\n \"admin/editor.categoriesHighlighted.quantityOfItems\": \"Tétel mennyisége\",\n \"admin/editor.categoriesHighlighted.cardShape\": \"Doboz alakja\",\n \"admin/editor.categoriesHighlighted.cardShape.squared\": \"Négyzet\",\n \"admin/editor.categoriesHighlighted.cardShape.rectangular\": \"Téglalap\",\n \"store/searchBar.button.cancel.label\": \"Mégse\",\n \"store/buyButton-label-unavailable\": \"Nem elérhető\",\n \"store/greeting\": \"Helló\",\n \"store/store-components.share.label\": \"Megosztás\",\n \"store/share.title\": \"{product} {sku} a {store} áruházban:\",\n \"admin/editor.info-card.title\": \"InfoCard\",\n \"admin/editor.info-card.description\": \"Kép és szöveg komponens, amelyet beállíthat\",\n \"admin/editor.info-card.isFullModeStyle.title\": \"Kép háttérként\",\n \"admin/editor.info-card.isFullModeStyle.description\": \"Ha igaz, a megadott kép háttérképként lesz használva, és a szöveg rajta jelenik meg\",\n \"admin/editor.info-card.textPosition.title\": \"Szöveg pozíciója\",\n \"admin/editor.info-card.textPosition.description\": \"Válassza ki a komponens helyét, ahol a szöveg megjelenik: bal, közép vagy jobb\",\n \"admin/editor.info-card.headline.title\": \"Főcím\",\n \"admin/editor.info-card.headline.description\": \"Főcím szöveg a komponensen belül\",\n \"admin/editor.info-card.subhead.title\": \"Alcím\",\n \"admin/editor.info-card.subhead.description\": \"Szöveg a főcím alatt a komponensen belül\",\n \"admin/editor.info-card.body-text.title\": \"Szövegtörzs\",\n \"admin/editor.info-card.body-text.description\": \"Az alcím belső komponens alatti szöveg\",\n \"admin/editor.info-card.callToActionMode.title\": \"Call to action mód\",\n \"admin/editor.info-card.callToActionMode.description\": \"Szabályozza a call to action megjelenését\",\n \"admin/editor.info-card.callToActionText.title\": \"Call to action szöveg\",\n \"admin/editor.info-card.callToActionText.description\": \"Szöveg a call to action komponensben\",\n \"admin/editor.info-card.callToActionUrl.title\": \"Call to action URL\",\n \"admin/editor.info-card.callToActionLinkTarget.title\": \"Átirányítás típusa a call to action linknél\",\n \"admin/editor.info-card.callToActionLinkTarget.description\": \"CallToActionLinkTarget tulajdonság leírása\",\n \"admin/editor.info-card.callToActionLinkTarget.blank\": \"Link új fülön nyílik meg\",\n \"admin/editor.info-card.callToActionLinkTarget.self\": \"Link ugyanazon a fülön nyílik meg\",\n \"admin/editor.info-card.callToActionUrl.description\": \"Átirányítás URL, amikor a CTA-ra kattintanak\",\n \"admin/editor.info-card.imageUrl.title\": \"Kép\",\n \"admin/editor.info-card.imageUrl.description\": \"Kép asztali számítógéphez\",\n \"admin/editor.info-card.mobileImageUrl.title\": \"Mobilkép\",\n \"admin/editor.info-card.mobileImageUrl.description\": \"Kép mobilon való használathoz\",\n \"admin/editor.info-card.textAlignment.title\": \"Szöveg igazítása\",\n \"admin/editor.info-card.textAlignment.description\": \"Szabályozza a szöveg igazítását a komponensen belül\",\n \"admin/editor.info-card.textPosition.left\": \"Balra\",\n \"admin/editor.info-card.textPosition.center\": \"Középre\",\n \"admin/editor.info-card.textPosition.right\": \"Jobbra\",\n \"admin/editor.info-card.textAlignment.left\": \"Balra\",\n \"admin/editor.info-card.textAlignment.center\": \"Középre\",\n \"admin/editor.info-card.textAlignment.right\": \"Jobbra\",\n \"admin/editor.info-card.textMode.title\": \"Szöveg mód\",\n \"admin/editor.info-card.textMode.description\": \"Szöveg mód, amelyet az InfoCard fogad. Alapértelmezett a HTML, a rich text lehetővé teszi a markdown használatát.\",\n \"admin/editor.info-card.textMode.html\": \"HTML\",\n \"admin/editor.info-card.textMode.rich-text\": \"Rich Text\",\n \"admin/editor.info-card.callAction.none\": \"Nincs\",\n \"admin/editor.info-card.callAction.button\": \"Gomb\",\n \"admin/editor.info-card.callAction.link\": \"Link\",\n \"admin/editor.info-card.imageActionUrl.title\": \"Kép akció URL\",\n \"admin/editor.info-card.imageActionUrl.description\": \"Adja meg az URL-t, hogy a kép linkké váljon és átirányíthassa a felhasználót\",\n \"store/user-address.pickup\": \"Átvétel a következő helyen: {name}\",\n \"store/user-address.order\": \"Küldés ide\",\n \"store/user-address.change\": \"Szerkesztés\",\n \"store/user-address.add\": \"Hely hozzáadása\",\n \"admin/editor.notification-bar.title\": \"Értesítési sáv\",\n \"admin/editor.notification-bar.description\": \"Komponens, amely bármilyen szöveget sávként jelenít meg\",\n \"admin/editor.notification-bar.content.title\": \"Tartalom\",\n \"admin/editor.notification-bar.content.description\": \"A sáv szövege\",\n \"admin/editor.blockClass.title\": \"CSS blokk osztály\",\n \"admin/editor.blockClass.description\": \"Extra osztálynevet ad hozzá, hogy könnyebbé tegye a stílusbeállítást\",\n \"admin/editor.image.title\": \"Kép\",\n \"admin/editor.image.description\": \"Bármilyen kép megjelenítése\",\n \"admin/editor.image.src.title\": \"Kép\",\n \"admin/editor.image.title.title\": \"Kép címe\",\n \"admin/editor.image.title.description\": \"Cím, amely megjelenik a lebegtetéskor\",\n \"admin/editor.image.alt.title\": \"Alternatív szöveg\",\n \"admin/editor.info-card.imageAltText.title\": \"Kép alternatív szöveg\",\n \"admin/editor.info-card.imageAltText.description\": \"Alternatív szöveg a képhez\",\n \"admin/editor.product-images.title\": \"Termékképek\",\n \"admin/editor.product-images.description\": \"Komponens, amely lehetővé teszi a termékképek testreszabását\",\n \"admin/editor.product-images.zoomOptions.title\": \"Nagyítási opciók\",\n \"admin/editor.product-images.zoomType.title\": \"Nagyítás típusa\",\n \"admin/editor.product-images.bgopacity.title\": \"Háttér átlátszósága\",\n \"admin/editor.product-images.thumbnailsOrientation.title\": \"Bélyegkép tájolása\",\n \"admin/editor.product-images.gallery\": \"Galériában\",\n \"admin/editor.product-images.in-page\": \"Az oldalon\",\n \"admin/editor.product-images.no-zoom\": \"Nincs nagyítás\",\n \"admin/editor.product-images.vertical\": \"Függőleges\",\n \"admin/editor.product-images.horizontal\": \"Vízszintes\",\n \"admin/editor.product-images.position.title\": \"Bélyegkép helyzete\",\n \"admin/editor.product-images.position.description\": \"Csak akkor használatos, ha a tájolás függőleges\",\n \"admin/editor.product-images.left\": \"Bal\",\n \"admin/editor.product-images.right\": \"Jobb\",\n \"admin/editor.product-images.displayThumbnailsArrows.title\": \"Nyilak megjelenítése a bélyegképeken\",\n \"admin/editor.product-specifications.title\": \"Termék specifikációk\",\n \"admin/editor.product-specifications.hidden-specifications.title\": \"Rejtett specifikációk\",\n \"admin/editor.product-specifications.hidden-specifications.description\": \"Adja meg a specifikációk neveit, amelyeket el akar rejteni\",\n \"admin/editor.product-specifications.visible-specifications.title\": \"Látható specifikációk\",\n \"admin/editor.product-specifications.visible-specifications.description\": \"Adja meg a látható specifikációk neveit. Csak egyet adjon meg a rejtett vagy látható specifikációk közül\",\n \"admin/editor.product-specifications.items.title\": \"Specifikáció\",\n \"admin/editor.logo.title\": \"Logó\",\n \"admin/editor.logo.description\": \"Komponens az áruház logójának megjelenítéséhez\",\n \"admin/editor.logo.href.title\": \"Átirányítási link\",\n \"admin/editor.logo.href.description\": \"Átirányítási link, amikor a logóra kattintanak. Hagyja üresen, hogy ne legyen kattintható.\",\n \"admin/editor.logo.url.title\": \"Kép\",\n \"admin/editor.logo.url.description\": \"Felhasználandó kép\",\n \"admin/editor.logo.width.title\": \"Szélesség\",\n \"admin/editor.logo.width.description\": \"Logó szélessége.\",\n \"admin/editor.logo.height.title\": \"Magasság\",\n \"admin/editor.logo.height.description\": \"Logó magassága.\",\n \"admin/editor.logo.title.title\": \"Alternatív szöveg\",\n \"admin/editor.logo.title.description\": \"Alternatív szöveg a logó képhez\",\n \"admin/editor.logo.mobileWidth.title\": \"Mobil szélesség\",\n \"admin/editor.logo.mobileWidth.description\": \"Mobilon használható szélesség. Ha üres, a megadott szélességi érték lesz használva.\",\n \"admin/editor.logo.mobileHeight.title\": \"Mobil magasság\",\n \"admin/editor.logo.mobileHeight.description\": \"Mobilon használható magasság. Ha üres, a megadott magassági érték lesz használva.\",\n \"store/skuSelector.seeMore\": \"Még {quantity} megtekintése\",\n \"store/sku-selector.select.placeholder\": \"Válasszon egy opciót\",\n \"store/sku-selector.variation.select-an-option\": \"Válasszon egy lehetőséget\",\n \"admin/editor.skuSelector.title\": \"SKU választó\",\n \"admin/editor.skuSelector.description\": \"Komponens, amely különböző variációkat jelenít meg egy elemhez, amelyet a felhasználó választhat\",\n \"admin/editor.skuSelector.seeMoreLabel.title\": \"Még {quantity} megtekintése címke\",\n \"admin/editor.skuSelector.seeMoreLabel.description\": \"„Még {quantity} megtekintése” gomb címkéje. A karakterláncnak egy {quantity} helyőrzőt kell tartalmaznia, hogy megjelenítse a megfelelő maradék elemeket. Példa: „Még {quantity} megtekintése”\",\n \"admin/editor.product-description.title\": \"Termékleírás\",\n \"admin/editor.product-description.title-prop.title\": \"Cím\",\n \"admin/editor.search-bar.title\": \"Keresősáv\",\n \"admin/editor.search-bar.placeholder.title\": \"Helykitöltő\",\n \"store/back-to-top.label\": \"Vissza a tetejére\",\n \"admin/editor.toTop.title\": \"Vissza a tetejére gomb\",\n \"admin/editor.toTop.description\": \"Amikor rákattintanak, az oldal tetejére görget\",\n \"admin/editor.toTop.topPixel.title\": \"Pixel szám\",\n \"admin/editor.toTop.topPixel.description\": \"Amikor a meghatározott pixelértéket meghaladja, megjelenik a vissza a tetejére gomb\"\n}\n\n```" } ]
code_store-components_c7b23917
[ { "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 store-components/messages/nl.json from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"store/search.placeholder\": \"Zoek\",\n \"store/search.searchFor\": \"Zoek voor {term}\",\n \"store/search.search-term-too-short\": \"Zoekterm is te kort\",\n \"admin/editor.productName.title\": \"Productnaam\",\n \"admin/editor.productName.description\": \"Productnaam component\",\n \"admin/editor.productName.showBrandName.title\": \"Toont de merknaam\",\n \"admin/editor.productName.showSku.title\": \"Toont de sku\",\n \"admin/editor.productName.showProductReference.title\": \"Toont de productreferentie\",\n \"admin/editor.productName.displayMode.title\": \"Toont de link die gekoppeld is aan de productnaam of onopgemaakte tekst\",\n \"admin/editor.productName.displayMode.plainText\": \"Onopgemaakte tekst\",\n \"admin/editor.productName.displayMode.linkToProductPage\": \"Link naar productpagina\",\n \"admin/editor.productPrice.title\": \"Productprijs\",\n \"admin/editor.productPrice.description\": \"Productprijs component\",\n \"admin/editor.productPrice.showListPrice\": \"Toon de catalogusprijs van het product\",\n \"admin/editor.productPrice.showSellingPriceRange\": \"Toon de verkoopprijzen van het product\",\n \"admin/editor.productPrice.showListPriceRange\": \"Toon de prijslijst van de producten\",\n \"admin/editor.productPrice.showLabels\": \"Toon de prijslabels van de producten\",\n \"admin/editor.productPrice.showInstallments\": \"Toon de betalingstermijnen van het product\",\n \"admin/editor.productPrice.showSavings\": \"Toon productlijst en verschil in verkoopprijs\",\n \"admin/editor.productPrice.labelSellingPrice\": \"Label verkoopprijs\",\n \"admin/editor.productPrice.labelListPrice\": \"Label prijslijst\",\n \"admin/editor.share.title\": \"Deel\",\n \"admin/editor.share.description\": \"Lijst met deelknoppen\",\n \"admin/editor.share.social.title\": \"Sociale netwerken\",\n \"store/product-description.title\": \"Productbeschrijving\",\n \"store/product-description.property\": \"Eigendom\",\n \"store/product-description.specification\": \"Specificatie\",\n \"store/product-description.collapse.showMore\": \"Meer weergeven\",\n \"store/product-description.collapse.showLess\": \"Toon minder\",\n \"store/pricing.installment-display\": \"Of {installments} {times} van {installmentPrice}\",\n \"store/pricing.from\": \"Van\",\n \"store/pricing.to\": \"Naar\",\n \"store/pricing.savings\": \"Bewaar {savings}\",\n \"store/pricing.interest-free\": \"rentevrij\",\n \"store/loading\": \"Bezig met laden…\",\n \"store/shipping.deliveryName\": \"Levering\",\n \"store/shipping.deliveryEstimate\": \"Geschat\",\n \"store/shipping.deliveryPrice\": \"Waarde\",\n \"store/shipping.label\": \"Verzending berekenen\",\n \"store/shipping.free\": \"Gratis\",\n \"store/shipping.empty-sla\": \"Er is geen verzendinformatie beschikbaar voor de geinformeerde postcode\",\n \"store/buy-button.add-to-cart\": \"Toevoegen aan winkelwagen\",\n \"store/buybutton.buy-success\": \"Item toegevoegd aan uw winkelwagen\",\n \"store/buybutton.buy-success-duplicate\": \"Item al in uw winkelwagen\",\n \"store/buybutton.add-failure\": \"Er is iets misgegaan en het item is niet toegevoegd aan uw winkelwagen!\",\n \"store/buybutton.buy-offline-success\": \"Item toegevoegd aan uw offline winkelwagen\",\n \"store/buybutton.select-sku-variations\": \"Selecteer een optie van elke variatie\",\n \"store/buybutton.see-cart\": \"Bekijk winkelwagen\",\n \"store/technicalspecifications.title\": \"Technische specificaties\",\n \"store/availability-subscriber.title\": \"Dit product is momenteel niet beschikbaar\",\n \"store/availability-subscriber.subscribe-label\": \"Ik wil weten wanneer dit product beschikbaar komt\",\n \"store/availability-subscriber.email-placeholder\": \"E-mail\",\n \"store/availability-subscriber.name-placeholder\": \"Naam\",\n \"store/availability-subscriber.send-label\": \"Verstuur\",\n \"store/availability-subscriber.invalid-email\": \"Ongeldig e-mailadres\",\n \"store/availability-subscriber.added-message\": \"E-mail succesvol geregistreerd\",\n \"store/availability-subscriber.error-message\": \"Mislukt, probeer het nog eens\",\n \"store/newsletter.label\": \"Schrijf u in op onze nieuwsbrief\",\n \"store/newsletter.placeholder\": \"Voer uw e-mailadres in\",\n \"store/newsletter.submit\": \"Aanmelden\",\n \"store/newsletter.invalidEmail\": \"Voer een geldige e-mail in.\",\n \"store/newsletter.confirmationTitle\": \"Bedankt!\",\n \"store/newsletter.confirmationText\": \"Uw e-mail werd met succes geregistreerd.\",\n \"store/newsletter.error\": \"Er is iets misgegaan, probeer het later nog eens\",\n \"admin/editor.newsletter.title\": \"Newsletter\",\n \"admin/editor.newsletter.description\": \"Nieuwsbriefformulier\",\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.hideLabel\": \"Verberg label\",\n \"admin/editor.categoriesHighlighted.title\": \"Categorieën gemarkeerd\",\n \"admin/editor.categoriesHighlighted.description\": \"Categorieën gemarkeerd van de afdeling\",\n \"admin/editor.categoriesHighlighted.item.categoryName\": \"Categorienaam\",\n \"admin/editor.categoriesHighlighted.item.categoryImage\": \"Afbeelding categorie\",\n \"admin/editor.categoriesHighlighted.category\": \"Categorie\",\n \"admin/editor.categoriesHighlighted.categoriesHighlighted\": \"Categorieën gemarkeerd\",\n \"admin/editor.categoriesHighlighted.showCategoriesHighlighted\": \"Toon gemarkeerde categorieën\",\n \"admin/editor.categoriesHighlighted.quantityOfItems\": \"Hoeveelheid items\",\n \"admin/editor.categoriesHighlighted.cardShape\": \"De vorm van de doos\",\n \"admin/editor.categoriesHighlighted.cardShape.squared\": \"Vierkantig\",\n \"admin/editor.categoriesHighlighted.cardShape.rectangular\": \"Rechthoekig\",\n \"store/searchBar.button.cancel.label\": \"Annuleren\",\n \"store/buyButton-label-unavailable\": \"Niet beschikbaar\",\n \"store/greeting\": \"Hallo\",\n \"store/store-components.share.label\": \"Deel\",\n \"store/share.title\": \"{product} {sku} bij {store}: \",\n \"admin/editor.info-card.title\": \"InfoCard\",\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.isFullModeStyle.title\": \"Afbeelding als achtergrond\",\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.textPosition.title\": \"Tekstpositie\",\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.headline.title\": \"Headline\",\n \"admin/editor.info-card.headline.description\": \"Tekst die moet worden weergegeven als een kop binnenin component\",\n \"admin/editor.info-card.subhead.title\": \"Subkop\",\n \"admin/editor.info-card.subhead.description\": \"Tekst die moet worden weergegeven onder de kop binnenin component\",\n \"admin/editor.info-card.body-text.title\": \"Bodytekst\",\n \"admin/editor.info-card.body-text.description\": \"Tekst onder subkop in component\",\n \"admin/editor.info-card.callToActionMode.title\": \"Oproep tot actiemodus\",\n \"admin/editor.info-card.callToActionMode.description\": \"Controleert hoe uw oproep tot actie wordt weergegeven\",\n \"admin/editor.info-card.callToActionText.title\": \"Oproep tot actie-tekst\",\n \"admin/editor.info-card.callToActionText.description\": \"Tekst die in de oproep tot actie-component moet worden weergegeven\",\n \"admin/editor.info-card.callToActionUrl.title\": \"Oproep tot actie-URL\",\n \"admin/editor.info-card.callToActionLinkTarget.title\": \"Omleidingstype van Oproep naar Actielink\",\n \"admin/editor.info-card.callToActionLinkTarget.description\": \"Beschrijving van de eigenschap callToActionLinkTarget\",\n \"admin/editor.info-card.callToActionLinkTarget.blank\": \"Link opent in een nieuw tabblad\",\n \"admin/editor.info-card.callToActionLinkTarget.self\": \"Link opent in hetzelfde tabblad\",\n \"admin/editor.info-card.callToActionUrl.description\": \"Url om door te sturen naar wanneer CTA is geklikt\",\n \"admin/editor.info-card.imageUrl.title\": \"Afbeelding\",\n \"admin/editor.info-card.imageUrl.description\": \"Afbeelding om op desktop te gebruiken\",\n \"admin/editor.info-card.mobileImageUrl.title\": \"Mobiele afbeelding\",\n \"admin/editor.info-card.mobileImageUrl.description\": \"Afbeelding voor mobiel gebruik\",\n \"admin/editor.info-card.textAlignment.title\": \"Tekstuitlijning\",\n \"admin/editor.info-card.textAlignment.description\": \"Regel de tekstuitlijning binnen het onderdeel\",\n \"admin/editor.info-card.textPosition.left\": \"Links\",\n \"admin/editor.info-card.textPosition.center\": \"Midden\",\n \"admin/editor.info-card.textPosition.right\": \"Rechts\",\n \"admin/editor.info-card.textAlignment.left\": \"Links\",\n \"admin/editor.info-card.textAlignment.center\": \"Midden\",\n \"admin/editor.info-card.textAlignment.right\": \"Rechts\",\n \"admin/editor.info-card.textMode.title\": \"Tekstmodus\",\n \"admin/editor.info-card.textMode.description\": \"Welke tekstmodus moet de InfoCard verwacht te ontvangen. HTML is de standaard en Rich Text stelt u in staat Markdown te gebruiken.\",\n \"admin/editor.info-card.textMode.html\": \"HTML\",\n \"admin/editor.info-card.textMode.rich-text\": \"Rich tekst\",\n \"admin/editor.info-card.callAction.none\": \"Geen\",\n \"admin/editor.info-card.callAction.button\": \"Knop\",\n \"admin/editor.info-card.callAction.link\": \"Link\",\n \"admin/editor.info-card.imageActionUrl.title\": \"Afbeelding actie-URL\",\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 \"store/user-address.pickup\": \"Afhalen bij {name}\",\n \"store/user-address.order\": \"Bestel aan\",\n \"store/user-address.change\": \"Verander\",\n \"store/user-address.add\": \"Locatie toevoegen\",\n \"admin/editor.notification-bar.title\": \"Notificatiebalk\",\n \"admin/editor.notification-bar.description\": \"Een onderdeel dat elke tekst in een staafstijl laat zien\",\n \"admin/editor.notification-bar.content.title\": \"Inhoud\",\n \"admin/editor.notification-bar.content.description\": \"Tekst van de balk\",\n \"admin/editor.blockClass.title\": \"CSS-blokklasse\",\n \"admin/editor.blockClass.description\": \"Voegt een extra klasse-naam toe om de styling te vergemakkelijken\",\n \"admin/editor.image.title\": \"Afbeelding\",\n \"admin/editor.image.description\": \"Toon eender welke afbeelding\",\n \"admin/editor.image.src.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.image.alt.title\": \"Alternatieve tekst\",\n \"admin/editor.info-card.imageAltText.title\": \"Afbeelding alternatieve tekst\",\n \"admin/editor.info-card.imageAltText.description\": \"Alternatieve tekst voor de afbeelding\",\n \"admin/editor.product-images.title\": \"Productafbeeldingen\",\n \"admin/editor.product-images.description\": \"Met de component productafbeeldingen kunt u de productafbeeldingen aanpassen\",\n \"admin/editor.product-images.zoomOptions.title\": \"Zoomopties\",\n \"admin/editor.product-images.zoomType.title\": \"Zoomtype\",\n \"admin/editor.product-images.bgopacity.title\": \"Achtergrondopaciteit\",\n \"admin/editor.product-images.thumbnailsOrientation.title\": \"Miniatuuroriëntatie\",\n \"admin/editor.product-images.gallery\": \"In gallerij\",\n \"admin/editor.product-images.in-page\": \"In pagina\",\n \"admin/editor.product-images.no-zoom\": \"Geen zoom\",\n \"admin/editor.product-images.vertical\": \"Verticaal\",\n \"admin/editor.product-images.horizontal\": \"Horizontaal\",\n \"admin/editor.product-images.position.title\": \"Miniatuurpositie\",\n \"admin/editor.product-images.position.description\": \"Alleen gebruikt wanneer de oriëntatie verticaal is\",\n \"admin/editor.product-images.left\": \"Links\",\n \"admin/editor.product-images.right\": \"Rechts\",\n \"admin/editor.product-images.displayThumbnailsArrows.title\": \"Weergavepijlen in miniaturen\",\n \"admin/editor.product-specifications.title\": \"Productspecificaties\",\n \"admin/editor.product-specifications.hidden-specifications.title\": \"Verborgen specificaties\",\n \"admin/editor.product-specifications.hidden-specifications.description\": \"Typenamen van specificaties die u wilt verbergen\",\n \"admin/editor.product-specifications.visible-specifications.title\": \"Zichtbare specificaties\",\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.items.title\": \"Specificatie\",\n \"admin/editor.logo.title\": \"Logo\",\n \"admin/editor.logo.description\": \"Onderdeel om uw winkellogo te tonen\",\n \"admin/editor.logo.href.title\": \"Link naar omleiding\",\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.url.title\": \"Afbeelding\",\n \"admin/editor.logo.url.description\": \"Te gebruiken afbeelding\",\n \"admin/editor.logo.width.title\": \"Breedte\",\n \"admin/editor.logo.width.description\": \"Breedte te gebruiken voor het logo.\",\n \"admin/editor.logo.height.title\": \"Hoogte\",\n \"admin/editor.logo.height.description\": \"Hoogte te gebruiken voor het logo.\",\n \"admin/editor.logo.title.title\": \"Alternatieve tekst\",\n \"admin/editor.logo.title.description\": \"Alternatieve tekst voor de afbeelding van het logo\",\n \"admin/editor.logo.mobileWidth.title\": \"Mobiele breedte\",\n \"admin/editor.logo.mobileWidth.description\": \"Breedte te gebruiken op mobiel. Indien leeg, zal de verstrekte breedtewaarde worden gebruikt.\",\n \"admin/editor.logo.mobileHeight.title\": \"Mobiele hoogte\",\n \"admin/editor.logo.mobileHeight.description\": \"Hoogte voor mobiel gebruik. Indien leeg, zal gebruik maken van de meegeleverde hoogtewaarde.\",\n \"store/skuSelector.seeMore\": \"Zie {quantity} meer\",\n \"store/sku-selector.select.placeholder\": \"Kies een optie\",\n \"store/sku-selector.variation.select-an-option\": \"Selecteer een optie\",\n \"admin/editor.skuSelector.title\": \"SKU-selector\",\n \"admin/editor.skuSelector.description\": \"Component die verschillende gegeven variaties van een item weergeeft, zodat de gebruiker kan kiezen\",\n \"admin/editor.skuSelector.seeMoreLabel.title\": \"Zie meer label\",\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.product-description.title\": \"Productbeschrijving\",\n \"admin/editor.product-description.title-prop.title\": \"Titel\",\n \"admin/editor.search-bar.title\": \"Zoekbalk\",\n \"admin/editor.search-bar.placeholder.title\": \"Plaatsaanduiding\",\n \"store/back-to-top.label\": \"Terug naar boven\",\n \"admin/editor.toTop.title\": \"Terug naar bovenste knop\",\n \"admin/editor.toTop.description\": \"Wanneer erop geklikt wordt de pagina naar de bovenkant gebracht\",\n \"admin/editor.toTop.topPixel.title\": \"Aantal pixels\",\n \"admin/editor.toTop.topPixel.description\": \"Bij overschrijding van de ingestelde pixel waarde verschijnt de knop om terug te keren naar de bovenkant\"\n}\n\n```" } ]
code_store-components_a5f243ea
[ { "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 store-components/messages/ja.json from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"store/search.placeholder\": \"検索\",\n \"store/search.searchFor\": \"{term} の検索結果\",\n \"store/search.search-term-too-short\": \"検索ワードが短すぎます\",\n \"admin/editor.productName.title\": \"製品名\",\n \"admin/editor.productName.description\": \"製品名コンポーネント\",\n \"admin/editor.productName.showBrandName.title\": \"ブランド名を表示する\",\n \"admin/editor.productName.showSku.title\": \"SKU を表示する\",\n \"admin/editor.productName.showProductReference.title\": \"製品の参照を表示する\",\n \"admin/editor.productName.displayMode.title\": \"製品名またはプレーンテキストに関連付けられているリンクの表示\",\n \"admin/editor.productName.displayMode.plainText\": \"プレーンテキスト\",\n \"admin/editor.productName.displayMode.linkToProductPage\": \"製品ページへのリンク\",\n \"admin/editor.productPrice.title\": \"製品価格\",\n \"admin/editor.productPrice.description\": \"製品価格コンポーネント\",\n \"admin/editor.productPrice.showListPrice\": \"製品のリスト価格を表示する\",\n \"admin/editor.productPrice.showSellingPriceRange\": \"製品の販売価格範囲を表示する\",\n \"admin/editor.productPrice.showListPriceRange\": \"製品のリスト価格範囲を表示する\",\n \"admin/editor.productPrice.showLabels\": \"製品の価格ラベルを表示する\",\n \"admin/editor.productPrice.showInstallments\": \"製品の分割払い回数を表示する\",\n \"admin/editor.productPrice.showSavings\": \"製品のリスト価格と販売価格の差を表示する\",\n \"admin/editor.productPrice.labelSellingPrice\": \"販売価格ラベル\",\n \"admin/editor.productPrice.labelListPrice\": \"リスト価格ラベル\",\n \"admin/editor.share.title\": \"共有する\",\n \"admin/editor.share.description\": \"共有ボタンのリスト\",\n \"admin/editor.share.social.title\": \"ソーシャルネットワーク\",\n \"store/product-description.title\": \"製品説明\",\n \"store/product-description.property\": \"プロパティ\",\n \"store/product-description.specification\": \"仕様\",\n \"store/product-description.collapse.showMore\": \"さらに表示\",\n \"store/product-description.collapse.showLess\": \"表示を減らす\",\n \"store/pricing.installment-display\": \"または {installments} {times} / {installmentPrice}\",\n \"store/pricing.from\": \"開始\",\n \"store/pricing.to\": \"終了\",\n \"store/pricing.savings\": \"保存 {savings}\",\n \"store/pricing.interest-free\": \"無利息\",\n \"store/loading\": \"読み込み中…\",\n \"store/shipping.deliveryName\": \"配送\",\n \"store/shipping.deliveryEstimate\": \"推定\",\n \"store/shipping.deliveryPrice\": \"値\",\n \"store/shipping.label\": \"発送を計算\",\n \"store/shipping.free\": \"無料\",\n \"store/shipping.empty-sla\": \"入力された郵便番号について、取得できる発送情報はありません\",\n \"store/buy-button.add-to-cart\": \"カートに追加\",\n \"store/buybutton.buy-success\": \"カートに追加された項目\",\n \"store/buybutton.buy-success-duplicate\": \"すでにカート内にある項目\",\n \"store/buybutton.add-failure\": \"エラーが発生しました。項目はカートに追加されていません!\",\n \"store/buybutton.buy-offline-success\": \"オフラインカートに追加された項目\",\n \"store/buybutton.select-sku-variations\": \"それぞれのバリエーションのオプションを選択してください\",\n \"store/buybutton.see-cart\": \"カートを閲覧する\",\n \"store/technicalspecifications.title\": \"技術仕様\",\n \"store/availability-subscriber.title\": \"現在、この製品を入手できません\",\n \"store/availability-subscriber.subscribe-label\": \"この製品が入手可能になったらお知らせください\",\n \"store/availability-subscriber.email-placeholder\": \"Eメール\",\n \"store/availability-subscriber.name-placeholder\": \"名前\",\n \"store/availability-subscriber.send-label\": \"送る\",\n \"store/availability-subscriber.invalid-email\": \"無効なメール\",\n \"store/availability-subscriber.added-message\": \"メールの登録が完了しました\",\n \"store/availability-subscriber.error-message\": \"失敗しました、もう一度やり直して下さい\",\n \"store/newsletter.label\": \"ニュースレターの購読\",\n \"store/newsletter.placeholder\": \"メールアドレスを入力\",\n \"store/newsletter.submit\": \"サインアップ\",\n \"store/newsletter.invalidEmail\": \"正しいメールアドレスを入力してください。\",\n \"store/newsletter.confirmationTitle\": \"ありがとうございました!\",\n \"store/newsletter.confirmationText\": \"メールアドレスが登録できました。\",\n \"store/newsletter.error\": \"エラーが発生しました。後でもう一度やり直してください\",\n \"admin/editor.newsletter.title\": \"ニュースレター\",\n \"admin/editor.newsletter.description\": \"ニュースレターフォーム\",\n \"admin/editor.newsletter.label\": \"コンポーネントに使用されるフォームのラベル\",\n \"admin/editor.newsletter.placeholder\": \"Eメール入力のプレースホルダー\",\n \"admin/editor.newsletter.submit\": \"提出ボタンのラベル\",\n \"admin/editor.newsletter.hideLabel\": \"ラベルを非表示にする\",\n \"admin/editor.categoriesHighlighted.title\": \"ハイライトされたカテゴリ\",\n \"admin/editor.categoriesHighlighted.description\": \"部門によりハイライトされたカテゴリ\",\n \"admin/editor.categoriesHighlighted.item.categoryName\": \"カテゴリ名\",\n \"admin/editor.categoriesHighlighted.item.categoryImage\": \"カテゴリ画像\",\n \"admin/editor.categoriesHighlighted.category\": \"カテゴリ\",\n \"admin/editor.categoriesHighlighted.categoriesHighlighted\": \"ハイライトされたカテゴリ\",\n \"admin/editor.categoriesHighlighted.showCategoriesHighlighted\": \"ハイライトされたカテゴリの表示\",\n \"admin/editor.categoriesHighlighted.quantityOfItems\": \"項目の数\",\n \"admin/editor.categoriesHighlighted.cardShape\": \"ボックスの形状\",\n \"admin/editor.categoriesHighlighted.cardShape.squared\": \"正方形\",\n \"admin/editor.categoriesHighlighted.cardShape.rectangular\": \"長方形\",\n \"store/searchBar.button.cancel.label\": \"キャンセル\",\n \"store/buyButton-label-unavailable\": \"利用不可\",\n \"store/greeting\": \"こんにちは\",\n \"store/store-components.share.label\": \"共有する\",\n \"store/share.title\": \"{store} の {product} {sku}: \",\n \"admin/editor.info-card.title\": \"情報カード\",\n \"admin/editor.info-card.description\": \"表示方法を選ぶことのできる画像とテキストのコンポーネント\",\n \"admin/editor.info-card.isFullModeStyle.title\": \"背景の画像\",\n \"admin/editor.info-card.isFullModeStyle.description\": \"True の場合、提供された画像は背景画像として使用され、テキストはその上に表示されます\",\n \"admin/editor.info-card.textPosition.title\": \"テキストの位置\",\n \"admin/editor.info-card.textPosition.description\": \"コンポーネントテキストが表示される位置を左、中央、右から選びます。\",\n \"admin/editor.info-card.headline.title\": \"見出し\",\n \"admin/editor.info-card.headline.description\": \"コンポーネント内の見出しに表示されるテキスト\",\n \"admin/editor.info-card.subhead.title\": \"副見出し\",\n \"admin/editor.info-card.subhead.description\": \"コンポーネント内の見出しの下に表示されるテキスト\",\n \"admin/editor.info-card.body-text.title\": \"本文テキスト\",\n \"admin/editor.info-card.body-text.description\": \"コンポーネント内でサブヘッダーの下に来るテキスト\",\n \"admin/editor.info-card.callToActionMode.title\": \"行動喚起モード\",\n \"admin/editor.info-card.callToActionMode.description\": \"行動喚起の表示方法をコントロールします\",\n \"admin/editor.info-card.callToActionText.title\": \"行動喚起テキスト\",\n \"admin/editor.info-card.callToActionText.description\": \"行動喚起コンポーネントのテキストが内部に表示されます\",\n \"admin/editor.info-card.callToActionUrl.title\": \"行動喚起 URL\",\n \"admin/editor.info-card.callToActionLinkTarget.title\": \"アクションリンク通知のリダイレクトタイプ\",\n \"admin/editor.info-card.callToActionLinkTarget.description\": \"アクションリンクターゲット通知のプロパティの説明\",\n \"admin/editor.info-card.callToActionLinkTarget.blank\": \"新しいタブでリンクを開く\",\n \"admin/editor.info-card.callToActionLinkTarget.self\": \"同じタブでリンクを開く\",\n \"admin/editor.info-card.callToActionUrl.description\": \"CTA をクリックした時にリダイレクトする URL\",\n \"admin/editor.info-card.imageUrl.title\": \"画像\",\n \"admin/editor.info-card.imageUrl.description\": \"デスクトップで使用する画像\",\n \"admin/editor.info-card.mobileImageUrl.title\": \"モバイル画像\",\n \"admin/editor.info-card.mobileImageUrl.description\": \"モバイルで使用する画像\",\n \"admin/editor.info-card.textAlignment.title\": \"文字揃え\",\n \"admin/editor.info-card.textAlignment.description\": \"コンポーネント内の文字揃えをコントロールします\",\n \"admin/editor.info-card.textPosition.left\": \"左\",\n \"admin/editor.info-card.textPosition.center\": \"中央\",\n \"admin/editor.info-card.textPosition.right\": \"右\",\n \"admin/editor.info-card.textAlignment.left\": \"左\",\n \"admin/editor.info-card.textAlignment.center\": \"中央\",\n \"admin/editor.info-card.textAlignment.right\": \"右\",\n \"admin/editor.info-card.textMode.title\": \"テキストモード\",\n \"admin/editor.info-card.textMode.description\": \"InfoCard に届くことになっているテキストモードです。デフォルトは HTML ですが、リッチテキストを有効にすると Markdown を使えます。\",\n \"admin/editor.info-card.textMode.html\": \"HTML\",\n \"admin/editor.info-card.textMode.rich-text\": \"リッチテキスト\",\n \"admin/editor.info-card.callAction.none\": \"なし\",\n \"admin/editor.info-card.callAction.button\": \"ボタン\",\n \"admin/editor.info-card.callAction.link\": \"リンク\",\n \"admin/editor.info-card.imageActionUrl.title\": \"画像アクション URL\",\n \"admin/editor.info-card.imageActionUrl.description\": \"URL を渡して画像をリンクに変え、ユーザーをリダイレクトできるようにする\",\n \"store/user-address.pickup\": \"{name} でピックアップ\",\n \"store/user-address.order\": \"注文先\",\n \"store/user-address.change\": \"変更\",\n \"store/user-address.add\": \"場所を追加\",\n \"admin/editor.notification-bar.title\": \"通知バー\",\n \"admin/editor.notification-bar.description\": \"バースタイルでテキストを表示するコンポーネント\",\n \"admin/editor.notification-bar.content.title\": \"コンテンツ\",\n \"admin/editor.notification-bar.content.description\": \"バーのテキスト\",\n \"admin/editor.blockClass.title\": \"CSS ブロッククラス\",\n \"admin/editor.blockClass.description\": \"クラス名を別途追加し、スタイリングを簡単にしてください\",\n \"admin/editor.image.title\": \"画像\",\n \"admin/editor.image.description\": \"画像を表示する\",\n \"admin/editor.image.src.title\": \"画像\",\n \"admin/editor.image.title.title\": \"画像のタイトル\",\n \"admin/editor.image.title.description\": \"重ねて生じされるタイトル\",\n \"admin/editor.image.alt.title\": \"代替テキスト\",\n \"admin/editor.info-card.imageAltText.title\": \"画像の代替テキスト\",\n \"admin/editor.info-card.imageAltText.description\": \"画像の代替テキスト\",\n \"admin/editor.product-images.title\": \"製品画像\",\n \"admin/editor.product-images.description\": \"製品画像コンポーネントにより、製品画像をカスタマイズできます\",\n \"admin/editor.product-images.zoomOptions.title\": \"拡大オプション\",\n \"admin/editor.product-images.zoomType.title\": \"拡大タイプ\",\n \"admin/editor.product-images.bgopacity.title\": \"背景の透明度\",\n \"admin/editor.product-images.thumbnailsOrientation.title\": \"サムネイルの方向\",\n \"admin/editor.product-images.gallery\": \"ギャラリー内\",\n \"admin/editor.product-images.in-page\": \"ページ内\",\n \"admin/editor.product-images.no-zoom\": \"ズームなし\",\n \"admin/editor.product-images.vertical\": \"垂直\",\n \"admin/editor.product-images.horizontal\": \"水平\",\n \"admin/editor.product-images.position.title\": \"サムネイルの位置\",\n \"admin/editor.product-images.position.description\": \"垂直方向の時だけ使用できます\",\n \"admin/editor.product-images.left\": \"左\",\n \"admin/editor.product-images.right\": \"右\",\n \"admin/editor.product-images.displayThumbnailsArrows.title\": \"サムネイルに矢印を表示します\",\n \"admin/editor.product-specifications.title\": \"製品仕様\",\n \"admin/editor.product-specifications.hidden-specifications.title\": \"非表示の仕様\",\n \"admin/editor.product-specifications.hidden-specifications.description\": \"非表示にしたい仕様の名前を入力する\",\n \"admin/editor.product-specifications.visible-specifications.title\": \"見えている仕様\",\n \"admin/editor.product-specifications.visible-specifications.description\": \"表示したい仕様の名前を入力します。非表示の仕様または見えている仕様の1つだけを入力してください\",\n \"admin/editor.product-specifications.items.title\": \"仕様\",\n \"admin/editor.logo.title\": \"ロゴ\",\n \"admin/editor.logo.description\": \"ストアロゴを表示するコンポーネント\",\n \"admin/editor.logo.href.title\": \"リダイレクトするリンク\",\n \"admin/editor.logo.href.description\": \"ロゴがクリックされた時にリダイレクトされるリンクです。空欄にした場合、クリックできません。\",\n \"admin/editor.logo.url.title\": \"画像\",\n \"admin/editor.logo.url.description\": \"使用する画像\",\n \"admin/editor.logo.width.title\": \"幅\",\n \"admin/editor.logo.width.description\": \"ロゴのために使う幅\",\n \"admin/editor.logo.height.title\": \"高\",\n \"admin/editor.logo.height.description\": \"ロゴのために使う高さ\",\n \"admin/editor.logo.title.title\": \"代替テキスト\",\n \"admin/editor.logo.title.description\": \"ロゴ画像の代替テキスト\",\n \"admin/editor.logo.mobileWidth.title\": \"モバイルの幅\",\n \"admin/editor.logo.mobileWidth.description\": \"モバイルで使う幅です。空欄の場合、所定の幅を使用します。\",\n \"admin/editor.logo.mobileHeight.title\": \"モバイルの高さ\",\n \"admin/editor.logo.mobileHeight.description\": \"モバイルで使う高さです。空欄の場合、所定の高さを使用します。\",\n \"store/skuSelector.seeMore\": \"{quantity} 以上を表示する\",\n \"store/sku-selector.select.placeholder\": \"オプションを選択\",\n \"store/sku-selector.variation.select-an-option\": \"オプションを選択する\",\n \"admin/editor.skuSelector.title\": \"SKU セレクタ\",\n \"admin/editor.skuSelector.description\": \"ユーザーが選べるよう、項目のさまざまなバリエーションを表示するコンポーネント\",\n \"admin/editor.skuSelector.seeMoreLabel.title\": \"詳細を見るラベル\",\n \"admin/editor.skuSelector.seeMoreLabel.description\": \"詳細を見るボタンのラベルです。文字列は、利用できる適切な残りの項目を表示できるよう {quantity} のプレースホルダーがなければなりません。例: 「さらに {quantity} 個を見る」\",\n \"admin/editor.product-description.title\": \"製品説明\",\n \"admin/editor.product-description.title-prop.title\": \"タイトル\",\n \"admin/editor.search-bar.title\": \"検索バー\",\n \"admin/editor.search-bar.placeholder.title\": \"プレースホルダー\",\n \"store/back-to-top.label\": \"トップに戻る\",\n \"admin/editor.toTop.title\": \"トップボタンに戻る\",\n \"admin/editor.toTop.description\": \"クリックするとページが一番上に移動します\",\n \"admin/editor.toTop.topPixel.title\": \"ピクセル数\",\n \"admin/editor.toTop.topPixel.description\": \"指定したピクセル値を超えると、トップに戻るためのボタンが表示されます\"\n}\n\n```" } ]
code_store-components_146be439
[ { "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 store-components/messages/de.json from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"store/search.placeholder\": \"Suche\",\n \"store/search.searchFor\": \"Suchen nach {term}\",\n \"store/search.search-term-too-short\": \"Suchbegriff ist zu kurz\",\n \"admin/editor.productName.title\": \"Produktname\",\n \"admin/editor.productName.description\": \"Produktnamenkomponente\",\n \"admin/editor.productName.showBrandName.title\": \"Markenname anzeigen\",\n \"admin/editor.productName.showSku.title\": \"Zeigt SKU\",\n \"admin/editor.productName.showProductReference.title\": \"Produktreferenz anzeigen\",\n \"admin/editor.productName.displayMode.title\": \"Zeigt den Link an, der mit dem Produktnamen oder dem reinen Text verknüpft ist\",\n \"admin/editor.productName.displayMode.plainText\": \"Reiner Text\",\n \"admin/editor.productName.displayMode.linkToProductPage\": \"Link zur Produktseite\",\n \"admin/editor.productPrice.title\": \"Produktpreis\",\n \"admin/editor.productPrice.description\": \"Produktpreiskomponente\",\n \"admin/editor.productPrice.showListPrice\": \"Produktlistenpreis anzeigen\",\n \"admin/editor.productPrice.showSellingPriceRange\": \"Verkaufspreisspanne des Produkts anzeigen\",\n \"admin/editor.productPrice.showListPriceRange\": \"Preisspanne der Produktliste anzeigen\",\n \"admin/editor.productPrice.showLabels\": \"Produkt-Preisbeschriftungen anzeigen\",\n \"admin/editor.productPrice.showInstallments\": \"Produktzahlungsraten anzeigen\",\n \"admin/editor.productPrice.showSavings\": \"Produktliste und Verkaufspreisdifferenz anzeigen\",\n \"admin/editor.productPrice.labelSellingPrice\": \"Verkaufsbeschriftung\",\n \"admin/editor.productPrice.labelListPrice\": \"Listenpreis-Beschriftung\",\n \"admin/editor.share.title\": \"Teilen\",\n \"admin/editor.share.description\": \"Liste der Freigabe-Schaltflächen\",\n \"admin/editor.share.social.title\": \"Soziale Medien\",\n \"store/product-description.title\": \"Produktbeschreibung\",\n \"store/product-description.property\": \"Eigentum\",\n \"store/product-description.specification\": \"Spezifikation\",\n \"store/product-description.collapse.showMore\": \"Mehr anzeigen\",\n \"store/product-description.collapse.showLess\": \"Weniger anzeigen\",\n \"store/pricing.installment-display\": \"Oder {installments} {times} von {installmentPrice}\",\n \"store/pricing.from\": \"Von\",\n \"store/pricing.to\": \"Bis\",\n \"store/pricing.savings\": \"Speichern {savings}\",\n \"store/pricing.interest-free\": \"zinsfrei\",\n \"store/loading\": \"Laden…\",\n \"store/shipping.deliveryName\": \"Lieferung\",\n \"store/shipping.deliveryEstimate\": \"Schätzung\",\n \"store/shipping.deliveryPrice\": \"Wert\",\n \"store/shipping.label\": \"Versand berechnen\",\n \"store/shipping.free\": \"Kostenlos\",\n \"store/shipping.empty-sla\": \"Es sind keine Versandinformationen für den angegebenen Code verfügbar\",\n \"store/buy-button.add-to-cart\": \"Zum Warenkorb hinzufügen\",\n \"store/buybutton.buy-success\": \"Artikel in den Warenkorb gelegt\",\n \"store/buybutton.buy-success-duplicate\": \"Artikel bereits im Warenkorb\",\n \"store/buybutton.add-failure\": \"Etwas ging schief und der Artikel wurde nicht in den Warenkorb gelegt!\",\n \"store/buybutton.buy-offline-success\": \"Artikel zu Ihrem Offline-Warenkorb hinzugefügt\",\n \"store/buybutton.select-sku-variations\": \"Bitte wählen Sie eine Option für jede Variante\",\n \"store/buybutton.see-cart\": \"Warenkorb anzeigen\",\n \"store/technicalspecifications.title\": \"Technische Spezifikationen\",\n \"store/availability-subscriber.title\": \"Dieses Produkt ist im Moment nicht verfügbar\",\n \"store/availability-subscriber.subscribe-label\": \"Ich möchte wissen, wann dieses Produkt verfügbar ist\",\n \"store/availability-subscriber.email-placeholder\": \"E-Mail\",\n \"store/availability-subscriber.name-placeholder\": \"Name\",\n \"store/availability-subscriber.send-label\": \"Senden\",\n \"store/availability-subscriber.invalid-email\": \"Ungültige E-Mail-Adresse\",\n \"store/availability-subscriber.added-message\": \"E-Mail erfolgreich registriert\",\n \"store/availability-subscriber.error-message\": \"Fehlgeschlagen. Bitte versuchen Sie es erneut.\",\n \"store/newsletter.label\": \"Abonnieren Sie unseren Newsletter\",\n \"store/newsletter.placeholder\": \"Geben Sie Ihre E-Mail-Adresse ein\",\n \"store/newsletter.submit\": \"Anmelden\",\n \"store/newsletter.invalidEmail\": \"Bitte geben Sie eine gültige E-Mail-Adresse ein.\",\n \"store/newsletter.confirmationTitle\": \"Vielen Dank!\",\n \"store/newsletter.confirmationText\": \"Ihre E-Mail wurde erfolgreich registriert.\",\n \"store/newsletter.error\": \"Ein Fehler ist aufgetreten. Bitte versuchen Sie es später erneut.\",\n \"admin/editor.newsletter.title\": \"Newsletter\",\n \"admin/editor.newsletter.description\": \"Newsletter Formular\",\n \"admin/editor.newsletter.label\": \"Von der Komponente verwendete Formularbeschriftung\",\n \"admin/editor.newsletter.placeholder\": \"Platzhalter für die E-Mail-Eingabe\",\n \"admin/editor.newsletter.submit\": \"Beschriftung der Schaltfläche Senden\",\n \"admin/editor.newsletter.hideLabel\": \"Label ausblenden\",\n \"admin/editor.categoriesHighlighted.title\": \"Hervorgehobene Kategorien\",\n \"admin/editor.categoriesHighlighted.description\": \"Hervorgehobene Kategorien der Abteilung\",\n \"admin/editor.categoriesHighlighted.item.categoryName\": \"Kategoriename\",\n \"admin/editor.categoriesHighlighted.item.categoryImage\": \"Kategorie-Bild\",\n \"admin/editor.categoriesHighlighted.category\": \"Kategorie\",\n \"admin/editor.categoriesHighlighted.categoriesHighlighted\": \"Hervorgehobene Kategorien\",\n \"admin/editor.categoriesHighlighted.showCategoriesHighlighted\": \"Hervorgehobene Kategorien anzeigen\",\n \"admin/editor.categoriesHighlighted.quantityOfItems\": \"Artikelmenge\",\n \"admin/editor.categoriesHighlighted.cardShape\": \"Kastenform\",\n \"admin/editor.categoriesHighlighted.cardShape.squared\": \"Eckig\",\n \"admin/editor.categoriesHighlighted.cardShape.rectangular\": \"Rechteckig\",\n \"store/searchBar.button.cancel.label\": \"Abbrechen\",\n \"store/buyButton-label-unavailable\": \"Nicht verfügbar\",\n \"store/greeting\": \"Hallo\",\n \"store/store-components.share.label\": \"Teilen\",\n \"store/share.title\": \"{product} {sku} bei {store}: \",\n \"admin/editor.info-card.title\": \"InfoCard\",\n \"admin/editor.info-card.description\": \"Eine Komponente mit Bild und Text, deren Anzeige Sie selbst bestimmen können\",\n \"admin/editor.info-card.isFullModeStyle.title\": \"Bild als Hintergrund\",\n \"admin/editor.info-card.isFullModeStyle.description\": \"Wenn wahr, wird das angegebene Bild als Hintergrundbild verwendet und der Text wird darüber angezeigt\",\n \"admin/editor.info-card.textPosition.title\": \"Textposition\",\n \"admin/editor.info-card.textPosition.description\": \"Wählen Sie, an welcher Position der Text der Komponente angezeigt werden soll: links, zentriert oder rechts\",\n \"admin/editor.info-card.headline.title\": \"Überschrift\",\n \"admin/editor.info-card.headline.description\": \"Text, der als Überschrift innerhalb der Komponente angezeigt werden soll\",\n \"admin/editor.info-card.subhead.title\": \"Untertitel\",\n \"admin/editor.info-card.subhead.description\": \"Text unter der Überschrift innerhalb der Komponente\",\n \"admin/editor.info-card.body-text.title\": \"Haupttext\",\n \"admin/editor.info-card.body-text.description\": \"Text unter dem Untertitel innerhalb der Komponente\",\n \"admin/editor.info-card.callToActionMode.title\": \"Modus \\\"Aufruf zum Handeln\\\"\",\n \"admin/editor.info-card.callToActionMode.description\": \"Steuert, wie Ihre Handlungsaufforderung angezeigt wird\",\n \"admin/editor.info-card.callToActionText.title\": \"Text des Aufrufs zum Handeln\",\n \"admin/editor.info-card.callToActionText.description\": \"Text, in der Komponenten Aufruf zum Handeln\",\n \"admin/editor.info-card.callToActionUrl.title\": \"URL \\\"Aufruf zum Handeln\\\"\",\n \"admin/editor.info-card.callToActionLinkTarget.title\": \"Art der Umleitung des Aufforderung-zur-Handlung-Links\",\n \"admin/editor.info-card.callToActionLinkTarget.description\": \"Beschreibung der Eigenschaft callToActionLinkTarget \",\n \"admin/editor.info-card.callToActionLinkTarget.blank\": \"Link öffnet in einer neuen Registerkarte\",\n \"admin/editor.info-card.callToActionLinkTarget.self\": \"Link öffnet in der gleichen Registerkarte\",\n \"admin/editor.info-card.callToActionUrl.description\": \"URL umleiten, wenn CTA angeklickt wird\",\n \"admin/editor.info-card.imageUrl.title\": \"Bild\",\n \"admin/editor.info-card.imageUrl.description\": \"Bild für Desktop\",\n \"admin/editor.info-card.mobileImageUrl.title\": \"Mobiles Bild\",\n \"admin/editor.info-card.mobileImageUrl.description\": \"Bild für die Verwendung auf dem Handy\",\n \"admin/editor.info-card.textAlignment.title\": \"Textausrichtung\",\n \"admin/editor.info-card.textAlignment.description\": \"Steuert die Textausrichtung innerhalb der Komponente\",\n \"admin/editor.info-card.textPosition.left\": \"Links\",\n \"admin/editor.info-card.textPosition.center\": \"Zentriert\",\n \"admin/editor.info-card.textPosition.right\": \"Rechts\",\n \"admin/editor.info-card.textAlignment.left\": \"Links\",\n \"admin/editor.info-card.textAlignment.center\": \"Zentriert\",\n \"admin/editor.info-card.textAlignment.right\": \"Rechts\",\n \"admin/editor.info-card.textMode.title\": \"Textmodus\",\n \"admin/editor.info-card.textMode.description\": \"Textmodus InfoCard wird empfangen. HTML ist die Standardeinstellung und Rich-Text ermöglicht Ihnen die Verwendung von Markdown.\",\n \"admin/editor.info-card.textMode.html\": \"HTML\",\n \"admin/editor.info-card.textMode.rich-text\": \"Rich-Text\",\n \"admin/editor.info-card.callAction.none\": \"Keine\",\n \"admin/editor.info-card.callAction.button\": \"Taste\",\n \"admin/editor.info-card.callAction.link\": \"Link\",\n \"admin/editor.info-card.imageActionUrl.title\": \"Bild-Aktions-URL\",\n \"admin/editor.info-card.imageActionUrl.description\": \"URL übergeben, um das Bild in einen Link zu verwandeln und den Benutzer umleiten zu können\",\n \"store/user-address.pickup\": \"Abhholung bei {name}\",\n \"store/user-address.order\": \"Senden an\",\n \"store/user-address.change\": \"Bearbeiten\",\n \"store/user-address.add\": \"Standort hinzufügen\",\n \"admin/editor.notification-bar.title\": \"Benachrichtigungsleiste\",\n \"admin/editor.notification-bar.description\": \"Komponente, die jeden Text als Leiste zeigt\",\n \"admin/editor.notification-bar.content.title\": \"Inhalt\",\n \"admin/editor.notification-bar.content.description\": \"Text der Leiste\",\n \"admin/editor.blockClass.title\": \"CSS-Block-Klasse\",\n \"admin/editor.blockClass.description\": \"Fügt einen zusätzlichen Klassennamen hinzu, um Styling zu erleichtern\",\n \"admin/editor.image.title\": \"Bild\",\n \"admin/editor.image.description\": \"Jedes Bild anzeigen\",\n \"admin/editor.image.src.title\": \"Bild\",\n \"admin/editor.image.title.title\": \"Bildtitel\",\n \"admin/editor.image.title.description\": \"Titel, der bei Mausverschiebung angezeigt wird\",\n \"admin/editor.image.alt.title\": \"Alternativer Text\",\n \"admin/editor.info-card.imageAltText.title\": \"Bild-Alternativtext\",\n \"admin/editor.info-card.imageAltText.description\": \"Alternativtext für das Bild\",\n \"admin/editor.product-images.title\": \"Produktbilder\",\n \"admin/editor.product-images.description\": \"Komponente, mit der Sie die Produktbilder anpassen können\",\n \"admin/editor.product-images.zoomOptions.title\": \"Zoom-Optionen\",\n \"admin/editor.product-images.zoomType.title\": \"Zoom-Typ\",\n \"admin/editor.product-images.bgopacity.title\": \"Opazität des Hintergrunds\",\n \"admin/editor.product-images.thumbnailsOrientation.title\": \"Ausrichtung der Vorschaubilder\",\n \"admin/editor.product-images.gallery\": \"In der Galerie\",\n \"admin/editor.product-images.in-page\": \"Auf die Seite\",\n \"admin/editor.product-images.no-zoom\": \"Kein Zoom\",\n \"admin/editor.product-images.vertical\": \"Vertikal\",\n \"admin/editor.product-images.horizontal\": \"Horizontal\",\n \"admin/editor.product-images.position.title\": \"Thumbnail-Position\",\n \"admin/editor.product-images.position.description\": \"Nur verwendet, wenn die Ausrichtung vertikal ist\",\n \"admin/editor.product-images.left\": \"Links\",\n \"admin/editor.product-images.right\": \"Rechts\",\n \"admin/editor.product-images.displayThumbnailsArrows.title\": \"Titel bei Miniaturbildern anzeigen\",\n \"admin/editor.product-specifications.title\": \"Produktspezifikationen\",\n \"admin/editor.product-specifications.hidden-specifications.title\": \"Versteckte Spezifikationen\",\n \"admin/editor.product-specifications.hidden-specifications.description\": \"Geben Sie die Namen der Spezifikationen ein, die Sie ausblenden möchten\",\n \"admin/editor.product-specifications.visible-specifications.title\": \"Sichtbare Spezifikationen\",\n \"admin/editor.product-specifications.visible-specifications.description\": \"Geben Sie die Namen der Spezifikationen ein, die Sie anzeigen möchten. Geben Sie nur eine der versteckten oder sichtbaren Spezifikationen ein\",\n \"admin/editor.product-specifications.items.title\": \"Spezifikation\",\n \"admin/editor.logo.title\": \"Logo\",\n \"admin/editor.logo.description\": \"Komponente für die Anzeige Ihres Shop-Logos\",\n \"admin/editor.logo.href.title\": \"Weiterleitungs-Link\",\n \"admin/editor.logo.href.description\": \"Weiterleitungslink, wenn das Logo angeklickt wird. Leer lassen, damit er nicht anklickbar ist.\",\n \"admin/editor.logo.url.title\": \"Bild\",\n \"admin/editor.logo.url.description\": \"Zu verwendendes Bild\",\n \"admin/editor.logo.width.title\": \"Breite\",\n \"admin/editor.logo.width.description\": \"Logo-Breite.\",\n \"admin/editor.logo.height.title\": \"Höhe\",\n \"admin/editor.logo.height.description\": \"Logo-Höhe.\",\n \"admin/editor.logo.title.title\": \"Alternativer Text\",\n \"admin/editor.logo.title.description\": \"Alternativer Text, der für das Logobild zur Verfügung gestellt wird\",\n \"admin/editor.logo.mobileWidth.title\": \"Breite Handy\",\n \"admin/editor.logo.mobileWidth.description\": \"Breite, die auf dem Handy verwendet werden soll. Wenn leer, wird der angegebene Wert für die Breite verwendet.\",\n \"admin/editor.logo.mobileHeight.title\": \"Höhe Handy\",\n \"admin/editor.logo.mobileHeight.description\": \"Höhe, die auf dem Handy verwendet werden soll. Wenn leer, wird der angegebene Wert für die Höhe verwendet.\",\n \"store/skuSelector.seeMore\": \"Siehe {quantity} mehr\",\n \"store/sku-selector.select.placeholder\": \"Wählen Sie eine Option\",\n \"store/sku-selector.variation.select-an-option\": \"Wählen Sie eine Option\",\n \"admin/editor.skuSelector.title\": \"SKU-Selektor\",\n \"admin/editor.skuSelector.description\": \"Komponente, die verschiedene gewährte Varianten eines Artikels anzeigt, aus denen der Benutzer wählen kann\",\n \"admin/editor.skuSelector.seeMoreLabel.title\": \"Siehe weitere Label\",\n \"admin/editor.skuSelector.seeMoreLabel.description\": \"\\\"Mehr sehen\\\" Schaltfllächen-Beschriftung. Der String muss einen {quantity} Platzhalter haben, um die entsprechenden verbleibenden Elemente anzuzeigen. Beispiel: \\\"Siehe {quantity} mehr\\\"\",\n \"admin/editor.product-description.title\": \"Produktbeschreibung\",\n \"admin/editor.product-description.title-prop.title\": \"Titel\",\n \"admin/editor.search-bar.title\": \"Suchleiste\",\n \"admin/editor.search-bar.placeholder.title\": \"Platzhalter\",\n \"store/back-to-top.label\": \"Zurück zum Anfang\",\n \"admin/editor.toTop.title\": \"Zurück zum Anfang Taste\",\n \"admin/editor.toTop.description\": \"Wenn Sie darauf klicken, gelangen Sie zum Anfang der Seite\",\n \"admin/editor.toTop.topPixel.title\": \"Anzahl der Pixel\",\n \"admin/editor.toTop.topPixel.description\": \"Wenn der definierte Pixelwert überschritten wird, wird die Schaltfläche nach oben angezeigt\"\n}\n\n```" } ]
code_store-components_a4a9b1d7
[ { "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 store-components/messages/pt.json from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"store/search.clear-input\": \"Limpar campo de pesquisa\",\n \"store/search.submit-search\": \"Buscar produtos\",\n \"store/search.placeholder\": \"Buscar\",\n \"store/search.searchFor\": \"Buscar por {term}\",\n \"store/search.search-term-too-short\": \"O termo de busca é muito curto\",\n \"admin/editor.productName.title\": \"Nome do produto\",\n \"admin/editor.productName.description\": \"Componente do nome do produto\",\n \"admin/editor.productName.showBrandName.title\": \"Mostrar a marca\",\n \"admin/editor.productName.showSku.title\": \"Mostrar o SKU\",\n \"admin/editor.productName.showProductReference.title\": \"Mostrar a referência do produto\",\n \"admin/editor.productName.displayMode.title\": \"Mostrar o link associado ao nome do produto ou texto simples\",\n \"admin/editor.productName.displayMode.plainText\": \"Texto simples\",\n \"admin/editor.productName.displayMode.linkToProductPage\": \"Link para a página do produto\",\n \"admin/editor.productPrice.title\": \"Preço do produto\",\n \"admin/editor.productPrice.description\": \"Componente do preço do produto\",\n \"admin/editor.productPrice.showListPrice\": \"Mostrar preço de lista\",\n \"admin/editor.productPrice.showSellingPriceRange\": \"Mostrar a faixa de preços de venda do produto\",\n \"admin/editor.productPrice.showListPriceRange\": \"Mostrar a faixa de preços de lista do produto\",\n \"admin/editor.productPrice.showLabels\": \"Mostrar etiquetas nos preços\",\n \"admin/editor.productPrice.showInstallments\": \"Mostrar opção de parcelamento\",\n \"admin/editor.productPrice.showSavings\": \"Mostrar a diferença entre o preço de lista e o de venda\",\n \"admin/editor.productPrice.labelSellingPrice\": \"Etiqueta do preço de venda\",\n \"admin/editor.productPrice.labelListPrice\": \"Etiqueta do preço de lista\",\n \"admin/editor.share.title\": \"Compartilhamento\",\n \"admin/editor.share.description\": \"Lista de botões de compartilhamento\",\n \"admin/editor.share.social.title\": \"Redes sociais\",\n \"store/product-description.title\": \"Descrição do produto\",\n \"store/product-description.property\": \"Propriedade\",\n \"store/product-description.specification\": \"Especificação\",\n \"store/product-description.collapse.showMore\": \"Ver mais\",\n \"store/product-description.collapse.showLess\": \"Ver menos\",\n \"store/pricing.installment-display\": \"Ou {installments} {times} de {installmentPrice}\",\n \"store/pricing.from\": \"De\",\n \"store/pricing.to\": \"Por\",\n \"store/pricing.savings\": \"Economize {savings}\",\n \"store/pricing.interest-free\": \"sem juros\",\n \"store/loading\": \"Carregando…\",\n \"store/shipping.deliveryName\": \"Entrega\",\n \"store/shipping.deliveryEstimate\": \"Prazo\",\n \"store/shipping.deliveryPrice\": \"Valor\",\n \"store/shipping.label\": \"Calcular o frete\",\n \"store/shipping.free\": \"Grátis\",\n \"store/shipping.empty-sla\": \"Não existem fretes disponíveis para o CEP informado\",\n \"store/buy-button.add-to-cart\": \"Adicionar ao carrinho\",\n \"store/buybutton.buy-success\": \"Item adicionado ao seu carrinho\",\n \"store/buybutton.buy-success-duplicate\": \"O item já está no seu carrinho\",\n \"store/buybutton.add-failure\": \"Algo deu errado e não foi possível adicionar o item ao seu carrinho!\",\n \"store/buybutton.buy-offline-success\": \"Item adicionado ao seu carrinho offline\",\n \"store/buybutton.select-sku-variations\": \"Selecione uma opção de cada variação\",\n \"store/buybutton.see-cart\": \"Ver carrinho\",\n \"store/technicalspecifications.title\": \"Especificações técnicas\",\n \"store/availability-subscriber.title\": \"Este produto não está disponível no momento\",\n \"store/availability-subscriber.subscribe-label\": \"Quero que me avisem quando estiver disponível\",\n \"store/availability-subscriber.email-placeholder\": \"Email\",\n \"store/availability-subscriber.name-placeholder\": \"Nome\",\n \"store/availability-subscriber.send-label\": \"Enviar\",\n \"store/availability-subscriber.invalid-email\": \"Email inválido\",\n \"store/availability-subscriber.added-message\": \"Email cadastrado com sucesso\",\n \"store/availability-subscriber.error-message\": \"Erro ao se cadastrar. Tente novamente.\",\n \"store/newsletter.label\": \"Inscreva-se na nossa newsletter\",\n \"store/newsletter.placeholder\": \"Insira seu email\",\n \"store/newsletter.submit\": \"Enviar\",\n \"store/newsletter.invalidEmail\": \"Por favor, insira um email válido.\",\n \"store/newsletter.confirmationTitle\": \"Agradecemos a sua inscrição!\",\n \"store/newsletter.confirmationText\": \"Seu email foi cadastrado com sucesso.\",\n \"store/newsletter.error\": \"Algo deu errado. Tente novamente mais tarde.\",\n \"admin/editor.newsletter.title\": \"Newsletter\",\n \"admin/editor.newsletter.description\": \"Formulário da newsletter\",\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.hideLabel\": \"Ocultar título\",\n \"admin/editor.categoriesHighlighted.title\": \"Categorias em destaque\",\n \"admin/editor.categoriesHighlighted.description\": \"Categorias em destaque do departamento\",\n \"admin/editor.categoriesHighlighted.item.categoryName\": \"Nome da categoria\",\n \"admin/editor.categoriesHighlighted.item.categoryImage\": \"Imagem da categoria\",\n \"admin/editor.categoriesHighlighted.category\": \"Categoria\",\n \"admin/editor.categoriesHighlighted.categoriesHighlighted\": \"Categorias em destaque\",\n \"admin/editor.categoriesHighlighted.showCategoriesHighlighted\": \"Mostrar categorias em destaque\",\n \"admin/editor.categoriesHighlighted.quantityOfItems\": \"Quantidade de itens\",\n \"admin/editor.categoriesHighlighted.cardShape\": \"Formato da caixa\",\n \"admin/editor.categoriesHighlighted.cardShape.squared\": \"Quadrado\",\n \"admin/editor.categoriesHighlighted.cardShape.rectangular\": \"Retangular\",\n \"store/searchBar.button.cancel.label\": \"Cancelar\",\n \"store/buyButton-label-unavailable\": \"Indisponível\",\n \"store/greeting\": \"Olá\",\n \"store/store-components.share.label\": \"Compartilhar\",\n \"store/share.title\": \"{product} {sku} na {store}: \",\n \"admin/editor.info-card.title\": \"InfoCard\",\n \"admin/editor.info-card.description\": \"Um componente com imagem e texto em que você pode escolher como apresentar seu conteúdo\",\n \"admin/editor.info-card.isFullModeStyle.title\": \"Imagem como fundo\",\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.textPosition.title\": \"Posição do texto\",\n \"admin/editor.info-card.textPosition.description\": \"Escolha em qual posição o texto deve ser apresentado (à esquerda, centralizado ou à direita)\",\n \"admin/editor.info-card.headline.title\": \"Título\",\n \"admin/editor.info-card.headline.description\": \"Texto apresentado com destaque\",\n \"admin/editor.info-card.subhead.title\": \"Subtítulo\",\n \"admin/editor.info-card.subhead.description\": \"Texto apresentado abaixo do título\",\n \"admin/editor.info-card.body-text.title\": \"Corpo do texto\",\n \"admin/editor.info-card.body-text.description\": \"Texto abaixo do subtítulo dentro do componente\",\n \"admin/editor.info-card.callToActionMode.title\": \"Modo do call to action\",\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.callToActionText.title\": \"Texto 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.callToActionUrl.title\": \"URL do call to action\",\n \"admin/editor.info-card.callToActionLinkTarget.title\": \"Tipo de redirecionamento do link de call to action\",\n \"admin/editor.info-card.callToActionLinkTarget.description\": \"Descrição da propriedade de callToActionLinkTarget\",\n \"admin/editor.info-card.callToActionLinkTarget.blank\": \"O link é aberto em uma nova aba\",\n \"admin/editor.info-card.callToActionLinkTarget.self\": \"O link é aberto na mesma aba\",\n \"admin/editor.info-card.callToActionUrl.description\": \"URL para redirecionamento quando o CTA é clicado\",\n \"admin/editor.info-card.imageUrl.title\": \"Imagem\",\n \"admin/editor.info-card.imageUrl.description\": \"Imagem a ser usada em computadores\",\n \"admin/editor.info-card.mobileImageUrl.title\": \"Imagem para dispositivos móveis\",\n \"admin/editor.info-card.mobileImageUrl.description\": \"Imagem a user usada em dispositivos móveis\",\n \"admin/editor.info-card.textAlignment.title\": \"Alinhamento de texto\",\n \"admin/editor.info-card.textAlignment.description\": \"Controla o alinhamento dos textos dentro do componente\",\n \"admin/editor.info-card.textPosition.left\": \"À esquerda\",\n \"admin/editor.info-card.textPosition.center\": \"Centralizado\",\n \"admin/editor.info-card.textPosition.right\": \"À direita\",\n \"admin/editor.info-card.textAlignment.left\": \"À esquerda\",\n \"admin/editor.info-card.textAlignment.center\": \"Centralizado\",\n \"admin/editor.info-card.textAlignment.right\": \"À direita\",\n \"admin/editor.info-card.textMode.title\": \"Modo de texto\",\n \"admin/editor.info-card.textMode.description\": \"O tipo de texto que o InfoCard irá receber. HTML é o padrão e Rich Text permite o uso de Markdown.\",\n \"admin/editor.info-card.textMode.html\": \"HTML\",\n \"admin/editor.info-card.textMode.rich-text\": \"Rich Text\",\n \"admin/editor.info-card.callAction.none\": \"Nenhum\",\n \"admin/editor.info-card.callAction.button\": \"Botão\",\n \"admin/editor.info-card.callAction.link\": \"Link\",\n \"admin/editor.info-card.imageActionUrl.title\": \"URL de ação da imagem\",\n \"admin/editor.info-card.imageActionUrl.description\": \"Passa a URL para tornar a imagem um link e poder redirecionar o usuário\",\n \"store/user-address.pickup\": \"Retirar em {name}\",\n \"store/user-address.order\": \"Enviar para\",\n \"store/user-address.change\": \"Alterar\",\n \"store/user-address.add\": \"Adicionar local\",\n \"admin/editor.notification-bar.title\": \"Barra de notificação\",\n \"admin/editor.notification-bar.description\": \"Um componente que mostra qualquer texto em estilo de barra\",\n \"admin/editor.notification-bar.content.title\": \"Conteúdo\",\n \"admin/editor.notification-bar.content.description\": \"Texto da barra\",\n \"admin/editor.blockClass.title\": \"Classe de bloco CSS\",\n \"admin/editor.blockClass.description\": \"Adiciona um nome de classe extra para facilitar a estilização\",\n \"admin/editor.image.title\": \"Imagem\",\n \"admin/editor.image.description\": \"Exibe qualquer imagem\",\n \"admin/editor.image.src.title\": \"Imagem\",\n \"admin/editor.image.title.title\": \"Título da imagem\",\n \"admin/editor.image.title.description\": \"Título a ser mostrado ao passar o mouse pela imagem\",\n \"admin/editor.image.alt.title\": \"Texto alternativo\",\n \"admin/editor.info-card.imageAltText.title\": \"Texto alternativo da imagem\",\n \"admin/editor.info-card.imageAltText.description\": \"Texto alternativo para a imagem\",\n \"admin/editor.product-images.title\": \"Imagems do produto\",\n \"admin/editor.product-images.description\": \"Componente que permite personalizar as propriedades das imagens do produto\",\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-images.bgopacity.title\": \"Opacidade do fundo\",\n \"admin/editor.product-images.thumbnailsOrientation.title\": \"Orientação das miniaturas\",\n \"admin/editor.product-images.gallery\": \"Em galeria\",\n \"admin/editor.product-images.in-page\": \"Na página\",\n \"admin/editor.product-images.no-zoom\": \"Sem zoom\",\n \"admin/editor.product-images.vertical\": \"Vertical\",\n \"admin/editor.product-images.horizontal\": \"Horizontal\",\n \"admin/editor.product-images.position.title\": \"Posição das miniaturas\",\n \"admin/editor.product-images.position.description\": \"Usada apenas quando a orientação é vertical\",\n \"admin/editor.product-images.left\": \"À esquerda\",\n \"admin/editor.product-images.right\": \"À direita\",\n \"admin/editor.product-images.displayThumbnailsArrows.title\": \"Mostrar setas nas miniaturas\",\n \"admin/editor.product-specifications.title\": \"Especificacões do produto\",\n \"admin/editor.product-specifications.hidden-specifications.title\": \"Especificações ocultas\",\n \"admin/editor.product-specifications.hidden-specifications.description\": \"Digite os nomes das especificações que você deseja ocultar\",\n \"admin/editor.product-specifications.visible-specifications.title\": \"Especificações visíveis\",\n \"admin/editor.product-specifications.visible-specifications.description\": \"Digite os nomes das especificações que você deseja mostrar. Forneça apenas uma das especificações ocultas ou visíveis\",\n \"admin/editor.product-specifications.items.title\": \"Especificação\",\n \"admin/editor.logo.title\": \"Logotipo\",\n \"admin/editor.logo.description\": \"Componente para mostrar o logotipo da sua loja\",\n \"admin/editor.logo.href.title\": \"Link para redirecionar\",\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.url.title\": \"Imagem\",\n \"admin/editor.logo.url.description\": \"Imagem a ser utilizada\",\n \"admin/editor.logo.width.title\": \"Largura\",\n \"admin/editor.logo.width.description\": \"Largura a ser utilizada para o logotipo\",\n \"admin/editor.logo.height.title\": \"Altura\",\n \"admin/editor.logo.height.description\": \"Altura a ser utilizada para o logotipo\",\n \"admin/editor.logo.title.title\": \"Texto alternativo\",\n \"admin/editor.logo.title.description\": \"Texto alternativo a ser fornecido à imagem do logotipo\",\n \"admin/editor.logo.mobileWidth.title\": \"Largura do dispositivo móvel\",\n \"admin/editor.logo.mobileWidth.description\": \"Largura a ser utilizada em dispositivos móveis. Se vazia, será utilizado o valor de largura fornecido.\",\n \"admin/editor.logo.mobileHeight.title\": \"Altura do dispositivo móvel\",\n \"admin/editor.logo.mobileHeight.description\": \"Altura a ser utilizada em dispositivos móveis. Se vazia, será utilizado o valor de altura fornecido.\",\n \"store/skuSelector.seeMore\": \"Ver mais {quantity}\",\n \"store/sku-selector.select.placeholder\": \"Escolha uma opção\",\n \"store/sku-selector.variation.select-an-option\": \"Selecione uma opção\",\n \"admin/editor.skuSelector.title\": \"Seletor de SKU\",\n \"admin/editor.skuSelector.description\": \"Componente que exibe diferentes variações de um produto para o usuário escolher\",\n \"admin/editor.skuSelector.seeMoreLabel.title\": \"Texto do botão \\\"Ver mais\\\"\",\n \"admin/editor.skuSelector.seeMoreLabel.description\": \"Texto do botão \\\"Ver mais\\\". A mensagem deve ter um espaço reservado {quantity} para mostrar os itens restantes disponíveis. Exemplo: \\\"Ver mais {quantity}\\\"\",\n \"admin/editor.product-description.title\": \"Descrição do produto\",\n \"admin/editor.product-description.title-prop.title\": \"Título\",\n \"admin/editor.search-bar.title\": \"Barra de busca\",\n \"admin/editor.search-bar.placeholder.title\": \"Texto da busca\",\n \"store/back-to-top.label\": \"Voltar para o topo\",\n \"admin/editor.toTop.title\": \"Botão \\\"Voltar ao topo\\\"\",\n \"admin/editor.toTop.description\": \"Quando clicado, leva ao topo da página\",\n \"admin/editor.toTop.topPixel.title\": \"Número de pixels\",\n \"admin/editor.toTop.topPixel.description\": \"Ao exceder o valor de pixel definido, o botão para retornar ao topo aparecerá\"\n}\n\n```" } ]
code_store-components_d242ce4c
[ { "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 store-components/messages/en.json from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"store/search.clear-input\": \"Clear search field\",\n \"store/search.submit-search\": \"Search Products\",\n \"store/search.placeholder\": \"Search\",\n \"store/search.searchFor\": \"Search for {term}\",\n \"store/search.search-term-too-short\": \"Search term is too short\",\n \"store/search.autocompleteInput.aria-label\": \"Search for products\",\n \"admin/editor.productName.title\": \"Product Name\",\n \"admin/editor.productName.description\": \"Product name component\",\n \"admin/editor.productName.showBrandName.title\": \"Show brand name\",\n \"admin/editor.productName.showSku.title\": \"Shows SKU\",\n \"admin/editor.productName.showProductReference.title\": \"Show product reference\",\n \"admin/editor.productName.displayMode.title\": \"Showing the link associated with the product name or plain text\",\n \"admin/editor.productName.displayMode.plainText\": \"Plain text\",\n \"admin/editor.productName.displayMode.linkToProductPage\": \"Link to product page\",\n \"admin/editor.productPrice.title\": \"Product price\",\n \"admin/editor.productPrice.description\": \"Product price component\",\n \"admin/editor.productPrice.showListPrice\": \"Show product list price\",\n \"admin/editor.productPrice.showSellingPriceRange\": \"Show product selling price range\",\n \"admin/editor.productPrice.showListPriceRange\": \"Show product list price range\",\n \"admin/editor.productPrice.showLabels\": \"Show product price labels\",\n \"admin/editor.productPrice.showInstallments\": \"Show product payment installments\",\n \"admin/editor.productPrice.showSavings\": \"Show product list and selling price difference\",\n \"admin/editor.productPrice.labelSellingPrice\": \"Selling price label\",\n \"admin/editor.productPrice.labelListPrice\": \"List price label\",\n \"admin/editor.share.title\": \"Share\",\n \"admin/editor.share.description\": \"List of share buttons\",\n \"admin/editor.share.social.title\": \"Social media\",\n \"store/product-description.title\": \"Product description\",\n \"store/product-description.property\": \"Property\",\n \"store/product-description.specification\": \"Specification\",\n \"store/product-description.collapse.showMore\": \"Show more\",\n \"store/product-description.collapse.showLess\": \"Show less\",\n \"store/pricing.installment-display\": \"Or {installments} {times} of {installmentPrice}\",\n \"store/pricing.from\": \"From\",\n \"store/pricing.to\": \"To\",\n \"store/pricing.savings\": \"Save {savings}\",\n \"store/pricing.interest-free\": \"interest-free\",\n \"store/loading\": \"Loading…\",\n \"store/shipping.deliveryName\": \"Delivery\",\n \"store/shipping.deliveryEstimate\": \"Estimate\",\n \"store/shipping.deliveryPrice\": \"Value\",\n \"store/shipping.label\": \"Calculate shipping\",\n \"store/shipping.free\": \"Free\",\n \"store/shipping.empty-sla\": \"There's no shipping information available for the indicated code\",\n \"store/buy-button.add-to-cart\": \"Add to Cart\",\n \"store/buybutton.buy-success\": \"Item added to your cart\",\n \"store/buybutton.buy-success-duplicate\": \"Item already in cart\",\n \"store/buybutton.add-failure\": \"Something went wrong and the item wasn't added to your cart!\",\n \"store/buybutton.buy-offline-success\": \"Item added to your offline cart\",\n \"store/buybutton.select-sku-variations\": \"Please select an option for each variation\",\n \"store/buybutton.see-cart\": \"View Cart\",\n \"store/technicalspecifications.title\": \"Technical Specifications\",\n \"store/availability-subscriber.title\": \"This product isn't available right now\",\n \"store/availability-subscriber.subscribe-label\": \"I want to know when this product becomes available\",\n \"store/availability-subscriber.email-placeholder\": \"Email\",\n \"store/availability-subscriber.name-placeholder\": \"Name\",\n \"store/availability-subscriber.send-label\": \"Send\",\n \"store/availability-subscriber.invalid-email\": \"Invalid email\",\n \"store/availability-subscriber.added-message\": \"Email registered successfully\",\n \"store/availability-subscriber.error-message\": \"Failed. Please try again.\",\n \"store/newsletter.label\": \"Subscribe to our newsletter\",\n \"store/newsletter.placeholder\": \"Enter your email address\",\n \"store/newsletter.submit\": \"Sign Up\",\n \"store/newsletter.invalidEmail\": \"Please enter a valid email.\",\n \"store/newsletter.confirmationTitle\": \"Thank you!\",\n \"store/newsletter.confirmationText\": \"Your email was successfully registered.\",\n \"store/newsletter.error\": \"Something went wrong. Please try again later.\",\n \"admin/editor.newsletter.title\": \"Newsletter\",\n \"admin/editor.newsletter.description\": \"Newsletter form\",\n \"admin/editor.newsletter.label\": \"Form label used by the component\",\n \"admin/editor.newsletter.placeholder\": \"Email input placeholder\",\n \"admin/editor.newsletter.submit\": \"Submit button label\",\n \"admin/editor.newsletter.hideLabel\": \"Hide label\",\n \"admin/editor.categoriesHighlighted.title\": \"Highlighted Categories\",\n \"admin/editor.categoriesHighlighted.description\": \"Department highlighted categories\",\n \"admin/editor.categoriesHighlighted.item.categoryName\": \"Category name\",\n \"admin/editor.categoriesHighlighted.item.categoryImage\": \"Category image\",\n \"admin/editor.categoriesHighlighted.category\": \"Category\",\n \"admin/editor.categoriesHighlighted.categoriesHighlighted\": \"Highlighted categories\",\n \"admin/editor.categoriesHighlighted.showCategoriesHighlighted\": \"Show highlighted categories\",\n \"admin/editor.categoriesHighlighted.quantityOfItems\": \"Item quantity\",\n \"admin/editor.categoriesHighlighted.cardShape\": \"Box shape\",\n \"admin/editor.categoriesHighlighted.cardShape.squared\": \"Square\",\n \"admin/editor.categoriesHighlighted.cardShape.rectangular\": \"Rectangular\",\n \"store/searchBar.button.cancel.label\": \"Cancel\",\n \"store/buyButton-label-unavailable\": \"Unavailable\",\n \"store/greeting\": \"Hello\",\n \"store/store-components.share.label\": \"Share\",\n \"store/share.title\": \"{product} {sku} at {store}: \",\n \"admin/editor.info-card.title\": \"InfoCard\",\n \"admin/editor.info-card.description\": \"A component with image and text which you can choose how to display\",\n \"admin/editor.info-card.isFullModeStyle.title\": \"Image as background\",\n \"admin/editor.info-card.isFullModeStyle.description\": \"If true, the provided image will be used as background image and text will be displayed over it\",\n \"admin/editor.info-card.textPosition.title\": \"Text position\",\n \"admin/editor.info-card.textPosition.description\": \"Choose the component position where the text will be displayed: left, center, or right\",\n \"admin/editor.info-card.headline.title\": \"Headline\",\n \"admin/editor.info-card.headline.description\": \"Headline text inside component\",\n \"admin/editor.info-card.subhead.title\": \"Subheader\",\n \"admin/editor.info-card.subhead.description\": \"Text below headline inside component\",\n \"admin/editor.info-card.body-text.title\": \"Body text\",\n \"admin/editor.info-card.body-text.description\": \"Text under subheader inside component\",\n \"admin/editor.info-card.callToActionMode.title\": \"Call to action mode\",\n \"admin/editor.info-card.callToActionMode.description\": \"Controls how your call to action is displayed\",\n \"admin/editor.info-card.callToActionText.title\": \"Call to action text\",\n \"admin/editor.info-card.callToActionText.description\": \"Text inside call-to-action component\",\n \"admin/editor.info-card.callToActionUrl.title\": \"Call to action URL\",\n \"admin/editor.info-card.callToActionLinkTarget.title\": \"Redirection type of call-to-action link\",\n \"admin/editor.info-card.callToActionLinkTarget.description\": \"Property description of callToActionLinkTarget \",\n \"admin/editor.info-card.callToActionLinkTarget.blank\": \"Link opens in a new tab\",\n \"admin/editor.info-card.callToActionLinkTarget.self\": \"Link opens in the same tab\",\n \"admin/editor.info-card.callToActionUrl.description\": \"Redirect URL when CTA is clicked\",\n \"admin/editor.info-card.imageUrl.title\": \"Image\",\n \"admin/editor.info-card.imageUrl.description\": \"Image for desktop\",\n \"admin/editor.info-card.mobileImageUrl.title\": \"Mobile image\",\n \"admin/editor.info-card.mobileImageUrl.description\": \"Image to be used on mobile\",\n \"admin/editor.info-card.textAlignment.title\": \"Text alignment\",\n \"admin/editor.info-card.textAlignment.description\": \"Controls the text alignment inside component\",\n \"admin/editor.info-card.textPosition.left\": \"Left\",\n \"admin/editor.info-card.textPosition.center\": \"Center\",\n \"admin/editor.info-card.textPosition.right\": \"Right\",\n \"admin/editor.info-card.textAlignment.left\": \"Left\",\n \"admin/editor.info-card.textAlignment.center\": \"Center\",\n \"admin/editor.info-card.textAlignment.right\": \"Right\",\n \"admin/editor.info-card.textMode.title\": \"Text mode\",\n \"admin/editor.info-card.textMode.description\": \"Text mode InfoCard will receive. HTML is the default, and rich text enables you to use markdown.\",\n \"admin/editor.info-card.textMode.html\": \"HTML\",\n \"admin/editor.info-card.textMode.rich-text\": \"Rich Text\",\n \"admin/editor.info-card.callAction.none\": \"None\",\n \"admin/editor.info-card.callAction.button\": \"Button\",\n \"admin/editor.info-card.callAction.link\": \"Link\",\n \"admin/editor.info-card.imageActionUrl.title\": \"Image action URL\",\n \"admin/editor.info-card.imageActionUrl.description\": \"Pass the URL to turn the image into a link and be able to redirect the user\",\n \"store/user-address.pickup\": \"Pick up at {name}\",\n \"store/user-address.order\": \"Send to\",\n \"store/user-address.change\": \"Edit\",\n \"store/user-address.add\": \"Add Location\",\n \"admin/editor.notification-bar.title\": \"Notification bar\",\n \"admin/editor.notification-bar.description\": \"Component that shows any text as a bar\",\n \"admin/editor.notification-bar.content.title\": \"Content\",\n \"admin/editor.notification-bar.content.description\": \"Text of the bar\",\n \"admin/editor.blockClass.title\": \"CSS block class\",\n \"admin/editor.blockClass.description\": \"Adds an extra class name to make styling easier\",\n \"admin/editor.image.title\": \"Image\",\n \"admin/editor.image.description\": \"Display any image\",\n \"admin/editor.image.src.title\": \"Image\",\n \"admin/editor.image.title.title\": \"Image title\",\n \"admin/editor.image.title.description\": \"Title shown on hover\",\n \"admin/editor.image.alt.title\": \"Alternative text\",\n \"admin/editor.info-card.imageAltText.title\": \"Image alternative text\",\n \"admin/editor.info-card.imageAltText.description\": \"Alternative text for the image\",\n \"admin/editor.product-images.title\": \"Product Images\",\n \"admin/editor.product-images.description\": \"Component that allows you to customize product images\",\n \"admin/editor.product-images.zoomOptions.title\": \"Zoom options\",\n \"admin/editor.product-images.zoomType.title\": \"Zoom type\",\n \"admin/editor.product-images.bgopacity.title\": \"Background opacity\",\n \"admin/editor.product-images.thumbnailsOrientation.title\": \"Thumbnail orientation\",\n \"admin/editor.product-images.gallery\": \"In gallery\",\n \"admin/editor.product-images.in-page\": \"In page\",\n \"admin/editor.product-images.no-zoom\": \"No zoom\",\n \"admin/editor.product-images.vertical\": \"Vertical\",\n \"admin/editor.product-images.horizontal\": \"Horizontal\",\n \"admin/editor.product-images.position.title\": \"Thumbnail position\",\n \"admin/editor.product-images.position.description\": \"Only used when orientation is vertical\",\n \"admin/editor.product-images.left\": \"Left\",\n \"admin/editor.product-images.right\": \"Right\",\n \"admin/editor.product-images.displayThumbnailsArrows.title\": \"Display arrows in thumbnails\",\n \"admin/editor.product-specifications.title\": \"Product specifications\",\n \"admin/editor.product-specifications.hidden-specifications.title\": \"Hidden specifications\",\n \"admin/editor.product-specifications.hidden-specifications.description\": \"Enter the names of specifications you want to hide\",\n \"admin/editor.product-specifications.visible-specifications.title\": \"Visible specifications\",\n \"admin/editor.product-specifications.visible-specifications.description\": \"Enter the names of specifications you want to show. Only provide one of the hidden or visible specifications\",\n \"admin/editor.product-specifications.items.title\": \"Specification\",\n \"admin/editor.logo.title\": \"Logo\",\n \"admin/editor.logo.description\": \"Component for showing your store logo\",\n \"admin/editor.logo.href.title\": \"Redirect link\",\n \"admin/editor.logo.href.description\": \"Redirect link when logo is clicked. Leave empty to make it not clickable.\",\n \"admin/editor.logo.url.title\": \"Image\",\n \"admin/editor.logo.url.description\": \"Image to be used\",\n \"admin/editor.logo.width.title\": \"Width\",\n \"admin/editor.logo.width.description\": \"Logo width.\",\n \"admin/editor.logo.height.title\": \"Height\",\n \"admin/editor.logo.height.description\": \"Logo height.\",\n \"admin/editor.logo.title.title\": \"Alternative text\",\n \"admin/editor.logo.title.description\": \"Alternative text provided for the logo image\",\n \"admin/editor.logo.mobileWidth.title\": \"Mobile width\",\n \"admin/editor.logo.mobileWidth.description\": \"Width to be used on mobile. If empty, the provided width value will be used.\",\n \"admin/editor.logo.mobileHeight.title\": \"Mobile height\",\n \"admin/editor.logo.mobileHeight.description\": \"Height to be used on mobile. If empty, the provided height value will be used.\",\n \"store/skuSelector.seeMore\": \"See {quantity} more\",\n \"store/sku-selector.select.placeholder\": \"Choose an option\",\n \"store/sku-selector.variation.select-an-option\": \"Select an option\",\n \"admin/editor.skuSelector.title\": \"SKU selector\",\n \"admin/editor.skuSelector.description\": \"Component that displays different given variations of an item for the user to choose\",\n \"admin/editor.skuSelector.seeMoreLabel.title\": \"See more label\",\n \"admin/editor.skuSelector.seeMoreLabel.description\": \"\\\"See more\\\" button label. The string must have a {quantity} placeholder to show the appropriate remaining items available. Example: \\\"See {quantity} more\\\"\",\n \"admin/editor.product-description.title\": \"Product description\",\n \"admin/editor.product-description.title-prop.title\": \"Title\",\n \"admin/editor.search-bar.title\": \"Search bar\",\n \"admin/editor.search-bar.placeholder.title\": \"Placeholder\",\n \"store/back-to-top.label\": \"Back to top\",\n \"admin/editor.toTop.title\": \"Back to top button\",\n \"admin/editor.toTop.description\": \"When clicked, it scrolls the page to the top\",\n \"admin/editor.toTop.topPixel.title\": \"Number of pixels\",\n \"admin/editor.toTop.topPixel.description\": \"When the defined pixel value is exceeded, the return-to-top button will appear\"\n}\n\n```" } ]
code_store-components_673158df
[ { "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 store-components/messages/it.json from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"store/search.placeholder\": \"Cerca\",\n \"store/search.searchFor\": \"Cerca per {term}\",\n \"store/search.search-term-too-short\": \"Il termine di ricerca è troppo corto\",\n \"admin/editor.productName.title\": \"Nome del prodotto\",\n \"admin/editor.productName.description\": \"Componente del nome del prodotto\",\n \"admin/editor.productName.showBrandName.title\": \"Mostra il nome del brand\",\n \"admin/editor.productName.showSku.title\": \"Mostra lo SKU\",\n \"admin/editor.productName.showProductReference.title\": \"Mostra il riferimento del prodotto\",\n \"admin/editor.productName.displayMode.title\": \"Mostra il link associato al nome del prodotto o il testo semplice\",\n \"admin/editor.productName.displayMode.plainText\": \"Testo semplice\",\n \"admin/editor.productName.displayMode.linkToProductPage\": \"Link alla pagina del prodotto\",\n \"admin/editor.productPrice.title\": \"Prezzo del prodotto\",\n \"admin/editor.productPrice.description\": \"Componente del prezzo del prodotto\",\n \"admin/editor.productPrice.showListPrice\": \"Mostra il prezzo di listino del prodotto\",\n \"admin/editor.productPrice.showSellingPriceRange\": \"Mostra l'intervallo di prezzi di vendita del prodotto\",\n \"admin/editor.productPrice.showListPriceRange\": \"Mostra l'intervallo di prezzi di listino del prodotto\",\n \"admin/editor.productPrice.showLabels\": \"Mostra le etichette dei prezzi del prodotto\",\n \"admin/editor.productPrice.showInstallments\": \"Mostra le opzioni di rateizzazione\",\n \"admin/editor.productPrice.showSavings\": \"Mostra la differenza tra il prezzo di listino e il prezzo di vendita\",\n \"admin/editor.productPrice.labelSellingPrice\": \"Etichetta del prezzo di vendita\",\n \"admin/editor.productPrice.labelListPrice\": \"Etichetta del prezzo di listino\",\n \"admin/editor.share.title\": \"Condivisione\",\n \"admin/editor.share.description\": \"Elenco dei pulsanti di condivisione\",\n \"admin/editor.share.social.title\": \"Social network\",\n \"store/product-description.title\": \"Descrizione del prodotto\",\n \"store/product-description.property\": \"Proprietà\",\n \"store/product-description.specification\": \"Specifica\",\n \"store/product-description.collapse.showMore\": \"Mostra di più\",\n \"store/product-description.collapse.showLess\": \"Mostra di meno\",\n \"store/pricing.installment-display\": \"O {installments} {times} di {installmentPrice}\",\n \"store/pricing.from\": \"Da\",\n \"store/pricing.to\": \"A\",\n \"store/pricing.savings\": \"Risparmia {savings}\",\n \"store/pricing.interest-free\": \"senza interessi\",\n \"store/loading\": \"Caricamento…\",\n \"store/shipping.deliveryName\": \"Consegna\",\n \"store/shipping.deliveryEstimate\": \"Previsione\",\n \"store/shipping.deliveryPrice\": \"Valore\",\n \"store/shipping.label\": \"Calcola spedizione\",\n \"store/shipping.free\": \"Gratis\",\n \"store/shipping.empty-sla\": \"Non ci sono informazioni di spedizione disponibili per il codice postale inserito\",\n \"store/buy-button.add-to-cart\": \"Aggiungi al carrello\",\n \"store/buybutton.buy-success\": \"Articolo aggiunto al tuo carrello\",\n \"store/buybutton.buy-success-duplicate\": \"Articolo già presente nel tuo carrello\",\n \"store/buybutton.add-failure\": \"Si è verificato un errore e l'articolo non è stato aggiunto al tuo carrello!\",\n \"store/buybutton.buy-offline-success\": \"Articolo aggiunto al tuo carrello offline\",\n \"store/buybutton.select-sku-variations\": \"Si prega di selezionare un'opzione di ogni variante\",\n \"store/buybutton.see-cart\": \"Visualizza carrello\",\n \"store/technicalspecifications.title\": \"Specifiche tecniche\",\n \"store/availability-subscriber.title\": \"Questo prodotto non è attualmente disponibile\",\n \"store/availability-subscriber.subscribe-label\": \"Voglio sapere quando questo prodotto tornerà disponibile\",\n \"store/availability-subscriber.email-placeholder\": \"Email\",\n \"store/availability-subscriber.name-placeholder\": \"Nome\",\n \"store/availability-subscriber.send-label\": \"Invia\",\n \"store/availability-subscriber.invalid-email\": \"Email non valida\",\n \"store/availability-subscriber.added-message\": \"Email registrata correttamente\",\n \"store/availability-subscriber.error-message\": \"Errore, si prega di riprovare\",\n \"store/newsletter.label\": \"Iscriviti alla nostra newsletter\",\n \"store/newsletter.placeholder\": \"Inserisci il tuo indirizzo email\",\n \"store/newsletter.submit\": \"Iscriviti\",\n \"store/newsletter.invalidEmail\": \"Si prega di inserire un indirizzo email valido\",\n \"store/newsletter.confirmationTitle\": \"Grazie!\",\n \"store/newsletter.confirmationText\": \"La tua email è stata registrata correttamente.\",\n \"store/newsletter.error\": \"Si è verificato un errore, si prega di riprovare più tardi.\",\n \"admin/editor.newsletter.title\": \"Newsletter\",\n \"admin/editor.newsletter.description\": \"Modulo della newsletter\",\n \"admin/editor.newsletter.label\": \"Titolo del modulo\",\n \"admin/editor.newsletter.placeholder\": \"Placeholder per l'inserimento dell'email\",\n \"admin/editor.newsletter.submit\": \"Testo del pulsante\",\n \"admin/editor.newsletter.hideLabel\": \"Nascondi etichetta\",\n \"admin/editor.categoriesHighlighted.title\": \"Categorie in evidenza\",\n \"admin/editor.categoriesHighlighted.description\": \"Categorie in evidenza del reparto\",\n \"admin/editor.categoriesHighlighted.item.categoryName\": \"Nome della categoria\",\n \"admin/editor.categoriesHighlighted.item.categoryImage\": \"Immagine della categoria\",\n \"admin/editor.categoriesHighlighted.category\": \"Categoria\",\n \"admin/editor.categoriesHighlighted.categoriesHighlighted\": \"Categorie in evidenza\",\n \"admin/editor.categoriesHighlighted.showCategoriesHighlighted\": \"Mostra categorie in evidenza\",\n \"admin/editor.categoriesHighlighted.quantityOfItems\": \"Quantità di articoli\",\n \"admin/editor.categoriesHighlighted.cardShape\": \"Forma del box\",\n \"admin/editor.categoriesHighlighted.cardShape.squared\": \"Quadrato\",\n \"admin/editor.categoriesHighlighted.cardShape.rectangular\": \"Rettangolare\",\n \"store/searchBar.button.cancel.label\": \"Annulla\",\n \"store/buyButton-label-unavailable\": \"Non disponibile\",\n \"store/greeting\": \"Ciao\",\n \"store/store-components.share.label\": \"Condividi\",\n \"store/share.title\": \"{product} {sku} in {store}: \",\n \"admin/editor.info-card.title\": \"InfoCard\",\n \"admin/editor.info-card.description\": \"Un componente con immagini e testo che ti permette di scegliere come presentare i tuoi contenuti\",\n \"admin/editor.info-card.isFullModeStyle.title\": \"Immagine come sfondo\",\n \"admin/editor.info-card.isFullModeStyle.description\": \"Nel caso in cui sia \\\"true\\\", l'immagine fornita verrà utilizzata come sfondo di tutto il componente e il testo verrà visualizzato su di essa\",\n \"admin/editor.info-card.textPosition.title\": \"Posizione del testo\",\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.headline.title\": \"Titolo\",\n \"admin/editor.info-card.headline.description\": \"Testo da visualizzare come titolo all'interno del componente\",\n \"admin/editor.info-card.subhead.title\": \"Sottotitolo\",\n \"admin/editor.info-card.subhead.description\": \"Testo da visualizzare sotto al titolo all'interno del componente\",\n \"admin/editor.info-card.body-text.title\": \"Corpo del testo\",\n \"admin/editor.info-card.body-text.description\": \"Testo al di sotto del sottotitolo all'interno del componente\",\n \"admin/editor.info-card.callToActionMode.title\": \"Modalità della Call to Action\",\n \"admin/editor.info-card.callToActionMode.description\": \"Controlla come viene visualizzato il tuo componente Call to Action\",\n \"admin/editor.info-card.callToActionText.title\": \"Testo della 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.callToActionUrl.title\": \"URL della Call to Action\",\n \"admin/editor.info-card.callToActionLinkTarget.title\": \"Tipo di reindirizzamento del link della Call to Action\",\n \"admin/editor.info-card.callToActionLinkTarget.description\": \"Descrizione della proprietà callToActionLinkTarget\",\n \"admin/editor.info-card.callToActionLinkTarget.blank\": \"Il link si apre in una nuova scheda\",\n \"admin/editor.info-card.callToActionLinkTarget.self\": \"Il link si apre nella stessa scheda\",\n \"admin/editor.info-card.callToActionUrl.description\": \"URL di reindirizzamento quando si clicca sulla Call to Action\",\n \"admin/editor.info-card.imageUrl.title\": \"Immagine\",\n \"admin/editor.info-card.imageUrl.description\": \"Immagine da utilizzare su desktop\",\n \"admin/editor.info-card.mobileImageUrl.title\": \"Immagine per dispositivi mobili\",\n \"admin/editor.info-card.mobileImageUrl.description\": \"Immagine da usare su dispositivi mobili\",\n \"admin/editor.info-card.textAlignment.title\": \"Allineamento del testo\",\n \"admin/editor.info-card.textAlignment.description\": \"Controlla l'allineamento del testo all'interno del componente\",\n \"admin/editor.info-card.textPosition.left\": \"Sinistra\",\n \"admin/editor.info-card.textPosition.center\": \"Centro\",\n \"admin/editor.info-card.textPosition.right\": \"Destra\",\n \"admin/editor.info-card.textAlignment.left\": \"Sinistra\",\n \"admin/editor.info-card.textAlignment.center\": \"Centro\",\n \"admin/editor.info-card.textAlignment.right\": \"Destra\",\n \"admin/editor.info-card.textMode.title\": \"Modalità del testo\",\n \"admin/editor.info-card.textMode.description\": \"Tipo di testo che l'InfoCard riceverà. HTML è il valore predefinito e Rich Text consente l'utilizzo di Markdown.\",\n \"admin/editor.info-card.textMode.html\": \"HTML\",\n \"admin/editor.info-card.textMode.rich-text\": \"Rich Text\",\n \"admin/editor.info-card.callAction.none\": \"Nessuno\",\n \"admin/editor.info-card.callAction.button\": \"Pulsante\",\n \"admin/editor.info-card.callAction.link\": \"Link\",\n \"admin/editor.info-card.imageActionUrl.title\": \"URL di azione dell'immagine\",\n \"admin/editor.info-card.imageActionUrl.description\": \"Indica l'URL per rendere l'immagine un link e poter reindirizzare l'utente\",\n \"store/user-address.pickup\": \"Ritira in {name}\",\n \"store/user-address.order\": \"Invia a\",\n \"store/user-address.change\": \"Cambia\",\n \"store/user-address.add\": \"Aggiungi località\",\n \"admin/editor.notification-bar.title\": \"Barra di notifica\",\n \"admin/editor.notification-bar.description\": \"Componente che mostra qualsiasi testo sotto forma di barra\",\n \"admin/editor.notification-bar.content.title\": \"Contenuto\",\n \"admin/editor.notification-bar.content.description\": \"Testo della barra\",\n \"admin/editor.blockClass.title\": \"Classe di blocco CSS\",\n \"admin/editor.blockClass.description\": \"Aggiunge un nome di classe extra per facilitare la stilizzazione\",\n \"admin/editor.image.title\": \"Immagine\",\n \"admin/editor.image.description\": \"Mostra qualsiasi immagine\",\n \"admin/editor.image.src.title\": \"Immagine\",\n \"admin/editor.image.title.title\": \"Titolo dell'immagine\",\n \"admin/editor.image.title.description\": \"Titolo da mostrare al passaggio del mouse\",\n \"admin/editor.image.alt.title\": \"Testo alternativo\",\n \"admin/editor.info-card.imageAltText.title\": \"Testo alternativo dell'immagine\",\n \"admin/editor.info-card.imageAltText.description\": \"Testo alternativo per l'immagine\",\n \"admin/editor.product-images.title\": \"Immagini del prodotto\",\n \"admin/editor.product-images.description\": \"Componente che consente di personalizzare le proprietà delle immagini del prodotto\",\n \"admin/editor.product-images.zoomOptions.title\": \"Opzioni di zoom\",\n \"admin/editor.product-images.zoomType.title\": \"Tipo di zoom\",\n \"admin/editor.product-images.bgopacity.title\": \"Opacità dello sfondo\",\n \"admin/editor.product-images.thumbnailsOrientation.title\": \"Orientamento delle miniature\",\n \"admin/editor.product-images.gallery\": \"Nella galleria\",\n \"admin/editor.product-images.in-page\": \"Nella pagina\",\n \"admin/editor.product-images.no-zoom\": \"Senza zoom\",\n \"admin/editor.product-images.vertical\": \"Verticale\",\n \"admin/editor.product-images.horizontal\": \"Orizzontale\",\n \"admin/editor.product-images.position.title\": \"Posizione delle miniature\",\n \"admin/editor.product-images.position.description\": \"Utilizzato solo quando l'orientamento è verticale\",\n \"admin/editor.product-images.left\": \"Sinistra\",\n \"admin/editor.product-images.right\": \"Destra\",\n \"admin/editor.product-images.displayThumbnailsArrows.title\": \"Mostra frecce nelle miniature\",\n \"admin/editor.product-specifications.title\": \"Specifiche di prodotto\",\n \"admin/editor.product-specifications.hidden-specifications.title\": \"Specifiche nascoste\",\n \"admin/editor.product-specifications.hidden-specifications.description\": \"Digita i nomi delle specifiche che desideri nascondere\",\n \"admin/editor.product-specifications.visible-specifications.title\": \"Specifiche visibili\",\n \"admin/editor.product-specifications.visible-specifications.description\": \"Digita i nomi delle specifiche che desideri vengano visualizzate. Indica solamente una tra le specifiche nascoste o tra quelle visibili\",\n \"admin/editor.product-specifications.items.title\": \"Specifica\",\n \"admin/editor.logo.title\": \"Logo\",\n \"admin/editor.logo.description\": \"Componente per mostrare il logo del tuo negozio\",\n \"admin/editor.logo.href.title\": \"Link di reindirizzamento\",\n \"admin/editor.logo.href.description\": \"Link di reindirizzamento quando si clicca sul logo. Lascialo vuoto per rendere il logo non cliccabile.\",\n \"admin/editor.logo.url.title\": \"Immagine\",\n \"admin/editor.logo.url.description\": \"Immagine da utilizzare\",\n \"admin/editor.logo.width.title\": \"Larghezza\",\n \"admin/editor.logo.width.description\": \"Larghezza da utilizzare per il logo.\",\n \"admin/editor.logo.height.title\": \"Altezza\",\n \"admin/editor.logo.height.description\": \"Altezza da utilizzare per il logo.\",\n \"admin/editor.logo.title.title\": \"Testo alternativo\",\n \"admin/editor.logo.title.description\": \"Testo alternativo per l'immagine del logo\",\n \"admin/editor.logo.mobileWidth.title\": \"Larghezza su dispositivi mobili\",\n \"admin/editor.logo.mobileWidth.description\": \"Larghezza da utilizzare su dispositivi mobili. Se il campo viene lasciato vuoto, verrà utilizzato il valore di larghezza indicato.\",\n \"admin/editor.logo.mobileHeight.title\": \"Altezza su dispositivi mobili\",\n \"admin/editor.logo.mobileHeight.description\": \"Altezza da utilizzare su dispositivi mobili. Se il campo viene lasciato vuoto, verrà utilizzato il valore di altezza indicato.\",\n \"store/skuSelector.seeMore\": \"Mostra altri {quantity}\",\n \"store/sku-selector.select.placeholder\": \"Scegli un'opzione\",\n \"store/sku-selector.variation.select-an-option\": \"Seleziona un'opzione\",\n \"admin/editor.skuSelector.title\": \"Selettore di SKU\",\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.title\": \"Etichetta del pulsante \\\"Mostra altri\\\"\",\n \"admin/editor.skuSelector.seeMoreLabel.description\": \"Etichetta del pulsante \\\"Mostra altri\\\". La stringa deve disporre di un placeholder {quantity} per mostrare i rimanenti articoli idonei che sono disponibili. Esempio: \\\"Mostra altri {quantity}\\\"\",\n \"admin/editor.product-description.title\": \"Descrizione del prodotto\",\n \"admin/editor.product-description.title-prop.title\": \"Titolo\",\n \"admin/editor.search-bar.title\": \"Barra di ricerca\",\n \"admin/editor.search-bar.placeholder.title\": \"Placeholder\",\n \"store/back-to-top.label\": \"Torna all'inizio\",\n \"admin/editor.toTop.title\": \"Pulsante \\\"Torna all'inizio\\\"\",\n \"admin/editor.toTop.description\": \"Se cliccato, riporta all'inizio della pagina\",\n \"admin/editor.toTop.topPixel.title\": \"Numero di pixel\",\n \"admin/editor.toTop.topPixel.description\": \"Quando si supera il valore di pixel definito, apparirà il pulsante \\\"Torna all'inizio\\\"\"\n}\n\n```" } ]
code_store-components_f75df216
[ { "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 store-components/messages/fr.json from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"store/search.placeholder\": \"Rechercher\",\n \"store/search.searchFor\": \"Rechercher {term}\",\n \"store/search.search-term-too-short\": \"Le terme de recherche est trop court\",\n \"admin/editor.productName.title\": \"Nom du produit\",\n \"admin/editor.productName.description\": \"Nom du produit composant\",\n \"admin/editor.productName.showBrandName.title\": \"Afficher le nom de marque\",\n \"admin/editor.productName.showSku.title\": \"Afficher le SKU\",\n \"admin/editor.productName.showProductReference.title\": \"Afficher la référence produit\",\n \"admin/editor.productName.displayMode.title\": \"Affichage du lien associé au nom du produit ou au texte brut\",\n \"admin/editor.productName.displayMode.plainText\": \"Texte brut\",\n \"admin/editor.productName.displayMode.linkToProductPage\": \"Lien vers la page produit\",\n \"admin/editor.productPrice.title\": \"Prix du produit\",\n \"admin/editor.productPrice.description\": \"Prix du produit composant\",\n \"admin/editor.productPrice.showListPrice\": \"Afficher le prix de liste du produit\",\n \"admin/editor.productPrice.showSellingPriceRange\": \"Afficher l’éventail des prix de vente du produit\",\n \"admin/editor.productPrice.showListPriceRange\": \"Afficher l’éventail de prix des produits\",\n \"admin/editor.productPrice.showLabels\": \"Afficher les étiquettes de prix des produits\",\n \"admin/editor.productPrice.showInstallments\": \"Afficher les échéances de paiement du produit\",\n \"admin/editor.productPrice.showSavings\": \"Afficher la liste de produits et la différence de prix de vente\",\n \"admin/editor.productPrice.labelSellingPrice\": \"Étiquette de prix de vente\",\n \"admin/editor.productPrice.labelListPrice\": \"Étiquette de prix de la liste\",\n \"admin/editor.share.title\": \"Partager\",\n \"admin/editor.share.description\": \"Liste des boutons de partage\",\n \"admin/editor.share.social.title\": \"Réseaux sociaux\",\n \"store/product-description.title\": \"Description du produit\",\n \"store/product-description.property\": \"Propriété\",\n \"store/product-description.specification\": \"Caractéristiques\",\n \"store/product-description.collapse.showMore\": \"Afficher davantage\",\n \"store/product-description.collapse.showLess\": \"Afficher moins\",\n \"store/pricing.installment-display\": \"Ou {installments} {times} de {installmentPrice}\",\n \"store/pricing.from\": \"De\",\n \"store/pricing.to\": \"À\",\n \"store/pricing.savings\": \"Sauvegarder {savings}\",\n \"store/pricing.interest-free\": \"sans frais\",\n \"store/loading\": \"Chargement…\",\n \"store/shipping.deliveryName\": \"Livraison\",\n \"store/shipping.deliveryEstimate\": \"Estimer\",\n \"store/shipping.deliveryPrice\": \"Valeur\",\n \"store/shipping.label\": \"Calculer les frais d'expédition\",\n \"store/shipping.free\": \"Gratuit\",\n \"store/shipping.empty-sla\": \"Il n’y a pas d’informations disponibles sur l’expédition pour le code postal fourni\",\n \"store/buy-button.add-to-cart\": \"Ajouter au panier\",\n \"store/buybutton.buy-success\": \"Article ajouté à votre panier\",\n \"store/buybutton.buy-success-duplicate\": \"Article déjà dans votre panier\",\n \"store/buybutton.add-failure\": \"Un problème est survenu et l’article n'a pas été ajouté à votre panier !\",\n \"store/buybutton.buy-offline-success\": \"Article ajouté à votre panier hors ligne\",\n \"store/buybutton.select-sku-variations\": \"Veuillez sélectionner une option de chaque variante\",\n \"store/buybutton.see-cart\": \"Voir le panier\",\n \"store/technicalspecifications.title\": \"Caractéristiques techniques\",\n \"store/availability-subscriber.title\": \"Ce produit n’est pas disponible pour le moment\",\n \"store/availability-subscriber.subscribe-label\": \"Je souhaite savoir quand ce produit sera disponible\",\n \"store/availability-subscriber.email-placeholder\": \"Email\",\n \"store/availability-subscriber.name-placeholder\": \"Nom\",\n \"store/availability-subscriber.send-label\": \"Envoyer\",\n \"store/availability-subscriber.invalid-email\": \"Email invalide\",\n \"store/availability-subscriber.added-message\": \"E-mail enregistré avec succès\",\n \"store/availability-subscriber.error-message\": \"Erreur, veuillez réessayer\",\n \"store/newsletter.label\": \"S’abonner à la newsletter\",\n \"store/newsletter.placeholder\": \"Entrez votre adresse e-mail\",\n \"store/newsletter.submit\": \"S’enregistrer\",\n \"store/newsletter.invalidEmail\": \"Veuillez entrer une adresse électronique valide.\",\n \"store/newsletter.confirmationTitle\": \"Merci !\",\n \"store/newsletter.confirmationText\": \"Votre email a été enregistré avec succès.\",\n \"store/newsletter.error\": \"Une erreur est survenue, veuillez réessayer ultérieurement\",\n \"admin/editor.newsletter.title\": \"Newsletter\",\n \"admin/editor.newsletter.description\": \"Formulaire de newsletter\",\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.hideLabel\": \"Masquer l’étiquette\",\n \"admin/editor.categoriesHighlighted.title\": \"Catégories mises en avant\",\n \"admin/editor.categoriesHighlighted.description\": \"Catégories du service mises en évidence\",\n \"admin/editor.categoriesHighlighted.item.categoryName\": \"Nom de la catégorie\",\n \"admin/editor.categoriesHighlighted.item.categoryImage\": \"Image de la catégorie\",\n \"admin/editor.categoriesHighlighted.category\": \"Catégorie\",\n \"admin/editor.categoriesHighlighted.categoriesHighlighted\": \"Catégories mises en avant\",\n \"admin/editor.categoriesHighlighted.showCategoriesHighlighted\": \"Afficher les catégories mises en avant\",\n \"admin/editor.categoriesHighlighted.quantityOfItems\": \"Quantité d’articles\",\n \"admin/editor.categoriesHighlighted.cardShape\": \"Forme de boîte\",\n \"admin/editor.categoriesHighlighted.cardShape.squared\": \"Carrée\",\n \"admin/editor.categoriesHighlighted.cardShape.rectangular\": \"Rectangulaire\",\n \"store/searchBar.button.cancel.label\": \"Annuler\",\n \"store/buyButton-label-unavailable\": \"Indisponible\",\n \"store/greeting\": \"Bonjour\",\n \"store/store-components.share.label\": \"Partager\",\n \"store/share.title\": \"{product} {sku} à {store}: \",\n \"admin/editor.info-card.title\": \"InfoCard\",\n \"admin/editor.info-card.description\": \"Un composant avec image et texte avec choix d’affichage\",\n \"admin/editor.info-card.isFullModeStyle.title\": \"Image en arrière-plan\",\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.textPosition.title\": \"Position du texte\",\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.headline.title\": \"Titre principal\",\n \"admin/editor.info-card.headline.description\": \"Texte à afficher sous forme de titre principal à l’intérieur du composant\",\n \"admin/editor.info-card.subhead.title\": \"Sous-titre\",\n \"admin/editor.info-card.subhead.description\": \"Texte à afficher sous le titre principal à l’intérieur du composant\",\n \"admin/editor.info-card.body-text.title\": \"Corps de texte\",\n \"admin/editor.info-card.body-text.description\": \"Texte sous le sous-titre à l’intérieur du composant\",\n \"admin/editor.info-card.callToActionMode.title\": \"Mode d’appel à l’action\",\n \"admin/editor.info-card.callToActionMode.description\": \"Contrôle l’affichage de votre appel à l’action\",\n \"admin/editor.info-card.callToActionText.title\": \"Texte 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.callToActionUrl.title\": \"URL d’appel à l’action\",\n \"admin/editor.info-card.callToActionLinkTarget.title\": \"Type de redirection du Call to Action Link (lien d’appel à l’action)\",\n \"admin/editor.info-card.callToActionLinkTarget.description\": \"Description du bien callToActionLinkTarget\",\n \"admin/editor.info-card.callToActionLinkTarget.blank\": \"Le lien s’ouvre dans un nouvel onglet\",\n \"admin/editor.info-card.callToActionLinkTarget.self\": \"Le lien s’ouvre dans le même onglet\",\n \"admin/editor.info-card.callToActionUrl.description\": \"URL de redirection lorsque l’on clique sur CTA (appel à l'action)\",\n \"admin/editor.info-card.imageUrl.title\": \"Image\",\n \"admin/editor.info-card.imageUrl.description\": \"Image à utiliser sur le bureau\",\n \"admin/editor.info-card.mobileImageUrl.title\": \"Image sur mobile\",\n \"admin/editor.info-card.mobileImageUrl.description\": \"Image à utiliser sur le mobile\",\n \"admin/editor.info-card.textAlignment.title\": \"Alignement du texte\",\n \"admin/editor.info-card.textAlignment.description\": \"Contrôler l’alignement du texte à l’intérieur du composant\",\n \"admin/editor.info-card.textPosition.left\": \"Gauche\",\n \"admin/editor.info-card.textPosition.center\": \"Centre\",\n \"admin/editor.info-card.textPosition.right\": \"Droite\",\n \"admin/editor.info-card.textAlignment.left\": \"Gauche\",\n \"admin/editor.info-card.textAlignment.center\": \"Centre\",\n \"admin/editor.info-card.textAlignment.right\": \"Droite\",\n \"admin/editor.info-card.textMode.title\": \"Mode Texte\",\n \"admin/editor.info-card.textMode.description\": \"Quel mode texte devrait recevoir la carte InfoCard. HTML est le mode par défaut et Texte Enrichi vous permet d’utiliser Markdown.\",\n \"admin/editor.info-card.textMode.html\": \"HTML\",\n \"admin/editor.info-card.textMode.rich-text\": \"Texte enrichi\",\n \"admin/editor.info-card.callAction.none\": \"Aucun\",\n \"admin/editor.info-card.callAction.button\": \"Bouton\",\n \"admin/editor.info-card.callAction.link\": \"Lien\",\n \"admin/editor.info-card.imageActionUrl.title\": \"URL de l’action de l’image\",\n \"admin/editor.info-card.imageActionUrl.description\": \"Passez l’URL pour faire de l’image un lien pour rediriger l’utilisateur\",\n \"store/user-address.pickup\": \"Point relais à {name}\",\n \"store/user-address.order\": \"Commandé à\",\n \"store/user-address.change\": \"Changer\",\n \"store/user-address.add\": \"Ajouter localisation\",\n \"admin/editor.notification-bar.title\": \"Barre de notification\",\n \"admin/editor.notification-bar.description\": \"Un composant qui affiche du texte dans un style de barre\",\n \"admin/editor.notification-bar.content.title\": \"Contenu\",\n \"admin/editor.notification-bar.content.description\": \"Texte de la barre\",\n \"admin/editor.blockClass.title\": \"Classe de bloc CSS\",\n \"admin/editor.blockClass.description\": \"Ajoute une classe supplémentaire pour simplifier le style\",\n \"admin/editor.image.title\": \"Photo\",\n \"admin/editor.image.description\": \"Afficher une image\",\n \"admin/editor.image.src.title\": \"Image\",\n \"admin/editor.image.title.title\": \"Titre de l’image\",\n \"admin/editor.image.title.description\": \"Titre à afficher par pointage\",\n \"admin/editor.image.alt.title\": \"Texte alternatif\",\n \"admin/editor.product-images.title\": \"Images de produit\",\n \"admin/editor.info-card.imageAltText.title\": \"Texte alternatif de l'image\",\n \"admin/editor.info-card.imageAltText.description\": \"Texte alternatif pour l'image\",\n \"admin/editor.product-images.description\": \"Le composant « images de produits » vous permet de personnaliser les images de produits\",\n \"admin/editor.product-images.zoomOptions.title\": \"Options du zoom\",\n \"admin/editor.product-images.zoomType.title\": \"Type de zoom\",\n \"admin/editor.product-images.bgopacity.title\": \"Opacité de l’arrière-plan\",\n \"admin/editor.product-images.thumbnailsOrientation.title\": \"Orientation de la miniature\",\n \"admin/editor.product-images.gallery\": \"Dans la galerie\",\n \"admin/editor.product-images.in-page\": \"Dans la page\",\n \"admin/editor.product-images.no-zoom\": \"Pas de zoom\",\n \"admin/editor.product-images.vertical\": \"Verticale\",\n \"admin/editor.product-images.horizontal\": \"Horizontale\",\n \"admin/editor.product-images.position.title\": \"Position de la miniature\",\n \"admin/editor.product-images.position.description\": \"Utilisé uniquement lorsque l’orientation est verticale\",\n \"admin/editor.product-images.left\": \"Gauche\",\n \"admin/editor.product-images.right\": \"Droite\",\n \"admin/editor.product-images.displayThumbnailsArrows.title\": \"Afficher les flèches dans les miniatures\",\n \"admin/editor.product-specifications.title\": \"Caractéristiques du produit\",\n \"admin/editor.product-specifications.hidden-specifications.title\": \"Caractéristiques masquées\",\n \"admin/editor.product-specifications.hidden-specifications.description\": \"Tapez les noms des caractéristiques que vous souhaitez masquer\",\n \"admin/editor.product-specifications.visible-specifications.title\": \"Caractéristiques visibles\",\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.items.title\": \"Caractéristiques\",\n \"admin/editor.logo.title\": \"Logo\",\n \"admin/editor.logo.description\": \"Composant permettant d’afficher le logo de votre magasin\",\n \"admin/editor.logo.href.title\": \"Lien de redirection\",\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.url.title\": \"Image\",\n \"admin/editor.logo.url.description\": \"Image à utiliser\",\n \"admin/editor.logo.width.title\": \"Largeur\",\n \"admin/editor.logo.width.description\": \"Largeur à utiliser pour le logo.\",\n \"admin/editor.logo.height.title\": \"Hauteur\",\n \"admin/editor.logo.height.description\": \"Hauteur à utiliser pour le logo.\",\n \"admin/editor.logo.title.title\": \"Texte alternatif\",\n \"admin/editor.logo.title.description\": \"Texte alternatif à fournir pour l’image du logo\",\n \"admin/editor.logo.mobileWidth.title\": \"Largeur 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.mobileHeight.title\": \"Hauteur pour mobile\",\n \"admin/editor.logo.mobileHeight.description\": \"Hauteur à utiliser sur le mobile. Si c’est vide, utiliser la valeur de hauteur fournie.\",\n \"store/skuSelector.seeMore\": \"Afficher {quantity} plus\",\n \"store/sku-selector.select.placeholder\": \"Choisir une option\",\n \"store/sku-selector.variation.select-an-option\": \"Sélectionner une option\",\n \"admin/editor.skuSelector.title\": \"Choix de SKU\",\n \"admin/editor.skuSelector.description\": \"Composant affichant les variantes d’un article pour que l’utilisateur puisse choisir\",\n \"admin/editor.skuSelector.seeMoreLabel.title\": \"Balise « afficher plus »\",\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.product-description.title\": \"Description du produit\",\n \"admin/editor.product-description.title-prop.title\": \"Titre\",\n \"admin/editor.search-bar.title\": \"Barre de recherche\",\n \"admin/editor.search-bar.placeholder.title\": \"Espace réservé\",\n \"store/back-to-top.label\": \"Haut de page\",\n \"admin/editor.toTop.title\": \"Bouton de retour en haut de page\",\n \"admin/editor.toTop.description\": \"Lorsque vous cliquez dessus, la page s’affiche en haut de la page\",\n \"admin/editor.toTop.topPixel.title\": \"Nombre de pixels\",\n \"admin/editor.toTop.topPixel.description\": \"Si la valeur définie du pixel est dépassée, le bouton pour retourner en haut de page apparaîtra\"\n}\n\n```" } ]
code_store-components_c57993c0
[ { "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 store-components/messages/bg.json from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"store/search.placeholder\": \"Търсене\",\n \"store/search.searchFor\": \"Търсене за {term}\",\n \"store/search.search-term-too-short\": \"Терминът за търсене е твърде кратък\",\n \"admin/editor.productName.title\": \"Име на продукта\",\n \"admin/editor.productName.description\": \"Компонент с име на продукта\",\n \"admin/editor.productName.showBrandName.title\": \"Показва името на бранда\",\n \"admin/editor.productName.showSku.title\": \"Показва ИЕ\",\n \"admin/editor.productName.showProductReference.title\": \"Показва референтния номер на продукта\",\n \"admin/editor.productName.displayMode.title\": \"Показва връзката, свързана с името на продукта, или обикновен текст\",\n \"admin/editor.productName.displayMode.plainText\": \"Обикновен текст\",\n \"admin/editor.productName.displayMode.linkToProductPage\": \"Връзка към страницата на продукта\",\n \"admin/editor.productPrice.title\": \"Цена на продукта\",\n \"admin/editor.productPrice.description\": \"Компонент с цена на продукта\",\n \"admin/editor.productPrice.showListPrice\": \"Показване на каталожната цена на продукта\",\n \"admin/editor.productPrice.showSellingPriceRange\": \"Показване на диапазона на продажните цени на продуктите\",\n \"admin/editor.productPrice.showListPriceRange\": \"Показване на диапазона на каталожните цени на продуктите\",\n \"admin/editor.productPrice.showLabels\": \"Показване на етикетите с цените за продукта\",\n \"admin/editor.productPrice.showInstallments\": \"Показване на вноските за плащане на продукта\",\n \"admin/editor.productPrice.showSavings\": \"Показване на разликата между каталожните цени и продажните цени на продуктите\",\n \"admin/editor.productPrice.labelSellingPrice\": \"Етикет с продажна цена\",\n \"admin/editor.productPrice.labelListPrice\": \"Етикет за каталожна цена\",\n \"admin/editor.share.title\": \"Споделяне\",\n \"admin/editor.share.description\": \"Списък с бутони за споделяне\",\n \"admin/editor.share.social.title\": \"Социални мрежи\",\n \"store/product-description.title\": \"Описание на продукта\",\n \"store/product-description.property\": \"Свойство\",\n \"store/product-description.specification\": \"Спецификация\",\n \"store/product-description.collapse.showMore\": \"Показване на повече\",\n \"store/product-description.collapse.showLess\": \"Показване на по-малко\",\n \"store/pricing.installment-display\": \"Или {installments} {times} от {installmentPrice}\",\n \"store/pricing.from\": \"От\",\n \"store/pricing.to\": \"До\",\n \"store/pricing.savings\": \"Спестете {savings}\",\n \"store/pricing.interest-free\": \"без лихва\",\n \"store/loading\": \"Зарежда се…\",\n \"store/shipping.deliveryName\": \"Доставка\",\n \"store/shipping.deliveryEstimate\": \"Оценка\",\n \"store/shipping.deliveryPrice\": \"Стойност\",\n \"store/shipping.label\": \"Изчисляване на доставката\",\n \"store/shipping.free\": \"Безплатно\",\n \"store/shipping.empty-sla\": \"За указания пощенски код няма информация за доставка\",\n \"store/buy-button.add-to-cart\": \"Добавяне в количката\",\n \"store/buybutton.buy-success\": \"Артикулът е добавен в количката ви\",\n \"store/buybutton.buy-success-duplicate\": \"Артикулът вече е в количката ви\",\n \"store/buybutton.add-failure\": \"Нещо се обърка и артикулът не беше добавен в количката ви!\",\n \"store/buybutton.buy-offline-success\": \"Артикулът е добавен в офлайн количката ви\",\n \"store/buybutton.select-sku-variations\": \"Моля, изберете опция за всеки вариант\",\n \"store/buybutton.see-cart\": \"Преглед на количката\",\n \"store/technicalspecifications.title\": \"Технически спецификации\",\n \"store/availability-subscriber.title\": \"В момента този продукт не е достъпен\",\n \"store/availability-subscriber.subscribe-label\": \"Уведомете ме, когато този продукт стане достъпен\",\n \"store/availability-subscriber.email-placeholder\": \"Имейл адрес\",\n \"store/availability-subscriber.name-placeholder\": \"Име\",\n \"store/availability-subscriber.send-label\": \"Изпращане\",\n \"store/availability-subscriber.invalid-email\": \"Невалиден имейл адрес\",\n \"store/availability-subscriber.added-message\": \"Имейл адресът е регистриран успешно\",\n \"store/availability-subscriber.error-message\": \"Неуспешен опит, моля, опитайте отново\",\n \"store/newsletter.label\": \"Абонирайте се за нашия бюлетин\",\n \"store/newsletter.placeholder\": \"Въведете имейл адреса си\",\n \"store/newsletter.submit\": \"Регистриране\",\n \"store/newsletter.invalidEmail\": \"Моля, въведете валиден имейл адрес.\",\n \"store/newsletter.confirmationTitle\": \"Благодарим ви!\",\n \"store/newsletter.confirmationText\": \"Имейл адресът ви беше регистриран успешно.\",\n \"store/newsletter.error\": \"Нещо се обърка, моля, опитайте отново по-късно\",\n \"admin/editor.newsletter.title\": \"Бюлетин\",\n \"admin/editor.newsletter.description\": \"Бюлетин от\",\n \"admin/editor.newsletter.label\": \"Етикет на формата, използвана от компонента\",\n \"admin/editor.newsletter.placeholder\": \"Параметър за попълване за въвеждане на имейл\",\n \"admin/editor.newsletter.submit\": \"Етикет на бутона за подаване\",\n \"admin/editor.newsletter.hideLabel\": \"Скриване на етикет\",\n \"admin/editor.categoriesHighlighted.title\": \"Маркирани категории\",\n \"admin/editor.categoriesHighlighted.description\": \"Маркирани категории на отдела\",\n \"admin/editor.categoriesHighlighted.item.categoryName\": \"Име на категорията\",\n \"admin/editor.categoriesHighlighted.item.categoryImage\": \"Изображение от категорията\",\n \"admin/editor.categoriesHighlighted.category\": \"Категория\",\n \"admin/editor.categoriesHighlighted.categoriesHighlighted\": \"Маркирани категории\",\n \"admin/editor.categoriesHighlighted.showCategoriesHighlighted\": \"Показване на категориите маркирани\",\n \"admin/editor.categoriesHighlighted.quantityOfItems\": \"Количество артикули\",\n \"admin/editor.categoriesHighlighted.cardShape\": \"Форма на кутията\",\n \"admin/editor.categoriesHighlighted.cardShape.squared\": \"Квадратна\",\n \"admin/editor.categoriesHighlighted.cardShape.rectangular\": \"Правоъгълна\",\n \"store/searchBar.button.cancel.label\": \"Отказ\",\n \"store/buyButton-label-unavailable\": \"Не е налично\",\n \"store/greeting\": \"Здравейте\",\n \"store/store-components.share.label\": \"Споделяне\",\n \"store/share.title\": \"{product} {sku} в {store}: \",\n \"admin/editor.info-card.title\": \"InfoCard\",\n \"admin/editor.info-card.description\": \"Компонент с изображение и текст, които можете да изберете как да се показват\",\n \"admin/editor.info-card.isFullModeStyle.title\": \"Изображение като фон\",\n \"admin/editor.info-card.isFullModeStyle.description\": \"Ако е вярно, предоставеното изображение ще се използва като фоново изображение и върху него ще се показва текстът\",\n \"admin/editor.info-card.textPosition.title\": \"Позиция на текста\",\n \"admin/editor.info-card.textPosition.description\": \"Изберете в коя позиция на компонента ще се показва текстът – ляво, центрирано или дясно\",\n \"admin/editor.info-card.headline.title\": \"Заглавие\",\n \"admin/editor.info-card.headline.description\": \"Текст, който се показва като заглавие в компонента\",\n \"admin/editor.info-card.subhead.title\": \"Подзаглавие\",\n \"admin/editor.info-card.subhead.description\": \"Текст, който да се показва под заглавието в компонента\",\n \"admin/editor.info-card.body-text.title\": \"Текст на тялото\",\n \"admin/editor.info-card.body-text.description\": \"Текст под подзаглавието вътре в компонента\",\n \"admin/editor.info-card.callToActionMode.title\": \"Режим на призив към действие\",\n \"admin/editor.info-card.callToActionMode.description\": \"Контролира как се показва призивът ви към действие\",\n \"admin/editor.info-card.callToActionText.title\": \"Текст на призива към действие\",\n \"admin/editor.info-card.callToActionText.description\": \"Текст за показване на вътрешен компонент на призив към действие\",\n \"admin/editor.info-card.callToActionUrl.title\": \"URL адрес на призив към действие\",\n \"admin/editor.info-card.callToActionLinkTarget.title\": \"Тип пренасочване на връзката на призива към действие\",\n \"admin/editor.info-card.callToActionLinkTarget.description\": \"Описание на свойството callToActionLinkTarget\",\n \"admin/editor.info-card.callToActionLinkTarget.blank\": \"Връзката се отваря в нов раздел\",\n \"admin/editor.info-card.callToActionLinkTarget.self\": \"Връзката се отваря в същия раздел\",\n \"admin/editor.info-card.callToActionUrl.description\": \"URL адрес, към който да бъдете изпратени при кликване върху CTA\",\n \"admin/editor.info-card.imageUrl.title\": \"Изображение\",\n \"admin/editor.info-card.imageUrl.description\": \"Изображение, което да се използва на настолен компютър\",\n \"admin/editor.info-card.mobileImageUrl.title\": \"Изображение за мобилно устройство\",\n \"admin/editor.info-card.mobileImageUrl.description\": \"Изображение, което да се използва на мобилно устройство\",\n \"admin/editor.info-card.textAlignment.title\": \"Подравняване на текста\",\n \"admin/editor.info-card.textAlignment.description\": \"Контролира подравняването на текста в компонента\",\n \"admin/editor.info-card.textPosition.left\": \"Ляво\",\n \"admin/editor.info-card.textPosition.center\": \"Центрирано\",\n \"admin/editor.info-card.textPosition.right\": \"Дясно\",\n \"admin/editor.info-card.textAlignment.left\": \"Ляво\",\n \"admin/editor.info-card.textAlignment.center\": \"Центрирано\",\n \"admin/editor.info-card.textAlignment.right\": \"Дясно\",\n \"admin/editor.info-card.textMode.title\": \"Текстов режим\",\n \"admin/editor.info-card.textMode.description\": \"Какъв текстов режим трябва да очаква да получи InfoCard. HTML е режимът по подразбиране, а RTF текст ви дава възможност да използвате маркдаун.\",\n \"admin/editor.info-card.textMode.html\": \"HTML\",\n \"admin/editor.info-card.textMode.rich-text\": \"RTF текст\",\n \"admin/editor.info-card.callAction.none\": \"Няма\",\n \"admin/editor.info-card.callAction.button\": \"Бутон\",\n \"admin/editor.info-card.callAction.link\": \"Връзка\",\n \"admin/editor.info-card.imageActionUrl.title\": \"URL адрес за действие през изображението\",\n \"admin/editor.info-card.imageActionUrl.description\": \"Задайте URL адрес, за да превърнете изображението във връзка и да можете да пренасочвате потребителя\",\n \"store/user-address.pickup\": \"Получаване в {name}\",\n \"store/user-address.order\": \"Поръчка за\",\n \"store/user-address.change\": \"Промяна\",\n \"store/user-address.add\": \"Добавяне на местоположение\",\n \"admin/editor.notification-bar.title\": \"Лента за известия\",\n \"admin/editor.notification-bar.description\": \"Компонент, който показва текст в лентов стил\",\n \"admin/editor.notification-bar.content.title\": \"Съдържание\",\n \"admin/editor.notification-bar.content.description\": \"Текст на лентата\",\n \"admin/editor.blockClass.title\": \"Клас на CSS блокиране\",\n \"admin/editor.blockClass.description\": \"Добавя допълнително име на клас, за да улесни стилизирането\",\n \"admin/editor.image.title\": \"Изображение\",\n \"admin/editor.image.description\": \"Показване на което и да било изображение\",\n \"admin/editor.image.src.title\": \"Изображение\",\n \"admin/editor.image.title.title\": \"Заглавие на изображението\",\n \"admin/editor.image.title.description\": \"Заглавието, което се показва при задържане на мишката\",\n \"admin/editor.image.alt.title\": \"Алтернативен текст\",\n \"admin/editor.info-card.imageAltText.title\": \"Изображение алтернативен текст\",\n \"admin/editor.info-card.imageAltText.description\": \"Алтернативен текст за изображението\",\n \"admin/editor.product-images.title\": \"Изображения на продукта\",\n \"admin/editor.product-images.description\": \"Компонентът с изображения на продукта ви позволява да персонализирате изображенията на продукта\",\n \"admin/editor.product-images.zoomOptions.title\": \"Опции за увеличение\",\n \"admin/editor.product-images.zoomType.title\": \"Тип увеличение\",\n \"admin/editor.product-images.bgopacity.title\": \"Прозрачност на фона\",\n \"admin/editor.product-images.thumbnailsOrientation.title\": \"Ориентация на миниатюрите\",\n \"admin/editor.product-images.gallery\": \"В галерия\",\n \"admin/editor.product-images.in-page\": \"На страницата\",\n \"admin/editor.product-images.no-zoom\": \"Без увеличение\",\n \"admin/editor.product-images.vertical\": \"Вертикално\",\n \"admin/editor.product-images.horizontal\": \"Хоризонтално\",\n \"admin/editor.product-images.position.title\": \"Позиция на миниатюрата\",\n \"admin/editor.product-images.position.description\": \"Използва се само когато ориентацията е вертикална\",\n \"admin/editor.product-images.left\": \"Ляво\",\n \"admin/editor.product-images.right\": \"Дясно\",\n \"admin/editor.product-images.displayThumbnailsArrows.title\": \"Показване на стрелки в миниатюри\",\n \"admin/editor.product-specifications.title\": \"Спецификации на продукт\",\n \"admin/editor.product-specifications.hidden-specifications.title\": \"Скрити спецификации\",\n \"admin/editor.product-specifications.hidden-specifications.description\": \"Напишете имената на спецификациите, които искате да скриете\",\n \"admin/editor.product-specifications.visible-specifications.title\": \"Видими спецификации\",\n \"admin/editor.product-specifications.visible-specifications.description\": \"Напишете имената на спецификациите, които искате да се появят. Напишете само една от скритите спецификации или видимите спецификации\",\n \"admin/editor.product-specifications.items.title\": \"Спецификация\",\n \"admin/editor.logo.title\": \"Лого\",\n \"admin/editor.logo.description\": \"Компонент, който показва логото на магазина ви\",\n \"admin/editor.logo.href.title\": \"Линк за пренасочване\",\n \"admin/editor.logo.href.description\": \"Линк за пренасочване при кликване върху логото. Оставете празно, ако искате да няма хипервръзка.\",\n \"admin/editor.logo.url.title\": \"Изображение\",\n \"admin/editor.logo.url.description\": \"Изображение, което да се използва\",\n \"admin/editor.logo.width.title\": \"Широчина\",\n \"admin/editor.logo.width.description\": \"Широчината, която да се използва за логото.\",\n \"admin/editor.logo.height.title\": \"Височина\",\n \"admin/editor.logo.height.description\": \"Височината, която да се използва за логото.\",\n \"admin/editor.logo.title.title\": \"Алтернативен текст\",\n \"admin/editor.logo.title.description\": \"Алтернативен текст, предоставян с изображението на логото\",\n \"admin/editor.logo.mobileWidth.title\": \"Широчина за мобилно устройство\",\n \"admin/editor.logo.mobileWidth.description\": \"Широчина за използване на мобилно устройство. Ако е празно, ще се използва предоставената стойност за широчина.\",\n \"admin/editor.logo.mobileHeight.title\": \"Височина за мобилното устройство\",\n \"admin/editor.logo.mobileHeight.description\": \"Височина за използване на мобилно устройство. Ако е празно, ще се използва предоставената стойност за височината.\",\n \"store/skuSelector.seeMore\": \"Вижте още {quantity}\",\n \"store/sku-selector.select.placeholder\": \"Избор на опция\",\n \"store/sku-selector.variation.select-an-option\": \"Избор на опция\",\n \"admin/editor.skuSelector.title\": \"Селектор на ИЕ\",\n \"admin/editor.skuSelector.description\": \"Компонент, който показва различни посочени вариации на артикул, от които потребителят да избере\",\n \"admin/editor.skuSelector.seeMoreLabel.title\": \"Етикет за повече информация\",\n \"admin/editor.skuSelector.seeMoreLabel.description\": \"Етикет за бутон за повече информация. Низът трябва да има параметър за попълване за {quantity}, който да показва подходящите оставащи налични артикули. Пример: \\\"Вижте още {quantity}\\\"\",\n \"admin/editor.product-description.title\": \"Описание на продукта\",\n \"admin/editor.product-description.title-prop.title\": \"Заглавие\",\n \"admin/editor.search-bar.title\": \"Лента за търсене\",\n \"admin/editor.search-bar.placeholder.title\": \"Параметър за попълване\",\n \"store/back-to-top.label\": \"Към началото на страницата\",\n \"admin/editor.toTop.title\": \"Бутон към началото на страницата\",\n \"admin/editor.toTop.description\": \"При щракване връща към началото на страницата\",\n \"admin/editor.toTop.topPixel.title\": \"Брой пиксели\",\n \"admin/editor.toTop.topPixel.description\": \"При надвишаване на определената стойност на пикселите ще се появи бутонът за връщане към началото на страницата\"\n}\n\n```" } ]
code_store-components_f50097e2
[ { "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 store-components/messages/ro.json from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"store/search.placeholder\": \"Caută\",\n \"store/search.searchFor\": \"Caută {term}\",\n \"store/search.search-term-too-short\": \"Termenul de căutare este prea scurt\",\n \"admin/editor.productName.title\": \"Denumire produs\",\n \"admin/editor.productName.description\": \"Componentă denumire produs\",\n \"admin/editor.productName.showBrandName.title\": \"Afișează denumirea mărcii\",\n \"admin/editor.productName.showSku.title\": \"Afișează sku\",\n \"admin/editor.productName.showProductReference.title\": \"Afișează referința produsului\",\n \"admin/editor.productName.displayMode.title\": \"Se afișează link-ul asociat cu numele produsului sau text simplu\",\n \"admin/editor.productName.displayMode.plainText\": \"Text simplu\",\n \"admin/editor.productName.displayMode.linkToProductPage\": \"Link la pagina produsului\",\n \"admin/editor.productPrice.title\": \"Prețul produsului\",\n \"admin/editor.productPrice.description\": \"Componentă preț produs\",\n \"admin/editor.productPrice.showListPrice\": \"Afișează prețul de listă al produsului\",\n \"admin/editor.productPrice.showSellingPriceRange\": \"Afișează intervalul prețurilor de vânzare ale produsului\",\n \"admin/editor.productPrice.showListPriceRange\": \"Afișează intervalul prețurilor de listă ale produsului\",\n \"admin/editor.productPrice.showLabels\": \"Afișează etichetele prețurilor produsului\",\n \"admin/editor.productPrice.showInstallments\": \"Afișează ratele plății 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.labelSellingPrice\": \"Etichetă preț de vânzare\",\n \"admin/editor.productPrice.labelListPrice\": \"Etichetă preț de listă\",\n \"admin/editor.share.title\": \"Distribuie\",\n \"admin/editor.share.description\": \"Lista butoanelor de distribuire\",\n \"admin/editor.share.social.title\": \"Rețele sociale\",\n \"store/product-description.title\": \"Descrierea produsului\",\n \"store/product-description.property\": \"Proprietate\",\n \"store/product-description.specification\": \"Specificație\",\n \"store/product-description.collapse.showMore\": \"Arată mai mult\",\n \"store/product-description.collapse.showLess\": \"Arată mai puține\",\n \"store/pricing.installment-display\": \"Sau {installments} {times} din {installmentPrice}\",\n \"store/pricing.from\": \"De la\",\n \"store/pricing.to\": \"Către\",\n \"store/pricing.savings\": \"Economisește {savings}\",\n \"store/pricing.interest-free\": \"fără dobândă\",\n \"store/loading\": \"Se încarcă…\",\n \"store/shipping.deliveryName\": \"Livrare\",\n \"store/shipping.deliveryEstimate\": \"Estimat\",\n \"store/shipping.deliveryPrice\": \"Valoare\",\n \"store/shipping.label\": \"Calculează costurile de expediere\",\n \"store/shipping.free\": \"Gratuit\",\n \"store/shipping.empty-sla\": \"Nu există informații de expediere disponibile pentru codul poștal furnizat\",\n \"store/buy-button.add-to-cart\": \"Adaugă în coș\",\n \"store/buybutton.buy-success\": \"Articol adăugat în coșul tău\",\n \"store/buybutton.buy-success-duplicate\": \"Articolul se află deja în coșul tău\",\n \"store/buybutton.add-failure\": \"A apărut o eroare, iar articolul nu a fost adăugat în coșul tău!\",\n \"store/buybutton.buy-offline-success\": \"Articol adăugat în coșul tău offline\",\n \"store/buybutton.select-sku-variations\": \"Te rugăm să selectezi o opțiune pentru fiecare variație\",\n \"store/buybutton.see-cart\": \"Vizualizează coșul\",\n \"store/technicalspecifications.title\": \"Specificații tehnice\",\n \"store/availability-subscriber.title\": \"Acest produs nu este disponibil acum\",\n \"store/availability-subscriber.subscribe-label\": \"Vreau să știu când acest produs devine disponibil\",\n \"store/availability-subscriber.email-placeholder\": \"E-mail\",\n \"store/availability-subscriber.name-placeholder\": \"Nume\",\n \"store/availability-subscriber.send-label\": \"Trimite\",\n \"store/availability-subscriber.invalid-email\": \"Adresă de e-mail nu este validă\",\n \"store/availability-subscriber.added-message\": \"Adresă de e-mail înregistrată cu succes\",\n \"store/availability-subscriber.error-message\": \"A eșuat, te rugăm încearcă din nou\",\n \"store/newsletter.label\": \"Abonează-te la newsletter\",\n \"store/newsletter.placeholder\": \"Introdu adresa ta de e-mail\",\n \"store/newsletter.submit\": \"Înregistrează-te\",\n \"store/newsletter.invalidEmail\": \"Te rugăm să introduci o adresă de e-mail validă.\",\n \"store/newsletter.confirmationTitle\": \"Mulțumim!\",\n \"store/newsletter.confirmationText\": \"Adresa ta de e-mail a fost înregistrată cu succes.\",\n \"store/newsletter.error\": \"A apărut o eroare, te rugăm să încerci din nou mai târziu\",\n \"admin/editor.newsletter.title\": \"Newsletter\",\n \"admin/editor.newsletter.description\": \"Formular newsletter\",\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.hideLabel\": \"Ascunde eticheta\",\n \"admin/editor.categoriesHighlighted.title\": \"Categorii evidențiate\",\n \"admin/editor.categoriesHighlighted.description\": \"Categoriile evidențiate ale Departamentului\",\n \"admin/editor.categoriesHighlighted.item.categoryName\": \"Denumire categorie\",\n \"admin/editor.categoriesHighlighted.item.categoryImage\": \"Imagine categorie\",\n \"admin/editor.categoriesHighlighted.category\": \"Categorie\",\n \"admin/editor.categoriesHighlighted.categoriesHighlighted\": \"Categorii evidențiate\",\n \"admin/editor.categoriesHighlighted.showCategoriesHighlighted\": \"Arată categoriile evidențiate\",\n \"admin/editor.categoriesHighlighted.quantityOfItems\": \"Cantitatea de articole\",\n \"admin/editor.categoriesHighlighted.cardShape\": \"Formă de cutie\",\n \"admin/editor.categoriesHighlighted.cardShape.squared\": \"Pătrat\",\n \"admin/editor.categoriesHighlighted.cardShape.rectangular\": \"Dreptunghiular\",\n \"store/searchBar.button.cancel.label\": \"Anulează\",\n \"store/buyButton-label-unavailable\": \"Indisponibil\",\n \"store/greeting\": \"Salut\",\n \"store/store-components.share.label\": \"Distribuie\",\n \"store/share.title\": \"{product} {sku} la {store}: \",\n \"admin/editor.info-card.title\": \"InfoCard\",\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.isFullModeStyle.title\": \"Imagine ca fundal\",\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.textPosition.title\": \"Poziție text\",\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.headline.title\": \"Titlu\",\n \"admin/editor.info-card.headline.description\": \"Text pentru a fi afișat ca titlu înăuntrul componentei\",\n \"admin/editor.info-card.subhead.title\": \"Subtitlu\",\n \"admin/editor.info-card.subhead.description\": \"Text pentru a fi afișat sub titlu înăuntrul componentei\",\n \"admin/editor.info-card.body-text.title\": \"Text corp\",\n \"admin/editor.info-card.body-text.description\": \"Text sub subtitlu în interiorul componentei\",\n \"admin/editor.info-card.callToActionMode.title\": \"Mod Apel la acțiune\",\n \"admin/editor.info-card.callToActionMode.description\": \"Controlează modul în care este afișat apelul la acțiune\",\n \"admin/editor.info-card.callToActionText.title\": \"Text 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.callToActionUrl.title\": \"URL Apel la acțiune\",\n \"admin/editor.info-card.callToActionLinkTarget.title\": \"Tip redirecționare link Call to Action\",\n \"admin/editor.info-card.callToActionLinkTarget.description\": \"Descrierea proprietăților callToActionLinkTarget\",\n \"admin/editor.info-card.callToActionLinkTarget.blank\": \"Link-ul se deschide într-o filă nouă\",\n \"admin/editor.info-card.callToActionLinkTarget.self\": \"Link-ul se deschide în aceeași filă\",\n \"admin/editor.info-card.callToActionUrl.description\": \"Url pentru redirecționare când este apăsat CTA\",\n \"admin/editor.info-card.imageUrl.title\": \"Imagine\",\n \"admin/editor.info-card.imageUrl.description\": \"Imagine pentru a fi folosită pe desktop\",\n \"admin/editor.info-card.mobileImageUrl.title\": \"Imagine mobil\",\n \"admin/editor.info-card.mobileImageUrl.description\": \"Imagine pentru a fi folosită pe mobil\",\n \"admin/editor.info-card.textAlignment.title\": \"Alinierea textului\",\n \"admin/editor.info-card.textAlignment.description\": \"Controlează alinierea textului în interiorul componentei\",\n \"admin/editor.info-card.textPosition.left\": \"Stânga\",\n \"admin/editor.info-card.textPosition.center\": \"Centru\",\n \"admin/editor.info-card.textPosition.right\": \"Dreapta\",\n \"admin/editor.info-card.textAlignment.left\": \"Stânga\",\n \"admin/editor.info-card.textAlignment.center\": \"Centru\",\n \"admin/editor.info-card.textAlignment.right\": \"Dreapta\",\n \"admin/editor.info-card.textMode.title\": \"Mod Text\",\n \"admin/editor.info-card.textMode.description\": \"Ce mod de text ar trebui InfoCard să se aștepte să primească. HTML este implicit, iar Rich Text îți permite să folosești Markdown.\",\n \"admin/editor.info-card.textMode.html\": \"HTML\",\n \"admin/editor.info-card.textMode.rich-text\": \"Rich-Text\",\n \"admin/editor.info-card.callAction.none\": \"Niciunul\",\n \"admin/editor.info-card.callAction.button\": \"Buton\",\n \"admin/editor.info-card.callAction.link\": \"Link\",\n \"admin/editor.info-card.imageActionUrl.title\": \"URL acțiune imagine\",\n \"admin/editor.info-card.imageActionUrl.description\": \"Pune URL pentru a face din imagine un link și pentru a putea redirecționa utilizatorul\",\n \"store/user-address.pickup\": \"Ridică la {name}\",\n \"store/user-address.order\": \"Comandă la\",\n \"store/user-address.change\": \"Modifică\",\n \"store/user-address.add\": \"Adaugă locație\",\n \"admin/editor.notification-bar.title\": \"Bară de notificări\",\n \"admin/editor.notification-bar.description\": \"O componentă care arată orice text în stil de bară\",\n \"admin/editor.notification-bar.content.title\": \"Conținut\",\n \"admin/editor.notification-bar.content.description\": \"Textul barei\",\n \"admin/editor.blockClass.title\": \"Clasa CSS Block\",\n \"admin/editor.blockClass.description\": \"Adaugă un nume de clasă extra pentru a ușura stilizarea\",\n \"admin/editor.image.title\": \"Imagine\",\n \"admin/editor.image.description\": \"Arată orice imagine\",\n \"admin/editor.image.src.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.image.alt.title\": \"Text alternativ\",\n \"admin/editor.info-card.imageAltText.title\": \"Text alternativ al imaginii\",\n \"admin/editor.info-card.imageAltText.description\": \"Text alternativ pentru imagine\",\n \"admin/editor.product-images.title\": \"Imagini produs\",\n \"admin/editor.product-images.description\": \"Componenta de imagini ale produsului îți permite să personalizezi imaginile produsului\",\n \"admin/editor.product-images.zoomOptions.title\": \"Opțiuni zoom\",\n \"admin/editor.product-images.zoomType.title\": \"Tip zoom\",\n \"admin/editor.product-images.bgopacity.title\": \"Opacitate fundal\",\n \"admin/editor.product-images.thumbnailsOrientation.title\": \"Orientare miniatură\",\n \"admin/editor.product-images.gallery\": \"În Galerie\",\n \"admin/editor.product-images.in-page\": \"În pagină\",\n \"admin/editor.product-images.no-zoom\": \"Fără zoom\",\n \"admin/editor.product-images.vertical\": \"Vertical\",\n \"admin/editor.product-images.horizontal\": \"Orizontal\",\n \"admin/editor.product-images.position.title\": \"Poziție miniatură\",\n \"admin/editor.product-images.position.description\": \"Folosit doar când orientarea este verticală\",\n \"admin/editor.product-images.left\": \"Stânga\",\n \"admin/editor.product-images.right\": \"Dreapta\",\n \"admin/editor.product-images.displayThumbnailsArrows.title\": \"Afișează săgețile sub formă de miniatură\",\n \"admin/editor.product-specifications.title\": \"Specificații produs\",\n \"admin/editor.product-specifications.hidden-specifications.title\": \"Specificații ascunse\",\n \"admin/editor.product-specifications.hidden-specifications.description\": \"Scrie numele specificaților pe care vrei să le ascunzi\",\n \"admin/editor.product-specifications.visible-specifications.title\": \"Specificații vizibile\",\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.items.title\": \"Specificație\",\n \"admin/editor.logo.title\": \"Logo\",\n \"admin/editor.logo.description\": \"Componentă pentru a arăta logo-ul magazinului tău\",\n \"admin/editor.logo.href.title\": \"Link pentru redirecționare\",\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.url.title\": \"Imagine\",\n \"admin/editor.logo.url.description\": \"Imagine de folosit\",\n \"admin/editor.logo.width.title\": \"Lățime\",\n \"admin/editor.logo.width.description\": \"Lățime de folosit pentru logo.\",\n \"admin/editor.logo.height.title\": \"Înălțime\",\n \"admin/editor.logo.height.description\": \"Înălțime de folosit pentru logo.\",\n \"admin/editor.logo.title.title\": \"Text alternativ\",\n \"admin/editor.logo.title.description\": \"Text alternative furnizat la imaginea logo-ului\",\n \"admin/editor.logo.mobileWidth.title\": \"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.mobileHeight.title\": \"Înălțime mobil\",\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 \"store/skuSelector.seeMore\": \"Vezi încă {quantity}\",\n \"store/sku-selector.select.placeholder\": \"Alege o opțiune\",\n \"store/sku-selector.variation.select-an-option\": \"Selectează o opțiune\",\n \"admin/editor.skuSelector.title\": \"Selector SKU\",\n \"admin/editor.skuSelector.description\": \"Componenta care afișează diferite variațiuni ale unui articol ca utilizatorul să aleagă\",\n \"admin/editor.skuSelector.seeMoreLabel.title\": \"Vezi mai multe etichete\",\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.product-description.title\": \"Descrierea produsului\",\n \"admin/editor.product-description.title-prop.title\": \"Titlu\",\n \"admin/editor.search-bar.title\": \"Bara de căutare\",\n \"admin/editor.search-bar.placeholder.title\": \"Placeholder\",\n \"store/back-to-top.label\": \"Înapoi la început\",\n \"admin/editor.toTop.title\": \"Buton Înapoi la început\",\n \"admin/editor.toTop.description\": \"Atunci când se apasă, se întoarce la începutul paginii\",\n \"admin/editor.toTop.topPixel.title\": \"Numărul de pixeli\",\n \"admin/editor.toTop.topPixel.description\": \"Atunci când se depășește valoarea definită a pixelilor, va apărea butonul de întoarcere la început\"\n}\n\n```" } ]
code_store-components_7f6e7bd2
[ { "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 store-components/messages/context.json from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"store/search.placeholder\": \"search.placeholder\",\n \"store/search.searchFor\": \"search.searchFor\",\n \"store/search.search-term-too-short\": \"search.search-term-too-short\",\n \"store/search.autocompleteInput.aria-label\": \"store/search.autocompleteInput.aria-label\",\n \"admin/editor.productName.title\": \"admin/editor.productName.title\",\n \"admin/editor.productName.description\": \"admin/editor.productName.description\",\n \"admin/editor.productName.showBrandName.title\": \"admin/editor.productName.showBrandName.title\",\n \"admin/editor.productName.showSku.title\": \"admin/editor.productName.showSku.title\",\n \"admin/editor.productName.showProductReference.title\": \"admin/editor.productName.showProductReference.title\",\n \"admin/editor.productName.displayMode.title\": \"admin/editor.productName.displayMode.title\",\n \"admin/editor.productName.displayMode.plainText\": \"admin/editor.productName.displayMode.plainText\",\n \"admin/editor.productName.displayMode.linkToProductPage\": \"admin/editor.productName.displayMode.linkToProductPage\",\n \"admin/editor.productPrice.title\": \"admin/editor.productPrice.title\",\n \"admin/editor.productPrice.description\": \"admin/editor.productPrice.description\",\n \"admin/editor.productPrice.showListPrice\": \"admin/editor.productPrice.showListPrice\",\n \"admin/editor.productPrice.showSellingPriceRange\": \"admin/editor.productPrice.showSellingPriceRange\",\n \"admin/editor.productPrice.showListPriceRange\": \"admin/editor.productPrice.showListPriceRange\",\n \"admin/editor.productPrice.showLabels\": \"admin/editor.productPrice.showLabels\",\n \"admin/editor.productPrice.showInstallments\": \"admin/editor.productPrice.showInstallments\",\n \"admin/editor.productPrice.showSavings\": \"admin/editor.productPrice.showSavings\",\n \"admin/editor.productPrice.labelSellingPrice\": \"admin/editor.productPrice.labelSellingPrice\",\n \"admin/editor.productPrice.labelListPrice\": \"admin/editor.productPrice.labelListPrice\",\n \"admin/editor.share.title\": \"admin/editor.share.title\",\n \"admin/editor.share.description\": \"admin/editor.share.description\",\n \"admin/editor.share.social.title\": \"admin/editor.share.social.title\",\n \"store/product-description.title\": \"product-description.title\",\n \"store/product-description.property\": \"product-description.property\",\n \"store/product-description.specification\": \"product-description.specification\",\n \"store/product-description.collapse.showMore\": \"product-description.collapse.showMore\",\n \"store/product-description.collapse.showLess\": \"product-description.collapse.showLess\",\n \"store/pricing.installment-display\": \"pricing.installment-display\",\n \"store/pricing.from\": \"pricing.from\",\n \"store/pricing.to\": \"pricing.to\",\n \"store/pricing.savings\": \"pricing.savings\",\n \"store/pricing.interest-free\": \"pricing.interest-free\",\n \"store/loading\": \"loading\",\n \"store/shipping.deliveryName\": \"shipping.deliveryName\",\n \"store/shipping.deliveryEstimate\": \"shipping.deliveryEstimate\",\n \"store/shipping.deliveryPrice\": \"shipping.deliveryPrice\",\n \"store/shipping.label\": \"shipping.label\",\n \"store/shipping.free\": \"shipping.free\",\n \"store/shipping.empty-sla\": \"shipping.empty-sla\",\n \"store/buy-button.add-to-cart\": \"Add to cart\",\n \"store/buybutton.buy-success\": \"buybutton.buy-success\",\n \"store/buybutton.buy-success-duplicate\": \"buybutton.buy-success-duplicate\",\n \"store/buybutton.add-failure\": \"buybutton.add-failure\",\n \"store/buybutton.buy-offline-success\": \"buybutton.buy-offline-success\",\n \"store/buybutton.select-sku-variations\": \"Please select an option of each variation\",\n \"store/buybutton.see-cart\": \"Button label on the notification that pops up when the user adds an item to the cart, prompting the user to see said cart\",\n \"store/technicalspecifications.title\": \"technicalspecifications.title\",\n \"store/availability-subscriber.title\": \"availability-subscriber.title\",\n \"store/availability-subscriber.subscribe-label\": \"availability-subscriber.subscribe-label\",\n \"store/availability-subscriber.email-placeholder\": \"availability-subscriber.email-placeholder\",\n \"store/availability-subscriber.name-placeholder\": \"availability-subscriber.name-placeholder\",\n \"store/availability-subscriber.send-label\": \"availability-subscriber.send-label\",\n \"store/availability-subscriber.invalid-email\": \"availability-subscriber.invalid-email\",\n \"store/availability-subscriber.added-message\": \"availability-subscriber.added-message\",\n \"store/availability-subscriber.error-message\": \"availability-subscriber.error-message\",\n \"store/newsletter.label\": \"Sign up for exclusive deals\",\n \"store/newsletter.placeholder\": \"Email address\",\n \"store/newsletter.submit\": \"Sign up\",\n \"store/newsletter.invalidEmail\": \"Please enter a valid email.\",\n \"store/newsletter.confirmationTitle\": \"Thank you!\",\n \"store/newsletter.confirmationText\": \"Your email was successfully registered.\",\n \"store/newsletter.error\": \"Something went wrong, please try again later\",\n \"admin/editor.newsletter.title\": \"Newsletter\",\n \"admin/editor.newsletter.description\": \"Newsletter form\",\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.hideLabel\": \"Hide label\",\n \"admin/editor.categoriesHighlighted.title\": \"admin/editor.categoriesHighlighted.title\",\n \"admin/editor.categoriesHighlighted.description\": \"admin/editor.categoriesHighlighted.description\",\n \"admin/editor.categoriesHighlighted.item.categoryName\": \"admin/editor.categoriesHighlighted.item.categoryName\",\n \"admin/editor.categoriesHighlighted.item.categoryImage\": \"admin/editor.categoriesHighlighted.item.categoryImage\",\n \"admin/editor.categoriesHighlighted.category\": \"admin/editor.categoriesHighlighted.category\",\n \"admin/editor.categoriesHighlighted.categoriesHighlighted\": \"admin/editor.categoriesHighlighted.categoriesHighlighted\",\n \"admin/editor.categoriesHighlighted.showCategoriesHighlighted\": \"admin/editor.categoriesHighlighted.showCategoriesHighlighted\",\n \"admin/editor.categoriesHighlighted.quantityOfItems\": \"admin/editor.categoriesHighlighted.quantityOfItems\",\n \"admin/editor.categoriesHighlighted.cardShape\": \"admin/editor.categoriesHighlighted.cardShape\",\n \"admin/editor.categoriesHighlighted.cardShape.squared\": \"admin/editor.categoriesHighlighted.cardShape.squared\",\n \"admin/editor.categoriesHighlighted.cardShape.rectangular\": \"admin/editor.categoriesHighlighted.cardShape.rectangular\",\n \"store/searchBar.button.cancel.label\": \"searchBar.button.cancel.label\",\n \"store/buyButton-label-unavailable\": \"buyButton-label-unavailable\",\n \"store/greeting\": \"greeting\",\n \"store/store-components.share.label\": \"store-components.share.label\",\n \"store/share.title\": \"{product} {sku} at {store}: \",\n \"admin/editor.info-card.title\": \"Title of InfoCard component\",\n \"admin/editor.info-card.description\": \"Description of InfoCard component\",\n \"admin/editor.info-card.isFullModeStyle.title\": \"Title of isFullModeStyle property\",\n \"admin/editor.info-card.isFullModeStyle.description\": \"Description of isFullModeStyle property\",\n \"admin/editor.info-card.textPosition.title\": \"Title of textPosition property\",\n \"admin/editor.info-card.textPosition.description\": \"Description of textPosition property\",\n \"admin/editor.info-card.headline.title\": \"Title of headline property\",\n \"admin/editor.info-card.headline.description\": \"Description of headline property\",\n \"admin/editor.info-card.subhead.title\": \"Title of subhead property\",\n \"admin/editor.info-card.subhead.description\": \"Description of subhead property\",\n \"admin/editor.info-card.body-text.title\": \"Title of body text property\",\n \"admin/editor.info-card.body-text.description\": \"Description of body text property\",\n \"admin/editor.info-card.callToActionMode.title\": \"Title of callToActionMode property\",\n \"admin/editor.info-card.callToActionMode.description\": \"Description of callToActionMode property\",\n \"admin/editor.info-card.callToActionText.title\": \"Title of callToActionText property\",\n \"admin/editor.info-card.callToActionText.description\": \"Description of callToActionText property\",\n \"admin/editor.info-card.callToActionUrl.title\": \"Title of callToActionUrl property\",\n \"admin/editor.info-card.callToActionUrl.description\": \"Description of callToActionUrl property\",\n \"admin/editor.info-card.imageUrl.title\": \"Title of imageUrl property\",\n \"admin/editor.info-card.imageUrl.description\": \"Description of imageUrl property\",\n \"admin/editor.info-card.mobileImageUrl.title\": \"Title of mobileImageUrl property\",\n \"admin/editor.info-card.mobileImageUrl.description\": \"Description of mobileImageUrl property\",\n \"admin/editor.info-card.textAlignment.title\": \"Title of textAlignment property\",\n \"admin/editor.info-card.textAlignment.description\": \"Description of textAlignment property\",\n \"admin/editor.info-card.textPosition.left\": \"Name of enum value to make text at left position\",\n \"admin/editor.info-card.textPosition.center\": \"Name of enum value to make text at center position\",\n \"admin/editor.info-card.textPosition.right\": \"Name of enum value to make text at right position\",\n \"admin/editor.info-card.callToActionLinkTarget.title\": \"Title of callToActionLinkTarget property\",\n \"admin/editor.info-card.callToActionLinkTarget.description\": \"Description of callToActionLinkTarget property\",\n \"admin/editor.info-card.callToActionLinkTarget.blank\": \"Link opens in a new tab\",\n \"admin/editor.info-card.callToActionLinkTarget.self\": \"Link opens in a same tab\",\n \"admin/editor.info-card.textAlignment.left\": \"Name of enum value to align text to the left\",\n \"admin/editor.info-card.textAlignment.center\": \"Name of enum value to align text to the center\",\n \"admin/editor.info-card.textAlignment.right\": \"Name of enum value to align text to the right\",\n \"admin/editor.info-card.textMode.title\": \"Title for textMode property.\",\n \"admin/editor.info-card.textMode.description\": \"Description for textMode property.\",\n \"admin/editor.info-card.textMode.html\": \"Enum value for HTML text.\",\n \"admin/editor.info-card.textMode.rich-text\": \"Enum value for rich-text.\",\n \"admin/editor.info-card.callAction.none\": \"Name of enum value to make CTA disappear\",\n \"admin/editor.info-card.callAction.button\": \"Name of enum value to make CTA a button\",\n \"admin/editor.info-card.callAction.link\": \"Name of enum value to make CTA a link\",\n \"admin/editor.info-card.imageActionUrl.title\": \"Name of imageActionUrl property\",\n \"admin/editor.info-card.imageActionUrl.description\": \"Name of imageActionUrl description\",\n \"store/user-address.pickup\": \"Pickup at <address>\",\n \"store/user-address.order\": \"Order to <address>\",\n \"store/user-address.change\": \"Change address button label\",\n \"store/user-address.add\": \"Set address button label\",\n \"admin/editor.notification-bar.title\": \"Notification bar\",\n \"admin/editor.notification-bar.description\": \"A component that show any text in a bar style\",\n \"admin/editor.notification-bar.content.title\": \"Content\",\n \"admin/editor.notification-bar.content.description\": \"Text of the bar\",\n \"admin/editor.blockClass.title\": \"CSS Block Class\",\n \"admin/editor.blockClass.description\": \"Adds an extra class name to ease styling\",\n \"admin/editor.image.title\": \"Image\",\n \"admin/editor.image.description\": \"Show any image\",\n \"admin/editor.image.src.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.image.alt.title\": \"Alternative text\",\n \"admin/editor.product-images.title\": \"ProductImages component title on storefront\",\n \"admin/editor.product-images.description\": \"Description of ProductImages component\",\n \"admin/editor.info-card.imageAltText.title\": \"Image alternative text\",\n \"admin/editor.info-card.imageAltText.description\": \"Alternative text for the image\",\n \"admin/editor.product-images.zoomOptions.title\": \"Title of the Zoom options provided by the product images app\",\n \"admin/editor.product-images.zoomType.title\": \"Title of the zoomType option\",\n \"admin/editor.product-images.bgopacity.title\": \"Title of the background opacity of the gallery when zoom is set to in gallery mode\",\n \"admin/editor.product-images.thumbnailsOrientation.title\": \"Title of the thumbnailsOrientation option\",\n \"admin/editor.product-images.gallery\": \"Used in 'gallery' zoom option\",\n \"admin/editor.product-images.in-page\": \"Used in 'gallery' zoom option\",\n \"admin/editor.product-images.no-zoom\": \"Used in 'gallery' zoom option\",\n \"admin/editor.product-images.vertical\": \"Used in 'direction' option, as vertical orientation\",\n \"admin/editor.product-images.horizontal\": \"Used in 'direction' option, as horizontal orientation\",\n \"admin/editor.product-images.position.title\": \"Title of the position option\",\n \"admin/editor.product-images.position.description\": \"Description of the position option\",\n \"admin/editor.product-images.left\": \"Used in 'position' option\",\n \"admin/editor.product-images.right\": \"Used in 'position' option\",\n \"admin/editor.product-images.displayThumbnailsArrows.title\": \"Title of the displayThumbnailsArrows option\",\n \"admin/editor.product-specifications.title\": \"Product Specifications\",\n \"admin/editor.product-specifications.hidden-specifications.title\": \"Hidden Specficiations\",\n \"admin/editor.product-specifications.hidden-specifications.description\": \"Type names of specifications you want to hide\",\n \"admin/editor.product-specifications.visible-specifications.title\": \"Visible 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.items.title\": \"Specification\",\n \"admin/editor.logo.title\": \"Name of Logo Component\",\n \"admin/editor.logo.description\": \"Description of Logo Component\",\n \"admin/editor.logo.href.title\": \"Title of href property of Logo\",\n \"admin/editor.logo.href.description\": \"Description of href property of Logo\",\n \"admin/editor.logo.url.title\": \"Title of url property of Logo\",\n \"admin/editor.logo.url.description\": \"Description of url property of Logo\",\n \"admin/editor.logo.width.title\": \"Title of width property of Logo\",\n \"admin/editor.logo.width.description\": \"Description of width property of Logo\",\n \"admin/editor.logo.height.title\": \"Title of height property of Logo\",\n \"admin/editor.logo.height.description\": \"Description of height property of Logo\",\n \"admin/editor.logo.title.title\": \"Title of title property of Logo\",\n \"admin/editor.logo.title.description\": \"Description of title property of Logo\",\n \"admin/editor.logo.mobileWidth.title\": \"Title of mobileWidth property of Logo\",\n \"admin/editor.logo.mobileWidth.description\": \"Description of mobileWidth property of Logo\",\n \"admin/editor.logo.mobileHeight.title\": \"Title of mobileHeight property of Logo\",\n \"admin/editor.logo.mobileHeight.description\": \"Description of mobileHeight property of Logo\",\n \"store/skuSelector.seeMore\": \"Press button to see remaining items\",\n \"store/sku-selector.select.placeholder\": \"Choose an option\",\n \"store/sku-selector.variation.select-an-option\": \"You have to select an option\",\n \"admin/editor.skuSelector.title\": \"Title of SKU Selector component\",\n \"admin/editor.skuSelector.description\": \"Description of SKU Selector component\",\n \"admin/editor.skuSelector.seeMoreLabel.title\": \"Title of seeMoreLabel property\",\n \"admin/editor.skuSelector.seeMoreLabel.description\": \"Description of seeMoreLabel property\",\n \"admin/editor.product-description.title\": \"Product description\",\n \"admin/editor.product-description.title-prop.title\": \"Title\",\n \"admin/editor.search-bar.title\": \"Search bar\",\n \"admin/editor.search-bar.placeholder.title\": \"Placeholder\",\n \"store/back-to-top.label\": \"Back to top\"\n}\n\n```" } ]
code_store-components_7b722858
[ { "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 store-components/messages/ko.json from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"store/search.placeholder\": \"검색\",\n \"store/search.searchFor\": \"{term} 검색\",\n \"store/search.search-term-too-short\": \"검색어가 너무 짧습니다.\",\n \"admin/editor.productName.title\": \"상품명\",\n \"admin/editor.productName.description\": \"제품 이름 요소\",\n \"admin/editor.productName.showBrandName.title\": \"브랜드 이름 표시\",\n \"admin/editor.productName.showSku.title\": \"sku 표시\",\n \"admin/editor.productName.showProductReference.title\": \"제품 참조 표시\",\n \"admin/editor.productName.displayMode.title\": \"제품 이름 또는 일반 텍스트와 연결된 링크 표시\",\n \"admin/editor.productName.displayMode.plainText\": \"일반 텍스트\",\n \"admin/editor.productName.displayMode.linkToProductPage\": \"제품 페이지 링크\",\n \"admin/editor.productPrice.title\": \"제품 가격\",\n \"admin/editor.productPrice.description\": \"제품 가격 요소\",\n \"admin/editor.productPrice.showListPrice\": \"제품 정가 표시\",\n \"admin/editor.productPrice.showSellingPriceRange\": \"제품의 판매 가격 범위 표시\",\n \"admin/editor.productPrice.showListPriceRange\": \"제품의 정가 범위 표시\",\n \"admin/editor.productPrice.showLabels\": \"정가 라벨 표시\",\n \"admin/editor.productPrice.showInstallments\": \"제품의 결제 할부 표시\",\n \"admin/editor.productPrice.showSavings\": \"제품의 정가와 판매 가격 차이 표시\",\n \"admin/editor.productPrice.labelSellingPrice\": \"판매가격 라벨\",\n \"admin/editor.productPrice.labelListPrice\": \"정가 라벨\",\n \"admin/editor.share.title\": \"공유\",\n \"admin/editor.share.description\": \"공유 버튼 목록\",\n \"admin/editor.share.social.title\": \"소셜 네트워크\",\n \"store/product-description.title\": \"제품 설명\",\n \"store/product-description.property\": \"속성\",\n \"store/product-description.specification\": \"사양\",\n \"store/product-description.collapse.showMore\": \"더 보기\",\n \"store/product-description.collapse.showLess\": \"간략히 보기\",\n \"store/pricing.installment-display\": \"또는 {installmentPrice}의 {installments} {times}\",\n \"store/pricing.from\": \"에서\",\n \"store/pricing.to\": \"까지\",\n \"store/pricing.savings\": \"{savings} 저장\",\n \"store/pricing.interest-free\": \"무이자\",\n \"store/loading\": \"로딩...\",\n \"store/shipping.deliveryName\": \"배달\",\n \"store/shipping.deliveryEstimate\": \"견적\",\n \"store/shipping.deliveryPrice\": \"값\",\n \"store/shipping.label\": \"배송비 계산\",\n \"store/shipping.free\": \"무료\",\n \"store/shipping.empty-sla\": \"해당 우편 번호에 가능한 배송 정보가 없습니다.\",\n \"store/buy-button.add-to-cart\": \"장바구니에 담기\",\n \"store/buybutton.buy-success\": \"장바구니에 추가 된 품목\",\n \"store/buybutton.buy-success-duplicate\": \"이미 장바구니에 있는 품목\",\n \"store/buybutton.add-failure\": \"문제가 발생하여 상품이 장바구니에 추가되지 않았습니다!\",\n \"store/buybutton.buy-offline-success\": \"오프라인 장바구니에 추가된 품목\",\n \"store/buybutton.select-sku-variations\": \"각 변동의 옵션을 선택하십시오\",\n \"store/buybutton.see-cart\": \"장바구니 보기\",\n \"store/technicalspecifications.title\": \"기술 사양\",\n \"store/availability-subscriber.title\": \"이 제품은 지금 구매할 수 없습니다.\",\n \"store/availability-subscriber.subscribe-label\": \"이 제품을 언제 구매할 수 있을지 알고 싶습니다.\",\n \"store/availability-subscriber.email-placeholder\": \"이메일\",\n \"store/availability-subscriber.name-placeholder\": \"이름\",\n \"store/availability-subscriber.send-label\": \"전송\",\n \"store/availability-subscriber.invalid-email\": \"잘못된 이메일\",\n \"store/availability-subscriber.added-message\": \"성공적으로 등록된 이메일\",\n \"store/availability-subscriber.error-message\": \"실패했습니다. 다시 시도하십시오\",\n \"store/newsletter.label\": \"뉴스레터 구독\",\n \"store/newsletter.placeholder\": \"이메일 주소를 입력하세요\",\n \"store/newsletter.submit\": \"가입\",\n \"store/newsletter.invalidEmail\": \"유효한 이메일을 입력하십시오.\",\n \"store/newsletter.confirmationTitle\": \"감사합니다!\",\n \"store/newsletter.confirmationText\": \"귀하의 이메일이 성공적으로 등록되었습니다.\",\n \"store/newsletter.error\": \"문제가 발생했습니다. 나중에 다시 시도하십시오\",\n \"admin/editor.newsletter.title\": \"뉴스레터\",\n \"admin/editor.newsletter.description\": \"뉴스레터 양식\",\n \"admin/editor.newsletter.label\": \"구성 요소에서 사용하는 양식의 라벨\",\n \"admin/editor.newsletter.placeholder\": \"이메일 입력의 플레이스홀더\",\n \"admin/editor.newsletter.submit\": \"제출 단추의 라벨\",\n \"admin/editor.newsletter.hideLabel\": \"라벨 숨기기\",\n \"admin/editor.categoriesHighlighted.title\": \"강조된 카테고리\",\n \"admin/editor.categoriesHighlighted.description\": \"부문이 강조 표시된 카테고리\",\n \"admin/editor.categoriesHighlighted.item.categoryName\": \"카테고리 이름\",\n \"admin/editor.categoriesHighlighted.item.categoryImage\": \"카테고리 이미지\",\n \"admin/editor.categoriesHighlighted.category\": \"카테고리\",\n \"admin/editor.categoriesHighlighted.categoriesHighlighted\": \"강조된 카테고리\",\n \"admin/editor.categoriesHighlighted.showCategoriesHighlighted\": \"강조된 카테고리 표시\",\n \"admin/editor.categoriesHighlighted.quantityOfItems\": \"품목 수량\",\n \"admin/editor.categoriesHighlighted.cardShape\": \"상자 모양\",\n \"admin/editor.categoriesHighlighted.cardShape.squared\": \"사각형\",\n \"admin/editor.categoriesHighlighted.cardShape.rectangular\": \"직사각형\",\n \"store/searchBar.button.cancel.label\": \"취소\",\n \"store/buyButton-label-unavailable\": \"구매할 수 없음\",\n \"store/greeting\": \"안녕하세요\",\n \"store/store-components.share.label\": \"공유\",\n \"store/share.title\": \"{store} 의 {product} {sku}: \",\n \"admin/editor.info-card.title\": \"인포카드\",\n \"admin/editor.info-card.description\": \"이미지 및 텍스트를 표시하는 방법을 선택할 수 있는 구성 요소\",\n \"admin/editor.info-card.isFullModeStyle.title\": \"배경 이미지\",\n \"admin/editor.info-card.isFullModeStyle.description\": \"참일 경우 제공된 이미지가 배경 이미지로 사용되고 그 위에 텍스트가 표시됩니다.\",\n \"admin/editor.info-card.textPosition.title\": \"텍스트 위치\",\n \"admin/editor.info-card.textPosition.description\": \"왼쪽, 가운데 또는 오른쪽에 표시될 구성요소 텍스트의 위치 선택\",\n \"admin/editor.info-card.headline.title\": \"헤드라인\",\n \"admin/editor.info-card.headline.description\": \"구성 요소 내부의 헤드라인으로 표시할 텍스트\",\n \"admin/editor.info-card.subhead.title\": \"부제목\",\n \"admin/editor.info-card.subhead.description\": \"구성 요소 내부의 헤드라인 아래에 표시할 텍스트\",\n \"admin/editor.info-card.body-text.title\": \"본문 텍스트\",\n \"admin/editor.info-card.body-text.description\": \"구성 요소 내부 하위 헤더 아래의 텍스트\",\n \"admin/editor.info-card.callToActionMode.title\": \"콜 투 액션 모드\",\n \"admin/editor.info-card.callToActionMode.description\": \"콜 투 액션 디스플레이 조절\",\n \"admin/editor.info-card.callToActionText.title\": \"콜 투 액션 텍스트\",\n \"admin/editor.info-card.callToActionText.description\": \"콜 투 액션 요소 안에 표시할 텍스트\",\n \"admin/editor.info-card.callToActionUrl.title\": \"콜 투 액션 URL\",\n \"admin/editor.info-card.callToActionLinkTarget.title\": \"콜 투 액션 링크의 리디렉션 유형\",\n \"admin/editor.info-card.callToActionLinkTarget.description\": \"콜 투 액션 링크 대상 속성에 대한 설명\",\n \"admin/editor.info-card.callToActionLinkTarget.blank\": \"링크가 새 탭에서 열림\",\n \"admin/editor.info-card.callToActionLinkTarget.self\": \"링크가 같은 탭에서 열림\",\n \"admin/editor.info-card.callToActionUrl.description\": \"콜 투 액션(CTA)을 클릭할 때 이동할 URL\",\n \"admin/editor.info-card.imageUrl.title\": \"이미지\",\n \"admin/editor.info-card.imageUrl.description\": \"데스크톱에서 사용할 이미지\",\n \"admin/editor.info-card.mobileImageUrl.title\": \"모바일 이미지\",\n \"admin/editor.info-card.mobileImageUrl.description\": \"모바일에서 사용할 이미지\",\n \"admin/editor.info-card.textAlignment.title\": \"텍스트 정렬\",\n \"admin/editor.info-card.textAlignment.description\": \"구성 요소 내부의 텍스트 정렬 제어\",\n \"admin/editor.info-card.textPosition.left\": \"왼쪽\",\n \"admin/editor.info-card.textPosition.center\": \"가운데\",\n \"admin/editor.info-card.textPosition.right\": \"오른쪽\",\n \"admin/editor.info-card.textAlignment.left\": \"왼쪽\",\n \"admin/editor.info-card.textAlignment.center\": \"가운데\",\n \"admin/editor.info-card.textAlignment.right\": \"오른쪽\",\n \"admin/editor.info-card.textMode.title\": \"텍스트 모드\",\n \"admin/editor.info-card.textMode.description\": \"정보 카드가 수신해야 하는 텍스트 모드는 무엇인가요. HTML이 기본이며 서식 있는 텍스트에서는 마크다운을 사용할 수 있습니다.\",\n \"admin/editor.info-card.textMode.html\": \"HTML\",\n \"admin/editor.info-card.textMode.rich-text\": \"서식 있는 텍스트\",\n \"admin/editor.info-card.callAction.none\": \"없음\",\n \"admin/editor.info-card.callAction.button\": \"버튼\",\n \"admin/editor.info-card.callAction.link\": \"링크\",\n \"admin/editor.info-card.imageActionUrl.title\": \"이미지 액션 URL\",\n \"admin/editor.info-card.imageActionUrl.description\": \"URL을 전달하여 이미지를 링크하고 사용자를 리디렉션할 수 있습니다\",\n \"store/user-address.pickup\": \"{name} 에서 픽업\",\n \"store/user-address.order\": \"주문\",\n \"store/user-address.change\": \"변경\",\n \"store/user-address.add\": \"위치 추가\",\n \"admin/editor.notification-bar.title\": \"알림 표시줄\",\n \"admin/editor.notification-bar.description\": \"바 스타일로 텍스트를 표시하는 구성 요소\",\n \"admin/editor.notification-bar.content.title\": \"내용\",\n \"admin/editor.notification-bar.content.description\": \"바의 텍스트\",\n \"admin/editor.blockClass.title\": \"CSS Block Class\",\n \"admin/editor.blockClass.description\": \"손쉬운 스타일링을 위해 클래스 이름 추가\",\n \"admin/editor.image.title\": \"이미지\",\n \"admin/editor.image.description\": \"이미지 표시\",\n \"admin/editor.image.src.title\": \"이미지\",\n \"admin/editor.image.title.title\": \"이미지 제목\",\n \"admin/editor.image.title.description\": \"가리키면 표시할 제목\",\n \"admin/editor.image.alt.title\": \"대체 텍스트\",\n \"admin/editor.info-card.imageAltText.title\": \"이미지 대체 텍스트\",\n \"admin/editor.info-card.imageAltText.description\": \"이미지에 대한 대체 텍스트\",\n \"admin/editor.product-images.title\": \"제품 이미지\",\n \"admin/editor.product-images.description\": \"제품 이미지 요소로 제품 이미지를 원하는 대로 바꿀 수 있습니다\",\n \"admin/editor.product-images.zoomOptions.title\": \"줌 옵션\",\n \"admin/editor.product-images.zoomType.title\": \"줌 타입\",\n \"admin/editor.product-images.bgopacity.title\": \"배경 불투명도\",\n \"admin/editor.product-images.thumbnailsOrientation.title\": \"섬네일 방향\",\n \"admin/editor.product-images.gallery\": \"갤러리 안\",\n \"admin/editor.product-images.in-page\": \"페이지 안\",\n \"admin/editor.product-images.no-zoom\": \"줌 없음\",\n \"admin/editor.product-images.vertical\": \"수직\",\n \"admin/editor.product-images.horizontal\": \"수평\",\n \"admin/editor.product-images.position.title\": \"섬네일 위치\",\n \"admin/editor.product-images.position.description\": \"방향이 수직인 경우에만 사용\",\n \"admin/editor.product-images.left\": \"왼쪽\",\n \"admin/editor.product-images.right\": \"오른쪽\",\n \"admin/editor.product-images.displayThumbnailsArrows.title\": \"섬네일에 화살표 표시\",\n \"admin/editor.product-specifications.title\": \"제품 사양\",\n \"admin/editor.product-specifications.hidden-specifications.title\": \"숨겨진 사양\",\n \"admin/editor.product-specifications.hidden-specifications.description\": \"숨기려는 사양 이름 입력\",\n \"admin/editor.product-specifications.visible-specifications.title\": \"보이는 사양\",\n \"admin/editor.product-specifications.visible-specifications.description\": \"표시할 사양 이름을 입력합니다. 숨겨진 사양 또는 보이는 사양 중 하나만 제공합니다\",\n \"admin/editor.product-specifications.items.title\": \"사양\",\n \"admin/editor.logo.title\": \"로고\",\n \"admin/editor.logo.description\": \"스토어 로고를 표시하는 구성 요소\",\n \"admin/editor.logo.href.title\": \"이동할 링크\",\n \"admin/editor.logo.href.description\": \"로고를 클릭할 때 이동할 링크입니다. 클릭할 수 없도록 하려면 비워 두세요.\",\n \"admin/editor.logo.url.title\": \"이미지\",\n \"admin/editor.logo.url.description\": \"사용할 이미지\",\n \"admin/editor.logo.width.title\": \"너비\",\n \"admin/editor.logo.width.description\": \"로고에 사용할 너비.\",\n \"admin/editor.logo.height.title\": \"높이\",\n \"admin/editor.logo.height.description\": \"로고에 사용할 높이.\",\n \"admin/editor.logo.title.title\": \"대체 텍스트\",\n \"admin/editor.logo.title.description\": \"로고 이미지에 제공할 대체 텍스트\",\n \"admin/editor.logo.mobileWidth.title\": \"모바일 너비\",\n \"admin/editor.logo.mobileWidth.description\": \"모바일에서 사용할 너비입니다. 비어 있으면 제공된 너비 값을 사용합니다.\",\n \"admin/editor.logo.mobileHeight.title\": \"모바일 높이\",\n \"admin/editor.logo.mobileHeight.description\": \"모바일에서 사용할 높이입니다. 비어 있으면 제공된 높이 값을 사용합니다.\",\n \"store/skuSelector.seeMore\": \"{quantity} 더보기\",\n \"store/sku-selector.select.placeholder\": \"옵션 선택\",\n \"store/sku-selector.variation.select-an-option\": \"옵션 선택\",\n \"admin/editor.skuSelector.title\": \"SKU 선택기\",\n \"admin/editor.skuSelector.description\": \"사용자가 선택할 수 있도록 다양한 항목 변형을 표시하는 구성 요소\",\n \"admin/editor.skuSelector.seeMoreLabel.title\": \"라벨 더보기\",\n \"admin/editor.skuSelector.seeMoreLabel.description\": \"더보기 버튼의 라벨입니다. 사용 가능한 적절한 나머지 항목을 표시하려면 문자열에 {quantity} 플레이스홀더가 있어야합니다. 예 : \\\"{quantity} 더보기\\\"\",\n \"admin/editor.product-description.title\": \"제품 설명\",\n \"admin/editor.product-description.title-prop.title\": \"제목\",\n \"admin/editor.search-bar.title\": \"검색란\",\n \"admin/editor.search-bar.placeholder.title\": \"플레이스 홀더\",\n \"store/back-to-top.label\": \"맨 위로 이동\",\n \"admin/editor.toTop.title\": \"맨 위로 이동 버튼\",\n \"admin/editor.toTop.description\": \"클릭하면 페이지가 맨 위로 이동\",\n \"admin/editor.toTop.topPixel.title\": \"픽셀 수\",\n \"admin/editor.toTop.topPixel.description\": \"정의된 픽셀 값을 초과하면 맨 위로 돌아가기 위한 버튼이 나타납니다.\"\n}\n\n```" } ]
code_store-components_ddc50130
[ { "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 store-components/messages/id.json from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"store/search.placeholder\": \"Cari\",\n \"store/search.searchFor\": \"Cari {term}\",\n \"store/search.search-term-too-short\": \"Istilah pencarian terlalu singkat\",\n \"admin/editor.productName.title\": \"Nama produk\",\n \"admin/editor.productName.description\": \"Komponen nama produk\",\n \"admin/editor.productName.showBrandName.title\": \"Menampilkan nama merek\",\n \"admin/editor.productName.showSku.title\": \"Menampilkan sku\",\n \"admin/editor.productName.showProductReference.title\": \"Menampilkan referensi produk\",\n \"admin/editor.productName.displayMode.title\": \"Menampilkan tautan terkait dengan nama produk atau teks biasa\",\n \"admin/editor.productName.displayMode.plainText\": \"Teks biasa\",\n \"admin/editor.productName.displayMode.linkToProductPage\": \"Tautkan ke halaman produk\",\n \"admin/editor.productPrice.title\": \"Harga produk\",\n \"admin/editor.productPrice.description\": \"Komponen harga produk\",\n \"admin/editor.productPrice.showListPrice\": \"Tampilkan harga eceran produk\",\n \"admin/editor.productPrice.showSellingPriceRange\": \"Tampilkan rentang harga jual produk\",\n \"admin/editor.productPrice.showListPriceRange\": \"Tampilkan rentang harga eceran produk\",\n \"admin/editor.productPrice.showLabels\": \"Tampilkan label harga produk\",\n \"admin/editor.productPrice.showInstallments\": \"Tampilkan cicilan pembayaran produk\",\n \"admin/editor.productPrice.showSavings\": \"Tampilkan perbedaan harga eceran dan harga jual produk\",\n \"admin/editor.productPrice.labelSellingPrice\": \"Label harga jual\",\n \"admin/editor.productPrice.labelListPrice\": \"Label harga eceran\",\n \"admin/editor.share.title\": \"Bagikan\",\n \"admin/editor.share.description\": \"Daftar tombol bagikan\",\n \"admin/editor.share.social.title\": \"Jejaring Sosial\",\n \"store/product-description.title\": \"Deskripsi Produk\",\n \"store/product-description.property\": \"Properti\",\n \"store/product-description.specification\": \"Spesifikasi\",\n \"store/product-description.collapse.showMore\": \"Tampilkan lebih banyak\",\n \"store/product-description.collapse.showLess\": \"Tampilkan lebih sedikit\",\n \"store/pricing.installment-display\": \"Atau {installments} {times} sebesar {installmentPrice}\",\n \"store/pricing.from\": \"Dari\",\n \"store/pricing.to\": \"Hingga\",\n \"store/pricing.savings\": \"Hemat {savings}\",\n \"store/pricing.interest-free\": \"tanpa bunga\",\n \"store/loading\": \"Memuat…\",\n \"store/shipping.deliveryName\": \"Pengiriman\",\n \"store/shipping.deliveryEstimate\": \"Estimasi\",\n \"store/shipping.deliveryPrice\": \"Nilai\",\n \"store/shipping.label\": \"Hitung pengiriman\",\n \"store/shipping.free\": \"Gratis\",\n \"store/shipping.empty-sla\": \"Tidak tersedia informasi pengiriman untuk kode pos yang diinformasikan\",\n \"store/buy-button.add-to-cart\": \"Tambah ke troli\",\n \"store/buybutton.buy-success\": \"Item ditambah ke troli Anda\",\n \"store/buybutton.buy-success-duplicate\": \"Item sudah masuk troli\",\n \"store/buybutton.add-failure\": \"Terjadi kesalahan sehingga item tidak ditambah ke troli Anda!\",\n \"store/buybutton.buy-offline-success\": \"Item ditambah ke troli offline Anda\",\n \"store/buybutton.select-sku-variations\": \"Pilih opsi dari tiap variasi\",\n \"store/buybutton.see-cart\": \"Lihat troli\",\n \"store/technicalspecifications.title\": \"Spesifikasi Teknis\",\n \"store/availability-subscriber.title\": \"Produk ini tidak tersedia sekarang\",\n \"store/availability-subscriber.subscribe-label\": \"Saya ingin tahu kapan produk ini menjadi tersedia\",\n \"store/availability-subscriber.email-placeholder\": \"Email\",\n \"store/availability-subscriber.name-placeholder\": \"Nama\",\n \"store/availability-subscriber.send-label\": \"Kirim\",\n \"store/availability-subscriber.invalid-email\": \"Email tidak valid\",\n \"store/availability-subscriber.added-message\": \"Email berhasil didaftarkan\",\n \"store/availability-subscriber.error-message\": \"Gagal, silakan coba lagi\",\n \"store/newsletter.label\": \"Berlangganan buletin kami\",\n \"store/newsletter.placeholder\": \"Masukkan alamat email Anda\",\n \"store/newsletter.submit\": \"Daftar\",\n \"store/newsletter.invalidEmail\": \"Harap masukkan alamat email yang valid.\",\n \"store/newsletter.confirmationTitle\": \"Terima kasih!\",\n \"store/newsletter.confirmationText\": \"Email Anda berhasil didaftarkan.\",\n \"store/newsletter.error\": \"Terjadi kesalahan, silakan coba lagi nanti\",\n \"admin/editor.newsletter.title\": \"Buletin\",\n \"admin/editor.newsletter.description\": \"Formulir buletin\",\n \"admin/editor.newsletter.label\": \"Label formulir yang digunakan komponen\",\n \"admin/editor.newsletter.placeholder\": \"Placeholder input email\",\n \"admin/editor.newsletter.submit\": \"Label tombol kirim\",\n \"admin/editor.newsletter.hideLabel\": \"Sembunyikan label\",\n \"admin/editor.categoriesHighlighted.title\": \"Kategori yang Disorot\",\n \"admin/editor.categoriesHighlighted.description\": \"Kategori yang Disorot dalam Departemen\",\n \"admin/editor.categoriesHighlighted.item.categoryName\": \"Nama Kategori\",\n \"admin/editor.categoriesHighlighted.item.categoryImage\": \"Gambar Kategori\",\n \"admin/editor.categoriesHighlighted.category\": \"Kategori\",\n \"admin/editor.categoriesHighlighted.categoriesHighlighted\": \"Kategori yang Disorot\",\n \"admin/editor.categoriesHighlighted.showCategoriesHighlighted\": \"Tampilkan kategori yang disorot\",\n \"admin/editor.categoriesHighlighted.quantityOfItems\": \"Jumlah item\",\n \"admin/editor.categoriesHighlighted.cardShape\": \"Bentuk kotak\",\n \"admin/editor.categoriesHighlighted.cardShape.squared\": \"Persegi\",\n \"admin/editor.categoriesHighlighted.cardShape.rectangular\": \"Persegi panjang\",\n \"store/searchBar.button.cancel.label\": \"Batalkan\",\n \"store/buyButton-label-unavailable\": \"Tidak tersedia\",\n \"store/greeting\": \"Halo\",\n \"store/store-components.share.label\": \"Bagikan\",\n \"store/share.title\": \"{product} {sku} di {store}: \",\n \"admin/editor.info-card.title\": \"Kartu Info\",\n \"admin/editor.info-card.description\": \"Komponen dengan gambar dan teks dengan cara tampilan yang dapat dipilih\",\n \"admin/editor.info-card.isFullModeStyle.title\": \"Gambar sebagai latar belakang\",\n \"admin/editor.info-card.isFullModeStyle.description\": \"Jika benar, gambar yang diberikan akan digunakan sebagai gambar latar belakang dan teks akan ditampilkan di atasnya\",\n \"admin/editor.info-card.textPosition.title\": \"Posisi Teks\",\n \"admin/editor.info-card.textPosition.description\": \"Pilih posisi teks komponen akan ditampilkan, kiri, tengah, atau kanan\",\n \"admin/editor.info-card.headline.title\": \"Judul\",\n \"admin/editor.info-card.headline.description\": \"Teks akan ditampilkan sebagai judul di dalam komponen\",\n \"admin/editor.info-card.subhead.title\": \"Subjudul\",\n \"admin/editor.info-card.subhead.description\": \"Teks akan ditampilkan di bawah judul di dalam komponen\",\n \"admin/editor.info-card.body-text.title\": \"Teks isi\",\n \"admin/editor.info-card.body-text.description\": \"Teks di bawah subheader di dalam komponen\",\n \"admin/editor.info-card.callToActionMode.title\": \"Mode Pesan Ajakan\",\n \"admin/editor.info-card.callToActionMode.description\": \"Kontrol cara menampilkan pesan ajakan Anda\",\n \"admin/editor.info-card.callToActionText.title\": \"Teks Pesan Ajakan\",\n \"admin/editor.info-card.callToActionText.description\": \"Teks untuk menampilkan komponen pesan ajakan di dalam\",\n \"admin/editor.info-card.callToActionUrl.title\": \"URL Pesan Ajakan\",\n \"admin/editor.info-card.callToActionLinkTarget.title\": \"Jenis pengalihan Tautan Pesan Ajakan\",\n \"admin/editor.info-card.callToActionLinkTarget.description\": \"Deskripsi properti callToActionLinkTarget\",\n \"admin/editor.info-card.callToActionLinkTarget.blank\": \"Tautan terbuka di tab baru\",\n \"admin/editor.info-card.callToActionLinkTarget.self\": \"Tautan terbuka di tab sama\",\n \"admin/editor.info-card.callToActionUrl.description\": \"URL yang menjadi tujuan pengalihan saat CTA diklik\",\n \"admin/editor.info-card.imageUrl.title\": \"Gambar\",\n \"admin/editor.info-card.imageUrl.description\": \"Gambar akan digunakan di desktop\",\n \"admin/editor.info-card.mobileImageUrl.title\": \"Gambar Seluler\",\n \"admin/editor.info-card.mobileImageUrl.description\": \"Gambar akan digunakan di seluler\",\n \"admin/editor.info-card.textAlignment.title\": \"Perataan Teks\",\n \"admin/editor.info-card.textAlignment.description\": \"Kontrol perataan teks di dalam komponen\",\n \"admin/editor.info-card.textPosition.left\": \"Kiri\",\n \"admin/editor.info-card.textPosition.center\": \"Tengah\",\n \"admin/editor.info-card.textPosition.right\": \"Kanan\",\n \"admin/editor.info-card.textAlignment.left\": \"Kiri\",\n \"admin/editor.info-card.textAlignment.center\": \"Tengah\",\n \"admin/editor.info-card.textAlignment.right\": \"Kanan\",\n \"admin/editor.info-card.textMode.title\": \"Mode Teks\",\n \"admin/editor.info-card.textMode.description\": \"Mode teks apa yang seharusnya diharapkan diterima Kartu Info. HTM merupakan default dan Teks Kaya memungkinkan Anda untuk menggunakan Markdown.\",\n \"admin/editor.info-card.textMode.html\": \"HTML\",\n \"admin/editor.info-card.textMode.rich-text\": \"Rich-Text\",\n \"admin/editor.info-card.callAction.none\": \"Tidak ada\",\n \"admin/editor.info-card.callAction.button\": \"Tombol\",\n \"admin/editor.info-card.callAction.link\": \"Tautan\",\n \"admin/editor.info-card.imageActionUrl.title\": \"URL Tindakan Gambar\",\n \"admin/editor.info-card.imageActionUrl.description\": \"Teruskan URL untuk membuatkan gambar tautan dan dapat mengalihkan pengguna\",\n \"store/user-address.pickup\": \"Ambil di {name}\",\n \"store/user-address.order\": \"Pesan\",\n \"store/user-address.change\": \"Ubah\",\n \"store/user-address.add\": \"Tambah Lokasi\",\n \"admin/editor.notification-bar.title\": \"Bilah pemberitahuan\",\n \"admin/editor.notification-bar.description\": \"Komponen yang menampilkan teks dalam gaya batang\",\n \"admin/editor.notification-bar.content.title\": \"Konten\",\n \"admin/editor.notification-bar.content.description\": \"Teks batang\",\n \"admin/editor.blockClass.title\": \"Kelas Blok CSS\",\n \"admin/editor.blockClass.description\": \"Tambah nama kelas ekstra untuk memudahkan pengaturan gaya\",\n \"admin/editor.image.title\": \"Gambar\",\n \"admin/editor.image.description\": \"Tampilkan gambar apa pun\",\n \"admin/editor.image.src.title\": \"Gambar\",\n \"admin/editor.image.title.title\": \"Judul gambar\",\n \"admin/editor.image.title.description\": \"Judul akan ditampilkan saat mengambangkan kursor\",\n \"admin/editor.image.alt.title\": \"Teks alternatif\",\n \"admin/editor.info-card.imageAltText.title\": \"Teks alternatif gambar\",\n \"admin/editor.info-card.imageAltText.description\": \"Teks alternatif untuk gambar\",\n \"admin/editor.product-images.title\": \"Gambar Produk\",\n \"admin/editor.product-images.description\": \"Komponen gambar produk memungkinkan Anda untuk menyesuaikan gambar produk\",\n \"admin/editor.product-images.zoomOptions.title\": \"Opsi Zoom\",\n \"admin/editor.product-images.zoomType.title\": \"Jenis Zoom\",\n \"admin/editor.product-images.bgopacity.title\": \"Opasitas latar belakang\",\n \"admin/editor.product-images.thumbnailsOrientation.title\": \"Orientasi Gambar Mini\",\n \"admin/editor.product-images.gallery\": \"Di Galeri\",\n \"admin/editor.product-images.in-page\": \"Di halaman\",\n \"admin/editor.product-images.no-zoom\": \"Tidak ada zoom\",\n \"admin/editor.product-images.vertical\": \"Vertikal\",\n \"admin/editor.product-images.horizontal\": \"Horizontal\",\n \"admin/editor.product-images.position.title\": \"Posisi gambar mini\",\n \"admin/editor.product-images.position.description\": \"Digunakan hanya saat orientasi vertikal\",\n \"admin/editor.product-images.left\": \"Kiri\",\n \"admin/editor.product-images.right\": \"Kanan\",\n \"admin/editor.product-images.displayThumbnailsArrows.title\": \"Tampilkan Panah di Gambar Mini\",\n \"admin/editor.product-specifications.title\": \"Spesifikasi Produk\",\n \"admin/editor.product-specifications.hidden-specifications.title\": \"Spesifikasi Tersembunyi\",\n \"admin/editor.product-specifications.hidden-specifications.description\": \"Ketik nama spesifikasi yang Anda ingin sembunyikan\",\n \"admin/editor.product-specifications.visible-specifications.title\": \"Spesifikasi Terlihat\",\n \"admin/editor.product-specifications.visible-specifications.description\": \"Ketik nama spesifikasi yang Anda ingin munculkan. Cukup beri satu spesifikasi tersembunyi atau spesifikasi terlihat\",\n \"admin/editor.product-specifications.items.title\": \"Spesifikasi\",\n \"admin/editor.logo.title\": \"Logo\",\n \"admin/editor.logo.description\": \"Komponen untuk menampilkan logo toko Anda\",\n \"admin/editor.logo.href.title\": \"Tautan untuk mengalihkan\",\n \"admin/editor.logo.href.description\": \"Tautan untuk dialihkan saat logo diklik. Biarkan kosong agar tidak dapat diklik.\",\n \"admin/editor.logo.url.title\": \"Gambar\",\n \"admin/editor.logo.url.description\": \"Gambar untuk digunakan\",\n \"admin/editor.logo.width.title\": \"Lebar\",\n \"admin/editor.logo.width.description\": \"Lebar akan digunakan untuk logo.\",\n \"admin/editor.logo.height.title\": \"Tinggi\",\n \"admin/editor.logo.height.description\": \"Tinggi akan digunakan untuk logo.\",\n \"admin/editor.logo.title.title\": \"Teks alternatif\",\n \"admin/editor.logo.title.description\": \"Teks alternatif akan diberikan ke gambar logo\",\n \"admin/editor.logo.mobileWidth.title\": \"Lebar Seluler\",\n \"admin/editor.logo.mobileWidth.description\": \"Lebar akan digunakan di seluler. Jika kosong, akan gunakan nilai lebar yang diberikan.\",\n \"admin/editor.logo.mobileHeight.title\": \"Tinggi Seluler\",\n \"admin/editor.logo.mobileHeight.description\": \"Tinggi digunakan di seluler. Jika kosong, akan gunakan nilai tinggi yang diberikan.\",\n \"store/skuSelector.seeMore\": \"Lihat {quantity} lainnya\",\n \"store/sku-selector.select.placeholder\": \"Pilih opsi\",\n \"store/sku-selector.variation.select-an-option\": \"Pilih opsi\",\n \"admin/editor.skuSelector.title\": \"Pemilih SKU\",\n \"admin/editor.skuSelector.description\": \"Komponen yang menampilkan berbagai variasi tertentu pada suatu item yang akan dipilih pengguna\",\n \"admin/editor.skuSelector.seeMoreLabel.title\": \"Label lihat lainnya\",\n \"admin/editor.skuSelector.seeMoreLabel.description\": \"Tombol label lihat lainnya. String harus memiliki placeholder {quantity} untuk menampilkan sisa item tepat yang tersedia. Contoh: \\\"Lihat {quantity} lainnya\\\"\",\n \"admin/editor.product-description.title\": \"Deskripsi produk\",\n \"admin/editor.product-description.title-prop.title\": \"Judul\",\n \"admin/editor.search-bar.title\": \"Bilah pencarian\",\n \"admin/editor.search-bar.placeholder.title\": \"Placeholder\",\n \"store/back-to-top.label\": \"Kembali ke atas\",\n \"admin/editor.toTop.title\": \"Tombol kembali ke atas\",\n \"admin/editor.toTop.description\": \"Saat diklik, ini membawa halaman ke atas\",\n \"admin/editor.toTop.topPixel.title\": \"Jumlah piksel\",\n \"admin/editor.toTop.topPixel.description\": \"Jika melampaui nilai piksel yang ditetapkan, tombol untuk kembali ke atas akan muncul\"\n}\n\n```" } ]
code_store-components_d0d30e5d
[ { "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 store-components/messages/no.json from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"store/search.placeholder\": \"Søk\",\n \"store/search.searchFor\": \"Søk etter {term}\",\n \"store/search.search-term-too-short\": \"Søketermen er for kort\",\n \"admin/editor.productName.title\": \"Produktnavn\",\n \"admin/editor.productName.description\": \"Produktnavn på komponent\",\n \"admin/editor.productName.showBrandName.title\": \"Viser merkenavnet\",\n \"admin/editor.productName.showSku.title\": \"Viser sku\",\n \"admin/editor.productName.showProductReference.title\": \"Viser produktreferansen\",\n \"admin/editor.productName.displayMode.title\": \"Viser lenken som er tilknyttet produktnavnet eller ren tekst\",\n \"admin/editor.productName.displayMode.plainText\": \"Ren tekst\",\n \"admin/editor.productName.displayMode.linkToProductPage\": \"Lenke til produktside\",\n \"admin/editor.productPrice.title\": \"Produktpris\",\n \"admin/editor.productPrice.description\": \"Produktpris på komponent\",\n \"admin/editor.productPrice.showListPrice\": \"Vis produktlistepris\",\n \"admin/editor.productPrice.showSellingPriceRange\": \"Vis produktets salgsprisområde\",\n \"admin/editor.productPrice.showListPriceRange\": \"Vis produktets listeprisområde\",\n \"admin/editor.productPrice.showLabels\": \"Vis produktets prisetiketter\",\n \"admin/editor.productPrice.showInstallments\": \"Vis produktets betalingsavdrag\",\n \"admin/editor.productPrice.showSavings\": \"Vis produktliste og salgsprisdifferanse\",\n \"admin/editor.productPrice.labelSellingPrice\": \"Salgsprisens etikett\",\n \"admin/editor.productPrice.labelListPrice\": \"Listeprisens etikett\",\n \"admin/editor.share.title\": \"Del\",\n \"admin/editor.share.description\": \"Liste over del-knapper\",\n \"admin/editor.share.social.title\": \"Sosiale nettverk\",\n \"store/product-description.title\": \"Produktbeskrivelse\",\n \"store/product-description.property\": \"Egenskap\",\n \"store/product-description.specification\": \"Spesifikasjon\",\n \"store/product-description.collapse.showMore\": \"Vis mer\",\n \"store/product-description.collapse.showLess\": \"Vis mindre\",\n \"store/pricing.installment-display\": \"Eller {installments} {times} av {installmentPrice}\",\n \"store/pricing.from\": \"Fra\",\n \"store/pricing.to\": \"Til\",\n \"store/pricing.savings\": \"Spar {savings}\",\n \"store/pricing.interest-free\": \"rentefri\",\n \"store/loading\": \"Laster inn…\",\n \"store/shipping.deliveryName\": \"Levering\",\n \"store/shipping.deliveryEstimate\": \"Anslag\",\n \"store/shipping.deliveryPrice\": \"Verdi\",\n \"store/shipping.label\": \"Beregn frakt\",\n \"store/shipping.free\": \"Gratis\",\n \"store/shipping.empty-sla\": \"Det finnes ingen forsendelsesinformasjon tilgjengelig for dette postnummeret\",\n \"store/buy-button.add-to-cart\": \"Legg i handlekurv\",\n \"store/buybutton.buy-success\": \"Vare lagt i handlevognen\",\n \"store/buybutton.buy-success-duplicate\": \"Varen finnes allerede i handlevognen\",\n \"store/buybutton.add-failure\": \"Noe gikk galt og varen ble ikke lagt i handlekurven!\",\n \"store/buybutton.buy-offline-success\": \"Vare lagt i offline handlekurv\",\n \"store/buybutton.select-sku-variations\": \"Velg et alternativ for hver variant\",\n \"store/buybutton.see-cart\": \"Vis handlekurv\",\n \"store/technicalspecifications.title\": \"Tekniske spesifikasjoner\",\n \"store/availability-subscriber.title\": \"Dette produktet er ikke tilgjengelig nå\",\n \"store/availability-subscriber.subscribe-label\": \"Jeg få beskjed når dette produktet blir tilgjengelig\",\n \"store/availability-subscriber.email-placeholder\": \"E-post\",\n \"store/availability-subscriber.name-placeholder\": \"Navn\",\n \"store/availability-subscriber.send-label\": \"Send\",\n \"store/availability-subscriber.invalid-email\": \"Ugyldig e-postadresse\",\n \"store/availability-subscriber.added-message\": \"E-postadressen ble registrert\",\n \"store/availability-subscriber.error-message\": \"Mislyktes, prøv igjen\",\n \"store/newsletter.label\": \"Abonner på nyhetsbrevet vårt\",\n \"store/newsletter.placeholder\": \"Skriv inn e-postadressen din\",\n \"store/newsletter.submit\": \"Registrer deg\",\n \"store/newsletter.invalidEmail\": \"Skriv inn en gyldig e-postadresse.\",\n \"store/newsletter.confirmationTitle\": \"Tusen takk!\",\n \"store/newsletter.confirmationText\": \"E-postadressen ble registrert.\",\n \"store/newsletter.error\": \"Noe gikk galt. Prøv igjen senere\",\n \"admin/editor.newsletter.title\": \"Nyhetsbrev\",\n \"admin/editor.newsletter.description\": \"Nyhetsbrevskjema\",\n \"admin/editor.newsletter.label\": \"Etikett for skjemaet som brukes av komponenten\",\n \"admin/editor.newsletter.placeholder\": \"Plassholder for e-postinndata\",\n \"admin/editor.newsletter.submit\": \"Etikett for \\\"Send inn\\\"-knapp\",\n \"admin/editor.newsletter.hideLabel\": \"Skjul etikett\",\n \"admin/editor.categoriesHighlighted.title\": \"Markerte kategorier\",\n \"admin/editor.categoriesHighlighted.description\": \"Markerte kategorier for avdelingen\",\n \"admin/editor.categoriesHighlighted.item.categoryName\": \"Kategorinavn\",\n \"admin/editor.categoriesHighlighted.item.categoryImage\": \"Kategoribilde\",\n \"admin/editor.categoriesHighlighted.category\": \"Kategori\",\n \"admin/editor.categoriesHighlighted.categoriesHighlighted\": \"Markerte kategorier\",\n \"admin/editor.categoriesHighlighted.showCategoriesHighlighted\": \"Vis markerte kategorier\",\n \"admin/editor.categoriesHighlighted.quantityOfItems\": \"Antall varer\",\n \"admin/editor.categoriesHighlighted.cardShape\": \"Eskens form\",\n \"admin/editor.categoriesHighlighted.cardShape.squared\": \"Firkantet\",\n \"admin/editor.categoriesHighlighted.cardShape.rectangular\": \"Rektangulær\",\n \"store/searchBar.button.cancel.label\": \"Avbryt\",\n \"store/buyButton-label-unavailable\": \"Utilgjengelig\",\n \"store/greeting\": \"Hei\",\n \"store/store-components.share.label\": \"Del\",\n \"store/share.title\": \"{product} {sku} hos {store}: \",\n \"admin/editor.info-card.title\": \"Infokort\",\n \"admin/editor.info-card.description\": \"En komponent med bilde og tekst som gjør at du kan velge hvordan du viser dem\",\n \"admin/editor.info-card.isFullModeStyle.title\": \"Bilde som bakgrunn\",\n \"admin/editor.info-card.isFullModeStyle.description\": \"Hvis det stemmer, vil det angitte bildet bli brukt som bakgrunnsbilde og tekst vil vises over det\",\n \"admin/editor.info-card.textPosition.title\": \"Tekstplassering\",\n \"admin/editor.info-card.textPosition.description\": \"Velg hvilken posisjon av komponentteksten som skal vises, venstre, sentrum eller høyre\",\n \"admin/editor.info-card.headline.title\": \"Overskrift\",\n \"admin/editor.info-card.headline.description\": \"Tekst som skal vises som overskrift inne i komponenten\",\n \"admin/editor.info-card.subhead.title\": \"Undertittel\",\n \"admin/editor.info-card.subhead.description\": \"Tekst som skal vises under overskriften inne i komponenten\",\n \"admin/editor.info-card.body-text.title\": \"Hovedtekst\",\n \"admin/editor.info-card.body-text.description\": \"Tekst under undertittel inne i komponenten\",\n \"admin/editor.info-card.callToActionMode.title\": \"Oppfordring til handling-modus\",\n \"admin/editor.info-card.callToActionMode.description\": \"Kontrollerer hvordan oppfordring til handling vises\",\n \"admin/editor.info-card.callToActionText.title\": \"Oppfordring til handling-tekst\",\n \"admin/editor.info-card.callToActionText.description\": \"Tekst som skal vises i oppfordring til handling-komponenten\",\n \"admin/editor.info-card.callToActionUrl.title\": \"Oppfordring til handling-URL\",\n \"admin/editor.info-card.callToActionLinkTarget.title\": \"Omadresseringstype for oppfordring til handling-lenke\",\n \"admin/editor.info-card.callToActionLinkTarget.description\": \"callToActionLinkTarget egenskapsbeskrivelse\",\n \"admin/editor.info-card.callToActionLinkTarget.blank\": \"Lenken åpnes i en ny fane\",\n \"admin/editor.info-card.callToActionLinkTarget.self\": \"Lenken åpnes i samme fane\",\n \"admin/editor.info-card.callToActionUrl.description\": \"URL å omdirigere til når CTA klikkes på\",\n \"admin/editor.info-card.imageUrl.title\": \"Bilde\",\n \"admin/editor.info-card.imageUrl.description\": \"Bilde som skal brukes på skrivebordet\",\n \"admin/editor.info-card.mobileImageUrl.title\": \"Mobilbilde\",\n \"admin/editor.info-card.mobileImageUrl.description\": \"Bilde som skal brukes på mobil\",\n \"admin/editor.info-card.textAlignment.title\": \"Tekstjustering\",\n \"admin/editor.info-card.textAlignment.description\": \"Kontroller tekstjusteringen inne i komponenten\",\n \"admin/editor.info-card.textPosition.left\": \"Venstre\",\n \"admin/editor.info-card.textPosition.center\": \"Midten\",\n \"admin/editor.info-card.textPosition.right\": \"Høyre\",\n \"admin/editor.info-card.textAlignment.left\": \"Venstre\",\n \"admin/editor.info-card.textAlignment.center\": \"Midten\",\n \"admin/editor.info-card.textAlignment.right\": \"Høyre\",\n \"admin/editor.info-card.textMode.title\": \"Tekstmodus\",\n \"admin/editor.info-card.textMode.description\": \"Hvilken tekstmodus InfoCard forventer å motta. HTML er standard og \\\"Rik tekst\\\" lar deg bruke Markdown.\",\n \"admin/editor.info-card.textMode.html\": \"HTML\",\n \"admin/editor.info-card.textMode.rich-text\": \"Rik tekst\",\n \"admin/editor.info-card.callAction.none\": \"Ingen\",\n \"admin/editor.info-card.callAction.button\": \"Knapp\",\n \"admin/editor.info-card.callAction.link\": \"Lenke\",\n \"admin/editor.info-card.imageActionUrl.title\": \"Bildehandlings-URL\",\n \"admin/editor.info-card.imageActionUrl.description\": \"Send URL for å gjøre bildet til en lenke og i stand til å omdirigere brukeren\",\n \"store/user-address.pickup\": \"Hent hos {name}\",\n \"store/user-address.order\": \"Bestill til\",\n \"store/user-address.change\": \"Endre\",\n \"store/user-address.add\": \"Legg til sted\",\n \"admin/editor.notification-bar.title\": \"Varslingslinje\",\n \"admin/editor.notification-bar.description\": \"En komponent som viser tekst i linjestil\",\n \"admin/editor.notification-bar.content.title\": \"Innhold\",\n \"admin/editor.notification-bar.content.description\": \"Tekst på linjen\",\n \"admin/editor.blockClass.title\": \"CSS-blokkeringsklasse\",\n \"admin/editor.blockClass.description\": \"Legger til et ekstra klassenavn for å lette stilen\",\n \"admin/editor.image.title\": \"Bilde\",\n \"admin/editor.image.description\": \"Vis hvilket som helst bilde\",\n \"admin/editor.image.src.title\": \"Bilde\",\n \"admin/editor.image.title.title\": \"Bildetittel\",\n \"admin/editor.image.title.description\": \"Tittel som skal vises på pekeren\",\n \"admin/editor.image.alt.title\": \"Alternativ tekst\",\n \"admin/editor.info-card.imageAltText.title\": \"Billed alternativ tekst\",\n \"admin/editor.info-card.imageAltText.description\": \"Alternativ tekst til billedet\",\n \"admin/editor.product-images.title\": \"Produktbilder\",\n \"admin/editor.product-images.description\": \"Produktbildekomponenten lar deg tilpasse produktbildene\",\n \"admin/editor.product-images.zoomOptions.title\": \"Zoom-innstillinger\",\n \"admin/editor.product-images.zoomType.title\": \"Zoom-type\",\n \"admin/editor.product-images.bgopacity.title\": \"Bakgrunnsopasitet\",\n \"admin/editor.product-images.thumbnailsOrientation.title\": \"Retning på miniatyrbilder\",\n \"admin/editor.product-images.gallery\": \"I galleri\",\n \"admin/editor.product-images.in-page\": \"På side\",\n \"admin/editor.product-images.no-zoom\": \"Ingen zoom\",\n \"admin/editor.product-images.vertical\": \"Vertikal\",\n \"admin/editor.product-images.horizontal\": \"Horisontal\",\n \"admin/editor.product-images.position.title\": \"Plassering av miniatyrbilde\",\n \"admin/editor.product-images.position.description\": \"Brukes kun når plasseringen er vertikal\",\n \"admin/editor.product-images.left\": \"Venstre\",\n \"admin/editor.product-images.right\": \"Høyre\",\n \"admin/editor.product-images.displayThumbnailsArrows.title\": \"Vis piler i miniatyrbilder\",\n \"admin/editor.product-specifications.title\": \"Produktspesifikasjoner\",\n \"admin/editor.product-specifications.hidden-specifications.title\": \"Skjulte spesifikasjoner\",\n \"admin/editor.product-specifications.hidden-specifications.description\": \"Typenavn for spesifikasjoner du vil skjule\",\n \"admin/editor.product-specifications.visible-specifications.title\": \"Synlige spesifikasjoner\",\n \"admin/editor.product-specifications.visible-specifications.description\": \"Typrenavn på spesifikasjoner du ønsker å vise. Oppgi kun én av de skjulte spesifikasjonene eller de synlige spesifikasjonene\",\n \"admin/editor.product-specifications.items.title\": \"Spesifikasjon\",\n \"admin/editor.logo.title\": \"Logo\",\n \"admin/editor.logo.description\": \"Komponent som skal vise butikklogoen din\",\n \"admin/editor.logo.href.title\": \"Lenke til omdirigering\",\n \"admin/editor.logo.href.description\": \"Lenke som skal omdirigeres når logoen klikkes på. La den være tom for at den ikke skal være klikkbar.\",\n \"admin/editor.logo.url.title\": \"Bilde\",\n \"admin/editor.logo.url.description\": \"Bilde som skal brukes\",\n \"admin/editor.logo.width.title\": \"Bredde\",\n \"admin/editor.logo.width.description\": \"Bredden som skal brukes på logo.\",\n \"admin/editor.logo.height.title\": \"Høyde\",\n \"admin/editor.logo.height.description\": \"Høyden som skal brukes på logo.\",\n \"admin/editor.logo.title.title\": \"Alternativ tekst\",\n \"admin/editor.logo.title.description\": \"Alternativ tekst som skal fremskaffes til logobilde\",\n \"admin/editor.logo.mobileWidth.title\": \"Mobilbredde\",\n \"admin/editor.logo.mobileWidth.description\": \"Bredden som skal brukes på mobilen. Hvis tom, vil den oppgitte breddeverdien brukes.\",\n \"admin/editor.logo.mobileHeight.title\": \"Mobilhøyde\",\n \"admin/editor.logo.mobileHeight.description\": \"Høyden som skal brukes på mobilen. Hvis tom, vil den angitte høydeverdien brukes.\",\n \"store/skuSelector.seeMore\": \"Se {quantity} mer\",\n \"store/sku-selector.select.placeholder\": \"Velg et alternativ\",\n \"store/sku-selector.variation.select-an-option\": \"Velg et alternativ\",\n \"admin/editor.skuSelector.title\": \"SKU-velger\",\n \"admin/editor.skuSelector.description\": \"Komponent som viser forskjellige varianter av en vare brukeren kan velge\",\n \"admin/editor.skuSelector.seeMoreLabel.title\": \"Se flere etiketter\",\n \"admin/editor.skuSelector.seeMoreLabel.description\": \"Etiketten på Se mer-knappen. Strengen må ha en {quantity} plassholder for å vise de riktige gjenstående varene som er tilgjengelig. Eksempel: \\\"Se {quantity} mer\\\"\",\n \"admin/editor.product-description.title\": \"Produktbeskrivelse\",\n \"admin/editor.product-description.title-prop.title\": \"Tittel\",\n \"admin/editor.search-bar.title\": \"Søkefelt\",\n \"admin/editor.search-bar.placeholder.title\": \"Plassholder\",\n \"store/back-to-top.label\": \"Tilbake til toppen\",\n \"admin/editor.toTop.title\": \"Tilbake til toppen-knapp\",\n \"admin/editor.toTop.description\": \"Når den er klikket på tas siden til toppen\",\n \"admin/editor.toTop.topPixel.title\": \"Antall piksler\",\n \"admin/editor.toTop.topPixel.description\": \"Når du overskrider den angitte pikselverdien, vil knappen for å gå tilbake til toppen vises\"\n}\n\n```" } ]
code_store-components_ae472810
[ { "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 store-components/messages/th.json from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"store/search.placeholder\": \"การค้นหา\",\n \"store/search.searchFor\": \"ค้นหา {term}\",\n \"store/search.search-term-too-short\": \"สิค้าที่ค้นหาสั้นเกินไป\",\n \"admin/editor.productName.title\": \"ชื่อผลิตภัณฑ์\",\n \"admin/editor.productName.description\": \"คอมโพเนนต์ของชื่อผลิตภัณฑ์\",\n \"admin/editor.productName.showBrandName.title\": \"แสดงชื่อแบรนด์\",\n \"admin/editor.productName.showSku.title\": \"แสดง SKU\",\n \"admin/editor.productName.showProductReference.title\": \"แสดงข้อมูลอ้างอิงผลิตภัณฑ์\",\n \"admin/editor.productName.displayMode.title\": \"แสดฃลิงก์ที่สัมพันธ์กับชื่อผลิตภัณฑ์หรือข้อความธรรมดา\",\n \"admin/editor.productName.displayMode.plainText\": \"ข้อความธรรมดา\",\n \"admin/editor.productName.displayMode.linkToProductPage\": \"ลิงก์ที่เชีื่อมโยงไปยังหน้าผลิตภัณฑ์\",\n \"admin/editor.productPrice.title\": \"ราคาผลิตภัณฑ์\",\n \"admin/editor.productPrice.description\": \"คอมโพเนนต์ของราคาสินค้า\",\n \"admin/editor.productPrice.showListPrice\": \"แสดงราคาตามบัญขีราคาของผลิตภัณฑ์\",\n \"admin/editor.productPrice.showSellingPriceRange\": \"แสดงช่วงราคาขายของผลิตภัณฑ์\",\n \"admin/editor.productPrice.showListPriceRange\": \"แสดงช่วงราคาตามบัญขีราคาของผลิตภัณฑ์\",\n \"admin/editor.productPrice.showLabels\": \"แสดงป้ายข้อความราคาของผลิตภัณฑ์\",\n \"admin/editor.productPrice.showInstallments\": \"แสดงการผ่อนชำระของผลิตภัณฑ์\",\n \"admin/editor.productPrice.showSavings\": \"แสดงราความแตกต่างระหว่างราคาตามบัญชีราคาและราคาขายของผลิตภัณฑ์\",\n \"admin/editor.productPrice.labelSellingPrice\": \"ป้ายข้อความของราคาขาย\",\n \"admin/editor.productPrice.labelListPrice\": \"ป้ายข้อความของราคาตามบัญชีราคา\",\n \"admin/editor.share.title\": \"แชร์\",\n \"admin/editor.share.description\": \"รายการปุ่มแชร์\",\n \"admin/editor.share.social.title\": \"เครือข่ายทางสังคม\",\n \"store/product-description.title\": \"คำอธิบายผลิตภัณฑ์\",\n \"store/product-description.property\": \"คุณสมบัติ\",\n \"store/product-description.specification\": \"ข้อกำหนดคุณลักษณะ\",\n \"store/product-description.collapse.showMore\": \"แสดงมากขึ้น\",\n \"store/product-description.collapse.showLess\": \"แสดงน้อยลง\",\n \"store/pricing.installment-display\": \"หรือ {installments} {times} ของ {installmentPrice}\",\n \"store/pricing.from\": \"ตั้งแต่\",\n \"store/pricing.to\": \"ถึง\",\n \"store/pricing.savings\": \"ประหยัด {savings}\",\n \"store/pricing.interest-free\": \"ปลอดดอกเบี้ย\",\n \"store/loading\": \"กำลังโหลด...\",\n \"store/shipping.deliveryName\": \"การจัดส่ง\",\n \"store/shipping.deliveryEstimate\": \"ประมาณการ\",\n \"store/shipping.deliveryPrice\": \"ค่า\",\n \"store/shipping.label\": \"คำนวณค่าจัดส่ง\",\n \"store/shipping.free\": \"ฟรี\",\n \"store/shipping.empty-sla\": \"ไม่มีข้อมูลการจัดส่งสำหรับรหัสไปรษณีย์ที่แจ้ง\",\n \"store/buy-button.add-to-cart\": \"เพิ่มลงในรถเข็น\",\n \"store/buybutton.buy-success\": \"เพิ่มสินค้าลงในรถเข็นของคุณแล้ว\",\n \"store/buybutton.buy-success-duplicate\": \"สินค้าอยู่ในรถเข็นของคุณแล้ว\",\n \"store/buybutton.add-failure\": \"มีบางอย่างผิดพลาดและเพิ่มสินค้าลงในรถเข็นของคุณไม่ได้!\",\n \"store/buybutton.buy-offline-success\": \"เพิ่มสินค้าลงในรถเข็นออฟไลน์ของคุณแล้ว\",\n \"store/buybutton.select-sku-variations\": \"กรุณาเลือกตัวเลือกของแต่ละรุ่นสินค่า\",\n \"store/buybutton.see-cart\": \"ดูรถเข็น\",\n \"store/technicalspecifications.title\": \"ข้อกำหนดคุณลักษณะทางเทคนิค\",\n \"store/availability-subscriber.title\": \"ผลิตภัณฑ์นี้ไม่พร้อมจำหน่่ายในขฯะนี้\",\n \"store/availability-subscriber.subscribe-label\": \"ฉันต้องการทราบว่า ผลิตภัณฑ์นี้จะเริ่มพร้อมจำหน่ายเมื่อไร\",\n \"store/availability-subscriber.email-placeholder\": \"อีเมล\",\n \"store/availability-subscriber.name-placeholder\": \"ชื่อ\",\n \"store/availability-subscriber.send-label\": \"ส่ง\",\n \"store/availability-subscriber.invalid-email\": \"อีเมล์ไม่ถูกต้อง\",\n \"store/availability-subscriber.added-message\": \"ลงทะเบียนอีเมลสำเร็จแล้ว\",\n \"store/availability-subscriber.error-message\": \"ไม่สำเร็จ กรุณาลองอีกครั้ง\",\n \"store/newsletter.label\": \"สมัครรับจดหมายข่าวของเรา\",\n \"store/newsletter.placeholder\": \"ป้อนที่อยู่อีเมลของคุณ\",\n \"store/newsletter.submit\": \"ลงชื่อเข้าใช้\",\n \"store/newsletter.invalidEmail\": \"กรุณาป้อนอีเมลที่ถูกต้อง\",\n \"store/newsletter.confirmationTitle\": \"ขอบคุณ!\",\n \"store/newsletter.confirmationText\": \"ลงทะเบียนอีเมลของคุณสำเร็จแล้ว\",\n \"store/newsletter.error\": \"มีบางอย่างผิดพลาด กรุณาลองอีกครั้ง\",\n \"admin/editor.newsletter.title\": \"จดหมายข่าว\",\n \"admin/editor.newsletter.description\": \"จดหมายข่าวจาก\",\n \"admin/editor.newsletter.label\": \"ป้ายข้อความของแบบฟอร์มที่คอมโพเนนต์ใช้\",\n \"admin/editor.newsletter.placeholder\": \"ข้อความตัวอย่างหรือคำอธิบายสำหรับการป้อนอีเมล\",\n \"admin/editor.newsletter.submit\": \"ป้ายข้อความของปุ่มส่ง\",\n \"admin/editor.newsletter.hideLabel\": \"ซ่อนป้ายข้อความ\",\n \"admin/editor.categoriesHighlighted.title\": \"ไฮไลต์หมวดหมู่แล้ว\",\n \"admin/editor.categoriesHighlighted.description\": \"ไฮไลต์หมวดหมู่ของแผนกแล้ว\",\n \"admin/editor.categoriesHighlighted.item.categoryName\": \"รูปภาพของหมวดหมู่\",\n \"admin/editor.categoriesHighlighted.item.categoryImage\": \"รูปภาพของหมวดหมู่\",\n \"admin/editor.categoriesHighlighted.category\": \"หมวดหมู่\",\n \"admin/editor.categoriesHighlighted.categoriesHighlighted\": \"ไฮไลต์หมวดหมู่แล้ว\",\n \"admin/editor.categoriesHighlighted.showCategoriesHighlighted\": \"แสดงหมวดหมู่ที่ไฮไลต์แล้ว\",\n \"admin/editor.categoriesHighlighted.quantityOfItems\": \"จำนวนสินค้า\",\n \"admin/editor.categoriesHighlighted.cardShape\": \"รูปร่างกล่อง\",\n \"admin/editor.categoriesHighlighted.cardShape.squared\": \"สี่เหลี่ยม\",\n \"admin/editor.categoriesHighlighted.cardShape.rectangular\": \"สี่เหลี่ยมผืนผ้า\",\n \"store/searchBar.button.cancel.label\": \"ยกเลิก\",\n \"store/buyButton-label-unavailable\": \"ไม่พร้อมจำหน่าย\",\n \"store/greeting\": \"สวัสดี\",\n \"store/store-components.share.label\": \"แชร์\",\n \"store/share.title\": \"{product} {sku} ที่ {store}: \",\n \"admin/editor.info-card.title\": \"InfoCard\",\n \"admin/editor.info-card.description\": \"คอมโพเนนต์ที่มีรูปภาพและข้อความที่คุณสามารถเลือกได้ว่าจะให้แสดงผลรูปภาพและข้อความอย่างไร\",\n \"admin/editor.info-card.isFullModeStyle.title\": \"รูปภาพเป็นพื้นหลัง\",\n \"admin/editor.info-card.isFullModeStyle.description\": \"หากเป็น Trie จะใช้รูปภาพที่จัดเตรียมไว้เป็นรูปภาพพื้นหลังและจะแสดงข้อความเหนือรูปภาพ\",\n \"admin/editor.info-card.textPosition.title\": \"ตำแหน่งข้อความ\",\n \"admin/editor.info-card.textPosition.description\": \"เลือกว่าจะแสดงข้อความของคอมโพเนนต์ในตำแหน่งใด ซ้าย ตรงกลาง หรือขวา\",\n \"admin/editor.info-card.headline.title\": \"หัวเรื่อง\",\n \"admin/editor.info-card.headline.description\": \"ข้อความจะแสดงเป็นหัวเรื่องภายในคอมโพเนนต์\",\n \"admin/editor.info-card.subhead.title\": \"หัวเรื่องย่อย\",\n \"admin/editor.info-card.subhead.description\": \"ข้อความจะแสดงใต้หัวเรื่องภายในคอมโพเนนต์\",\n \"admin/editor.info-card.body-text.title\": \"ตัวข้อความ:\",\n \"admin/editor.info-card.body-text.description\": \"ข้อความใต้หัวเรื่องย่อยในรายละเอียด\",\n \"admin/editor.info-card.callToActionMode.title\": \"โหมดกระตุ้นให้ดำเนินการ\",\n \"admin/editor.info-card.callToActionMode.description\": \"ควบคุมว่าจะให้การกระตุ้นให้ดำเนินการของคุณแสดงอย่างไร\",\n \"admin/editor.info-card.callToActionText.title\": \"ข้อความกระตุ้นให้ดำเนินการ\",\n \"admin/editor.info-card.callToActionText.description\": \"ข้อความจะแสดงภายในคอมโพเนนต์การกระตุ้นให้ดำเนินการ\",\n \"admin/editor.info-card.callToActionUrl.title\": \"URL การกระตุ้นให้ดำเนินการ\",\n \"admin/editor.info-card.callToActionLinkTarget.title\": \"ลิงก์กระตุ้นให้ดำเนินการประเภทเปลี่ยนเส้นทาง\",\n \"admin/editor.info-card.callToActionLinkTarget.description\": \"คาำอธิบายคุณสมบัติเป้าหมายที่ต้องการเชื่อมโยงการกระตุ้นให้ดำเนินการ\",\n \"admin/editor.info-card.callToActionLinkTarget.blank\": \"ลิงก์เปิดในแท็บใหม่\",\n \"admin/editor.info-card.callToActionLinkTarget.self\": \"ลิงก์เปิดในแท็บเดิม\",\n \"admin/editor.info-card.callToActionUrl.description\": \"URL จะเปลี่ยนเส้นทางเมื่อมีการคลิกปุ่มกระตุ้นให้ดำเนินการ\",\n \"admin/editor.info-card.imageUrl.title\": \"รูปภาพ\",\n \"admin/editor.info-card.imageUrl.description\": \"รูปภาพจะถูกใช้บนเดสก์ท็อป\",\n \"admin/editor.info-card.mobileImageUrl.title\": \"รูปภาพสำหรับมือถือ\",\n \"admin/editor.info-card.mobileImageUrl.description\": \"รูปภาพจะถูกใช้บนมือถือ\",\n \"admin/editor.info-card.textAlignment.title\": \"การวางตำแหน่งข้อความ\",\n \"admin/editor.info-card.textAlignment.description\": \"ควบคุมการวางตำแหน่งข้อความภายในคอมโพเนนต์\",\n \"admin/editor.info-card.textPosition.left\": \"ซ้าย\",\n \"admin/editor.info-card.textPosition.center\": \"ตรงกลาง\",\n \"admin/editor.info-card.textPosition.right\": \"ขวา\",\n \"admin/editor.info-card.textAlignment.left\": \"ซ้าย\",\n \"admin/editor.info-card.textAlignment.center\": \"ตรงกลาง\",\n \"admin/editor.info-card.textAlignment.right\": \"ขวา\",\n \"admin/editor.info-card.textMode.title\": \"โหมดข้อความ\",\n \"admin/editor.info-card.textMode.description\": \"InfoCard ควรคาดว่าจะได้รับโหมดข้อความอะไร ภาษาเอชทีเอ็มแอลเป็นค่าเริ่มต้นและ Rich Text ทำให้คุณสามารถใช้มาร์กดาวน์ได้\",\n \"admin/editor.info-card.textMode.html\": \"ภาษาเอชทีเอ็มแอล\",\n \"admin/editor.info-card.textMode.rich-text\": \"Rich Text\",\n \"admin/editor.info-card.callAction.none\": \"ไม่มี\",\n \"admin/editor.info-card.callAction.button\": \"ปุ่ม\",\n \"admin/editor.info-card.callAction.link\": \"ลิงก์\",\n \"admin/editor.info-card.imageActionUrl.title\": \"Image Action URL\",\n \"admin/editor.info-card.imageActionUrl.description\": \"ผ่าน URL เพื่อทำให้รูปภาพเป็นลิงก์เพื่อเปลี่ยนเส้นทางผู้ใช้\",\n \"store/user-address.pickup\": \"รับสินค้าที่ {name}\",\n \"store/user-address.order\": \"จัดลำดับเพื่อ\",\n \"store/user-address.change\": \"เปลี่ยนแปลง\",\n \"store/user-address.add\": \"เพิ่มสถานที่ตั้ง\",\n \"admin/editor.notification-bar.title\": \"แถบแจ้งเตือน\",\n \"admin/editor.notification-bar.description\": \"คอมโพเนนต์ที่แสดงข้อความใด ๆ ใน Bar Style\",\n \"admin/editor.notification-bar.content.title\": \"เนื้อหา\",\n \"admin/editor.notification-bar.content.description\": \"ข้อความของแถบ\",\n \"admin/editor.blockClass.title\": \"คลาสบล็อก CSS\",\n \"admin/editor.blockClass.description\": \"เพิ่มชื่อคลาสพิเศษเพื่อทำให้จัดรูปแบบงายมากขึ้น\",\n \"admin/editor.image.title\": \"รูปภาพ\",\n \"admin/editor.image.description\": \"แสดงรูปภาพใดก็ได้\",\n \"admin/editor.image.src.title\": \"รูปภาพ\",\n \"admin/editor.image.title.title\": \"ชื่อเรื่องของรูปภาพ\",\n \"admin/editor.image.title.description\": \"ชื่อเรื่องจะแสดงเมื่อนำเมาส์ไปชี้\",\n \"admin/editor.image.alt.title\": \"ข้อความแสดงแทน\",\n \"admin/editor.info-card.imageAltText.title\": \"ข้อความแสดงแทนรูปภาพ\",\n \"admin/editor.info-card.imageAltText.description\": \"ข้อความทางเลือกสำหรับรูปภาพ\",\n \"admin/editor.product-images.title\": \"รูปภาพผลิตภัณฑ์\",\n \"admin/editor.product-images.description\": \"คอมโพเนนต์รูปภาพผลิตภัณฑ์ทำให้คุณสามารถกำหนดรูปภาพผลิตภัณฑ์ได้เอง\",\n \"admin/editor.product-images.zoomOptions.title\": \"ตัวเลือกซูม\",\n \"admin/editor.product-images.zoomType.title\": \"ประเภทซูม\",\n \"admin/editor.product-images.bgopacity.title\": \"ความทึบแสงของพื้นหลัง\",\n \"admin/editor.product-images.thumbnailsOrientation.title\": \"การวางแนวภาพตัวอย่างขนาดเล็ก\",\n \"admin/editor.product-images.gallery\": \"ในแกลลอรี่\",\n \"admin/editor.product-images.in-page\": \"ในหน้า\",\n \"admin/editor.product-images.no-zoom\": \"ไม่มีซูม\",\n \"admin/editor.product-images.vertical\": \"แนวตั้ง\",\n \"admin/editor.product-images.horizontal\": \"แนวนอน\",\n \"admin/editor.product-images.position.title\": \"ตำแหน่งภาพตัวอย่างขนาดเล็ก\",\n \"admin/editor.product-images.position.description\": \"ใช้เฉพาะเมื่อมีการวางเป็นแนวตั้ง\",\n \"admin/editor.product-images.left\": \"ซ้าย\",\n \"admin/editor.product-images.right\": \"ขวา\",\n \"admin/editor.product-images.displayThumbnailsArrows.title\": \"แสดงลูกศรในภาพตัวอย่างขนาดเล็ก\",\n \"admin/editor.product-specifications.title\": \"ข้อกำหนดคุณลักษณะผลิตถัณฑ์\",\n \"admin/editor.product-specifications.hidden-specifications.title\": \"ซ่อนข้อกำหนดคุณลักษณะแล้ว\",\n \"admin/editor.product-specifications.hidden-specifications.description\": \"ชื่อประเภทข้อกำหนดคุณลักษณะที่คุณต้องการซ่อน\",\n \"admin/editor.product-specifications.visible-specifications.title\": \"ข้อกำหนดคุณลักษณะที่มองเห็นได้\",\n \"admin/editor.product-specifications.visible-specifications.description\": \"ชื่อประเภทข้อกำหนดคุณลักษณะที่คุณต้องการให้ปรากฏ ให้เพียงหนึ่งข้อกำหนดคุณลักษณะที่ซ่อนอยู่หรือเห็นได้เท่านั้น\",\n \"admin/editor.product-specifications.items.title\": \"ข้อกำหนดคุณลักษณะ\",\n \"admin/editor.logo.title\": \"โลโก้\",\n \"admin/editor.logo.description\": \"คอมโพเนนต์จะแสดงโลโก้ร้านค้าของคุณ\",\n \"admin/editor.logo.href.title\": \"ลิงก์เพื่อเปลี่ยนเส้นทาง\",\n \"admin/editor.logo.href.description\": \"ลิงก์จะเปลี่ยนเส้นทางเมื่อคลิกที่โลโก้ ปล่อยว่างไว้เพื่อทำให้ไม่สามารถคลิกได้\",\n \"admin/editor.logo.url.title\": \"รูปภาพ\",\n \"admin/editor.logo.url.description\": \"รุปภาพที่จะใช้\",\n \"admin/editor.logo.width.title\": \"ความกว้าง\",\n \"admin/editor.logo.width.description\": \"ความกว้างที่จะใช้สำหรับโลโก้\",\n \"admin/editor.logo.height.title\": \"ความสูง\",\n \"admin/editor.logo.height.description\": \"ความสูงที่จะใช้สำหรับโลโก้\",\n \"admin/editor.logo.title.title\": \"ข้อความแสดงแทน\",\n \"admin/editor.logo.title.description\": \"ข้อความแสดงแทนจะถูกจัดเตรียมไว้ให้สำหรับรูปภาพโลโก้\",\n \"admin/editor.logo.mobileWidth.title\": \"ความกว้างมือถือ\",\n \"admin/editor.logo.mobileWidth.description\": \"ความกว้างจะถูกใช้บนมือถือ หากมีค่าว่าง จะใช้ค่าความกว้างที่จัดเตรียมไว้\",\n \"admin/editor.logo.mobileHeight.title\": \"ความสูงของมือถิอ\",\n \"admin/editor.logo.mobileHeight.description\": \"ความสูงจะถูกใช้บนมือถือ หากมีค่าว่าง จะใช้ค่าความสูงที่จัดเตรียมไว้\",\n \"store/skuSelector.seeMore\": \"ดู {quantity} เพิ่มเติม\",\n \"store/sku-selector.select.placeholder\": \"เลือกตัวเลือก\",\n \"store/sku-selector.variation.select-an-option\": \"เลือกตัวเลือก\",\n \"admin/editor.skuSelector.title\": \"ตัวเลือก SKU\",\n \"admin/editor.skuSelector.description\": \"คอมโพเนนต์ที่แสดงรุ่นต่าง ๆ ของสินค้า ที่กำหนดไว้เพื่อให้ผู้ใช้เลือก\",\n \"admin/editor.skuSelector.seeMoreLabel.title\": \"ดูป้ายข้อความเพิ่มเติม\",\n \"admin/editor.skuSelector.seeMoreLabel.description\": \"ป้ายข้อความของปุ่มดูเพิ่มเติม สตริงต้องมี {quantity} ข้อความตัวอย่างหรือคำอธิบายเพื่อแสดงสินค้าพร้อมจำหน่ายที่เหลืออยู่อย่างเหมาะสม ตัวอย่าง: \\\"ดู {quantity} เพิ่มเติม\\\"\",\n \"admin/editor.product-description.title\": \"คำอธิบายผลิตภัณฑ์\",\n \"admin/editor.product-description.title-prop.title\": \"ชื่อเรื่อง\",\n \"admin/editor.search-bar.title\": \"แถบค้นหา\",\n \"admin/editor.search-bar.placeholder.title\": \"ข้อความตัวอย่างหรือคำอธิบาย\",\n \"store/back-to-top.label\": \"กลับขึ้นไปด้านบน\",\n \"admin/editor.toTop.title\": \"ปุ่มกลับขึ้นไปด้านบน\",\n \"admin/editor.toTop.description\": \"เมื่อมีคนคลิก มันจะพาหน้าไปด้านบน\",\n \"admin/editor.toTop.topPixel.title\": \"จำนวนพิกเซล\",\n \"admin/editor.toTop.topPixel.description\": \"เมื่อค่าพิกเซลเกินที่กำหนดไว้ ปุ่มกลับขึ้นไปด้านบนจะปรากฏ\"\n}\n\n```" } ]
code_store-components_aeff2161
[ { "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 store-components/messages/nn.json from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"store/search.placeholder\": \"Søk\",\n \"store/search.searchFor\": \"Søk etter {term}\",\n \"store/search.search-term-too-short\": \"Søketermen er for kort\",\n \"admin/editor.productName.title\": \"Produktnavn\",\n \"admin/editor.productName.description\": \"Produktnavn på komponent\",\n \"admin/editor.productName.showBrandName.title\": \"Viser merkenavnet\",\n \"admin/editor.productName.showSku.title\": \"Viser sku\",\n \"admin/editor.productName.showProductReference.title\": \"Viser produktreferansen\",\n \"admin/editor.productName.displayMode.title\": \"Viser lenken som er tilknyttet produktnavnet eller ren tekst\",\n \"admin/editor.productName.displayMode.plainText\": \"Ren tekst\",\n \"admin/editor.productName.displayMode.linkToProductPage\": \"Lenke til produktside\",\n \"admin/editor.productPrice.title\": \"Produktpris\",\n \"admin/editor.productPrice.description\": \"Produktpris på komponent\",\n \"admin/editor.productPrice.showListPrice\": \"Vis produktlistepris\",\n \"admin/editor.productPrice.showSellingPriceRange\": \"Vis produktets salgsprisområde\",\n \"admin/editor.productPrice.showListPriceRange\": \"Vis produktets listeprisområde\",\n \"admin/editor.productPrice.showLabels\": \"Vis produktets prisetiketter\",\n \"admin/editor.productPrice.showInstallments\": \"Vis produktets betalingsavdrag\",\n \"admin/editor.productPrice.showSavings\": \"Vis produktliste og salgsprisdifferanse\",\n \"admin/editor.productPrice.labelSellingPrice\": \"Salgsprisens etikett\",\n \"admin/editor.productPrice.labelListPrice\": \"Listeprisens etikett\",\n \"admin/editor.share.title\": \"Del\",\n \"admin/editor.share.description\": \"Liste over del-knapper\",\n \"admin/editor.share.social.title\": \"Sosiale nettverk\",\n \"store/product-description.title\": \"Produktbeskrivelse\",\n \"store/product-description.property\": \"Egenskap\",\n \"store/product-description.specification\": \"Spesifikasjon\",\n \"store/product-description.collapse.showMore\": \"Vis mer\",\n \"store/product-description.collapse.showLess\": \"Vis mindre\",\n \"store/pricing.installment-display\": \"Eller {installments} {times} av {installmentPrice}\",\n \"store/pricing.from\": \"Fra\",\n \"store/pricing.to\": \"Til\",\n \"store/pricing.savings\": \"Spar {savings}\",\n \"store/pricing.interest-free\": \"rentefri\",\n \"store/loading\": \"Laster inn…\",\n \"store/shipping.deliveryName\": \"Levering\",\n \"store/shipping.deliveryEstimate\": \"Anslag\",\n \"store/shipping.deliveryPrice\": \"Verdi\",\n \"store/shipping.label\": \"Beregn frakt\",\n \"store/shipping.free\": \"Gratis\",\n \"store/shipping.empty-sla\": \"Det finnes ingen forsendelsesinformasjon tilgjengelig for dette postnummeret\",\n \"store/buy-button.add-to-cart\": \"Legg i handlekurv\",\n \"store/buybutton.buy-success\": \"Vare lagt i handlevognen\",\n \"store/buybutton.buy-success-duplicate\": \"Varen finnes allerede i handlevognen\",\n \"store/buybutton.add-failure\": \"Noe gikk galt og varen ble ikke lagt i handlekurven!\",\n \"store/buybutton.buy-offline-success\": \"Vare lagt i offline handlekurv\",\n \"store/buybutton.select-sku-variations\": \"Velg et alternativ for hver variant\",\n \"store/buybutton.see-cart\": \"Vis handlekurv\",\n \"store/technicalspecifications.title\": \"Tekniske spesifikasjoner\",\n \"store/availability-subscriber.title\": \"Dette produktet er ikke tilgjengelig nå\",\n \"store/availability-subscriber.subscribe-label\": \"Jeg få beskjed når dette produktet blir tilgjengelig\",\n \"store/availability-subscriber.email-placeholder\": \"E-post\",\n \"store/availability-subscriber.name-placeholder\": \"Navn\",\n \"store/availability-subscriber.send-label\": \"Send\",\n \"store/availability-subscriber.invalid-email\": \"Ugyldig e-postadresse\",\n \"store/availability-subscriber.added-message\": \"E-postadressen ble registrert\",\n \"store/availability-subscriber.error-message\": \"Mislyktes, prøv igjen\",\n \"store/newsletter.label\": \"Abonner på nyhetsbrevet vårt\",\n \"store/newsletter.placeholder\": \"Skriv inn e-postadressen din\",\n \"store/newsletter.submit\": \"Registrer deg\",\n \"store/newsletter.invalidEmail\": \"Skriv inn en gyldig e-postadresse.\",\n \"store/newsletter.confirmationTitle\": \"Tusen takk!\",\n \"store/newsletter.confirmationText\": \"E-postadressen ble registrert.\",\n \"store/newsletter.error\": \"Noe gikk galt. Prøv igjen senere\",\n \"admin/editor.newsletter.title\": \"Nyhetsbrev\",\n \"admin/editor.newsletter.description\": \"Nyhetsbrevskjema\",\n \"admin/editor.newsletter.label\": \"Etikett for skjemaet som brukes av komponenten\",\n \"admin/editor.newsletter.placeholder\": \"Plassholder for e-postinndata\",\n \"admin/editor.newsletter.submit\": \"Etikett for \\\"Send inn\\\"-knapp\",\n \"admin/editor.newsletter.hideLabel\": \"Skjul etikett\",\n \"admin/editor.categoriesHighlighted.title\": \"Markerte kategorier\",\n \"admin/editor.categoriesHighlighted.description\": \"Markerte kategorier for avdelingen\",\n \"admin/editor.categoriesHighlighted.item.categoryName\": \"Kategorinavn\",\n \"admin/editor.categoriesHighlighted.item.categoryImage\": \"Kategoribilde\",\n \"admin/editor.categoriesHighlighted.category\": \"Kategori\",\n \"admin/editor.categoriesHighlighted.categoriesHighlighted\": \"Markerte kategorier\",\n \"admin/editor.categoriesHighlighted.showCategoriesHighlighted\": \"Vis markerte kategorier\",\n \"admin/editor.categoriesHighlighted.quantityOfItems\": \"Antall varer\",\n \"admin/editor.categoriesHighlighted.cardShape\": \"Eskens form\",\n \"admin/editor.categoriesHighlighted.cardShape.squared\": \"Firkantet\",\n \"admin/editor.categoriesHighlighted.cardShape.rectangular\": \"Rektangulær\",\n \"store/searchBar.button.cancel.label\": \"Avbryt\",\n \"store/buyButton-label-unavailable\": \"Utilgjengelig\",\n \"store/greeting\": \"Hei\",\n \"store/store-components.share.label\": \"Del\",\n \"store/share.title\": \"{product} {sku} hos {store}: \",\n \"admin/editor.info-card.title\": \"Infokort\",\n \"admin/editor.info-card.description\": \"En komponent med bilde og tekst som gjør at du kan velge hvordan du viser dem\",\n \"admin/editor.info-card.isFullModeStyle.title\": \"Bilde som bakgrunn\",\n \"admin/editor.info-card.isFullModeStyle.description\": \"Hvis det stemmer, vil det angitte bildet bli brukt som bakgrunnsbilde og tekst vil vises over det\",\n \"admin/editor.info-card.textPosition.title\": \"Tekstplassering\",\n \"admin/editor.info-card.textPosition.description\": \"Velg hvilken posisjon av komponentteksten som skal vises, venstre, sentrum eller høyre\",\n \"admin/editor.info-card.headline.title\": \"Overskrift\",\n \"admin/editor.info-card.headline.description\": \"Tekst som skal vises som overskrift inne i komponenten\",\n \"admin/editor.info-card.subhead.title\": \"Undertittel\",\n \"admin/editor.info-card.subhead.description\": \"Tekst som skal vises under overskriften inne i komponenten\",\n \"admin/editor.info-card.body-text.title\": \"Hovedtekst\",\n \"admin/editor.info-card.body-text.description\": \"Tekst under undertittel inne i komponenten\",\n \"admin/editor.info-card.callToActionMode.title\": \"Oppfordring til handling-modus\",\n \"admin/editor.info-card.callToActionMode.description\": \"Kontrollerer hvordan oppfordring til handling vises\",\n \"admin/editor.info-card.callToActionText.title\": \"Oppfordring til handling-tekst\",\n \"admin/editor.info-card.callToActionText.description\": \"Tekst som skal vises i oppfordring til handling-komponenten\",\n \"admin/editor.info-card.callToActionUrl.title\": \"Oppfordring til handling-URL\",\n \"admin/editor.info-card.callToActionLinkTarget.title\": \"Omadresseringstype for oppfordring til handling-lenke\",\n \"admin/editor.info-card.callToActionLinkTarget.description\": \"callToActionLinkTarget egenskapsbeskrivelse\",\n \"admin/editor.info-card.callToActionLinkTarget.blank\": \"Lenken åpnes i en ny fane\",\n \"admin/editor.info-card.callToActionLinkTarget.self\": \"Lenken åpnes i samme fane\",\n \"admin/editor.info-card.callToActionUrl.description\": \"URL å omdirigere til når CTA klikkes på\",\n \"admin/editor.info-card.imageUrl.title\": \"Bilde\",\n \"admin/editor.info-card.imageUrl.description\": \"Bilde som skal brukes på skrivebordet\",\n \"admin/editor.info-card.mobileImageUrl.title\": \"Mobilbilde\",\n \"admin/editor.info-card.mobileImageUrl.description\": \"Bilde som skal brukes på mobil\",\n \"admin/editor.info-card.textAlignment.title\": \"Tekstjustering\",\n \"admin/editor.info-card.textAlignment.description\": \"Kontroller tekstjusteringen inne i komponenten\",\n \"admin/editor.info-card.textPosition.left\": \"Venstre\",\n \"admin/editor.info-card.textPosition.center\": \"Midten\",\n \"admin/editor.info-card.textPosition.right\": \"Høyre\",\n \"admin/editor.info-card.textAlignment.left\": \"Venstre\",\n \"admin/editor.info-card.textAlignment.center\": \"Midten\",\n \"admin/editor.info-card.textAlignment.right\": \"Høyre\",\n \"admin/editor.info-card.textMode.title\": \"Tekstmodus\",\n \"admin/editor.info-card.textMode.description\": \"Hvilken tekstmodus InfoCard forventer å motta. HTML er standard og \\\"Rik tekst\\\" lar deg bruke Markdown.\",\n \"admin/editor.info-card.textMode.html\": \"HTML\",\n \"admin/editor.info-card.textMode.rich-text\": \"Rik tekst\",\n \"admin/editor.info-card.callAction.none\": \"Ingen\",\n \"admin/editor.info-card.callAction.button\": \"Knapp\",\n \"admin/editor.info-card.callAction.link\": \"Lenke\",\n \"admin/editor.info-card.imageActionUrl.title\": \"Bildehandlings-URL\",\n \"admin/editor.info-card.imageActionUrl.description\": \"Send URL for å gjøre bildet til en lenke og i stand til å omdirigere brukeren\",\n \"store/user-address.pickup\": \"Hent hos {name}\",\n \"store/user-address.order\": \"Bestill til\",\n \"store/user-address.change\": \"Endre\",\n \"store/user-address.add\": \"Legg til sted\",\n \"admin/editor.notification-bar.title\": \"Varslingslinje\",\n \"admin/editor.notification-bar.description\": \"En komponent som viser tekst i linjestil\",\n \"admin/editor.notification-bar.content.title\": \"Innhold\",\n \"admin/editor.notification-bar.content.description\": \"Tekst på linjen\",\n \"admin/editor.blockClass.title\": \"CSS-blokkeringsklasse\",\n \"admin/editor.blockClass.description\": \"Legger til et ekstra klassenavn for å lette stilen\",\n \"admin/editor.image.title\": \"Bilde\",\n \"admin/editor.image.description\": \"Vis hvilket som helst bilde\",\n \"admin/editor.image.src.title\": \"Bilde\",\n \"admin/editor.image.title.title\": \"Bildetittel\",\n \"admin/editor.image.title.description\": \"Tittel som skal vises på pekeren\",\n \"admin/editor.image.alt.title\": \"Alternativ tekst\",\n \"admin/editor.info-card.imageAltText.title\": \"Alternativ tekst for bilde\",\n \"admin/editor.info-card.imageAltText.description\": \"Alternativ tekst til bildet\",\n \"admin/editor.product-images.title\": \"Produktbilder\",\n \"admin/editor.product-images.description\": \"Produktbildekomponenten lar deg tilpasse produktbildene\",\n \"admin/editor.product-images.zoomOptions.title\": \"Zoom-innstillinger\",\n \"admin/editor.product-images.zoomType.title\": \"Zoom-type\",\n \"admin/editor.product-images.bgopacity.title\": \"Bakgrunnsopasitet\",\n \"admin/editor.product-images.thumbnailsOrientation.title\": \"Retning på miniatyrbilder\",\n \"admin/editor.product-images.gallery\": \"I galleri\",\n \"admin/editor.product-images.in-page\": \"På side\",\n \"admin/editor.product-images.no-zoom\": \"Ingen zoom\",\n \"admin/editor.product-images.vertical\": \"Vertikal\",\n \"admin/editor.product-images.horizontal\": \"Horisontal\",\n \"admin/editor.product-images.position.title\": \"Plassering av miniatyrbilde\",\n \"admin/editor.product-images.position.description\": \"Brukes kun når plasseringen er vertikal\",\n \"admin/editor.product-images.left\": \"Venstre\",\n \"admin/editor.product-images.right\": \"Høyre\",\n \"admin/editor.product-images.displayThumbnailsArrows.title\": \"Vis piler i miniatyrbilder\",\n \"admin/editor.product-specifications.title\": \"Produktspesifikasjoner\",\n \"admin/editor.product-specifications.hidden-specifications.title\": \"Skjulte spesifikasjoner\",\n \"admin/editor.product-specifications.hidden-specifications.description\": \"Typenavn for spesifikasjoner du vil skjule\",\n \"admin/editor.product-specifications.visible-specifications.title\": \"Synlige spesifikasjoner\",\n \"admin/editor.product-specifications.visible-specifications.description\": \"Typrenavn på spesifikasjoner du ønsker å vise. Oppgi kun én av de skjulte spesifikasjonene eller de synlige spesifikasjonene\",\n \"admin/editor.product-specifications.items.title\": \"Spesifikasjon\",\n \"admin/editor.logo.title\": \"Logo\",\n \"admin/editor.logo.description\": \"Komponent som skal vise butikklogoen din\",\n \"admin/editor.logo.href.title\": \"Lenke til omdirigering\",\n \"admin/editor.logo.href.description\": \"Lenke som skal omdirigeres når logoen klikkes på. La den være tom for at den ikke skal være klikkbar.\",\n \"admin/editor.logo.url.title\": \"Bilde\",\n \"admin/editor.logo.url.description\": \"Bilde som skal brukes\",\n \"admin/editor.logo.width.title\": \"Bredde\",\n \"admin/editor.logo.width.description\": \"Bredden som skal brukes på logo.\",\n \"admin/editor.logo.height.title\": \"Høyde\",\n \"admin/editor.logo.height.description\": \"Høyden som skal brukes på logo.\",\n \"admin/editor.logo.title.title\": \"Alternativ tekst\",\n \"admin/editor.logo.title.description\": \"Alternativ tekst som skal fremskaffes til logobilde\",\n \"admin/editor.logo.mobileWidth.title\": \"Mobilbredde\",\n \"admin/editor.logo.mobileWidth.description\": \"Bredden som skal brukes på mobilen. Hvis tom, vil den oppgitte breddeverdien brukes.\",\n \"admin/editor.logo.mobileHeight.title\": \"Mobilhøyde\",\n \"admin/editor.logo.mobileHeight.description\": \"Høyden som skal brukes på mobilen. Hvis tom, vil den angitte høydeverdien brukes.\",\n \"store/skuSelector.seeMore\": \"Se {quantity} mer\",\n \"store/sku-selector.select.placeholder\": \"Velg et alternativ\",\n \"store/sku-selector.variation.select-an-option\": \"Velg et alternativ\",\n \"admin/editor.skuSelector.title\": \"SKU-velger\",\n \"admin/editor.skuSelector.description\": \"Komponent som viser forskjellige varianter av en vare brukeren kan velge\",\n \"admin/editor.skuSelector.seeMoreLabel.title\": \"Se flere etiketter\",\n \"admin/editor.skuSelector.seeMoreLabel.description\": \"Etiketten på Se mer-knappen. Strengen må ha en {quantity} plassholder for å vise de riktige gjenstående varene som er tilgjengelig. Eksempel: \\\"Se {quantity} mer\\\"\",\n \"admin/editor.product-description.title\": \"Produktbeskrivelse\",\n \"admin/editor.product-description.title-prop.title\": \"Tittel\",\n \"admin/editor.search-bar.title\": \"Søkefelt\",\n \"admin/editor.search-bar.placeholder.title\": \"Plassholder\",\n \"store/back-to-top.label\": \"Tilbake til toppen\",\n \"admin/editor.toTop.title\": \"Tilbake til toppen-knapp\",\n \"admin/editor.toTop.description\": \"Når den er klikket på tas siden til toppen\",\n \"admin/editor.toTop.topPixel.title\": \"Antall piksler\",\n \"admin/editor.toTop.topPixel.description\": \"Når du overskrider den angitte pikselverdien, vil knappen for å gå tilbake til toppen vises\"\n}\n\n```" } ]
code_store-components_ea0d032e
[ { "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 store-components/messages/es.json from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"store/search.clear-input\": \"Borrar campo de búsqueda\",\n \"store/search.submit-search\": \"Buscar Productos\",\n \"store/search.placeholder\": \"Buscar\",\n \"store/search.searchFor\": \"Buscar por {term}\",\n \"store/search.search-term-too-short\": \"El término de búsqueda es demasiado corto\",\n \"admin/editor.productName.title\": \"Nombre del producto\",\n \"admin/editor.productName.description\": \"Componente del nombre del producto\",\n \"admin/editor.productName.showBrandName.title\": \"Mostrar marca\",\n \"admin/editor.productName.showSku.title\": \"Mostrar SKU\",\n \"admin/editor.productName.showProductReference.title\": \"Mostrar referencia del producto\",\n \"admin/editor.productName.displayMode.title\": \"Mostrar link asociado al nombre del producto o texto simple\",\n \"admin/editor.productName.displayMode.plainText\": \"Texto simple\",\n \"admin/editor.productName.displayMode.linkToProductPage\": \"Link a la página del producto\",\n \"admin/editor.productPrice.title\": \"Precio del producto\",\n \"admin/editor.productPrice.description\": \"Componente del precio del producto\",\n \"admin/editor.productPrice.showListPrice\": \"Mostrar precio de lista del producto\",\n \"admin/editor.productPrice.showSellingPriceRange\": \"Mostrar rango de precios de venta del producto\",\n \"admin/editor.productPrice.showListPriceRange\": \"Mostrar rango de precios de lista del producto\",\n \"admin/editor.productPrice.showLabels\": \"Mostrar leyendas en los precios\",\n \"admin/editor.productPrice.showInstallments\": \"Mostrar opción de pago en cuotas\",\n \"admin/editor.productPrice.showSavings\": \"Mostrar diferencia entre precio de lista y precio de venta\",\n \"admin/editor.productPrice.labelSellingPrice\": \"Etiqueta de precio de venta\",\n \"admin/editor.productPrice.labelListPrice\": \"Etiqueta de precio de lista\",\n \"admin/editor.share.title\": \"Compartir\",\n \"admin/editor.share.description\": \"Lista de botones de compartir\",\n \"admin/editor.share.social.title\": \"Redes sociales\",\n \"store/product-description.title\": \"Descripción del producto\",\n \"store/product-description.property\": \"Propiedad\",\n \"store/product-description.specification\": \"Especificación\",\n \"store/product-description.collapse.showMore\": \"Mostrar más\",\n \"store/product-description.collapse.showLess\": \"Mostrar menos\",\n \"store/pricing.installment-display\": \"O {installments} {times} de {installmentPrice}\",\n \"store/pricing.from\": \"De\",\n \"store/pricing.to\": \"Por\",\n \"store/pricing.savings\": \"Ahorra {savings}\",\n \"store/pricing.interest-free\": \"sin intereses\",\n \"store/loading\": \"Cargando…\",\n \"store/shipping.deliveryName\": \"Entrega\",\n \"store/shipping.deliveryEstimate\": \"Plazo\",\n \"store/shipping.deliveryPrice\": \"Valor\",\n \"store/shipping.label\": \"Calcular envío\",\n \"store/shipping.free\": \"Gratis\",\n \"store/shipping.empty-sla\": \"No hay ninguna tarifa de envío disponible para el código postal informado\",\n \"store/buy-button.add-to-cart\": \"Agregar al carrito\",\n \"store/buybutton.buy-success\": \"Se agregó el ítem al carrito\",\n \"store/buybutton.buy-success-duplicate\": \"El ítem ya está en el carrito\",\n \"store/buybutton.add-failure\": \"Se produjo un error. El ítem no se agregó al carrito.\",\n \"store/buybutton.buy-offline-success\": \"Se agregó el ítem al carrito offline\",\n \"store/buybutton.select-sku-variations\": \"Por favor, selecciona una opción de cada variación\",\n \"store/buybutton.see-cart\": \"Ver carrito\",\n \"store/technicalspecifications.title\": \"Especificaciones técnicas\",\n \"store/availability-subscriber.title\": \"Este producto no está disponible en este momento\",\n \"store/availability-subscriber.subscribe-label\": \"Quiero que me avisen cuando esté disponible\",\n \"store/availability-subscriber.email-placeholder\": \"Email\",\n \"store/availability-subscriber.name-placeholder\": \"Nombre\",\n \"store/availability-subscriber.send-label\": \"Enviar\",\n \"store/availability-subscriber.invalid-email\": \"Email inválido\",\n \"store/availability-subscriber.added-message\": \"Email registrado con éxito\",\n \"store/availability-subscriber.error-message\": \"Se produjo una falla al intentar registrarte. Inténtalo de nuevo\",\n \"store/newsletter.label\": \"Suscríbete a nuestro newsletter\",\n \"store/newsletter.placeholder\": \"Ingresa tu email\",\n \"store/newsletter.submit\": \"Suscribir\",\n \"store/newsletter.invalidEmail\": \"Por favor, ingresa un email válido.\",\n \"store/newsletter.confirmationTitle\": \"¡Gracias!\",\n \"store/newsletter.confirmationText\": \"Tu email se registró correctamente.\",\n \"store/newsletter.error\": \"Se produjo un error. Por favor, inténtalo de nuevo más tarde\",\n \"admin/editor.newsletter.title\": \"Newsletter\",\n \"admin/editor.newsletter.description\": \"Formulario de newsletter\",\n \"admin/editor.newsletter.label\": \"Título del formulario\",\n \"admin/editor.newsletter.placeholder\": \"Placeholder de la entrada del email\",\n \"admin/editor.newsletter.submit\": \"Texto del botón\",\n \"admin/editor.newsletter.hideLabel\": \"Ocultar título\",\n \"admin/editor.categoriesHighlighted.title\": \"Categorías destacadas\",\n \"admin/editor.categoriesHighlighted.description\": \"Categorías destacadas del departamento\",\n \"admin/editor.categoriesHighlighted.item.categoryName\": \"Nombre de categoría\",\n \"admin/editor.categoriesHighlighted.item.categoryImage\": \"Imagen de categoría\",\n \"admin/editor.categoriesHighlighted.category\": \"Categoría\",\n \"admin/editor.categoriesHighlighted.categoriesHighlighted\": \"Categorías destacadas\",\n \"admin/editor.categoriesHighlighted.showCategoriesHighlighted\": \"Mostrar categorías destacadas\",\n \"admin/editor.categoriesHighlighted.quantityOfItems\": \"Cantidad de ítems\",\n \"admin/editor.categoriesHighlighted.cardShape\": \"Forma de la caja\",\n \"admin/editor.categoriesHighlighted.cardShape.squared\": \"Cuadrada\",\n \"admin/editor.categoriesHighlighted.cardShape.rectangular\": \"Rectangular\",\n \"store/searchBar.button.cancel.label\": \"Cancelar\",\n \"store/buyButton-label-unavailable\": \"Indisponible\",\n \"store/greeting\": \"Hola\",\n \"store/store-components.share.label\": \"Comparte\",\n \"store/share.title\": \"{product} {sku} en {store}: \",\n \"admin/editor.info-card.title\": \"InfoCard\",\n \"admin/editor.info-card.description\": \"Un componente con imagen y texto que permite elegir cómo mostrar tu contenido\",\n \"admin/editor.info-card.isFullModeStyle.title\": \"Imagen como fondo\",\n \"admin/editor.info-card.isFullModeStyle.description\": \"Si es verdadero, 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.textPosition.title\": \"Posición del texto\",\n \"admin/editor.info-card.textPosition.description\": \"Elige en qué posición se mostrará el texto (izquierda, centro o derecha)\",\n \"admin/editor.info-card.headline.title\": \"Título\",\n \"admin/editor.info-card.headline.description\": \"Texto presentado de forma destacada\",\n \"admin/editor.info-card.subhead.title\": \"Subtítulo\",\n \"admin/editor.info-card.subhead.description\": \"Texto que aparece debajo del título\",\n \"admin/editor.info-card.body-text.title\": \"Cuerpo del texto\",\n \"admin/editor.info-card.body-text.description\": \"Texto debajo del subtítulo dentro del componente\",\n \"admin/editor.info-card.callToActionMode.title\": \"Modo call to action\",\n \"admin/editor.info-card.callToActionMode.description\": \"Controla cómo se muestra tu componente de call to action\",\n \"admin/editor.info-card.callToActionText.title\": \"Texto de call to action\",\n \"admin/editor.info-card.callToActionText.description\": \"Texto a mostrar dentro del componente call to action\",\n \"admin/editor.info-card.callToActionUrl.title\": \"URL de call to action\",\n \"admin/editor.info-card.callToActionLinkTarget.title\": \"Tipo de redirección del link de call to action\",\n \"admin/editor.info-card.callToActionLinkTarget.description\": \"Descripción de la propiedad callToActionLinkTarget\",\n \"admin/editor.info-card.callToActionLinkTarget.blank\": \"El link se abre en una nueva pestaña\",\n \"admin/editor.info-card.callToActionLinkTarget.self\": \"El link se abre en la misma pestaña\",\n \"admin/editor.info-card.callToActionUrl.description\": \"URL de redirección cuando se hace clic en el CTA\",\n \"admin/editor.info-card.imageUrl.title\": \"Imagen\",\n \"admin/editor.info-card.imageUrl.description\": \"Imagen que se utilizará en dispositivos de escritorio\",\n \"admin/editor.info-card.mobileImageUrl.title\": \"Imagen para dispositivos móviles\",\n \"admin/editor.info-card.mobileImageUrl.description\": \"Imagen que se utilizará en dispositivos móviles\",\n \"admin/editor.info-card.textAlignment.title\": \"Alineación de texto\",\n \"admin/editor.info-card.textAlignment.description\": \"Controla la alineación del texto dentro del componente\",\n \"admin/editor.info-card.textPosition.left\": \"Izquierda\",\n \"admin/editor.info-card.textPosition.center\": \"Centro\",\n \"admin/editor.info-card.textPosition.right\": \"Derecha\",\n \"admin/editor.info-card.textAlignment.left\": \"Izquierda\",\n \"admin/editor.info-card.textAlignment.center\": \"Centro\",\n \"admin/editor.info-card.textAlignment.right\": \"Derecha\",\n \"admin/editor.info-card.textMode.title\": \"Modo de texto\",\n \"admin/editor.info-card.textMode.description\": \"Qué tipo de texto recibirá el InfoCard. HTML es el predeterminado y Rich-Text permite el uso de Markdown.\",\n \"admin/editor.info-card.textMode.html\": \"HTML\",\n \"admin/editor.info-card.textMode.rich-text\": \"Rich-Text\",\n \"admin/editor.info-card.callAction.none\": \"Ninguno\",\n \"admin/editor.info-card.callAction.button\": \"Botón\",\n \"admin/editor.info-card.callAction.link\": \"Link\",\n \"admin/editor.info-card.imageActionUrl.title\": \"URL de acción de la imagen\",\n \"admin/editor.info-card.imageActionUrl.description\": \"Pasa la URL para convertir la imagen en un link y poder redirigir al usuario\",\n \"store/user-address.pickup\": \"Recoger en {name}\",\n \"store/user-address.order\": \"Enviar para\",\n \"store/user-address.change\": \"Modificar\",\n \"store/user-address.add\": \"Agregar localización\",\n \"admin/editor.notification-bar.title\": \"Barra de notificaciones\",\n \"admin/editor.notification-bar.description\": \"Un componente que muestra cualquier texto en forma de barra\",\n \"admin/editor.notification-bar.content.title\": \"Contenido\",\n \"admin/editor.notification-bar.content.description\": \"Texto de la barra\",\n \"admin/editor.blockClass.title\": \"Clase de bloque CSS\",\n \"admin/editor.blockClass.description\": \"Agrega un nombre de clase extra para facilitar el estilo\",\n \"admin/editor.image.title\": \"Imagen\",\n \"admin/editor.image.description\": \"Mostrar cualquier imagen\",\n \"admin/editor.image.src.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 sobre la imagen\",\n \"admin/editor.image.alt.title\": \"Texto alternativo\",\n \"admin/editor.info-card.imageAltText.title\": \"Texto alternativo de la imagen\",\n \"admin/editor.info-card.imageAltText.description\": \"Alternative text for the image\",\n \"admin/editor.product-images.title\": \"Texto alternativo para la imagen\",\n \"admin/editor.product-images.description\": \"Componente que permite personalizar las propiedades de las imágenes de los productos\",\n \"admin/editor.product-images.zoomOptions.title\": \"Opciones de zoom\",\n \"admin/editor.product-images.zoomType.title\": \"Tipo de zoom\",\n \"admin/editor.product-images.bgopacity.title\": \"Opacidad del fondo\",\n \"admin/editor.product-images.thumbnailsOrientation.title\": \"Orientación de miniaturas\",\n \"admin/editor.product-images.gallery\": \"En galería\",\n \"admin/editor.product-images.in-page\": \"En la página\",\n \"admin/editor.product-images.no-zoom\": \"Sin zoom\",\n \"admin/editor.product-images.vertical\": \"Vertical\",\n \"admin/editor.product-images.horizontal\": \"Horizontal\",\n \"admin/editor.product-images.position.title\": \"Posición de miniaturas\",\n \"admin/editor.product-images.position.description\": \"Se utiliza solo cuando la orientación es vertical\",\n \"admin/editor.product-images.left\": \"Izquierda\",\n \"admin/editor.product-images.right\": \"Derecha\",\n \"admin/editor.product-images.displayThumbnailsArrows.title\": \"Mostrar flechas en miniaturas\",\n \"admin/editor.product-specifications.title\": \"Especificaciones del producto\",\n \"admin/editor.product-specifications.hidden-specifications.title\": \"Especificaciones ocultas\",\n \"admin/editor.product-specifications.hidden-specifications.description\": \"Escribe los nombres de las especificaciones que deseas ocultar\",\n \"admin/editor.product-specifications.visible-specifications.title\": \"Especificaciones visibles\",\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.items.title\": \"Especificación\",\n \"admin/editor.logo.title\": \"Logotipo\",\n \"admin/editor.logo.description\": \"Componente para mostrar el logotipo de tu tienda\",\n \"admin/editor.logo.href.title\": \"Link de redirección\",\n \"admin/editor.logo.href.description\": \"Link de redirección cuando se hace clic en el logotipo. Déjalo en blanco para que no se pueda hacer clic.\",\n \"admin/editor.logo.url.title\": \"Imagen\",\n \"admin/editor.logo.url.description\": \"Imagen que se utilizará\",\n \"admin/editor.logo.width.title\": \"Anchura\",\n \"admin/editor.logo.width.description\": \"Anchura que se utilizará para el logotipo.\",\n \"admin/editor.logo.height.title\": \"Altura\",\n \"admin/editor.logo.height.description\": \"Altura que se utilizará para el logotipo.\",\n \"admin/editor.logo.title.title\": \"Texto alternativo\",\n \"admin/editor.logo.title.description\": \"Texto alternativo para la imagen del logotipo\",\n \"admin/editor.logo.mobileWidth.title\": \"Anchura en dispositivo 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.mobileHeight.title\": \"Altura en dispositivo móvil\",\n \"admin/editor.logo.mobileHeight.description\": \"Altura que se utilizará en los dispositivos móviles. Si está en blanco, se utilizará el valor de altura proporcionado.\",\n \"store/skuSelector.seeMore\": \"Ver más {quantity}\",\n \"store/sku-selector.select.placeholder\": \"Elige una opción\",\n \"store/sku-selector.variation.select-an-option\": \"Selecciona una opción\",\n \"admin/editor.skuSelector.title\": \"Selector de SKU\",\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.title\": \"Etiqueta \\\"ver más\\\"\",\n \"admin/editor.skuSelector.seeMoreLabel.description\": \"Etiqueta del botón \\\"ver más\\\". El mensaje debe tener un espacio reservado {quantity} para mostrar los ítems restantes disponibles. Ejemplo: \\\"Ver {quantity} más\\\"\",\n \"admin/editor.product-description.title\": \"Descripción del producto\",\n \"admin/editor.product-description.title-prop.title\": \"Título\",\n \"admin/editor.search-bar.title\": \"Barra de búsqueda\",\n \"admin/editor.search-bar.placeholder.title\": \"Texto de la búsqueda\",\n \"store/back-to-top.label\": \"Volver a la parte superior\",\n \"admin/editor.toTop.title\": \"Botón volver a la parte superior\",\n \"admin/editor.toTop.description\": \"Cuando se hace clic, vuelve a la parte superior de la página\",\n \"admin/editor.toTop.topPixel.title\": \"Número de píxeles\",\n \"admin/editor.toTop.topPixel.description\": \"Al exceder el valor de píxeles definido, aparecerá el botón para volver a la parte superior\"\n}\n\n```" } ]
code_store-components_7fe3877e
[ { "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 store-components/messages/ar.json from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"store/search.placeholder\": \"بحث\",\n \"store/search.searchFor\": \"بحث عن {term}\",\n \"store/search.search-term-too-short\": \"مصطلح البحث قصير جدًا\",\n \"admin/editor.productName.title\": \"اسم المنتج\",\n \"admin/editor.productName.description\": \"مكون اسم المنتج\",\n \"admin/editor.productName.showBrandName.title\": \"يعرض اسم العلامة التجارية\",\n \"admin/editor.productName.showSku.title\": \"تظهر وحدة ادارة بالمخزون\",\n \"admin/editor.productName.showProductReference.title\": \"يعرض مرجع المنتج\",\n \"admin/editor.productName.displayMode.title\": \"عرض الرابط المرتبط باسم المنتج أو النص العادي\",\n \"admin/editor.productName.displayMode.plainText\": \"نص عادي\",\n \"admin/editor.productName.displayMode.linkToProductPage\": \"رابط إلى صفحة المنتج\",\n \"admin/editor.productPrice.title\": \"سعر المنتج\",\n \"admin/editor.productPrice.description\": \"مكون سعر المنتج\",\n \"admin/editor.productPrice.showListPrice\": \"إظهار قائمة أسعار المنتجات\",\n \"admin/editor.productPrice.showSellingPriceRange\": \"إظهار نطاق أسعار بيع المنتج\",\n \"admin/editor.productPrice.showListPriceRange\": \"إظهار نطاق قائمة المنتجات\",\n \"admin/editor.productPrice.showLabels\": \"عرض تسميات أسعار المنتج\",\n \"admin/editor.productPrice.showInstallments\": \"عرض أقساط الدفع الخاصة بالمنتج\",\n \"admin/editor.productPrice.showSavings\": \"عرض قائمة المنتجات وفرق أسعار البيع\",\n \"admin/editor.productPrice.labelSellingPrice\": \"تسمية أسعار البيع\",\n \"admin/editor.productPrice.labelListPrice\": \"تسمية لائحة الأسعار\",\n \"admin/editor.share.title\": \"مشاركة\",\n \"admin/editor.share.description\": \"قائمة أزرار المشاركة\",\n \"admin/editor.share.social.title\": \"مواقع التواصل الإجتماعي\",\n \"store/product-description.title\": \"خصائص المنتج\",\n \"store/product-description.property\": \"المؤسسة\",\n \"store/product-description.specification\": \"المواصفات\",\n \"store/product-description.collapse.showMore\": \"عرض المزيد\",\n \"store/product-description.collapse.showLess\": \"عرض أقل\",\n \"store/pricing.installment-display\": \"أو {installments} {times} من {installmentPrice}\",\n \"store/pricing.from\": \"من\",\n \"store/pricing.to\": \"إلى\",\n \"store/pricing.savings\": \"توفير {savings}\",\n \"store/pricing.interest-free\": \"بدون فوائد\",\n \"store/loading\": \"تحميل…\",\n \"store/shipping.deliveryName\": \"التسليم\",\n \"store/shipping.deliveryEstimate\": \"تقدير\",\n \"store/shipping.deliveryPrice\": \"القيمة\",\n \"store/shipping.label\": \"حساب الشحن\",\n \"store/shipping.free\": \"مجانًا\",\n \"store/shipping.empty-sla\": \"لا توجد معلومات شحن متاحة للرمز البريدي المعلن\",\n \"store/buy-button.add-to-cart\": \"إضافة إلى عربة التسوق\",\n \"store/buybutton.buy-success\": \"تمت إضافة المنتج إلى السلة بنجاح\",\n \"store/buybutton.buy-success-duplicate\": \"عنصر موجود مسبقًا في عربتك\",\n \"store/buybutton.add-failure\": \"حدث خطأ ولم تتم إضافة العنصر إلى عربة التسوق الخاصة بك!\",\n \"store/buybutton.buy-offline-success\": \"تمت اضافة المنتج الى عربتك دون اتصال بالإنترنت\",\n \"store/buybutton.select-sku-variations\": \"الرجاء تحديد خيار من كل متغير\",\n \"store/buybutton.see-cart\": \"عرض عربة التسوق\",\n \"store/technicalspecifications.title\": \"المواصفات الفنية\",\n \"store/availability-subscriber.title\": \"هذا المنتج غير متوفر الآن\",\n \"store/availability-subscriber.subscribe-label\": \"أريد أن أعرف متى يصبح هذا المنتج متاحًا\",\n \"store/availability-subscriber.email-placeholder\": \"البريد الإلكتروني\",\n \"store/availability-subscriber.name-placeholder\": \"الإسم\",\n \"store/availability-subscriber.send-label\": \"إرسال\",\n \"store/availability-subscriber.invalid-email\": \"بريد إلكتروني خاطئ\",\n \"store/availability-subscriber.added-message\": \"تم تسجيل البريد الإلكتروني بنجاح\",\n \"store/availability-subscriber.error-message\": \"محاولة فاشلة، الرجاء المحاولة مرة أخرى\",\n \"store/newsletter.label\": \"اشتراك في القائمة البريدية\",\n \"store/newsletter.placeholder\": \"أدخل عنوان بريدك الإلكتروني\",\n \"store/newsletter.submit\": \"الاشتراك\",\n \"store/newsletter.invalidEmail\": \"يرجى إدخال البريد الإلكتروني الصحيح.\",\n \"store/newsletter.confirmationTitle\": \"شكرًا!\",\n \"store/newsletter.confirmationText\": \"تم تسجيل بريدك الإلكتروني بنجاح.\",\n \"store/newsletter.error\": \"حدث خطأ ما الرجاء المحاولة مرة أخرى في وقت لاحق\",\n \"admin/editor.newsletter.title\": \"الرسائل الإخبارية\",\n \"admin/editor.newsletter.description\": \"إستمارة الرسالة الإخبارية\",\n \"admin/editor.newsletter.label\": \"تسمية الاستمارة المستخدمة من قبل المكون\",\n \"admin/editor.newsletter.placeholder\": \"عنصر محجوز لإدخال البريد الإلكتروني\",\n \"admin/editor.newsletter.submit\": \"تسمية زر الإرسال\",\n \"admin/editor.newsletter.hideLabel\": \"إخفاء التسمية\",\n \"admin/editor.categoriesHighlighted.title\": \"الفئات المميزة\",\n \"admin/editor.categoriesHighlighted.description\": \"فئات الخدمات التي تم إبرازها\",\n \"admin/editor.categoriesHighlighted.item.categoryName\": \"اسم الفئة\",\n \"admin/editor.categoriesHighlighted.item.categoryImage\": \"صورة الفئة\",\n \"admin/editor.categoriesHighlighted.category\": \"الفئة\",\n \"admin/editor.categoriesHighlighted.categoriesHighlighted\": \"الفئات المميزة\",\n \"admin/editor.categoriesHighlighted.showCategoriesHighlighted\": \"عرض الفئات المميزة\",\n \"admin/editor.categoriesHighlighted.quantityOfItems\": \"عدد العناصر\",\n \"admin/editor.categoriesHighlighted.cardShape\": \"شكل الصندوق\",\n \"admin/editor.categoriesHighlighted.cardShape.squared\": \"مربعة\",\n \"admin/editor.categoriesHighlighted.cardShape.rectangular\": \"مستطيلة\",\n \"store/searchBar.button.cancel.label\": \"إلغاء\",\n \"store/buyButton-label-unavailable\": \"غير متوفر\",\n \"store/greeting\": \"مرحبًا\",\n \"store/store-components.share.label\": \"مشاركة\",\n \"store/share.title\": \"{product} {sku} في {store}: \",\n \"admin/editor.info-card.title\": \"بطاقة المعلومات\",\n \"admin/editor.info-card.description\": \"مكون يحتوي على صورة ونص يمكنك اختيار كيفية عرضهما\",\n \"admin/editor.info-card.isFullModeStyle.title\": \"الصورة كخلفية\",\n \"admin/editor.info-card.isFullModeStyle.description\": \"إذا كان صحيحًا، فسيتم استخدام الصورة المقدمة كصورة خلفية وسيتم عرض النص فوقها\",\n \"admin/editor.info-card.textPosition.title\": \"موقع النص\",\n \"admin/editor.info-card.textPosition.description\": \"اختر موضع نص المكون الذي سيتم عرضه، يسار أو وسط أو يمين\",\n \"admin/editor.info-card.headline.title\": \"العنوان الرئيسي\",\n \"admin/editor.info-card.headline.description\": \"النص الذي سيتم عرضه كعنوان رئيسي داخل المكون\",\n \"admin/editor.info-card.subhead.title\": \"عنوان فرعي\",\n \"admin/editor.info-card.subhead.description\": \"النص الذي سيتم عرضه كعنوان فرعي داخل المكون\",\n \"admin/editor.info-card.body-text.title\": \"النص الأساسي\",\n \"admin/editor.info-card.body-text.description\": \"نص تحت عنوان فرعي داخل المكون\",\n \"admin/editor.info-card.callToActionMode.title\": \"استدعاء إلى وضع العمل\",\n \"admin/editor.info-card.callToActionMode.description\": \"للتحكم في كيفية عرض عبارة اتخاذ إجراء\",\n \"admin/editor.info-card.callToActionText.title\": \"نص الدعوة إلى الإجراء\",\n \"admin/editor.info-card.callToActionText.description\": \"نص لإظهاره في مكون الدعوة الداخلية إلى الإجراء\",\n \"admin/editor.info-card.callToActionUrl.title\": \"رابط الدعوة إلى العمل\",\n \"admin/editor.info-card.callToActionLinkTarget.title\": \"نوع إعادة توجيه الاتصال إلى رابط العمل\",\n \"admin/editor.info-card.callToActionLinkTarget.description\": \"وصف الخاصية callToActionLinkTarget\",\n \"admin/editor.info-card.callToActionLinkTarget.blank\": \"فتح الرابط في علامة تبويب جديدة\",\n \"admin/editor.info-card.callToActionLinkTarget.self\": \"فتح الرابط في نفس علامة التبويب\",\n \"admin/editor.info-card.callToActionUrl.description\": \"رابط لإعادة التوجيه عند النقر على CTA (دعوة للعمل)\",\n \"admin/editor.info-card.imageUrl.title\": \"الصورة\",\n \"admin/editor.info-card.imageUrl.description\": \"الصورة التي سيتم استخدامها على سطح المكتب\",\n \"admin/editor.info-card.mobileImageUrl.title\": \"صورة الهاتف\",\n \"admin/editor.info-card.mobileImageUrl.description\": \"الصورة التي سيتم استخدامها على الهاتف\",\n \"admin/editor.info-card.textAlignment.title\": \"توجيه النص\",\n \"admin/editor.info-card.textAlignment.description\": \"التحكم في توجيه النص داخل المكون\",\n \"admin/editor.info-card.textPosition.left\": \"اليسار\",\n \"admin/editor.info-card.textPosition.center\": \"الوسط\",\n \"admin/editor.info-card.textPosition.right\": \"اليمين\",\n \"admin/editor.info-card.textAlignment.left\": \"اليسار\",\n \"admin/editor.info-card.textAlignment.center\": \"الوسط\",\n \"admin/editor.info-card.textAlignment.right\": \"اليمين\",\n \"admin/editor.info-card.textMode.title\": \"وضع الكتابة\",\n \"admin/editor.info-card.textMode.description\": \"ما هو وضع النص الذي يجب أن تتوقع بطاقة المعلومات استلامه. HTML هو الافتراضي والنص المنسق يتيح لك استخدام التحديد.\",\n \"admin/editor.info-card.textMode.html\": \"HTML\",\n \"admin/editor.info-card.textMode.rich-text\": \"نصّ مُنـسّق\",\n \"admin/editor.info-card.callAction.none\": \"لا شيء\",\n \"admin/editor.info-card.callAction.button\": \"الزر\",\n \"admin/editor.info-card.callAction.link\": \"الرابط\",\n \"admin/editor.info-card.imageActionUrl.title\": \"رابط إجراء الصورة\",\n \"admin/editor.info-card.imageActionUrl.description\": \"مرر عنوان الرابط لجعل الصورة رابطًا يمكّن من إعادة توجيه المستخدم\",\n \"store/user-address.pickup\": \"الاستلام في {name}\",\n \"store/user-address.order\": \"طلب من\",\n \"store/user-address.change\": \"تغيير\",\n \"store/user-address.add\": \"أضف موقع\",\n \"admin/editor.notification-bar.title\": \"شريط الإشعارات\",\n \"admin/editor.notification-bar.description\": \"مكون يعرض أي نص بنمط شريط\",\n \"admin/editor.notification-bar.content.title\": \"المحتوى\",\n \"admin/editor.notification-bar.content.description\": \"نص الشريط\",\n \"admin/editor.blockClass.title\": \"فئة كتلة CSS\",\n \"admin/editor.blockClass.description\": \"يضيف اسم فصل إضافي لتسهيل النمط\",\n \"admin/editor.image.title\": \"الصورة\",\n \"admin/editor.image.description\": \"عرض أي صورة\",\n \"admin/editor.image.src.title\": \"الصورة\",\n \"admin/editor.image.title.title\": \"عنوان الصورة\",\n \"admin/editor.image.title.description\": \"العنوان الذي سيتم عرضه عند المرور بالفأررة\",\n \"admin/editor.info-card.imageAltText.title\": \"صورة النص البديل\",\n \"admin/editor.info-card.imageAltText.description\": \"نص بديل للصورة\",\n \"admin/editor.image.alt.title\": \"النص البديل\",\n \"admin/editor.product-images.title\": \"صور المنتج\",\n \"admin/editor.product-images.description\": \"يسمح لك مكون صور المنتج بتخصيص صور المنتج\",\n \"admin/editor.product-images.zoomOptions.title\": \"خيارات التكبير\",\n \"admin/editor.product-images.zoomType.title\": \"نوع التكبير\",\n \"admin/editor.product-images.bgopacity.title\": \"درجة تعتيم الخلفية\",\n \"admin/editor.product-images.thumbnailsOrientation.title\": \"توجيه الصور المصغرة\",\n \"admin/editor.product-images.gallery\": \"في المعرض\",\n \"admin/editor.product-images.in-page\": \"في الصفحة\",\n \"admin/editor.product-images.no-zoom\": \"بدون تكبير\",\n \"admin/editor.product-images.vertical\": \"رأسي\",\n \"admin/editor.product-images.horizontal\": \"أفقي\",\n \"admin/editor.product-images.position.title\": \"موضع الصورة المصغرة\",\n \"admin/editor.product-images.position.description\": \"يُستخدم فقط عندما يكون الاتجاه رأسيًا\",\n \"admin/editor.product-images.left\": \"اليسار\",\n \"admin/editor.product-images.right\": \"اليمين\",\n \"admin/editor.product-images.displayThumbnailsArrows.title\": \"عرض الأسهم في الصور المصغرة\",\n \"admin/editor.product-specifications.title\": \"مواصفات المنتج\",\n \"admin/editor.product-specifications.hidden-specifications.title\": \"المواصفات المخفية\",\n \"admin/editor.product-specifications.hidden-specifications.description\": \"اكتب أسماء المواصفات التي تريد إخفاءها\",\n \"admin/editor.product-specifications.visible-specifications.title\": \"المواصفات المرئية\",\n \"admin/editor.product-specifications.visible-specifications.description\": \"اكتب أسماء المواصفات التي تريد إظهارها. قم بتوفير إحدى المواصفات المخفية أو المواصفات المرئية فقط\",\n \"admin/editor.product-specifications.items.title\": \"المواصفات\",\n \"admin/editor.logo.title\": \"الشعار\",\n \"admin/editor.logo.description\": \"مكون لعرضه على شعار متجرك\",\n \"admin/editor.logo.href.title\": \"رابط إعادة التوجيه\",\n \"admin/editor.logo.href.description\": \"الرابط الذي ستتم إعادة توجيهك إليه عند النقر فوق الشعار. اترك الحقل فارغًا حتى لا يكون قابلاً للنقر.\",\n \"admin/editor.logo.url.title\": \"الصورة\",\n \"admin/editor.logo.url.description\": \"الصورة التي سيتم استعالها\",\n \"admin/editor.logo.width.title\": \"العرض\",\n \"admin/editor.logo.width.description\": \"العرض الذي سيتم استخدامه للشعار.\",\n \"admin/editor.logo.height.title\": \"الإرتفاع\",\n \"admin/editor.logo.height.description\": \"الارتفاع الذي سيتم استخدامه للشعار.\",\n \"admin/editor.logo.title.title\": \"النص البديل\",\n \"admin/editor.logo.title.description\": \"نص بديل يتم توفيره لصورة الشعار\",\n \"admin/editor.logo.mobileWidth.title\": \"عرض الهاتف\",\n \"admin/editor.logo.mobileWidth.description\": \"العرض المستخدم على الهاتف المحمول. إذا كان فارغًا، فسيستخدم قيمة العرض المقدمة.\",\n \"admin/editor.logo.mobileHeight.title\": \"إرتفاع الهاتف\",\n \"admin/editor.logo.mobileHeight.description\": \"الطول المستخدم على الهاتف المحمول. إذا كان فارغًا، فسيستخدم قيمة الطول المقدمة.\",\n \"store/skuSelector.seeMore\": \"عرض {quantity} أكثر\",\n \"store/sku-selector.select.placeholder\": \"اختر أحد الخيارات\",\n \"store/sku-selector.variation.select-an-option\": \"حدد خيارًا\",\n \"admin/editor.skuSelector.title\": \"خيار وحدة إدارة التخزين\",\n \"admin/editor.skuSelector.description\": \"مكون يعرض متغيرات معينة مختلفة لعنصر من اختيار المستخدم\",\n \"admin/editor.skuSelector.seeMoreLabel.title\": \"عرض المزيد من التسميات\",\n \"admin/editor.skuSelector.seeMoreLabel.description\": \"تسمية لعرض مزيد من الأزرار. يجب أن تحتوي الخانة على {quantity} عنصر محجوز لإظهار العناصر المتبقية المناسبة المتوفرة. مثال: \\\"عرض {quantity} أخرى\\\"\",\n \"admin/editor.product-description.title\": \"وصف المنتج\",\n \"admin/editor.product-description.title-prop.title\": \"العنوان\",\n \"admin/editor.search-bar.title\": \"شريط البحث\",\n \"admin/editor.search-bar.placeholder.title\": \"مساحة محجوزة\",\n \"store/back-to-top.label\": \"العودة الى الاعلى\",\n \"admin/editor.toTop.title\": \"العودة إلى زر الأعلى\",\n \"admin/editor.toTop.description\": \"عند النقر عليه يأخذ الصفحة إلى الأعلى\",\n \"admin/editor.toTop.topPixel.title\": \"عدد البكسلات\",\n \"admin/editor.toTop.topPixel.description\": \"عند تجاوز قيمة البكسل المحددة، سيظهر الزر للعودة إلى الأعلى\"\n}\n\n```" } ]
code_store-components_84ad30cf
[ { "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 store-components/docs/README.md from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```markdown\n>📢 **Disclaimer** Don't fork this project. Use it, [contribute](https://github.com/vtex-apps/store-components) to it or open issues through [Store Discussion](https://github.com/vtex-apps/store-discussion) to help us evolve it.\n\n# VTEX Store Components\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\n[![All Contributors](https://img.shields.io/badge/all_contributors-17-orange.svg?style=flat-square)](#contributors-)\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\n\nVTEX Store Components is a collection of components that can be used to create/extend others VTEX apps.\n\n\n- [VTEX Store Components](#vtex-store-components)\n - [Usage](#usage)\n - [Styles API](#styles-api)\n - [Components](#components)\n - [Creating a new component](#creating-a-new-component)\n - [Project structure](#project-structure)\n - [Troubleshooting](#troubleshooting)\n - [Contributing](#contributing)\n - [Tests](#tests)\n - [Travis CI](#travis-ci)\n - [Contributors](#contributors)\n\n## Usage\n\nThe Store Components collection uses the `store` builder with the blocks architecture. Please refer to our [Builder](https://developers.vtex.com/vtex-developer-docs/docs/vtex-io-documentation-builders) documentation to learn more about the `store` builder. \n\nTo use this app, you must import it as dependency of your project in the `manifest.json` file.\n\n```json\n \"dependencies\": {\n \"vtex.store-components\": \"3.x\"\n }\n```\n\nThen, you can start adding components to your store theme app.\n\n## Styles API\n\nThe Store Components collection 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\": \"2.x\"\n }\n```\n\n2. Create a file called `vtex.store-components.css` inside the `styles/css` folder. Add your custom styles:\n\n```css\n.container {\n margin-top: 10px;\n}\n```\n\n## Components\n\nFor more information, check the documentation of all components of the Store Components collection.\n\n- [Availability Subscriber](https://developers.vtex.com/vtex-developer-docs/docs/vtex-store-components-availabilitysubscriber)\n- [Back To Top Button](https://developers.vtex.com/vtex-developer-docs/docs/vtex-store-components-backtotopbutton)\n- [Buy Button](https://developers.vtex.com/vtex-developer-docs/docs/vtex-store-components-buybutton)\n- [Image](https://developers.vtex.com/vtex-developer-docs/docs/vtex-store-components-image)\n- [InfoCard](https://developers.vtex.com/vtex-developer-docs/docs/vtex-store-components-infocard)\n- [Logo](https://developers.vtex.com/vtex-developer-docs/docs/vtex-store-components-logo)\n- [Newsletter](https://developers.vtex.com/vtex-developer-docs/docs/vtex-store-components-newsletter)\n- [Product Brand](https://developers.vtex.com/vtex-developer-docs/docs/vtex-store-components-productbrand)\n- [Product Description](https://developers.vtex.com/vtex-developer-docs/docs/vtex-store-components-productdescription)\n- [Product Images](https://developers.vtex.com/vtex-developer-docs/docs/vtex-store-components-productimages)\n- [Product Name](https://developers.vtex.com/vtex-developer-docs/docs/vtex-store-components-productname)\n- [Product SKU Attributes](https://developers.vtex.com/vtex-developer-docs/docs/vtex-store-components-productskuattributes)\n- [Product Price](https://developers.vtex.com/vtex-developer-docs/docs/vtex-store-components-productprice)\n- [Product Specifications](https://developers.vtex.com/vtex-developer-docs/docs/vtex-store-components-productspecifications)\n- [SKU Selector](https://developers.vtex.com/vtex-developer-docs/docs/vtex-store-components-skuselector)\n- [Search Bar](https://developers.vtex.com/vtex-developer-docs/docs/vtex-store-components-searchbar)\n- [Share](https://developers.vtex.com/vtex-developer-docs/docs/vtex-store-components-share)\n- [Shipping Simulator](https://developers.vtex.com/vtex-developer-docs/docs/vtex-store-components-shippingsimulator)\n- [Notification](https://developers.vtex.com/vtex-developer-docs/docs/vtex-store-components-notification)\n\n\n> ⚠️ Warning\n>\n> **The following blocks have been deprecated:** `Animation`, `Categories Highlights`, `Collection Badges`, `Container`, `Discount Badge`, `Gradient Collapse`, `Greeting`, `Slider`. Despite this, support for them is still granted.\n\n## Creating a new component\n\nTo start your development, create a new folder on react/components. That's where your source code will be stored. Also create a new js file on /react, this file should be used to expose your component, like:\n\n### Project structure\n\nInside your `react/components/<component_name>` you should have:\n\n- index.js\n- README.md\n- [Optional] components/\n- [Optional] constants/\n- [Optional] utils/\n- [Optional] queries/\n- [Optional] mutations/\n- [Optional] styles.css\n\nNext, inside of `react/` folder you need to export your component, such as:\n\n```js\nimport ProductPrice from './components/ProductPrice/index'\n\nexport default ProductPrice\n```\n\nAlso, all dependencies needed should be inserted inside the react/package.json.\n\n## Troubleshooting\n\nYou can check if others are passing through similar issues [here](https://github.com/vtex-apps/store-components/issues). Also feel free to [open issues](https://github.com/vtex-apps/store-components/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[![Build Status](https://api.travis-ci.org/vtex-apps/store-components.svg?branch=master)](https://travis-ci.org/vtex-apps/store-components)\n\n<!-- DOCS-IGNORE:start -->\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<table>\n <tr>\n <td align=\"center\"><a href=\"https://github.com/hapoza\"><img src=\"https://avatars3.githubusercontent.com/u/27775611?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Dan</b></sub></a><br /><a href=\"https://github.com/vtex-apps/store-components/commits?author=hapoza\" title=\"Code\">💻</a></td>\n <td align=\"center\"><a href=\"https://github.com/JNussens\"><img src=\"https://avatars0.githubusercontent.com/u/7662734?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jean Nussenzveig</b></sub></a><br /><a href=\"https://github.com/vtex-apps/store-components/commits?author=JNussens\" title=\"Code\">💻</a></td>\n <td align=\"center\"><a href=\"https://github.com/lucasayb\"><img src=\"https://avatars2.githubusercontent.com/u/17356081?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Lucas Antônio Yamamoto Borges</b></sub></a><br /><a href=\"https://github.com/vtex-apps/store-components/commits?author=lucasayb\" title=\"Code\">💻</a></td>\n <td align=\"center\"><a href=\"https://t.co/LTjWBxRnqE\"><img src=\"https://avatars3.githubusercontent.com/u/28419764?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sebastian Sanchez Vega</b></sub></a><br /><a href=\"https://github.com/vtex-apps/store-components/commits?author=sebaskun98\" title=\"Code\">💻</a></td>\n <td align=\"center\"><a href=\"https://github.com/Erislandio\"><img src=\"https://avatars1.githubusercontent.com/u/34255207?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Erislandio</b></sub></a><br /><a href=\"https://github.com/vtex-apps/store-components/commits?author=Erislandio\" title=\"Code\">💻</a></td>\n <td align=\"center\"><a href=\"https://github.com/BeatrizMiranda\"><img src=\"https://avatars2.githubusercontent.com/u/28959326?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Beatriz Miranda</b></sub></a><br /><a href=\"https://github.com/vtex-apps/store-components/commits?author=BeatrizMiranda\" title=\"Code\">💻</a></td>\n <td align=\"center\"><a href=\"https://github.com/Jayendra88\"><img src=\"https://avatars1.githubusercontent.com/u/2637457?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jayendra</b></sub></a><br /><a href=\"https://github.com/vtex-apps/store-components/commits?author=Jayendra88\" title=\"Code\">💻</a></td>\n </tr>\n <tr>\n <td align=\"center\"><a href=\"https://github.com/pgrimaud\"><img src=\"https://avatars1.githubusercontent.com/u/1866496?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Pierre Grimaud</b></sub></a><br /><a href=\"https://github.com/vtex-apps/store-components/commits?author=pgrimaud\" title=\"Documentation\">📖</a></td>\n <td align=\"center\"><a href=\"https://www.linkedin.com/in/igorpoubel\"><img src=\"https://avatars2.githubusercontent.com/u/6241622?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Igor Poubel</b></sub></a><br /><a href=\"https://github.com/vtex-apps/store-components/commits?author=igorpoubel\" title=\"Code\">💻</a></td>\n <td align=\"center\"><a href=\"http://www.hugoccosta.com\"><img src=\"https://avatars2.githubusercontent.com/u/20212776?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Hugo Costa</b></sub></a><br /><a href=\"https://github.com/vtex-apps/store-components/commits?author=hugocostadev\" title=\"Code\">💻</a></td>\n <td align=\"center\"><a href=\"https://github.com/MatheusR42\"><img src=\"https://avatars0.githubusercontent.com/u/16908590?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Matheus Araujo</b></sub></a><br /><a href=\"https://github.com/vtex-apps/store-components/commits?author=MatheusR42\" title=\"Documentation\">📖</a></td>\n <td align=\"center\"><a href=\"https://github.com/LuisaFCorrea\"><img src=\"https://avatars3.githubusercontent.com/u/66276121?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Luisa Correa</b></sub></a><br /><a href=\"https://github.com/vtex-apps/store-components/commits?author=LuisaFCorrea\" title=\"Code\">💻</a></td>\n <td align=\"center\"><a href=\"https://github.com/pmarignan\"><img src=\"https://avatars2.githubusercontent.com/u/32361926?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>pmarignan</b></sub></a><br /><a href=\"https://github.com/vtex-apps/store-components/commits?author=pmarignan\" title=\"Code\">💻</a></td>\n <td align=\"center\"><a href=\"https://github.com/rcmuniz1994\"><img src=\"https://avatars.githubusercontent.com/u/32344098?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Rodrigo Muniz</b></sub></a><br /><a href=\"https://github.com/vtex-apps/store-components/commits?author=rcmuniz1994\" title=\"Code\">💻</a></td>\n </tr>\n <tr>\n <td align=\"center\"><a href=\"https://github.com/ovio224\"><img src=\"https://avatars.githubusercontent.com/u/68231117?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Ovi</b></sub></a><br /><a href=\"https://github.com/vtex-apps/store-components/commits?author=oviolion\" title=\"Code\">💻</a></td>\n <td align=\"center\"><a href=\"https://github.com/LucasCastroJussi\"><img src=\"https://avatars.githubusercontent.com/u/80407814?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>LucasCastroJussi</b></sub></a><br /><a href=\"https://github.com/vtex-apps/store-components/commits?author=LucasCastroJussi\" title=\"Code\">💻</a></td>\n <td align=\"center\"><a href=\"https://razvanudrea.com\"><img src=\"https://avatars.githubusercontent.com/u/71461884?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>razvanudream</b></sub></a><br /><a href=\"https://github.com/vtex-apps/store-components/commits?author=razvanudream\" title=\"Code\">💻</a></td>\n </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\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**Upcoming documentation:**\n\n - [Render logo as amp-img if in AMP page](https://github.com/vtex-apps/store-components/pull/580)\n - [Update CSS handles on ProductSpecification](https://github.com/vtex-apps/store-components/pull/599)\n\n - [Including classes on searchBar to identify when is open and/or filled](https://github.com/vtex-apps/store-components/pull/792)\n\n```" } ]
code_store-components_d0799645
[ { "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 store-components/react/NotificationBar.tsx from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport React, { memo } from 'react'\nimport { useIntl } from 'react-intl'\nimport { formatIOMessage } from 'vtex.native-types'\nimport { useCssHandles } from 'vtex.css-handles'\nimport type { CssHandlesTypes } from 'vtex.css-handles'\n\nimport { SanitizedHTML } from './components/SanitizedHTML'\n\nconst CSS_HANDLES = [\n 'notificationBarContainer',\n 'notificationBarInner',\n 'notificationContent',\n] as const\n\ninterface Props {\n /** Text to be used in the bar */\n content?: string\n /** Used to override default CSS handles */\n classes?: CssHandlesTypes.CustomClasses<typeof CSS_HANDLES>\n}\n\nfunction NotificationBar({ content = '', classes }: Props) {\n const { handles } = useCssHandles(CSS_HANDLES, { classes })\n const intl = useIntl()\n\n if (!content) {\n return null\n }\n\n return (\n <div\n className={`${handles.notificationBarContainer} bg-base--inverted c-on-base--inverted w-100`}\n >\n <div\n className={`${handles.notificationBarInner} min-h-large flex items-center justify-center`}\n >\n <div className={handles.notificationContent}>\n <SanitizedHTML\n content={formatIOMessage({ id: content, intl }) as string}\n />\n </div>\n </div>\n </div>\n )\n}\n\nconst MemoizedNotificationBar: React.MemoExoticComponent<\n typeof NotificationBar\n> & { schema?: Record<string, string> } = memo(NotificationBar)\n\nMemoizedNotificationBar.schema = {\n title: 'admin/editor.notification-bar.title',\n}\n\nexport default MemoizedNotificationBar\n\n```" } ]
code_store-components_d407772a
[ { "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 store-components/react/ProductDescription.tsx from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport React, { memo } from 'react'\nimport type { MemoExoticComponent, PropsWithChildren } from 'react'\nimport { FormattedMessage, useIntl } from 'react-intl'\nimport { useCssHandles } from 'vtex.css-handles'\nimport type { CssHandlesTypes } from 'vtex.css-handles'\nimport { formatIOMessage } from 'vtex.native-types'\nimport { useProduct } from 'vtex.product-context'\n\nimport { SanitizedHTML, DEFAULTS } from './components/SanitizedHTML'\nimport GradientCollapse from './components/GradientCollapse'\n\nconst CSS_HANDLES = [\n 'productDescriptionContainer',\n 'productDescriptionTitle',\n 'productDescriptionText',\n] as const\n\ntype Props = {\n /** Description fallback */\n description?: string\n /** Section title */\n title?: string\n /** Define whether or not to show the title */\n showTitle?: boolean\n /** Define if content should start collapsed or not */\n collapseContent?: boolean\n /** Used to override default CSS handles */\n classes?: CssHandlesTypes.CustomClasses<typeof CSS_HANDLES>\n}\n\nconst allowedTags = [\n ...DEFAULTS.allowedTags,\n 'link',\n 'body',\n 'html',\n 'style',\n 'link',\n 'script',\n 'head',\n 'meta',\n 'object',\n 'embed',\n]\n\nconst allowedAttributes = {\n ...DEFAULTS.allowedAttributes,\n meta: ['charset', 'name', 'content'],\n object: ['type', 'height', 'width', 'data'],\n embed: ['height', 'width', 'src'],\n}\n\n/**\n * Product Description Component.\n * Render the description of a product\n */\nfunction ProductDescription(props: PropsWithChildren<Props>) {\n const { handles } = useCssHandles(CSS_HANDLES, { classes: props.classes })\n const intl = useIntl()\n const { product } = useProduct()\n\n const description = props.description ?? product?.description\n\n if (!description) {\n return null\n }\n\n const { collapseContent = true, showTitle = true, title } = props\n\n return (\n <div className={handles.productDescriptionContainer}>\n {showTitle && (\n <FormattedMessage id=\"store/product-description.title\">\n {txt => (\n <h2\n className={`${handles.productDescriptionTitle} t-heading-5 mb5 mt0`}\n >\n {title ? formatIOMessage({ id: title, intl }) : txt}\n </h2>\n )}\n </FormattedMessage>\n )}\n\n <div className={`${handles.productDescriptionText} c-muted-1`}>\n {collapseContent ? (\n <GradientCollapse collapseHeight={220}>\n <SanitizedHTML\n content={description}\n allowedTags={allowedTags}\n allowedAttributes={allowedAttributes}\n />\n </GradientCollapse>\n ) : (\n <SanitizedHTML\n content={description}\n allowedTags={allowedTags}\n allowedAttributes={allowedAttributes}\n />\n )}\n </div>\n </div>\n )\n}\n\nconst MemoizedProductDescription: MemoExoticComponent<\n typeof ProductDescription\n> & { schema?: Record<string, string> } = memo(ProductDescription)\n\nMemoizedProductDescription.schema = {\n title: 'admin/editor.product-description.title',\n}\n\nexport default MemoizedProductDescription\n\n```" } ]
code_store-components_e1b1c358
[ { "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 store-components/react/InfoCard.js from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```javascript\nimport InfoCard from './components/InfoCard/index'\n\nexport default InfoCard\n\n```" } ]
code_store-components_e407b7d1
[ { "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 store-components/react/AvailabilitySubscriber.tsx from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport React, { useState } from 'react'\nimport type { FormEvent, ChangeEvent } from 'react'\nimport { useIntl } from 'react-intl'\nimport { useMutation } from 'react-apollo'\nimport { Button, Input } from 'vtex.styleguide'\nimport { useProduct } from 'vtex.product-context'\nimport type { Seller } from 'vtex.product-context'\n\nimport ADD_TO_AVAILABILITY_SUBSCRIBER_MUTATION from './graphql/addToAvailabilitySubscriberMutation.gql'\nimport styles from './AvailabilitySubscriber.css'\nimport { getDefaultSeller } from './utils/sellers'\n\ninterface MutationVariables {\n acronym: string\n document: {\n fields: Array<{\n key: string\n value?: string | null\n }>\n }\n}\ninterface Props {\n /* Product's availability */\n available?: boolean\n /* SKU id to subscribe to */\n skuId?: string\n}\n\nconst isAvailable = (commertialOffer?: Seller['commertialOffer']) => {\n return (\n commertialOffer &&\n (Number.isNaN(+commertialOffer.AvailableQuantity) ||\n commertialOffer.AvailableQuantity > 0)\n )\n}\n\n/**\n * Availability Subscriber Component.\n * A form where users can sign up to be alerted\n * when a product becomes available again\n */\nfunction AvailabilitySubscriber(props: Props) {\n const productContext = useProduct()\n const [name, setName] = useState('')\n const [email, setEmail] = useState('')\n const [emailError, setEmailError] = useState(false)\n const [didBlurEmail, setDidBlurEmail] = useState(false)\n\n const [signUp, { loading, error, data }] = useMutation<\n unknown,\n MutationVariables\n >(ADD_TO_AVAILABILITY_SUBSCRIBER_MUTATION)\n\n const intl = useIntl()\n\n const seller = getDefaultSeller(productContext.selectedItem?.sellers)\n\n const available = props.available ?? isAvailable(seller?.commertialOffer)\n const skuId = props.skuId ?? productContext.selectedItem?.itemId\n\n // Render component only if the product is out of stock\n if (available || !skuId) {\n return null\n }\n\n const handleSubmit = async (e: FormEvent<HTMLFormElement>) => {\n e.preventDefault()\n\n const variables: MutationVariables = {\n acronym: 'AS',\n document: {\n fields: [\n {\n key: 'skuId',\n value: skuId,\n },\n {\n key: 'name',\n value: name,\n },\n {\n key: 'email',\n value: email,\n },\n {\n key: 'notificationSend',\n value: 'false',\n },\n {\n key: 'createdAt',\n value: new Date().toISOString(),\n },\n {\n key: 'sendAt',\n value: null,\n },\n ],\n },\n }\n\n const signUpMutationResult = await signUp({\n variables,\n })\n\n if (!signUpMutationResult.errors) {\n setName('')\n setEmail('')\n }\n\n const event = new CustomEvent('message:success', {\n detail: {\n success: true,\n message: intl.formatMessage({\n id: 'store/availability-subscriber.added-message',\n }),\n },\n })\n\n document.dispatchEvent(event)\n }\n\n const validateEmail = (newEmail: string) => {\n const emailRegex =\n /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/\n\n setEmailError(!emailRegex.test(newEmail.toLowerCase()))\n }\n\n const handleEmailChange = (e: ChangeEvent<HTMLInputElement>) => {\n setEmail(e.target.value)\n validateEmail(e.target.value)\n }\n\n const handleNameChange = (e: ChangeEvent<HTMLInputElement>) => {\n setName(e.target.value)\n }\n\n let emailErrorMessage = ''\n\n if (didBlurEmail && emailError) {\n emailErrorMessage = intl.formatMessage({\n id: 'store/availability-subscriber.invalid-email',\n })\n }\n\n const isFormDisabled = name === '' || email === '' || emailError || loading\n\n return (\n <div className={styles.subscriberContainer}>\n <div className={`${styles.title} t-body mb3`}>\n {intl.formatMessage({ id: 'store/availability-subscriber.title' })}\n </div>\n <div className={`${styles.subscribeLabel} t-small fw3`}>\n {intl.formatMessage({\n id: 'store/availability-subscriber.subscribe-label',\n })}\n </div>\n <form className={`${styles.form} mb4`} onSubmit={e => handleSubmit(e)}>\n <div className={`${styles.content} flex-ns justify-between mt4 mw6`}>\n <div className={`${styles.input} ${styles.inputName} w-100 mr5 mb4`}>\n <Input\n name=\"name\"\n type=\"text\"\n placeholder={intl.formatMessage({\n id: 'store/availability-subscriber.name-placeholder',\n })}\n value={name}\n onChange={handleNameChange}\n />\n </div>\n <div className={`${styles.input} ${styles.inputEmail} w-100 mr5 mb4`}>\n <Input\n name=\"email\"\n type=\"text\"\n placeholder={intl.formatMessage({\n id: 'store/availability-subscriber.email-placeholder',\n })}\n value={email}\n onChange={handleEmailChange}\n onBlur={() => setDidBlurEmail(true)}\n error={didBlurEmail && emailError}\n errorMessage={emailErrorMessage}\n />\n </div>\n <div className={`${styles.submit} flex items-center mb4`}>\n <Button\n type=\"submit\"\n variation=\"primary\"\n size=\"small\"\n disabled={isFormDisabled}\n isLoading={loading}\n >\n {intl.formatMessage({\n id: 'store/availability-subscriber.send-label',\n })}\n </Button>\n </div>\n </div>\n {!error && data && (\n <div className={`${styles.success} t-body c-success`}>\n {intl.formatMessage({\n id: 'store/availability-subscriber.added-message',\n })}\n </div>\n )}\n {error && (\n <div className={`${styles.error} c-danger`}>\n {intl.formatMessage({\n id: 'store/availability-subscriber.error-message',\n })}\n </div>\n )}\n </form>\n </div>\n )\n}\n\nexport default AvailabilitySubscriber\n\n```" } ]
code_store-components_eecde2e7
[ { "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 store-components/react/SanitizedHTML.ts from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\nexport { SanitizedHTML as default } from './components/SanitizedHTML'\n\n```" } ]
code_store-components_56b2e8cc
[ { "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 store-components/react/BuyButton.js from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```javascript\nimport BuyButton from './components/BuyButton/Wrapper'\n\nexport default BuyButton\n\n```" } ]
code_store-components_174b18dd
[ { "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 store-components/react/HighQualityProductImage.ts from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\nexport { default } from './components/ProductImages/components/HighQualityProductImage'\n\n```" } ]
code_store-components_51a0c141
[ { "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 store-components/react/NotificationInline.tsx from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport React, { memo } from 'react'\nimport { useIntl } from 'react-intl'\nimport { formatIOMessage } from 'vtex.native-types'\nimport { useCssHandles } from 'vtex.css-handles'\nimport type { CssHandlesTypes } from 'vtex.css-handles'\n\nimport { SanitizedHTML } from './components/SanitizedHTML'\n\nconst CSS_HANDLES = ['notificationContent'] as const\n\ninterface Props {\n /** Text to be used in the bar */\n content?: string\n /** Used to override default CSS handles */\n classes?: CssHandlesTypes.CustomClasses<typeof CSS_HANDLES>\n}\n\nfunction NotificationInline({ content = '', classes }: Props) {\n const { handles } = useCssHandles(CSS_HANDLES, { classes })\n const intl = useIntl()\n\n if (!content) {\n return null\n }\n\n return (\n <div className={handles.notificationContent}>\n <SanitizedHTML\n content={formatIOMessage({ id: content, intl }) as string}\n />\n </div>\n )\n}\n\nconst MemoizedNotificationInline: React.MemoExoticComponent<\n typeof NotificationInline\n> & { schema?: Record<string, string> } = memo(NotificationInline)\n\nMemoizedNotificationInline.schema = {\n title: 'admin/editor.notification-bar.title',\n}\n\nexport default MemoizedNotificationInline\n\n```" } ]
code_store-components_4eca16af
[ { "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 store-components/react/CategoriesHighlights.js from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```javascript\nimport CategoriesHighlights from './components/CategoriesHighlights'\n\nexport default CategoriesHighlights\n\n```" } ]
code_store-components_32e6c2e3
[ { "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 store-components/react/Container.tsx from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport React from 'react'\nimport type { PropsWithChildren, ForwardedRef } from 'react'\n\nimport styles from './Container.css'\n\ntype Props = PropsWithChildren<{\n className?: string\n}>\n\nfunction InnerContainer(\n { className, children, ...props }: Props,\n ref: ForwardedRef<HTMLDivElement>\n) {\n return (\n <section\n {...props}\n className={`${styles.container} ph3 ph5-m ph2-xl mw9 center ${\n className ?? ''\n }`}\n ref={ref}\n >\n {children}\n </section>\n )\n}\n\nInnerContainer.displayName = 'Container'\n\n/**\n * Renders a container to wrap elements in the middle of the viewport.\n */\nconst Container = React.forwardRef<HTMLDivElement, Props>(InnerContainer)\n\nexport default Container\n\n```" } ]
code_store-components_7af9a2bf
[ { "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 store-components/react/SKUSelector.tsx from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport SKUSelector from './components/SKUSelector/Wrapper'\n\nexport default SKUSelector\n\n```" } ]
code_store-components_94063594
[ { "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 store-components/react/ProductImages.js from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```javascript\nimport ProductImages from './components/ProductImages/Wrapper'\n\nexport default ProductImages\n\n```" } ]
code_store-components_aba1b1d5
[ { "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 store-components/react/SearchBar.tsx from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport React, { useState, useCallback, useEffect } from 'react'\nimport { useIntl } from 'react-intl'\nimport { ModalContext } from 'vtex.modal-layout'\nimport { useRuntime } from 'vtex.render-runtime'\nimport { useCssHandles } from 'vtex.css-handles'\nimport type { CssHandlesTypes } from 'vtex.css-handles'\nimport { usePixel } from 'vtex.pixel-manager'\n\nimport SearchBar, {\n CSS_HANDLES as SearchBarCssHandles,\n} from './components/SearchBar/SearchBar'\nimport { CSS_HANDLES as AutocompleteInputCssHandles } from './components/SearchBar/AutocompleteInput'\nimport { SearchBarCssHandlesProvider } from './components/SearchBar/SearchBarCssHandles'\n\nconst { useModalDispatch } = ModalContext\n\nexport const SEARCH_BAR_CSS_HANDLES = [\n ...SearchBarCssHandles,\n ...AutocompleteInputCssHandles,\n] as const\n\ninterface Props {\n /** Define when use the compact version of the component */\n compactMode?: boolean\n /** Define if the search icon is on left or right position */\n hasIconLeft?: boolean\n /** Custom classes for the search icon */\n iconClasses?: string\n /** Define if the search input should autofocus or not */\n autoFocus?: boolean\n /** Max width of the search bar */\n maxWidth?: string | number\n /**\n * Uses the term the user has inputed to try to navigate to the proper\n * page type (e.g. a department, a brand, a category)\n */\n attemptPageTypeSearch?: boolean\n /** A template for a custom url. It can have a substring ${term} used as placeholder to interpolate the searched term. (e.g. `/search?query=${term}`) */\n customSearchPageUrl?: string\n placeholder?: string\n /* Autocomplete Horizontal alignment */\n autocompleteAlignment?: 'right' | 'left' | 'center'\n /** Define if autocomplete should be open on input focus or not */\n openAutocompleteOnFocus?: boolean\n /** Define if input should blur on submit */\n blurOnSubmit?: boolean\n /** Define if icon should submit on click */\n submitOnIconClick?: boolean\n /** Minimum search term length allowed */\n minSearchTermLength?: number\n /** If true, the autocomplete will fill the whole window horizontally */\n autocompleteFullWidth?: boolean\n /** The type of the search input */\n inputType?: 'text' | 'search'\n /** Define the component display mode, such as which buttons should be visible */\n displayMode?: 'clear-button' | 'search-and-clear-buttons' | 'search-button'\n /** Define how the autocomplete component should be displayed. Possible values are: `overlay` (suggestions overlapping other components) and `container` (displays the suggestion within a container). */\n containerMode: 'overlay' | 'container'\n /** Used to override default CSS handles */\n classes?: CssHandlesTypes.CustomClasses<typeof SEARCH_BAR_CSS_HANDLES>\n /** The autocomplete can have touchable/clickable components. Interacting with those components may trigger blur and touch events that will close the autocomplete. When set to true, this prop will disable those handlers */\n disableBlurAndTouchEndHandler?: boolean\n}\n\n/**\n * Canonical search bar that uses the autocomplete endpoint to search for a specific product\n * */\nfunction SearchBarContainer(props: Props) {\n const intl = useIntl()\n const {\n compactMode,\n hasIconLeft,\n iconClasses,\n autoFocus,\n maxWidth,\n attemptPageTypeSearch,\n customSearchPageUrl,\n placeholder = intl.formatMessage({\n id: 'store/search.placeholder',\n }),\n autocompleteAlignment = 'right',\n openAutocompleteOnFocus = false,\n containerMode = 'overlay',\n blurOnSubmit = false,\n submitOnIconClick,\n displayMode = 'clear-button',\n minSearchTermLength,\n autocompleteFullWidth = false,\n inputType = 'text',\n classes,\n disableBlurAndTouchEndHandler = false,\n } = props\n\n const modalDispatch = useModalDispatch()\n const { navigate, query } = useRuntime()\n const { push } = usePixel()\n\n const [inputValue, setInputValue] = useState(query?._q ?? '')\n\n useEffect(() => {\n setInputValue(query?._q ?? '')\n }, [query?._q])\n\n const { handles, withModifiers } = useCssHandles(SEARCH_BAR_CSS_HANDLES, {\n classes,\n })\n\n const closeModal = useCallback(() => {\n if (modalDispatch) {\n modalDispatch({\n type: 'CLOSE_MODAL',\n })\n }\n }, [modalDispatch])\n\n const handleClearInput = useCallback(() => {\n setInputValue('')\n }, [])\n\n const handleInputChange = useCallback(event => {\n setInputValue(event.target.value)\n }, [])\n\n const handleGoToSearchPage = useCallback(() => {\n const search = encodeURIComponent(inputValue.trim())\n\n push({\n event: 'search',\n term: search,\n })\n\n if (attemptPageTypeSearch) {\n window.location.href = `/${search}`\n closeModal()\n\n return\n }\n\n if (customSearchPageUrl) {\n navigate({\n to: customSearchPageUrl.replace(/\\$\\{term\\}/g, search),\n })\n closeModal()\n\n return\n }\n\n // This param is only useful to track terms searched\n // See: https://support.google.com/analytics/answer/1012264\n const paramForSearchTracking = `&_q=${search}`\n\n navigate({\n page: 'store.search',\n params: { term: search },\n query: `map=ft${paramForSearchTracking}`,\n fallbackToWindowLocation: false,\n })\n closeModal()\n }, [\n inputValue,\n attemptPageTypeSearch,\n customSearchPageUrl,\n navigate,\n closeModal,\n push,\n ])\n\n return (\n <SearchBarCssHandlesProvider\n handles={handles}\n withModifiers={withModifiers}\n >\n <SearchBar\n // eslint-disable-next-line jsx-a11y/no-autofocus\n autoFocus={autoFocus}\n placeholder={placeholder}\n inputValue={inputValue}\n onClearInput={handleClearInput}\n onGoToSearchPage={handleGoToSearchPage}\n onInputChange={handleInputChange}\n compactMode={compactMode}\n hasIconLeft={hasIconLeft}\n iconClasses={iconClasses}\n maxWidth={maxWidth}\n attemptPageTypeSearch={attemptPageTypeSearch}\n customSearchPageUrl={customSearchPageUrl}\n autocompleteAlignment={autocompleteAlignment}\n openAutocompleteOnFocus={openAutocompleteOnFocus}\n blurOnSubmit={blurOnSubmit}\n submitOnIconClick={submitOnIconClick}\n displayMode={displayMode}\n minSearchTermLength={minSearchTermLength}\n autocompleteFullWidth={autocompleteFullWidth}\n inputType={inputType}\n containerMode={containerMode}\n disableBlurAndTouchEndHandler={disableBlurAndTouchEndHandler}\n />\n </SearchBarCssHandlesProvider>\n )\n}\n\nSearchBarContainer.schema = {\n title: 'admin/editor.search-bar.title',\n}\n\nexport default SearchBarContainer\n\n```" } ]
code_store-components_923ef4c3
[ { "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 store-components/react/ProductBrand.tsx from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport React, { FC } from 'react'\nimport { useQuery } from 'react-apollo'\nimport { useProduct } from 'vtex.product-context'\nimport { useCssHandles } from 'vtex.css-handles'\nimport type { CssHandlesTypes } from 'vtex.css-handles'\n\nimport { ProductBrandCssHandlesProvider } from './components/ProductBrand/ProductBrandCssHandles'\nimport ProductBrandName, {\n CSS_HANDLES as ProductBrandNameCssHandles,\n} from './components/ProductBrand/ProductBrandName'\nimport { changeImageUrlSize } from './utils/imgUrlHelpers'\nimport brandLogoQuery from './graphql/productBrand.gql'\n\ntype DisplayModeOptions = 'logo' | 'text'\ntype WithLinkOptions = 'none' | 'logo' | 'text' | 'logoAndText'\n\ninterface ProductBrandQueryVariables {\n id: number\n}\n\ninterface ProductBrandQueryResult {\n brand?: {\n imageUrl: string | null\n slug: string\n }\n}\n\nexport const PRODUCT_BRAND_CSS_HANDLES = [\n 'productBrandContainer',\n 'productBrandLogo',\n 'productBrandLogoWrapper',\n 'productBrandLogoLink',\n 'productBrandLogoSpacer',\n 'productBrandNameSpacer',\n ...ProductBrandNameCssHandles,\n] as const\n\nexport interface ProductBrandProps {\n /** The brand name. If no value is declared, the product context should provide the data. */\n brandName?: string\n /** The brand ID. If no value is declared, the product context should provide the data. */\n brandId?: number\n /** This will define if the product brand will be displayed by text or logo */\n displayMode?: DisplayModeOptions\n /** This will define if the loading placeholder should have the size of the logo or the text */\n loadingPlaceholder?: DisplayModeOptions\n /** This prop should only be used when `displayMode` is set to `logo`.\n * It defines what should be done when the Product Brand was set to display a brand logo\n * but no image was registered in the VTEX admin's Catalog\n * */\n fallbackToText?: boolean\n /** The brand names or brand IDs listed in the array will never be displayed by the Brand component.\n * It is usually useful to hide default or test brand names/logos on the store front\n * */\n excludeBrands?: Array<string | number>\n /** It sets the logo height. It should only be used when `displayMode` is set to `logo` */\n height?: number\n /** @deprecated use withLink instead */\n logoWithLink?: boolean\n /** Defines the scenarios in which the product brand should have a link that leads to its website. */\n withLink?: WithLinkOptions\n /** Used to override default CSS handles */\n classes?: CssHandlesTypes.CustomClasses<typeof PRODUCT_BRAND_CSS_HANDLES>\n blockClass?: string\n}\n\nconst shouldExcludeBrand = (\n brandName: string,\n brandId: number,\n excludeList: ProductBrandProps['excludeBrands']\n) => {\n if (Array.isArray(excludeList)) {\n return excludeList.includes(brandName) || excludeList.includes(brandId)\n }\n\n return false\n}\n\nconst useBrandInfoProps = (\n brandName: string | undefined,\n brandId: number | undefined\n) => {\n const productContext = useProduct()\n const product = productContext?.product\n\n if ((brandName && brandId) || !product) {\n return { brandName, brandId }\n }\n\n return { brandName: product.brand, brandId: Number(product.brandId) }\n}\n\n/**\n * The `ProductBrand` is a VTEX block that displays either the **name** or the **logo** of a **product's brand**.\n */\nfunction ProductBrand({\n displayMode = 'logo',\n fallbackToText = true,\n loadingPlaceholder = 'logo',\n /** TODO: decide whether the prop width should be supported\n * It makes sense at surface, but setting both width and height\n * messes with the alignment of the logo, due to how our image\n * server handles resizing. */\n height = 100,\n excludeBrands,\n logoWithLink,\n withLink = 'none',\n brandName: brandNameProp,\n brandId: brandIdProp,\n classes,\n}: ProductBrandProps) {\n const { brandName, brandId } = useBrandInfoProps(brandNameProp, brandIdProp)\n const { handles, withModifiers } = useCssHandles(PRODUCT_BRAND_CSS_HANDLES, {\n classes,\n })\n\n const { data, loading, error } = useQuery<\n ProductBrandQueryResult,\n ProductBrandQueryVariables\n >(brandLogoQuery, {\n variables: { id: Number(brandId) },\n ssr: false,\n })\n\n const logoHasLink =\n withLink === 'logo' || withLink === 'logoAndText' || Boolean(logoWithLink)\n\n const nameHasLink = withLink === 'text' || withLink === 'logoAndText'\n\n if (!brandName || !brandId) {\n return null\n }\n\n /** Certain brands (e.g. placeholder brands) can be filtered out via theme config */\n if (shouldExcludeBrand(brandName, Number(brandId), excludeBrands)) {\n return null\n }\n\n const brandNameElement = (\n <ProductBrandCssHandlesProvider\n handles={handles}\n withModifiers={withModifiers}\n >\n <ProductBrandName\n brandName={brandName}\n withLink={nameHasLink}\n slug={data?.brand?.slug}\n />\n </ProductBrandCssHandlesProvider>\n )\n\n const BrandContainer: FC = ({ children }) => (\n <div className={`${handles.productBrandContainer}`}>{children}</div>\n )\n\n if (displayMode === 'text') {\n return <BrandContainer>{brandNameElement}</BrandContainer>\n }\n\n if (!height) {\n console.warn(\n 'ProductBrand: It is strongly recommended that the height of the logo should be set, to avoid shifting positions of elements while the logo is loading.'\n )\n }\n\n if (loading) {\n /** Renders an empty spacer in the size of the preferred\n * type (i.e. if most brands have no logo, it should render\n * a placeholder in the size of the brand name text; if\n * most brands do have a logo, it should render a spacer\n * in the size of the predefined image size)\n */\n if (loadingPlaceholder === 'logo') {\n return (\n <BrandContainer>\n <div\n style={{\n height,\n }}\n className={`${handles.productBrandLogoSpacer}`}\n />\n </BrandContainer>\n )\n }\n\n if (loadingPlaceholder === 'text' && fallbackToText) {\n return (\n <BrandContainer>\n <span className={`${handles.productBrandNameSpacer} o-0`}>\n {brandNameElement}\n </span>\n </BrandContainer>\n )\n }\n\n return null\n }\n\n if (error || !data?.brand) {\n return null\n }\n\n const { imageUrl, slug } = data.brand\n\n /** If imageUrl is exactly null, it means no brand\n * logo was uploaded. So it falls back to the brand name,\n * if said fallback is enabled. */\n if (imageUrl === null && fallbackToText) {\n return <BrandContainer>{brandNameElement}</BrandContainer>\n }\n\n if (imageUrl === null && !fallbackToText) {\n return null\n }\n\n const dpi = window?.devicePixelRatio ?? 1\n const logoLink = `/${slug}`\n\n const logoImageSrc = changeImageUrlSize({\n imageUrl: `/arquivos/ids${imageUrl}`,\n height: height ? height * dpi : undefined,\n })\n\n const logoImage = (\n <img\n className={`${handles.productBrandLogo}`}\n src={logoImageSrc}\n alt={brandName}\n style={{\n height: height || 'auto',\n }}\n />\n )\n\n return (\n <BrandContainer>\n <div\n style={{\n height,\n }}\n className={`${handles.productBrandLogoWrapper}`}\n >\n {/** TODO: Use a smarter Image component that handles VTEX image resizing etc. */}\n {logoHasLink ? (\n <a\n href={logoLink}\n className={`${handles.productBrandLogoLink}`}\n data-testid=\"logo-redirect\"\n >\n {' '}\n {logoImage}{' '}\n </a>\n ) : (\n logoImage\n )}\n </div>\n </BrandContainer>\n )\n}\n\nexport default ProductBrand\n\n```" } ]
code_store-components_294295f4
[ { "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 store-components/react/AvailabilitySubscriber.css from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n/**\n* AvailabilitySubscriber CSS Module\n*/\n\n.subscriberContainer {}\n\n.title {}\n\n.subscribeLabel {}\n\n.form {}\n\n.content {}\n\n.input {}\n\n.inputName {}\n\n.inputEmail {}\n\n.submit {}\n\n.success {}\n\n.error {}\n```" } ]
code_store-components_8586c083
[ { "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 store-components/react/DiscountBadge.js from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```javascript\nimport DiscountBadge from './components/DiscountBadge/index'\n\nexport default DiscountBadge\n\n```" } ]
code_store-components_71e23d58
[ { "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 store-components/react/BackToTopButton.js from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```javascript\nimport BackToTopButton from './components/BackToTopButton'\n\nexport default BackToTopButton\n\n```" } ]
code_store-components_aad95723
[ { "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 store-components/react/ShippingSimulator.js from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```javascript\nimport ShippingSimulator from './components/ShippingSimulator/Wrapper'\n\nexport default ShippingSimulator\n\n```" } ]
code_store-components_4fb021ea
[ { "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 store-components/react/CollectionBadges.ts from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\nimport CollectionBadges from './components/CollectionBadges'\n\nexport default CollectionBadges\n\n```" } ]
code_store-components_6e29b1a2
[ { "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 store-components/react/package.json from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"private\": true,\n \"scripts\": {\n \"pretest\": \"yarn\",\n \"test\": \"vtex-test-tools test\"\n },\n \"dependencies\": {\n \"@vtex/css-handles\": \"^1.1.3\",\n \"@vtex/insane\": \"^2.8.0\",\n \"apollo-client\": \"^2.5.1\",\n \"classnames\": \"^2.2.5\",\n \"debounce\": \"^1.2.0\",\n \"downshift\": \"^3.2.10\",\n \"graphql\": \"~0.13.2\",\n \"graphql-tag\": \"~2.8.0\",\n \"hoist-non-react-statics\": \"^3.3.0\",\n \"prop-types\": \"^15.6.2\",\n \"ramda\": \"^0.25.0\",\n \"react\": \"^16.3.2\",\n \"react-amphtml\": \"^4.0.1\",\n \"react-apollo\": \"3.1.3\",\n \"react-content-loader\": \"^3.1.2\",\n \"react-dom\": \"^16.8.3\",\n \"react-html-parser\": \"^2.0.2\",\n \"react-intl\": \"^3.12.1\",\n \"react-resize-detector\": \"^3.0.1\",\n \"react-share\": \"^4.2.1\",\n \"react-slick\": \"^0.23.1\",\n \"react-transition-group\": \"^4.3.0\",\n \"recompose\": \"^0.30.0\",\n \"slick-carousel\": \"^1.8.1\",\n \"slugify\": \"^1.3.4\",\n \"swiper\": \"6.2.0\"\n },\n \"devDependencies\": {\n \"@apollo/react-testing\": \"3.1.3\",\n \"@types/classnames\": \"^2.2.9\",\n \"@types/debounce\": \"^1.2.0\",\n \"@types/jest\": \"^24.0.18\",\n \"@types/node\": \"^12.7.5\",\n \"@types/ramda\": \"^0.26.18\",\n \"@types/react\": \"^16.9.2\",\n \"@types/react-content-loader\": \"3\",\n \"@types/react-dom\": \"^16.9.0\",\n \"@vtex/test-tools\": \"^3.4.3\",\n \"@vtex/tsconfig\": \"^0.5.5\",\n \"apollo-cache-inmemory\": \"^1.4.3\",\n \"babel-eslint\": \"^10.1.0\",\n \"typescript\": \"3.9.7\",\n \"vtex.address-form\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.address-form@4.25.5/public/@types/vtex.address-form\",\n \"vtex.apps-graphql\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.apps-graphql@3.17.4/public/@types/vtex.apps-graphql\",\n \"vtex.checkout-resources\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.checkout-resources@0.50.0/public/@types/vtex.checkout-resources\",\n \"vtex.css-handles\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.css-handles@1.0.1/public/@types/vtex.css-handles\",\n \"vtex.device-detector\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.device-detector@0.2.6/public/@types/vtex.device-detector\",\n \"vtex.format-currency\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.format-currency@0.4.1/public/@types/vtex.format-currency\",\n \"vtex.modal\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.modal@0.2.2/public/@types/vtex.modal\",\n \"vtex.modal-layout\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.modal-layout@0.14.1/public/@types/vtex.modal-layout\",\n \"vtex.native-types\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.native-types@0.10.1/public/@types/vtex.native-types\",\n \"vtex.order-manager\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.order-manager@0.12.0/public/@types/vtex.order-manager\",\n \"vtex.order-shipping\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.order-shipping@0.8.0/public/@types/vtex.order-shipping\",\n \"vtex.pixel-manager\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.pixel-manager@1.9.0/public/@types/vtex.pixel-manager\",\n \"vtex.product-context\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.product-context@0.10.1/public/@types/vtex.product-context\",\n \"vtex.react-portal\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.react-portal@0.4.1/public/@types/vtex.react-portal\",\n \"vtex.render-runtime\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.render-runtime@8.134.11/public/@types/vtex.render-runtime\",\n \"vtex.responsive-values\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.responsive-values@0.4.2/public/@types/vtex.responsive-values\",\n \"vtex.rich-text\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.rich-text@0.16.0/public/@types/vtex.rich-text\",\n \"vtex.search-graphql\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.search-graphql@0.64.0/public/@types/vtex.search-graphql\",\n \"vtex.shipping-estimate-translator\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.shipping-estimate-translator@2.3.0/public/@types/vtex.shipping-estimate-translator\",\n \"vtex.slider-layout\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.slider-layout@0.24.6/public/@types/vtex.slider-layout\",\n \"vtex.store-components\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.store-components@3.175.1/public/@types/vtex.store-components\",\n \"vtex.store-graphql\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.store-graphql@2.172.1/public/@types/vtex.store-graphql\",\n \"vtex.store-icons\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.store-icons@0.18.0/public/@types/vtex.store-icons\",\n \"vtex.store-image\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.store-image@0.22.3/public/@types/vtex.store-image\",\n \"vtex.store-resources\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.store-resources@0.100.0/public/@types/vtex.store-resources\",\n \"vtex.styleguide\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.styleguide@9.146.13/public/@types/vtex.styleguide\"\n },\n \"resolutions\": {\n \"json-schema\": \"^0.4.0\",\n \"jsdom\": \"^16.5.0\",\n \"jest-environment-jsdom\": \"^26.0.0\",\n \"node-fetch\": \"^2.6.7\",\n \"node-notifier\": \"^8.0.1\"\n },\n \"vtexTestTools\": {\n \"defaultLocale\": \"en\"\n },\n \"jest\": {\n \"setupFilesAfterEnv\": [\n \"./setupTests.js\"\n ]\n },\n \"version\": \"3.178.5\"\n}\n\n```" } ]
code_store-components_f7327f8d
[ { "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 store-components/react/ProductSeparator.js from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```javascript\nimport React from 'react'\n\n/**\n * @deprecated This block is deprecated. Please, implement your own.\n */\nexport default function ProductSeparator() {\n return <hr className=\"o-30\" size=\"1\" />\n}\n\n```" } ]
code_store-components_4dbd9818
[ { "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 store-components/react/AutocompleteResults.tsx from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport React, { Fragment, useMemo } from 'react'\nimport type { RefObject } from 'react'\nimport classnames from 'classnames'\nimport { FormattedMessage } from 'react-intl'\nimport { useQuery } from 'react-apollo'\nimport { Spinner } from 'vtex.styleguide'\nimport { Link, useRuntime } from 'vtex.render-runtime'\nimport { useCssHandles } from 'vtex.css-handles'\nimport type { CssHandlesTypes } from 'vtex.css-handles'\nimport type { PropGetters } from 'downshift'\n\nimport './AutocompleteResults.css'\nimport autocomplete from './graphql/autocomplete.gql'\n\nconst MIN_RESULTS_WIDTH = 320\nconst CSS_HANDLES = [\n 'resultsItem',\n 'resultsList',\n 'searchTerm',\n 'resultsItemImage',\n 'spinnerContainer',\n 'spinnerInnerContainer',\n 'resultsItemName',\n] as const\n\nconst getImageUrl = (image: string) => {\n const [imageUrl] = image.match(/https?:(.*?)\"/g) ?? ['']\n\n return imageUrl.replace(/https?:/, '').replace(/-25-25/g, '-50-50')\n}\n\nconst getLinkProps = (element: AutocompleteItem) => {\n const terms = element.slug.split('/')\n\n if (element.criteria) {\n // This param is only useful to track terms searched\n // See: https://support.google.com/analytics/answer/1012264\n const paramForSearchTracking = `&_c=${terms[0]}`\n\n return {\n page: 'store.search',\n params: { term: terms.join('/') },\n query: `map=c,ft${paramForSearchTracking}`,\n }\n }\n\n return {\n page: 'store.product',\n params: { slug: element.slug, id: element.productId },\n query: '',\n }\n}\n\nexport type Props = {\n parentContainer?: RefObject<HTMLElement>\n /** Downshift specific prop */\n highlightedIndex: number | null\n /** Search query */\n inputValue: string\n /** A template for a custom url. It can have a substring ${term} used as placeholder to interpolate the searched term. (e.g. `/search?query=${term}`) */\n customSearchPageUrl?: string\n isOpen?: boolean\n attemptPageTypeSearch?: boolean\n /** Closes the options box. */\n closeMenu: () => void\n /** Clears the input */\n onClearInput: () => void\n /** Downshift function */\n getItemProps: PropGetters<AutocompleteItem | { term: string }>['getItemProps']\n getMenuProps: PropGetters<AutocompleteItem | { term: string }>['getMenuProps']\n /** Used to override default CSS handles */\n classes?: CssHandlesTypes.CustomClasses<typeof CSS_HANDLES>\n}\n\ntype AutocompleteItem = {\n thumb: string\n name: string\n href: string\n slug: string\n criteria: string\n productId: string\n}\n\ninterface AutocompleteResult {\n autocomplete: {\n itemsReturned: AutocompleteItem[]\n }\n}\n\n/** List of search results to be displayed */\nfunction AutocompleteResults({\n parentContainer,\n isOpen,\n inputValue,\n closeMenu,\n onClearInput,\n getItemProps,\n getMenuProps,\n highlightedIndex,\n attemptPageTypeSearch,\n customSearchPageUrl,\n classes,\n}: Props) {\n const { data, loading } = useQuery<AutocompleteResult>(autocomplete, {\n skip: !inputValue,\n variables: { inputValue },\n })\n\n const items = data?.autocomplete?.itemsReturned ?? []\n\n const {\n hints: { mobile },\n } = useRuntime()\n\n const { handles } = useCssHandles(CSS_HANDLES, { classes })\n const encodedInputValue = encodeURIComponent(inputValue)\n\n const listStyle = useMemo(\n () => ({\n width: Math.max(\n MIN_RESULTS_WIDTH,\n parentContainer?.current?.offsetWidth ?? 0\n ),\n }),\n /* with the isOpen here this will be called\n only when you open or close the ResultList */\n [parentContainer]\n )\n\n const listClassNames = classnames(\n handles.resultsList,\n 'z-max w-100 bl-ns bb br-ns bw1 b--muted-4 bg-base c-on-base t-body left-0 list pv4 ph0 mv0 list overflow-y-auto',\n mobile ? 'fixed' : 'absolute',\n { dn: !isOpen || !inputValue }\n )\n\n const handleItemClick = () => {\n onClearInput()\n closeMenu()\n }\n\n function getListItemClassNames({\n itemIndex = -1,\n // eslint-disable-next-line no-shadow\n highlightedIndex,\n hasThumb,\n }: {\n itemIndex?: number\n highlightedIndex?: number | null\n hasThumb?: boolean\n } = {}) {\n const highlightClass = highlightedIndex === itemIndex ? 'bg-muted-5' : ''\n\n return `pointer pa4 outline-0 ${handles.resultsItem} ${highlightClass} ${\n hasThumb ? 'flex justify-start' : 'db w-100'\n }`\n }\n\n const WrappedSpinner = () => (\n <div className={`w-100 flex justify-center ${handles.spinnerContainer}`}>\n <div className={`${handles.spinnerInnerContainer} w3 ma0`}>\n <Spinner />\n </div>\n </div>\n )\n\n const fullTextSearchLabel = (\n <FormattedMessage\n id=\"store/search.searchFor\"\n values={{\n term: <span className={handles.searchTerm}>{`\"${inputValue}\"`}</span>,\n }}\n />\n )\n\n // eslint-disable-next-line no-shadow\n const renderSearchByClick = (inputValue: string) => {\n return customSearchPageUrl ? (\n <Link\n className={getListItemClassNames({\n itemIndex: 0,\n highlightedIndex,\n })}\n to={customSearchPageUrl.replace(/\\$\\{term\\}/g, inputValue)}\n >\n {fullTextSearchLabel}\n </Link>\n ) : (\n <Link\n page=\"store.search\"\n params={{ term: inputValue }}\n query=\"map=ft\"\n className={getListItemClassNames({\n itemIndex: 0,\n highlightedIndex,\n })}\n >\n {fullTextSearchLabel}\n </Link>\n )\n }\n\n return (\n <div style={listStyle}>\n <ul className={listClassNames} {...getMenuProps()}>\n {isOpen ? (\n loading ? (\n <div className={getListItemClassNames({})}>\n <WrappedSpinner />\n </div>\n ) : (\n <Fragment>\n <li\n {...getItemProps({\n key: `ft${inputValue}`,\n item: { term: encodedInputValue },\n index: 0,\n onClick: handleItemClick,\n })}\n >\n {attemptPageTypeSearch ? (\n // eslint-disable-next-line jsx-a11y/anchor-is-valid\n <a\n href=\"#\"\n onClick={event => event.preventDefault()}\n className={getListItemClassNames({\n itemIndex: 0,\n highlightedIndex,\n })}\n >\n {fullTextSearchLabel}\n </a>\n ) : (\n renderSearchByClick(encodedInputValue)\n )}\n </li>\n\n {items.map((item, index) => {\n return (\n // eslint-disable-next-line react/jsx-key\n <li\n {...getItemProps({\n key: `${item.name}${index}`,\n index: index + 1,\n item,\n onClick: handleItemClick,\n })}\n >\n <Link\n {...getLinkProps(item)}\n className={getListItemClassNames({\n itemIndex: index + 1,\n highlightedIndex,\n hasThumb: !!item.thumb,\n })}\n >\n {item.thumb && (\n <img\n width={50}\n height={50}\n alt={item.name}\n className={`${handles.resultsItemImage} mr4`}\n src={getImageUrl(item.thumb)}\n />\n )}\n <div\n className={`${handles.resultsItemName} flex justify-start items-center`}\n >\n {item.name}\n </div>\n </Link>\n </li>\n )\n })}\n </Fragment>\n )\n ) : null}\n </ul>\n </div>\n )\n}\n\nexport default AutocompleteResults\n\n```" } ]
code_store-components_d70561bd
[ { "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 store-components/react/GradientCollapse.js from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```javascript\nimport GradientCollapse from './components/GradientCollapse/index'\n\nexport default GradientCollapse\n\n```" } ]
code_store-components_daf73c0f
[ { "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 store-components/react/ProductName.tsx from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport React, { Fragment } from 'react'\nimport { isEmpty } from 'ramda'\nimport { useProduct } from 'vtex.product-context'\nimport ContentLoader from 'react-content-loader'\nimport { useCssHandles } from 'vtex.css-handles'\nimport type { CssHandlesTypes } from 'vtex.css-handles'\nimport { Link } from 'vtex.render-runtime'\nimport { IOMessage } from 'vtex.native-types'\n\nconst CSS_HANDLES = [\n 'productNameContainer',\n 'sponsoredBadge',\n 'productBrand',\n 'productSku',\n 'productReference',\n 'productNameLoader',\n 'productNameBrandLoader',\n 'productNameSkuLoader',\n 'productNameLink',\n] as const\n\ntype DeprecatedProps = {\n /**\n * Name of the product\n * @deprecated This prop is fulfilled automatically via product-context.\n */\n name?: string\n /**\n * Selected SKU name\n * @deprecated This prop is fulfilled automatically via product-context.\n */\n skuName?: string\n /**\n * Product reference\n * @deprecated This prop is fulfilled automatically via product-context.\n */\n productReference?: string\n /**\n * Brand name\n * @deprecated This prop is fulfilled automatically via product-context.\n */\n brandName?: string\n}\n\ntype Props = {\n /** Show sku */\n showSku?: boolean\n /** Show product reference */\n showProductReference?: boolean\n /** Show brand name */\n showBrandName?: boolean\n /** Show sponsored badge */\n showSponsoredBadge?: boolean\n /** Label to display in the sponsored badge */\n sponsoredBadgeLabel?: string\n /** Classes to be applied to root element */\n className?: string\n /** Classes to be applied to brandName element */\n brandNameClass?: string\n /** Classes to be applied to skuName element */\n skuNameClass?: string\n /** Classes to be applied to productReference element */\n productReferenceClass?: string\n /** Classes to be applied to loader root element */\n loaderClass?: string\n /** HTML tag to be used in the component container */\n tag?: 'div' | 'h1' | 'h2' | 'h3'\n /** Used to override default CSS handles */\n classes?: CssHandlesTypes.CustomClasses<typeof CSS_HANDLES>\n /** Show product link with the product name */\n displayMode?: 'plainText' | 'linkToProductPage'\n /** Product link */\n productLink?: string\n /** Product id */\n productId?: string\n} & DeprecatedProps\n\ntype LinkWrapperProps = {\n /** Show product link with the product name */\n displayMode: 'plainText' | 'linkToProductPage'\n /** Props for navigating to the product page */\n linkProps: LinkProps\n /** Classes to be applied to root element */\n className: string\n /** Component children that will be displayed */\n children: React.ReactNode\n}\n\ntype LinkProps = {\n /** Page name */\n page: string\n /** Navigation params */\n params: Record<string, unknown>\n}\n\n/**\n * Shows the link associated with the product name or plain text depending on the displayMode.\n */\nconst LinkWrapper = ({\n displayMode,\n linkProps,\n className,\n children,\n}: LinkWrapperProps) => {\n if (displayMode === 'plainText') {\n return <Fragment>{children}</Fragment>\n }\n\n return (\n <Link className={className} {...linkProps}>\n {children}\n </Link>\n )\n}\n\nfunction ProductName({\n productReferenceClass,\n brandNameClass,\n skuNameClass,\n loaderClass,\n className,\n showSku = false,\n showBrandName = false,\n showProductReference = false,\n showSponsoredBadge = false,\n sponsoredBadgeLabel,\n tag: Wrapper = 'div',\n classes,\n name,\n skuName,\n brandName,\n productReference,\n displayMode = 'plainText',\n productLink,\n productId,\n}: Props) {\n const { handles } = useCssHandles(CSS_HANDLES, { classes })\n\n if (!name) {\n return (\n <div\n className={`${handles.productNameContainer} ${\n handles.productNameLoader\n } ${loaderClass ?? ''}`}\n >\n <ContentLoader\n style={{\n width: '100%',\n height: '100%',\n }}\n width={456}\n height={100}\n preserveAspectRatio=\"xMinYMin meet\"\n >\n <rect height=\"1.125em\" width=\"75%\" x=\"15%\" />\n <rect height=\"1.125em\" width=\"50%\" x=\"25%\" y=\"1.75em\" />\n </ContentLoader>\n </div>\n )\n }\n\n const linkProps = {\n page: 'store.product',\n params: {\n slug: productLink,\n id: productId,\n },\n }\n\n return (\n <Wrapper\n className={`${handles.productNameContainer} mv0 ${className ?? ''}`}\n >\n <LinkWrapper\n displayMode={displayMode}\n className={`${handles.productNameLink} pointer c-link hover-c-link active-c-link no-underline underline-hover`}\n linkProps={linkProps}\n >\n {showSponsoredBadge && (\n <span className={`${handles.sponsoredBadge} db c-muted-1 t-mini-s`}>\n <IOMessage id={sponsoredBadgeLabel} />\n </span>\n )}\n <span className={`${handles.productBrand} ${brandNameClass ?? ''}`}>\n {name} {showBrandName && brandName && `- ${brandName}`}\n </span>\n {showSku && skuName && (\n <span className={`${handles.productBrand} ${skuNameClass ?? ''}`}>\n {skuName}\n </span>\n )}\n {showProductReference && productReference && (\n <span\n className={`${handles.productReference} ${\n productReferenceClass ?? ''\n }`}\n >\n {`REF: ${productReference}`}\n </span>\n )}\n </LinkWrapper>\n </Wrapper>\n )\n}\n\n/**\n * Displays the product name along other information such as **SKU** or **brand**.\n */\nfunction ProductNameWrapper(props: Props) {\n const valuesFromContext = useProduct()\n\n if (!valuesFromContext || isEmpty(valuesFromContext)) {\n return <ProductName {...props} />\n }\n\n const { product, selectedItem } = valuesFromContext\n\n return (\n <ProductName\n {...props}\n tag={props.tag ?? 'h1'}\n name={props.name ?? product?.productName}\n skuName={props.skuName ?? selectedItem?.name}\n productReference={props.productReference ?? product?.productReference}\n brandName={props.brandName ?? product?.brand}\n className={props.className ?? 't-heading-4'}\n displayMode={props.displayMode}\n productLink={product?.linkText}\n productId={product?.productId}\n />\n )\n}\n\nProductNameWrapper.schema = {\n title: 'admin/editor.productName.title',\n description: 'admin/editor.productName.description',\n type: 'object',\n properties: {\n showBrandName: {\n type: 'boolean',\n title: 'admin/editor.productName.showBrandName.title',\n default: false,\n isLayout: true,\n },\n showSku: {\n type: 'boolean',\n title: 'admin/editor.productName.showSku.title',\n default: false,\n isLayout: true,\n },\n showProductReference: {\n type: 'boolean',\n title: 'admin/editor.productName.showProductReference.title',\n default: false,\n isLayout: true,\n },\n displayMode: {\n type: 'string',\n title: 'admin/editor.productName.displayMode.title',\n enum: ['plainText', 'linkToProductPage'],\n enumNames: [\n 'admin/editor.productName.displayMode.plainText',\n 'admin/editor.productName.displayMode.linkToProductPage',\n ],\n default: 'plainText',\n },\n },\n}\n\nexport default ProductNameWrapper\n\n```" } ]
code_store-components_e575c4ab
[ { "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 store-components/react/Logo.tsx from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport React from 'react'\nimport { Link, useRuntime } from 'vtex.render-runtime'\nimport type { RenderContext } from 'vtex.render-runtime'\nimport { useCssHandles } from 'vtex.css-handles'\nimport type { CssHandlesTypes } from 'vtex.css-handles'\nimport * as Amp from 'react-amphtml'\n\nimport Placeholder from './components/Logo/LogoPlaceholder'\nimport styles from './components/Logo/styles.css'\n\nconst CSS_HANDLES = ['logoLink', 'logoImage', 'logoContainer'] as const\n\ninterface Props {\n /** Logo's URL */\n url: string\n /** Title to be displayed as alt text */\n title: string\n /** Logo's width */\n width?: string | number\n /** Logo's height */\n height?: string | number\n /** Link to redirect users on click */\n href?: string\n /** Logo's width on mobile */\n mobileWidth?: string | number\n /** Logo's height on mobile */\n mobileHeight?: string | number\n /** Used to override default CSS handles */\n classes?: CssHandlesTypes.CustomClasses<typeof CSS_HANDLES>\n}\n\n/**\n * Store's logo.\n */\nfunction Logo({\n url,\n href,\n width,\n height,\n title,\n mobileWidth,\n mobileHeight,\n classes,\n}: Props) {\n const {\n amp,\n account,\n hints: { mobile },\n } = useRuntime() as RenderContext\n\n const { handles } = useCssHandles(CSS_HANDLES, { classes })\n const logoClassNames = `store-logo ${handles.logoContainer} ${\n mobile ? styles.sizeMobile : styles.sizeDesktop\n }`\n\n const imgWidth = mobile && mobileWidth ? mobileWidth : width\n const imgHeight = mobile && mobileHeight ? mobileHeight : height\n\n const imageUrl = url?.replace(/{{account}}/g, account)\n\n let image = null\n\n if (amp && url) {\n image = (\n <Amp.AmpImg\n specName=\"default\"\n width={imgWidth}\n height={imgHeight}\n alt={title}\n src={imageUrl}\n className={handles.logoImage}\n />\n )\n } else if (url) {\n image = (\n <img\n src={imageUrl}\n width={imgWidth}\n height={imgHeight}\n alt={title}\n className={handles.logoImage}\n />\n )\n }\n\n const logo = (\n <span className={`${logoClassNames} pv4 ph6`}>\n {url ? (\n image\n ) : (\n <Placeholder width={width} height={height} title={title} />\n )}\n </span>\n )\n\n return href ? (\n <Link to={href} className={handles.logoLink}>\n {logo}\n </Link>\n ) : (\n logo\n )\n}\n\nLogo.schema = {\n title: 'admin/editor.logo.title',\n description: 'admin/editor.logo.description',\n type: 'object',\n properties: {\n href: {\n title: 'admin/editor.logo.href.title',\n description: 'admin/editor.logo.href.description',\n type: 'string',\n },\n url: {\n title: 'admin/editor.logo.url.title',\n description: 'admin/editor.logo.url.description',\n type: 'string',\n widget: {\n 'ui:widget': 'image-uploader',\n },\n },\n width: {\n title: 'admin/editor.logo.width.title',\n description: 'admin/editor.logo.width.description',\n type: 'number',\n isLayout: true,\n },\n height: {\n title: 'admin/editor.logo.height.title',\n description: 'admin/editor.logo.height.description',\n type: 'number',\n isLayout: true,\n },\n title: {\n title: 'admin/editor.logo.title.title',\n description: 'admin/editor.logo.title.description',\n type: 'string',\n },\n mobileWidth: {\n title: 'admin/editor.logo.mobileWidth.title',\n description: 'admin/editor.logo.mobileWidth.description',\n type: 'number',\n isLayout: true,\n },\n mobileHeight: {\n title: 'admin/editor.logo.mobileHeight.title',\n description: 'admin/editor.logo.mobileHeight.description',\n type: 'number',\n isLayout: true,\n },\n },\n}\n\nexport default Logo\n\n```" } ]
code_store-components_a2299847
[ { "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 store-components/react/Image.js from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```javascript\nimport { Image } from 'vtex.store-image'\n\nexport default Image\n\n```" } ]
code_store-components_06c374d9
[ { "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 store-components/react/AutocompleteResults.css from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.resultsList {\n max-height: 60vh;\n}\n\n.resultsList a,\n.resultsList div {\n text-decoration: none;\n color: #727273;\n}\n\n.resultsList a:hover {\n background-color: #f2f4f5;\n}\n\n.resultsItemImage {\n width: 50px;\n}\n\n@media only screen and (max-width: 49rem) {\n .resultsList {\n margin: 0px;\n max-height: calc(100vh - 6.2rem);\n }\n}\n\n```" } ]
code_store-components_eebd75ab
[ { "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 store-components/react/ProductHighlights.js from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```javascript\nimport ProductHighlights from './components/ProductHighlights/Wrapper'\n\nexport default ProductHighlights\n\n```" } ]
code_store-components_24a802b9
[ { "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 store-components/react/UserAddress.tsx from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport React, { useEffect } from 'react'\nimport { useQuery } from 'react-apollo'\nimport { useCssHandles } from 'vtex.css-handles'\nimport type { CssHandlesTypes } from 'vtex.css-handles'\nimport ADDRESS_QUERY from 'vtex.store-resources/QueryAddress'\n\nimport Container from './Container'\nimport AddressInfo, {\n CSS_HANDLES as AddressInfoCssHandles,\n} from './components/UserAddress/AddressInfo'\nimport { UserAddressCssHandlesProvider } from './components/UserAddress/UserAddressCssHandles'\n\nexport const USER_ADDRESS_CSS_HANDLES = [\n 'userAddressContainer',\n ...AddressInfoCssHandles,\n] as const\n\ntype Props = {\n /** Define if address should be displayed in a single line or in blocks */\n variation: 'inline' | 'bar'\n /** Define if street should be displayed */\n showStreet?: boolean\n /** Define if city and state should be displayed */\n showCityAndState?: boolean\n /** Define if postal code should be displayed */\n showPostalCode?: boolean\n /** Define if prefix should be displayed */\n showPrefix?: boolean\n /** Define if component should render if address is empty */\n showIfEmpty?: boolean\n /** Define if component should render if ZipCode contains asterics */\n showIfMasked?: boolean\n /** Used to override default CSS handles */\n classes?: CssHandlesTypes.CustomClasses<typeof USER_ADDRESS_CSS_HANDLES>\n}\n\nfunction UserAddress({\n variation,\n showStreet = true,\n showCityAndState = false,\n showPostalCode = false,\n showPrefix = true,\n showIfEmpty = false,\n showIfMasked = false,\n classes,\n}: Props) {\n const { handles, withModifiers } = useCssHandles(USER_ADDRESS_CSS_HANDLES, {\n classes,\n })\n\n // todo: type the data returned\n const { data: orderFormData, refetch } = useQuery(ADDRESS_QUERY, {\n ssr: false,\n })\n\n useEffect(() => {\n const handleLocationUpdated = () => refetch()\n\n window.addEventListener('locationUpdated', handleLocationUpdated)\n\n return () => {\n window.removeEventListener('locationUpdated', handleLocationUpdated)\n }\n }, [refetch])\n\n const orderForm = orderFormData?.orderForm\n\n if (!orderForm || (!orderForm?.shippingData?.address && !showIfEmpty)) {\n return null\n }\n\n const isInline = variation === 'inline'\n const isInverted = !isInline\n\n const AddressInfoWithHandles = () => {\n return (\n <UserAddressCssHandlesProvider\n handles={handles}\n withModifiers={withModifiers}\n >\n <AddressInfo\n inverted={isInverted}\n inline={isInline}\n orderForm={orderForm}\n showStreet={showStreet}\n showCityAndState={showCityAndState}\n showPostalCode={showPostalCode}\n showPrefix={showPrefix}\n showIfEmpty={showIfEmpty}\n showIfMasked={showIfMasked}\n />\n </UserAddressCssHandlesProvider>\n )\n }\n\n if (isInline) {\n return (\n <div\n className={`${handles.userAddressContainer} ph5`}\n style={{\n maxWidth: '30rem',\n }}\n >\n <AddressInfoWithHandles />\n </div>\n )\n }\n\n return (\n <div\n className={`${handles.userAddressContainer} bg-base--inverted c-on-base--inverted flex ph5 pointer pv3 ml3 mr3`}\n >\n <Container className=\"flex justify-center w-100 left-0\">\n <div className=\"w-100 mw9 flex\">\n <AddressInfoWithHandles />\n </div>\n </Container>\n </div>\n )\n}\n\nexport default UserAddress\n\n```" } ]
code_store-components_c4533957
[ { "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 store-components/react/Slider.js from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```javascript\nimport Slider from './components/Slider/index'\n\nexport default Slider\n\n```" } ]
code_store-components_e4d45e51
[ { "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 store-components/react/Animation.js from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```javascript\nimport Animation from './components/Animation/index'\n\nexport default Animation\n\n```" } ]
code_store-components_97afb2be
[ { "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 store-components/react/setupTests.js from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```javascript\nwindow.__RUNTIME__ = {\n settings: {\n 'vtex.store': {\n enableOrderFormOptimization: false,\n enableDefaultSeller: true,\n },\n },\n}\n\n```" } ]
code_store-components_f9716129
[ { "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 store-components/react/ProductSKUAttributes.tsx from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport React from 'react'\nimport { useCssHandles } from 'vtex.css-handles'\nimport type { CssHandlesTypes } from 'vtex.css-handles'\nimport { useProduct } from 'vtex.product-context'\n\nconst CSS_HANDLES = [\n 'productSKUAttributesContainer',\n 'attributeLine',\n 'attributeName',\n 'attributeValue',\n] as const\n\nconst getVariationsFromSelectedItem = (\n productContext: ReturnType<typeof useProduct>\n) => {\n if (\n !productContext ||\n !productContext.product ||\n !productContext.skuSelector ||\n !productContext.selectedItem\n ) {\n return null\n }\n\n const { selectedImageVariationSKU } = productContext.skuSelector\n\n if (selectedImageVariationSKU) {\n const selected = productContext.product.items.find(item => {\n return item.itemId === selectedImageVariationSKU\n })\n\n if (selected) {\n return selected.variations\n }\n }\n\n return productContext.selectedItem.variations\n}\n\ninterface Props {\n blockClass?: string\n /** Used to override default CSS handles */\n classes?: CssHandlesTypes.CustomClasses<typeof CSS_HANDLES>\n}\n\n/**\n * Name component. Show name and relevant SKU information of the Product Summary\n */\nfunction ProductSKUAttributes({ classes }: Props) {\n const { handles } = useCssHandles(CSS_HANDLES, { classes })\n const productContext = useProduct()\n\n const skuVariations = getVariationsFromSelectedItem(productContext)\n\n if (!skuVariations) {\n return null\n }\n\n return (\n <div className={`${handles.productSKUAttributesContainer} mv0`}>\n {skuVariations.map(sku => {\n return (\n <div className={handles.attributeLine} key={sku.name}>\n <span className={`${handles.attributeName} mr2 b`}>\n {sku.name}:\n </span>\n <span className={handles.attributeValue}>\n {sku.values.join(', ')}\n </span>\n </div>\n )\n })}\n </div>\n )\n}\n\nexport default ProductSKUAttributes\n\n```" } ]
code_store-components_a0c82d33
[ { "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 store-components/react/Newsletter.js from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```javascript\nimport Newsletter from './components/Newsletter/index'\n\nexport default Newsletter\n\n```" } ]
code_store-components_c95859e8
[ { "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 store-components/react/ProductPrice.js from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```javascript\nimport ProductPrice from './components/ProductPrice/Wrapper'\n\nexport default ProductPrice\n\n```" } ]
code_store-components_3bcc1725
[ { "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 store-components/react/Share.js from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```javascript\nimport Share from './components/Share/Wrapper'\n\nexport default Share\n\n```" } ]
code_store-components_dc0c1067
[ { "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 store-components/react/ProductSpecifications.js from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```javascript\nimport ProductSpecifications from './components/ProductSpecifications/Wrapper'\n\nexport default ProductSpecifications\n\n```" } ]
code_store-components_a1922dd6
[ { "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 store-components/store/contentSchemas.json from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"definitions\": {\n \"InfoCard\": {\n \"properties\": {\n \"isFullModeStyle\": {\n \"title\": \"admin/editor.info-card.isFullModeStyle.title\",\n \"description\": \"admin/editor.info-card.isFullModeStyle.description\",\n \"type\": \"boolean\",\n \"default\": false\n },\n \"textMode\": {\n \"default\": \"html\",\n \"type\": \"string\",\n \"title\": \"admin/editor.info-card.textMode.title\",\n \"enum\": [\"html\", \"rich-text\"],\n \"enumNames\": [\n \"admin/editor.info-card.textMode.html\",\n \"admin/editor.info-card.textMode.rich-text\"\n ]\n },\n \"headline\": {\n \"title\": \"admin/editor.info-card.headline.title\",\n \"description\": \"admin/editor.info-card.headline.description\",\n \"$ref\": \"app:vtex.native-types#/definitions/text\",\n \"default\": \"\"\n },\n \"subhead\": {\n \"title\": \"admin/editor.info-card.subhead.title\",\n \"description\": \"admin/editor.info-card.subhead.description\",\n \"$ref\": \"app:vtex.native-types#/definitions/text\",\n \"default\": \"\"\n },\n \"bodyText\": {\n \"title\": \"admin/editor.info-card.body-text.title\",\n \"description\": \"admin/editor.info-card.body-text.description\",\n \"$ref\": \"app:vtex.native-types#/definitions/text\",\n \"default\": \"\"\n },\n \"callToActionMode\": {\n \"default\": \"button\",\n \"type\": \"string\",\n \"title\": \"admin/editor.info-card.callToActionMode.title\",\n \"enum\": [\"none\", \"button\", \"link\"],\n \"enumNames\": [\n \"admin/editor.info-card.callAction.none\",\n \"admin/editor.info-card.callAction.button\",\n \"admin/editor.info-card.callAction.link\"\n ]\n },\n \"callToActionText\": {\n \"title\": \"admin/editor.info-card.callToActionText.title\",\n \"description\": \"admin/editor.info-card.callToActionText.description\",\n \"$ref\": \"app:vtex.native-types#/definitions/text\",\n \"default\": \"\"\n },\n \"callToActionUrl\": {\n \"title\": \"admin/editor.info-card.callToActionUrl.title\",\n \"description\": \"admin/editor.info-card.callToActionUrl.description\",\n \"$ref\": \"app:vtex.native-types#/definitions/url\",\n \"default\": \"\"\n },\n \"callToActionLinkTarget\": {\n \"default\": \"_self\",\n \"type\": \"string\",\n \"title\": \"admin/editor.info-card.callToActionLinkTarget.title\",\n \"enum\": [\"_blank\", \"_self\"],\n \"enumNames\": [\n \"admin/editor.info-card.callToActionLinkTarget.blank\",\n \"admin/editor.info-card.callToActionLinkTarget.self\"\n ]\n },\n \"imageUrl\": {\n \"title\": \"admin/editor.info-card.imageUrl.title\",\n \"description\": \"admin/editor.info-card.imageUrl.description\",\n \"$ref\": \"app:vtex.native-types#/definitions/url\",\n \"default\": \"\",\n \"widget\": {\n \"ui:widget\": \"image-uploader\"\n }\n },\n \"mobileImageUrl\": {\n \"title\": \"admin/editor.info-card.mobileImageUrl.title\",\n \"description\": \"admin/editor.info-card.mobileImageUrl.description\",\n \"$ref\": \"app:vtex.native-types#/definitions/url\",\n \"default\": \"\",\n \"widget\": {\n \"ui:widget\": \"image-uploader\"\n }\n },\n \"imageActionUrl\": {\n \"title\": \"admin/editor.info-card.imageActionUrl.title\",\n \"description\": \"admin/editor.info-card.imageActionUrl.description\",\n \"$ref\": \"app:vtex.native-types#/definitions/url\",\n \"default\": \"\"\n },\n \"textPosition\": {\n \"default\": \"left\",\n \"type\": \"string\",\n \"title\": \"admin/editor.info-card.textPosition.title\",\n \"enum\": [\"left\", \"center\", \"right\"],\n \"enumNames\": [\n \"admin/editor.info-card.textPosition.left\",\n \"admin/editor.info-card.textPosition.center\",\n \"admin/editor.info-card.textPosition.right\"\n ]\n },\n \"textAlignment\": {\n \"default\": \"left\",\n \"type\": \"string\",\n \"title\": \"admin/editor.info-card.textAlignment.title\",\n \"enum\": [\"left\", \"center\", \"right\"],\n \"enumNames\": [\n \"admin/editor.info-card.textAlignment.left\",\n \"admin/editor.info-card.textAlignment.center\",\n \"admin/editor.info-card.textAlignment.right\"\n ]\n },\n \"blockClass\": {\n \"title\": \"admin/editor.blockClass.title\",\n \"description\": \"admin/editor.blockClass.description\",\n \"type\": \"string\"\n }\n }\n },\n \"ProductDescription\": {\n \"title\": \"admin/editor.product-description.title\",\n \"type\": \"object\",\n \"properties\": {\n \"title\": {\n \"$ref\": \"app:vtex.native-types#/definitions/text\",\n \"title\": \"admin/editor.product-description.title-prop.title\"\n }\n }\n },\n \"SearchBar\": {\n \"title\": \"admin/editor.search-bar.title\",\n \"type\": \"object\",\n \"properties\": {\n \"placeholder\": {\n \"$ref\": \"app:vtex.native-types#/definitions/text\",\n \"title\": \"admin/editor.search-bar.placeholder.title\"\n }\n }\n },\n \"ProductPrice\": {\n \"properties\": {\n \"labelSellingPrice\": {\n \"title\": \"admin/editor.productPrice.labelSellingPrice\",\n \"$ref\": \"app:vtex.native-types#/definitions/text\",\n \"default\": \"store/pricing.to\"\n },\n \"labelListPrice\": {\n \"title\": \"admin/editor.productPrice.labelListPrice\",\n \"$ref\": \"app:vtex.native-types#/definitions/text\",\n \"default\": \"store/pricing.from\"\n }\n }\n },\n \"Newsletter\": {\n \"properties\": {\n \"placeholder\": {\n \"title\": \"admin/editor.newsletter.placeholder\",\n \"$ref\": \"app:vtex.native-types#/definitions/text\",\n \"default\": \"store/newsletter.placeholder\"\n },\n \"label\": {\n \"title\": \"admin/editor.newsletter.label\",\n \"$ref\": \"app:vtex.native-types#/definitions/text\",\n \"default\": \"store/newsletter.label\"\n },\n \"submit\": {\n \"title\": \"admin/editor.newsletter.submit\",\n \"$ref\": \"app:vtex.native-types#/definitions/text\",\n \"default\": \"store/newsletter.submit\"\n }\n }\n },\n \"SKUSelector\": {\n \"type\": \"object\",\n \"properties\": {\n \"seeMoreLabel\": {\n \"title\": \"admin/editor.skuSelector.seeMoreLabel.title\",\n \"description\": \"admin/editor.skuSelector.seeMoreLabel.description\",\n \"default\": \"store/skuSelector.seeMore\",\n \"$ref\": \"app:vtex.native-types#/definitions/text\"\n }\n }\n },\n \"NotificationBar\": {\n \"type\": \"object\",\n \"description\": \"admin/editor.notification-bar.description\",\n \"properties\": {\n \"content\": {\n \"title\": \"admin/editor.notification-bar.content.title\",\n \"description\": \"admin/editor.notification-bar.content.description\",\n \"$ref\": \"app:vtex.native-types#/definitions/text\"\n }\n }\n }\n }\n}\n\n```" } ]
code_store-components_e7d22aa1
[ { "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 store-components/store/interfaces.json from the store-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"logo\": {\n \"component\": \"Logo\"\n },\n \"search-bar\": {\n \"component\": \"SearchBar\",\n \"allowed\": [\"autocomplete-result-list\", \"icon-search\", \"icon-close\"],\n \"content\": {\n \"$ref\": \"app:vtex.store-components#/definitions/SearchBar\"\n }\n },\n \"autocomplete-result-list\": {\n \"component\": \"AutocompleteResults\"\n },\n \"buy-button\": {\n \"component\": \"BuyButton\"\n },\n \"product-name\": {\n \"component\": \"ProductName\"\n },\n \"product-sku-attributes\": {\n \"component\": \"ProductSKUAttributes\"\n },\n \"product-brand\": {\n \"component\": \"ProductBrand\"\n },\n \"product-images\": {\n \"component\": \"ProductImages\"\n },\n \"product-images.high-quality-image\": {\n \"component\": \"HighQualityProductImage\"\n },\n \"product-price\": {\n \"component\": \"ProductPrice\",\n \"content\": {\n \"$ref\": \"app:vtex.store-components#/definitions/ProductPrice\"\n }\n },\n \"product-description\": {\n \"component\": \"ProductDescription\",\n \"content\": {\n \"$ref\": \"app:vtex.store-components#/definitions/ProductDescription\"\n }\n },\n \"product-separator\": {\n \"component\": \"ProductSeparator\"\n },\n \"sku-selector\": {\n \"component\": \"SKUSelector\",\n \"content\": {\n \"$ref\": \"app:vtex.store-components#/definitions/SKUSelector\"\n }\n },\n \"shipping-simulator\": {\n \"component\": \"ShippingSimulator\"\n },\n \"share\": {\n \"component\": \"Share\"\n },\n \"availability-subscriber\": {\n \"component\": \"AvailabilitySubscriber\"\n },\n \"product-specifications\": {\n \"component\": \"ProductSpecifications\"\n },\n \"product-highlights\": {\n \"component\": \"ProductHighlights\"\n },\n \"info-card\": {\n \"component\": \"InfoCard\",\n \"content\": {\n \"$ref\": \"app:vtex.store-components#/definitions/InfoCard\"\n }\n },\n \"user-address\": {\n \"allowed\": [\"modal\"],\n \"component\": \"UserAddress\"\n },\n \"product-services\": {\n \"component\": \"ProductServices\"\n },\n \"newsletter\": {\n \"component\": \"Newsletter\",\n \"content\": {\n \"$ref\": \"app:vtex.store-components#/definitions/Newsletter\"\n }\n },\n \"notification\": {},\n \"notification.inline\": {\n \"component\": \"NotificationInline\",\n \"content\": {\n \"$ref\": \"app:vtex.store-components#/definitions/NotificationBar\"\n }\n },\n \"notification.bar\": {\n \"component\": \"NotificationBar\",\n \"content\": {\n \"$ref\": \"app:vtex.store-components#/definitions/NotificationBar\"\n }\n },\n \"image\": {\n \"component\": \"Image\",\n \"content\": {\n \"$ref\": \"app:vtex.store-image#/definitions/Image\"\n }\n },\n \"back-to-top-button\": {\n \"render\": \"client\",\n \"component\": \"BackToTopButton\"\n }\n}\n\n```" } ]