Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 20bac588 authored by Georg Ehrke's avatar Georg Ehrke
Browse files

Restructure src/fullcalendar

parent cf5c9317
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -72,10 +72,10 @@ import {
} from 'vuex'
import { getLocale } from '@nextcloud/l10n'
import Modal from '@nextcloud/vue/dist/Components/Modal'
import VTimezoneNamedTimezone from '../../../fullcalendar/vtimezoneNamedTimezoneImpl.js'
import freeBusyEventSource from '../../../fullcalendar/freeBusyEventSource.js'
import VTimezoneNamedTimezone from '../../../fullcalendar/timezones/vtimezoneNamedTimezoneImpl.js'
import freeBusyEventSource from '../../../fullcalendar/eventSources/freeBusyEventSource.js'
import { getColorForFBType } from '../../../utils/freebusy.js'
import freeBusyFakeBlockingEventSource from '../../../fullcalendar/freeBusyFakeBlockingEventSource.js'
import freeBusyFakeBlockingEventSource from '../../../fullcalendar/eventSources/freeBusyFakeBlockingEventSource.js'

export default {
	name: 'FreeBusy',
+4 −4
Original line number Diff line number Diff line
@@ -21,11 +21,11 @@
 */
import {
	generateTextColorForHex,
} from '../utils/color.js'
import getTimezoneManager from '../services/timezoneDataProviderService'
import { getUnixTimestampFromDate } from '../utils/date.js'
} from '../../utils/color.js'
import getTimezoneManager from '../../services/timezoneDataProviderService'
import { getUnixTimestampFromDate } from '../../utils/date.js'
import { eventSourceFunction } from './eventSourceFunction.js'
import logger from '../utils/logger.js'
import logger from '../../utils/logger.js'

/**
 * Returns a function to generate a FullCalendar event-source based on the Vuex calendar model
+3 −3
Original line number Diff line number Diff line
@@ -25,9 +25,9 @@ import {
	isLight,
	generateTextColorForHex,
	getHexForColorName,
} from '../utils/color.js'
import logger from '../utils/logger.js'
import { getAllObjectsInTimeRange } from '../utils/calendarObject.js'
} from '../../utils/color.js'
import logger from '../../utils/logger.js'
import { getAllObjectsInTimeRange } from '../../utils/calendarObject.js'

/**
 * convert an array of calendar-objects to events
+3 −3
Original line number Diff line number Diff line
@@ -19,12 +19,12 @@
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 *
 */
import getTimezoneManager from '../services/timezoneDataProviderService.js'
import getTimezoneManager from '../../services/timezoneDataProviderService.js'
import { createFreeBusyRequest } from 'calendar-js'
import DateTimeValue from 'calendar-js/src/values/dateTimeValue.js'
import { findSchedulingOutbox } from '../services/caldavService.js'
import { findSchedulingOutbox } from '../../services/caldavService.js'
import freeBusyEventSourceFunction from './freeBusyEventSourceFunction.js'
import logger from '../utils/logger.js'
import logger from '../../utils/logger.js'
// import AttendeeProperty from 'calendar-js/src/properties/attendeeProperty.js'

/**
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@
 *
 */

import { getColorForFBType } from '../utils/freebusy.js'
import { getColorForFBType } from '../../utils/freebusy.js'
import { getParserManager } from 'calendar-js'

/**
Loading