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