import { ComponentStylingModel, ComponentStylingPropertiesControlComponent } from '@anglr/dynamic/layout-editor';
import { MaterialTabGroupModel } from './tabGroup.model';
import { MaterialTabGroupPropertiesControlSAComponent } from '../misc/components';
/**
 * Material expansion panel layout metadata
 */
export class MaterialTabGroupLayoutEditorMetadata {
    //######################### constructor #########################
    constructor() {
        //######################### public properties - implementation of LayoutEditorMetadataDescriptor #########################
        /**
         * @inheritdoc
         */
        this.metaInfo = {
            name: 'Tabs',
            description: 'Material tabs',
            group: 'Material',
            optionsMetadata: {
                propertiesMetadata: [
                    {
                        modelType: ComponentStylingModel,
                        propertiesControls: [
                            ComponentStylingPropertiesControlComponent,
                        ],
                    },
                    {
                        modelType: MaterialTabGroupModel,
                        propertiesControls: [
                            MaterialTabGroupPropertiesControlSAComponent,
                        ],
                    },
                ]
            }
        };
        /**
         * @inheritdoc
         */
        this.canDropMetadata = () => false;
        /**
         * @inheritdoc
         */
        this.getChildrenContainer = element => element.querySelector('.mat-expansion-panel-body');
        Object.freeze(this);
    }
}
//# sourceMappingURL=tabGroup.layoutMetadata.js.map