{"version":3,"file":"PageformReferenceTable.CMMzCnkr.mjs","names":["c","__esmMin","init_jsx_runtime","c","p","init_framer_BWFVvmND","ControlType","addPropertyControls","PageformReferenceTable","props","data","rows","style","font","label","c$1","i","r","c$2","j","init_PageformReferenceTable"],"sources":["https:/framerusercontent.com/modules/CGRGmZOJ7GCHNwpXjC3h/UjAJ4sf7imkzvg35HavZ/PageformReferenceTable.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function PageformReferenceTable(props){const{style,font,rows=\"[]\",label=\"Reference table\"}=props;let data=[];try{data=JSON.parse(decodeURIComponent(rows));}catch{}return /*#__PURE__*/_jsxs(\"div\",{className:\"pf-reference-table\",style:{...style,position:\"relative\",width:\"100%\",height:\"auto\",overflowX:\"auto\",border:\"1px solid #ded9dd\",borderRadius:10,background:\"#fff\",...font},tabIndex:0,role:\"region\",\"aria-label\":label,children:[/*#__PURE__*/_jsx(\"style\",{children:\".pf-reference-table table{border-collapse:collapse;width:100%;min-width:500px;font:14px/1.7 'Inter Display',Inter,sans-serif;color:#111}.pf-reference-table th,.pf-reference-table td{padding:15px 18px;border-bottom:1px solid #ded9dd;text-align:left;vertical-align:top}.pf-reference-table th{background:#eee8f2;font-weight:600}.pf-reference-table tr:last-child td{border-bottom:0}@media(max-width:600px){.pf-reference-table table{font-size:12px;min-width:470px}.pf-reference-table th,.pf-reference-table td{padding:12px}}\"}),/*#__PURE__*/_jsxs(\"table\",{children:[/*#__PURE__*/_jsx(\"thead\",{children:/*#__PURE__*/_jsx(\"tr\",{children:(data[0]||[]).map((c,i)=>/*#__PURE__*/_jsx(\"th\",{scope:\"col\",children:c},i))})}),/*#__PURE__*/_jsx(\"tbody\",{children:data.slice(1).map((r,i)=>/*#__PURE__*/_jsx(\"tr\",{children:r.map((c,j)=>/*#__PURE__*/_jsx(\"td\",{children:c},j))},i))})]})]});}addPropertyControls(PageformReferenceTable,{rows:{type:ControlType.String,title:\"Rows JSON\",displayTextArea:true,defaultValue:'[[\"Access\",\"What it can do\"],[\"Read\",\"Authorized workspace content\"]]'},label:{type:ControlType.String,title:\"Table label\",defaultValue:\"Reference table\"},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"14px\",variant:\"Regular\",lineHeight:\"1.7em\"}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PageformReferenceTable\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./PageformReferenceTable.map"],"mappings":"A,mKAGG,SAAwBQ,EAAuB,EAAM,CAAC,GAAK,CAAC,QAAM,OAAK,OAAK,KAAK,QAAM,mBAAmBC,EAAUC,EAAK,CAAC,EAAE,GAAG,CAAC,EAAK,KAAK,MAAM,mBAAmBC,CAAI,CAAC,CAAE,MAAM,CAAC,CAAC,MAAoB,gBAAM,MAAM,CAAC,UAAU,qBAAqB,MAAM,CAAC,GAAGC,EAAM,SAAS,WAAW,MAAM,OAAO,OAAO,OAAO,UAAU,OAAO,OAAO,oBAAoB,aAAa,GAAG,WAAW,OAAO,GAAGC,CAAI,EAAE,SAAS,EAAE,KAAK,SAAS,aAAaC,EAAM,SAAS,CAAc,gBAAK,QAAQ,CAAC,SAAS,ygBAAygB,CAAC,EAAe,gBAAM,QAAQ,CAAC,SAAS,CAAc,gBAAK,QAAQ,CAAC,SAAsB,gBAAK,KAAK,CAAC,UAAUJ,EAAK,IAAI,CAAC,EAAA,CAAG,KAAK,EAAE,IAAiB,gBAAK,KAAK,CAAC,MAAM,MAAM,SAASV,CAAC,EAAEgB,CAAC,CAAC,CAAC,CAAC,CAAC,CA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