import { generateFromAJV } from "../../utils/form-generator.js";
import QuestionsBlock from "./Questions.js";
import { QuestionsBlock as QuestionsBlockSchema } from "./schema.js";
const QuestionsBlockConfig = {
    component: QuestionsBlock,
    schema: {
        name: 'Questions Block',
        group: '@gravity-ui/page-constructor/Blocks',
        inputs: generateFromAJV(QuestionsBlockSchema['questions-block']),
        default: {
            type: 'questions-block',
            title: 'Questions Block',
            text: 'Here you can find answers.',
            links: [
                {
                    text: 'Report for 2024',
                    url: 'file.doc',
                },
            ],
            buttons: [
                {
                    text: 'Get more',
                    theme: 'outlined-info',
                },
            ],
            list: [
                {
                    title: 'Report for 2024',
                    text: 'Some advice here',
                },
            ],
            items: [
                {
                    title: 'Question 1',
                    text: 'Answer for question 1',
                },
                {
                    title: 'Question 2',
                    text: 'Answer for question 2',
                },
            ],
        },
    },
};
export default QuestionsBlockConfig;
//# sourceMappingURL=index.js.map
