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