import { ComponentStylingModel, ComponentStylingPropertiesControlComponent, genericPropertiesControlFor } from '@anglr/dynamic/layout-editor';
import { TextBlockModel } from './textBlock.model';
/**
 * Text block layout metadata
 */
export class TextBlockLayoutEditorMetadata {
    //######################### constructor #########################
    constructor() {
        //######################### public properties - implementation of LayoutEditorMetadataDescriptor #########################
        /**
         * @inheritdoc
         */
        this.metaInfo = {
            name: 'Text block',
            description: 'Displays text',
            group: 'Texts',
            optionsMetadata: {
                propertiesMetadata: [
                    {
                        modelType: ComponentStylingModel,
                        propertiesControls: [
                            ComponentStylingPropertiesControlComponent,
                        ],
                    },
                    {
                        modelType: TextBlockModel,
                        propertiesControls: [
                            genericPropertiesControlFor(['text']),
                        ],
                    },
                ],
            },
            defaultOptions: {
                text: 'This is your text'
            }
        };
        Object.freeze(this);
    }
}
//# sourceMappingURL=textBlock.layoutMetadata.js.map