{"version":3,"file":"TestGrid.BsmDcTDb.mjs","names":[],"sources":["https:/framerusercontent.com/modules/5yd6YTM1l0ijeqXnLQqO/h4VF0CCh0DJrpM27tcCk/TestGrid.js"],"sourcesContent":["// Grid component replicating the exact table layout with Full Light Tester and Parallel Light Tester data\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Test Grid Component - Replicates exact grid layout with Full Light Tester and Parallel Light Tester data\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function TestGrid(props){const{items,backgroundColor,headerBackgroundColor,borderColor,textColor,headerTextColor,font,headerFont}=props;const isMobile=typeof window!==\"undefined\"&&window.innerWidth<=768;const cellStyle={padding:isMobile?\"6px 8px\":\"8px 12px\",border:`1px solid ${borderColor}`,textAlign:\"center\",...font,fontSize:isMobile?\"12px\":font.fontSize||\"14px\",color:textColor,backgroundColor:backgroundColor,minWidth:isMobile?\"80px\":\"auto\",whiteSpace:\"nowrap\"};const headerCellStyle={padding:isMobile?\"6px 8px\":\"8px 12px\",border:`1px solid ${borderColor}`,textAlign:\"center\",...headerFont,fontSize:isMobile?\"12px\":headerFont.fontSize||\"14px\",color:headerTextColor,backgroundColor:headerBackgroundColor,fontWeight:\"bold\",minWidth:isMobile?\"80px\":\"auto\",whiteSpace:\"nowrap\"};return /*#__PURE__*/_jsx(\"div\",{style:{...props.style,position:\"relative\",width:\"100%\",overflow:\"auto\",WebkitOverflowScrolling:\"touch\"},children:/*#__PURE__*/_jsxs(\"table\",{style:{width:\"100%\",minWidth:isMobile?\"600px\":\"100%\",borderCollapse:\"collapse\",border:`1px solid ${borderColor}`},children:[/*#__PURE__*/_jsxs(\"thead\",{children:[/*#__PURE__*/_jsxs(\"tr\",{children:[/*#__PURE__*/_jsx(\"th\",{style:headerCellStyle,children:\"Items\"}),/*#__PURE__*/_jsx(\"th\",{style:headerCellStyle,colSpan:3,children:\"Full Light Tester\"}),/*#__PURE__*/_jsx(\"th\",{style:headerCellStyle,colSpan:3,children:\"Parallel Light Tester\"})]}),/*#__PURE__*/_jsxs(\"tr\",{children:[/*#__PURE__*/_jsx(\"th\",{style:headerCellStyle}),/*#__PURE__*/_jsx(\"th\",{style:headerCellStyle,children:\"ON/OFF\"}),/*#__PURE__*/_jsx(\"th\",{style:headerCellStyle,children:\"Haze\"}),/*#__PURE__*/_jsx(\"th\",{style:headerCellStyle,children:\"Full Light Transmittance\"}),/*#__PURE__*/_jsx(\"th\",{style:headerCellStyle,children:\"Iv Value\"}),/*#__PURE__*/_jsx(\"th\",{style:headerCellStyle,children:\"45\\xb0 Light\"}),/*#__PURE__*/_jsx(\"th\",{style:headerCellStyle,children:\"Parallel Light\"})]})]}),/*#__PURE__*/_jsx(\"tbody\",{children:items.map((item,index)=>/*#__PURE__*/_jsxs(\"tr\",{children:[/*#__PURE__*/_jsx(\"td\",{style:cellStyle,children:item.item}),/*#__PURE__*/_jsx(\"td\",{style:cellStyle,children:item.fullLightOnOff}),/*#__PURE__*/_jsx(\"td\",{style:cellStyle,children:item.fullLightHaze}),/*#__PURE__*/_jsx(\"td\",{style:cellStyle,children:item.fullLightTransmittance}),/*#__PURE__*/_jsx(\"td\",{style:cellStyle,children:item.parallelLightValue}),/*#__PURE__*/_jsx(\"td\",{style:cellStyle,children:item.parallelLightLight}),/*#__PURE__*/_jsx(\"td\",{style:cellStyle,children:item.parallelLightParallel})]},index))})]})});}addPropertyControls(TestGrid,{items:{type:ControlType.Array,control:{type:ControlType.Object,controls:{item:{type:ControlType.String,title:\"Item Name\",defaultValue:\"Adhesive PNLC Film\"},fullLightOnOff:{type:ControlType.String,title:\"ON/OFF\",defaultValue:\"OFF\"},fullLightHaze:{type:ControlType.String,title:\"Haze\",defaultValue:\"7\"},fullLightTransmittance:{type:ControlType.String,title:\"Transmittance\",defaultValue:\"90.0\"},parallelLightValue:{type:ControlType.String,title:\"Iv Value\",defaultValue:\"3.65\"},parallelLightLight:{type:ControlType.String,title:\"45\\xb0 Light\",defaultValue:\"800\"},parallelLightParallel:{type:ControlType.String,title:\"Parallel Light\",defaultValue:\"85.0\"}}},defaultValue:[{item:\"Adhesive PNLC Film\",fullLightOnOff:\"OFF\",fullLightHaze:\"7\",fullLightTransmittance:\"90.0\",parallelLightValue:\"3.65\",parallelLightLight:\"800\",parallelLightParallel:\"85.0\"},{item:\"\",fullLightOnOff:\"ON\",fullLightHaze:\"92\",fullLightTransmittance:\"88.0\",parallelLightValue:\"4.42\",parallelLightLight:\"/\",parallelLightParallel:\"19.0\"},{item:\"Laminated PNLC Film\",fullLightOnOff:\"OFF\",fullLightHaze:\"7\",fullLightTransmittance:\"90.0\",parallelLightValue:\"1.71\",parallelLightLight:\"800\",parallelLightParallel:\"85.0\"},{item:\"\",fullLightOnOff:\"ON\",fullLightHaze:\"92\",fullLightTransmittance:\"88.0\",parallelLightValue:\"1.84\",parallelLightLight:\"/\",parallelLightParallel:\"19.0\"}]},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#FFFFFF\"},headerBackgroundColor:{type:ControlType.Color,title:\"Header Background\",defaultValue:\"#F5F5F5\"},borderColor:{type:ControlType.Color,title:\"Border Color\",defaultValue:\"#CCCCCC\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#000000\"},headerTextColor:{type:ControlType.Color,title:\"Header Text Color\",defaultValue:\"#000000\"},font:{type:ControlType.Font,title:\"Body Font\",defaultValue:{fontSize:\"14px\",variant:\"Regular\",letterSpacing:\"0em\",lineHeight:\"1.2em\"},controls:\"extended\",defaultFontType:\"sans-serif\"},headerFont:{type:ControlType.Font,title:\"Header Font\",defaultValue:{fontSize:\"14px\",variant:\"Medium\",letterSpacing:\"0em\",lineHeight:\"1.2em\"},controls:\"extended\",defaultFontType:\"sans-serif\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"TestGrid\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1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