diff --git a/package-lock.json b/package-lock.json index 03f8fe4be..3662b3476 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mobilizon", - "version": "4.0.2", + "version": "4.1.0-alpha.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "mobilizon", - "version": "4.0.2", + "version": "4.1.0-alpha.1", "hasInstallScript": true, "dependencies": { "@apollo/client": "^3.3.16", @@ -14,7 +14,6 @@ "@framasoft/socket-apollo-link": "^1.0.0", "@fullcalendar/core": "^6.1.10", "@fullcalendar/daygrid": "^6.1.10", - "@fullcalendar/icalendar": "^6.1.10", "@fullcalendar/interaction": "^6.1.10", "@fullcalendar/vue3": "^6.1.10", "@oruga-ui/oruga-next": "^0.8.2", @@ -2690,15 +2689,6 @@ "@fullcalendar/core": "~6.1.10" } }, - "node_modules/@fullcalendar/icalendar": { - "version": "6.1.10", - "resolved": "https://registry.npmjs.org/@fullcalendar/icalendar/-/icalendar-6.1.10.tgz", - "integrity": "sha512-TXjtZhjYIQZjeqULRjwDd2VWlymdhJmltaN26YS0dcGuCrQhJJ3x/sODVbVaW1mvbMjnjXYUE8AhdpxvhYGIJg==", - "peerDependencies": { - "@fullcalendar/core": "~6.1.10", - "ical.js": "^1.4.0" - } - }, "node_modules/@fullcalendar/interaction": { "version": "6.1.10", "resolved": "https://registry.npmjs.org/@fullcalendar/interaction/-/interaction-6.1.10.tgz", diff --git a/package.json b/package.json index 6c79f4b19..1903bce9b 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,6 @@ "@framasoft/socket-apollo-link": "^1.0.0", "@fullcalendar/core": "^6.1.10", "@fullcalendar/daygrid": "^6.1.10", - "@fullcalendar/icalendar": "^6.1.10", "@fullcalendar/interaction": "^6.1.10", "@fullcalendar/vue3": "^6.1.10", "@oruga-ui/oruga-next": "^0.8.2", diff --git a/src/components/FullCalendar/EventsAgenda.vue b/src/components/FullCalendar/EventsAgenda.vue index bcbf806bd..586fa3a32 100644 --- a/src/components/FullCalendar/EventsAgenda.vue +++ b/src/components/FullCalendar/EventsAgenda.vue @@ -38,7 +38,6 @@ import { SEARCH_CALENDAR_EVENTS } from "@/graphql/search"; import FullCalendar from "@fullcalendar/vue3"; import { EventSegment } from "@fullcalendar/core"; import dayGridPlugin from "@fullcalendar/daygrid"; -import iCalendarPlugin from "@fullcalendar/icalendar"; import interactionPlugin from "@fullcalendar/interaction"; import { formatDateISOStringWithoutTime, @@ -92,7 +91,7 @@ const { load: searchEventsLoad, refetch: searchEventsRefetch } = useLazyQuery<{ const calendarOptions = computed((): object => { return { - plugins: [dayGridPlugin, iCalendarPlugin, interactionPlugin], + plugins: [dayGridPlugin, interactionPlugin], initialView: "dayGridMonth", initialDate: lastSelectedDate.value, events: async ( diff --git a/src/components/FullCalendar/EventsCalendar.vue b/src/components/FullCalendar/EventsCalendar.vue index 68ac3bfbb..92c85dec7 100644 --- a/src/components/FullCalendar/EventsCalendar.vue +++ b/src/components/FullCalendar/EventsCalendar.vue @@ -21,7 +21,6 @@ import { Paginate } from "@/types/paginate"; import { SEARCH_CALENDAR_EVENTS } from "@/graphql/search"; import FullCalendar from "@fullcalendar/vue3"; import dayGridPlugin from "@fullcalendar/daygrid"; -import iCalendarPlugin from "@fullcalendar/icalendar"; import interactionPlugin from "@fullcalendar/interaction"; const calendarRef = ref(); @@ -34,7 +33,7 @@ const { load: searchEventsLoad, refetch: searchEventsRefetch } = useLazyQuery<{ const calendarOptions = computed((): object => { return { - plugins: [dayGridPlugin, iCalendarPlugin, interactionPlugin], + plugins: [dayGridPlugin, interactionPlugin], initialView: "dayGridMonth", events: async ( info: { start: Date; end: Date; startStr: string; endStr: string },