"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getFormatColumnRowTargetItems = void 0;
const getFormatColumnRowTargetItems = (formatColumn) => {
    let values = [];
    if (formatColumn.RowScope) {
        if (!formatColumn.RowScope.ExcludeDataRows) {
            values.push('Data');
        }
        if (!formatColumn.RowScope.ExcludeGroupRows) {
            values.push('Group');
        }
        if (!formatColumn.RowScope.ExcludeSummaryRows) {
            values.push('Summary');
        }
        if (!formatColumn.RowScope.ExcludeTotalRows) {
            values.push('Total');
        }
    }
    values = values.filter(Boolean);
    return {
        name: 'Rows',
        values: values.length > 0 ? values : ['-'],
    };
};
exports.getFormatColumnRowTargetItems = getFormatColumnRowTargetItems;
