mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
DX: update fullcalendar
This commit is contained in:
parent
88b4159ced
commit
77dc040034
18
package.json
18
package.json
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "chill",
|
"name": "chill",
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@alexlafroscia/yaml-merge": "^4.0.0",
|
"@alexlafroscia/yaml-merge": "^4.0.0",
|
||||||
"@apidevtools/swagger-cli": "^4.0.4",
|
"@apidevtools/swagger-cli": "^4.0.4",
|
||||||
"@babel/core": "^7.20.5",
|
"@babel/core": "^7.20.5",
|
||||||
@ -34,12 +34,12 @@
|
|||||||
"webpack-cli": "^5.0.1"
|
"webpack-cli": "^5.0.1"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fullcalendar/core": "^5.11.0",
|
"@fullcalendar/core": "^6.1.4",
|
||||||
"@fullcalendar/daygrid": "^5.11.0",
|
"@fullcalendar/daygrid": "^6.1.4",
|
||||||
"@fullcalendar/interaction": "^5.11.0",
|
"@fullcalendar/interaction": "^6.1.4",
|
||||||
"@fullcalendar/list": "^5.11.0",
|
"@fullcalendar/list": "^6.1.4",
|
||||||
"@fullcalendar/timegrid": "^5.11.0",
|
"@fullcalendar/timegrid": "^6.1.4",
|
||||||
"@fullcalendar/vue3": "^5.11.1",
|
"@fullcalendar/vue3": "^6.1.4",
|
||||||
"@popperjs/core": "^2.9.2",
|
"@popperjs/core": "^2.9.2",
|
||||||
"dropzone": "^5.7.6",
|
"dropzone": "^5.7.6",
|
||||||
"es6-promise": "^4.2.8",
|
"es6-promise": "^4.2.8",
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import {EventInput} from '@fullcalendar/vue3';
|
import {EventInput} from '@fullcalendar/core';
|
||||||
import {DateTime, Location, User, UserAssociatedInterface} from '../../../ChillMainBundle/Resources/public/types' ;
|
import {DateTime, Location, User, UserAssociatedInterface} from '../../../ChillMainBundle/Resources/public/types' ;
|
||||||
import {Person} from "../../../ChillPersonBundle/Resources/public/types";
|
import {Person} from "../../../ChillPersonBundle/Resources/public/types";
|
||||||
|
|
||||||
|
@ -116,7 +116,6 @@
|
|||||||
<script>
|
<script>
|
||||||
import ConcernedGroups from 'ChillActivityAssets/vuejs/Activity/components/ConcernedGroups.vue';
|
import ConcernedGroups from 'ChillActivityAssets/vuejs/Activity/components/ConcernedGroups.vue';
|
||||||
import Location from 'ChillActivityAssets/vuejs/Activity/components/Location.vue';
|
import Location from 'ChillActivityAssets/vuejs/Activity/components/Location.vue';
|
||||||
import '@fullcalendar/core/vdom'; // solves problem with Vite
|
|
||||||
import frLocale from '@fullcalendar/core/locales/fr';
|
import frLocale from '@fullcalendar/core/locales/fr';
|
||||||
import FullCalendar from '@fullcalendar/vue3';
|
import FullCalendar from '@fullcalendar/vue3';
|
||||||
import dayGridPlugin from '@fullcalendar/daygrid';
|
import dayGridPlugin from '@fullcalendar/daygrid';
|
||||||
|
@ -3,7 +3,7 @@ import {ISOToDatetime} from '../../../../../../ChillMainBundle/Resources/public/
|
|||||||
import {DateTime, User} from '../../../../../../ChillMainBundle/Resources/public/types';
|
import {DateTime, User} from '../../../../../../ChillMainBundle/Resources/public/types';
|
||||||
import {CalendarLight, CalendarRange, CalendarRemote} from '../../../types';
|
import {CalendarLight, CalendarRange, CalendarRemote} from '../../../types';
|
||||||
import type {EventInputCalendarRange} from '../../../types';
|
import type {EventInputCalendarRange} from '../../../types';
|
||||||
import {EventInput} from '@fullcalendar/vue3';
|
import {EventInput} from '@fullcalendar/core';
|
||||||
|
|
||||||
export interface UserData {
|
export interface UserData {
|
||||||
user: User,
|
user: User,
|
||||||
|
@ -116,13 +116,11 @@
|
|||||||
import type {
|
import type {
|
||||||
CalendarOptions,
|
CalendarOptions,
|
||||||
DatesSetArg,
|
DatesSetArg,
|
||||||
EventInput,
|
EventInput
|
||||||
EventInstance
|
} from '@fullcalendar/core';
|
||||||
} from '@fullcalendar/vue3';
|
|
||||||
import {reactive, computed, ref} from "vue";
|
import {reactive, computed, ref} from "vue";
|
||||||
import {useStore} from "vuex";
|
import {useStore} from "vuex";
|
||||||
import {key} from './store';
|
import {key} from './store';
|
||||||
import '@fullcalendar/core/vdom'; // solves problem with Vite
|
|
||||||
import FullCalendar from '@fullcalendar/vue3';
|
import FullCalendar from '@fullcalendar/vue3';
|
||||||
import frLocale from '@fullcalendar/core/locales/fr';
|
import frLocale from '@fullcalendar/core/locales/fr';
|
||||||
import interactionPlugin, {DropArg, EventResizeDoneArg} from "@fullcalendar/interaction";
|
import interactionPlugin, {DropArg, EventResizeDoneArg} from "@fullcalendar/interaction";
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import Modal from "../../../../../../ChillMainBundle/Resources/public/vuejs/_components/Modal.vue";
|
import Modal from "../../../../../../ChillMainBundle/Resources/public/vuejs/_components/Modal.vue";
|
||||||
import {computed, ref} from "vue";
|
import {computed, ref} from "vue";
|
||||||
import {EventApi} from "@fullcalendar/vue3";
|
import {EventApi} from "@fullcalendar/core";
|
||||||
import {useStore} from "vuex";
|
import {useStore} from "vuex";
|
||||||
import {key} from "../store";
|
import {key} from "../store";
|
||||||
import {Location} from "../../../../../../ChillMainBundle/Resources/public/types";
|
import {Location} from "../../../../../../ChillMainBundle/Resources/public/types";
|
||||||
|
@ -2,7 +2,7 @@ import {State} from './../index';
|
|||||||
import {ActionContext, Module} from 'vuex';
|
import {ActionContext, Module} from 'vuex';
|
||||||
import {CalendarLight} from '../../../../types';
|
import {CalendarLight} from '../../../../types';
|
||||||
import {fetchCalendarLocalForUser} from '../../../Calendar/api';
|
import {fetchCalendarLocalForUser} from '../../../Calendar/api';
|
||||||
import {EventInput} from '@fullcalendar/vue3';
|
import {EventInput} from '@fullcalendar/core';
|
||||||
import {localsToFullCalendarEvent} from "../../../Calendar/store/utils";
|
import {localsToFullCalendarEvent} from "../../../Calendar/store/utils";
|
||||||
import {TransportExceptionInterface} from "../../../../../../../ChillMainBundle/Resources/public/lib/api/apiMethods";
|
import {TransportExceptionInterface} from "../../../../../../../ChillMainBundle/Resources/public/lib/api/apiMethods";
|
||||||
import {COLORS} from "../../../Calendar/const";
|
import {COLORS} from "../../../Calendar/const";
|
||||||
|
@ -4,7 +4,7 @@ import {CalendarRange, CalendarRangeCreate, CalendarRangeEdit, isEventInputCalen
|
|||||||
import {Location} from "../../../../../../../ChillMainBundle/Resources/public/types";
|
import {Location} from "../../../../../../../ChillMainBundle/Resources/public/types";
|
||||||
import {fetchCalendarRangeForUser} from '../../../Calendar/api';
|
import {fetchCalendarRangeForUser} from '../../../Calendar/api';
|
||||||
import {calendarRangeToFullCalendarEvent} from '../../../Calendar/store/utils';
|
import {calendarRangeToFullCalendarEvent} from '../../../Calendar/store/utils';
|
||||||
import {EventInput} from '@fullcalendar/vue3';
|
import {EventInput} from '@fullcalendar/core';
|
||||||
import {makeFetch} from "../../../../../../../ChillMainBundle/Resources/public/lib/api/apiMethods";
|
import {makeFetch} from "../../../../../../../ChillMainBundle/Resources/public/lib/api/apiMethods";
|
||||||
import {
|
import {
|
||||||
datetimeToISO,
|
datetimeToISO,
|
||||||
|
@ -2,7 +2,7 @@ import {State} from './../index';
|
|||||||
import {ActionContext, Module} from 'vuex';
|
import {ActionContext, Module} from 'vuex';
|
||||||
import {CalendarRemote} from '../../../../types';
|
import {CalendarRemote} from '../../../../types';
|
||||||
import {fetchCalendarRemoteForUser} from '../../../Calendar/api';
|
import {fetchCalendarRemoteForUser} from '../../../Calendar/api';
|
||||||
import {EventInput, EventSource} from '@fullcalendar/vue3';
|
import {EventInput} from '@fullcalendar/core';
|
||||||
import {remoteToFullCalendarEvent} from "../../../Calendar/store/utils";
|
import {remoteToFullCalendarEvent} from "../../../Calendar/store/utils";
|
||||||
import {TransportExceptionInterface} from "../../../../../../../ChillMainBundle/Resources/public/lib/api/apiMethods";
|
import {TransportExceptionInterface} from "../../../../../../../ChillMainBundle/Resources/public/lib/api/apiMethods";
|
||||||
import {COLORS} from "../../../Calendar/const";
|
import {COLORS} from "../../../Calendar/const";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user