import { ComponentStylingModel, ComponentStylingPropertiesControlComponent, genericPropertiesControlFor } from '@anglr/dynamic/layout-editor';
import { TemplateBlockModel } from './templateBlock.model';
/**
 * Template block layout metadata
 */
export class TemplateBlockLayoutEditorMetadata {
    //######################### constructor #########################
    constructor() {
        //######################### public properties - implementation of LayoutEditorMetadataDescriptor #########################
        /**
         * @inheritdoc
         */
        this.metaInfo = {
            name: 'Template block',
            description: 'Displays another layout template as contents',
            group: 'Data',
            optionsMetadata: {
                propertiesMetadata: [
                    {
                        modelType: ComponentStylingModel,
                        propertiesControls: [
                            ComponentStylingPropertiesControlComponent,
                        ],
                    },
                    {
                        modelType: TemplateBlockModel,
                        propertiesControls: [
                            genericPropertiesControlFor(['layoutId']),
                        ],
                    },
                ],
            },
        };
        Object.freeze(this);
    }
}
//# sourceMappingURL=templateBlock.layoutMetadata.js.map