const DataGridSettingsDefaults = {
    rowDensity: "standard",
    zebraStripes: false,
    truncateContent: true,
    stickyColumns: {},
    textSize: "medium",
    columnDividers: true,
    columnDisplay: undefined,
};
/**
 * Merges user-provided settings with {@link DataGridSettingsDefaults},
 * returning a fully resolved settings object.
 */
function resolveDataGridSettings(settings) {
    var _a, _b, _c, _d, _e, _f, _g;
    return {
        rowDensity: (_a = settings.rowDensity) !== null && _a !== void 0 ? _a : DataGridSettingsDefaults.rowDensity,
        zebraStripes: (_b = settings.zebraStripes) !== null && _b !== void 0 ? _b : DataGridSettingsDefaults.zebraStripes,
        truncateContent: (_c = settings.truncateContent) !== null && _c !== void 0 ? _c : DataGridSettingsDefaults.truncateContent,
        stickyColumns: (_d = settings.stickyColumns) !== null && _d !== void 0 ? _d : DataGridSettingsDefaults.stickyColumns,
        textSize: (_e = settings.textSize) !== null && _e !== void 0 ? _e : DataGridSettingsDefaults.textSize,
        columnDividers: (_f = settings.columnDividers) !== null && _f !== void 0 ? _f : DataGridSettingsDefaults.columnDividers,
        columnDisplay: (_g = settings.columnDisplay) !== null && _g !== void 0 ? _g : DataGridSettingsDefaults.columnDisplay,
    };
}
export { resolveDataGridSettings };
//# sourceMappingURL=data-grid-settings.js.map