import { ComponentStylingModel, ComponentStylingPropertiesControlComponent, genericPropertiesControlFor } from '@anglr/dynamic/layout-editor';
import { SelectModel } from './select.model';
/**
 *  select layout metadata
 */
export class SelectLayoutEditorMetadata {
    //######################### constructor #########################
    constructor() {
        //######################### public properties - implementation of LayoutEditorMetadataDescriptor #########################
        /**
         * @inheritdoc
         */
        this.metaInfo = {
            name: 'Select',
            description: 'Dropdown',
            optionsMetadata: {
                propertiesMetadata: [
                    {
                        modelType: ComponentStylingModel,
                        propertiesControls: [
                            ComponentStylingPropertiesControlComponent,
                        ],
                    },
                    {
                        modelType: SelectModel,
                        propertiesControls: [
                            genericPropertiesControlFor(['label', 'placeholder', 'multiple', 'controlName']),
                        ],
                    },
                ],
            },
            defaultOptions: {
                label: 'Input label',
                placeholder: 'Placeholder',
                multiple: false,
            },
            group: 'Form fields'
        };
        Object.freeze(this);
    }
}
//# sourceMappingURL=select.layoutMetadata.js.map