remove fullcalendar/icalendar component as we fetch events from the GraphQl API #56
14
package-lock.json
generated
14
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "mobilizon",
|
"name": "mobilizon",
|
||||||
"version": "4.0.2",
|
"version": "4.1.0-alpha.1",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "mobilizon",
|
"name": "mobilizon",
|
||||||
"version": "4.0.2",
|
"version": "4.1.0-alpha.1",
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@apollo/client": "^3.3.16",
|
"@apollo/client": "^3.3.16",
|
||||||
|
@ -14,7 +14,6 @@
|
||||||
"@framasoft/socket-apollo-link": "^1.0.0",
|
"@framasoft/socket-apollo-link": "^1.0.0",
|
||||||
"@fullcalendar/core": "^6.1.10",
|
"@fullcalendar/core": "^6.1.10",
|
||||||
"@fullcalendar/daygrid": "^6.1.10",
|
"@fullcalendar/daygrid": "^6.1.10",
|
||||||
"@fullcalendar/icalendar": "^6.1.10",
|
|
||||||
"@fullcalendar/interaction": "^6.1.10",
|
"@fullcalendar/interaction": "^6.1.10",
|
||||||
"@fullcalendar/vue3": "^6.1.10",
|
"@fullcalendar/vue3": "^6.1.10",
|
||||||
"@oruga-ui/oruga-next": "^0.8.2",
|
"@oruga-ui/oruga-next": "^0.8.2",
|
||||||
|
@ -2690,15 +2689,6 @@
|
||||||
"@fullcalendar/core": "~6.1.10"
|
"@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": {
|
"node_modules/@fullcalendar/interaction": {
|
||||||
"version": "6.1.10",
|
"version": "6.1.10",
|
||||||
"resolved": "https://registry.npmjs.org/@fullcalendar/interaction/-/interaction-6.1.10.tgz",
|
"resolved": "https://registry.npmjs.org/@fullcalendar/interaction/-/interaction-6.1.10.tgz",
|
||||||
|
|
|
@ -34,7 +34,6 @@
|
||||||
"@framasoft/socket-apollo-link": "^1.0.0",
|
"@framasoft/socket-apollo-link": "^1.0.0",
|
||||||
"@fullcalendar/core": "^6.1.10",
|
"@fullcalendar/core": "^6.1.10",
|
||||||
"@fullcalendar/daygrid": "^6.1.10",
|
"@fullcalendar/daygrid": "^6.1.10",
|
||||||
"@fullcalendar/icalendar": "^6.1.10",
|
|
||||||
"@fullcalendar/interaction": "^6.1.10",
|
"@fullcalendar/interaction": "^6.1.10",
|
||||||
"@fullcalendar/vue3": "^6.1.10",
|
"@fullcalendar/vue3": "^6.1.10",
|
||||||
"@oruga-ui/oruga-next": "^0.8.2",
|
"@oruga-ui/oruga-next": "^0.8.2",
|
||||||
|
|
|
@ -38,7 +38,6 @@ import { SEARCH_CALENDAR_EVENTS } from "@/graphql/search";
|
||||||
import FullCalendar from "@fullcalendar/vue3";
|
import FullCalendar from "@fullcalendar/vue3";
|
||||||
import { EventSegment } from "@fullcalendar/core";
|
import { EventSegment } from "@fullcalendar/core";
|
||||||
import dayGridPlugin from "@fullcalendar/daygrid";
|
import dayGridPlugin from "@fullcalendar/daygrid";
|
||||||
import iCalendarPlugin from "@fullcalendar/icalendar";
|
|
||||||
import interactionPlugin from "@fullcalendar/interaction";
|
import interactionPlugin from "@fullcalendar/interaction";
|
||||||
import {
|
import {
|
||||||
formatDateISOStringWithoutTime,
|
formatDateISOStringWithoutTime,
|
||||||
|
@ -92,7 +91,7 @@ const { load: searchEventsLoad, refetch: searchEventsRefetch } = useLazyQuery<{
|
||||||
|
|
||||||
const calendarOptions = computed((): object => {
|
const calendarOptions = computed((): object => {
|
||||||
return {
|
return {
|
||||||
plugins: [dayGridPlugin, iCalendarPlugin, interactionPlugin],
|
plugins: [dayGridPlugin, interactionPlugin],
|
||||||
initialView: "dayGridMonth",
|
initialView: "dayGridMonth",
|
||||||
initialDate: lastSelectedDate.value,
|
initialDate: lastSelectedDate.value,
|
||||||
events: async (
|
events: async (
|
||||||
|
|
|
@ -21,7 +21,6 @@ import { Paginate } from "@/types/paginate";
|
||||||
import { SEARCH_CALENDAR_EVENTS } from "@/graphql/search";
|
import { SEARCH_CALENDAR_EVENTS } from "@/graphql/search";
|
||||||
import FullCalendar from "@fullcalendar/vue3";
|
import FullCalendar from "@fullcalendar/vue3";
|
||||||
import dayGridPlugin from "@fullcalendar/daygrid";
|
import dayGridPlugin from "@fullcalendar/daygrid";
|
||||||
import iCalendarPlugin from "@fullcalendar/icalendar";
|
|
||||||
import interactionPlugin from "@fullcalendar/interaction";
|
import interactionPlugin from "@fullcalendar/interaction";
|
||||||
|
|
||||||
const calendarRef = ref();
|
const calendarRef = ref();
|
||||||
|
@ -34,7 +33,7 @@ const { load: searchEventsLoad, refetch: searchEventsRefetch } = useLazyQuery<{
|
||||||
|
|
||||||
const calendarOptions = computed((): object => {
|
const calendarOptions = computed((): object => {
|
||||||
return {
|
return {
|
||||||
plugins: [dayGridPlugin, iCalendarPlugin, interactionPlugin],
|
plugins: [dayGridPlugin, interactionPlugin],
|
||||||
initialView: "dayGridMonth",
|
initialView: "dayGridMonth",
|
||||||
events: async (
|
events: async (
|
||||||
info: { start: Date; end: Date; startStr: string; endStr: string },
|
info: { start: Date; end: Date; startStr: string; endStr: string },
|
||||||
|
|
Loading…
Reference in a new issue