diff --git a/src/front/package.json b/src/front/package.json index 939fc18e3..c2c0f6b40 100644 --- a/src/front/package.json +++ b/src/front/package.json @@ -36,7 +36,14 @@ "vue3-autocounter": "^1.0.8", "vuelidate": "^0.7.7", "vuetify": "^3.7.8", - "webfontloader": "^1.6.28" + "webfontloader": "^1.6.28", + "@fullcalendar/core": "^6.1.19", + "@fullcalendar/daygrid": "^6.1.19", + "@fullcalendar/interaction": "^6.1.19", + "@fullcalendar/multimonth": "^6.1.19", + "@fullcalendar/timegrid": "^6.1.19", + "@fullcalendar/list": "6.1.19", + "@fullcalendar/vue3": "^6.1.19" }, "devDependencies": { "@commitlint/cli": "^19.7.1", diff --git a/src/front/src/components/calendar_of_events/BigCalendar.vue b/src/front/src/components/calendar_of_events/BigCalendar.vue index e3015ba7c..c0408cb25 100644 --- a/src/front/src/components/calendar_of_events/BigCalendar.vue +++ b/src/front/src/components/calendar_of_events/BigCalendar.vue @@ -1,84 +1,13 @@ + + diff --git a/src/front/src/components/calendar_of_events/UI_calendar/MiniCalendar.vue b/src/front/src/components/calendar_of_events/UI_calendar/MiniCalendar.vue new file mode 100644 index 000000000..b273d911e --- /dev/null +++ b/src/front/src/components/calendar_of_events/UI_calendar/MiniCalendar.vue @@ -0,0 +1,102 @@ + + + diff --git a/src/front/src/components/calendar_of_events/UI_calendar/calendarFull.vue b/src/front/src/components/calendar_of_events/UI_calendar/calendarFuldl.vue similarity index 99% rename from src/front/src/components/calendar_of_events/UI_calendar/calendarFull.vue rename to src/front/src/components/calendar_of_events/UI_calendar/calendarFuldl.vue index abcc692b5..5ff2c0573 100644 --- a/src/front/src/components/calendar_of_events/UI_calendar/calendarFull.vue +++ b/src/front/src/components/calendar_of_events/UI_calendar/calendarFuldl.vue @@ -93,7 +93,7 @@ export default { { type: "day", text: "День" }, { type: "week", text: "Неделя" }, { type: "month", text: "Месяц" }, - { type: "modntdh", text: "Год" }, + // { type: "modntdh", text: "Год" }, { type: "modnth", text: "Расписание" }, ]; @@ -314,7 +314,7 @@ export default { ev.rule.byweekday[ev.rule.byweekday.length - 1].weekday == 6 ? 0 : ev.rule.byweekday[ev.rule.byweekday.length - 1].weekday + 1; - + if (day.date.getDay() == weeknumS && weeknumS != weeknumE) { return "rounded-e-lg"; } else if (day.date.getDay() == weeknumE && weeknumS != weeknumE) { @@ -328,7 +328,7 @@ export default { return "rounded-lg"; } - + } if (ev.rule.freq == 0) { if (zeroTime(day.date) == zeroTime(ev.start_event)) { @@ -342,7 +342,7 @@ export default { // ev.rule.byweekday[ev.rule.byweekday.length - 1].weekday == 6 // ? 0 // : ev.rule.byweekday[ev.rule.byweekday.length - 1].weekday + 1; - + // if (day.date.getDay() == weeknumS && weeknumS != weeknumE) { // return "rounded-e-lg"; // } else if (day.date.getDay() == weeknumE && weeknumS != weeknumE) { diff --git a/src/front/src/components/calendar_of_events/calendar-my.vue b/src/front/src/components/calendar_of_events/calendar-my.vue index 6db399e3c..a6db4782e 100644 --- a/src/front/src/components/calendar_of_events/calendar-my.vue +++ b/src/front/src/components/calendar_of_events/calendar-my.vue @@ -1,12 +1,5 @@