Vue.component('basketBuilder', {

    props: [
        'deliveryMethods',
        'siteUrl',
        'events'
    ],

    data: function() {
        return {
            orderParentId: null,
            patient: {},
            showBasketBuilder: true,
        };
    },

    methods: {
        emitEvent(name, data) {
            this.$parent.emitEvent(name, data)
        },
    },
});
