id
stringlengths 12
53
| messages
listlengths 3
3
|
|---|---|
code_b2cstoreqa.theme_19b1f75e
|
[
{
"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 b2cstoreqa.theme/store/blocks/home.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"store.home\": {\n \"blocks\": [\"responsive-layout.desktop\", \"responsive-layout.mobile\"]\n },\n \"responsive-layout.desktop\": {\n \"children\": [\n \"flex-layout.row#imageList\",\n \"flex-layout.row#shopByCategory\",\n // Deprecated\n // \"flex-layout.row#shopByBrand\",\n \"flex-layout.row#shelf1\",\n \"flex-layout.row#imageBanners\",\n \"flex-layout.row#singleBanner\",\n \"flex-layout.row#popular-picks\",\n \"flex-layout.row#trending\",\n \"flex-layout.row#benefits\",\n \"flex-layout.row#newsletter\"\n ]\n },\n\n \"flex-layout.row#imageList\": {\n \"props\": {\n \"blockClass\": \"full-banner\"\n },\n \"children\": [\"list-context.image-list#homeBanners\"]\n },\n \"flex-layout.row#imageList--mobile\": {\n \"props\": {\n \"blockClass\": [\"full-banner\", \"full-banner--mobile\"],\n \"fullWidth\": true\n },\n \"children\": [\"list-context.image-list#homeBanners\"]\n },\n \"list-context.image-list#homeBanners\": {\n \"children\": [\"slider-layout#demo-images\"],\n \"props\": {\n \"height\": 328,\n \"images\": [\n {\n \"width\": \"1440px\",\n \"image\": \"assets/placeholders/fullbannerDesktop.png\",\n \"mobileImage\": \"assets/placeholders/fullbannerMobile.png\",\n \"description\": \"something something\"\n },\n {\n \"width\": \"1440px\",\n \"image\": \"assets/placeholders/fullbannerDesktop.png\",\n \"mobileImage\": \"assets/placeholders/fullbannerMobile.png\",\n \"description\": \"something something\"\n }\n ]\n }\n },\n \"slider-layout#demo-images\": {\n \"props\": {\n \"blockClass\": [\"homeSlider\", \"dotsCustom\"],\n \"itemsPerPage\": {\n \"desktop\": 1,\n \"tablet\": 1,\n \"phone\": 1\n },\n \"infinite\": false,\n \"showNavigationArrows\": \"desktopOnly\"\n }\n },\n \"flex-layout.row#shopByCategory\": {\n \"props\": {\n \"blockClass\": \"shopByCategorySection\"\n },\n \"children\": [\"flex-layout.col#shopByCategory\"]\n },\n \"flex-layout.col#shopByCategory\": {\n \"props\": {\n \"blockClass\": \"shopByCategory\"\n },\n \"children\": [\"rich-text#shopByTitle\", \"flex-layout.row#categories\"]\n },\n \"rich-text#shopByTitle\": {\n \"props\": {\n \"text\": \"### Shop by category\",\n \"blockClass\": \"shopByCategoryTitle\"\n }\n },\n \"flex-layout.row#categories\": {\n \"props\": {\n \"blockClass\": \"shopByCategory\",\n \"horizontalAlign\": \"center\",\n \"verticalAlign\": \"center\",\n \"preventHorizontalStretch\": true,\n \"preventVerticalStretch\": true,\n \"fullWidth\": true\n },\n \"children\": [\n \"link#shoBy1\",\n \"link#shoBy2\",\n \"link#shoBy3\",\n \"link#shoBy4\",\n \"link#shoBy5\",\n \"link#shoBy6\"\n ]\n },\n \"link#shoBy1\": {\n \"children\": [\"image#shoBy1\", \"rich-text#cat1\"],\n \"props\": {\n \"href\": \"/Apparel\",\n \"blockClass\": \"shopByLink\"\n }\n },\n \"link#shoBy2\": {\n \"children\": [\"image#shoBy2\", \"rich-text#cat2\"],\n \"props\": {\n \"href\": \"/Food-and-beverage\",\n \"blockClass\": \"shopByLink\"\n }\n },\n \"link#shoBy3\": {\n \"children\": [\"image#shoBy3\", \"rich-text#cat3\"],\n \"props\": {\n \"href\": \"/Sporting\",\n \"blockClass\": \"shopByLink\"\n }\n },\n \"link#shoBy4\": {\n \"children\": [\"image#shoBy4\", \"rich-text#cat4\"],\n \"props\": {\n \"href\": \"/Agribusiness\",\n \"blockClass\": \"shopByLink\"\n }\n },\n \"link#shoBy5\": {\n \"children\": [\"image#shoBy5\", \"rich-text#cat5\"],\n \"props\": {\n \"href\": \"/Home-Appliance\",\n \"blockClass\": \"shopByLink\"\n }\n },\n \"link#shoBy6\": {\n \"children\": [\"image#shoBy6\", \"rich-text#cat6\"],\n \"props\": {\n \"href\": \"/Computer---Software\",\n \"blockClass\": \"shopByLink\"\n }\n },\n \"image#shoBy1\": {\n \"props\": {\n \"src\": \"assets/placeholders/apparel.png\",\n \"blockClass\": \"shoByImage\"\n }\n },\n \"image#shoBy2\": {\n \"props\": {\n \"src\": \"assets/placeholders/beveragePlaceholder.png\",\n \"blockClass\": \"shoByImage\"\n }\n },\n \"image#shoBy3\": {\n \"props\": {\n \"src\": \"assets/placeholders/sportingPlaceholder.png\",\n \"blockClass\": \"shoByImage\"\n }\n },\n \"image#shoBy4\": {\n \"props\": {\n \"src\": \"assets/placeholders/agribusinessPlaceholder.png\",\n \"blockClass\": \"shoByImage\"\n }\n },\n \"image#shoBy5\": {\n \"props\": {\n \"src\": \"assets/placeholders/homeAppliancePlaceholder.png\",\n \"blockClass\": \"shoByImage\"\n }\n },\n \"image#shoBy6\": {\n \"props\": {\n \"src\": \"assets/placeholders/computerPlaceholder.png\",\n \"blockClass\": \"shoByImage\"\n }\n },\n \"rich-text#cat1\": {\n \"props\": {\n \"text\": \"Apparel\",\n \"blockClass\": \"shopByCategory\"\n }\n },\n \"rich-text#cat2\": {\n \"props\": {\n \"text\": \"Beverage\",\n \"blockClass\": \"shopByCategory\"\n }\n },\n \"rich-text#cat3\": {\n \"props\": {\n \"text\": \"Sporting\",\n \"blockClass\": \"shopByCategory\"\n }\n },\n \"rich-text#cat4\": {\n \"props\": {\n \"text\": \"Agribusiness\",\n \"blockClass\": \"shopByCategory\"\n }\n },\n \"rich-text#cat5\": {\n \"props\": {\n \"text\": \"Home Appliance\",\n \"blockClass\": \"shopByCategory\"\n }\n },\n \"rich-text#cat6\": {\n \"props\": {\n \"text\": \"Computer\",\n \"blockClass\": \"shopByCategory\"\n }\n },\n\n // Deprecated\n // \"flex-layout.row#shopByBrand\": {\n // \"children\": [\"flex-layout.col#shopByBrand\"]\n // },\n // \"flex-layout.col#shopByBrand\": {\n // \"props\": {\n // \"blockClass\": \"shopByBrand\"\n // },\n // \"children\": [\n // \"rich-text#sectionTitle\",\n // \"list-context.image-list#brandImages\"\n // ]\n // },\n // \"rich-text#sectionTitle\": {\n // \"props\": {\n // \"text\": \"### Shop by brand\",\n // \"blockClass\": \"sectionTitle\"\n // }\n // },\n // \"list-context.image-list#brandImages\": {\n // \"children\": [\"slider-layout#brand-images\"],\n // \"props\": {\n // \"height\": 328,\n // \"images\": [\n // {\n // \"image\": \"assets/placeholders/AppleBrand.png\",\n // \"description\": \"something something\",\n // \"link\": {\n // \"url\": \"/apple\"\n // }\n // },\n // {\n // \"image\": \"assets/placeholders/AppleBrand.png\",\n // \"description\": \"something something\",\n // \"link\": {\n // \"url\": \"/apple\"\n // }\n // },\n // {\n // \"image\": \"assets/placeholders/AppleBrand.png\",\n // \"description\": \"something something\",\n // \"link\": {\n // \"url\": \"/apple\"\n // }\n // },\n // {\n // \"image\": \"assets/placeholders/AppleBrand.png\",\n // \"description\": \"something something\",\n // \"link\": {\n // \"url\": \"/apple\"\n // }\n // },\n // {\n // \"image\": \"assets/placeholders/AppleBrand.png\",\n // \"description\": \"something something\",\n // \"link\": {\n // \"url\": \"/apple\"\n // }\n // },\n // {\n // \"image\": \"assets/placeholders/AppleBrand.png\",\n // \"description\": \"something something\",\n // \"link\": {\n // \"url\": \"/apple\"\n // }\n // }\n // ]\n // }\n // },\n // \"slider-layout#brand-images\": {\n // \"props\": {\n // \"blockClass\": \"brandSlider\",\n // \"itemsPerPage\": {\n // \"desktop\": 6,\n // \"tablet\": 4,\n // \"phone\": 3\n // },\n // \"infinite\": false\n // }\n // },\n\n \"flex-layout.row#shelf1\": {\n \"children\": [\"list-context.product-list#productSlider\"],\n \"props\": {\n \"blockClass\": \"shelfComplete\"\n }\n },\n \"list-context.product-list#productSlider\": {\n \"blocks\": [\"product-summary.shelf#complete\"],\n \"children\": [\"slider-layout#products\"],\n \"props\": {\n \"orderBy\": \"OrderByTopSaleDESC\"\n }\n },\n \"slider-layout#products\": {\n \"props\": {\n \"itemsPerPage\": {\n \"desktop\": 6,\n \"tablet\": 3,\n \"phone\": 1\n },\n \"infinite\": false,\n \"fullWidth\": true,\n \"showPaginationDots\": \"desktopOnly\",\n \"showNavigationArrows\": \"desktopOnly\",\n \"blockClass\": \"shelfStyle1\"\n }\n },\n \"slider-layout#productsMobile\": {\n \"props\": {\n \"itemsPerPage\": {\n \"desktop\": 6,\n \"tablet\": 3,\n \"phone\": 2\n },\n \"infinite\": false,\n \"fullWidth\": true,\n \"showNavigationArrows\": \"desktopOnly\",\n \"blockClass\": \"shelfStyle1\"\n }\n },\n \"flex-layout.row#imageBanners\": {\n \"props\": {\n \"blockClass\": \"imageBanners\",\n \"preventHorizontalStretch\": true\n },\n \"children\": [\n \"flex-layout.col#banner1\",\n \"flex-layout.col#banner2\",\n \"flex-layout.col#banner3\"\n ]\n },\n \"flex-layout.col#banner1\": {\n \"props\": {\n \"preventVerticalStretch\": true\n },\n \"children\": [\n \"image#bannerThird\",\n \"rich-text#bannerTitle\",\n \"rich-text#bannerDesc\",\n \"rich-text#bannerLink\"\n ]\n },\n \"flex-layout.col#banner2\": {\n \"props\": {\n \"preventVerticalStretch\": true\n },\n \"children\": [\n \"image#bannerThird\",\n \"rich-text#bannerTitle\",\n \"rich-text#bannerDesc\",\n \"rich-text#bannerLink\"\n ]\n },\n \"flex-layout.col#banner3\": {\n \"props\": {\n \"preventVerticalStretch\": true\n },\n \"children\": [\n \"image#bannerThird\",\n \"rich-text#bannerTitle\",\n \"rich-text#bannerDesc\",\n \"rich-text#bannerLink\"\n ]\n },\n \"image#bannerThird\": {\n \"props\": {\n \"src\": \"assets/placeholders/bannerSummer.png\",\n \"maxHeight\": 256,\n \"blockClass\": \"bannerThird\"\n }\n },\n \"rich-text#bannerTitle\": {\n \"props\": {\n \"text\": \"#### Keep cool with trusted air conditioning brands\",\n \"blockClass\": \"bannerTitle\",\n \"textAlignment\": \"CENTER\"\n }\n },\n \"rich-text#bannerDesc\": {\n \"props\": {\n \"text\": \"Amet minim mollit non deserunt ullamco est sit aliqua dolor do amet sint.\",\n \"blockClass\": \"bannerDesc\",\n \"textAlignment\": \"CENTER\"\n }\n },\n \"rich-text#bannerLink\": {\n \"props\": {\n \"text\": \"[BUY AIR CONDITIONING]()\",\n \"blockClass\": \"bannerLink\",\n \"textAlignment\": \"CENTER\"\n }\n },\n \"flex-layout.row#singleBanner\": {\n \"props\": {\n \"blockClass\": \"singleBanner\"\n },\n \"children\": [\"image#singleBanner\"]\n },\n \"image#singleBanner\": {\n \"props\": {\n \"src\": \"\",\n \"maxHeight\": 256\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_414e3a31
|
[
{
"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 b2cstoreqa.theme/store/blocks/quickview.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"modal-trigger#quickview\": {\n \"props\": {\n \"blockClass\": \"quickviewTrigger\"\n },\n \"children\": [\"image#quickviewTrigger\", \"modal-layout#quickview\"]\n },\n \"image#quickviewTrigger\": {\n \"props\": {\n \"src\": \"assets/icons/eyeIcon.svg\",\n \"blockClass\": \"quickviewTrigger\"\n }\n },\n \"modal-layout#quickview\": {\n \"children\": [\"flex-layout.row#product-details\", \"modal-actions.close\"],\n \"props\": {\n \"blockClass\": \"quickviewContainer\"\n }\n },\n \"modal-actions.close\": {\n \"props\": {\n \"label\": \"\"\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_87210e30
|
[
{
"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 b2cstoreqa.theme/store/blocks/minicart.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"minicart.v2\": {\n \"children\": [\"minicart-base-content\"],\n \"props\": {\n \"customPixelEventId\": \"add-to-cart-button\",\n \"MinicartIcon\": \"icon-cart#minicart-icon\"\n }\n },\n\n \"icon-cart#minicart-icon\": {\n \"props\": {\n \"size\": 27,\n \"viewBox\": \"0 0 27 27\"\n }\n },\n\n \"minicart-base-content\": {\n \"blocks\": [\"minicart-empty-state\"],\n \"children\": [\"minicart-product-list\", \"flex-layout.row#minicart-footer\"]\n },\n\n \"minicart-product-list\": {\n \"blocks\": [\"product-list#minicart\"]\n },\n\n \"product-list#minicart\": {\n \"blocks\": [\"product-list-content-mobile\"]\n },\n\n \"product-list-content-mobile\": {\n \"children\": [\"flex-layout.row#cartSummary\"]\n },\n\n \"flex-layout.row#cartSummary\": {\n \"children\": [\n \"flex-layout.col#minicart-product-image\",\n \"flex-layout.col#productInfo\"\n ],\n \"props\": {\n \"fullWidth\": true,\n \"paddingBottom\": \"5\",\n \"paddingTop\": \"5\",\n \"colGap\": 0,\n \"colSizing\": \"auto\",\n \"preventHorizontalStretch\": true,\n \"preventVerticalStretch\": true,\n \"preserveLayoutOnMobile\": true,\n \"blockClass\": \"cartSummary\"\n }\n },\n\n \"flex-layout.col#minicart-product-image\": {\n \"children\": [\"product-list-image#minicart\"],\n \"props\": {\n \"marginRight\": 5\n }\n },\n\n \"product-list-image#minicart\": {\n \"props\": {\n \"width\": 48\n }\n },\n\n \"flex-layout.col#productInfo\": {\n \"children\": [\n \"flex-layout.row#productInfo__name\",\n \"flex-layout.row#bottomInfo\"\n ],\n \"props\": {\n \"rowGap\": 3,\n \"width\": \"grow\"\n }\n },\n\n \"flex-layout.row#productInfo__name\": {\n \"children\": [\"vtex.product-list:product-name#minicart\"]\n },\n\n \"vtex.product-list:product-name#minicart\": {\n \"props\": {\n \"blockClass\": \"minicart\"\n }\n },\n\n \"flex-layout.row#bottomInfo\": {\n \"children\": [\"price#mobile\", \"quantity-selector\", \"remove-button\"],\n \"props\": {\n \"verticalAlign\": \"middle\",\n \"colSizing\": \"auto\",\n \"blockClass\": \"bottomInfo\",\n \"preserveLayoutOnMobile\": \"true\"\n }\n },\n\n \"flex-layout.row#minicart-footer\": {\n \"props\": {\n \"blockClass\": \"minicart-footer\"\n },\n \"children\": [\"flex-layout.col#minicart-footer\"]\n },\n\n \"flex-layout.col#minicart-footer\": {\n \"children\": [\"minicart-summary\", \"minicart-checkout-button\"]\n },\n\n \"minicart-summary\": {\n \"blocks\": [\"checkout-summary.compact#minicart\"]\n },\n\n \"checkout-summary.compact#minicart\": {\n \"children\": [\"summary-totalizers#minicart\"],\n \"props\": {\n \"totalizersToShow\": [\"Items\", \"Discounts\"]\n }\n },\n\n \"summary-totalizers#minicart\": {\n \"props\": {\n \"showTotal\": true,\n \"showDeliveryTotal\": false\n }\n },\n\n \"minicart-empty-state\": {\n \"children\": [\"flex-layout.row#empty-state\"]\n },\n\n \"flex-layout.row#empty-state\": {\n \"children\": [\"flex-layout.col#empty-state\"]\n },\n\n \"flex-layout.col#empty-state\": {\n \"children\": [\n \"icon-cart#minicart-empty-state\",\n \"rich-text#minicart-default-empty-state\"\n ],\n \"props\": {\n \"horizontalAlign\": \"center\",\n \"verticalAlign\": \"middle\",\n \"rowGap\": 5\n }\n },\n\n \"icon-cart#minicart-empty-state\": {\n \"props\": {\n \"size\": 64,\n \"viewBox\": \"0 0 27 27\",\n \"blockClass\": \"minicart-empty-state\"\n }\n },\n\n \"rich-text#minicart-default-empty-state\": {\n \"props\": {\n \"text\": \"Your cart is empty.\"\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_5508950f
|
[
{
"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 b2cstoreqa.theme/store/blocks/product.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"store.product\": {\n \"children\": [\n \"responsive-layout.mobile#product\",\n \"responsive-layout.desktop#product\"\n ]\n },\n \"responsive-layout.mobile#product\": {\n \"children\": [\n \"flex-layout.row#breadcrumb\",\n \"flex-layout.row#brand-and-rating\",\n \"flex-layout.row#product-name\",\n \"flex-layout.row#product-identifier\",\n \"flex-layout.row#product-images\",\n \"flex-layout.row#sku-selector\",\n \"flex-layout.row#assembly-options\",\n \"flex-layout.row#divider\",\n \"flex-layout.row#box\",\n \"product-kit#buy-together\",\n \"flex-layout.row#description-and-gallery\",\n \"flex-layout.row#features\",\n \"flex-layout.row#specification\",\n \"sticky-layout#sticky-buy\",\n \"flex-layout.row#reviews-and-ratings\",\n \"flex-layout.row#alsoView\"\n ]\n },\n \"responsive-layout.desktop#product\": {\n \"children\": [\"flex-layout.row#product\", \"flex-layout.row#alsoView\"]\n },\n \"flex-layout.row#product\": {\n \"children\": [\"flex-layout.col#product\"]\n },\n \"flex-layout.col#product\": {\n \"children\": [\n \"flex-layout.row#breadcrumb\",\n \"flex-layout.row#product-details\",\n \"product-kit#buy-together\", // This block won't work if it's not a direct children of store.product\n \"flex-layout.row#description-and-gallery\",\n \"flex-layout.row#features\",\n \"flex-layout.row#specification\",\n \"flex-layout.row#reviews-and-ratings\"\n ]\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_221f4a84
|
[
{
"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 b2cstoreqa.theme/store/blocks/wishlist.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"my-account-link.wishlist-link\": {\n \"props\": {\n \"label\": \"My Wishlist\"\n }\n },\n \"my-account-page.wishlist-page\": {\n \"children\": [\"flex-layout.row#top\", \"list-context.wishlist\"]\n },\n \"list-context.wishlist\": {\n \"blocks\": [\"product-summary.shelf#wishlist\"],\n \"children\": [\"slider-layout#wishlist\"]\n },\n \"product-summary.shelf#wishlist\": {\n \"props\": {\n \"blockClass\": \"summaryComplete\"\n },\n \"children\": [\n \"flex-layout.row#stackSavings\",\n \"product-summary-brand\",\n \"product-summary-name\",\n \"product-rating-summary\",\n \"product-summary-price\",\n \"flex-layout.row#product-summary-buy-button\",\n \"add-to-list-btn\",\n \"modal-trigger#quickview\"\n ]\n },\n \"slider-layout#wishlist\": {\n \"props\": {\n \"itemsPerPage\": {\n \"desktop\": 5,\n \"tablet\": 3,\n \"phone\": 1\n },\n \"infinite\": false,\n \"fullWidth\": true,\n \"showPaginationDots\": \"desktopOnly\",\n \"showNavigationArrows\": \"desktopOnly\",\n \"blockClass\": \"shelfStyle1\"\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_ba16549f
|
[
{
"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 b2cstoreqa.theme/store/blocks/search.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"store.search.product-comparison\": {\n \"blocks\": [\"search-result-layout\", \"flex-layout.row#newsletter\"],\n \"props\": {\n \"context\": {\n \"skusFilter\": \"ALL\",\n \"simulationBehavior\": \"skip\"\n }\n }\n },\n \"store.search.product-comparison#brand\": {\n \"blocks\": [\"search-result-layout\", \"flex-layout.row#newsletter\"],\n \"props\": {\n \"context\": {\n \"orderByField\": \"OrderByReleaseDateDESC\",\n \"hideUnavailableItems\": true,\n \"maxItemsPerPage\": 10,\n \"skusFilter\": \"ALL\",\n \"simulationBehavior\": \"skip\"\n }\n }\n },\n \"store.search.product-comparison#department\": {\n \"blocks\": [\"search-result-layout\", \"flex-layout.row#newsletter\"],\n \"props\": {\n \"context\": {\n \"skusFilter\": \"ALL\",\n \"simulationBehavior\": \"skip\",\n \"maxItemsPerPage\": 20\n },\n \"fullWidth\": true\n }\n },\n \"store.search.product-comparison#category\": {\n \"blocks\": [\"search-result-layout\", \"flex-layout.row#newsletter\"],\n \"props\": {\n \"context\": {\n \"skusFilter\": \"ALL\",\n \"simulationBehavior\": \"skip\",\n \"maxItemsPerPage\": 20\n },\n \"fullWidth\": true\n }\n },\n \"store.search.product-comparison#subcategory\": {\n \"blocks\": [\"search-result-layout\", \"flex-layout.row#newsletter\"],\n \"props\": {\n \"context\": {\n \"skusFilter\": \"ALL\",\n \"simulationBehavior\": \"skip\",\n \"maxItemsPerPage\": 20\n },\n \"fullWidth\": true\n }\n },\n \"search-result-layout\": {\n \"blocks\": [\n \"search-result-layout.desktop.product-comparison\",\n \"search-result-layout.mobile\",\n \"search-not-found-layout\"\n ],\n \"props\": {\n \"fullWidth\": true\n }\n },\n \"search-result-layout.desktop.product-comparison\": {\n \"children\": [\n \"flex-layout.row#searchLayout\",\n \"product-comparison-drawer\",\n \"flex-layout.row#blog\"\n ],\n \"props\": {\n \"pagination\": \"show-more\",\n \"preventRouteChange\": false,\n \"mobileLayout\": {\n \"mode1\": \"small\",\n \"mode2\": \"normal\"\n },\n \"fullWidth\": true\n }\n },\n \"flex-layout.row#searchLayout\": {\n \"children\": [\"flex-layout.row#filter\", \"flex-layout.col#pageContent\"],\n \"props\": {\n \"colSizing\": \"auto\",\n \"fullWidth\": true\n }\n },\n \"flex-layout.col#pageContent\": {\n \"children\": [\"flex-layout.row#imageList\", \"flex-layout.col#search-content\"],\n \"props\": {\n \"blockClass\": \"pageContent\",\n \"preventVerticalStretch\": true\n }\n },\n \"flex-layout.col#search-content\": {\n \"children\": [\n \"flex-layout.row#searchbread\",\n \"flex-layout.row#searchtitle\",\n \"flex-layout.row#SEOText\",\n // Deprecated\n // \"flex-layout.row#categorySlider\",\n \"flex-layout.row#searchinfo\",\n \"flex-layout.row#fetchprevious\",\n \"flex-layout.row#products\",\n \"flex-layout.row#fetchmore\"\n ],\n \"props\": {\n \"paddingLeft\": 7,\n \"paddingRight\": 7\n }\n },\n \"flex-layout.row#SEOText\": {\n \"children\": [\"rich-text#SEOText\"]\n },\n \"rich-text#SEOText\": {\n \"props\": {\n \"text\": \"Let's face it: we’re living in the age of the computer. From big business to everyday social interactions, these “calculating machines” have evolved into tools and solution.\",\n \"blockClass\": \"SEOText\"\n }\n },\n\n \"flex-layout.row#searchbread\": {\n \"children\": [\"flex-layout.col#searchbread\"],\n \"props\": {\n \"preserveLayoutOnMobile\": true,\n \"fullWidth\": true,\n \"marginBottom\": 5\n }\n },\n\n \"flex-layout.col#searchbread\": {\n \"children\": [\"breadcrumb.search#default\"],\n \"props\": {\n \"paddingLeft\": {\n \"desktop\": 0,\n \"mobile\": 5\n },\n \"paddingRight\": {\n \"desktop\": 0,\n \"mobile\": 5\n }\n }\n },\n\n \"breadcrumb.search#default\": {\n \"props\": {\n \"blockClass\": [\"default\"],\n \"showOnMobile\": true,\n \"homeIconSize\": 18\n }\n },\n\n \"flex-layout.row#searchtitle\": {\n \"children\": [\"search-title.v2\"]\n },\n\n \"flex-layout.row#filter\": {\n \"children\": [\"flex-layout.col#filter\"],\n \"props\": {\n \"paddingTop\": 3\n }\n },\n \"flex-layout.col#filter\": {\n \"children\": [\"filter-navigator.v3\"],\n \"props\": {\n \"blockClass\": \"filterCol\",\n \"paddingLeft\": 7\n }\n },\n\n \"flex-layout.row#searchinfo\": {\n \"children\": [\"flex-layout.col#productCount\", \"flex-layout.col#orderby\"],\n \"props\": {\n \"colSizing\": \"auto\",\n \"blockClass\": \"searchHeadInfo\"\n }\n },\n \"flex-layout.col#productCount\": {\n \"children\": [\"total-products.v2\"],\n \"props\": {\n \"blockClass\": \"productCountCol\"\n }\n },\n \"flex-layout.col#orderby\": {\n \"children\": [\"order-by.v2\"],\n \"props\": {\n \"blockClass\": \"orderByCol\"\n }\n },\n \"flex-layout.row#fetchprevious\": {\n \"props\": {\n \"marginBottom\": 3\n },\n \"children\": [\"search-fetch-previous\"]\n },\n \"flex-layout.row#fetchmore\": {\n \"props\": {\n \"marginTop\": 3\n },\n \"children\": [\"search-fetch-more\"]\n },\n \"flex-layout.row#products\": {\n \"children\": [\"search-content\"]\n },\n \"search-content\": {\n \"blocks\": [\"gallery\", \"not-found\"]\n },\n \"search-content#mobile\": {\n \"blocks\": [\"gallery#mobile\", \"not-found\"]\n },\n \"search-result-layout.mobile\": {\n \"children\": [\n \"flex-layout.row#imageList--mobile\",\n \"flex-layout.row#searchbread\",\n \"flex-layout.row#searchtitle\",\n \"flex-layout.row#SEOText\",\n // Deprecated\n // \"flex-layout.row#categorySlider\",\n \"flex-layout.row#productCountMobile\",\n \"flex-layout.row#searchinfomobile\",\n \"flex-layout.row#fetchprevious\",\n \"flex-layout.row#contentmobile\",\n \"flex-layout.row#fetchmore\",\n \"flex-layout.row#blogMobile\"\n ],\n \"props\": {\n \"pagination\": \"show-more\",\n \"mobileLayout\": {\n \"mode1\": \"small\",\n \"mode2\": \"normal\"\n }\n }\n },\n \"flex-layout.row#contentmobile\": {\n \"children\": [\"search-content#mobile\"],\n \"props\": {\n \"preserveLayoutOnMobile\": true\n }\n },\n \"flex-layout.row#searchinfomobile\": {\n \"children\": [\n \"flex-layout.col#orderByMobile\",\n \"flex-layout.col#filterMobile\",\n \"flex-layout.col#switcherMobile\"\n ],\n \"props\": {\n \"preserveLayoutOnMobile\": true,\n \"colSizing\": \"auto\",\n \"colJustify\": \"around\"\n }\n },\n \"flex-layout.col#orderByMobile\": {\n \"children\": [\"order-by.v2\"],\n \"props\": {\n \"blockClass\": \"orderByMobileCol\"\n }\n },\n \"flex-layout.row#productCountMobile\": {\n \"children\": [\"total-products.v2\"],\n \"props\": {\n \"blockClass\": \"productCountMobileRow\"\n }\n },\n \"flex-layout.col#filterMobile\": {\n \"children\": [\"filter-navigator.v3\"],\n \"props\": {\n \"blockClass\": \"filterMobileCol\"\n }\n },\n \"flex-layout.col#switcherMobile\": {\n \"children\": [\"search-layout-switcher\"],\n \"props\": {\n \"blockClass\": \"switcherMobileCol\"\n }\n },\n \"search-not-found-layout\": {\n \"children\": [\"flex-layout.row#notfound\"]\n },\n \"flex-layout.row#notfound\": {\n \"children\": [\"not-found\"],\n \"props\": {\n \"fullWidth\": true\n }\n },\n \"breadcrumb\": {\n \"props\": {\n \"showOnMobile\": true\n }\n },\n \"gallery\": {\n \"blocks\": [\"product-summary.shelf.product-comparison#complete\"]\n },\n \"gallery#mobile\": {\n \"blocks\": [\"product-summary.shelf#normal\"]\n }\n // Deprecated\n // \"flex-layout.row#categorySlider\": {\n // \"children\": [\"slider-layout#categorySlider\"]\n // },\n // \"slider-layout#categorySlider\": {\n // \"props\": {\n // \"itemsPerPage\": {\n // \"desktop\": 8,\n // \"tablet\": 4,\n // \"phone\": 2\n // },\n // \"infinite\": false,\n // \"blockClass\": \"categorySlider\"\n // },\n // \"children\": [\n // \"link#category1\",\n // \"link#category2\",\n // \"link#category3\",\n // \"link#category4\",\n // \"link#category5\",\n // \"link#category6\",\n // \"link#category7\",\n // \"link#category8\",\n // \"link#category8\"\n // ]\n // },\n // \"link#category1\": {\n // \"children\": [\"image#categoryImage1\", \"rich-text#categoryName1\"],\n // \"props\": {\n // \"href\": \"/category\",\n // \"blockClass\": \"linkCategorySlider\"\n // }\n // },\n // \"link#category2\": {\n // \"children\": [\"image#categoryImage2\", \"rich-text#categoryName2\"],\n // \"props\": {\n // \"href\": \"/category\",\n // \"blockClass\": \"linkCategorySlider\"\n // }\n // },\n // \"link#category3\": {\n // \"children\": [\"image#categoryImage3\", \"rich-text#categoryName3\"],\n // \"props\": {\n // \"href\": \"/category\",\n // \"blockClass\": \"linkCategorySlider\"\n // }\n // },\n // \"link#category4\": {\n // \"children\": [\"image#categoryImage4\", \"rich-text#categoryName4\"],\n // \"props\": {\n // \"href\": \"/category\",\n // \"blockClass\": \"linkCategorySlider\"\n // }\n // },\n // \"link#category5\": {\n // \"children\": [\"image#categoryImage5\", \"rich-text#categoryName5\"],\n // \"props\": {\n // \"href\": \"/category\",\n // \"blockClass\": \"linkCategorySlider\"\n // }\n // },\n // \"link#category6\": {\n // \"children\": [\"image#categoryImage6\", \"rich-text#categoryName6\"],\n // \"props\": {\n // \"href\": \"/category\",\n // \"blockClass\": \"linkCategorySlider\"\n // }\n // },\n // \"link#category7\": {\n // \"children\": [\"image#categoryImage7\", \"rich-text#categoryName7\"],\n // \"props\": {\n // \"href\": \"/category\",\n // \"blockClass\": \"linkCategorySlider\"\n // }\n // },\n // \"link#category8\": {\n // \"children\": [\"image#categoryImage8\", \"rich-text#categoryName8\"],\n // \"props\": {\n // \"href\": \"/category\",\n // \"blockClass\": \"linkCategorySlider\"\n // }\n // },\n // \"image#categoryImage1\": {\n // \"props\": {\n // \"src\": \"assets/placeholders/categoryImagePlaceHolder.png\",\n // \"blockClass\": \"imageCategorySlider\"\n // }\n // },\n // \"rich-text#categoryName1\": {\n // \"props\": {\n // \"text\": \"Shop All\",\n // \"blockClass\": \"textCategorySlider\"\n // }\n // },\n // \"image#categoryImage2\": {\n // \"props\": {\n // \"src\": \"assets/placeholders/categoryImagePlaceHolder.png\",\n // \"blockClass\": \"imageCategorySlider\"\n // }\n // },\n // \"rich-text#categoryName2\": {\n // \"props\": {\n // \"text\": \"Shop All\",\n // \"blockClass\": \"textCategorySlider\"\n // }\n // },\n // \"image#categoryImage3\": {\n // \"props\": {\n // \"src\": \"assets/placeholders/categoryImagePlaceHolder.png\",\n // \"blockClass\": \"imageCategorySlider\"\n // }\n // },\n // \"rich-text#categoryName3\": {\n // \"props\": {\n // \"text\": \"Shop All\",\n // \"blockClass\": \"textCategorySlider\"\n // }\n // },\n // \"image#categoryImage4\": {\n // \"props\": {\n // \"src\": \"assets/placeholders/categoryImagePlaceHolder.png\",\n // \"blockClass\": \"imageCategorySlider\"\n // }\n // },\n // \"rich-text#categoryName4\": {\n // \"props\": {\n // \"text\": \"Shop All\",\n // \"blockClass\": \"textCategorySlider\"\n // }\n // },\n // \"image#categoryImage5\": {\n // \"props\": {\n // \"src\": \"assets/placeholders/categoryImagePlaceHolder.png\",\n // \"blockClass\": \"imageCategorySlider\"\n // }\n // },\n // \"rich-text#categoryName5\": {\n // \"props\": {\n // \"text\": \"Shop All\",\n // \"blockClass\": \"textCategorySlider\"\n // }\n // },\n // \"image#categoryImage6\": {\n // \"props\": {\n // \"src\": \"assets/placeholders/categoryImagePlaceHolder.png\",\n // \"blockClass\": \"imageCategorySlider\"\n // }\n // },\n // \"rich-text#categoryName6\": {\n // \"props\": {\n // \"text\": \"Shop All\",\n // \"blockClass\": \"textCategorySlider\"\n // }\n // },\n // \"image#categoryImage7\": {\n // \"props\": {\n // \"src\": \"assets/placeholders/categoryImagePlaceHolder.png\",\n // \"blockClass\": \"imageCategorySlider\"\n // }\n // },\n // \"rich-text#categoryName7\": {\n // \"props\": {\n // \"text\": \"Shop All\",\n // \"blockClass\": \"textCategorySlider\"\n // }\n // },\n // \"image#categoryImage8\": {\n // \"props\": {\n // \"src\": \"assets/placeholders/categoryImagePlaceHolder.png\",\n // \"blockClass\": \"imageCategorySlider\"\n // }\n // },\n // \"rich-text#categoryName8\": {\n // \"props\": {\n // \"text\": \"Shop All\",\n // \"blockClass\": \"textCategorySlider\"\n // }\n // }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_bffd51bf
|
[
{
"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 b2cstoreqa.theme/store/blocks/institutional.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"image#mobile-phone\": {\n \"props\": {\n \"src\": \"https://storecomponents.vteximg.com.br/arquivos/mobile-phone.png\",\n \"maxHeight\": \"\",\n \"maxWidth\": \"\",\n \"blockClass\": \"storePrint\"\n }\n },\n\n \"rich-text#institutional-placeholder\": {\n \"props\": {\n \"text\": \"**Optimized store framework** \\n Free your front-end with our React + Node store framework. Improve usability and SEO, while driving more conversion with modular components, single page applications, and a ready-for-PWA structure. \\n\\n **Multi-currency and language** \\n Go international with multiple storefronts to support different languages and easily manage local currencies and payment conditions. \\n\\n **Serverless development platform** \\n Reduce loading time, improve usability, and make the best out of SEO. Developing scalable components with a comprehensive, easy-to-use toolset, you can build stores faster than ever.\",\n \"blockClass\": \"about\"\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_489db11b
|
[
{
"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 b2cstoreqa.theme/store/blocks/footer/footer.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"footer\": {\n \"props\": {},\n \"blocks\": [\"footer-layout.desktop\", \"footer-layout.mobile\"]\n },\n \"footer-layout.desktop\": {\n \"children\": [\n \"flex-layout.row#footerDesktop\",\n \"flex-layout.row#copyright\",\n \"flex-layout.row#footerStripe\"\n ],\n \"props\": {\n \"blockClass\": [\"relative\", \"z-998\"]\n }\n },\n \"flex-layout.row#footerStripe\": {\n \"props\": {\n \"blockClass\": \"footerStripe\"\n },\n \"children\": [\"rich-text#footerStripe\"]\n },\n \"rich-text#footerStripe\": {\n \"props\": {\n \"text\": \"There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc\",\n \"blockClass\": \"footerStripe\"\n }\n },\n \"footer-layout.mobile\": {\n \"children\": [\"flex-layout.row#footerMobile\"]\n },\n \"flex-layout.row#footerDesktop\": {\n \"props\": {\n \"blockClass\": \"footer-row-1\"\n },\n \"children\": [\n \"flex-layout.col#footer-1-desktop\",\n \"flex-layout.col#footer-2-desktop\",\n \"flex-layout.col#footer-3-desktop\",\n \"flex-layout.col#footer-4-desktop\"\n ]\n },\n \"flex-layout.col#footer-1-desktop\": {\n \"children\": [\"rich-text#footerTitle1\", \"vtex.menu@2.x:menu#about\"]\n },\n \"flex-layout.col#footer-2-desktop\": {\n \"children\": [\"rich-text#footerTitle2\", \"vtex.menu@2.x:menu#customer\"]\n },\n \"flex-layout.col#footer-3-desktop\": {\n \"props\": {\n \"preventVerticalStretch\": true\n },\n \"children\": [\"rich-text#footerTitle3\", \"link#call\", \"link#mail\"]\n },\n \"flex-layout.col#footer-4-desktop\": {\n \"children\": [\n \"rich-text#footerTitle4\",\n \"flex-layout.row#paymentImagesDesktop\",\n \"rich-text#followTitle\",\n \"flex-layout.row#networks\"\n ],\n \"props\": {\n \"preventVerticalStretch\": true,\n \"preventHorizontalStretch\": true\n }\n },\n \"rich-text#followTitle\": {\n \"props\": {\n \"text\": \"Follow us\",\n \"blockClass\": \"followTitle\"\n }\n },\n \"rich-text#footerTitle1\": {\n \"props\": {\n \"text\": \"About us\",\n \"blockClass\": \"footerTitle\"\n }\n },\n \"rich-text#footerTitle2\": {\n \"props\": {\n \"text\": \"Customer Services\",\n \"blockClass\": \"footerTitle\"\n }\n },\n \"rich-text#footerTitle3\": {\n \"props\": {\n \"text\": \"Contact Us\",\n \"blockClass\": \"footerTitle\"\n }\n },\n \"rich-text#footerTitle4\": {\n \"props\": {\n \"text\": \"Pay with credit card\",\n \"blockClass\": \"footerTitle\"\n }\n },\n \"link#call\": {\n \"children\": [\"image#phoneIcon\", \"rich-text#call\"],\n \"props\": {\n \"href\": \"tel:+1999999999\",\n \"target\": \"_blank\",\n \"blockClass\": \"linkCall\"\n }\n },\n \"link#mail\": {\n \"children\": [\"image#mailIcon\", \"rich-text#mail\"],\n \"props\": {\n \"href\": \"mailto:mailto@mail.com\",\n \"target\": \"_blank\",\n \"blockClass\": \"linkMail\"\n }\n },\n \"image#phoneIcon\": {\n \"props\": {\n \"src\": \"assets/icons/phoneIcon.svg\"\n }\n },\n \"image#mailIcon\": {\n \"props\": {\n \"src\": \"assets/icons/mailIcon.svg\"\n }\n },\n \"rich-text#call\": {\n \"props\": {\n \"text\": \"call us\",\n \"blockClass\": \"callTo\"\n }\n },\n \"rich-text#mail\": {\n \"props\": {\n \"text\": \"send a message\",\n \"blockClass\": \"mailTo\"\n }\n },\n \"flex-layout.row#copyright\": {\n \"props\": {\n \"colSizing\": \"auto\",\n \"blockClass\": \"copyrightContainer\"\n },\n \"children\": [\n \"flex-layout.col#copyright\",\n \"flex-layout.col#spacer\"\n // Deprecated\n // \"vtex.menu@2.x:menu#currency\"\n // \"locale-switcher\"\n ]\n },\n\n // Deprecated\n // \"vtex.menu@2.x:menu#currency\": {\n // \"children\": [\"menu-item#currency\"],\n // \"props\": {\n // \"blockClass\": \"currencyFakeDropdown\"\n // }\n // },\n\n // \"menu-item#currency\": {\n // \"props\": {\n // \"id\": \"currency-selector\",\n // \"type\": \"custom\",\n // \"highlight\": false,\n // \"itemProps\": {\n // \"type\": \"internal\",\n // \"href\": \"#\",\n // \"noFollow\": false,\n // \"text\": \"Select Currency\"\n // },\n // \"blockClass\": \"currencyFakeDropdown\"\n // },\n // \"blocks\": [\"vtex.menu@2.x:submenu#currency\"]\n // },\n // \"vtex.menu@2.x:submenu#currency\": {\n // \"children\": [\"vtex.menu@2.x:menu#subcurrency\"]\n // },\n // \"vtex.menu@2.x:menu#subcurrency\": {\n // \"children\": [\"menu-item#en\", \"menu-item#es\", \"menu-item#br\"],\n // \"props\": {\n // \"orientation\": \"vertical\"\n // }\n // },\n // \"menu-item#en\": {\n // \"props\": {\n // \"id\": \"currency-english\",\n // \"type\": \"custom\",\n // \"highlight\": false,\n // \"itemProps\": {\n // \"type\": \"internal\",\n // \"href\": \"/en\",\n // \"noFollow\": false,\n // \"text\": \"United States - USD\"\n // }\n // }\n // },\n // \"menu-item#es\": {\n // \"props\": {\n // \"id\": \"currency-spain\",\n // \"type\": \"custom\",\n // \"highlight\": false,\n // \"itemProps\": {\n // \"type\": \"internal\",\n // \"href\": \"/es\",\n // \"noFollow\": false,\n // \"text\": \"Spain - EUR\"\n // }\n // }\n // },\n // \"menu-item#br\": {\n // \"props\": {\n // \"id\": \"currency-brazil\",\n // \"type\": \"custom\",\n // \"highlight\": false,\n // \"itemProps\": {\n // \"type\": \"internal\",\n // \"href\": \"/br\",\n // \"noFollow\": false,\n // \"text\": \"Brazil - BRL\"\n // }\n // }\n // },\n\n \"flex-layout.col#copyright\": {\n \"props\": {},\n \"children\": [\"flex-layout.row#vtexLogo\"]\n },\n \"flex-layout.row#vtexLogo\": {\n \"props\": {\n \"preventHorizontalStretch\": true\n },\n \"children\": [\"image#vtexLogo\", \"rich-text#rights\"]\n },\n \"image#vtexLogo\": {\n \"props\": {\n \"blockClass\": \"vtexLogo\",\n \"src\": \"assets/placeholders/vtexLogo.png\"\n }\n },\n \"rich-text#rights\": {\n \"props\": {\n \"text\": \"2020 @ All Right Reserved to VTEX\",\n \"blockClass\": \"footerRights\"\n }\n },\n \"flex-layout.row#footerMobile\": {\n \"children\": [\n \"flex-layout.row#footerMenu\",\n \"flex-layout.col#payment\",\n // \"flex-layout.row#currency\",\n \"flex-layout.row#networks\",\n \"rich-text#copyrightMobile\",\n \"rich-text#footerTextMobile\",\n \"image#vtexLogoMobile\"\n ]\n },\n // Deprecated\n // \"flex-layout.row#currency\": {\n // \"children\": [\"vtex.menu@2.x:menu#currency\", \"locale-switcher\"],\n // \"props\": {\n // \"preserveLayoutOnMobile\": true,\n // \"blockClass\": \"mobileCurrencyRow\",\n // \"colSizing\": \"auto\"\n // }\n // },\n \"flex-layout.row#footerMenu\": {\n \"children\": [\n \"link#footerLink1\",\n \"link#footerLink2\",\n \"link#footerLink3\",\n \"link#footerLink4\",\n \"link#footerLink5\",\n \"link#footerLink6\"\n ],\n \"props\": {\n \"blockClass\": \"footerLink\"\n }\n },\n \"link#footerLink1\": {\n \"props\": {\n \"href\": \"/about\",\n \"label\": \"About us\",\n \"blockClass\": \"footerLink\"\n }\n },\n \"link#footerLink2\": {\n \"props\": {\n \"href\": \"/policy\",\n \"label\": \"Return Policy\",\n \"blockClass\": \"footerLink\"\n }\n },\n \"link#footerLink3\": {\n \"props\": {\n \"href\": \"/orders\",\n \"label\": \"Your orders\",\n \"blockClass\": \"footerLink\"\n }\n },\n \"link#footerLink4\": {\n \"props\": {\n \"href\": \"/services\",\n \"label\": \"Customer services\",\n \"blockClass\": \"footerLink\"\n }\n },\n \"link#footerLink5\": {\n \"props\": {\n \"href\": \"/shipping\",\n \"label\": \"Shipping info\",\n \"blockClass\": \"footerLink\"\n }\n },\n \"link#footerLink6\": {\n \"props\": {\n \"href\": \"/support\",\n \"label\": \"Contact & Support\",\n \"blockClass\": \"footerLink\"\n }\n },\n \"flex-layout.col#payment\": {\n \"children\": [\"rich-text#payment\", \"flex-layout.row#paymentImages\"],\n \"props\": {\n \"blockClass\": \"paymentCol\"\n }\n },\n \"rich-text#payment\": {\n \"props\": {\n \"text\": \"Pay with credit card\",\n \"blockClass\": \"paymentLabel\"\n }\n },\n \"flex-layout.row#paymentImagesDesktop\": {\n \"children\": [\n \"image#visa\",\n \"image#mastercard\",\n \"image#express\",\n \"image#elo\",\n \"image#dinners\"\n ],\n \"props\": {\n \"colSizing\": \"auto\",\n \"blockClass\": \"paymentImages\"\n }\n },\n \"flex-layout.row#paymentImages\": {\n \"children\": [\n \"image#visa\",\n \"image#mastercard\",\n \"image#express\",\n \"image#elo\",\n \"image#dinners\"\n ],\n \"props\": {\n \"preventHorizontalStretch\": true,\n \"blockClass\": \"paymentImages\"\n }\n },\n \"image#visa\": {\n \"props\": {\n \"src\": \"assets/placeholders/visaLogo.png\",\n \"blockClass\": \"paymentImage\"\n }\n },\n \"image#mastercard\": {\n \"props\": {\n \"src\": \"assets/placeholders/masterCardLogo.png\",\n \"blockClass\": \"paymentImage\"\n }\n },\n \"image#express\": {\n \"props\": {\n \"src\": \"assets/placeholders/expressLogo.png\",\n \"blockClass\": \"paymentImage\"\n }\n },\n \"image#elo\": {\n \"props\": {\n \"src\": \"assets/placeholders/eloLogo.png\",\n \"blockClass\": \"paymentImage\"\n }\n },\n \"image#dinners\": {\n \"props\": {\n \"src\": \"assets/placeholders/dinnersLogo.png\",\n \"blockClass\": \"paymentImage\"\n }\n },\n \"rich-text#copyrightMobile\": {\n \"props\": {\n \"text\": \"2020 @ All Right Reserved to VTEX\",\n \"blockClass\": \"copyright\"\n }\n },\n \"rich-text#footerTextMobile\": {\n \"props\": {\n \"text\": \"Amet minim mollit non deserunt ullamco est sit aliqua do amet sint. Velit officia consequat duis enim velit mollit. Exercitation veniam consequat sunt nostrud amet. Amet minim mollit non deserunt ullamco est sit aliqua dolor do amet sint. Velit officia consequat duis enim velit mollit. Exercitation veniam consequat sunt amet.\",\n \"blockClass\": \"footerStripe\"\n }\n },\n \"image#vtexLogoMobile\": {\n \"props\": {\n \"src\": \"assets/placeholders/vtexLogo.png\",\n \"blockClass\": \"vtexLogo\"\n }\n },\n \"flex-layout.row#networks\": {\n \"children\": [\"link#facebook\", \"link#instagram\", \"link#twitter\"],\n \"props\": {\n \"blockClass\": \"networks\",\n \"horizontalAlign\": \"center\",\n \"preserveLayoutOnMobile\": true,\n \"preventHorizontalStretch\": true,\n \"colGap\": 3,\n \"colSizing\": \"auto\",\n \"fullWidth\": false\n }\n },\n \"link#facebook\": {\n \"children\": [\"image#facebook\"],\n \"props\": {\n \"href\": \"//facebook.com\",\n \"target\": \"_blank\",\n \"blockClass\": \"networkLink\"\n }\n },\n \"link#instagram\": {\n \"children\": [\"image#instagram\"],\n \"props\": {\n \"href\": \"//instagram.com\",\n \"target\": \"_blank\",\n \"blockClass\": \"networkLink\"\n }\n },\n \"link#twitter\": {\n \"children\": [\"image#twitter\"],\n \"props\": {\n \"href\": \"//twitter.com\",\n \"target\": \"_blank\",\n \"blockClass\": \"networkLink\"\n }\n },\n \"image#facebook\": {\n \"props\": {\n \"src\": \"assets/placeholders/facebookIcon.png\",\n \"blockClass\": \"networkImage\"\n }\n },\n \"image#instagram\": {\n \"props\": {\n \"src\": \"assets/placeholders/instagramIcon.png\",\n \"blockClass\": \"networkImage\"\n }\n },\n \"image#twitter\": {\n \"props\": {\n \"src\": \"assets/placeholders/twitterIcon.png\",\n \"blockClass\": \"networkImage\"\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_eef2381a
|
[
{
"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 b2cstoreqa.theme/store/blocks/footer/menu.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vtex.menu@2.x:menu#about\": {\n \"props\": {\n \"blockClass\": \"flexCol\",\n \"items\": [\n {\n \"id\": \"footerItem-company\",\n \"type\": \"custom\",\n \"iconId\": null,\n \"highlight\": false,\n \"itemProps\": {\n \"type\": \"internal\",\n \"href\": \"/company\",\n \"noFollow\": false,\n \"tagTitle\": \"Shop\",\n \"text\": \"Our Company\"\n }\n },\n {\n \"id\": \"footerItem-careers\",\n \"type\": \"custom\",\n \"iconId\": null,\n \"highlight\": false,\n \"itemProps\": {\n \"type\": \"internal\",\n \"href\": \"/careers\",\n \"noFollow\": false,\n \"tagTitle\": \"about-us\",\n \"text\": \"Careers\"\n }\n },\n {\n \"id\": \"footerItem-sell\",\n \"type\": \"custom\",\n \"iconId\": null,\n \"highlight\": false,\n \"itemProps\": {\n \"type\": \"internal\",\n \"href\": \"/sell\",\n \"noFollow\": false,\n \"tagTitle\": \"about-us\",\n \"text\": \"Sell with VTEX\"\n }\n },\n {\n \"id\": \"footerItem-investor\",\n \"type\": \"custom\",\n \"iconId\": null,\n \"highlight\": false,\n \"itemProps\": {\n \"type\": \"internal\",\n \"href\": \"/investors\",\n \"noFollow\": false,\n \"tagTitle\": \"about-us\",\n \"text\": \"Investor Relations\"\n }\n },\n {\n \"id\": \"footerItem-advertise\",\n \"type\": \"custom\",\n \"iconId\": null,\n \"highlight\": false,\n \"itemProps\": {\n \"type\": \"internal\",\n \"href\": \"/advertise\",\n \"noFollow\": false,\n \"tagTitle\": \"about-us\",\n \"text\": \"Advertise with us\"\n }\n },\n {\n \"id\": \"footerItem-locations\",\n \"type\": \"custom\",\n \"iconId\": null,\n \"highlight\": false,\n \"itemProps\": {\n \"type\": \"internal\",\n \"href\": \"/locations\",\n \"noFollow\": false,\n \"tagTitle\": \"about-us\",\n \"text\": \"Locations\"\n }\n }\n ]\n }\n },\n \"vtex.menu@2.x:menu#customer\": {\n \"props\": {\n \"blockClass\": \"flexCol\",\n \"items\": [\n {\n \"id\": \"footerItem-help\",\n \"type\": \"custom\",\n \"iconId\": null,\n \"highlight\": false,\n \"itemProps\": {\n \"type\": \"internal\",\n \"href\": \"/help-center\",\n \"noFollow\": false,\n \"tagTitle\": \"Help Center\",\n \"text\": \"Help Center\"\n }\n },\n {\n \"id\": \"footerItem-returns\",\n \"type\": \"custom\",\n \"iconId\": null,\n \"highlight\": false,\n \"itemProps\": {\n \"type\": \"internal\",\n \"href\": \"/returns\",\n \"noFollow\": false,\n \"tagTitle\": \"Returns\",\n \"text\": \"Returns\"\n }\n },\n {\n \"id\": \"footerItem-recall\",\n \"type\": \"custom\",\n \"iconId\": null,\n \"highlight\": false,\n \"itemProps\": {\n \"type\": \"internal\",\n \"href\": \"/recalls\",\n \"noFollow\": false,\n \"tagTitle\": \"Product Recalls\",\n \"text\": \"Product Recalls\"\n }\n },\n {\n \"id\": \"footerItem-accessibility\",\n \"type\": \"custom\",\n \"iconId\": null,\n \"highlight\": false,\n \"itemProps\": {\n \"type\": \"internal\",\n \"href\": \"/accessibility\",\n \"noFollow\": false,\n \"tagTitle\": \"Accessibility\",\n \"text\": \"Accessibility\"\n }\n },\n {\n \"id\": \"footerItem-contact\",\n \"type\": \"custom\",\n \"iconId\": null,\n \"highlight\": false,\n \"itemProps\": {\n \"type\": \"internal\",\n \"href\": \"/contact\",\n \"noFollow\": false,\n \"tagTitle\": \"Contact Us\",\n \"text\": \"Contact Us\"\n }\n },\n {\n \"id\": \"footerItem-pickup\",\n \"type\": \"custom\",\n \"iconId\": null,\n \"highlight\": false,\n \"itemProps\": {\n \"type\": \"internal\",\n \"href\": \"/pickup\",\n \"noFollow\": false,\n \"tagTitle\": \"Store Pickup\",\n \"text\": \"Store Pickup\"\n }\n }\n ]\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_74258ce5
|
[
{
"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 b2cstoreqa.theme/store/blocks/product/right-col.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"flex-layout.col#right-col\": {\n \"children\": [\n \"flex-layout.row#brand-and-rating\",\n \"flex-layout.row#product-name\",\n \"flex-layout.row#product-identifier\",\n \"condition-layout.product#sku-selector-or-list\",\n \"flex-layout.row#assembly-options\"\n // \"flex-layout.row#link-seller\"\n ],\n \"props\": {\n \"blockClass\": \"right-col\",\n \"preventVerticalStretch\": true,\n \"width\": \"45%\"\n }\n },\n \"flex-layout.row#brand-and-rating\": {\n \"children\": [\n \"vtex.store-components:product-brand#brand-and-rating\",\n \"flex-layout.col#spacer\",\n \"product-rating-summary\"\n ],\n \"props\": {\n \"blockClass\": [\"items-center\", \"brand-and-rating\"],\n \"preserveLayoutOnMobile\": true,\n \"preventHorizontalStretch\": true,\n \"preventVerticalStretch\": true,\n \"colSizing\": \"auto\",\n \"colGap\": 0\n }\n },\n \"vtex.store-components:product-brand#brand-and-rating\": {\n \"props\": {\n \"blockClass\": \"brand-and-rating\",\n \"displayMode\": \"text\",\n \"height\": 0,\n \"logoWithLink\": true\n }\n },\n \"flex-layout.row#product-name\": {\n \"children\": [\"vtex.store-components:product-name#product-page\"],\n \"props\": {\n \"blockClass\": [\"product-name\"]\n }\n },\n \"vtex.store-components:product-name#product-page\": {\n \"props\": {\n \"blockClass\": \"product-page\"\n }\n },\n \"flex-layout.row#product-identifier\": {\n \"children\": [\"product-identifier.product\"],\n \"props\": {\n \"blockClass\": [\"product-identifier\"]\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_75446b2c
|
[
{
"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 b2cstoreqa.theme/store/blocks/product/sku-list.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"flex-layout.row#sku-list\": {\n \"children\": [\"flex-layout.col#sku-list\"],\n \"props\": {\n \"marginBottom\": 5\n }\n },\n\n \"flex-layout.col#sku-list\": {\n \"children\": [\"flex-layout.row#sku-list-header\", \"sku-list\"],\n \"props\": {\n \"blockClass\": \"sku-list\"\n }\n },\n\n \"flex-layout.row#sku-list-header\": {\n \"props\": {\n \"preventHorizontalStretch\": false,\n \"blockClass\": \"skuListHeader\",\n \"marginBottom\": 3\n },\n \"children\": [\"rich-text#code\", \"rich-text#inventory\", \"rich-text#price\"]\n },\n\n \"rich-text#code\": {\n \"props\": {\n \"text\": \"**Code**\",\n \"blockClass\": \"skuList\",\n \"width\": \"33.333333333%\"\n }\n },\n\n \"rich-text#inventory\": {\n \"props\": {\n \"text\": \"**Stock**\",\n \"blockClass\": \"skuList\",\n \"width\": \"33.333333333%\"\n }\n },\n\n \"rich-text#price\": {\n \"props\": {\n \"text\": \"**Price**\",\n \"blockClass\": \"skuList\",\n \"width\": \"33.333333333%\"\n }\n },\n\n \"sku-list\": {\n \"blocks\": [\"sku-content.desktop\", \"sku-content.mobile\"]\n },\n\n \"sku-content.desktop\": {\n \"children\": [\"flex-layout.row#item-main-desktop\"]\n },\n\n \"flex-layout.row#item-main-desktop\": {\n \"props\": {\n \"preventHorizontalStretch\": false\n },\n \"children\": [\n \"flex-layout.col#sku-highlight-code\",\n \"flex-layout.col#sku-inventory\",\n \"flex-layout.col#sku-price\"\n ]\n },\n\n \"flex-layout.col#sku-highlight-code\": {\n \"props\": {\n \"width\": \"33.333333333%\"\n },\n \"children\": [\"sku-highlights#code\"]\n },\n\n \"sku-highlights#code\": {\n \"props\": {\n \"conditional\": {\n \"highlight\": \"admin/editor.sku-list.highlights.chooseDefaultSpecification\",\n \"typeSpecifications\": \"Code\"\n },\n \"showLabel\": false\n }\n },\n\n \"flex-layout.col#sku-inventory\": {\n \"props\": {\n \"width\": \"33.333333333%\"\n },\n \"children\": [\"sku-inventory#default\"]\n },\n\n \"sku-inventory#default\": {\n \"props\": {\n \"showLabel\": false\n }\n },\n\n \"flex-layout.col#sku-price\": {\n \"props\": {\n \"width\": \"33.333333333%\"\n },\n \"children\": [\"sku-price\"]\n },\n\n \"sku-content.mobile\": {\n \"children\": [\"flex-layout.row#item-main-mobile\"]\n },\n\n \"flex-layout.row#item-main-mobile\": {\n \"props\": {\n \"preventHorizontalStretch\": false\n },\n \"children\": [\n \"flex-layout.col#sku-highlight-code-mobile\",\n \"flex-layout.col#sku-highlight-spec-mobile\",\n \"flex-layout.col#sku-inventory-mobile\",\n \"flex-layout.col#sku-price-mobile\",\n \"flex-layout.col#sku-quantity-selector-mobile\"\n ]\n },\n\n \"flex-layout.col#sku-highlight-code-mobile\": {\n \"props\": {\n \"width\": \"33.333333333%\"\n },\n \"children\": [\"sku-highlights#code-mobile\"]\n },\n\n \"sku-highlights#code-mobile\": {\n \"props\": {\n \"conditional\": {\n \"highlight\": \"admin/editor.sku-list.highlights.chooseDefaultSpecification\",\n \"typeSpecifications\": \"Código\"\n },\n \"showLabel\": true\n }\n },\n\n \"flex-layout.col#sku-highlight-spec-mobile\": {\n \"props\": {\n \"width\": \"33.333333333%\"\n },\n \"children\": [\"sku-highlights#spec-mobile\"]\n },\n\n \"sku-highlights#spec-mobile\": {\n \"props\": {\n \"conditional\": {\n \"highlight\": \"admin/editor.sku-list.highlights.chooseDefaultSpecification\",\n \"typeSpecifications\": \"Especificação\"\n },\n \"showLabel\": true\n }\n },\n\n \"flex-layout.col#sku-inventory-mobile\": {\n \"props\": {\n \"width\": \"33.333333333%\"\n },\n \"children\": [\"sku-inventory#default-mobile\"]\n },\n\n \"sku-inventory#default-mobile\": {\n \"props\": {\n \"showLabel\": true\n }\n },\n\n \"sku-seller#inventory-mobile\": {\n \"children\": [\"seller-inventory#mobile\"]\n },\n\n \"seller-inventory#mobile\": {\n \"props\": {\n \"showLabel\": true\n }\n },\n\n \"flex-layout.col#sku-price-mobile\": {\n \"props\": {\n \"width\": \"33.333333333%\"\n },\n \"children\": [\"sku-price#mobile\"]\n },\n\n \"sku-price#mobile\": {\n \"props\": {\n \"showLabel\": true\n }\n },\n\n \"flex-layout.col#sku-quantity-selector-mobile\": {\n \"props\": {\n \"width\": \"33.333333333%\"\n },\n \"children\": [\"sku-quantity-selector\"]\n },\n\n \"sku-quantity-selector#mobile\": {\n \"props\": {\n \"showLabel\": true\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_1ffe1dc5
|
[
{
"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 b2cstoreqa.theme/store/blocks/product/reviews-and-ratings.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"flex-layout.row#reviews-and-ratings\": {\n \"children\": [\"flex-layout.col#reviews-and-ratings\"],\n \"props\": {\n \"blockClass\": \"reviews-and-ratings\"\n }\n },\n\n \"flex-layout.col#reviews-and-ratings\": {\n \"children\": [\n \"disclosure-layout#reviews-and-ratings\",\n \"flex-layout.col#divider\"\n ],\n \"props\": {\n \"blockClass\": \"reviews-and-ratings\",\n \"width\": \"74%\"\n }\n },\n\n \"disclosure-layout#reviews-and-ratings\": {\n \"children\": [\n \"disclosure-trigger#reviews-and-ratings\",\n \"disclosure-content#reviews-and-ratings\"\n ],\n \"props\": {\n \"initialVisibility\": \"visible\"\n }\n },\n\n \"disclosure-trigger#reviews-and-ratings\": {\n \"children\": [\"flex-layout.row#disclosure-trigger-reviews\"],\n \"props\": {\n \"as\": \"div\"\n }\n },\n\n \"flex-layout.row#disclosure-trigger-reviews\": {\n \"children\": [\n \"rich-text#reviews-disclosure-trigger-heading\",\n \"flex-layout.col#spacer\",\n \"disclosure-state-indicator\"\n ],\n \"props\": {\n \"blockClass\": [\"items-end\", \"disclosure-trigger-reviews\"],\n \"colGap\": 0,\n \"colSizing\": \"auto\",\n \"preserveLayoutOnMobile\": true,\n \"preventHorizontalStretch\": true,\n \"preventVerticalStretch\": true\n }\n },\n\n \"rich-text#reviews-disclosure-trigger-heading\": {\n \"props\": {\n \"blockClass\": [\"reviews\", \"disclosure-trigger-heading\"],\n \"text\": \"<span>Customer reviews</span>\",\n \"font\": \"t-heading-5\"\n }\n },\n\n \"disclosure-content#reviews-and-ratings\": {\n \"children\": [\"flex-layout.row#reviews\"],\n \"props\": {\n \"blockClass\": \"reviews-and-ratings\"\n }\n },\n\n \"flex-layout.row#reviews\": {\n \"children\": [\"flex-layout.col#reviews\"]\n },\n\n \"flex-layout.col#reviews\": {\n \"children\": [\"flex-layout.row#reviews-content\"]\n },\n\n \"flex-layout.row#reviews-content\": {\n \"children\": [\n \"flex-layout.col#ratings-only\",\n \"flex-layout.col#reviews-only\"\n ],\n \"props\": {\n \"colGap\": 8,\n \"colSizing\": \"auto\",\n \"preventHorizontalStretch\": true,\n \"preventVerticalStretch\": true\n }\n },\n\n // This is a nasty workaround because `product-reviews.vtex` doesn't have composability\n // and it doesn't respect `blockClass` either.\n\n \"flex-layout.col#ratings-only\": {\n \"children\": [\"product-reviews\"],\n \"props\": {\n \"blockClass\": [\"ratings-only\"]\n }\n },\n\n \"flex-layout.col#reviews-only\": {\n \"children\": [\"product-reviews\"],\n \"props\": {\n \"blockClass\": [\"reviews-only\"]\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_72f568f6
|
[
{
"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 b2cstoreqa.theme/store/blocks/product/buy-buttons.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"flex-layout.row#buy-buttons\": {\n \"children\": [\"flex-layout.col#buy-buttons\"],\n \"props\": {\n \"blockClass\": \"buy-buttons\"\n }\n },\n\n \"flex-layout.col#buy-buttons\": {\n \"children\": [\"flex-layout.row#add-to-cart\", \"flex-layout.row#buy-now\"],\n \"props\": {\n \"blockClass\": \"buy-buttons\",\n \"rowGap\": 3\n }\n },\n\n \"flex-layout.row#add-to-cart\": {\n \"children\": [\"add-to-cart-button\"],\n \"props\": {\n \"blockClass\": \"add-to-cart\"\n }\n },\n\n \"flex-layout.row#buy-now\": {\n \"children\": [\"add-to-cart-button#buy-now\"],\n \"props\": {\n \"blockClass\": \"buy-now\"\n }\n },\n\n \"add-to-cart-button#buy-now\": {\n \"props\": {\n \"blockClass\": \"buy-now\",\n \"isOneClickBuy\": true,\n \"text\": \"Buy Now\"\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_caf718d3
|
[
{
"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 b2cstoreqa.theme/store/blocks/product/left-col.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"flex-layout.col#left-col\": {\n \"children\": [\"product-images#desktop\"],\n \"props\": {\n \"blockClass\": \"left-col\"\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_5919028d
|
[
{
"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 b2cstoreqa.theme/store/blocks/product/location-availability.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"flex-layout.row#location-availability\": {\n \"children\": [\"flex-layout.col#location-availability\"],\n \"props\": {\n \"blockClass\": [\"reset-layout\", \"items-center\", \"location-availability\"],\n \"colGap\": 0,\n \"preserveLayoutOnMobile\": true,\n \"preventHorizontalStretch\": true\n }\n },\n\n \"flex-layout.col#location-availability\": {\n \"children\": [\"location-context#desktop\"],\n \"props\": {\n \"width\": \"grow\"\n }\n },\n\n \"location-context#desktop\": {\n \"children\": [\n \"product-location-shipping-options#desktop\",\n \"modal-trigger#shipping-availability\"\n ],\n \"props\": {\n \"blockClass\": [\"desktop\"]\n }\n },\n\n \"product-location-shipping-options#desktop\": {\n \"props\": {\n \"blockClass\": \"desktop\"\n }\n },\n\n \"modal-trigger#shipping-availability\": {\n \"children\": [\n \"rich-text#modal-trigger-shipping-availability\",\n \"modal-layout#shipping-availability\"\n ]\n },\n\n \"rich-text#modal-trigger-shipping-availability\": {\n \"props\": {\n \"blockClass\": [\"modal-trigger-shipping-availability\"],\n \"text\": \"See more shipping options\",\n \"font\": \"t-small\",\n \"textColor\": \"c-on-action-secondary\"\n }\n },\n\n \"modal-layout#shipping-availability\": {\n \"children\": [\n \"modal-header#shipping-availability\",\n \"flex-layout.row#pickup-and-shipping\"\n ],\n \"props\": {\n \"blockClass\": [\"shipping-availability\"]\n }\n },\n\n \"modal-header#shipping-availability\": {\n \"children\": [\"rich-text#shipping-availability\"],\n \"props\": {\n \"blockClass\": [\"shipping-availability\"]\n }\n },\n\n \"rich-text#shipping-availability\": {\n \"props\": {\n \"blockClass\": [\"reset-spacing\"],\n \"text\": \"###### Shipping options\",\n \"font\": \"t-heading-6\"\n }\n },\n\n \"flex-layout.row#pickup-and-shipping\": {\n \"children\": [\"flex-layout.col#pickup-and-shipping\"],\n \"props\": {\n \"paddingBottom\": {\n \"mobile\": 5,\n \"desktop\": 7\n },\n \"paddingTop\": {\n \"mobile\": 5,\n \"desktop\": 7\n }\n }\n },\n\n \"flex-layout.col#pickup-and-shipping\": {\n \"children\": [\"flex-layout.row#pickup-and-shipping-content\"],\n \"props\": {\n \"paddingLeft\": {\n \"mobile\": 5,\n \"desktop\": 7\n },\n \"paddingRight\": {\n \"mobile\": 5,\n \"desktop\": 7\n }\n }\n },\n\n \"flex-layout.row#pickup-and-shipping-content\": {\n \"children\": [\"flex-layout.col#pickup-and-shipping-left\"]\n },\n\n // Deprecated\n // \"flex-layout.row#pickup-and-shipping-spacer\": {\n // \"children\": [\"flex-layout.col#pickup-and-shipping-spacer\"],\n // \"props\": {\n // \"paddingBottom\": {\n // \"mobile\": 3,\n // \"desktop\": 5\n // },\n // \"paddingTop\": {\n // \"mobile\": 3,\n // \"desktop\": 5\n // }\n // }\n // },\n\n // \"flex-layout.col#pickup-and-shipping-spacer\": {\n // \"children\": [],\n // \"props\": {\n // \"paddingLeft\": {\n // \"mobile\": 3,\n // \"desktop\": 5\n // },\n // \"paddingRight\": {\n // \"mobile\": 3,\n // \"desktop\": 5\n // }\n // }\n // },\n\n \"flex-layout.col#pickup-and-shipping-left\": {\n \"children\": [\"flex-layout.row#shipping-simulator\"],\n \"props\": {\n \"blockClass\": [\"br2\", \"bg-fresh-blue-lightest\"],\n \"paddingLeft\": {\n \"mobile\": 5,\n \"desktop\": 9\n },\n \"paddingRight\": {\n \"mobile\": 5,\n \"desktop\": 9\n }\n }\n },\n\n \"flex-layout.row#shipping-simulator\": {\n \"children\": [\"flex-layout.col#shipping-simulator\"],\n \"props\": {\n \"paddingTop\": {\n \"mobile\": 5,\n \"desktop\": 7\n },\n \"paddingBottom\": {\n \"mobile\": 6,\n \"desktop\": 8\n }\n }\n },\n\n \"flex-layout.col#shipping-simulator\": {\n \"children\": [\n \"flex-layout.row#shipping-simulator-title\",\n \"rich-text#shipping-simulator-text\",\n \"shipping-simulator#default\"\n ],\n \"props\": {\n \"rowGap\": {\n \"mobile\": 3,\n \"desktop\": 5\n }\n }\n },\n\n \"flex-layout.row#shipping-simulator-title\": {\n \"children\": [\"icon#truck\", \"rich-text#shipping-simulator-title\"],\n \"props\": {\n \"border\": \"bottom\",\n \"borderColor\": \"muted-4\",\n \"borderWidth\": 0,\n \"blockClass\": [\"items-center\", \"justify-center\"],\n \"colGap\": 5,\n \"colSizing\": \"auto\",\n \"fullWidth\": true,\n \"marginBottom\": {\n \"mobile\": 3,\n \"desktop\": 5\n },\n \"paddingBottom\": {\n \"mobile\": 4,\n \"desktop\": 6\n },\n \"preserveLayoutOnMobile\": true,\n \"preventHorizontalStretch\": true,\n \"preventVerticalStretch\": true\n }\n },\n\n \"icon#truck\": {\n \"props\": {\n \"id\": \"mpa-truck\",\n \"size\": \"24\",\n \"viewBox\": \"0 0 26 22\"\n }\n },\n\n \"rich-text#shipping-simulator-title\": {\n \"props\": {\n \"blockClass\": [\"reset-spacing\"],\n \"text\": \"##### Shipping\",\n \"font\": \"t-heading-5\"\n }\n },\n\n \"rich-text#shipping-simulator-text\": {\n \"props\": {\n \"blockClass\": [\"reset-spacing\", \"fw5\", \"black-medium\"],\n \"text\": \"Insert your Postal Code\",\n \"font\": \"t-small\",\n \"textAlignment\": \"CENTER\",\n \"textPosition\": \"CENTER\"\n }\n },\n\n \"shipping-simulator#default\": {\n \"props\": {\n \"shouldUpdateOrderForm\": true,\n \"blockClass\": \"default\"\n }\n }\n\n // Deprecated\n // \"flex-layout.col#pickup-and-shipping-right\": {\n // \"children\": [\"flex-layout.row#pickup-availability\"],\n // \"props\": {\n // \"blockClass\": [\"br2\", \"bg-fresh-blue-lightest\"],\n // \"paddingLeft\": {\n // \"mobile\": 5,\n // \"desktop\": 9\n // },\n // \"paddingRight\": {\n // \"mobile\": 5,\n // \"desktop\": 9\n // },\n // \"width\": \"50%\"\n // }\n // },\n\n // \"flex-layout.row#pickup-availability\": {\n // \"children\": [\"flex-layout.col#pickup-availability\"],\n // \"props\": {\n // \"paddingTop\": {\n // \"mobile\": 5,\n // \"desktop\": 7\n // },\n // \"paddingBottom\": {\n // \"mobile\": 6,\n // \"desktop\": 8\n // }\n // }\n // },\n\n // \"flex-layout.col#pickup-availability\": {\n // \"children\": [\n // \"flex-layout.row#pickup-availability-title\",\n // \"rich-text#pickup-availability-text\",\n // \"pickup-availability#default\"\n // ],\n // \"props\": {\n // \"rowGap\": {\n // \"mobile\": 3,\n // \"desktop\": 5\n // }\n // }\n // },\n\n // \"flex-layout.row#pickup-availability-title\": {\n // \"children\": [\"icon#home\", \"rich-text#pickup-availability-title\"],\n // \"props\": {\n // \"border\": \"bottom\",\n // \"borderColor\": \"muted-4\",\n // \"borderWidth\": 0,\n // \"blockClass\": [\"items-center\", \"justify-center\"],\n // \"colGap\": 5,\n // \"colSizing\": \"auto\",\n // \"fullWidth\": true,\n // \"marginBottom\": {\n // \"mobile\": 3,\n // \"desktop\": 5\n // },\n // \"paddingBottom\": {\n // \"mobile\": 4,\n // \"desktop\": 6\n // },\n // \"preserveLayoutOnMobile\": true,\n // \"preventHorizontalStretch\": true,\n // \"preventVerticalStretch\": true\n // }\n // },\n\n // \"icon#home\": {\n // \"props\": {\n // \"id\": \"mpa-home\",\n // \"size\": \"22\",\n // \"viewBox\": \"0 0 22 24\"\n // }\n // },\n\n // \"rich-text#pickup-availability-title\": {\n // \"props\": {\n // \"blockClass\": [\"reset-spacing\"],\n // \"text\": \"##### Pickup\",\n // \"font\": \"t-heading-5\"\n // }\n // },\n\n // \"rich-text#pickup-availability-text\": {\n // \"props\": {\n // \"blockClass\": [\"reset-spacing\", \"fw5\", \"black-medium\"],\n // \"text\": \"Choose an address to find a store\",\n // \"font\": \"t-small\",\n // \"textAlignment\": \"CENTER\",\n // \"textPosition\": \"CENTER\"\n // }\n // },\n\n // \"pickup-availability#default\": {\n // \"props\": {\n // \"blockClass\": \"default\"\n // }\n // }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_850d94a1
|
[
{
"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 b2cstoreqa.theme/store/blocks/product/buy-together.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"product-kit#buy-together\": {\n \"blocks\": [\"product-summary.shelf#buy-together\"]\n },\n\n \"product-summary.shelf#buy-together\": {\n \"children\": [\"flex-layout.row#buy-together-summary\"]\n },\n\n \"flex-layout.row#buy-together-summary\": {\n \"children\": [\n \"flex-layout.col#buy-together-summary-aside\",\n \"flex-layout.col#buy-together-summary-content\"\n ]\n },\n\n \"flex-layout.col#buy-together-summary-aside\": {\n \"children\": [\"product-summary-image\"]\n },\n\n \"flex-layout.col#buy-together-summary-content\": {\n \"children\": [\n \"product-summary-name\",\n \"product-list-price\",\n \"product-selling-price\",\n \"product-price-savings\",\n \"product-installments\"\n ]\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_8191756e
|
[
{
"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 b2cstoreqa.theme/store/blocks/product/product-price.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"flex-layout.row#product-price\": {\n \"children\": [\"flex-layout.col#product-price\"],\n \"props\": {\n \"blockClass\": \"product-price\"\n }\n },\n \"flex-layout.col#product-price\": {\n \"children\": [\n \"product-list-price#desktop\",\n \"flex-layout.row#price\",\n \"flex-layout.row#priceSavings\"\n ],\n \"props\": {\n \"blockClass\": \"product-price\"\n }\n },\n \"flex-layout.row#priceSavings\": {\n \"children\": [\n \"product-price-savings#desktop\",\n \"product-price-savings#percentage\"\n ],\n \"props\": {\n \"preventHorizontalStretch\": true,\n \"blockClass\": \"priceSavings\"\n }\n },\n \"flex-layout.row#price\": {\n \"children\": [\"product-selling-price#desktop\"],\n \"props\": {\n \"blockClass\": [\"items-baseline\"],\n \"colSizing\": \"auto\",\n \"colGap\": 3,\n \"fullWidth\": true,\n \"preserveLayoutOnMobile\": true,\n \"preventHorizontalStretch\": true,\n \"preventVerticalStretch\": true\n }\n },\n \"product-selling-price#desktop\": {\n \"props\": {\n \"blockClass\": [\"desktop\"],\n \"message\": \"{sellingPriceWithTax} (with taxes)\"\n }\n },\n \"product-list-price#desktop\": {\n \"props\": {\n \"blockClass\": [\"desktop\"]\n }\n },\n \"product-price-savings#desktop\": {\n \"props\": {\n \"blockClass\": [\"desktop\"]\n }\n },\n \"product-price-savings#percentage\": {\n \"props\": {\n \"message\": \"({savingsPercentage})\",\n \"blockClass\": [\"desktop\", \"savingPercent\"]\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_86e7fde8
|
[
{
"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 b2cstoreqa.theme/store/blocks/product/fake-summary.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"flex-layout.row#fake-summary\": {\n \"children\": [\n \"product-images#fake-summary\",\n \"flex-layout.col#fake-summary-details\"\n ],\n \"props\": {\n \"blockClass\": [\"items-center\", \"fake-summary\", \"visible-sticky\"],\n \"colSizing\": \"auto\",\n \"colGap\": 5,\n \"preserveLayoutOnMobile\": true,\n \"preventHorizontalStretch\": true,\n \"preventVerticalStretch\": true\n }\n },\n\n \"product-images#fake-summary\": {\n \"props\": {\n \"blockClass\": \"fake-summary\",\n \"aspectRatio\": \"1:1\",\n \"displayThumbnailsArrows\": false,\n \"maxHeight\": 96,\n \"showNavigationArrows\": false,\n \"showPaginationDots\": false,\n \"thumbnailMaxHeight\": 0,\n \"zoomMode\": \"disabled\",\n \"contentType\": \"images\"\n }\n },\n\n \"flex-layout.col#fake-summary-details\": {\n \"children\": [\n \"vtex.store-components:product-name#fake-summary\",\n \"product-sku-attributes#fake-summary\"\n ]\n },\n\n \"product-sku-attributes#fake-summary\": {\n \"props\": {\n \"blockClass\": [\"fake-summary\", \"inline\"]\n }\n },\n\n \"vtex.store-components:product-name#fake-summary\": {\n \"props\": {\n \"blockClass\": \"fake-summary\"\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_ed1b5ec2
|
[
{
"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 b2cstoreqa.theme/store/blocks/product/product-availability-and-quantity.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"flex-layout.row#product-availability-and-quantity\": {\n \"children\": [\"product-availability#desktop\", \"product-quantity#desktop\"],\n \"props\": {\n \"blockClass\": [\"items-center\", \"product-availability-and-quantity\"],\n \"colGap\": 0,\n \"preserveLayoutOnMobile\": true,\n \"preventVerticalStretch\": true\n }\n },\n\n \"product-availability#desktop\": {\n \"props\": {\n \"blockClass\": \"desktop\",\n \"threshold\": \"10\",\n \"lowStockMessage\": \"Only {quantity} left!\",\n \"highStockMessage\": \"Item in stock!\"\n }\n },\n\n \"product-quantity#desktop\": {\n \"props\": {\n \"blockClass\": [\"desktop\"],\n \"selectorType\": \"dropdown\",\n \"showLabel\": false\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_83e20d47
|
[
{
"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 b2cstoreqa.theme/store/blocks/product/breadcrumb.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"flex-layout.row#breadcrumb\": {\n \"children\": [\"flex-layout.col#breadcrumb\"],\n \"props\": {\n \"blockClass\": \"breadcrumb\",\n \"paddingTop\": {\n \"desktop\": 5,\n \"mobile\": 6\n },\n \"marginBottom\": {\n \"mobile\": 6\n }\n }\n },\n\n \"flex-layout.col#breadcrumb\": {\n \"children\": [\"breadcrumb#default\"]\n },\n\n \"breadcrumb#default\": {\n \"props\": {\n \"blockClass\": [\"default\"],\n \"showOnMobile\": true,\n \"homeIconSize\": 18\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_13807f1b
|
[
{
"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 b2cstoreqa.theme/store/blocks/product/box.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"sticky-layout#box\": {\n \"children\": [\"flex-layout.row#box\"],\n \"props\": {\n \"blockClass\": [\"box\"],\n \"position\": \"top\",\n \"verticalSpacing\": 186\n }\n },\n\n \"flex-layout.row#box\": {\n \"children\": [\"flex-layout.col#box\"],\n \"props\": {\n \"blockClass\": [\"box\"],\n \"preventHorizontalStretch\": true,\n \"preventVerticalStretch\": true\n }\n },\n\n \"flex-layout.col#box\": {\n \"children\": [\n \"flex-layout.row#fake-summary\",\n \"flex-layout.row#seller-name\",\n \"flex-layout.row#product-price\",\n \"flex-layout.row#location-availability\",\n \"flex-layout.row#product-availability-and-quantity\",\n \"flex-layout.row#buy-buttons\"\n ],\n \"props\": {\n \"blockClass\": [\"box\"],\n \"preventVerticalStretch\": true\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_cf6c6d51
|
[
{
"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 b2cstoreqa.theme/store/blocks/product/seller-name.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"flex-layout.row#seller-name\": {\n \"children\": [\"product-seller-name#default\"]\n },\n \"product-seller-name#default\": {\n \"props\": {\n \"blockClass\": [\"default\"],\n \"message\": \"Sold by {sellerName}\"\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_6eb754a9
|
[
{
"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 b2cstoreqa.theme/store/blocks/product/also-view.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"flex-layout.row#alsoView\": {\n \"children\": [\"flex-layout.col#alsoView\"],\n \"props\": {\n \"blockClass\": [\"relative\", \"bg-base\", \"z-998\"]\n }\n },\n \"flex-layout.col#alsoView\": {\n \"children\": [\n \"rich-text#alsoViewTitle\",\n \"list-context.product-list#alsoView\"\n ]\n },\n \"rich-text#alsoViewTitle\": {\n \"props\": {\n \"text\": \"### Customers also viewed\",\n \"blockClass\": \"alsoView\"\n }\n },\n \"list-context.product-list#alsoView\": {\n \"children\": [\"slider-layout#alsoView\"],\n \"blocks\": [\"product-summary.shelf#normal\"],\n \"props\": {\n \"orderBy\": \"OrderByTopSaleDESC\",\n \"maxItems\": 12\n }\n },\n \"slider-layout#alsoView\": {\n \"props\": {\n \"itemsPerPage\": {\n \"desktop\": 6,\n \"tablet\": 4,\n \"phone\": 2\n },\n \"infinite\": false,\n \"fullWidth\": true,\n \"blockClass\": \"shelfAlsoView\",\n \"showNavigationArrows\": \"desktopOnly\"\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_9d6c5979
|
[
{
"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 b2cstoreqa.theme/store/blocks/product/sku-selector.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"condition-layout.product#sku-selector-or-list\": {\n \"props\": {\n \"conditions\": [\n {\n \"subject\": \"productId\",\n \"arguments\": { \"id\": 1 }\n }\n ],\n \"Then\": \"flex-layout.row#sku-list\",\n \"Else\": \"flex-layout.row#sku-selector\"\n }\n },\n\n \"flex-layout.row#sku-selector\": {\n \"children\": [\"sku-selector#desktop\"]\n },\n\n \"sku-selector#desktop\": {\n \"props\": {\n \"blockClass\": [\"desktop\", \"color-round\"],\n \"variationsSpacing\": 0,\n \"showValueNameForImageVariation\": true,\n \"showValueForVariation\": \"all\"\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_d59a3598
|
[
{
"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 b2cstoreqa.theme/store/blocks/product/assembly-options.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"flex-layout.row#assembly-options\": {\n \"children\": [\"flex-layout.col#assembly-options\"],\n \"props\": {\n \"blockClass\": [\"assembly-options\"]\n }\n },\n\n \"flex-layout.col#assembly-options\": {\n \"children\": [\"product-assembly-options#desktop\"],\n \"props\": {\n \"blockClass\": \"assembly-options\"\n }\n },\n\n \"product-assembly-options#desktop\": {\n \"children\": [\n \"flex-layout.row#product-assembly-options\",\n \"assembly-option-input-values\"\n ],\n \"props\": {\n \"blockClass\": \"desktop\"\n }\n },\n\n \"flex-layout.row#product-assembly-options\": {\n \"props\": {\n \"colGap\": 2,\n \"preserveLayoutOnMobile\": true,\n \"colSizing\": \"auto\"\n },\n \"children\": [\n \"flex-layout.col#product-assembly-image\",\n \"flex-layout.col#product-assembly-middle\",\n \"flex-layout.col#product-assembly-quantity\"\n ]\n },\n\n \"flex-layout.col#product-assembly-quantity\": {\n \"props\": {\n \"verticalAlign\": \"middle\"\n },\n \"children\": [\"assembly-option-item-quantity-selector\"]\n },\n\n \"flex-layout.col#product-assembly-image\": {\n \"props\": {\n \"marginRight\": 4\n },\n \"children\": [\"assembly-option-item-image\"]\n },\n\n \"flex-layout.col#product-assembly-middle\": {\n \"props\": {\n \"width\": \"grow\",\n \"verticalAlignment\": \"middle\"\n },\n \"children\": [\n \"assembly-option-item-name\",\n \"assembly-option-item-price\",\n \"assembly-option-item-children-description\",\n \"assembly-option-item-customize#first-level\"\n ]\n },\n\n \"assembly-option-item-customize#first-level\": {\n \"props\": {\n \"buttonProps\": {\n \"collapse\": \"left\"\n }\n },\n \"children\": [\n \"flex-layout.row#item-customize\",\n \"assembly-option-input-values\"\n ]\n },\n\n \"flex-layout.row#item-customize\": {\n \"props\": {\n \"colGap\": 2,\n \"preserveLayoutOnMobile\": true,\n \"colSizing\": \"auto\"\n },\n \"children\": [\n \"flex-layout.col#product-assembly-image\",\n \"flex-layout.col#item-customize-middle\",\n \"flex-layout.col#item-customize-quantity\"\n ]\n },\n\n \"flex-layout.col#item-customize-middle\": {\n \"props\": {\n \"width\": \"grow\",\n \"verticalAlignment\": \"middle\"\n },\n \"children\": [\n \"assembly-option-item-name\",\n \"assembly-option-item-price\",\n \"assembly-option-item-children-description\",\n \"assembly-option-item-customize#sec-level\"\n ]\n },\n\n \"flex-layout.col#item-customize-quantity\": {\n \"props\": {\n \"horizontalAlign\": \"right\",\n \"verticalAlign\": \"middle\"\n },\n \"children\": [\"assembly-option-item-quantity-selector\"]\n },\n\n \"assembly-option-item-customize#sec-level\": {\n \"props\": {\n \"buttonProps\": {\n \"collapse\": \"left\"\n }\n },\n \"children\": [\n \"assembly-option-item-image\",\n \"assembly-option-item-name\",\n \"assembly-option-item-price\",\n \"assembly-option-item-quantity-selector\"\n ]\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_bf47d3f9
|
[
{
"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 b2cstoreqa.theme/store/blocks/product/specification.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"flex-layout.row#specification\": {\n \"children\": [\"flex-layout.col#specification\"],\n \"props\": {\n \"blockClass\": \"specification\"\n }\n },\n\n \"flex-layout.col#specification\": {\n \"children\": [\"disclosure-layout#specification\", \"flex-layout.col#divider\"],\n \"props\": {\n \"blockClass\": \"specification\",\n \"width\": \"74%\"\n }\n },\n\n \"disclosure-layout#specification\": {\n \"children\": [\n \"disclosure-trigger#specification\",\n \"disclosure-content#specification\"\n ],\n \"props\": {\n \"initialVisibility\": \"visible\"\n }\n },\n\n \"disclosure-trigger#specification\": {\n \"children\": [\"flex-layout.row#disclosure-trigger-specification\"],\n \"props\": {\n \"as\": \"div\"\n }\n },\n\n \"flex-layout.row#disclosure-trigger-specification\": {\n \"children\": [\n \"rich-text#specifications-disclosure-trigger-heading\",\n \"flex-layout.col#spacer\",\n \"disclosure-state-indicator\"\n ],\n \"props\": {\n \"blockClass\": [\"items-end\", \"disclosure-trigger-specification\"],\n \"colGap\": 0,\n \"colSizing\": \"auto\",\n \"preserveLayoutOnMobile\": true,\n \"preventHorizontalStretch\": true,\n \"preventVerticalStretch\": true\n }\n },\n\n \"rich-text#specifications-disclosure-trigger-heading\": {\n \"props\": {\n \"blockClass\": [\"specifications\", \"disclosure-trigger-heading\"],\n \"text\": \"<span>Specifications</span>\",\n \"font\": \"t-heading-5\"\n }\n },\n\n \"disclosure-content#specification\": {\n \"children\": [\"product-specification-group#table\"],\n \"props\": {\n \"blockClass\": \"specification\"\n }\n },\n\n \"product-specification-group#table\": {\n \"children\": [\"flex-layout.row#spec-group\"],\n \"props\": {\n \"filter\": {\n \"type\": \"show\",\n \"specificationGroups\": [\"Product especification\"]\n }\n }\n },\n\n \"flex-layout.row#spec-group\": {\n \"children\": [\"flex-layout.col#spec-group\"],\n \"props\": {\n \"blockClass\": [\"spec-group\", \"table\"]\n }\n },\n\n \"flex-layout.col#spec-group\": {\n \"children\": [\"product-specification#table\"],\n \"props\": {\n \"blockClass\": [\"spec-group\", \"table\"]\n }\n },\n\n \"product-specification-text#group\": {\n \"props\": {\n \"message\": \"{groupName}\"\n }\n },\n\n \"product-specification#table\": {\n \"children\": [\"flex-layout.row#spec-item\"]\n },\n\n \"flex-layout.row#spec-item\": {\n \"children\": [\"flex-layout.col#spec-name\", \"flex-layout.col#spec-value\"],\n \"props\": {\n \"blockClass\": [\"spec-item\", \"table-row\"],\n \"preserveLayoutOnMobile\": true,\n \"colGap\": 3\n }\n },\n\n \"flex-layout.col#spec-name\": {\n \"children\": [\"product-specification-text#specification\"],\n \"props\": {\n \"blockClass\": [\"spec-name\", \"table-cell\", \"table-heading\"],\n \"width\": \"33%\"\n }\n },\n\n \"product-specification-text#specification\": {\n \"props\": {\n \"message\": \"{specificationName}\"\n }\n },\n\n \"flex-layout.col#spec-value\": {\n \"children\": [\"product-specification-values\"],\n \"props\": {\n \"blockClass\": [\"spec-value\", \"table-cell\"]\n }\n },\n\n \"product-specification-values\": {\n \"children\": [\"product-specification-text#value\"]\n },\n\n \"product-specification-text#value\": {\n \"props\": {\n \"message\": \"{specificationValue}\"\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_7f515281
|
[
{
"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 b2cstoreqa.theme/store/blocks/product/features.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"flex-layout.row#features\": {\n \"children\": [\"flex-layout.col#features\"],\n \"props\": {\n \"blockClass\": \"specification\"\n }\n },\n\n \"flex-layout.col#features\": {\n \"children\": [\"disclosure-layout#features\", \"flex-layout.col#divider\"],\n \"props\": {\n \"blockClass\": \"specification\",\n \"width\": \"74%\"\n }\n },\n\n \"disclosure-layout#features\": {\n \"children\": [\"disclosure-trigger#features\", \"disclosure-content#features\"],\n \"props\": {\n \"initialVisibility\": \"visible\"\n }\n },\n\n \"disclosure-trigger#features\": {\n \"children\": [\"flex-layout.row#disclosure-trigger-features\"],\n \"props\": {\n \"as\": \"div\"\n }\n },\n\n \"flex-layout.row#disclosure-trigger-features\": {\n \"children\": [\n \"rich-text#features-disclosure-trigger-heading\",\n \"flex-layout.col#spacer\",\n \"disclosure-state-indicator\"\n ],\n \"props\": {\n \"blockClass\": [\"items-end\", \"disclosure-trigger-specification\"],\n \"colGap\": 0,\n \"colSizing\": \"auto\",\n \"preserveLayoutOnMobile\": true,\n \"preventHorizontalStretch\": true,\n \"preventVerticalStretch\": true\n }\n },\n\n \"rich-text#features-disclosure-trigger-heading\": {\n \"props\": {\n \"blockClass\": [\"features\", \"disclosure-trigger-heading\"],\n \"text\": \"<span>Features & details</span>\",\n \"font\": \"t-heading-5\"\n }\n },\n\n \"disclosure-content#features\": {\n \"children\": [\"product-specification-group#features\"],\n \"props\": {\n \"blockClass\": \"specification\"\n }\n },\n\n \"product-specification-group#features\": {\n \"children\": [\"flex-layout.row#spec-group--features\"],\n \"props\": {\n \"filter\": {\n \"type\": \"show\",\n \"specificationGroups\": [\"Features & details\"]\n }\n }\n },\n\n \"flex-layout.row#spec-group--features\": {\n \"children\": [\"flex-layout.col#spec-group--features\"],\n \"props\": {\n \"blockClass\": [\"spec-group\"]\n }\n },\n\n \"flex-layout.col#spec-group--features\": {\n \"children\": [\"product-specification#table--features\"],\n \"props\": {\n \"blockClass\": [\"spec-group\"]\n }\n },\n\n \"product-specification#table--features\": {\n \"children\": [\"flex-layout.row#spec-item--features\"]\n },\n\n \"flex-layout.row#spec-item--features\": {\n \"children\": [\"flex-layout.col#spec-name--features\"],\n \"props\": {\n \"blockClass\": [\"spec-item\"],\n \"preserveLayoutOnMobile\": true,\n \"colGap\": 3\n }\n },\n\n \"flex-layout.col#spec-name--features\": {\n \"children\": [\"product-specification-text#features\"],\n \"props\": {\n \"blockClass\": [\"spec-name\", \"features\"]\n }\n },\n\n \"product-specification-text#features\": {\n \"props\": {\n \"blockClass\": [\"bullet-list\"],\n \"message\": \"{specificationName}\"\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_22094d6b
|
[
{
"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 b2cstoreqa.theme/store/blocks/product/link-seller.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"flex-layout.row#link-seller\": {\n \"children\": [\"link-seller#default\"]\n },\n \"link-seller#default\": {\n \"props\": {\n \"blockClass\": \"default\"\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_0e5d9416
|
[
{
"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 b2cstoreqa.theme/store/blocks/product/description-and-gallery.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"flex-layout.row#description-and-gallery\": {\n \"children\": [\"flex-layout.col#description-and-gallery\"],\n \"props\": {\n \"blockClass\": \"description-and-gallery\"\n }\n },\n\n \"flex-layout.col#description-and-gallery\": {\n \"children\": [\n \"flex-layout.col#divider\",\n \"responsive-layout.mobile#description\",\n \"responsive-layout.desktop#description\",\n \"flex-layout.col#divider\"\n ],\n \"props\": {\n \"blockClass\": \"description-and-gallery\",\n \"width\": \"74%\"\n }\n },\n\n \"responsive-layout.mobile#description\": {\n \"children\": [\"disclosure-layout#description\"]\n },\n\n \"disclosure-layout#description\": {\n \"children\": [\n \"disclosure-trigger#description\",\n \"disclosure-content#description\"\n ],\n \"props\": {\n \"initialVisibility\": \"visible\"\n }\n },\n\n \"disclosure-trigger#description\": {\n \"children\": [\"flex-layout.row#disclosure-trigger-description\"],\n \"props\": {\n \"as\": \"div\"\n }\n },\n\n \"flex-layout.row#disclosure-trigger-description\": {\n \"children\": [\n \"rich-text#description-disclosure-trigger-heading\",\n \"flex-layout.col#spacer\",\n \"disclosure-state-indicator\"\n ],\n \"props\": {\n \"blockClass\": [\"items-end\", \"disclosure-trigger-description\"],\n \"colGap\": 0,\n \"colSizing\": \"auto\",\n \"preserveLayoutOnMobile\": true,\n \"preventHorizontalStretch\": true,\n \"preventVerticalStretch\": true\n }\n },\n\n \"rich-text#description-disclosure-trigger-heading\": {\n \"props\": {\n \"blockClass\": [\"description\", \"disclosure-trigger-heading\"],\n \"text\": \"<span>About this item</span>\",\n \"font\": \"t-heading-5\"\n }\n },\n\n \"disclosure-content#description\": {\n \"children\": [\"flex-layout.row#description--mobile\"],\n \"props\": {\n \"blockClass\": \"description\"\n }\n },\n\n \"flex-layout.row#description--mobile\": {\n \"children\": [\"product-description\", \"product-images#gallery--mobile\"],\n \"props\": {\n \"blockClass\": [\"description\"],\n \"colSizing\": \"auto\",\n \"colGap\": 0,\n \"rowGap\": 6,\n \"preventHorizontalStretch\": true,\n \"preventVerticalStretch\": true\n }\n },\n\n \"product-description\": {\n \"props\": {\n \"collapseContent\": false\n }\n },\n\n \"product-images#gallery--mobile\": {\n \"props\": {\n \"blockClass\": [\"dots-around\"],\n \"aspectRatio\": \"81:56\",\n \"displayThumbnailsArrows\": false,\n \"hiddenImages\": \"main\",\n \"maxHeight\": 160,\n \"ModalZoom\": \"modal-layout#product-zoom\",\n \"showNavigationArrows\": false,\n \"showPaginationDots\": true,\n \"thumbnailsOrientation\": \"horizontal\",\n \"contentType\": \"images\",\n \"zoomMode\": \"open-modal\"\n }\n },\n\n \"responsive-layout.desktop#description\": {\n \"children\": [\"flex-layout.row#description\"]\n },\n\n \"flex-layout.row#description\": {\n \"children\": [\"product-description#desktop\", \"product-images#gallery\"],\n \"props\": {\n \"blockClass\": [\"description\"],\n \"colSizing\": \"auto\",\n \"colGap\": 0,\n \"preventHorizontalStretch\": true,\n \"preventVerticalStretch\": true\n }\n },\n\n \"product-description#desktop\": {\n \"props\": {\n \"blockClass\": \"desktop\",\n \"collapseContent\": false\n }\n },\n\n \"product-images#gallery\": {\n \"props\": {\n \"blockClass\": [\"gallery\"],\n \"aspectRatio\": \"81:56\",\n \"displayThumbnailsArrows\": false,\n \"hiddenImages\": \"main\",\n \"maxHeight\": 224,\n \"ModalZoom\": \"modal-layout#product-zoom\",\n \"showNavigationArrows\": false,\n \"showPaginationDots\": false,\n \"thumbnailsOrientation\": \"horizontal\",\n \"contentType\": \"images\",\n \"zoomMode\": \"open-modal\"\n }\n },\n\n \"modal-layout#product-zoom\": {\n \"children\": [\"product-images.high-quality-image\"]\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_222bc2a7
|
[
{
"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 b2cstoreqa.theme/store/blocks/product/product-details.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"flex-layout.row#product-details\": {\n \"children\": [\"flex-layout.row#main\", \"sticky-layout#box\"],\n \"props\": {\n \"blockClass\": \"product\",\n \"colSizing\": \"auto\",\n \"colGap\": 0,\n \"preventHorizontalStretch\": true,\n \"preventVerticalStretch\": true\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_9bae85d8
|
[
{
"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 b2cstoreqa.theme/store/blocks/product/main.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"flex-layout.row#main\": {\n \"children\": [\"flex-layout.col#left-col\", \"flex-layout.col#right-col\"],\n \"props\": {\n \"blockClass\": \"main\",\n \"colGap\": 7,\n \"colSizing\": \"auto\",\n \"preventHorizontalStretch\": true,\n \"preventVerticalStretch\": true\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_5ee66558
|
[
{
"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 b2cstoreqa.theme/store/blocks/product/sticky-buy.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"sticky-layout#sticky-buy\": {\n \"children\": [\"flex-layout.row#sticky-buyRow\"],\n \"props\": {\n \"blockClass\": [\"sticky-buy\"],\n \"position\": \"bottom\",\n \"verticalSpacing\": 0\n }\n },\n \"flex-layout.row#sticky-buyRow\": {\n \"children\": [\"flex-layout.col#prices\", \"add-to-cart-button#buy-now-sticky\"],\n \"props\": {\n \"preserveLayoutOnMobile\": true\n }\n },\n \"flex-layout.col#prices\": {\n \"children\": [\n \"product-selling-price#sticky\",\n \"flex-layout.row#priceSavingsSticky\"\n ]\n },\n \"add-to-cart-button#buy-now-sticky\": {\n \"props\": {\n \"blockClass\": \"buy-now\",\n \"text\": \"Add to cart\",\n \"addToCartFeedback\": \"customEvent\",\n \"customPixelEventId\": \"add-to-cart-button\"\n }\n },\n \"product-selling-price#sticky\": {\n \"props\": {\n \"blockClass\": \"sticky\",\n \"message\": \"{sellingPriceWithTax}\"\n }\n },\n \"flex-layout.row#priceSavingsSticky\": {\n \"children\": [\n \"product-price-savings#desktop\",\n \"product-price-savings#percentage\"\n ],\n \"props\": {\n \"blockClass\": \"stickyPriceRow\",\n \"preserveLayoutOnMobile\": true,\n \"preventHorizontalStretch\": true\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_55c9d026
|
[
{
"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 b2cstoreqa.theme/store/blocks/product/product-images.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"product-images#desktop\": {\n \"props\": {\n \"blockClass\": \"desktop\",\n \"maxHeight\": 448,\n \"aspectRatio\": \"1:1\",\n \"showNavigationArrows\": false,\n \"showPaginationDots\": false,\n \"thumbnailAspectRatio\": \"1:1\",\n \"thumbnailMaxHeight\": 100,\n \"zoomMode\": \"in-place-hover\"\n }\n },\n\n \"flex-layout.row#product-images\": {\n \"children\": [\"product-images#mobile\"],\n \"props\": {\n \"blockClass\": [\"product-images\"],\n \"marginBottom\": 6\n }\n },\n\n \"product-images#mobile\": {\n \"props\": {\n \"blockClass\": [\"dots-around\"],\n \"aspectRatio\": \"1:1\",\n \"displayThumbnailsArrows\": true,\n \"showNavigationArrows\": false,\n \"showPaginationDots\": true\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_759f42c4
|
[
{
"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 b2cstoreqa.theme/store/blocks/components/blog.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"flex-layout.row#blog\": {\n \"children\": [\"flex-layout.col#blogSEO\", \"flex-layout.col#blogPosts\"],\n \"props\": {\n \"blockClass\": \"blog\",\n \"colSizing\": \"auto\",\n \"colGap\": 8,\n \"preventHorizontalStretch\": true\n }\n },\n\n \"flex-layout.col#blogSEO\": {\n \"children\": [\"search-title.v2\", \"rich-text#blogSEO\"],\n \"props\": {\n \"blockClass\": \"blogSEO\",\n \"preventVerticalStretch\": true\n }\n },\n\n \"rich-text#blogSEO\": {\n \"props\": {\n \"text\": \"JBL TUNE 750BTNC wireless headphones feature powerful JBL Pure Bass Sound and active noise cancelling for punchy bass and an immersive audio experience. The lightweight over-ear design offers maximum comfort and sound quality while ready to travel everywhere you go with its compact foldable competence 15 hours of battery life which recharge in only 2 hours enables noise-free wireless playback Allowing connection with two Bluetooth devices simultaneously the multipoint connection makes sure you won’t miss a call on your phone while streaming videos on your tablet. JBL TUNE 750BTNC wireless headphones feature powerful JBL Pure Bass Sound and active noise cancelling for punchy bass and an immersive audio experience. The lightweight over-ear design offers maximum comfort and sound quality while ready to travel everywhere you go with its compact foldable competence 15 hours of battery life which recharge in only 2 hours enables noise-free wireless playback Allowing connection with two Bluetooth devices simultaneously the multipoint connection makes sure you won’t miss a call on your phone while streaming videos on your tablet.\",\n \"blockClass\": \"blogSEO\"\n }\n },\n\n \"flex-layout.col#blogPosts\": {\n \"children\": [\"blog-category-preview.wordpress-category-preview\"],\n \"props\": {\n \"width\": \"grow\"\n }\n },\n\n \"blog-category-preview.wordpress-category-preview\": {\n \"props\": {\n \"category\": 1,\n \"numberOfPosts\": 4,\n \"showDates\": false,\n \"showExcerpts\": true,\n \"absoluteLinks\": true\n }\n },\n\n \"flex-layout.row#blogMobile\": {\n \"children\": [\"flex-layout.col#blogColMobile\"],\n \"props\": {\n \"blockClass\": \"blog\"\n }\n },\n\n \"flex-layout.col#blogColMobile\": {\n \"children\": [\n \"search-title.v2\",\n \"rich-text#blogSEO\",\n \"rich-text#blogSecondarySEO\",\n \"blog-category-preview.wordpress-category-preview#mobile\"\n ]\n },\n\n \"rich-text#blogSecondarySEO\": {\n \"props\": {\n \"text\": \"### Learn more about Computer & Software\",\n \"blockClass\": \"blogSecondarySEO\"\n }\n },\n\n \"blog-category-preview.wordpress-category-preview#mobile\": {\n \"props\": {\n \"category\": 1,\n \"numberOfPosts\": 3,\n \"showDates\": false,\n \"showExcerpts\": true,\n \"absoluteLinks\": true\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_37e4e306
|
[
{
"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 b2cstoreqa.theme/store/blocks/components/trending.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"flex-layout.row#trending\": {\n \"children\": [\"flex-layout.col#trending\"],\n \"props\": {\n \"blockClass\": \"trending-section\"\n }\n },\n \"flex-layout.col#trending\": {\n \"children\": [\n \"flex-layout.row#trending-head\",\n \"list-context.product-list#trending\"\n ]\n },\n \"flex-layout.row#trending-head\": {\n \"children\": [\"rich-text#trending-title\", \"link#trending\"],\n \"props\": {\n \"blockClass\": \"trending-head\",\n \"preventHorizontalStretch\": true,\n \"preserveLayoutOnMobile\": true\n }\n },\n \"rich-text#trending-title\": {\n \"props\": {\n \"text\": \"### What's trending\",\n \"blockClass\": \"trending-title\"\n }\n },\n \"link#trending\": {\n \"props\": {\n \"label\": \"See all\",\n \"blockClass\": \"trending-link\",\n \"href\": \"/trending\"\n }\n },\n \"list-context.product-list#trending\": {\n \"blocks\": [\"product-summary.shelf#trending\"],\n \"children\": [\"slider-layout#trending-products\"],\n \"props\": {\n \"orderBy\": \"OrderByTopSaleDESC\",\n \"maxItems\": 6\n }\n },\n \"slider-layout#trending-products\": {\n \"props\": {\n \"itemsPerPage\": 6,\n \"infinite\": false,\n \"fullWidth\": true,\n \"blockClass\": \"shelf-trending\"\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_cbb98bbb
|
[
{
"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 b2cstoreqa.theme/store/blocks/components/benefits.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"flex-layout.row#benefits\": {\n \"props\": {\n \"blockClass\": \"benefits\"\n },\n \"children\": [\"flex-layout.col#benefits\"]\n },\n \"flex-layout.col#benefits\": {\n \"props\": {},\n \"children\": [\"rich-text#whyShopWithVTEX\", \"slider-layout#benefits\"]\n },\n\n \"rich-text#whyShopWithVTEX\": {\n \"props\": {\n \"text\": \"### Why shop with VTEX\",\n \"blockClass\": \"sectionTitle\"\n }\n },\n\n \"slider-layout#benefits\": {\n \"props\": {\n \"itemsPerPage\": {\n \"desktop\": 4,\n \"tablet\": 2,\n \"phone\": 2\n },\n \"infinite\": false,\n \"showNavigationArrows\": \"never\",\n \"blockClass\": \"benefitsSlider\"\n },\n \"children\": [\n \"flex-layout.row#benefitRow1\",\n \"flex-layout.row#benefitRow2\",\n \"flex-layout.row#benefitRow3\",\n \"flex-layout.row#benefitRow4\"\n ]\n },\n \"flex-layout.row#benefitRow1\": {\n \"children\": [\"image#benefit\", \"rich-text#benefits1\"],\n \"props\": {\n \"blockClass\": \"flex-column\",\n \"preventHorizontalStretch\": true\n }\n },\n \"flex-layout.row#benefitRow2\": {\n \"children\": [\"image#benefit\", \"rich-text#benefits1\"],\n \"props\": {\n \"blockClass\": \"flex-column\",\n \"preventHorizontalStretch\": true\n }\n },\n \"flex-layout.row#benefitRow3\": {\n \"children\": [\"image#benefit\", \"rich-text#benefits1\"],\n \"props\": {\n \"blockClass\": \"flex-column\",\n \"preventHorizontalStretch\": true\n }\n },\n \"flex-layout.row#benefitRow4\": {\n \"children\": [\"image#benefit\", \"rich-text#benefits1\"],\n \"props\": {\n \"blockClass\": \"flex-column\",\n \"preventHorizontalStretch\": true\n }\n },\n \"image#benefit\": {\n \"props\": {\n \"src\": \"assets/placeholders/truck.png\",\n \"blockClass\": \"benefitImage\"\n }\n },\n \"rich-text#benefits1\": {\n \"props\": {\n \"text\": \"**Free shipping** Over $50 in more than 1 million items\",\n \"blockClass\": \"benefitsItem\"\n }\n },\n \"rich-text#benefits2\": {\n \"props\": {\n \"text\": \"**Pick-up store** Over $50 in more than 1 million items\",\n \"blockClass\": \"benefitsItem\"\n }\n },\n \"rich-text#benefits3\": {\n \"props\": {\n \"text\": \"**Free shipping** Over $50 in more than 1 million items\",\n \"blockClass\": \"benefitsItem\"\n }\n },\n \"rich-text#benefits4\": {\n \"props\": {\n \"text\": \"**Pick-up store** Over $50 in more than 1 million items\",\n \"blockClass\": \"benefitsItem\"\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_abe21ce6
|
[
{
"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 b2cstoreqa.theme/store/blocks/components/popular-picks.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"flex-layout.row#popular-picks\": {\n \"children\": [\"flex-layout.col#popular-picks\"]\n },\n \"flex-layout.col#popular-picks\": {\n \"children\": [\n \"flex-layout.row#popular-picks-head\",\n \"responsive-layout.desktop#list\",\n \"responsive-layout.mobile#list\"\n ]\n },\n \"responsive-layout.desktop#list\": {\n \"children\": [\"list-context.product-list#popular-picks\"]\n },\n \"responsive-layout.mobile#list\": {\n \"children\": [\"list-context.product-list#popular-picks-mobile\"]\n },\n \"flex-layout.row#popular-picks-head\": {\n \"children\": [\"rich-text#popular-picksTitle\", \"link#popular-picks-link\"],\n \"props\": {\n \"blockClass\": \"popularHead\",\n \"preventHorizontalStretch\": true,\n \"preserveLayoutOnMobile\": true\n }\n },\n \"rich-text#popular-picksTitle\": {\n \"props\": {\n \"text\": \"### Popular Picks\",\n \"blockClass\": \"popularTitle\"\n }\n },\n \"link#popular-picks-link\": {\n \"props\": {\n \"label\": \"See more\",\n \"href\": \"/popular\",\n \"blockClass\": \"popularLink\"\n }\n },\n \"list-context.product-list#popular-picks\": {\n \"blocks\": [\"product-summary.shelf#minimum\"],\n \"children\": [\"slider-layout#popular-picks-products\"],\n \"props\": {\n \"orderBy\": \"OrderByTopSaleDESC\"\n }\n },\n \"list-context.product-list#popular-picks-mobile\": {\n \"blocks\": [\"product-summary.shelf#minimum\"],\n \"children\": [\"slider-layout#popular-picks-products\"],\n \"props\": {\n \"orderBy\": \"OrderByTopSaleDESC\",\n \"maxItems\": 4\n }\n },\n \"slider-layout#popular-picks-products\": {\n \"props\": {\n \"itemsPerPage\": {\n \"desktop\": 6,\n \"tablet\": 6,\n \"phone\": 4\n },\n \"infinite\": false,\n \"fullWidth\": true,\n \"blockClass\": \"shelfPopular\",\n \"showNavigationArrows\": \"desktopOnly\",\n \"showPaginationDots\": \"desktopOnly\"\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_a4de3495
|
[
{
"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 b2cstoreqa.theme/store/blocks/mobile/home.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"responsive-layout.mobile\": {\n \"children\": [\n \"flex-layout.row#imageList--mobile\",\n \"flex-layout.row#shopByCategory\",\n // Deprecated\n // \"flex-layout.row#shopByBrandMobile\",\n \"flex-layout.row#shelfMobile\",\n \"flex-layout.row#banners\",\n \"flex-layout.row#singleBannerMobile\",\n \"flex-layout.row#popular-picks\",\n \"flex-layout.row#trending\",\n \"flex-layout.row#benefits\",\n \"flex-layout.row#newsletter\"\n ]\n },\n\n // Deprecated\n // \"flex-layout.row#shopByBrandMobile\": {\n // \"props\": {\n // \"blockClass\": \"shopByBrandSection\"\n // },\n // \"children\": [\n // \"flex-layout.row#shopByBrandHead\",\n // \"list-context.image-list#brandImagesMobile\"\n // ]\n // },\n // \"flex-layout.row#shopByBrandHead\": {\n // \"props\": {\n // \"blockClass\": \"shopByBrandHead\",\n // \"preventHorizontalStretch\": true\n // },\n // \"children\": [\"rich-text#sectionTitle\", \"rich-text#sectionLink\"]\n // },\n // \"rich-text#sectionLink\": {\n // \"props\": {\n // \"text\": \"[See all brands](/brands)\",\n // \"blockClass\": \"sectionLink\"\n // }\n // },\n // \"list-context.image-list#brandImagesMobile\": {\n // \"children\": [\"slider-layout#shopByBrand\"],\n // \"props\": {\n // \"height\": 100,\n // \"images\": [\n // {\n // \"image\": \"assets/placeholders/cokeBrand.png\",\n // \"mobileImage\": \"assets/placeholders/cokeBrand.png\",\n // \"description\": \"something something\"\n // },\n // {\n // \"image\": \"assets/placeholders/AppleBrand.png\",\n // \"mobileImage\": \"assets/placeholders/AppleBrand.png\",\n // \"description\": \"something something\"\n // },\n // {\n // \"image\": \"assets/placeholders/whirlpoolBrand.png\",\n // \"mobileImage\": \"assets/placeholders/whirlpoolBrand.png\",\n // \"description\": \"something something\"\n // },\n // {\n // \"image\": \"assets/placeholders/cokeBrand.png\",\n // \"mobileImage\": \"assets/placeholders/cokeBrand.png\",\n // \"description\": \"something something\"\n // },\n // {\n // \"image\": \"assets/placeholders/AppleBrand.png\",\n // \"mobileImage\": \"assets/placeholders/AppleBrand.png\",\n // \"description\": \"something something\"\n // },\n // {\n // \"image\": \"assets/placeholders/whirlpoolBrand.png\",\n // \"mobileImage\": \"assets/placeholders/whirlpoolBrand.png\",\n // \"description\": \"something something\"\n // }\n // ]\n // }\n // },\n // \"slider-layout#shopByBrand\": {\n // \"props\": {\n // \"blockClass\": \"brandSliderMobile\",\n // \"itemsPerPage\": {\n // \"phone\": 3\n // },\n // \"showNavigationArrows\": \"never\",\n // \"infinite\": false\n // }\n // },\n\n \"flex-layout.row#banners\": {\n \"props\": {\n \"blockClass\": \"bannersSection\"\n },\n \"children\": [\"flex-layout.col#banners\"]\n },\n \"flex-layout.col#banners\": {\n \"children\": [\"rich-text#bannersSectionTitle\", \"slider-layout#banners\"]\n },\n \"rich-text#bannersSectionTitle\": {\n \"props\": {\n \"text\": \"### Summer essentials\",\n \"blockClass\": \"titleWithBorder\"\n }\n },\n \"slider-layout#banners\": {\n \"props\": {\n \"blockClass\": \"bannersSlider\",\n \"itemsPerPage\": {\n \"phone\": 1\n },\n \"showNavigationArrows\": \"never\",\n \"infinite\": false\n },\n \"children\": [\n \"flex-layout.row#banner1\",\n \"flex-layout.row#banner2\",\n \"flex-layout.row#banner3\"\n ]\n },\n \"flex-layout.row#banner1\": {\n \"children\": [\"flex-layout.col#banner1\"]\n },\n \"flex-layout.row#banner2\": {\n \"children\": [\"flex-layout.col#banner2\"]\n },\n \"flex-layout.row#banner3\": {\n \"children\": [\"flex-layout.col#banner3\"]\n },\n \"flex-layout.row#singleBannerMobile\": {\n \"props\": {\n \"blockClass\": \"singleBanner\"\n },\n \"children\": [\"image#singleBannerMobile\"]\n },\n \"image#singleBannerMobile\": {\n \"props\": {\n \"src\": \"assets/placeholders/singleBannerMobile.png\",\n \"maxHeight\": 160,\n \"blockClass\": \"singleBanner\"\n }\n },\n \"flex-layout.row#shelfMobile\": {\n \"children\": [\"list-context.product-list#productSliderMobile\"],\n \"props\": {\n \"blockClass\": \"shelfComplete\"\n }\n },\n \"list-context.product-list#productSliderMobile\": {\n \"blocks\": [\"product-summary.shelf#normal\"],\n \"children\": [\"slider-layout#productsMobile\"],\n \"props\": {\n \"orderBy\": \"OrderByTopSaleDESC\"\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_f11d1732
|
[
{
"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 b2cstoreqa.theme/store/blocks/pages/product-comparison.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"store.custom#product-comparison-list\": {\n \"children\": [\n \"comparison-page\"\n ]\n }\n}\n```"
}
] |
code_b2cstoreqa.theme_2d5783fc
|
[
{
"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 b2cstoreqa.theme/store/blocks/header/drawer.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"drawer\": {\n \"children\": [\"flex-layout.row#menu-header\"],\n \"props\": {\n \"blockClass\": \"menuDrawer\",\n \"maxWidth\": 384\n }\n },\n \"flex-layout.row#menu-header\": {\n \"props\": {\n \"blockClass\": \"menuHeader\"\n },\n \"children\": [\"flex-layout.col#menu-header\"]\n },\n \"flex-layout.col#menu-header\": {\n \"children\": [\n \"login#drawer\",\n // Deprecated\n // \"locale-switcher#drawer\",\n \"rich-text#explore\",\n \"menu#drawer\"\n ],\n \"props\": {\n \"blockClass\": \"drawerInnerCol\"\n }\n },\n // Deprecated\n // \"locale-switcher#drawer\": {\n // \"props\": {\n // \"blockClass\": \"locationDrawer\"\n // }\n // },\n\n \"login#drawer\": {\n \"props\": {\n \"blockClass\": \"loginDrawer\",\n \"iconLabel\": \"Hello, sign in\",\n \"mirrorTooltipToRight\": true\n }\n },\n \"rich-text#explore\": {\n \"props\": {\n \"text\": \"## Explore\",\n \"blockClass\": \"menuTitle\"\n }\n },\n \"menu#drawer\": {\n \"props\": {\n \"blockClass\": \"menuDrawer\"\n },\n \"children\": [\n \"menu-item#apparel\",\n \"menu-item#foodBeverage\",\n \"menu-item#sporting\",\n \"menu-item#agribusiness\",\n \"menu-item#home\",\n \"menu-item#software\",\n \"menu-item#power-tools\",\n \"menu-item#security\"\n ]\n },\n \"menu-item#apparel\": {\n \"props\": {\n \"id\": \"menu-item-apparel\",\n \"type\": \"category\",\n \"highlight\": false,\n \"blockClass\": \"departItem\",\n \"iconPosition\": \"right\",\n \"itemProps\": {\n \"text\": \"Apparel\",\n \"categoryId\": \"9281\"\n },\n \"iconProps\": {\n \"id\": \"nav-thin-caret--right\",\n \"size\": 16,\n \"viewBox\": \"0 0 16 16\",\n \"activeClassName\": \"active\",\n \"mutedClassName\": \"menuItemIcon\"\n }\n }\n },\n \"menu-item#foodBeverage\": {\n \"props\": {\n \"id\": \"menu-item-food\",\n \"type\": \"category\",\n \"iconPosition\": \"right\",\n \"highlight\": false,\n \"blockClass\": \"departItem\",\n \"itemProps\": {\n \"text\": \"Food & Beverage\",\n \"categoryId\": \"9282\"\n },\n \"iconProps\": {\n \"id\": \"nav-thin-caret--right\",\n \"size\": 16,\n \"viewBox\": \"0 0 16 16\",\n \"activeClassName\": \"active\",\n \"mutedClassName\": \"menuItemIcon\"\n }\n }\n },\n \"menu-item#sporting\": {\n \"props\": {\n \"id\": \"menu-item-sporting\",\n \"type\": \"category\",\n \"iconPosition\": \"right\",\n \"highlight\": false,\n \"blockClass\": \"departItem\",\n \"itemProps\": {\n \"text\": \"Sporting\",\n \"categoryId\": \"9283\"\n },\n \"iconProps\": {\n \"id\": \"nav-thin-caret--right\",\n \"size\": 16,\n \"viewBox\": \"0 0 16 16\",\n \"activeClassName\": \"active\",\n \"mutedClassName\": \"menuItemIcon\"\n }\n }\n },\n \"menu-item#agribusiness\": {\n \"props\": {\n \"id\": \"menu-item-agri\",\n \"type\": \"category\",\n \"iconPosition\": \"right\",\n \"highlight\": false,\n \"blockClass\": \"departItem\",\n \"itemProps\": {\n \"text\": \"Agribusiness\",\n \"categoryId\": \"9284\"\n },\n \"iconProps\": {\n \"id\": \"nav-thin-caret--right\",\n \"size\": 16,\n \"viewBox\": \"0 0 16 16\",\n \"activeClassName\": \"active\",\n \"mutedClassName\": \"menuItemIcon\"\n }\n }\n },\n \"menu-item#home\": {\n \"props\": {\n \"id\": \"menu-item-hme\",\n \"type\": \"category\",\n \"iconPosition\": \"right\",\n \"highlight\": false,\n \"blockClass\": \"departItem\",\n \"itemProps\": {\n \"text\": \"Home Appliance\",\n \"categoryId\": \"9285\"\n },\n \"iconProps\": {\n \"id\": \"nav-thin-caret--right\",\n \"size\": 16,\n \"viewBox\": \"0 0 16 16\",\n \"activeClassName\": \"active\",\n \"mutedClassName\": \"menuItemIcon\"\n }\n }\n },\n \"menu-item#software\": {\n \"props\": {\n \"id\": \"menu-item-software\",\n \"type\": \"category\",\n \"iconPosition\": \"right\",\n \"highlight\": false,\n \"blockClass\": \"departItem\",\n \"itemProps\": {\n \"text\": \"Computer & Software\",\n \"categoryId\": \"9286\"\n },\n \"iconProps\": {\n \"id\": \"nav-thin-caret--right\",\n \"size\": 16,\n \"viewBox\": \"0 0 16 16\",\n \"activeClassName\": \"active\",\n \"mutedClassName\": \"menuItemIcon\"\n }\n }\n },\n \"menu-item#power-tools\": {\n \"props\": {\n \"id\": \"menu-item-power-tools\",\n \"type\": \"category\",\n \"iconPosition\": \"right\",\n \"highlight\": false,\n \"blockClass\": \"departItem\",\n \"itemProps\": {\n \"text\": \"Power Tools\",\n \"categoryId\": \"9287\"\n },\n \"iconProps\": {\n \"id\": \"nav-thin-caret--right\",\n \"size\": 16,\n \"viewBox\": \"0 0 16 16\",\n \"activeClassName\": \"active\",\n \"mutedClassName\": \"menuItemIcon\"\n }\n }\n },\n \"menu-item#security\": {\n \"props\": {\n \"id\": \"menu-item-security\",\n \"type\": \"category\",\n \"iconPosition\": \"right\",\n \"highlight\": false,\n \"blockClass\": \"departItem\",\n \"itemProps\": {\n \"text\": \"Security\",\n \"categoryId\": \"9288\"\n },\n \"iconProps\": {\n \"id\": \"nav-thin-caret--right\",\n \"size\": 16,\n \"viewBox\": \"0 0 16 16\",\n \"activeClassName\": \"active\",\n \"mutedClassName\": \"menuItemIcon\"\n }\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_43acdac6
|
[
{
"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 b2cstoreqa.theme/store/blocks/header/header.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"header\": {\n \"blocks\": [\"header-layout.desktop\", \"header-layout.mobile\"]\n },\n\n \"header.full\": {\n \"blocks\": [\"header-layout.desktop\", \"header-layout.mobile\"]\n },\n\n \"header-layout.desktop\": {\n \"children\": [\"sticky-layout#desktop\"]\n },\n\n \"sticky-layout#desktop\": {\n \"props\": {\n \"blockClass\": \"sticky-header\"\n },\n \"children\": [\n \"flex-layout.row#telemarketing\",\n \"flex-layout.row#desktop\",\n \"flex-layout.row#headerStripe\"\n ]\n },\n\n \"flex-layout.row#telemarketing\": {\n \"children\": [\"telemarketing\"],\n \"props\": {\n \"blockClass\": [\"bg-blue-medium\"],\n \"fullWidth\": true\n }\n },\n\n \"flex-layout.row#desktop\": {\n \"props\": {\n \"verticalAlign\": \"center\",\n \"blockClass\": \"header\",\n \"colGap\": 7,\n \"colSizing\": \"auto\"\n },\n \"children\": [\n \"drawer\",\n \"flex-layout.col#logo-desktop\",\n \"flex-layout.col#search-bar\",\n \"login\",\n \"minicart.v2\"\n ]\n },\n\n \"flex-layout.col#search-bar\": {\n \"children\": [\"search-bar\"],\n \"props\": {\n \"paddingLeft\": 8,\n \"width\": \"grow\"\n }\n },\n\n \"flex-layout.row#headerStripe\": {\n \"props\": {\n \"blockClass\": \"headerStripe\",\n \"horizontalAlign\": \"left\",\n \"verticalAlign\": \"center\",\n \"preventHorizontalStretch\": true,\n \"preventVerticalStretch\": true\n },\n \"children\": [\n \"shopper-location\",\n \"rich-text#headStripe1\",\n \"rich-text#headStripe2\",\n \"rich-text#headStripe3\",\n \"rich-text#headStripe4\",\n \"rich-text#headStripe5\"\n ]\n },\n\n \"rich-text#headStripe1\": {\n \"props\": {\n \"blockClass\": \"HeaderStripeText\",\n \"text\": \"[Today's Deals](/deals)\"\n }\n },\n\n \"rich-text#headStripe2\": {\n \"props\": {\n \"blockClass\": \"HeaderStripeText\",\n \"text\": \"[New Releases](/releases)\"\n }\n },\n\n \"rich-text#headStripe3\": {\n \"props\": {\n \"blockClass\": \"HeaderStripeText\",\n \"text\": \"[Top Sales](/top-sales)\"\n }\n },\n\n \"rich-text#headStripe4\": {\n \"props\": {\n \"blockClass\": \"HeaderStripeText\",\n \"text\": \"[Customer Services](/services)\"\n }\n },\n\n \"rich-text#headStripe5\": {\n \"props\": {\n \"blockClass\": \"HeaderStripeText\",\n \"text\": \"[Gift Cards](/gift-cards)\"\n }\n },\n\n \"flex-layout.col#logo-desktop\": {\n \"props\": {\n \"verticalAlign\": \"middle\"\n },\n \"children\": [\"logo\"]\n },\n\n \"logo\": {\n \"props\": {\n \"title\": \"Logo\",\n \"href\": \"/\",\n \"url\": \"assets/icons/logo.svg\",\n \"width\": \"123\"\n }\n },\n\n \"header-layout.mobile\": {\n \"children\": [\"sticky-layout#mobile\"]\n },\n\n \"sticky-layout#mobile\": {\n \"children\": [\"flex-layout.row#mobileHeader\", \"slider-layout#menuLinks\"],\n \"props\": {\n \"blockClass\": \"headerMobile\"\n }\n },\n\n \"flex-layout.row#mobileHeader\": {\n \"children\": [\"flex-layout.col#mobileHeader\"]\n },\n\n \"slider-layout#menuLinks\": {\n \"props\": {\n \"itemsPerPage\": {\n \"phone\": 2\n },\n \"centerMode\": \"to-the-left\",\n \"infinite\": false,\n \"showNavigationArrows\": \"never\",\n \"showPaginationDots\": \"never\",\n \"blockClass\": \"stripeSlider\",\n \"fullWidth\": true\n },\n \"children\": [\n \"rich-text#headStripe1\",\n \"rich-text#headStripe2\",\n \"rich-text#headStripe3\",\n \"rich-text#headStripe4\",\n \"rich-text#headStripe5\"\n ]\n },\n\n \"flex-layout.col#mobileHeader\": {\n \"children\": [\"flex-layout.row#mobile\", \"flex-layout.row#mobileSearch\"],\n \"props\": {\n \"blockClass\": \"main-header-mobile\"\n }\n },\n\n \"flex-layout.row#mobile\": {\n \"children\": [\n \"drawer\",\n \"logo\",\n \"flex-layout.col#spacer\",\n \"login#mobile\",\n \"minicart.v2\"\n ],\n \"props\": {\n \"preventHorizontalStretch\": true,\n \"preserveLayoutOnMobile\": true,\n \"colSizing\": \"auto\",\n \"fullWidth\": true\n }\n },\n\n \"link#orderQuote\": {\n \"props\": {\n \"label\": \"Order quote\",\n \"href\": \"/orderquote\",\n \"blockClass\": \"orderQuote\"\n }\n },\n\n \"link#profile\": {\n \"children\": [\"icon-profile\"],\n \"props\": {\n \"href\": \"/account\",\n \"blockClass\": \"accountLink\"\n }\n },\n\n \"flex-layout.row#mobileSearch\": {\n \"children\": [\"search-bar#mobile\"],\n \"props\": {\n \"blockClass\": \"searchBarMobile\"\n }\n },\n\n \"search-bar#mobile\": {\n \"blocks\": [\"autocomplete-result-list.v2#mobile\"],\n \"props\": {\n \"openAutocompleteOnFocus\": true,\n \"blockClass\": \"searchMobile\"\n }\n },\n\n \"login\": {\n \"props\": {\n \"iconLabel\": \"Hello, Sign in\"\n }\n },\n\n \"login#mobile\": {\n \"props\": {\n \"iconLabel\": \"Sign in\"\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_fc83a066
|
[
{
"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 b2cstoreqa.theme/store/blocks/header/search-bar.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"search-bar\": {\n \"blocks\": [\n \"autocomplete-result-list.v2\"\n ],\n \"props\": {\n \"openAutocompleteOnFocus\": true\n }\n },\n \"autocomplete-result-list.v2\": {\n \"blocks\": [\n \"product-summary.shelf#searchBar\"\n ],\n \"props\": {\n \"simulationBehavior\": \"skip\",\n \"maxSuggestedProducts\": 6,\n \"customBreakpoints\": {\n \"md\": {\n \"width\": 100\n }\n }\n }\n },\n \"autocomplete-result-list.v2#mobile\": {\n \"blocks\": [\n \"product-summary.shelf#searchBarMobile\"\n ],\n \"props\": {\n \"simulationBehavior\": \"skip\",\n \"maxSuggestedProducts\": 6,\n \"autocompleteWidth\": 92\n }\n }\n}\n```"
}
] |
code_b2cstoreqa.theme_b6b48fc3
|
[
{
"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 b2cstoreqa.theme/store/blocks/pages/landing-pages/gift-cards.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"store.custom#gift-cards\": {\n \"blocks\": [\n \"flex-layout.row#institutional--gift-cards\",\n \"flex-layout.row#newsletter\"\n ]\n },\n\n \"flex-layout.row#institutional--gift-cards\": {\n \"children\": [\"flex-layout.col#text--gift-cards\", \"image#mobile-phone\"]\n },\n\n \"flex-layout.col#text--gift-cards\": {\n \"children\": [\n \"rich-text#title--gift-cards\",\n \"rich-text#institutional-placeholder\"\n ],\n \"props\": {\n \"blockclass\": \"textColumn\",\n \"preventVerticalStretch\": true\n }\n },\n\n \"rich-text#title--gift-cards\": {\n \"props\": {\n \"text\": \"# Gift Cards\",\n \"blockClass\": \"title\"\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_19148be1
|
[
{
"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 b2cstoreqa.theme/store/blocks/pages/collections/popular.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"store.custom.product-comparison#popular\": {\n \"blocks\": [\n \"search-result-layout.customQuery#popular\",\n \"flex-layout.row#newsletter\"\n ]\n },\n \"search-result-layout.customQuery#popular\": {\n \"props\": {\n \"querySchema\": {\n \"orderByField\": \"OrderByTopSaleDESC\",\n \"hideUnavailableItems\": true,\n \"maxItemsPerPage\": 10,\n \"skusFilter\": \"ALL\",\n \"simulationBehavior\": \"skip\"\n }\n },\n \"blocks\": [\n \"search-result-layout.desktop.product-comparison#popular\",\n \"search-result-layout.mobile\",\n \"search-not-found-layout\"\n ]\n },\n \"search-result-layout.desktop.product-comparison#popular\": {\n \"children\": [\n \"flex-layout.row#searchLayout--popular\",\n \"product-comparison-drawer\"\n ],\n \"props\": {\n \"pagination\": \"show-more\",\n \"preventRouteChange\": true\n }\n },\n \"flex-layout.row#searchLayout--popular\": {\n \"children\": [\"flex-layout.col#pageContent--popular\"],\n \"props\": {\n \"colSizing\": \"auto\",\n \"fullWidth\": true,\n \"marginBottom\": 9\n }\n },\n \"flex-layout.col#pageContent--popular\": {\n \"children\": [\"flex-layout.col#search-content--popular\"],\n \"props\": {\n \"blockClass\": \"pageContent\",\n \"width\": \"grow\"\n }\n },\n \"flex-layout.col#search-content--popular\": {\n \"children\": [\n \"rich-text#title--popular\",\n \"flex-layout.row#searchinfo\",\n \"flex-layout.row#fetchprevious\",\n \"flex-layout.row#products\",\n \"flex-layout.row#fetchmore\"\n ],\n \"props\": {\n \"paddingLeft\": 7,\n \"paddingRight\": 7\n }\n },\n \"rich-text#title--popular\": {\n \"props\": {\n \"text\": \"## Popular Picks\",\n \"blockClass\": \"title\"\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_f9a455cc
|
[
{
"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 b2cstoreqa.theme/store/blocks/pages/collections/releases.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"store.custom.product-comparison#releases\": {\n \"blocks\": [\n \"search-result-layout.customQuery#releases\",\n \"flex-layout.row#newsletter\"\n ]\n },\n \"search-result-layout.customQuery#releases\": {\n \"props\": {\n \"querySchema\": {\n \"orderByField\": \"OrderByReleaseDateDESC\",\n \"hideUnavailableItems\": true,\n \"maxItemsPerPage\": 10,\n \"skusFilter\": \"ALL\",\n \"simulationBehavior\": \"skip\"\n }\n },\n \"blocks\": [\n \"search-result-layout.desktop.product-comparison#releases\",\n \"search-result-layout.mobile\",\n \"search-not-found-layout\"\n ]\n },\n \"search-result-layout.desktop.product-comparison#releases\": {\n \"children\": [\n \"flex-layout.row#searchLayout--releases\",\n \"product-comparison-drawer\"\n ],\n \"props\": {\n \"pagination\": \"show-more\",\n \"preventRouteChange\": true\n }\n },\n \"flex-layout.row#searchLayout--releases\": {\n \"children\": [\"flex-layout.col#pageContent--releases\"],\n \"props\": {\n \"colSizing\": \"auto\",\n \"fullWidth\": true,\n \"marginBottom\": 9\n }\n },\n \"flex-layout.col#pageContent--releases\": {\n \"children\": [\"flex-layout.col#search-content--releases\"],\n \"props\": {\n \"blockClass\": \"pageContent\",\n \"width\": \"grow\"\n }\n },\n\n \"flex-layout.col#search-content--releases\": {\n \"children\": [\n \"rich-text#title--releases\",\n \"flex-layout.row#searchinfo\",\n \"flex-layout.row#fetchprevious\",\n \"flex-layout.row#products\",\n \"flex-layout.row#fetchmore\"\n ],\n \"props\": {\n \"paddingLeft\": 7,\n \"paddingRight\": 7\n }\n },\n\n \"rich-text#title--releases\": {\n \"props\": {\n \"text\": \"## New Releases\",\n \"blockClass\": \"title\"\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_29fa8bca
|
[
{
"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 b2cstoreqa.theme/store/blocks/pages/collections/trending.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"store.custom.product-comparison#trending\": {\n \"blocks\": [\n \"search-result-layout.customQuery#trending\",\n \"flex-layout.row#newsletter\"\n ]\n },\n \"search-result-layout.customQuery#trending\": {\n \"props\": {\n \"querySchema\": {\n \"orderByField\": \"OrderByTopSaleDESC\",\n \"hideUnavailableItems\": true,\n \"maxItemsPerPage\": 10,\n \"skusFilter\": \"ALL\",\n \"simulationBehavior\": \"skip\"\n }\n },\n \"blocks\": [\n \"search-result-layout.desktop.product-comparison#trending\",\n \"search-result-layout.mobile\",\n \"search-not-found-layout\"\n ]\n },\n \"search-result-layout.desktop.product-comparison#trending\": {\n \"children\": [\n \"flex-layout.row#searchLayout--trending\",\n \"product-comparison-drawer\"\n ],\n \"props\": {\n \"pagination\": \"show-more\",\n \"preventRouteChange\": true\n }\n },\n \"flex-layout.row#searchLayout--trending\": {\n \"children\": [\"flex-layout.col#pageContent--trending\"],\n \"props\": {\n \"colSizing\": \"auto\",\n \"fullWidth\": true,\n \"marginBottom\": 9\n }\n },\n \"flex-layout.col#pageContent--trending\": {\n \"children\": [\"flex-layout.col#search-content--trending\"],\n \"props\": {\n \"blockClass\": \"pageContent\",\n \"width\": \"grow\"\n }\n },\n\n \"flex-layout.col#search-content--trending\": {\n \"children\": [\n \"rich-text#title--trending\",\n \"flex-layout.row#searchinfo\",\n \"flex-layout.row#fetchprevious\",\n \"flex-layout.row#products\",\n \"flex-layout.row#fetchmore\"\n ],\n \"props\": {\n \"paddingLeft\": 7,\n \"paddingRight\": 7\n }\n },\n\n \"rich-text#title--trending\": {\n \"props\": {\n \"text\": \"## What's trending\",\n \"blockClass\": \"title\"\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_1fbed818
|
[
{
"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 b2cstoreqa.theme/store/blocks/pages/collections/top-sales.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"store.custom.product-comparison#top-sales\": {\n \"blocks\": [\n \"search-result-layout.customQuery#top-sales\",\n \"flex-layout.row#newsletter\"\n ]\n },\n \"search-result-layout.customQuery#top-sales\": {\n \"props\": {\n \"querySchema\": {\n \"orderByField\": \"OrderByTopSaleDESC\",\n \"hideUnavailableItems\": true,\n \"maxItemsPerPage\": 10,\n \"skusFilter\": \"ALL\",\n \"simulationBehavior\": \"skip\"\n }\n },\n \"blocks\": [\n \"search-result-layout.desktop.product-comparison#top-sales\",\n \"search-result-layout.mobile\",\n \"search-not-found-layout\"\n ]\n },\n \"search-result-layout.desktop.product-comparison#top-sales\": {\n \"children\": [\n \"flex-layout.row#searchLayout--top-sales\",\n \"product-comparison-drawer\"\n ],\n \"props\": {\n \"pagination\": \"show-more\",\n \"preventRouteChange\": true\n }\n },\n \"flex-layout.row#searchLayout--top-sales\": {\n \"children\": [\"flex-layout.col#pageContent--top-sales\"],\n \"props\": {\n \"colSizing\": \"auto\",\n \"fullWidth\": true,\n \"marginBottom\": 9\n }\n },\n \"flex-layout.col#pageContent--top-sales\": {\n \"children\": [\"flex-layout.col#search-content--top-sales\"],\n \"props\": {\n \"blockClass\": \"pageContent\",\n \"width\": \"grow\"\n }\n },\n\n \"flex-layout.col#search-content--top-sales\": {\n \"children\": [\n \"rich-text#title--top-sales\",\n \"flex-layout.row#searchinfo\",\n \"flex-layout.row#fetchprevious\",\n \"flex-layout.row#products\",\n \"flex-layout.row#fetchmore\"\n ],\n \"props\": {\n \"paddingLeft\": 7,\n \"paddingRight\": 7\n }\n },\n\n \"rich-text#title--top-sales\": {\n \"props\": {\n \"text\": \"## Top Sales\",\n \"blockClass\": \"title\"\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_3254a518
|
[
{
"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 b2cstoreqa.theme/store/blocks/pages/collections/deals.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"store.custom.product-comparison#deals\": {\n \"blocks\": [\n \"search-result-layout.customQuery#deals\",\n \"flex-layout.row#newsletter\"\n ]\n },\n\n \"search-result-layout.customQuery#deals\": {\n \"props\": {\n \"querySchema\": {\n \"orderByField\": \"OrderByBestDiscountDESC\",\n \"hideUnavailableItems\": true,\n \"maxItemsPerPage\": 10,\n \"skusFilter\": \"ALL\",\n \"simulationBehavior\": \"skip\"\n }\n },\n \"blocks\": [\n \"search-result-layout.desktop.product-comparison#deals\",\n \"search-result-layout.mobile\",\n \"search-not-found-layout\"\n ]\n },\n \"search-result-layout.desktop.product-comparison#deals\": {\n \"children\": [\n \"flex-layout.row#searchLayout--deals\",\n \"product-comparison-drawer\"\n ],\n \"props\": {\n \"pagination\": \"show-more\",\n \"preventRouteChange\": true\n }\n },\n \"flex-layout.row#searchLayout--deals\": {\n \"children\": [\"flex-layout.col#pageContent--deals\"],\n \"props\": {\n \"colSizing\": \"auto\",\n \"fullWidth\": true,\n \"marginBottom\": 9\n }\n },\n \"flex-layout.col#pageContent--deals\": {\n \"children\": [\"flex-layout.col#search-content--deals\"],\n \"props\": {\n \"blockClass\": \"pageContent\",\n \"width\": \"grow\"\n }\n },\n\n \"flex-layout.col#search-content--deals\": {\n \"children\": [\n \"rich-text#title--deals\",\n \"flex-layout.row#searchinfo\",\n \"flex-layout.row#fetchprevious\",\n \"flex-layout.row#products\",\n \"flex-layout.row#fetchmore\"\n ],\n \"props\": {\n \"paddingLeft\": 7,\n \"paddingRight\": 7\n }\n },\n\n \"rich-text#title--deals\": {\n \"props\": {\n \"text\": \"## Today's Deals\",\n \"blockClass\": \"title\"\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_e25a2765
|
[
{
"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 b2cstoreqa.theme/store/blocks/pages/institutional/about-us/locations.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"store.custom#locations\": {\n \"blocks\": [\n \"flex-layout.row#institutional--locations\",\n \"flex-layout.row#newsletter\"\n ]\n },\n\n \"flex-layout.row#institutional--locations\": {\n \"children\": [\"flex-layout.col#text--locations\", \"image#mobile-phone\"]\n },\n\n \"flex-layout.col#text--locations\": {\n \"children\": [\n \"rich-text#title--locations\",\n \"rich-text#institutional-placeholder\"\n ],\n \"props\": {\n \"blockclass\": \"textColumn\",\n \"preventVerticalStretch\": true\n }\n },\n\n \"rich-text#title--locations\": {\n \"props\": {\n \"text\": \"# Locations\",\n \"blockClass\": \"title\"\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_8a16af03
|
[
{
"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 b2cstoreqa.theme/store/blocks/pages/institutional/about-us/careers.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"store.custom#careers\": {\n \"blocks\": [\n \"flex-layout.row#institutional--careers\",\n \"flex-layout.row#newsletter\"\n ]\n },\n\n \"flex-layout.row#institutional--careers\": {\n \"children\": [\"flex-layout.col#text--careers\", \"image#mobile-phone\"]\n },\n\n \"flex-layout.col#text--careers\": {\n \"children\": [\n \"rich-text#title--careers\",\n \"rich-text#institutional-placeholder\"\n ],\n \"props\": {\n \"blockclass\": \"textColumn\",\n \"preventVerticalStretch\": true\n }\n },\n\n \"rich-text#title--careers\": {\n \"props\": {\n \"text\": \"# Careers\",\n \"blockClass\": \"title\"\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_779fb78c
|
[
{
"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 b2cstoreqa.theme/store/blocks/pages/institutional/about-us/advertise.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"store.custom#advertise\": {\n \"blocks\": [\n \"flex-layout.row#institutional--advertise\",\n \"flex-layout.row#newsletter\"\n ]\n },\n\n \"flex-layout.row#institutional--advertise\": {\n \"children\": [\"image#mobile-phone\", \"flex-layout.col#text--advertise\"]\n },\n\n \"flex-layout.col#text--advertise\": {\n \"children\": [\n \"rich-text#title--advertise\",\n \"rich-text#institutional-placeholder\"\n ],\n \"props\": {\n \"blockclass\": \"textColumn\",\n \"preventVerticalStretch\": true\n }\n },\n\n \"rich-text#title--advertise\": {\n \"props\": {\n \"text\": \"# Advertise with us\",\n \"blockClass\": \"title\"\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_e9bf59c3
|
[
{
"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 b2cstoreqa.theme/store/blocks/pages/institutional/about-us/investors.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"store.custom#investors\": {\n \"blocks\": [\n \"flex-layout.row#institutional--investors\",\n \"flex-layout.row#newsletter\"\n ]\n },\n\n \"flex-layout.row#institutional--investors\": {\n \"children\": [\"flex-layout.col#text--investors\", \"image#mobile-phone\"]\n },\n\n \"flex-layout.col#text--investors\": {\n \"children\": [\n \"rich-text#title--investors\",\n \"rich-text#institutional-placeholder\"\n ],\n \"props\": {\n \"blockclass\": \"textColumn\",\n \"preventVerticalStretch\": true\n }\n },\n\n \"rich-text#title--investors\": {\n \"props\": {\n \"text\": \"# Investor Relations\",\n \"blockClass\": \"title\"\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_87d8e09d
|
[
{
"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 b2cstoreqa.theme/store/blocks/pages/institutional/about-us/company.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"store.custom#company\": {\n \"blocks\": [\n \"flex-layout.row#institutional--company\",\n \"flex-layout.row#newsletter\"\n ]\n },\n\n \"flex-layout.row#institutional--company\": {\n \"children\": [\"image#mobile-phone\", \"flex-layout.col#text--company\"]\n },\n\n \"flex-layout.col#text--company\": {\n \"children\": [\n \"rich-text#title--company\",\n \"rich-text#institutional-placeholder\"\n ],\n \"props\": {\n \"blockclass\": \"textColumn\",\n \"preventVerticalStretch\": true\n }\n },\n\n \"rich-text#title--company\": {\n \"props\": {\n \"text\": \"# Company\",\n \"blockClass\": \"title\"\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_1d982236
|
[
{
"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 b2cstoreqa.theme/store/blocks/pages/institutional/about-us/sell.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"store.custom#sell\": {\n \"blocks\": [\n \"flex-layout.row#institutional--sell\",\n \"flex-layout.row#newsletter\"\n ]\n },\n\n \"flex-layout.row#institutional--sell\": {\n \"children\": [\"image#mobile-phone\", \"flex-layout.col#text--sell\"]\n },\n\n \"flex-layout.col#text--sell\": {\n \"children\": [\n \"rich-text#title--sell\",\n \"rich-text#institutional-placeholder\"\n ],\n \"props\": {\n \"blockclass\": \"textColumn\",\n \"preventVerticalStretch\": true\n }\n },\n\n \"rich-text#title--sell\": {\n \"props\": {\n \"text\": \"# Sell with VTEX\",\n \"blockClass\": \"title\"\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_22eca766
|
[
{
"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 b2cstoreqa.theme/store/blocks/pages/institutional/customer-service/customer-services.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"store.custom#customer-services\": {\n \"blocks\": [\n \"flex-layout.row#institutional--services\",\n \"flex-layout.row#newsletter\"\n ]\n },\n\n \"flex-layout.row#institutional--services\": {\n \"children\": [\"image#mobile-phone\", \"flex-layout.col#text--services\"]\n },\n\n \"flex-layout.col#text--services\": {\n \"children\": [\n \"rich-text#title--services\",\n \"rich-text#institutional-placeholder\"\n ],\n \"props\": {\n \"blockclass\": \"textColumn\",\n \"preventVerticalStretch\": true\n }\n },\n\n \"rich-text#title--services\": {\n \"props\": {\n \"text\": \"# Services\",\n \"blockClass\": \"title\"\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_be42ea06
|
[
{
"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 b2cstoreqa.theme/store/blocks/pages/institutional/customer-service/recalls.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"store.custom#recalls\": {\n \"blocks\": [\n \"flex-layout.row#institutional--recalls\",\n \"flex-layout.row#newsletter\"\n ]\n },\n\n \"flex-layout.row#institutional--recalls\": {\n \"children\": [\"image#mobile-phone\", \"flex-layout.col#text--recalls\"]\n },\n\n \"flex-layout.col#text--recalls\": {\n \"children\": [\n \"rich-text#title--recalls\",\n \"rich-text#institutional-placeholder\"\n ],\n \"props\": {\n \"blockclass\": \"textColumn\",\n \"preventVerticalStretch\": true\n }\n },\n\n \"rich-text#title--recalls\": {\n \"props\": {\n \"text\": \"# Product Recalls\",\n \"blockClass\": \"title\"\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_2d0c9f27
|
[
{
"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 b2cstoreqa.theme/store/blocks/pages/institutional/customer-service/pickup.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"store.custom#pickup\": {\n \"blocks\": [\n \"flex-layout.row#institutional--pickup\",\n \"flex-layout.row#newsletter\"\n ]\n },\n\n \"flex-layout.row#institutional--pickup\": {\n \"children\": [\"flex-layout.col#text--pickup\", \"image#mobile-phone\"]\n },\n\n \"flex-layout.col#text--pickup\": {\n \"children\": [\n \"rich-text#title--pickup\",\n \"rich-text#institutional-placeholder\"\n ],\n \"props\": {\n \"blockclass\": \"textColumn\",\n \"preventVerticalStretch\": true\n }\n },\n\n \"rich-text#title--pickup\": {\n \"props\": {\n \"text\": \"# Store Pickup\",\n \"blockClass\": \"title\"\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_20404de4
|
[
{
"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 b2cstoreqa.theme/store/blocks/pages/institutional/customer-service/accessibility.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"store.custom#accessibility\": {\n \"blocks\": [\n \"flex-layout.row#institutional--accessibility\",\n \"flex-layout.row#newsletter\"\n ]\n },\n\n \"flex-layout.row#institutional--accessibility\": {\n \"children\": [\"flex-layout.col#text--accessibility\", \"image#mobile-phone\"]\n },\n\n \"flex-layout.col#text--accessibility\": {\n \"children\": [\n \"rich-text#title--accessibility\",\n \"rich-text#institutional-placeholder\"\n ],\n \"props\": {\n \"blockclass\": \"textColumn\",\n \"preventVerticalStretch\": true\n }\n },\n\n \"rich-text#title--accessibility\": {\n \"props\": {\n \"text\": \"# Accessibility\",\n \"blockClass\": \"title\"\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_b95a0b38
|
[
{
"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 b2cstoreqa.theme/store/blocks/pages/institutional/customer-service/returns.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"store.custom#returns\": {\n \"blocks\": [\n \"flex-layout.row#institutional--returns\",\n \"flex-layout.row#newsletter\"\n ]\n },\n\n \"flex-layout.row#institutional--returns\": {\n \"children\": [\"flex-layout.col#text--returns\", \"image#mobile-phone\"]\n },\n\n \"flex-layout.col#text--returns\": {\n \"children\": [\n \"rich-text#title--returns\",\n \"rich-text#institutional-placeholder\"\n ],\n \"props\": {\n \"blockclass\": \"textColumn\",\n \"preventVerticalStretch\": true\n }\n },\n\n \"rich-text#title--returns\": {\n \"props\": {\n \"text\": \"# Returns\",\n \"blockClass\": \"title\"\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_70936a82
|
[
{
"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 b2cstoreqa.theme/store/blocks/pages/institutional/customer-service/help-center.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"store.custom#help-center\": {\n \"blocks\": [\n \"flex-layout.row#institutional--help-center\",\n \"flex-layout.row#newsletter\"\n ]\n },\n\n \"flex-layout.row#institutional--help-center\": {\n \"children\": [\"image#mobile-phone\", \"flex-layout.col#text--help-center\"]\n },\n\n \"flex-layout.col#text--help-center\": {\n \"children\": [\n \"rich-text#title--help-center\",\n \"rich-text#institutional-placeholder\"\n ],\n \"props\": {\n \"blockclass\": \"textColumn\",\n \"preventVerticalStretch\": true\n }\n },\n\n \"rich-text#title--help-center\": {\n \"props\": {\n \"text\": \"# Help Center\",\n \"blockClass\": \"title\"\n }\n }\n}\n\n```"
}
] |
code_b2cstoreqa.theme_13d190ff
|
[
{
"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 b2cstoreqa.theme/store/blocks/pages/institutional/customer-service/contact.jsonc from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"store.custom#contact\": {\n \"blocks\": [\n \"flex-layout.row#institutional--contact\",\n \"flex-layout.row#newsletter\"\n ]\n },\n\n \"flex-layout.row#institutional--contact\": {\n \"children\": [\"image#mobile-phone\", \"flex-layout.col#text--contact\"]\n },\n\n \"flex-layout.col#text--contact\": {\n \"children\": [\n \"rich-text#title--contact\",\n \"rich-text#institutional-placeholder\"\n ],\n \"props\": {\n \"blockclass\": \"textColumn\",\n \"preventVerticalStretch\": true\n }\n },\n\n \"rich-text#title--contact\": {\n \"props\": {\n \"text\": \"# Contact Us\",\n \"blockClass\": \"title\"\n }\n }\n}\n\n```"
}
] |
code_audara_183b857f
|
[
{
"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 audara/docs/README.md from the audara VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```markdown\n# Audara\n\n> VTEX Audara first-party app\n\n## Setup\n\nOpen a terminal and type:\n\n```sh\nvtex install vtex.audara@1.x\n```\n\nOpen your admin in the Apps section:\n\nhttps://YOURSTORENAME.myvtex.com/admin/apps/vtex.audara@1.0.0/setup\n\n\nFill in your Audara's Account ID and click save.\n```"
}
] |
code_list-wallet_9598c52e
|
[
{
"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 list-wallet/messages/nl.json from the list-wallet VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"titles.value.gift.card\": \"Cadeaubon waarde: \",\n \"titles.credit\": \"Krediet: \",\n \"titles.redemption\": \"Inwisseling genereren:\",\n \"input.value.label\": \"Voer het bedrag in\",\n \"input.value.button\": \"INWISSELEN\",\n \"input.tooltip\": \"Code om cadeaubon in te wisselen. Deze code is uniek. Gebruik deze voor alle aankopen in de winkel.\",\n \"input.value.tooltip\": \"Zet uw krediet om in cadeaubonnen.\",\n \"input.code.label\": \"Code geschenkkaart\",\n \"input.code.placeholder\": \"Code\",\n \"input.code.button\": \"CODE KOPIËREN\",\n \"input.code.loading\": \"Laden...\",\n \"history.open.button\": \"Verklaring\",\n \"history.empty.title\": \"Geen activiteit\",\n \"history.empty.message\": \"Uw wallet heeft geen wijzigingen in de balans gehad.\",\n \"history.credit.description\": \"Krediet ontvangen\",\n \"history.debit.description\": \"Krediet omgezet in cadeaubon\",\n \"history.credit.status\": \"Krediet\",\n \"history.debit.status\": \"Debet\",\n \"history.date.title\": \"Datum\",\n \"history.description.title\": \"Beschrijving\",\n \"history.value.title\": \"Bedrag\",\n \"history.status.title\": \"Status\",\n \"history.pagination.of\": \"van\",\n \"history.filter.clear\": \"Filters wissen\",\n \"history.filter.all\": \"Alle\",\n \"history.filter.is\": \"is\",\n \"history.filter.between\": \"Tussen\",\n \"history.filter.and\": \"en\",\n \"history.filter.date\": \"Datum\",\n \"history.filter.status\": \"Status\",\n \"history.filter.status.credit\": \"Krediet\",\n \"history.filter.status.debit\": \"Debet\",\n \"collapsible.title\": \"Mijn wallet\",\n \"provider.without.code\": \"Geen code\",\n \"provider.missing.value\": \"Voer een terugbetalingsbedrag in\",\n \"provider.value.negative\": \"Voeg een bedrag toe dat groter is dan 0\",\n \"provider.value.bigger.than.could.be\": \"Voer een bedrag in kleiner dan of gelijk aan \",\n \"toast.rescue.value\": \"Bedrag van \",\n \"toast.rescue.sucess\": \"Met succes ingewisseld!\",\n \"toast.rescue.error\": \"Fout bij toevoegen van bedrag aan cadeaubon\",\n \"toast.code\": \"Code \",\n \"toast.copy\": \"Succesvol gekopieerd\",\n \"toast.copy.error\": \"Fout bij kopiëren code\",\n \"toast.without.code\": \"Geen code\"\n}\n\n```"
}
] |
code_list-wallet_23a27742
|
[
{
"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 list-wallet/messages/de.json from the list-wallet VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"titles.value.gift.card\": \"Guthaben der Geschenkkarte: \",\n \"titles.credit\": \"Guthaben: \",\n \"titles.redemption\": \"Erhalte die Rückzahlung:\",\n \"input.value.label\": \"Betrag eingeben\",\n \"input.value.button\": \"EINLÖSEN\",\n \"input.tooltip\": \"Code zum Einlösen der Geschenkkarte. Dieser Code ist einzigartig. Verwenden Sie ihn für alle Ihre Einkäufe im Geschäft.\",\n \"input.value.tooltip\": \"Wandeln Sie Ihr Guthaben in ein Geschenkguthaben um.\",\n \"input.code.label\": \"Code der Geschenkkarte\",\n \"input.code.placeholder\": \"Code\",\n \"input.code.button\": \"CODE KOPIEREN\",\n \"input.code.loading\": \"Laden...\",\n \"history.open.button\": \"Auszug\",\n \"history.empty.title\": \"Keine Aktivität\",\n \"history.empty.message\": \"In Ihrer Geldbörse hat sich der Kontostand nicht geändert.\",\n \"history.credit.description\": \"Gutschrift erhalten\",\n \"history.debit.description\": \"Guthaben in eine Geschenkkarte umgewandelt\",\n \"history.credit.status\": \"Guthaben\",\n \"history.debit.status\": \"Abbuchung\",\n \"history.date.title\": \"Datum\",\n \"history.description.title\": \"Beschreibung\",\n \"history.value.title\": \"Betrag\",\n \"history.status.title\": \"Status\",\n \"history.pagination.of\": \"von\",\n \"history.filter.clear\": \"Filter löschen\",\n \"history.filter.all\": \"Alle\",\n \"history.filter.is\": \"ist\",\n \"history.filter.between\": \"Zwischen\",\n \"history.filter.and\": \"und\",\n \"history.filter.date\": \"Datum\",\n \"history.filter.status\": \"Status\",\n \"history.filter.status.credit\": \"Guthaben\",\n \"history.filter.status.debit\": \"Abbuchung\",\n \"collapsible.title\": \"Meine Geldbörse\",\n \"provider.without.code\": \"Kein Code\",\n \"provider.missing.value\": \"Geben Sie einen Rückzahlungsbetrag ein\",\n \"provider.value.negative\": \"Einen Betrag größer als 0 hinzufügen\",\n \"provider.value.bigger.than.could.be\": \"Geben Sie einen Betrag ein, der kleiner oder gleich ist \",\n \"toast.rescue.value\": \"Betrag von \",\n \"toast.rescue.sucess\": \"Erfolgreich eingelöst!\",\n \"toast.rescue.error\": \"Fehler beim Hinzufügen des Betrags zur Geschenkkarte\",\n \"toast.code\": \"Code \",\n \"toast.copy\": \"Erfolgreich kopiert\",\n \"toast.copy.error\": \"Fehler beim Kopieren des Codes\",\n \"toast.without.code\": \"Kein Code\"\n}\n\n```"
}
] |
code_list-wallet_5ffbf66e
|
[
{
"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 list-wallet/messages/ru.json from the list-wallet VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"titles.value.gift.card\": \"Баланс на подарочной карте: \",\n \"titles.credit\": \"Кредит: \",\n \"titles.redemption\": \"Сгенерировать погашение:\",\n \"input.value.label\": \"Введите сумму\",\n \"input.value.button\": \"АКТИВИРОВАТЬ\",\n \"input.tooltip\": \"Уникальный код для активации подарочной карты. Используйте его для покупок в магазине.\",\n \"input.value.tooltip\": \"Конвертируйте свои кредиты в баланс подарочной карты.\",\n \"input.code.label\": \"Код подарочной карты\",\n \"input.code.placeholder\": \"Код\",\n \"input.code.button\": \"КОПИРОВАТЬ КОД\",\n \"input.code.loading\": \"Загрузка...\",\n \"history.open.button\": \"Отчет\",\n \"history.empty.title\": \"Нет действий\",\n \"history.empty.message\": \"В вашем кошельке не произошло изменений баланса.\",\n \"history.credit.description\": \"Кредит получен\",\n \"history.debit.description\": \"Кредит переведен на подарочную карту\",\n \"history.credit.status\": \"Кредит\",\n \"history.debit.status\": \"Дебет\",\n \"history.date.title\": \"Дата\",\n \"history.description.title\": \"Описание\",\n \"history.value.title\": \"Сумма\",\n \"history.status.title\": \"Статус\",\n \"history.pagination.of\": \"от\",\n \"history.filter.clear\": \"Сбросить фильтры\",\n \"history.filter.all\": \"Все\",\n \"history.filter.is\": \"содержится\",\n \"history.filter.between\": \"Между\",\n \"history.filter.and\": \"и\",\n \"history.filter.date\": \"Дата\",\n \"history.filter.status\": \"Статус\",\n \"history.filter.status.credit\": \"Кредиты\",\n \"history.filter.status.debit\": \"Дебеты\",\n \"collapsible.title\": \"Мой кошелёк\",\n \"provider.without.code\": \"Нет кода\",\n \"provider.missing.value\": \"Введите сумму погашения\",\n \"provider.value.negative\": \"Добавьте сумму больше 0\",\n \"provider.value.bigger.than.could.be\": \"Введите сумму меньше или равную \",\n \"toast.rescue.value\": \"Сумма в \",\n \"toast.rescue.sucess\": \"Готово!\",\n \"toast.rescue.error\": \"Ошибка начисления суммы на подарочную карту\",\n \"toast.code\": \"Код \",\n \"toast.copy\": \"Скопировано\",\n \"toast.copy.error\": \"Ошибка копирования кода\",\n \"toast.without.code\": \"Нет кода\"\n}\n\n```"
}
] |
code_list-wallet_44d544bb
|
[
{
"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 list-wallet/messages/pl.json from the list-wallet VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"titles.value.gift.card\": \"Saldo karty podarunkowej: \",\n \"titles.credit\": \"Kredyt: \",\n \"titles.redemption\": \"Wygeneruj umorzenie:\",\n \"input.value.label\": \"Wprowadź kwotę\",\n \"input.value.button\": \"ZREALIZUJ\",\n \"input.tooltip\": \"Kod do realizacji karty podarunkowej. Ten kod jest unikalny. Używaj go do wszystkich zakupów w sklepie.\",\n \"input.value.tooltip\": \"Konwertuj swoje kredyty na saldo karty upominkowej.\",\n \"input.code.label\": \"Kod karty podarunkowej\",\n \"input.code.placeholder\": \"Kod\",\n \"input.code.button\": \"SKOIPUJ KOD\",\n \"input.code.loading\": \"Ładuję...\",\n \"history.open.button\": \"Oświadczenie\",\n \"history.empty.title\": \"Brak aktywności\",\n \"history.empty.message\": \"Twój portfel nie miał żadnych zmian salda.\",\n \"history.credit.description\": \"Uznanie otrzymane\",\n \"history.debit.description\": \"Uznanie przekonwertowane na kartę podarunkową\",\n \"history.credit.status\": \"Uznanie\",\n \"history.debit.status\": \"Debet\",\n \"history.date.title\": \"Data\",\n \"history.description.title\": \"Opis\",\n \"history.value.title\": \"Kwota\",\n \"history.status.title\": \"Status\",\n \"history.pagination.of\": \"od\",\n \"history.filter.clear\": \"Wyczyść filtry\",\n \"history.filter.all\": \"Wszystkie\",\n \"history.filter.is\": \"jest\",\n \"history.filter.between\": \"Pomiędzy\",\n \"history.filter.and\": \"i\",\n \"history.filter.date\": \"Data\",\n \"history.filter.status\": \"Status\",\n \"history.filter.status.credit\": \"Uznania\",\n \"history.filter.status.debit\": \"Debety\",\n \"collapsible.title\": \"Mój portfel\",\n \"provider.without.code\": \"Brak kodu\",\n \"provider.missing.value\": \"Wprowadź kwotę wykupu\",\n \"provider.value.negative\": \"Dodaj kwotę większą niż 0\",\n \"provider.value.bigger.than.could.be\": \"Wprowadź kwotę mniejszą lub równą \",\n \"toast.rescue.value\": \"Kwota \",\n \"toast.rescue.sucess\": \"Pomyślnie zrealizowano!\",\n \"toast.rescue.error\": \"Błąd dodawania kwoty do karty podarunkowej\",\n \"toast.code\": \"Kod \",\n \"toast.copy\": \"Skopiowano pomyślnie\",\n \"toast.copy.error\": \"Błąd podczas kopiowania kodu\",\n \"toast.without.code\": \"Brak kodu\"\n}\n\n```"
}
] |
code_list-wallet_7c07baa5
|
[
{
"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 list-wallet/messages/fi.json from the list-wallet VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"titles.value.gift.card\": \"Lahjakortin saldo: \",\n \"titles.credit\": \"Hyvitys: \",\n \"titles.redemption\": \"Luo lunastus:\",\n \"input.value.label\": \"Syötä summa\",\n \"input.value.button\": \"LUNASTA\",\n \"input.tooltip\": \"Koodi lahjakortin lunastamiseksi. Tämä koodi on ainutlaatuinen. Käytä sitä kaikissa ostoksissasi myymälässä.\",\n \"input.value.tooltip\": \"Muunna hyvityksesi lahjakorttisaldoksi.\",\n \"input.code.label\": \"Lahjakortin koodi\",\n \"input.code.placeholder\": \"Koodi\",\n \"input.code.button\": \"KOPIOI KOODI\",\n \"input.code.loading\": \"Ladataan...\",\n \"history.open.button\": \"Lauseke\",\n \"history.empty.title\": \"Ei toimintaa\",\n \"history.empty.message\": \"Lompakkosi saldo ei ole muuttunut.\",\n \"history.credit.description\": \"Hyvitys vastaanotettu\",\n \"history.debit.description\": \"Hyvitys muunnettu lahjakortiksi\",\n \"history.credit.status\": \"Hyvitys\",\n \"history.debit.status\": \"Veloitus\",\n \"history.date.title\": \"Päivämäärä\",\n \"history.description.title\": \"Kuvaus\",\n \"history.value.title\": \"Summa\",\n \"history.status.title\": \"Tila\",\n \"history.pagination.of\": \"alkaen\",\n \"history.filter.clear\": \"Tyhjennä suodattimet\",\n \"history.filter.all\": \"Kaikki\",\n \"history.filter.is\": \"on\",\n \"history.filter.between\": \"–\",\n \"history.filter.and\": \"ja\",\n \"history.filter.date\": \"Päivämäärä\",\n \"history.filter.status\": \"Tila\",\n \"history.filter.status.credit\": \"Hyvitykset\",\n \"history.filter.status.debit\": \"Veloitukset\",\n \"collapsible.title\": \"Minun lompakkoni\",\n \"provider.without.code\": \"Ei koodia\",\n \"provider.missing.value\": \"Syötä lunastussumma\",\n \"provider.value.negative\": \"Lisää summa, joka on suurempi kuin 0\",\n \"provider.value.bigger.than.could.be\": \"Syötä summa, joka on vähemmän tai yhtä suuri kuin \",\n \"toast.rescue.value\": \"Määrä: \",\n \"toast.rescue.sucess\": \"Lunastus onnistui!\",\n \"toast.rescue.error\": \"Virhe summan lisäämisessä lahjakortille\",\n \"toast.code\": \"Koodi \",\n \"toast.copy\": \"Kopioitu onnistuneesti\",\n \"toast.copy.error\": \"Koodin kopiointi epäonnistui\",\n \"toast.without.code\": \"Ei koodia\"\n}\n\n```"
}
] |
code_list-wallet_b98a32b9
|
[
{
"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 list-wallet/messages/sk.json from the list-wallet VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"titles.value.gift.card\": \"Zostatok na darčekovej karte: \",\n \"titles.credit\": \"Kredity: \",\n \"titles.redemption\": \"Vygenerovať odkúpenie:\",\n \"input.value.label\": \"Zadajte sumu\",\n \"input.value.button\": \"UPLATNIŤ\",\n \"input.tooltip\": \"Kód na uplatnenie darčekovej karty. Tento kód je jedinečný. Používajte ho pri všetkých nákupoch v obchode.\",\n \"input.value.tooltip\": \"Preveďte svoje kredity na zostatok na darčekovej karte.\",\n \"input.code.label\": \"Kód darčekovej karty\",\n \"input.code.placeholder\": \"Kód\",\n \"input.code.button\": \"KOPÍROVAŤ KÓD\",\n \"input.code.loading\": \"Načítava sa...\",\n \"history.open.button\": \"Výpis\",\n \"history.empty.title\": \"Žiadna aktivita\",\n \"history.empty.message\": \"Vo vašej peňaženke nedošlo k žiadnym zmenám zostatku.\",\n \"history.credit.description\": \"Prijaté kredity\",\n \"history.debit.description\": \"Kredity prevedené na darčekovú kartu\",\n \"history.credit.status\": \"V kredite\",\n \"history.debit.status\": \"V debete\",\n \"history.date.title\": \"Dátum\",\n \"history.description.title\": \"Popis\",\n \"history.value.title\": \"Suma\",\n \"history.status.title\": \"Stav\",\n \"history.pagination.of\": \"od\",\n \"history.filter.clear\": \"Vymazať filtre\",\n \"history.filter.all\": \"Všetko\",\n \"history.filter.is\": \"je\",\n \"history.filter.between\": \"Medzi\",\n \"history.filter.and\": \"a\",\n \"history.filter.date\": \"Dátum\",\n \"history.filter.status\": \"Stav\",\n \"history.filter.status.credit\": \"Kredity\",\n \"history.filter.status.debit\": \"Debety\",\n \"collapsible.title\": \"Moja peňaženka\",\n \"provider.without.code\": \"Žiadny kód\",\n \"provider.missing.value\": \"Zadajte sumu, ktorú chcete uplatniť\",\n \"provider.value.negative\": \"Zadajte sumu vyššiu ako 0\",\n \"provider.value.bigger.than.could.be\": \"Zadajte sumu menšiu alebo rovnú \",\n \"toast.rescue.value\": \"Celková hodnota \",\n \"toast.rescue.sucess\": \"Uplatnenie prebehlo úspešne!\",\n \"toast.rescue.error\": \"Vyskytla sa chyba pri pridávaní sumy na darčekovú kartu\",\n \"toast.code\": \"Kód \",\n \"toast.copy\": \"Úspešne skopírované\",\n \"toast.copy.error\": \"Vyskytla sa chyba pri kopírovaní textu\",\n \"toast.without.code\": \"Žiadny kód\"\n}\n\n```"
}
] |
code_list-wallet_a7161268
|
[
{
"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 list-wallet/messages/pt.json from the list-wallet VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"titles.value.gift.card\": \"Saldo do vale-presente: \",\n \"titles.credit\": \"Crédito: \",\n \"titles.redemption\": \"Gerar resgate:\",\n \"input.value.label\": \"Digite o valor\",\n \"input.value.button\": \"RESGATAR\",\n \"input.tooltip\": \"Código para resgatar o vale-presente. Este código é individual. Utilize-o em todas as suas compras na loja\",\n \"input.value.tooltip\": \"Converta seus créditos em saldo de vale-presente.\",\n \"input.code.label\": \"Código do vale-presente\",\n \"input.code.placeholder\": \"Código\",\n \"input.code.button\": \"COPIAR CÓDIGO\",\n \"input.code.loading\": \"Carregando...\",\n \"history.open.button\": \"Extrato\",\n \"history.empty.title\": \"Nenhuma movimentação\",\n \"history.empty.message\": \"Sua carteira ainda não teve movimentações de valores.\",\n \"history.credit.description\": \"Crédito recebido\",\n \"history.debit.description\": \"Crédito convertido em vale-presente\",\n \"history.credit.status\": \"Entrada\",\n \"history.debit.status\": \"Saída\",\n \"history.date.title\": \"Data\",\n \"history.description.title\": \"Descrição\",\n \"history.value.title\": \"Valor\",\n \"history.status.title\": \"Status\",\n \"history.pagination.of\": \"de\",\n \"history.filter.clear\": \"Limpar filtros\",\n \"history.filter.all\": \"Tudo\",\n \"history.filter.is\": \"é\",\n \"history.filter.between\": \"entre\",\n \"history.filter.and\": \"e\",\n \"history.filter.date\": \"Data\",\n \"history.filter.status\": \"Status\",\n \"history.filter.status.credit\": \"Entradas\",\n \"history.filter.status.debit\": \"Saídas\",\n \"collapsible.title\": \"Minha carteira\",\n \"provider.without.code\": \"Código inexistente\",\n \"provider.missing.value\": \"Insira um valor para resgatar\",\n \"provider.value.negative\": \"Adicione um valor maior que 0\",\n \"provider.value.bigger.than.could.be\": \"Insira um valor menor ou igual a \",\n \"toast.rescue.value\": \"Valor de \",\n \"toast.rescue.sucess\": \"Resgatado com sucesso!\",\n \"toast.rescue.error\": \"Erro ao adicionar valor ao vale-presente\",\n \"toast.code\": \"Código \",\n \"toast.copy\": \"Copiado com sucesso\",\n \"toast.copy.error\": \"Erro ao copiar código\",\n \"toast.without.code\": \"Código inexistente\"\n}\n\n```"
}
] |
code_list-wallet_9cb44cc7
|
[
{
"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 list-wallet/messages/en.json from the list-wallet VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"titles.value.gift.card\": \"Gift card balance: \",\n \"titles.credit\": \"Credit: \",\n \"titles.redemption\": \"Generate redemption:\",\n \"input.value.label\": \"Enter the amount\",\n \"input.value.button\": \"REDEEM\",\n \"input.tooltip\": \"Code to redeem gift card. This code is unique. Use it for all your purchases in the store.\",\n \"input.value.tooltip\": \"Convert your credits into gift card balance.\",\n \"input.code.label\": \"Gift card code\",\n \"input.code.placeholder\": \"Code\",\n \"input.code.button\": \"COPY CODE\",\n \"input.code.loading\": \"Loading...\",\n \"history.open.button\": \"Statement\",\n \"history.empty.title\": \"No activity\",\n \"history.empty.message\": \"Your wallet hasn't had any balance changes.\",\n \"history.credit.description\": \"Credit received\",\n \"history.debit.description\": \"Credit converted to gift card\",\n \"history.credit.status\": \"Credit\",\n \"history.debit.status\": \"Debit\",\n \"history.date.title\": \"Date\",\n \"history.description.title\": \"Description\",\n \"history.value.title\": \"Amount\",\n \"history.status.title\": \"Status\",\n \"history.pagination.of\": \"from\",\n \"history.filter.clear\": \"Clear Filters\",\n \"history.filter.all\": \"All\",\n \"history.filter.is\": \"is\",\n \"history.filter.between\": \"Between\",\n \"history.filter.and\": \"and\",\n \"history.filter.date\": \"Date\",\n \"history.filter.status\": \"Status\",\n \"history.filter.status.credit\": \"Credits\",\n \"history.filter.status.debit\": \"Debits\",\n \"collapsible.title\": \"My Wallet\",\n \"provider.without.code\": \"No code\",\n \"provider.missing.value\": \"Enter a redemption amount\",\n \"provider.value.negative\": \"Add an amount greater than 0\",\n \"provider.value.bigger.than.could.be\": \"Enter an amount less than or equal to \",\n \"toast.rescue.value\": \"Amount of \",\n \"toast.rescue.sucess\": \"Redeemed successfully!\",\n \"toast.rescue.error\": \"Error adding amount to gift card\",\n \"toast.code\": \"Code \",\n \"toast.copy\": \"Copied successfully\",\n \"toast.copy.error\": \"Error copying code\",\n \"toast.without.code\": \"No code\"\n}\n\n```"
}
] |
code_list-wallet_62005a58
|
[
{
"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 list-wallet/messages/it.json from the list-wallet VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"titles.value.gift.card\": \"Saldo del buono regalo: \",\n \"titles.credit\": \"Credito: \",\n \"titles.redemption\": \"Genera riscatto:\",\n \"input.value.label\": \"Inserisci l'importo\",\n \"input.value.button\": \"RISCATTA\",\n \"input.tooltip\": \"Codice per riscattare il buono regalo. Questo codice è univoco. Utilizzalo per tutti i tuoi acquisti nel negozio.\",\n \"input.value.tooltip\": \"Trasforma i tuoi crediti in saldo per il buono regalo.\",\n \"input.code.label\": \"Codice del buono regalo\",\n \"input.code.placeholder\": \"Codice\",\n \"input.code.button\": \"COPIA CODICE\",\n \"input.code.loading\": \"Caricamento in corso...\",\n \"history.open.button\": \"Estratto\",\n \"history.empty.title\": \"Nessun movimento\",\n \"history.empty.message\": \"Il tuo portafoglio non ha ancora registrato movimenti.\",\n \"history.credit.description\": \"Credito ricevuto\",\n \"history.debit.description\": \"Credito convertito in buono regalo\",\n \"history.credit.status\": \"Entrata\",\n \"history.debit.status\": \"Uscita\",\n \"history.date.title\": \"Data\",\n \"history.description.title\": \"Descrizione\",\n \"history.value.title\": \"Importo\",\n \"history.status.title\": \"Stato\",\n \"history.pagination.of\": \"da\",\n \"history.filter.clear\": \"Rimuovi filtri\",\n \"history.filter.all\": \"Tutto\",\n \"history.filter.is\": \"è\",\n \"history.filter.between\": \"compreso tra\",\n \"history.filter.and\": \"e\",\n \"history.filter.date\": \"Data\",\n \"history.filter.status\": \"Stato\",\n \"history.filter.status.credit\": \"Entrate\",\n \"history.filter.status.debit\": \"Uscite\",\n \"collapsible.title\": \"Il mio portafoglio\",\n \"provider.without.code\": \"Codice inesistente\",\n \"provider.missing.value\": \"Inserisci un importo da riscattare\",\n \"provider.value.negative\": \"Aggiungi un importo superiore a 0\",\n \"provider.value.bigger.than.could.be\": \"Inserisci un importo inferiore o uguale a \",\n \"toast.rescue.value\": \"Importo di \",\n \"toast.rescue.sucess\": \"Riscattato correttamente!\",\n \"toast.rescue.error\": \"Errore nell'aggiungere l'importo al buono regalo\",\n \"toast.code\": \"Codice \",\n \"toast.copy\": \"Copiato correttamente\",\n \"toast.copy.error\": \"Errore durante il tentativo di copiare il codice\",\n \"toast.without.code\": \"Nessun codice\"\n}\n\n```"
}
] |
code_list-wallet_3f15fa85
|
[
{
"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 list-wallet/messages/fr.json from the list-wallet VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"titles.value.gift.card\": \"Solde de la carte-cadeau : \",\n \"titles.credit\": \"Crédit : \",\n \"titles.redemption\": \"Générer l'échange :\",\n \"input.value.label\": \"Entrer le montant\",\n \"input.value.button\": \"REMBOURSER\",\n \"input.tooltip\": \"Code pour échanger votre carte cadeau. Ce code est unique. Utilisez-le pour tous vos achats en magasin.\",\n \"input.value.tooltip\": \"Convertissez vos crédits en solde de carte-cadeau.\",\n \"input.code.label\": \"Code carte cadeau\",\n \"input.code.placeholder\": \"Code\",\n \"input.code.button\": \"CODE DE COPIE\",\n \"input.code.loading\": \"Chargement...\",\n \"history.open.button\": \"Relevé\",\n \"history.empty.title\": \"Aucune activité\",\n \"history.empty.message\": \"Votre portefeuille n'a pas subi de modifications de solde.\",\n \"history.credit.description\": \"Crédits reçus\",\n \"history.debit.description\": \"Crédit converti en carte-cadeau\",\n \"history.credit.status\": \"Crédit\",\n \"history.debit.status\": \"Débit\",\n \"history.date.title\": \"Date\",\n \"history.description.title\": \"Description\",\n \"history.value.title\": \"Montant\",\n \"history.status.title\": \"Statut\",\n \"history.pagination.of\": \"à partir de\",\n \"history.filter.clear\": \"Supprimer les filtres\",\n \"history.filter.all\": \"Tout\",\n \"history.filter.is\": \"est\",\n \"history.filter.between\": \"Entre\",\n \"history.filter.and\": \"et\",\n \"history.filter.date\": \"Date\",\n \"history.filter.status\": \"Statut\",\n \"history.filter.status.credit\": \"Crédits\",\n \"history.filter.status.debit\": \"Débits\",\n \"collapsible.title\": \"Mon Portefeuille\",\n \"provider.without.code\": \"Aucun code\",\n \"provider.missing.value\": \"Entrez un montant de rachat\",\n \"provider.value.negative\": \"Ajoutez un montant supérieur à 0\",\n \"provider.value.bigger.than.could.be\": \"Entrez un montant inférieur ou égal à \",\n \"toast.rescue.value\": \"Montant de \",\n \"toast.rescue.sucess\": \"Échangé avec succès !\",\n \"toast.rescue.error\": \"Erreur lors de l'ajout du montant de la carte cadeau\",\n \"toast.code\": \"Code \",\n \"toast.copy\": \"Copié avec succès\",\n \"toast.copy.error\": \"Erreur lors de la copie du code\",\n \"toast.without.code\": \"Aucun code\"\n}\n\n```"
}
] |
code_list-wallet_dd19f87b
|
[
{
"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 list-wallet/messages/el.json from the list-wallet VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"titles.value.gift.card\": \"Υπόλοιπο δωροεπιταγής: \",\n \"titles.credit\": \"Πίστωση: \",\n \"titles.redemption\": \"Γενική εξαργύρωση:\",\n \"input.value.label\": \"Εισαγωγή ποσού\",\n \"input.value.button\": \"ΕΞΑΡΓΥΡΩΣΗ\",\n \"input.tooltip\": \"Κωδικός για την εξαργύρωση της δωροκάρτας. Αυτός ο κωδικός είναι μοναδικός. Χρησιμοποιήστε τον για όλες τις αγορές σας στο κατάστημα.\",\n \"input.value.tooltip\": \"Μετατροπή των πιστώσεών σας σε υπόλοιπο δωροκάρτας.\",\n \"input.code.label\": \"Κωδικός κάρτας δώρου\",\n \"input.code.placeholder\": \"Κωδικός\",\n \"input.code.button\": \"ΚΩΔΙΚΟΣ ΑΝΤΙΓΡΑΦΗΣ\",\n \"input.code.loading\": \"Φορτώνει...\",\n \"history.open.button\": \"Δήλωση\",\n \"history.empty.title\": \"Καμία δραστηριότητα\",\n \"history.empty.message\": \"Το πορτοφόλι σας δεν είχε καμία αλλαγή υπολοίπου.\",\n \"history.credit.description\": \"Ελήφθη πίστωση\",\n \"history.debit.description\": \"Η πίστωση μετατράπηκε σε δωροκάρτα\",\n \"history.credit.status\": \"Πίστωση\",\n \"history.debit.status\": \"Χρέωση\",\n \"history.date.title\": \"Ημερομηνία\",\n \"history.description.title\": \"Περιγραφή\",\n \"history.value.title\": \"Ποσό\",\n \"history.status.title\": \"Κατάσταση\",\n \"history.pagination.of\": \"από\",\n \"history.filter.clear\": \"Καθαρισμός φίλτρων\",\n \"history.filter.all\": \"Όλα\",\n \"history.filter.is\": \"είναι\",\n \"history.filter.between\": \"Μεταξύ\",\n \"history.filter.and\": \"και\",\n \"history.filter.date\": \"Ημερομηνία\",\n \"history.filter.status\": \"Κατάσταση\",\n \"history.filter.status.credit\": \"Πιστώσεις\",\n \"history.filter.status.debit\": \"Χρεώσεις\",\n \"collapsible.title\": \"Το πορτοφόλι μου\",\n \"provider.without.code\": \"Δεν υπάρχει κωδικός\",\n \"provider.missing.value\": \"Εισαγωγή ποσού εξαργύρωσης\",\n \"provider.value.negative\": \"Προσθήκη ποσού μεγαλύτερου από 0\",\n \"provider.value.bigger.than.could.be\": \"Εισαγωγή ποσού μικρότερου ή ίσου με \",\n \"toast.rescue.value\": \"Ποσό του \",\n \"toast.rescue.sucess\": \"Εξαργυρώθηκε με επιτυχία!\",\n \"toast.rescue.error\": \"Σφάλμα στην προσθήκη ποσού στη δωροκάρτα\",\n \"toast.code\": \"Κωδικός \",\n \"toast.copy\": \"Επιτυχής αντιγραφή\",\n \"toast.copy.error\": \"Σφάλμα στην αντιγραφή κωδικού\",\n \"toast.without.code\": \"Δεν υπάρχει κωδικός\"\n}\n\n```"
}
] |
code_list-wallet_db8d7680
|
[
{
"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 list-wallet/messages/ro.json from the list-wallet VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"titles.value.gift.card\": \"Sold card cadou: \",\n \"titles.credit\": \"Credit: \",\n \"titles.redemption\": \"Generează răscumpărare:\",\n \"input.value.label\": \"Introdu suma\",\n \"input.value.button\": \"RĂSCUMPĂRĂ\",\n \"input.tooltip\": \"Cod pentru răscumpărarea cardului cadou. Acest cod este unic. Folosește-l pentru toate achizițiile tale din magazin.\",\n \"input.value.tooltip\": \"Convertește-ți creditele în sold pe cardul cadou.\",\n \"input.code.label\": \"Cod card cadou\",\n \"input.code.placeholder\": \"Cod\",\n \"input.code.button\": \"COPIAZĂ CODUL\",\n \"input.code.loading\": \"Se încarcă...\",\n \"history.open.button\": \"Extras\",\n \"history.empty.title\": \"Nicio activitate\",\n \"history.empty.message\": \"Portofelul tău nu a înregistrat modificări ale soldului.\",\n \"history.credit.description\": \"Creditul a fost primit\",\n \"history.debit.description\": \"Creditul a fost convertit în card cadou\",\n \"history.credit.status\": \"Credit\",\n \"history.debit.status\": \"Debit\",\n \"history.date.title\": \"Data\",\n \"history.description.title\": \"Descriere\",\n \"history.value.title\": \"Sumă\",\n \"history.status.title\": \"Stare\",\n \"history.pagination.of\": \"de la\",\n \"history.filter.clear\": \"Elimină filtrele\",\n \"history.filter.all\": \"Toate\",\n \"history.filter.is\": \"sunt\",\n \"history.filter.between\": \"Între\",\n \"history.filter.and\": \"și\",\n \"history.filter.date\": \"Data\",\n \"history.filter.status\": \"Stare\",\n \"history.filter.status.credit\": \"Creditări\",\n \"history.filter.status.debit\": \"Debitări\",\n \"collapsible.title\": \"Portofelul meu\",\n \"provider.without.code\": \"Fără cod\",\n \"provider.missing.value\": \"Introdu o sumă de răscumpărat\",\n \"provider.value.negative\": \"Adaugă o sumă mai mare decât 0\",\n \"provider.value.bigger.than.could.be\": \"Introdu o sumă mai mică sau egală cu \",\n \"toast.rescue.value\": \"Suma de \",\n \"toast.rescue.sucess\": \"Răscumpărare realizată cu succes!\",\n \"toast.rescue.error\": \"Eroare la adăugarea sumei pe cardul cadou\",\n \"toast.code\": \"Cod \",\n \"toast.copy\": \"Copiere efectuată cu succes\",\n \"toast.copy.error\": \"Eroare la copierea codului\",\n \"toast.without.code\": \"Fără cod\"\n}\n\n```"
}
] |
code_list-wallet_8e5db963
|
[
{
"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 list-wallet/messages/ca.json from the list-wallet VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"titles.value.gift.card\": \"Saldo de la targeta de regal: \",\n \"titles.credit\": \"Crèdit: \",\n \"titles.redemption\": \"Genereu el bescanvi:\",\n \"input.value.label\": \"Introduïu l'import\",\n \"input.value.button\": \"BESCANVIA\",\n \"input.tooltip\": \"Codi per bescanviar la targeta de regal. Aquest codi és únic. Utilitzeu-lo per a totes les compres que feu a la botiga.\",\n \"input.value.tooltip\": \"Convertiu els crèdits en saldo de la targeta de regal.\",\n \"input.code.label\": \"Codi de la targeta de regal\",\n \"input.code.placeholder\": \"Codi\",\n \"input.code.button\": \"COPIA EL CODI\",\n \"input.code.loading\": \"S'està carregant...\",\n \"history.open.button\": \"Extracte\",\n \"history.empty.title\": \"Sense activitat\",\n \"history.empty.message\": \"El saldo del moneder no ha canviat.\",\n \"history.credit.description\": \"S'ha rebut el crèdit\",\n \"history.debit.description\": \"El crèdit s'ha convertit a la targeta de regal\",\n \"history.credit.status\": \"Crèdit\",\n \"history.debit.status\": \"Dèbit\",\n \"history.date.title\": \"Data\",\n \"history.description.title\": \"Descripció\",\n \"history.value.title\": \"Import\",\n \"history.status.title\": \"Estat\",\n \"history.pagination.of\": \"des del\",\n \"history.filter.clear\": \"Esborra els filtres\",\n \"history.filter.all\": \"Tot\",\n \"history.filter.is\": \"és\",\n \"history.filter.between\": \"Entre\",\n \"history.filter.and\": \"i\",\n \"history.filter.date\": \"Data\",\n \"history.filter.status\": \"Estat\",\n \"history.filter.status.credit\": \"Crèdits\",\n \"history.filter.status.debit\": \"Dèbits\",\n \"collapsible.title\": \"El meu moneder\",\n \"provider.without.code\": \"Sense codi\",\n \"provider.missing.value\": \"Introduïu un import de bescanvi\",\n \"provider.value.negative\": \"Afegiu un import superior a 0\",\n \"provider.value.bigger.than.could.be\": \"Introduïu un import inferior o igual a \",\n \"toast.rescue.value\": \"Import de \",\n \"toast.rescue.sucess\": \"S'ha realitzat correctament el bescanvi!\",\n \"toast.rescue.error\": \"S'ha produït un error en afegir l'import a la targeta de regal\",\n \"toast.code\": \"Codi \",\n \"toast.copy\": \"S'ha copiat correctament\",\n \"toast.copy.error\": \"S'ha produït un error en copiar el codi\",\n \"toast.without.code\": \"Sense codi\"\n}\n\n```"
}
] |
code_list-wallet_5830165a
|
[
{
"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 list-wallet/messages/ko.json from the list-wallet VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"titles.value.gift.card\": \"기프트 카드 잔액: \",\n \"titles.credit\": \"크레딧: \",\n \"titles.redemption\": \"상환 생성:\",\n \"input.value.label\": \"금액 입력\",\n \"input.value.button\": \"사용\",\n \"input.tooltip\": \"기프트 카드를 사용하는 코드입니다. 이 코드는 고유합니다. 스토어에서 모든 구매에 사용하세요.\",\n \"input.value.tooltip\": \"크레딧을 기프트 카드 잔액으로 전환하세요.\",\n \"input.code.label\": \"기프트 카드 코드\",\n \"input.code.placeholder\": \"코드\",\n \"input.code.button\": \"코드 복사\",\n \"input.code.loading\": \"로딩 중입니다.\",\n \"history.open.button\": \"내역서\",\n \"history.empty.title\": \"활동 없음\",\n \"history.empty.message\": \"귀하의 지갑에는 잔액이 변경되지 않았습니다.\",\n \"history.credit.description\": \"받은 크레딧\",\n \"history.debit.description\": \"크레딧이 기프트 카드로 전환됨\",\n \"history.credit.status\": \"크레딧\",\n \"history.debit.status\": \"직불\",\n \"history.date.title\": \"일\",\n \"history.description.title\": \"설명\",\n \"history.value.title\": \"금액\",\n \"history.status.title\": \"상태\",\n \"history.pagination.of\": \"에서\",\n \"history.filter.clear\": \"필터 지우기\",\n \"history.filter.all\": \"모두\",\n \"history.filter.is\": \"은/는\",\n \"history.filter.between\": \"사이\",\n \"history.filter.and\": \"및\",\n \"history.filter.date\": \"일\",\n \"history.filter.status\": \"상태\",\n \"history.filter.status.credit\": \"크레딧\",\n \"history.filter.status.debit\": \"직불\",\n \"collapsible.title\": \"내 지갑\",\n \"provider.without.code\": \"코드 없음\",\n \"provider.missing.value\": \"상환 금액 입력\",\n \"provider.value.negative\": \"0보다 큰 금액 추가\",\n \"provider.value.bigger.than.could.be\": \"다음 이하의 금액을 입력하세요 \",\n \"toast.rescue.value\": \"금액 \",\n \"toast.rescue.sucess\": \"성공적으로 사용되었습니다!\",\n \"toast.rescue.error\": \"기프트 카드에 금액을 추가하는 중 오류 발생\",\n \"toast.code\": \"코드 \",\n \"toast.copy\": \"복사 성공\",\n \"toast.copy.error\": \"코드 복사 오류\",\n \"toast.without.code\": \"코드 없음\"\n}\n\n```"
}
] |
code_list-wallet_ebbbaf0b
|
[
{
"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 list-wallet/messages/cs.json from the list-wallet VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"titles.value.gift.card\": \"Zůstatek na dárkové kartě: \",\n \"titles.credit\": \"Kredit: \",\n \"titles.redemption\": \"Kód pro uplatnění:\",\n \"input.value.label\": \"Zadejte částku\",\n \"input.value.button\": \"UPLATNIT\",\n \"input.tooltip\": \"Kód pro uplatnění dárkové karty. Tento kód je jedinečný. Můžete ho použít při všech svých nákupech v obchodě.\",\n \"input.value.tooltip\": \"Převeďte své kredity na dárkovou kartu.\",\n \"input.code.label\": \"Kód dárkové karty\",\n \"input.code.placeholder\": \"Kód\",\n \"input.code.button\": \"KOPÍROVACÍ KÓD\",\n \"input.code.loading\": \"Načítání...\",\n \"history.open.button\": \"Výpis\",\n \"history.empty.title\": \"Žádná aktivita\",\n \"history.empty.message\": \"Ve vaší peněžence nedošlo k žádným změnám zůstatku.\",\n \"history.credit.description\": \"Obdržený kredit\",\n \"history.debit.description\": \"Kredit převedený na dárkovou kartu\",\n \"history.credit.status\": \"Kredit\",\n \"history.debit.status\": \"Dluh\",\n \"history.date.title\": \"Datum\",\n \"history.description.title\": \"Popis\",\n \"history.value.title\": \"Částka\",\n \"history.status.title\": \"Stav\",\n \"history.pagination.of\": \"z\",\n \"history.filter.clear\": \"Vymazat filtry\",\n \"history.filter.all\": \"Vše\",\n \"history.filter.is\": \"je\",\n \"history.filter.between\": \"Mezi\",\n \"history.filter.and\": \"a\",\n \"history.filter.date\": \"Datum\",\n \"history.filter.status\": \"Stav\",\n \"history.filter.status.credit\": \"Kredity\",\n \"history.filter.status.debit\": \"Dluhy\",\n \"collapsible.title\": \"Moje peněženka\",\n \"provider.without.code\": \"Žádný kód\",\n \"provider.missing.value\": \"Zadejte uplatňovanou částku\",\n \"provider.value.negative\": \"Přidejte částku vyšší než 0\",\n \"provider.value.bigger.than.could.be\": \"Zadejte částku menší nebo rovnou \",\n \"toast.rescue.value\": \"Množství \",\n \"toast.rescue.sucess\": \"Úspěšně uplatněno!\",\n \"toast.rescue.error\": \"Chyba při přidávání částky na dárkovou kartu\",\n \"toast.code\": \"Kód \",\n \"toast.copy\": \"Úspěšně zkopírováno\",\n \"toast.copy.error\": \"Chybný kód pro kopírování\",\n \"toast.without.code\": \"Žádný kód\"\n}\n\n```"
}
] |
code_list-wallet_e6c0c918
|
[
{
"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 list-wallet/messages/no.json from the list-wallet VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"titles.value.gift.card\": \"Gavekortsaldo: \",\n \"titles.credit\": \"Kreditt: \",\n \"titles.redemption\": \"Generer innløsning:\",\n \"input.value.label\": \"Skriv inn beløpet\",\n \"input.value.button\": \"INNLØS\",\n \"input.tooltip\": \"Kode for å løse inn gavekortet. Denne koden er unik. Bruk den for alle kjøpene dine i butikken.\",\n \"input.value.tooltip\": \"Konverter kredittene dine til gavekortsaldo.\",\n \"input.code.label\": \"Gavekortkode\",\n \"input.code.placeholder\": \"Kode\",\n \"input.code.button\": \"KOPIER KODE\",\n \"input.code.loading\": \"Laster inn...\",\n \"history.open.button\": \"Uttalelse\",\n \"history.empty.title\": \"Ingen aktivitet\",\n \"history.empty.message\": \"Lommeboken har ikke hatt noen balanseendringer.\",\n \"history.credit.description\": \"Kreditt mottatt\",\n \"history.debit.description\": \"Kreditt konvertert til gavekort\",\n \"history.credit.status\": \"Kreditt\",\n \"history.debit.status\": \"Debet\",\n \"history.date.title\": \"Dato\",\n \"history.description.title\": \"Beskrivelse\",\n \"history.value.title\": \"Beløp\",\n \"history.status.title\": \"Status\",\n \"history.pagination.of\": \"fra\",\n \"history.filter.clear\": \"Tilbakestill filtre\",\n \"history.filter.all\": \"Alle\",\n \"history.filter.is\": \"er\",\n \"history.filter.between\": \"Mellom\",\n \"history.filter.and\": \"og\",\n \"history.filter.date\": \"Dato\",\n \"history.filter.status\": \"Status\",\n \"history.filter.status.credit\": \"Kredittenheter\",\n \"history.filter.status.debit\": \"Debetenheter\",\n \"collapsible.title\": \"Min lommebok\",\n \"provider.without.code\": \"Ingen kode\",\n \"provider.missing.value\": \"Skriv inn et innløsningsbeløp\",\n \"provider.value.negative\": \"Legg til et beløp større enn 0\",\n \"provider.value.bigger.than.could.be\": \"Angi et beløp mindre enn eller lik \",\n \"toast.rescue.value\": \"Antall av \",\n \"toast.rescue.sucess\": \"Innløst!\",\n \"toast.rescue.error\": \"Feil ved tillegging av beløp til gavekort\",\n \"toast.code\": \"Kode \",\n \"toast.copy\": \"Kopiert\",\n \"toast.copy.error\": \"Feil ved kopiering av kode\",\n \"toast.without.code\": \"Ingen kode\"\n}\n\n```"
}
] |
code_list-wallet_ee731106
|
[
{
"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 list-wallet/messages/da.json from the list-wallet VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"titles.value.gift.card\": \"Gavekort saldo: \",\n \"titles.credit\": \"Kredit: \",\n \"titles.redemption\": \"Generer indløsning:\",\n \"input.value.label\": \"Indtast beløbet\",\n \"input.value.button\": \"INDLØS\",\n \"input.tooltip\": \"Kode til at indløse gavekort. Denne kode er unik. Brug den til alle dine køb i butikken.\",\n \"input.value.tooltip\": \"Konverter dine kreditter til gavekort saldo.\",\n \"input.code.label\": \"Gavekort kode\",\n \"input.code.placeholder\": \"Kode\",\n \"input.code.button\": \"KOPIÉR KODE\",\n \"input.code.loading\": \"Indlæser...\",\n \"history.open.button\": \"Opgørelse\",\n \"history.empty.title\": \"Ingen aktivitet\",\n \"history.empty.message\": \"Din tegnebog har ikke haft nogle saldoændringer.\",\n \"history.credit.description\": \"Kredit modtaget\",\n \"history.debit.description\": \"Kredit konverteret til gavekort\",\n \"history.credit.status\": \"Kredit\",\n \"history.debit.status\": \"Debet\",\n \"history.date.title\": \"Dato\",\n \"history.description.title\": \"Beskrivelse\",\n \"history.value.title\": \"Beløb\",\n \"history.status.title\": \"Status\",\n \"history.pagination.of\": \"fra\",\n \"history.filter.clear\": \"Ryd filtre\",\n \"history.filter.all\": \"Alle\",\n \"history.filter.is\": \"er\",\n \"history.filter.between\": \"Mellem\",\n \"history.filter.and\": \"og\",\n \"history.filter.date\": \"Dato\",\n \"history.filter.status\": \"Status\",\n \"history.filter.status.credit\": \"Kreditter\",\n \"history.filter.status.debit\": \"Debiteringer\",\n \"collapsible.title\": \"Min tegnebog\",\n \"provider.without.code\": \"Ingen kode\",\n \"provider.missing.value\": \"Angiv et indløsningsbeløb\",\n \"provider.value.negative\": \"Tilføj et beløb større end 0\",\n \"provider.value.bigger.than.could.be\": \"Indtast et beløb mindre end eller lig med \",\n \"toast.rescue.value\": \"Mængde af \",\n \"toast.rescue.sucess\": \"Indløst med succes!\",\n \"toast.rescue.error\": \"Fejl ved tilføjelse af beløb til gavekort\",\n \"toast.code\": \"Kode \",\n \"toast.copy\": \"Kopieret med succes\",\n \"toast.copy.error\": \"Fejl under kopiering af kode\",\n \"toast.without.code\": \"Ingen kode\"\n}\n\n```"
}
] |
code_list-wallet_c0854244
|
[
{
"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 list-wallet/messages/th.json from the list-wallet VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"titles.value.gift.card\": \"ยอดคงเหลือในบัตรกำนัล: \",\n \"titles.credit\": \"เครดิต: \",\n \"titles.redemption\": \"สร้างการเติมเงิน:\",\n \"input.value.label\": \"กรอกจำนวนเงิน\",\n \"input.value.button\": \"เติมเงิน\",\n \"input.tooltip\": \"โค้ดเพื่อเติมเงินในบัตรกำนัล เป็นรหัสที่เป็นเอกลักษณ์ ใช้กับการซื้อทั้งหมดของคุณในร้านค้า\",\n \"input.value.tooltip\": \"แปลงเครดิตของคุณลงในยอดเงินบัตรกำนัล\",\n \"input.code.label\": \"โค้ดบัตรกำนัล:\",\n \"input.code.placeholder\": \"โค้ด\",\n \"input.code.button\": \"คัดลอกโค้ด\",\n \"input.code.loading\": \"กำลังโหลด...\",\n \"history.open.button\": \"สเตทเมนต์\",\n \"history.empty.title\": \"ไม่มีกิจกรรม\",\n \"history.empty.message\": \"กระเป๋าเงินของคุณไม่มีการเปลี่ยนแปลงยอดเงินใด ๆ\",\n \"history.credit.description\": \"รับเครดิตแล้ว\",\n \"history.debit.description\": \"แปลงเครดิตไปที่บัตรกำนัล\",\n \"history.credit.status\": \"เครดิต\",\n \"history.debit.status\": \"เดบิต\",\n \"history.date.title\": \"วันที่\",\n \"history.description.title\": \"คำอธิบาย\",\n \"history.value.title\": \"จำนวน\",\n \"history.status.title\": \"สถานะ\",\n \"history.pagination.of\": \"ตั้งแต่\",\n \"history.filter.clear\": \"ล้างตัวกรอง\",\n \"history.filter.all\": \"ทั้งหมด\",\n \"history.filter.is\": \"เป็น\",\n \"history.filter.between\": \"ระหว่าง\",\n \"history.filter.and\": \"และ\",\n \"history.filter.date\": \"วันที่\",\n \"history.filter.status\": \"สถานะ\",\n \"history.filter.status.credit\": \"เครดิต\",\n \"history.filter.status.debit\": \"เดบิต\",\n \"collapsible.title\": \"กระเป๋าเงินของฉัน\",\n \"provider.without.code\": \"ไม่มีโค้ด\",\n \"provider.missing.value\": \"กรอกจำนวนเงินเติม\",\n \"provider.value.negative\": \"เพิ่มด้วยจำนวนที่มากกว่า 0\",\n \"provider.value.bigger.than.could.be\": \"กรอกจำนวนที่น้อยกว่าหรือเท่ากับ \",\n \"toast.rescue.value\": \"จำนวน \",\n \"toast.rescue.sucess\": \"เติมเงินเรียบร้อยแล้ว!\",\n \"toast.rescue.error\": \"มีข้อผิดพลาดขณะเพิ่มจำนวนเงินในบัตรกำนัล\",\n \"toast.code\": \"โค้ด \",\n \"toast.copy\": \"คัดลอกเรียบร้อยแล้ว\",\n \"toast.copy.error\": \"มีข้อผิดพลาดการคัดลอกโค้ด\",\n \"toast.without.code\": \"ไม่มีโค้ด\"\n}\n\n```"
}
] |
code_list-wallet_3c8ad3ad
|
[
{
"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 list-wallet/messages/sv.json from the list-wallet VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"titles.value.gift.card\": \"Presentkort saldo: \",\n \"titles.credit\": \"Kredit: \",\n \"titles.redemption\": \"Generera inlösning:\",\n \"input.value.label\": \"Ange beloppet\",\n \"input.value.button\": \"INLÖSA\",\n \"input.tooltip\": \"Kod för att lösa in presentkort. Denna kod är unik. Använd den för alla dina inköp i butiken.\",\n \"input.value.tooltip\": \"Omvandla dina krediter till presentkort saldo.\",\n \"input.code.label\": \"Presentkorts kod\",\n \"input.code.placeholder\": \"Kod\",\n \"input.code.button\": \"KOPIERA KOD\",\n \"input.code.loading\": \"Laddar...\",\n \"history.open.button\": \"Uttalande\",\n \"history.empty.title\": \"Ingen aktivitet\",\n \"history.empty.message\": \"Din plånbok har inte haft några saldoändringar.\",\n \"history.credit.description\": \"Kredit mottagen\",\n \"history.debit.description\": \"Kredit omvandlad till presentkort\",\n \"history.credit.status\": \"Kredit\",\n \"history.debit.status\": \"Debet\",\n \"history.date.title\": \"Datum\",\n \"history.description.title\": \"Beskrivning\",\n \"history.value.title\": \"Belopp\",\n \"history.status.title\": \"Status\",\n \"history.pagination.of\": \"från\",\n \"history.filter.clear\": \"Rensa filter\",\n \"history.filter.all\": \"Alla\",\n \"history.filter.is\": \"är\",\n \"history.filter.between\": \"Mellan\",\n \"history.filter.and\": \"och\",\n \"history.filter.date\": \"Datum\",\n \"history.filter.status\": \"Status\",\n \"history.filter.status.credit\": \"Krediter\",\n \"history.filter.status.debit\": \"Debet\",\n \"collapsible.title\": \"Min plånbok\",\n \"provider.without.code\": \"Ingen kod\",\n \"provider.missing.value\": \"Ange ett inlösenbelopp\",\n \"provider.value.negative\": \"Lägg till ett belopp större än 0\",\n \"provider.value.bigger.than.could.be\": \"Ange ett belopp mindre än eller lika med \",\n \"toast.rescue.value\": \"Ett belopp på \",\n \"toast.rescue.sucess\": \"Framgångsrikt inlöst!\",\n \"toast.rescue.error\": \"Kunde inte lägga till beloppet till presentkorten\",\n \"toast.code\": \"Kod \",\n \"toast.copy\": \"Kopierad\",\n \"toast.copy.error\": \"Fel vid kopiering av kod\",\n \"toast.without.code\": \"Ingen kod\"\n}\n\n```"
}
] |
code_list-wallet_cf30d3cc
|
[
{
"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 list-wallet/messages/es.json from the list-wallet VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"titles.value.gift.card\": \"Saldo de la tarjeta de regalo: \",\n \"titles.credit\": \"Crédito: \",\n \"titles.redemption\": \"Canjear:\",\n \"input.value.label\": \"Ingresa el valor\",\n \"input.value.button\": \"CANJEAR\",\n \"input.tooltip\": \"Código para canjear la tarjeta de regalo. Este código es único. Utilízalo en todas tus compras en la tienda.\",\n \"input.value.tooltip\": \"Convierte tus créditos en saldo para la tarjeta de regalo.\",\n \"input.code.label\": \"Código de la tarjeta de regalo\",\n \"input.code.placeholder\": \"Código\",\n \"input.code.button\": \"COPIAR CÓDIGO\",\n \"input.code.loading\": \"Cargando...\",\n \"history.open.button\": \"Estado de cuenta\",\n \"history.empty.title\": \"Ningún movimiento\",\n \"history.empty.message\": \"Tu cartera aún no ha tenido ningún cambio de valores.\",\n \"history.credit.description\": \"Crédito recibido\",\n \"history.debit.description\": \"Crédito convertido en tarjeta de regalo\",\n \"history.credit.status\": \"Entrada\",\n \"history.debit.status\": \"Salida\",\n \"history.date.title\": \"Fecha\",\n \"history.description.title\": \"Descripción\",\n \"history.value.title\": \"Valor\",\n \"history.status.title\": \"Status\",\n \"history.pagination.of\": \"de\",\n \"history.filter.clear\": \"Limpiar filtros\",\n \"history.filter.all\": \"Todo\",\n \"history.filter.is\": \"es\",\n \"history.filter.between\": \"entre\",\n \"history.filter.and\": \"y\",\n \"history.filter.date\": \"Fecha\",\n \"history.filter.status\": \"Status\",\n \"history.filter.status.credit\": \"Entradas\",\n \"history.filter.status.debit\": \"Salidas\",\n \"collapsible.title\": \"Mi cartera\",\n \"provider.without.code\": \"Ningún código\",\n \"provider.missing.value\": \"Insira um valor para resgatar\",\n \"provider.value.negative\": \"Introduce un valor mayor que 0\",\n \"provider.value.bigger.than.could.be\": \"Introduce un valor menor o igual a \",\n \"toast.rescue.value\": \"Valor de \",\n \"toast.rescue.sucess\": \"¡Canjeado con éxito!\",\n \"toast.rescue.error\": \"Error al agregar valor a la tarjeta de regalo\",\n \"toast.code\": \"Código \",\n \"toast.copy\": \"Copiado con éxito\",\n \"toast.copy.error\": \"Error al copiar el código\",\n \"toast.without.code\": \"Ningún código\"\n}\n\n```"
}
] |
code_list-wallet_f723f899
|
[
{
"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 list-wallet/messages/ar.json from the list-wallet VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"titles.value.gift.card\": \"رصيد بطاقة الهدايا: \",\n \"titles.credit\": \"الرصيد: \",\n \"titles.redemption\": \"توليد الاستخلاص:\",\n \"input.value.label\": \"أدخل المبلغ\",\n \"input.value.button\": \"إسترداد\",\n \"input.tooltip\": \"رمز لاسترداد بطاقة الهدايا. هذا الرمز فريد من نوعه. استخدمه لجميع مشترياتك في المتجر.\",\n \"input.value.tooltip\": \"تحويل رصيدك إلى رصيد بطاقة الهدايا.\",\n \"input.code.label\": \"رمز بطاقة الهدايا\",\n \"input.code.placeholder\": \"الرمز\",\n \"input.code.button\": \"نسخ الرمز\",\n \"input.code.loading\": \"جاري التحميل...\",\n \"history.open.button\": \"البيان\",\n \"history.empty.title\": \"لا يوجد نشاط\",\n \"history.empty.message\": \"لم تسجل محفظتك أي تغييرات في الرصيد.\",\n \"history.credit.description\": \"الرصيد المستلم\",\n \"history.debit.description\": \"الرصيد المحوّل إلى بطاقة هدايا\",\n \"history.credit.status\": \"الائتمان\",\n \"history.debit.status\": \"الخصم\",\n \"history.date.title\": \"التاريخ\",\n \"history.description.title\": \"الوصف\",\n \"history.value.title\": \"المبلغ\",\n \"history.status.title\": \"الحالة\",\n \"history.pagination.of\": \"من\",\n \"history.filter.clear\": \"مسح الفلاتر\",\n \"history.filter.all\": \"الكل\",\n \"history.filter.is\": \"هو\",\n \"history.filter.between\": \"بين\",\n \"history.filter.and\": \"و\",\n \"history.filter.date\": \"التاريخ\",\n \"history.filter.status\": \"الحالة\",\n \"history.filter.status.credit\": \"الائتمانات\",\n \"history.filter.status.debit\": \"الخصومات\",\n \"collapsible.title\": \"محفظتى\",\n \"provider.without.code\": \"بدون رمز\",\n \"provider.missing.value\": \"أدخل مبلغ الاسترداد\",\n \"provider.value.negative\": \"إضافة مبلغ أكبر من 0\",\n \"provider.value.bigger.than.could.be\": \"أدخل مبلغ أقل من أو يساوي \",\n \"toast.rescue.value\": \"مبلغ الـ \",\n \"toast.rescue.sucess\": \"تم الدفع بنجاح!\",\n \"toast.rescue.error\": \"خطأ في إضافة مبلغ إلى بطاقة الهدايا\",\n \"toast.code\": \"الرمز \",\n \"toast.copy\": \"تم النسخ بنجاح\",\n \"toast.copy.error\": \"خطأ في نسخ الرمز\",\n \"toast.without.code\": \"بدون رمز\"\n}\n\n```"
}
] |
code_list-wallet_327717e7
|
[
{
"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 list-wallet/docs/README.md from the list-wallet VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```markdown\n# The Wallet of the Gift List Application\n\nThis application is a dependency of the [`vtex.list`](https://github.com/vtex/list) application. This app is a store-front application that allows a list owner to add credits to a gift card that has been previously generated by their gift list.\n\nIn the store, the list owner can check the available credit which can be added to the gift card, and the current balance of their gift card. In addition, it will be possible to make redemptions in the \"Generate Redemption\" field. The gift card code will also be available and can be copied by clicking on the \"Copy Code\" button. To finish, it's possible to see the\nthe account statement of gift card.\n\nThis app depends on `vtex.gift-card-list` configuration to work properly.\n\n```"
}
] |
code_list-wallet_27337cd3
|
[
{
"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 list-wallet/react/WalletList.tsx from the list-wallet VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```tsx\nimport React from 'react'\nimport { PageHeader } from 'vtex.styleguide'\n\nimport './styles.global.css'\nimport ProviderStore from './provider/providerStore'\nimport CollapsibleArea from './Components/collapsibleArea'\n\nconst WalletList: StorefrontFunctionComponent = () => {\n return (\n <ProviderStore>\n <div className=\"bg-muted-5\">\n <PageHeader\n title={\n <div className=\"padding-pageheader\">\n <div>\n <CollapsibleArea />\n </div>\n </div>\n }\n />\n </div>\n </ProviderStore>\n )\n}\n\nexport default WalletList\n\n```"
}
] |
code_list-wallet_c184c4e8
|
[
{
"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 list-wallet/react/package.json from the list-wallet VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"CHANGE_ME\",\n \"version\": \"1.8.1\",\n \"scripts\": {\n \"test\": \"vtex-test-tools test\"\n },\n \"dependencies\": {\n \"@types/big.js\": \"^6.1.3\",\n \"@vtex/styleguide\": \"^9.145.2\",\n \"apollo-client\": \"^2.6.8\",\n \"big.js\": \"6.1.1\",\n \"react\": \"^16.12.0\",\n \"react-apollo\": \"^3.1.3\",\n \"react-dom\": \"^16.12.0\",\n \"react-intl\": \"^3.12.0\"\n },\n \"devDependencies\": {\n \"@apollo/react-testing\": \"^3.1.3\",\n \"@types/jest\": \"^25.1.4\",\n \"@types/node\": \"^13.9.8\",\n \"@types/react\": \"^16.9.31\",\n \"@vtex/test-tools\": \"^3.3.2\",\n \"@vtex/tsconfig\": \"^0.4.4\",\n \"apollo-cache-inmemory\": \"^1.6.5\",\n \"graphql\": \"^14.6.0\",\n \"react-intl-currency-input\": \"^0.2.6\",\n \"typescript\": \"3.9.7\",\n \"vtex.gift-card-list\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.gift-card-list@1.14.0/public/@types/vtex.gift-card-list\",\n \"vtex.list-wallet\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.list-wallet@1.0.1/public/@types/vtex.list-wallet\",\n \"vtex.render-runtime\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.render-runtime@8.132.4/public/@types/vtex.render-runtime\",\n \"vtex.styleguide\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.styleguide@9.146.1/public/@types/vtex.styleguide\"\n }\n}\n\n```"
}
] |
code_list-wallet_4e6ae55f
|
[
{
"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 list-wallet/react/styles.global.css from the list-wallet VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```css\np:disabled {\n background: transparent;\n}\n\n.border-red {\n border-color: red;\n}\n\ninput:read-only {\n background-color: transparent;\n}\n\n.padding-pageheader {\n text-align: center\n}\n\n.rescue {\n text-align: left\n}\n\n.display {\n display: inline;\n}\n\n\n.width-input {\n width: 30%;\n}\n\n.width-divider {\n width: 30%;\n}\n\n.text-align-center {\n text-align: center\n}\n\n.inputs {\n margin-left: auto;\n margin-right: auto;\n}\n\n.ph6 {\n padding-left: 1.5rem;\n padding-right: 1.5rem;\n padding-top: 0em !important;\n padding-bottom: 0em !important;\n}\n\n.b--action-primary,\n.bg-action-primary,\n.bg-action-primary:hover,\n.bg-action-primary:active,\n.bg-action-primary:focus {\n background-color: #134cd8;\n border-color: #134cd8;\n}\n\n.notification-container {\n font-size: 14px;\n box-sizing: border-box;\n position: fixed;\n z-index: 999999\n}\n\n.bottom-left {\n bottom: 12px;\n left: 12px;\n transition: transform .6s ease-in;\n animation: toast-in-left .7s;\n}\n\n.bg-color-sucess {\n background: #5cb85c;\n}\n\n.bg-color-error {\n background: #d9534f;\n}\n\n.notification {\n transition: .3s ease;\n position: relative;\n pointer-events: auto;\n overflow: hidden;\n margin: 0 0 6px;\n padding: 30px;\n margin-bottom: 15px;\n width: 300px;\n max-height: 100px;\n border-radius: 3px 3px 3px 3px;\n box-shadow: 0 0 10px #999;\n color: #000;\n opacity: .9;\n background-position: 15px;\n background-repeat: no-repeat;\n}\n\n.notification-title {\n font-weight: 700;\n font-size: 16px;\n text-align: left;\n margin-top: 0;\n margin-bottom: 6px;\n width: 100%;\n height: 18px;\n}\n\n.notification-middle {\n font-weight: 700;\n font-size: 16px;\n text-align: left;\n margin-top: 2%;\n margin-bottom: 0;\n width: 100%;\n height: 18px;\n}\n\n.notification-message {\n margin: 0;\n text-align: left;\n height: 18px;\n margin-left: -1px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.notification-image {\n float: left;\n margin-right: 15px;\n}\n\n.notification-image img {\n width: 30px;\n height: 30px;\n}\n\n.toast {\n height: 100%;\n width: 130%;\n min-width: 300px;\n color: #fff;\n padding: 20px 15px 20px 10px;\n}\n\n.desktop-or-mobile {\n -webkit-box-pack: justify;\n justify-content: space-between;\n display: flex;\n}\n\n.vtex-modal__modal,\n.vtex-styleguide-9-x-mh100 {\n height: calc(100% / (var(--aspect-ratio)));\n aspect-ratio: 4/3;\n}\n\n@keyframes toast-in-left {\n from {\n transform: translateX(-100%);\n\n }\n\n to {\n transform: translateX(0);\n }\n}\n\n.history {\n position: absolute;\n}\n\n@media screen and (max-width: 85em) {\n .width-input {\n width: 50%;\n }\n\n .width-divider {\n width: 50%;\n }\n\n}\n\n@media screen and (max-width: 40em) {\n .width-input {\n width: 100%;\n }\n\n .width-divider {\n width: 100%;\n }\n\n .money {\n display: block;\n margin-top: 4px;\n }\n\n .history {\n margin-top: 4px;\n position: initial;\n text-align: center;\n display: block;\n }\n\n .toast {\n height: 100%;\n width: 110%;\n min-width: 300px;\n color: #fff;\n padding: 20px 15px 20px 10px;\n }\n\n .desktop-or-mobile {\n display: block\n }\n\n .b--action-primary {\n width: 100%\n }\n\n}\n\n```"
}
] |
code_list-wallet_25599906
|
[
{
"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 list-wallet/store/interfaces.json from the list-wallet VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"store-wallet-list\": {\n \"component\": \"WalletList\"\n }\n}\n\n```"
}
] |
code_list-wallet_c38e34c2
|
[
{
"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 list-wallet/react/typings/storefront.d.ts from the list-wallet VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```typescript\n/* eslint-disable @typescript-eslint/ban-types */\nimport type { FunctionComponent } from 'react'\n\ndeclare global {\n interface StorefrontFunctionComponent<P = {}> extends FunctionComponent<P> {\n getSchema?(props: P): object\n schema?: object\n }\n\n interface StorefrontComponent<P = {}, S = {}> extends Component<P, S> {\n getSchema?(props: P): object\n schema: object\n }\n}\n\n```"
}
] |
code_list-wallet_c0f2f32d
|
[
{
"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 list-wallet/react/typings/tableHistory.d.ts from the list-wallet VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```typescript\ninterface TableHistory {\n value: string\n description: string\n dateAndTime: string\n status: boolean\n}\n\ninterface FilterHistory {\n dateAndTime?: DateRange\n status?: boolean\n}\n\ninterface DateRange {\n startDate: string\n endDate: string\n}\n\n```"
}
] |
code_list-wallet_4089875d
|
[
{
"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 list-wallet/react/typings/gql.d.ts from the list-wallet VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```typescript\ndeclare module '*.gql' {\n import { DocumentNode } from 'graphql'\n\n const Schema: DocumentNode\n\n export default Schema\n}\n\ndeclare module '*.graphql' {\n import { DocumentNode } from 'graphql'\n\n const schema: DocumentNode\n\n export default Schema\n}\n\n```"
}
] |
code_list-wallet_35d1611b
|
[
{
"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 list-wallet/react/typings/css.d.ts from the list-wallet VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```typescript\ndeclare module '*.css' {\n type Styles = {\n [selector: string]: string\n }\n\n const styles: Styles\n\n export default styles\n}\n\n```"
}
] |
code_list-wallet_c11ee9c0
|
[
{
"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 list-wallet/react/queries/getRouteRedemptionCode.gql from the list-wallet VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```graphql\nquery getRouteRedemptionCode {\n getRouteRedemptionCode\n}\n\n```"
}
] |
code_list-wallet_24c49abe
|
[
{
"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 list-wallet/react/queries/getRouteHistory.gql from the list-wallet VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```graphql\nquery getRouteHistory(\n $page: Int\n $pageSize: Int\n $filters: HistoryFiltersInput\n $sorting: HistorySortingInput\n ) {\n getRouteHistory(page: $page, pageSize: $pageSize, filters: $filters, sorting: $sorting) {\n value\n dateAndTime\n }\n}\n```"
}
] |
code_list-wallet_2b45e84d
|
[
{
"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 list-wallet/react/queries/updateGiftCard.gql from the list-wallet VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```graphql\nmutation updateGiftCard($value: Float){\n updateGiftCard(value: $value) @context(provider: \"vtexbr.gift-card-list@0.x\")\n}\n\n```"
}
] |
code_list-wallet_3225704e
|
[
{
"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 list-wallet/react/queries/getValueAlreadyInGiftCard.gql from the list-wallet VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```graphql\nquery getValueAlreadyInGiftCard{\n getValueAlreadyInGiftCard\n}\n\n```"
}
] |
code_list-wallet_51fbe873
|
[
{
"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 list-wallet/react/provider/providerStore.tsx from the list-wallet VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```tsx\nimport type { FC } from 'react'\nimport React, { useEffect, useState } from 'react'\nimport { useLazyQuery, useMutation, useQuery } from 'react-apollo'\nimport { useIntl } from 'react-intl'\nimport { useRuntime } from 'vtex.render-runtime'\n\nimport { provider, historyMessages } from '../utils/definedMessages'\nimport updateGiftCard from '../queries/updateGiftCard.gql'\nimport getValueTotalList from '../queries/getValueTotalList.gql'\nimport getRouteRedemptionCode from '../queries/getRouteRedemptionCode.gql'\nimport getValueGiftCard from '../queries/getValueGiftCard.gql'\nimport getValueAlreadyInGiftCard from '../queries/getValueAlreadyInGiftCard.gql'\nimport getRouteHistory from '../queries/getRouteHistory.gql'\nimport { ShowAlertOptions } from '../utils/showAlertOptions'\nimport { ContextStore } from '../hooks/useStore'\n\nconst ProviderStore: FC = (props) => {\n const intl = useIntl()\n const { culture } = useRuntime()\n const [rescue, setRescue] = useState(0)\n const [button, setButton] = useState(false)\n const [addValueGiftCard, setAddValueGiftCard] = useState<string>()\n const [validation, setValidation] = useState('')\n const [valueGiftCard, setValueGiftCard] = useState(0)\n const [code, setCode] = useState(intl.formatMessage(provider.withoutCode))\n const [showAlert, setShowAlert] = useState(ShowAlertOptions.notShow)\n const [credit, setCredit] = useState(0)\n const [history, setHistory] = useState<TableHistory[]>([])\n const [loading, setLoading] = useState(false)\n const [loadingCode, setLoadingCode] = useState(false)\n const [isGiftCardFieldInvalid, setIsGiftCardFieldInvalid] = useState(false)\n const [loadingGiftCard, setLoadingGiftCard] = useState(false)\n const [loadingRedemptionCode, setLoadingRedemptionCode] = useState(false)\n const [loadingCredit, setLoadingCredit] = useState(false)\n const [loadingHistory, setLoadingHistory] = useState(false)\n const [filterHistory, setFilterHistory] = useState<FilterHistory>()\n\n const [updateGiftCardMutation] = useMutation(updateGiftCard)\n const { data: dataValueTotalList } = useQuery(getValueTotalList)\n\n const {\n data: dataRedemptionCode,\n refetch: refetchGetRedemptionCode,\n loading: loadingRedemptionCodeRoute,\n } = useQuery(getRouteRedemptionCode, {\n fetchPolicy: 'cache-and-network',\n })\n\n const {\n data: dataGetValueGiftCard,\n refetch: refetchGetValueGiftCard,\n loading: loadingValueGiftCard,\n } = useQuery(getValueGiftCard, {\n fetchPolicy: 'cache-and-network',\n })\n\n const {\n data: dataGetValueAlreadyInGiftCard,\n refetch: refetchValueAlreadyInGiftCard,\n loading: loadingValueAlreadyInGiftCard,\n } = useQuery(getValueAlreadyInGiftCard, {\n fetchPolicy: 'cache-and-network',\n })\n\n const [\n searchHistory,\n {\n data: dataGetRouteHistory,\n refetch: refetchGetRouteHistory,\n loading: loadingGetRouteHistory,\n },\n ] = useLazyQuery(getRouteHistory, {\n fetchPolicy: 'cache-and-network',\n })\n\n useEffect(() => {\n setLoadingGiftCard(loadingValueGiftCard)\n }, [loadingValueGiftCard])\n\n useEffect(() => {\n setLoadingCredit(loadingValueAlreadyInGiftCard)\n }, [loadingValueAlreadyInGiftCard])\n\n useEffect(() => {\n setLoadingRedemptionCode(loadingRedemptionCodeRoute)\n }, [loadingRedemptionCodeRoute])\n\n useEffect(() => {\n setLoadingHistory(loadingHistory)\n }, [loadingHistory])\n\n useEffect(() => {\n searchHistory({ variables: { filters: filterHistory } })\n }, [filterHistory])\n\n useEffect(() => {\n const giftCard = dataGetValueAlreadyInGiftCard?.getValueAlreadyInGiftCard\n let list = dataValueTotalList?.getValueTotalList\n\n if (giftCard !== undefined && list !== undefined) {\n list /= 100\n setCredit(Number((list - giftCard).toFixed(2)))\n }\n }, [dataGetValueAlreadyInGiftCard, dataGetValueGiftCard, dataValueTotalList])\n\n useEffect(() => {\n const redemptionCode = dataRedemptionCode?.getRouteRedemptionCode\n\n if (redemptionCode !== 'failed' && redemptionCode !== undefined) {\n setCode(redemptionCode)\n }\n }, [dataRedemptionCode])\n\n useEffect(() => {\n const value = dataGetValueGiftCard?.getValueGiftCard\n\n if (value !== undefined) {\n setValueGiftCard(value)\n }\n }, [dataGetValueGiftCard])\n\n useEffect(() => {\n const getHistory = dataGetRouteHistory?.getRouteHistory\n\n if (\n getHistory === undefined ||\n (getHistory.length === 1 && getHistory[0].value === null)\n ) {\n return\n }\n\n let tableHistory: TableHistory[] = []\n const options = {\n timeZone: 'UTC',\n year: 'numeric' as const,\n month: 'short' as const,\n day: 'numeric' as const,\n }\n\n tableHistory = getHistory.map(\n (item: { value: number; dateAndTime: string }) => {\n return {\n value:\n (culture.customCurrencySymbol as string) +\n Math.abs(item.value / 100).toLocaleString(culture.locale, {\n minimumFractionDigits: 2,\n }),\n description:\n item.value > 0\n ? intl.formatMessage(historyMessages.creditDescription)\n : intl.formatMessage(historyMessages.debitDescription),\n dateAndTime: new Date(item.dateAndTime).toLocaleString(\n culture.locale,\n options\n ),\n status: item.value > 0,\n }\n }\n )\n setHistory(tableHistory.reverse())\n }, [dataGetRouteHistory, loadingGetRouteHistory])\n\n const handleCloseAlert = () => {\n setShowAlert(ShowAlertOptions.notShow)\n }\n\n function validationValue() {\n if (addValueGiftCard === undefined) {\n setValidation(intl.formatMessage(provider.missingValue))\n setIsGiftCardFieldInvalid(true)\n\n return false\n }\n\n if (parseFloat(addValueGiftCard) <= 0) {\n setValidation(intl.formatMessage(provider.negativeValue))\n setIsGiftCardFieldInvalid(true)\n\n return false\n }\n\n if (parseFloat(addValueGiftCard) > credit) {\n setValidation(\n intl.formatMessage(provider.biggerThanCouldBe) +\n credit.toLocaleString(culture.locale, { minimumFractionDigits: 2 })\n )\n setIsGiftCardFieldInvalid(true)\n\n return false\n }\n\n setIsGiftCardFieldInvalid(false)\n\n return true\n }\n\n async function updateGiftCardFunction() {\n setLoading(true)\n setShowAlert(ShowAlertOptions.notShow)\n const valid = validationValue()\n\n if (valid) {\n const { data } = await updateGiftCardMutation({\n variables: {\n value: parseFloat(addValueGiftCard as string),\n },\n })\n\n if (data.updateGiftCard === 'success') {\n if (code === intl.formatMessage(provider.withoutCode)) {\n const interval = setInterval(async () => {\n const updateGetRedemptionCode = await refetchGetRedemptionCode()\n const updateGetValueGiftCard = await refetchGetValueGiftCard()\n const updateValueAlreadyInGiftCard =\n await refetchValueAlreadyInGiftCard()\n\n if (\n updateGetRedemptionCode?.data?.getRouteRedemptionCode !==\n 'failed' &&\n updateGetValueGiftCard?.data?.getValueGiftCard > 0 &&\n updateValueAlreadyInGiftCard?.data?.getValueAlreadyInGiftCard > 0\n ) {\n clearInterval(interval)\n\n setRescue(parseFloat(addValueGiftCard as string))\n setShowAlert(ShowAlertOptions.alertSave)\n setAddValueGiftCard('0')\n setLoading(false)\n }\n }, 2000)\n\n return\n }\n\n refetchGetValueGiftCard()\n refetchValueAlreadyInGiftCard()\n setRescue(parseFloat(addValueGiftCard as string))\n setShowAlert(ShowAlertOptions.alertSave)\n setAddValueGiftCard('0')\n refetchGetRouteHistory()\n } else {\n setShowAlert(ShowAlertOptions.alertError)\n }\n\n setLoading(false)\n\n return\n }\n\n setLoading(false)\n }\n\n function copyCode() {\n setLoadingCode(true)\n setShowAlert(ShowAlertOptions.notShow)\n\n if (code === intl.formatMessage(provider.withoutCode)) {\n setShowAlert(ShowAlertOptions.alertWithoutCode)\n setLoadingCode(false)\n\n return\n }\n\n if (!navigator.clipboard) {\n setShowAlert(ShowAlertOptions.alertCopyError)\n setLoadingCode(false)\n\n return\n }\n\n navigator.clipboard.writeText(code)\n setShowAlert(ShowAlertOptions.alertCopySuccess)\n setLoadingCode(false)\n }\n\n return (\n <ContextStore.Provider\n value={{\n button,\n setButton,\n valueGiftCard,\n code,\n addValueGiftCard,\n setAddValueGiftCard,\n updateGiftCardFunction,\n validation,\n setValidation,\n showAlert,\n setShowAlert,\n handleCloseAlert,\n credit,\n history,\n copyCode,\n loading,\n loadingCode,\n rescue,\n isGiftCardFieldInvalid,\n setIsGiftCardFieldInvalid,\n loadingGiftCard,\n loadingCredit,\n loadingRedemptionCode,\n loadingHistory,\n loadingGetRouteHistory,\n setFilterHistory,\n }}\n >\n {props.children}\n </ContextStore.Provider>\n )\n}\n\nexport default ProviderStore\n\n```"
}
] |
code_list-wallet_96d5cb47
|
[
{
"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 list-wallet/react/utils/definedMessages.ts from the list-wallet VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```typescript\nimport { defineMessages } from 'react-intl'\n\nexport const input = defineMessages({\n valueTooltip: { id: 'input.value.tooltip' },\n valueLabel: { id: 'input.value.label' },\n valueButton: { id: 'input.value.button' },\n codePlaceholder: { id: 'input.code.placeholder' },\n codeLabel: { id: 'input.code.label' },\n codeButton: { id: 'input.code.button' },\n tooltip: { id: 'input.tooltip' },\n loading: { id: 'input.code.loading' },\n})\n\nexport const historyMessages = defineMessages({\n openHistory: { id: 'history.open.button' },\n emptyHistoryTitle: { id: 'history.empty.title' },\n emptyHistoryMessage: { id: 'history.empty.message' },\n creditDescription: { id: 'history.credit.description' },\n debitDescription: { id: 'history.debit.description' },\n dateTitle: { id: 'history.date.title' },\n descriptionTitle: { id: 'history.description.title' },\n valueTitle: { id: 'history.value.title' },\n statusTitle: { id: 'history.status.title' },\n creditStatus: { id: 'history.credit.status' },\n debitStatus: { id: 'history.debit.status' },\n paginationOf: { id: 'history.pagination.of' },\n filterClear: { id: 'history.filter.clear' },\n filterAll: { id: 'history.filter.all' },\n filterIs: { id: 'history.filter.is' },\n filterBetween: { id: 'history.filter.between' },\n filterAnd: { id: 'history.filter.and' },\n filterDate: { id: 'history.filter.date' },\n filterStatus: { id: 'history.filter.status' },\n filterStatusCredit: { id: 'history.filter.status.credit' },\n filterStatusDebit: { id: 'history.filter.status.debit' },\n})\n\nexport const titles = defineMessages({\n valueGiftCard: { id: 'titles.value.gift.card' },\n redemption: { id: 'titles.redemption' },\n credit: { id: 'titles.credit' },\n})\n\nexport const collapsible = defineMessages({\n title: { id: 'collapsible.title' },\n})\n\nexport const provider = defineMessages({\n withoutCode: { id: 'provider.without.code' },\n negativeValue: { id: 'provider.value.negative' },\n biggerThanCouldBe: { id: 'provider.value.bigger.than.could.be' },\n missingValue: { id: 'provider.missing.value' },\n})\n\nexport const toast = defineMessages({\n rescueValue: { id: 'toast.rescue.value' },\n rescueSucess: { id: 'toast.rescue.sucess' },\n rescueError: { id: 'toast.rescue.error' },\n code: { id: 'toast.code' },\n copy: { id: 'toast.copy' },\n copyError: { id: 'toast.copy.error' },\n withoutCode: { id: 'toast.without.code' },\n})\n\n```"
}
] |
code_list-wallet_63e7c5e1
|
[
{
"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 list-wallet/react/utils/showAlertOptions.ts from the list-wallet VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```typescript\nexport const enum ShowAlertOptions {\n notShow = 0,\n alertSave = 1,\n alertError = 2,\n alertCopySuccess = 3,\n alertCopyError = 4,\n alertWithoutCode = 5,\n}\n\n```"
}
] |
code_list-wallet_15134252
|
[
{
"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 list-wallet/react/Components/inputButtonArea.tsx from the list-wallet VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```tsx\nimport type { FC } from 'react'\nimport React from 'react'\nimport { useIntl } from 'react-intl'\nimport IntlCurrencyInput from 'react-intl-currency-input'\nimport { Tooltip, IconInfo, Button, Input } from 'vtex.styleguide'\nimport { useRuntime } from 'vtex.render-runtime'\n\nimport { useStore } from '../hooks/useStore'\nimport '../styles.global.css'\nimport { input } from '../utils/definedMessages'\nimport ValidationArea from './validationsArea'\n\nconst InputButtonArea: FC = () => {\n const intl = useIntl()\n\n const { culture } = useRuntime()\n const {\n code,\n updateGiftCardFunction,\n setAddValueGiftCard,\n copyCode,\n setValidation,\n loading,\n loadingCode,\n addValueGiftCard,\n isGiftCardFieldInvalid,\n setIsGiftCardFieldInvalid,\n loadingRedemptionCode,\n } = useStore()\n\n function submitFunctionValueButton(e: React.MouseEvent<HTMLButtonElement>) {\n e.preventDefault()\n updateGiftCardFunction()\n }\n\n function submitFunctionCodeButton(e: React.FormEvent<HTMLFormElement>) {\n e.preventDefault()\n copyCode()\n }\n\n const currencyConfig = {\n locale: culture.locale,\n formats: {\n number: {\n currency: {\n style: 'currency',\n currency: culture.currency,\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n },\n },\n },\n }\n\n const handleBlur = (\n event: React.FormEvent<HTMLFormElement>,\n value: string\n ) => {\n event.preventDefault()\n setAddValueGiftCard(value)\n }\n\n const handleFocus = (event: React.FormEvent<HTMLFormElement>) => {\n event.preventDefault()\n setValidation('')\n if (isGiftCardFieldInvalid) setIsGiftCardFieldInvalid(false)\n }\n\n return (\n <>\n <div className=\"mb3 width-input mt5 inputs t-body mw9 rescue\">\n <div>\n {intl.formatMessage(input.valueLabel)}\n <Tooltip label={intl.formatMessage(input.valueTooltip)}>\n <span className=\"c-on-base pointer ml2 mt2\">\n <IconInfo />\n </span>\n </Tooltip>\n </div>\n <div className=\"w-100\">\n <div className=\"desktop-or-mobile rescue\">\n <div className=\"lh-copy w-100\">\n <label className=\"vtex-input w-100\">\n <div\n className={`vtex-input-prefix__group flex flex-row items-stretch overflow-hidden br2 bw1 b--solid b--muted-4 hover-b--muted-3 h-large ${\n isGiftCardFieldInvalid ? 'border-red' : ''\n }`}\n >\n <IntlCurrencyInput\n defaultValue={parseFloat(addValueGiftCard as string)}\n currency=\"currency\"\n config={currencyConfig}\n onFocus={handleFocus}\n onBlur={handleBlur}\n className=\"vtex-styleguide-9-x-input ma0 border-box vtex-styleguide-9-x-hideDecorators vtex-styleguide-9-x-noAppearance br2 bl-0 br--right w-100 bn outline-0 bg-base c-on-base b--muted-4 hover-b--muted-3 t-body pr5 \"\n disabled={loading}\n data-testid=\"intl-currency-input\"\n />\n </div>\n </label>\n </div>\n <div className=\"ml2 mt2\">\n <Button\n onClick={submitFunctionValueButton}\n isLoading={loading}\n testId=\"button-input-currency\"\n >\n {intl.formatMessage(input.valueButton)}\n </Button>\n </div>\n </div>\n <ValidationArea />\n </div>\n </div>\n <div className=\"mb3 mt7 width-input inputs t-body mw9 rescue\">\n <div>\n {intl.formatMessage(input.codeLabel)}\n <Tooltip label={intl.formatMessage(input.tooltip)}>\n <span className=\"c-on-base pointer ml2 mt2\">\n <IconInfo />\n </span>\n </Tooltip>\n </div>\n <div className=\"w-100\">\n <div className=\"desktop-or-mobile rescue\">\n <div className=\"lh-copy w-100\">\n <Input\n value={\n loadingRedemptionCode\n ? intl.formatMessage(input.loading)\n : code\n }\n placeholder={intl.formatMessage(input.codePlaceholder)}\n readOnly={true}\n size=\"large\"\n testId=\"input-test-id\"\n />\n </div>\n <div className=\"ml2 mt2\">\n <Button\n onClick={submitFunctionCodeButton}\n isLoading={loadingCode}\n testId=\"button-input\"\n >\n {intl.formatMessage(input.codeButton)}\n </Button>\n </div>\n </div>\n </div>\n </div>\n </>\n )\n}\n\nexport default InputButtonArea\n\n```"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.