Event search (Ctrl+F), locale/RTL handling, weekday selector workday/weekend, refactored event handling, Firefox compatibility #3
@ -457,7 +457,7 @@ window.addEventListener('resize', () => {
|
|||||||
/>
|
/>
|
||||||
<div class="calendar-container">
|
<div class="calendar-container">
|
||||||
<div class="calendar-viewport" ref="viewport">
|
<div class="calendar-viewport" ref="viewport">
|
||||||
<div class="calendar-content">
|
<div class="calendar-content" :style="{ height: contentHeight + 'px' }">
|
||||||
<CalendarWeek
|
<CalendarWeek
|
||||||
v-for="week in visibleWeeks"
|
v-for="week in visibleWeeks"
|
||||||
:key="week.virtualWeek"
|
:key="week.virtualWeek"
|
||||||
@ -471,8 +471,8 @@ window.addEventListener('resize', () => {
|
|||||||
@event-click="handleEventClick"
|
@event-click="handleEventClick"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="month-column-area">
|
<div class="month-column-area" :style="{ height: contentHeight + 'px' }">
|
||||||
<div class="month-labels-container" :style="{ height: contentHeight + 'px' }">
|
<div class="month-labels-container" :style="{ height: '100%' }">
|
||||||
<template v-for="monthWeek in visibleWeeks" :key="monthWeek.virtualWeek + '-month'">
|
<template v-for="monthWeek in visibleWeeks" :key="monthWeek.virtualWeek + '-month'">
|
||||||
<div
|
<div
|
||||||
v-if="monthWeek && monthWeek.monthLabel"
|
v-if="monthWeek && monthWeek.monthLabel"
|
||||||
|
@ -23,8 +23,7 @@ const monthAbbr = [
|
|||||||
'nov',
|
'nov',
|
||||||
'dec',
|
'dec',
|
||||||
]
|
]
|
||||||
// Browser safe range
|
const MIN_YEAR = 1000
|
||||||
const MIN_YEAR = 100
|
|
||||||
const MAX_YEAR = 9999
|
const MAX_YEAR = 9999
|
||||||
|
|
||||||
// Core helpers ------------------------------------------------------------
|
// Core helpers ------------------------------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user