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