{"version":3,"file":"Tableau_cms.CeCDFfQW.mjs","names":["useMemo","useCallback","__esmMin","ne","pe","c","init_jsx_runtime","init_npm_react_18_3_1","addPropertyControls","init_framer_DKtAEkcX","ControlType","TableauCms","props","legacyParsedTextGrid","tableData","line","cell","legacyParsedColorGrid","cellColors","useLegacyData","preferLegacyData","safeRowCount","rowCount","safeColumnCountFromControl","columnCount","hasRowsEditorData","rows","legacyDerivedColumnCount","row","safeColumnCount","effectiveRowCount","totalCells","getPlaceholderLabel","rowIndex","colIndex","getRowObjectCell","rowItem","textByColumn","colorByColumn","normalizedCells","output","i","tableDataCell","legacyCell","cells","rowCell","normalizedCellColors","tableRows","colorRows","resolveCellTextColor","cellColor","normalizedText","cellText","hasNonConcerned","hasConcerned","notConcernedColor","concernedColor","isHeaderRow","accentColor","textColor","radius","surfaceColor","textStyle","borderColor","isLastCol","isLastRow","cornerRadiusStyle","cellPadding","headerBackground","__FramerMetadata__","init_Tableau_cms","\"exports\"","\"default\"","\"type\"","\"name\"","\"slots\"","\"annotations\"","\"framerSupportedLayoutHeight\"","\"framerSupportedLayoutWidth\"","\"framerContractVersion\"","\"__FramerMetadata__\""],"sources":["https:/framerusercontent.com/modules/Q2yhHjv09HCJtOdvHc7q/N6w52UJFp24ZESdAsyUL/Tableau_cms.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useCallback,useMemo}from\"react\";/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function TableauCms(props){const{preferLegacyData=false,rowCount=6,columnCount=2,rows=[],tableData=\"Colonne 1 | Colonne 2\\nLigne 1, Col 1 | Ligne 1, Col 2\\nLigne 2, Col 1 | Ligne 2, Col 2\\nLigne 3, Col 1 | Ligne 3, Col 2\\nLigne 4, Col 1 | Ligne 4, Col 2\\nLigne 5, Col 1 | Ligne 5, Col 2\",cellColors=\"\",cells=[\"Column 1\",\"Column 2\",\"Row 1, Col 1\",\"Row 1, Col 2\",\"Row 2, Col 1\",\"Row 2, Col 2\",\"Row 3, Col 1\",\"Row 3, Col 2\",\"Row 4, Col 1\",\"Row 4, Col 2\",\"Row 5, Col 1\",\"Row 5, Col 2\"],accentColor=\"#454EFF\",concernedColor=\"#16A34A\",notConcernedColor=\"#DC2626\",textColor=\"#000000\",borderColor=\"#DCE0FF\",headerBackground=\"#EEF0FF\",surfaceColor=\"#FFFFFF\",radius=10,cellPadding=10,fontSize=14,lineHeight=1.45,textStyle={}}=props;const legacyParsedTextGrid=useMemo(()=>{const parsedLines=tableData.split(/\\r?\\n/).map(line=>line.trim()).filter(line=>line.length>0);return parsedLines.map(line=>line.split(\"|\").map(cell=>cell.trim()));},[tableData]);const legacyParsedColorGrid=useMemo(()=>{const parsedLines=cellColors.split(/\\r?\\n/).map(line=>line.trim()).filter(line=>line.length>0);return parsedLines.map(line=>line.split(\"|\").map(cell=>cell.trim()));},[cellColors]);const useLegacyData=preferLegacyData&&tableData.trim()!==\"\"&&legacyParsedTextGrid.length>0;const safeRowCount=Math.max(1,Math.floor(rowCount));const safeColumnCountFromControl=Math.min(6,Math.max(1,Math.floor(columnCount)));const hasRowsEditorData=rows.length>0;const legacyDerivedColumnCount=Math.min(6,Math.max(1,...legacyParsedTextGrid.map(row=>Math.max(1,row.length))));const safeColumnCount=useLegacyData?legacyDerivedColumnCount:safeColumnCountFromControl;const effectiveRowCount=useLegacyData?Math.max(1,legacyParsedTextGrid.length):hasRowsEditorData?Math.max(safeRowCount,rows.length):safeRowCount;const totalCells=effectiveRowCount*safeColumnCount;const getPlaceholderLabel=useCallback((rowIndex,colIndex)=>{if(rowIndex===0)return`Column ${colIndex+1}`;return`Row ${rowIndex}, Col ${colIndex+1}`;},[]);const getRowObjectCell=useCallback((rowItem,colIndex)=>{if(!rowItem)return{text:\"\",color:\"\"};const textByColumn=[rowItem.col1,rowItem.col2,rowItem.col3,rowItem.col4,rowItem.col5,rowItem.col6];const colorByColumn=[rowItem.color1,rowItem.color2,rowItem.color3,rowItem.color4,rowItem.color5,rowItem.color6];return{text:textByColumn[colIndex]??\"\",color:colorByColumn[colIndex]??\"\"};},[]);const normalizedCells=useMemo(()=>{const output=[];for(let i=0;i<totalCells;i++){const rowIndex=Math.floor(i/safeColumnCount);const colIndex=i%safeColumnCount;if(useLegacyData){const tableDataCell=legacyParsedTextGrid[rowIndex]?.[colIndex];const legacyCell=cells[i];output.push(tableDataCell&&tableDataCell.length>0?tableDataCell:legacyCell&&legacyCell.length>0?legacyCell:getPlaceholderLabel(rowIndex,colIndex));}else if(hasRowsEditorData){const rowCell=getRowObjectCell(rows[rowIndex],colIndex);output.push(rowCell.text.trim()!==\"\"?rowCell.text:getPlaceholderLabel(rowIndex,colIndex));}else{const tableDataCell=legacyParsedTextGrid[rowIndex]?.[colIndex];const legacyCell=cells[i];output.push(tableDataCell&&tableDataCell.length>0?tableDataCell:legacyCell&&legacyCell.length>0?legacyCell:getPlaceholderLabel(rowIndex,colIndex));}}return output;},[totalCells,safeColumnCount,useLegacyData,hasRowsEditorData,rows,getRowObjectCell,getPlaceholderLabel,legacyParsedTextGrid,cells]);const normalizedCellColors=useMemo(()=>{const output=[];for(let i=0;i<totalCells;i++){const rowIndex=Math.floor(i/safeColumnCount);const colIndex=i%safeColumnCount;if(useLegacyData){output.push(legacyParsedColorGrid[rowIndex]?.[colIndex]??\"\");}else if(hasRowsEditorData){const rowCell=getRowObjectCell(rows[rowIndex],colIndex);output.push(rowCell.color);}else{output.push(legacyParsedColorGrid[rowIndex]?.[colIndex]??\"\");}}return output;},[totalCells,safeColumnCount,useLegacyData,hasRowsEditorData,rows,getRowObjectCell,legacyParsedColorGrid]);const tableRows=useMemo(()=>{return Array.from({length:effectiveRowCount},(_,rowIndex)=>{return normalizedCells.slice(rowIndex*safeColumnCount,(rowIndex+1)*safeColumnCount);});},[normalizedCells,effectiveRowCount,safeColumnCount]);const colorRows=useMemo(()=>{return Array.from({length:effectiveRowCount},(_,rowIndex)=>{return normalizedCellColors.slice(rowIndex*safeColumnCount,(rowIndex+1)*safeColumnCount);});},[normalizedCellColors,effectiveRowCount,safeColumnCount]);const resolveCellTextColor=useCallback((cellText,cellColor,isHeaderRow)=>{if(cellColor.trim()!==\"\")return cellColor;const normalizedText=cellText.toLowerCase();const hasNonConcerned=normalizedText.includes(\"non concern\\xe9\")||normalizedText.includes(\"non concern\\xe9e\")||normalizedText.includes(\"non concerne\")||normalizedText.includes(\"non concernee\");const hasConcerned=normalizedText.includes(\"concern\\xe9\")||normalizedText.includes(\"concerne\");if(hasNonConcerned)return notConcernedColor;if(hasConcerned)return concernedColor;if(isHeaderRow&&cellText.trim()!==\"\")return accentColor;return textColor;},[accentColor,textColor,concernedColor,notConcernedColor]);return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:\"100%\",height:\"auto\",overflowX:\"auto\",overflowY:\"hidden\",WebkitOverflowScrolling:\"touch\",borderRadius:radius},children:/*#__PURE__*/_jsx(\"table\",{style:{width:\"100%\",minWidth:\"100%\",borderCollapse:\"separate\",borderSpacing:0,tableLayout:\"fixed\",backgroundColor:surfaceColor,color:textColor,fontFamily:textStyle.fontFamily??'Inter, ui-sans-serif, system-ui, -apple-system, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif',fontSize,lineHeight,letterSpacing:textStyle.letterSpacing,textAlign:textStyle.textAlign,fontStyle:textStyle.fontStyle,border:`1px solid ${borderColor}`,borderRadius:radius,overflow:\"hidden\"},children:/*#__PURE__*/_jsx(\"tbody\",{children:tableRows.map((row,rowIndex)=>/*#__PURE__*/_jsx(\"tr\",{children:row.map((cell,colIndex)=>{const cellColor=colorRows[rowIndex]?.[colIndex]??\"\";const isHeaderRow=rowIndex===0;const isLastCol=colIndex===safeColumnCount-1;const isLastRow=rowIndex===effectiveRowCount-1;const cornerRadiusStyle=rowIndex===0&&colIndex===0?{borderTopLeftRadius:radius}:rowIndex===0&&isLastCol?{borderTopRightRadius:radius}:isLastRow&&colIndex===0?{borderBottomLeftRadius:radius}:isLastRow&&isLastCol?{borderBottomRightRadius:radius}:{};return /*#__PURE__*/_jsx(\"td\",{style:{padding:cellPadding,backgroundColor:isHeaderRow?headerBackground:surfaceColor,color:textColor,borderRight:isLastCol?\"none\":`1px solid ${borderColor}`,borderBottom:isLastRow?\"none\":`1px solid ${borderColor}`,fontWeight:isHeaderRow?600:500,verticalAlign:\"top\",wordBreak:\"break-word\",...cornerRadiusStyle},children:/*#__PURE__*/_jsx(\"span\",{style:{color:resolveCellTextColor(cell,cellColor,isHeaderRow)},children:cell})},`cell-${rowIndex}-${colIndex}`);})},`row-${rowIndex}`))})})});}TableauCms.displayName=\"tableau cms\";addPropertyControls(TableauCms,{preferLegacyData:{type:ControlType.Boolean,title:\"Prefer legacy data\",defaultValue:false},rowCount:{type:ControlType.Number,title:\"Lignes\",defaultValue:6,min:1,max:50,step:1},columnCount:{type:ControlType.Number,title:\"Colonnes\",defaultValue:2,min:1,max:6,step:1},rows:{type:ControlType.Array,title:\"Lignes du tableau\",control:{type:ControlType.Object,controls:{col1:{type:ControlType.String,title:\"Colonne 1\",defaultValue:\"\"},color1:{type:ControlType.String,title:\"Couleur 1\",defaultValue:\"\",placeholder:\"ex: #16A34A, red\"},col2:{type:ControlType.String,title:\"Colonne 2\",defaultValue:\"\"},color2:{type:ControlType.String,title:\"Couleur 2\",defaultValue:\"\",placeholder:\"ex: #DC2626, green\"},col3:{type:ControlType.String,title:\"Colonne 3\",defaultValue:\"\"},color3:{type:ControlType.String,title:\"Couleur 3\",defaultValue:\"\"},col4:{type:ControlType.String,title:\"Colonne 4\",defaultValue:\"\"},color4:{type:ControlType.String,title:\"Couleur 4\",defaultValue:\"\"},col5:{type:ControlType.String,title:\"Colonne 5\",defaultValue:\"\"},color5:{type:ControlType.String,title:\"Couleur 5\",defaultValue:\"\"},col6:{type:ControlType.String,title:\"Colonne 6\",defaultValue:\"\"},color6:{type:ControlType.String,title:\"Couleur 6\",defaultValue:\"\"}}},defaultValue:[{col1:\"Colonne 1\",color1:\"\",col2:\"Colonne 2\",color2:\"\",col3:\"\",color3:\"\",col4:\"\",color4:\"\",col5:\"\",color5:\"\",col6:\"\",color6:\"\"},{col1:\"Ligne 1, Col 1\",color1:\"\",col2:\"Ligne 1, Col 2\",color2:\"\",col3:\"\",color3:\"\",col4:\"\",color4:\"\",col5:\"\",color5:\"\",col6:\"\",color6:\"\"},{col1:\"Ligne 2, Col 1\",color1:\"\",col2:\"Ligne 2, Col 2\",color2:\"\",col3:\"\",color3:\"\",col4:\"\",color4:\"\",col5:\"\",color5:\"\",col6:\"\",color6:\"\"},{col1:\"Ligne 3, Col 1\",color1:\"\",col2:\"Ligne 3, Col 2\",color2:\"\",col3:\"\",color3:\"\",col4:\"\",color4:\"\",col5:\"\",color5:\"\",col6:\"\",color6:\"\"},{col1:\"Ligne 4, Col 1\",color1:\"\",col2:\"Ligne 4, Col 2\",color2:\"\",col3:\"\",color3:\"\",col4:\"\",color4:\"\",col5:\"\",color5:\"\",col6:\"\",color6:\"\"},{col1:\"Ligne 5, Col 1\",color1:\"\",col2:\"Ligne 5, Col 2\",color2:\"\",col3:\"\",color3:\"\",col4:\"\",color4:\"\",col5:\"\",color5:\"\",col6:\"\",color6:\"\"}]},tableData:{type:ControlType.String,title:\"Donn\\xe9es (legacy)\",defaultValue:\"Colonne 1 | Colonne 2\\nLigne 1, Col 1 | Ligne 1, Col 2\\nLigne 2, Col 1 | Ligne 2, Col 2\\nLigne 3, Col 1 | Ligne 3, Col 2\\nLigne 4, Col 1 | Ligne 4, Col 2\\nLigne 5, Col 1 | Ligne 5, Col 2\",displayTextArea:true,placeholder:\"Une ligne = une ligne du tableau\\nS\\xe9parez les cellules avec |\\nEx: Titre A | Titre B\",hidden:props=>Array.isArray(props.rows)&&props.rows.length>0},cellColors:{type:ControlType.String,title:\"Couleurs cellules (legacy)\",defaultValue:\"\",displayTextArea:true,placeholder:\"M\\xeame format que Donn\\xe9es (| et retours ligne)\\nEx: #16A34A | red\",hidden:props=>Array.isArray(props.rows)&&props.rows.length>0},cells:{type:ControlType.Array,title:\"Cellules (legacy)\",control:{type:ControlType.String,placeholder:\"Cell text\"},defaultValue:[\"Column 1\",\"Column 2\",\"Row 1, Col 1\",\"Row 1, Col 2\",\"Row 2, Col 1\",\"Row 2, Col 2\",\"Row 3, Col 1\",\"Row 3, Col 2\",\"Row 4, Col 1\",\"Row 4, Col 2\",\"Row 5, Col 1\",\"Row 5, Col 2\"],hidden:props=>Array.isArray(props.rows)&&props.rows.length>0},accentColor:{type:ControlType.Color,title:\"Accent\",defaultValue:\"#454EFF\"},concernedColor:{type:ControlType.Color,title:\"Couleur Concern\\xe9\",defaultValue:\"#16A34A\"},notConcernedColor:{type:ControlType.Color,title:\"Couleur Non concern\\xe9\",defaultValue:\"#DC2626\"},textColor:{type:ControlType.Color,title:\"Texte\",defaultValue:\"#000000\"},borderColor:{type:ControlType.Color,title:\"Bordure\",defaultValue:\"#DCE0FF\"},headerBackground:{type:ControlType.Color,title:\"Fond en-t\\xeate\",defaultValue:\"#EEF0FF\"},surfaceColor:{type:ControlType.Color,title:\"Fond\",defaultValue:\"#FFFFFF\"},radius:{type:ControlType.Number,title:\"Radius\",defaultValue:10,min:0,max:32,step:1},cellPadding:{type:ControlType.Number,title:\"Cell Pad\",defaultValue:10,min:4,max:32,step:1},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:14,min:10,max:24,step:1},lineHeight:{type:ControlType.Number,title:\"Line H\",defaultValue:1.45,min:1,max:2,step:.05},textStyle:{type:ControlType.Font,title:\"Text Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"14px\",lineHeight:\"1.45em\",letterSpacing:\"-0.01em\",variant:\"Medium\"}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"TableauCms\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion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