import { pick } from "remeda";
const pivotTableConfig = (advancedVSeed, context)=>{
    const { vseed } = context;
    const { chartType } = vseed;
    const result = {
        ...advancedVSeed
    };
    const config = pick(vseed, [
        'backgroundColor',
        'bodyFontSize',
        'bodyFontColor',
        'bodyBackgroundColor',
        'headerFontSize',
        'headerFontColor',
        'headerBackgroundColor',
        'hoverHeaderBackgroundColor',
        'hoverHeaderInlineBackgroundColor',
        'selectedBorderColor',
        'selectedBackgroundColor',
        'totals'
    ]);
    result.config = {
        ...result.config || {},
        [chartType]: {
            ...config
        }
    };
    return result;
};
export { pivotTableConfig };

//# sourceMappingURL=pivotTableConfig.js.map