"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.blockDataMap = exports.navItemMap = exports.subBlockMap = exports.blockMap = void 0;
const tslib_1 = require("tslib");
const Banner_1 = tslib_1.__importDefault(require("./blocks/Banner/index.js"));
const CardLayout_1 = tslib_1.__importDefault(require("./blocks/CardLayout/index.js"));
const Companies_1 = tslib_1.__importDefault(require("./blocks/Companies/index.js"));
const ContentLayout_1 = tslib_1.__importDefault(require("./blocks/ContentLayout/index.js"));
const ExtendedFeatures_1 = tslib_1.__importDefault(require("./blocks/ExtendedFeatures/index.js"));
// import FilterBlockConfig from './blocks/FilterBlock';
const Form_1 = tslib_1.__importDefault(require("./blocks/Form/index.js"));
const Header_1 = tslib_1.__importDefault(require("./blocks/Header/index.js"));
const HeaderSlider_1 = tslib_1.__importDefault(require("./blocks/HeaderSlider/index.js"));
const Icons_1 = tslib_1.__importDefault(require("./blocks/Icons/index.js"));
const Info_1 = tslib_1.__importDefault(require("./blocks/Info/index.js"));
const Map_1 = tslib_1.__importDefault(require("./blocks/Map/index.js"));
const Media_1 = tslib_1.__importDefault(require("./blocks/Media/index.js"));
const PromoFeaturesBlock_1 = tslib_1.__importDefault(require("./blocks/PromoFeaturesBlock/index.js"));
const Questions_1 = tslib_1.__importDefault(require("./blocks/Questions/index.js"));
const Share_1 = tslib_1.__importDefault(require("./blocks/Share/index.js"));
const Slider_1 = tslib_1.__importDefault(require("./blocks/Slider/index.js"));
const Table_1 = tslib_1.__importDefault(require("./blocks/Table/index.js"));
const Tabs_1 = tslib_1.__importDefault(require("./blocks/Tabs/index.js"));
const navigation_1 = require("./gravity-blocks/navigation/index.js");
const SocialIcon_1 = tslib_1.__importDefault(require("./gravity-blocks/navigation/components/SocialIcon/SocialIcon.js"));
const models_1 = require("./models/index.js");
const BackgroundCard_1 = tslib_1.__importDefault(require("./sub-blocks/BackgroundCard/index.js"));
const BannerCard_1 = tslib_1.__importDefault(require("./sub-blocks/BannerCard/index.js"));
const BasicCard_1 = tslib_1.__importDefault(require("./sub-blocks/BasicCard/index.js"));
const Content_1 = tslib_1.__importDefault(require("./sub-blocks/Content/index.js"));
const Divider_1 = tslib_1.__importDefault(require("./sub-blocks/Divider/index.js"));
const ImageCard_1 = tslib_1.__importDefault(require("./sub-blocks/ImageCard/index.js"));
const LayoutItem_1 = tslib_1.__importDefault(require("./sub-blocks/LayoutItem/index.js"));
const MediaCard_1 = tslib_1.__importDefault(require("./sub-blocks/MediaCard/index.js"));
const PriceCard_1 = tslib_1.__importDefault(require("./sub-blocks/PriceCard/index.js"));
const Quote_1 = tslib_1.__importDefault(require("./sub-blocks/Quote/index.js"));
/**
 * TODO: remove it
 * @deprecated use blockDataMap
 **/
exports.blockMap = {};
/**
 * TODO: remove it
 * @deprecated use blockDataMap
 **/
exports.subBlockMap = {};
exports.navItemMap = {
    [models_1.NavigationItemType.Button]: navigation_1.NavigationButton,
    [models_1.NavigationItemType.Social]: SocialIcon_1.default,
    [models_1.NavigationItemType.Dropdown]: navigation_1.NavigationDropdown,
    [models_1.NavigationItemType.Link]: navigation_1.NavigationLink,
    [models_1.NavigationItemType.GithubButton]: navigation_1.GithubButton,
};
exports.blockDataMap = {
    [models_1.BlockType.ExtendedFeaturesBlock]: ExtendedFeatures_1.default,
    [models_1.BlockType.PromoFeaturesBlock]: PromoFeaturesBlock_1.default,
    [models_1.BlockType.QuestionsBlock]: Questions_1.default,
    [models_1.BlockType.BannerBlock]: Banner_1.default,
    [models_1.BlockType.CompaniesBlock]: Companies_1.default,
    [models_1.BlockType.MediaBlock]: Media_1.default,
    [models_1.BlockType.InfoBlock]: Info_1.default,
    [models_1.BlockType.TableBlock]: Table_1.default,
    [models_1.BlockType.TabsBlock]: Tabs_1.default,
    [models_1.BlockType.HeaderBlock]: Header_1.default,
    [models_1.BlockType.IconsBlock]: Icons_1.default,
    [models_1.BlockType.HeaderSliderBlock]: HeaderSlider_1.default,
    [models_1.BlockType.CardLayoutBlock]: CardLayout_1.default,
    [models_1.BlockType.ContentLayoutBlock]: ContentLayout_1.default,
    [models_1.BlockType.ShareBlock]: Share_1.default,
    [models_1.BlockType.MapBlock]: Map_1.default,
    // TODO: fix items prop for editor compatibility
    // [BlockType.FilterBlock]: FilterBlockConfig,
    [models_1.BlockType.FormBlock]: Form_1.default,
    [models_1.BlockType.SliderBlock]: Slider_1.default,
    [models_1.SubBlockType.Divider]: Divider_1.default,
    [models_1.SubBlockType.MediaCard]: MediaCard_1.default,
    [models_1.SubBlockType.BannerCard]: BannerCard_1.default,
    [models_1.SubBlockType.LayoutItem]: LayoutItem_1.default,
    [models_1.SubBlockType.BackgroundCard]: BackgroundCard_1.default,
    [models_1.SubBlockType.BasicCard]: BasicCard_1.default,
    [models_1.SubBlockType.Content]: Content_1.default,
    [models_1.SubBlockType.Quote]: Quote_1.default,
    [models_1.SubBlockType.PriceCard]: PriceCard_1.default,
    [models_1.SubBlockType.ImageCard]: ImageCard_1.default,
};
//# sourceMappingURL=constructor-items.js.map
