export default { data(){ return{ selected: this.mode, modes:{ day: { mode_bezeichnung: "day", icon: "fa-calendar-day" , condition:true}, week: { mode_bezeichnung: "week", icon: "fa-calendar-week", condition: !this.noWeekView }, month: { mode_bezeichnung: "month", icon: "fa-calendar-days", condition: !this.noMonthView }, }, headerPadding:null, } }, inject: [ 'eventsAreNull', 'size', 'mode', 'noWeekView', 'noMonthView', 'containerWidth' ], props: { title: String }, emits: [ 'updateMode', 'prev', 'next', 'click' ], computed: { getHeaderClassSide() { return this.containerWidth > 780 ? 'col-3' : 'col-12' }, getHeaderClassMiddle() { return this.containerWidth > 780 ? 'col-6' : 'col-12' } }, template: /*html*/`