<script>
import BaseComponent from '@primevue-ce/core/basecomponent';
import MenuStyle from '@primevue-ce/primevue/menu/style';

export default {
    name: 'BaseMenu',
    extends: BaseComponent,
    props: {
        popup: {
            type: Boolean,
            default: false
        },
        model: {
            type: Array,
            default: null
        },
        appendTo: {
            type: [String, Object],
            default: 'body'
        },
        autoZIndex: {
            type: Boolean,
            default: true
        },
        baseZIndex: {
            type: Number,
            default: 0
        },
        tabindex: {
            type: Number,
            default: 0
        },
        ariaLabel: {
            type: String,
            default: null
        },
        ariaLabelledby: {
            type: String,
            default: null
        }
    },
    style: MenuStyle,
    provide() {
        return {
            $pcMenu: this,
            $parentInstance: this
        };
    }
};
</script>
