import type { BuilderScreen } from "@/lib/admin/builder/types";
import { 
  buildDefaultHeader,
  buildDefaultTitle,
  buildDefaultBottomActionButton,
  buildDefaultNavigation,
  buildDefaultSubtitle
} from "./blocks";

export function buildInfoDefaults(id: string): BuilderScreen {
  return {
    id,
    template: "info",
    header: buildDefaultHeader(),
    title: buildDefaultTitle({
      text: "Заголовок информации",
      align: "center",
    }),
    subtitle: buildDefaultSubtitle({
      show: true,
      text: "Добавьте подзаголовок для информационного экрана",
      align: "center",
    }),
    icon: {
      type: "emoji" as const,
      value: "ℹ️",
      size: "xl" as const,
    },
    bottomActionButton: buildDefaultBottomActionButton(),
    navigation: buildDefaultNavigation(),
  } as BuilderScreen;
}
