Compare commits

..

No commits in common. "2868fc3324e0716a076b8a9cf5b9ee7070e4ef55" and "53fbc04b1f0199a30ee4e404983d5cd60d70d7f9" have entirely different histories.

3 changed files with 743 additions and 766 deletions

View File

@ -10,29 +10,27 @@
"serve": "webpack serve" "serve": "webpack serve"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.19.3", "@babel/core": "^7.18.6",
"@babel/plugin-transform-runtime": "^7.19.1", "@babel/plugin-transform-runtime": "^7.18.6",
"@babel/preset-env": "^7.19.3", "@babel/preset-env": "^7.18.6",
"@types/intl": "^1.2.0", "@types/intl": "^1.2.0",
"babel-loader": "^8.2.5", "babel-loader": "^8.2.5",
"css-loader": "^6.7.1", "css-loader": "^6.7.1",
"file-loader": "^6.2.0", "file-loader": "^6.2.0",
"style-loader": "^3.3.1", "style-loader": "^3.3.1",
"ts-loader": "^9.4.1", "ts-loader": "^9.3.1",
"typescript": "^4.8.4", "typescript": "^4.7.4",
"webpack": "^5.74.0", "webpack": "^5.73.0",
"webpack-cli": "^4.10.0", "webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.11.1" "webpack-dev-server": "^4.9.2"
}, },
"dependencies": { "dependencies": {
"@babel/runtime": "^7.19.0", "@babel/runtime": "^7.18.6",
"@fullcalendar/core": "^5.11.3", "@fullcalendar/core": "^5.11.0",
"@fullcalendar/icalendar": "^5.11.3", "@fullcalendar/icalendar": "^5.11.0",
"@fullcalendar/luxon2": "^5.11.3", "@fullcalendar/resource-timegrid": "^5.11.0",
"@fullcalendar/resource-timegrid": "^5.11.3", "core-js": "^3.23.3",
"core-js": "^3.25.5",
"intl": "^1.2.5", "intl": "^1.2.5",
"luxon": "^3.0.4",
"unique-colors": "^1.0.1" "unique-colors": "^1.0.1"
} }
} }

File diff suppressed because it is too large Load Diff

View File

@ -7,7 +7,6 @@ window.Intl = Intl;
import { Calendar, CalendarOptions } from '@fullcalendar/core'; import { Calendar, CalendarOptions } from '@fullcalendar/core';
import iCalendarPlugin from '@fullcalendar/icalendar'; import iCalendarPlugin from '@fullcalendar/icalendar';
import luxon2Plugin from '@fullcalendar/luxon2';
import resourceTimeGridPlugin from '@fullcalendar/resource-timegrid'; import resourceTimeGridPlugin from '@fullcalendar/resource-timegrid';
import { unique_colors } from 'unique-colors'; import { unique_colors } from 'unique-colors';
@ -32,11 +31,10 @@ const toolFilter: string[] | undefined = urlParams.get('tool')?.split(';');
const calendarOptions: CalendarOptions = { const calendarOptions: CalendarOptions = {
schedulerLicenseKey: 'CC-Attribution-NonCommercial-NoDerivatives', schedulerLicenseKey: 'CC-Attribution-NonCommercial-NoDerivatives',
plugins: [iCalendarPlugin, luxon2Plugin, resourceTimeGridPlugin], plugins: [iCalendarPlugin, resourceTimeGridPlugin],
allDaySlot: false, allDaySlot: false,
nowIndicator: true, nowIndicator: true,
headerToolbar: { start: '', center: 'title', end: '' }, headerToolbar: { start: '', center: 'title', end: '' },
titleFormat: "'Reservations for ' cccc LLLL d, yyyy",
initialView: 'resourceTimeGrid', initialView: 'resourceTimeGrid',
height: 'auto', height: 'auto',
slotMinTime: '8:00', slotMinTime: '8:00',