challenge-vtex-io-henrique-.../store/blocks/pdp/product-specifications-table.jsonc

171 lines
3.7 KiB
Plaintext

{
"flex-layout.row#product-specifications": {
"props": {
"blockClass": "productSpecifications"
},
"children": ["tab-layout#product-specification"]
},
"tab-layout#product-specification": {
"children": [
"tab-list#product-specification",
"tab-content#product-specification"
]
},
"tab-list#product-specification": {
"props": {
"blockClass": "ProductSpecificationTabList"
},
"children": [
"tab-list.item#specification-1",
"tab-list.item#specification-2",
"tab-list.item#specification-3",
"tab-list.item#specification-4",
"tab-list.item#specification-5"
]
},
"tab-list.item#specification-1": {
"props": {
"tabId": "descriptionSpecificationsId",
"label": "Descrição",
"defaultActiveTab": true
}
},
"tab-list.item#specification-2": {
"props": {
"tabId": "productTableSpecificationsId",
"label": "Especificações"
}
},
"tab-list.item#specification-3": {
"props": {
"tabId": "productVendorId",
"label": "Vendedor"
}
},
"tab-list.item#specification-4": {
"props": {
"tabId": "productLocationId",
"label": "Localização"
}
},
"tab-list.item#specification-5": {
"props": {
"tabId": "productFAQsId",
"label": "FAQs"
}
},
"tab-content#product-specification": {
"children": [
"tab-content.item#specification-1",
"tab-content.item#specification-2",
"tab-content.item#specification-3",
"tab-content.item#specification-4",
"tab-content.item#specification-5"
]
},
"tab-content.item#specification-1": {
"children": ["flex-layout.row#product-specification-1"],
"props": {
"tabId": "descriptionSpecificationsId"
}
},
"tab-content.item#specification-2": {
"children": ["flex-layout.row#product-specification-2"],
"props": {
"tabId": "productTableSpecificationsId"
}
},
"tab-content.item#specification-3": {
"children": ["flex-layout.row#product-specification-1"],
"props": {
"tabId": "productVendorId"
}
},
"tab-content.item#specification-4": {
"children": ["flex-layout.row#product-specification-2"],
"props": {
"tabId": "productLocationId"
}
},
"tab-content.item#specification-5": {
"children": ["flex-layout.row#product-specification-1"],
"props": {
"tabId": "productFAQsId"
}
},
"flex-layout.row#product-specification-1": {
"props": {
"blockClass": "productSpecificationItemContainer",
"colGap": 7,
"marginTop": 7,
"rowGap": 5
},
"children": [
"product-images#product-specification",
"flex-layout.row#description-1"
]
},
"flex-layout.row#product-specification-2": {
"props": {
"blockClass": "productSpecificationItemContainer",
"colGap": 7,
"marginTop": 7,
"rowGap": 5
},
"children": [
"product-images#product-specification",
"flex-layout.row#description-2"
]
},
"product-images#product-specification": {
"props": {
"aspectRatio": "1:1",
"displayMode": "first-image"
}
},
"flex-layout.row#description-1": {
"props": {
"marginBottom": 7
},
"children": ["product-description#product-specification-1"]
},
"flex-layout.row#description-2": {
"props": {
"marginBottom": 7
},
"children": ["product-description#product-specification-2"]
},
"product-description#product-specification-1": {
"props": {
"collapseContent": false
}
},
"product-description#product-specification-2": {
"props": {
"collapseContent": false,
"title": "Descrição"
}
}
}