{"version":3,"file":"Merken_Selectie.BJBq2YSH.mjs","names":[],"sources":["https:/framerusercontent.com/modules/4mPaDHOvcVifCTIP0CsB/obTGCCpz9luTfxG3ZEot/Merken_Selectie.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * MERKEN / LOGO GRID COMPONENT\n * Nu met afbeeldingen die het volledige blok vullen.\n */export default function BrandLogos(props){const{items,columnsDesktop,gap,blockHeight,sectionPaddingTop,sectionPaddingBottom,maxWidth,sectionBg,blockBg,borderColor,hoverBorderColor,textColor,textHoverColor,borderRadius}=props;const uniqueClass=\"brand-grid-\"+Math.random().toString(36).substr(2,9);const handleLinkClick=(e,link,isNewTab)=>{if(!link)return;if(isNewTab)return;if(link.includes(\"#\")){const targetId=link.split(\"#\")[1];const targetElement=document.getElementById(targetId);if(targetElement){e.preventDefault();targetElement.scrollIntoView({behavior:\"smooth\",block:\"start\"});}}};const css=`\n        .${uniqueClass} {\n            width: 100%;\n            display: flex;\n            justify-content: center;\n            background-color: ${sectionBg};\n            padding: ${sectionPaddingTop}px 20px ${sectionPaddingBottom}px 20px;\n            box-sizing: border-box;\n            font-family: 'Inter', sans-serif;\n        }\n\n        .grid-container {\n            width: 100%;\n            max-width: ${maxWidth}px;\n            display: grid;\n            gap: ${gap}px;\n            grid-template-columns: repeat(${columnsDesktop}, 1fr);\n        }\n\n        .brand-block {\n            background-color: ${blockBg};\n            border: 1px solid ${borderColor};\n            border-radius: ${borderRadius}px;\n            height: ${blockHeight}px;\n            display: flex;\n            align-items: center;\n            justify-content: center;\n            text-decoration: none;\n            color: ${textColor};\n            font-weight: 600;\n            font-size: 16px;\n            /* Padding verwijderd zodat afbeelding de rand raakt */\n            padding: 0; \n            box-sizing: border-box;\n            transition: all 0.3s ease;\n            cursor: pointer;\n            overflow: hidden;\n            text-align: center;\n            position: relative;\n        }\n\n        a.brand-block:hover {\n            transform: translateY(-4px);\n            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);\n            border-color: ${hoverBorderColor};\n            color: ${textHoverColor};\n        }\n\n        .brand-logo {\n            width: 100%;\n            height: 100%;\n            /* 'cover' zorgt dat het blokje volledig gevuld wordt */\n            object-fit: cover;\n            transition: transform 0.3s ease;\n            display: block;\n        }\n\n        /* Voor tekstitems voegen we nog wel wat padding toe zodat de tekst niet tegen de rand staat */\n        .brand-text-content {\n            padding: 16px;\n        }\n\n        a.brand-block:hover .brand-logo {\n            transform: scale(1.05);\n        }\n\n        @media (max-width: 1024px) {\n            .grid-container {\n                grid-template-columns: repeat(3, 1fr);\n            }\n        }\n\n        @media (max-width: 768px) {\n            .grid-container {\n                grid-template-columns: repeat(2, 1fr);\n                gap: ${gap*.8}px;\n            }\n            .brand-block {\n                height: ${blockHeight*.8}px;\n                font-size: 14px;\n            }\n        }\n    `;return /*#__PURE__*/_jsxs(\"div\",{className:uniqueClass,style:props.style,children:[/*#__PURE__*/_jsx(\"style\",{children:css}),/*#__PURE__*/_jsx(\"div\",{className:\"grid-container\",children:items.map((item,index)=>{const content=item.type===\"image\"&&item.image?/*#__PURE__*/_jsx(\"img\",{src:item.image,alt:\"Brand\",className:\"brand-logo\"}):/*#__PURE__*/_jsx(\"span\",{className:\"brand-text-content\",children:item.text});const commonProps={key:index,className:\"brand-block\",onClick:e=>handleLinkClick(e,item.link,item.newTab)};if(item.link){return /*#__PURE__*/_jsx(\"a\",{...commonProps,href:item.link,target:item.newTab?\"_blank\":\"_self\",rel:item.newTab?\"noopener noreferrer\":undefined,children:content});}return /*#__PURE__*/_jsx(\"div\",{...commonProps,children:content});})})]});}// ... de rest van de propertyControls blijft hetzelfde ...\nconst defaultItems=[{type:\"text\",text:\"Nordson\",link:\"\",newTab:false},{type:\"text\",text:\"RobaTech\",link:\"\",newTab:false},{type:\"text\",text:\"Meler\",link:\"\",newTab:false},{type:\"text\",text:\"ValcoMelton\",link:\"\",newTab:false},{type:\"text\",text:\"TEN+ & Dynatec\",link:\"\",newTab:false},{type:\"text\",text:\"Specials\",link:\"\",newTab:false}];addPropertyControls(BrandLogos,{items:{type:ControlType.Array,title:\"Blokjes\",control:{type:ControlType.Object,title:\"Item\",controls:{type:{type:ControlType.Enum,title:\"Type Content\",options:[\"text\",\"image\"],optionTitles:[\"Tekst\",\"Afbeelding\"],defaultValue:\"text\"},text:{type:ControlType.String,title:\"Tekst\",defaultValue:\"Merknaam\",hidden:props=>props.type!==\"text\"},image:{type:ControlType.Image,title:\"Afbeelding Logo\",hidden:props=>props.type!==\"image\"},link:{type:ControlType.Link,title:\"Link\"},newTab:{type:ControlType.Boolean,title:\"Nieuw Tabblad\",defaultValue:false}}},defaultValue:defaultItems},columnsDesktop:{type:ControlType.Number,title:\"Kolommen Desktop\",defaultValue:6,min:2,max:8},gap:{type:ControlType.Number,title:\"Tussenruimte\",defaultValue:20,min:0,max:60},blockHeight:{type:ControlType.Number,title:\"Hoogte Blokje\",defaultValue:80,min:40,max:200},maxWidth:{type:ControlType.Number,title:\"Max Breedte\",defaultValue:1200},sectionPaddingTop:{type:ControlType.Number,title:\"Padding Boven\",defaultValue:60},sectionPaddingBottom:{type:ControlType.Number,title:\"Padding Onder\",defaultValue:60},sectionBg:{type:ControlType.Color,title:\"Achtergrond Sectie\",defaultValue:\"#F8F9FA\"},blockBg:{type:ControlType.Color,title:\"Achtergrond Blokje\",defaultValue:\"#FFFFFF\"},borderColor:{type:ControlType.Color,title:\"Kleur Rand\",defaultValue:\"#E5E7EB\"},hoverBorderColor:{type:ControlType.Color,title:\"Hover Rand\",defaultValue:\"#0055B0\"},textColor:{type:ControlType.Color,title:\"Tekstkleur\",defaultValue:\"#111827\"},textHoverColor:{type:ControlType.Color,title:\"Hover Tekst\",defaultValue:\"#0055B0\"},borderRadius:{type:ControlType.Number,title:\"Afronding Randen\",defaultValue:8,min:0,max:50}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"BrandLogos\",\"slots\":[],\"annot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