Event search (Ctrl+F), locale/RTL handling, weekday selector workday/weekend, refactored event handling, Firefox compatibility #3

Merged
LeoVasanko merged 17 commits from vol003 into main 2025-08-27 13:41:46 +01:00
2 changed files with 4 additions and 5 deletions
Showing only changes of commit b539c71611 - Show all commits

View File

@ -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"

View File

@ -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 ------------------------------------------------------------