import CalendarAbstract from './Abstract.js'; export default { mixins: [ CalendarAbstract ], inject: [ 'size' ], data() { return { monthIndices: [...Array(12).keys()] } }, computed: { title() { return this.focusDate.format({year: 'numeric'}); }, months() { return this.monthIndices.map(i => (new Date(0, i, 1)).toLocaleString(this.$p.user_locale.value, {month: this.size < 2 ? 'short' : 'long'})); } }, template: `