// (C) 2025 GoodData Corporation
import { widgetSlideTransformer } from "./widgetSlideTransformer.js";
/**
 * Returns definition of whole layout with single widget.
 */
export function singleWidgetTransformer(layout, widget) {
    return {
        ...layout,
        type: "IDashboardLayout",
        sections: [
            ...widgetSlideTransformer({
                type: "IDashboardLayoutItem",
                widget,
                size: {
                    xl: { gridWidth: 12, gridHeight: 22 },
                },
            }),
        ],
    };
}
//# sourceMappingURL=singleWidgetTransformer.js.map