import omit from "lodash/omit.js";
import { ImageProps } from "../../components/Image/schema.js";
import { BaseProps, CardBase, CardLayoutProps, GravityIconProps, } from "../../gravity-blocks/schema/validators/common.js";
import { ContentBase } from "../Content/schema.js";
const BasicCardContentProps = omit(ContentBase, ['theme', 'controlPosition']);
export const BasicCard = {
    'basic-card': {
        additionalProperties: false,
        required: [],
        properties: {
            ...BaseProps,
            ...CardBase,
            ...CardLayoutProps,
            ...BasicCardContentProps,
            url: {
                type: 'string',
            },
            urlTitle: {
                type: 'string',
            },
            icon: ImageProps,
            gravityIcon: GravityIconProps,
            target: {
                type: 'string',
                enum: ['_blank', '_parent', '_top', '_self'],
            },
            iconPosition: {
                type: 'string',
                enum: ['top', 'left'],
            },
            controlPosition: {
                type: 'string',
                enum: ['content', 'footer'],
            },
            /**
             * @deprecated This property will be removed in future versions
             */
            hoverBackgroundColor: {
                type: 'string',
            },
        },
    },
};
//# sourceMappingURL=schema.js.map
