"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ImagesMapProvider = void 0;
const __1 = require("../..");
const extension_provider_1 = require("../../integration/extension.provider");
const content_image_template_const_1 = require("../content-image-template/content-image-template.const");
const map_const_1 = require("../map/map.const");
const map_provider_1 = require("../map/map.provider");
const images_map_const_1 = require("./images-map.const");
class ImagesMapProvider extends extension_provider_1.ExtensionProvider {
    constructor(app) {
        super(ImagesMapProvider.name, app);
        this.app = app;
        this.requiredProviders.push(map_provider_1.MapProvider, __1.ContentImageProvider);
        this.services.push();
        this.objectTypes.push(images_map_const_1.IMAGES_EVENTS_MAP_TYPE);
        this.objectSubTypes.push();
        this.objectTrees.imagesMap = {
            reset: false,
            parentNode: () => this.appCtx.publicTemplatesNode.value,
            treeNodeName: 'imagesMap',
            treeNodeTypeId: content_image_template_const_1.IMAGE_GALLERY_TEMPLATE_TYPE.name,
            tree: {
                treeNode: {
                    contentGenericTemplate: __1.contentGenericTemplate(__dirname, 'imagesMap'),
                },
                children: {},
            },
        };
        this.objectTrees.imagesAndEventsMap = {
            reset: false,
            parentNode: () => this.appCtx.publicTemplatesNode.value,
            treeNodeName: 'imagesAndEventsMap',
            treeNodeTypeId: map_const_1.MAP_TEMPLATE_TYPE.name,
            tree: {
                treeNode: {
                    contentGenericTemplate: __1.contentGenericTemplate(__dirname, 'imagesAndEventsMap'),
                },
                children: {},
            },
        };
    }
}
exports.ImagesMapProvider = ImagesMapProvider;
//# sourceMappingURL=images-map.provider.js.map