"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.blockDataMap = exports.navItemMap = exports.subBlockMap = exports.blockMap = void 0;
const tslib_1 = require("tslib");
const blocks_1 = require("./blocks/index.js");
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 TestEditorBlock_1 = tslib_1.__importDefault(require("./blocks/TestEditorBlock/index.js"));
const TestEditorBlock_2 = tslib_1.__importDefault(require("./blocks/TestEditorBlock/TestEditorBlock.js"));
const unstable_1 = require("./blocks/unstable.js");
const models_1 = require("./models/index.js");
const navigation_1 = require("./navigation/index.js");
const SocialIcon_1 = tslib_1.__importDefault(require("./navigation/components/SocialIcon/SocialIcon.js"));
const sub_blocks_1 = require("./sub-blocks/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 = {
    [models_1.BlockType.SliderBlock]: blocks_1.SliderBlock,
    [models_1.BlockType.ExtendedFeaturesBlock]: blocks_1.ExtendedFeaturesBlock,
    [models_1.BlockType.PromoFeaturesBlock]: blocks_1.PromoFeaturesBlock,
    [models_1.BlockType.QuestionsBlock]: blocks_1.QuestionsBlock,
    [models_1.BlockType.FoldableListBlock]: blocks_1.FoldableListBlock,
    [models_1.BlockType.BannerBlock]: blocks_1.BannerBlock,
    [models_1.BlockType.CompaniesBlock]: blocks_1.CompaniesBlock,
    [models_1.BlockType.MediaBlock]: blocks_1.MediaBlock,
    [models_1.BlockType.InfoBlock]: blocks_1.InfoBlock,
    [models_1.BlockType.TableBlock]: blocks_1.TableBlock,
    [models_1.BlockType.TabsBlock]: blocks_1.TabsBlock,
    [models_1.BlockType.HeaderBlock]: blocks_1.HeaderBlock,
    [models_1.BlockType.IconsBlock]: blocks_1.IconsBlock,
    [models_1.BlockType.HeaderSliderBlock]: blocks_1.HeaderSliderBlock,
    [models_1.BlockType.CardLayoutBlock]: blocks_1.CardLayoutBlock,
    [models_1.BlockType.ContentLayoutBlock]: blocks_1.ContentLayoutBlock,
    [models_1.BlockType.ShareBlock]: blocks_1.ShareBlock,
    [models_1.BlockType.MapBlock]: blocks_1.MapBlock,
    [models_1.BlockType.FilterBlock]: blocks_1.FilterBlock,
    [models_1.BlockType.FormBlock]: blocks_1.FormBlock,
    // unstable
    [models_1.BlockType.SliderNewBlock]: unstable_1.SliderNewBlock,
    [models_1.BlockType.TestEditorBlock]: TestEditorBlock_2.default,
};
/**
 * TODO: remove it
 * @deprecated use blockDataMap
 **/
exports.subBlockMap = {
    [models_1.SubBlockType.Divider]: sub_blocks_1.Divider,
    [models_1.SubBlockType.PriceDetailed]: sub_blocks_1.PriceDetailed,
    [models_1.SubBlockType.MediaCard]: sub_blocks_1.MediaCard,
    [models_1.SubBlockType.BannerCard]: sub_blocks_1.BannerCard,
    [models_1.SubBlockType.LayoutItem]: sub_blocks_1.LayoutItem,
    [models_1.SubBlockType.BackgroundCard]: sub_blocks_1.BackgroundCard,
    [models_1.SubBlockType.BasicCard]: sub_blocks_1.BasicCard,
    [models_1.SubBlockType.Content]: sub_blocks_1.Content,
    [models_1.SubBlockType.Quote]: sub_blocks_1.Quote,
    [models_1.SubBlockType.PriceCard]: sub_blocks_1.PriceCard,
    [models_1.SubBlockType.ImageCard]: sub_blocks_1.ImageCard,
};
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.TestEditorBlock]: TestEditorBlock_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
