import { ComponentStylingModel, ComponentStylingPropertiesControlComponent, genericPropertiesControlFor } from '@anglr/dynamic/layout-editor';
import { MaterialRadioModel } from './radio.model';
/**
 * Material text field layout metadata
 */
export class MaterialRadioLayoutEditorMetadata {
    //######################### constructor #########################
    constructor() {
        //######################### public properties - implementation of LayoutEditorMetadataDescriptor #########################
        /**
         * @inheritdoc
         */
        this.metaInfo = {
            name: 'Radio',
            description: 'Material radio',
            optionsMetadata: {
                propertiesMetadata: [
                    {
                        modelType: ComponentStylingModel,
                        propertiesControls: [
                            ComponentStylingPropertiesControlComponent,
                        ],
                    },
                    {
                        modelType: MaterialRadioModel,
                        propertiesControls: [
                            genericPropertiesControlFor(['options', 'controlName']),
                        ],
                    },
                ],
            },
            defaultOptions: {
                options: 'Radio'
            },
            group: 'Material form fields'
        };
        Object.freeze(this);
    }
}
//# sourceMappingURL=radio.layoutMetadata.js.map