"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ContentLayoutBlock = void 0;
const schema_1 = require("../../components/Image/schema.js");
const common_1 = require("../../gravity-blocks/schema/validators/common.js");
const utils_1 = require("../../gravity-blocks/schema/validators/utils.js");
const schema_2 = require("../../sub-blocks/Content/schema.js");
const ContentLayoutBlockProperties = {
    size: {
        type: 'string',
        enum: common_1.contentSizes,
    },
    background: schema_1.BackgroundImageProps,
    centered: {
        type: 'boolean',
    },
    theme: {
        type: 'string',
        enum: common_1.contentThemes,
    },
    textWidth: {
        type: 'string',
        enum: common_1.contentTextWidth,
    },
};
exports.ContentLayoutBlock = {
    'content-layout-block': {
        additionalProperties: false,
        properties: {
            ...common_1.BlockBaseProps,
            textContent: schema_2.ContentBlock?.content,
            fileContent: (0, utils_1.filteredArray)(common_1.FileLinkProps),
            /**
             * @deprecated Use params on top level instead
             */
            properties: ContentLayoutBlockProperties,
            ...ContentLayoutBlockProperties,
        },
    },
};
//# sourceMappingURL=schema.js.map
