/**
 * Placeholder container layout metadata
 */
export class PlaceholderContainerLayoutEditorMetadata {
    //######################### constructor #########################
    constructor() {
        //######################### public properties - implementation of LayoutEditorMetadataDescriptor #########################
        /**
         * @inheritdoc
         */
        this.metaInfo = {
            name: 'Placeholder container',
            description: 'Placeholder container displays placeholders content',
            group: 'Component',
            dragDisabled: true,
        };
        /**
         * @inheritdoc
         */
        this.addDescendant = (metadata, options) => {
            options.content = metadata;
        };
        /**
         * @inheritdoc
         */
        this.canDropMetadata = options => !options?.content;
        /**
         * @inheritdoc
         */
        this.removeDescendant = (_, options) => {
            options.content = null;
        };
        Object.freeze(this);
    }
}
//# sourceMappingURL=placeholderContainer.layoutMetadata.js.map