mirror of https://github.com/nextcloud/calendar
Fix eslint issues
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
This commit is contained in:
parent
1b07d33bed
commit
93fb7c58df
|
@ -26,7 +26,7 @@ import { linkTo } from '@nextcloud/router'
|
|||
import { translate, translatePlural } from '@nextcloud/l10n'
|
||||
import Vue from 'vue'
|
||||
|
||||
import Booking from '../views/Appointments/Booking'
|
||||
import Booking from '../views/Appointments/Booking.vue'
|
||||
|
||||
// CSP config for webpack dynamic chunk loading
|
||||
// eslint-disable-next-line
|
||||
|
|
|
@ -26,7 +26,7 @@ import { linkTo } from '@nextcloud/router'
|
|||
import { translate, translatePlural } from '@nextcloud/l10n'
|
||||
import Vue from 'vue'
|
||||
|
||||
import Confirmation from '../views/Appointments/Confirmation'
|
||||
import Confirmation from '../views/Appointments/Confirmation.vue'
|
||||
|
||||
// CSP config for webpack dynamic chunk loading
|
||||
// eslint-disable-next-line
|
||||
|
|
|
@ -26,7 +26,7 @@ import { linkTo } from '@nextcloud/router'
|
|||
import { translate, translatePlural } from '@nextcloud/l10n'
|
||||
import Vue from 'vue'
|
||||
|
||||
import Conflict from '../views/Appointments/Conflict'
|
||||
import Conflict from '../views/Appointments/Conflict.vue'
|
||||
|
||||
// CSP config for webpack dynamic chunk loading
|
||||
// eslint-disable-next-line
|
||||
|
|
|
@ -26,7 +26,7 @@ import { linkTo } from '@nextcloud/router'
|
|||
import Vue from 'vue'
|
||||
import { translate, translatePlural } from '@nextcloud/l10n'
|
||||
|
||||
import Overview from '../views/Appointments/Overview'
|
||||
import Overview from '../views/Appointments/Overview.vue'
|
||||
|
||||
// CSP config for webpack dynamic chunk loading
|
||||
// eslint-disable-next-line
|
||||
|
|
|
@ -64,8 +64,8 @@ import {
|
|||
import { mapState } from 'vuex'
|
||||
import formatDateRage from '../../../filters/dateRangeFormat.js'
|
||||
import DatePicker from '../../Shared/DatePicker.vue'
|
||||
import ChevronLeftIcon from 'vue-material-design-icons/ChevronLeft'
|
||||
import ChevronRightIcon from 'vue-material-design-icons/ChevronRight'
|
||||
import ChevronLeftIcon from 'vue-material-design-icons/ChevronLeft.vue'
|
||||
import ChevronRightIcon from 'vue-material-design-icons/ChevronRight.vue'
|
||||
|
||||
export default {
|
||||
name: 'AppNavigationHeaderDatePicker',
|
||||
|
|
|
@ -39,8 +39,8 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import Actions from '@nextcloud/vue/dist/Components/NcActions'
|
||||
import ActionButton from '@nextcloud/vue/dist/Components/NcActionButton'
|
||||
import Actions from '@nextcloud/vue/dist/Components/NcActions.js'
|
||||
import ActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js'
|
||||
|
||||
import ViewDay from 'vue-material-design-icons/ViewDay.vue'
|
||||
import ViewGrid from 'vue-material-design-icons/ViewGrid.vue'
|
||||
|
|
|
@ -59,15 +59,15 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import AppointmentConfigListItem from './AppointmentConfigList/AppointmentConfigListItem'
|
||||
import AppNavigationCaption from '@nextcloud/vue/dist/Components/NcAppNavigationCaption'
|
||||
import ActionButton from '@nextcloud/vue/dist/Components/NcActionButton'
|
||||
import PlusIcon from 'vue-material-design-icons/Plus'
|
||||
import AppointmentConfigModal from '../AppointmentConfigModal'
|
||||
import AppointmentConfig from '../../models/appointmentConfig'
|
||||
import logger from '../../utils/logger'
|
||||
import AppointmentConfigListItem from './AppointmentConfigList/AppointmentConfigListItem.vue'
|
||||
import AppNavigationCaption from '@nextcloud/vue/dist/Components/NcAppNavigationCaption.js'
|
||||
import ActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js'
|
||||
import PlusIcon from 'vue-material-design-icons/Plus.vue'
|
||||
import AppointmentConfigModal from '../AppointmentConfigModal.vue'
|
||||
import AppointmentConfig from '../../models/appointmentConfig.js'
|
||||
import logger from '../../utils/logger.js'
|
||||
import { mapGetters } from 'vuex'
|
||||
import NoEmailAddressWarning from '../AppointmentConfigModal/NoEmailAddressWarning'
|
||||
import NoEmailAddressWarning from '../AppointmentConfigModal/NoEmailAddressWarning.vue'
|
||||
|
||||
export default {
|
||||
name: 'AppointmentConfigList',
|
||||
|
|
|
@ -59,18 +59,18 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import AppNavigationItem from '@nextcloud/vue/dist/Components/NcAppNavigationItem'
|
||||
import ActionButton from '@nextcloud/vue/dist/Components/NcActionButton'
|
||||
import ActionLink from '@nextcloud/vue/dist/Components/NcActionLink'
|
||||
import CalendarCheckIcon from 'vue-material-design-icons/CalendarCheck'
|
||||
import DeleteIcon from 'vue-material-design-icons/Delete'
|
||||
import AppNavigationItem from '@nextcloud/vue/dist/Components/NcAppNavigationItem.js'
|
||||
import ActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js'
|
||||
import ActionLink from '@nextcloud/vue/dist/Components/NcActionLink.js'
|
||||
import CalendarCheckIcon from 'vue-material-design-icons/CalendarCheck.vue'
|
||||
import DeleteIcon from 'vue-material-design-icons/Delete.vue'
|
||||
import OpenInNewIcon from 'vue-material-design-icons/OpenInNew.vue'
|
||||
import PencilIcon from 'vue-material-design-icons/Pencil'
|
||||
import AppointmentConfig from '../../../models/appointmentConfig'
|
||||
import AppointmentConfigModal from '../../AppointmentConfigModal'
|
||||
import LinkVariantIcon from 'vue-material-design-icons/LinkVariant'
|
||||
import PencilIcon from 'vue-material-design-icons/Pencil.vue'
|
||||
import AppointmentConfig from '../../../models/appointmentConfig.js'
|
||||
import AppointmentConfigModal from '../../AppointmentConfigModal.vue'
|
||||
import LinkVariantIcon from 'vue-material-design-icons/LinkVariant.vue'
|
||||
import { showError, showSuccess } from '@nextcloud/dialogs'
|
||||
import logger from '../../../utils/logger'
|
||||
import logger from '../../../utils/logger.js'
|
||||
|
||||
export default {
|
||||
name: 'AppointmentConfigListItem',
|
||||
|
|
|
@ -152,13 +152,13 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import Avatar from '@nextcloud/vue/dist/Components/NcAvatar'
|
||||
import Actions from '@nextcloud/vue/dist/Components/NcActions'
|
||||
import ActionButton from '@nextcloud/vue/dist/Components/NcActionButton'
|
||||
import ActionInput from '@nextcloud/vue/dist/Components/NcActionInput'
|
||||
import ActionLink from '@nextcloud/vue/dist/Components/NcActionLink'
|
||||
import ActionText from '@nextcloud/vue/dist/Components/NcActionText'
|
||||
import AppNavigationItem from '@nextcloud/vue/dist/Components/NcAppNavigationItem'
|
||||
import Avatar from '@nextcloud/vue/dist/Components/NcAvatar.js'
|
||||
import Actions from '@nextcloud/vue/dist/Components/NcActions.js'
|
||||
import ActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js'
|
||||
import ActionInput from '@nextcloud/vue/dist/Components/NcActionInput.js'
|
||||
import ActionLink from '@nextcloud/vue/dist/Components/NcActionLink.js'
|
||||
import ActionText from '@nextcloud/vue/dist/Components/NcActionText.js'
|
||||
import AppNavigationItem from '@nextcloud/vue/dist/Components/NcAppNavigationItem.js'
|
||||
import ClickOutside from 'vue-click-outside'
|
||||
import {
|
||||
showInfo,
|
||||
|
|
|
@ -144,11 +144,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import Actions from '@nextcloud/vue/dist/Components/NcActions'
|
||||
import ActionButton from '@nextcloud/vue/dist/Components/NcActionButton'
|
||||
import ActionInput from '@nextcloud/vue/dist/Components/NcActionInput'
|
||||
import ActionText from '@nextcloud/vue/dist/Components/NcActionText'
|
||||
import AppNavigationItem from '@nextcloud/vue/dist/Components/NcAppNavigationItem'
|
||||
import Actions from '@nextcloud/vue/dist/Components/NcActions.js'
|
||||
import ActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js'
|
||||
import ActionInput from '@nextcloud/vue/dist/Components/NcActionInput.js'
|
||||
import ActionText from '@nextcloud/vue/dist/Components/NcActionText.js'
|
||||
import AppNavigationItem from '@nextcloud/vue/dist/Components/NcAppNavigationItem.js'
|
||||
import ClickOutside from 'vue-click-outside'
|
||||
import {
|
||||
generateRemoteUrl,
|
||||
|
|
|
@ -43,12 +43,12 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import Multiselect from '@nextcloud/vue/dist/Components/NcMultiselect'
|
||||
import Multiselect from '@nextcloud/vue/dist/Components/NcMultiselect.js'
|
||||
import { principalPropertySearchByDisplaynameOrEmail } from '../../../services/caldavService.js'
|
||||
import HttpClient from '@nextcloud/axios'
|
||||
import debounce from 'debounce'
|
||||
import { generateOcsUrl } from '@nextcloud/router'
|
||||
import { urldecode } from '../../../utils/url'
|
||||
import { urldecode } from '../../../utils/url.js'
|
||||
|
||||
export default {
|
||||
name: 'CalendarListItemSharingSearch',
|
||||
|
|
|
@ -51,10 +51,10 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import ActionButton from '@nextcloud/vue/dist/Components/NcActionButton'
|
||||
import ActionCheckbox from '@nextcloud/vue/dist/Components/NcActionCheckbox'
|
||||
import AppNavigationItem from '@nextcloud/vue/dist/Components/NcAppNavigationItem'
|
||||
import Avatar from '@nextcloud/vue/dist/Components/NcAvatar'
|
||||
import ActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js'
|
||||
import ActionCheckbox from '@nextcloud/vue/dist/Components/NcActionCheckbox.js'
|
||||
import AppNavigationItem from '@nextcloud/vue/dist/Components/NcAppNavigationItem.js'
|
||||
import Avatar from '@nextcloud/vue/dist/Components/NcAvatar.js'
|
||||
import {
|
||||
showInfo,
|
||||
} from '@nextcloud/dialogs'
|
||||
|
|
|
@ -93,10 +93,10 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import ActionButton from '@nextcloud/vue/dist/Components/NcActionButton'
|
||||
import ActionInput from '@nextcloud/vue/dist/Components/NcActionInput'
|
||||
import ActionText from '@nextcloud/vue/dist/Components/NcActionText'
|
||||
import AppNavigationItem from '@nextcloud/vue/dist/Components/NcAppNavigationItem'
|
||||
import ActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js'
|
||||
import ActionInput from '@nextcloud/vue/dist/Components/NcActionInput.js'
|
||||
import ActionText from '@nextcloud/vue/dist/Components/NcActionText.js'
|
||||
import AppNavigationItem from '@nextcloud/vue/dist/Components/NcAppNavigationItem.js'
|
||||
import {
|
||||
showError,
|
||||
} from '@nextcloud/dialogs'
|
||||
|
|
|
@ -74,12 +74,12 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import Avatar from '@nextcloud/vue/dist/Components/NcAvatar'
|
||||
import ActionButton from '@nextcloud/vue/dist/Components/NcActionButton'
|
||||
import ActionLink from '@nextcloud/vue/dist/Components/NcActionLink'
|
||||
import ActionText from '@nextcloud/vue/dist/Components/NcActionText'
|
||||
import AppNavigationIconBullet from '@nextcloud/vue/dist/Components/NcAppNavigationIconBullet'
|
||||
import AppNavigationItem from '@nextcloud/vue/dist/Components/NcAppNavigationItem'
|
||||
import Avatar from '@nextcloud/vue/dist/Components/NcAvatar.js'
|
||||
import ActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js'
|
||||
import ActionLink from '@nextcloud/vue/dist/Components/NcActionLink.js'
|
||||
import ActionText from '@nextcloud/vue/dist/Components/NcActionText.js'
|
||||
import AppNavigationIconBullet from '@nextcloud/vue/dist/Components/NcAppNavigationIconBullet.js'
|
||||
import AppNavigationItem from '@nextcloud/vue/dist/Components/NcAppNavigationItem.js'
|
||||
import {
|
||||
generateRemoteUrl,
|
||||
} from '@nextcloud/router'
|
||||
|
|
|
@ -107,17 +107,17 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import AppNavigationItem from '@nextcloud/vue/dist/Components/NcAppNavigationItem'
|
||||
import Actions from '@nextcloud/vue/dist/Components/NcActions'
|
||||
import ActionButton from '@nextcloud/vue/dist/Components/NcActionButton'
|
||||
import Modal from '@nextcloud/vue/dist/Components/NcModal'
|
||||
import EmptyContent from '@nextcloud/vue/dist/Components/NcEmptyContent'
|
||||
import AppNavigationItem from '@nextcloud/vue/dist/Components/NcAppNavigationItem.js'
|
||||
import Actions from '@nextcloud/vue/dist/Components/NcActions.js'
|
||||
import ActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js'
|
||||
import Modal from '@nextcloud/vue/dist/Components/NcModal.js'
|
||||
import EmptyContent from '@nextcloud/vue/dist/Components/NcEmptyContent.js'
|
||||
import moment from '@nextcloud/moment'
|
||||
import logger from '../../../utils/logger'
|
||||
import logger from '../../../utils/logger.js'
|
||||
import { showError } from '@nextcloud/dialogs'
|
||||
import { mapGetters } from 'vuex'
|
||||
import Moment from './Moment'
|
||||
import { uidToHexColor } from '../../../utils/color'
|
||||
import Moment from './Moment.vue'
|
||||
import { uidToHexColor } from '../../../utils/color.js'
|
||||
|
||||
import Delete from 'vue-material-design-icons/Delete.vue'
|
||||
|
||||
|
|
|
@ -41,9 +41,9 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import Actions from '@nextcloud/vue/dist/Components/NcActions'
|
||||
import ActionButton from '@nextcloud/vue/dist/Components/NcActionButton'
|
||||
import ActionLink from '@nextcloud/vue/dist/Components/NcActionLink'
|
||||
import Actions from '@nextcloud/vue/dist/Components/NcActions.js'
|
||||
import ActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js'
|
||||
import ActionLink from '@nextcloud/vue/dist/Components/NcActionLink.js'
|
||||
import {
|
||||
mapGetters,
|
||||
} from 'vuex'
|
||||
|
|
|
@ -116,11 +116,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import ActionButton from '@nextcloud/vue/dist/Components/NcActionButton'
|
||||
import ActionCheckbox from '@nextcloud/vue/dist/Components/NcActionCheckbox'
|
||||
import ActionLink from '@nextcloud/vue/dist/Components/NcActionLink'
|
||||
import AppNavigationSettings from '@nextcloud/vue/dist/Components/NcAppNavigationSettings'
|
||||
import Multiselect from '@nextcloud/vue/dist/Components/NcMultiselect'
|
||||
import ActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js'
|
||||
import ActionCheckbox from '@nextcloud/vue/dist/Components/NcActionCheckbox.js'
|
||||
import ActionLink from '@nextcloud/vue/dist/Components/NcActionLink.js'
|
||||
import AppNavigationSettings from '@nextcloud/vue/dist/Components/NcAppNavigationSettings.js'
|
||||
import Multiselect from '@nextcloud/vue/dist/Components/NcMultiselect.js'
|
||||
import {
|
||||
generateRemoteUrl,
|
||||
generateUrl,
|
||||
|
@ -150,7 +150,7 @@ import { getDefaultAlarms } from '../../defaults/defaultAlarmProvider.js'
|
|||
|
||||
import ClipboardArrowLeftOutline from 'vue-material-design-icons/ClipboardArrowLeftOutline.vue'
|
||||
import InformationVariant from 'vue-material-design-icons/InformationVariant.vue'
|
||||
import OpenInNewIcon from 'vue-material-design-icons/OpenInNew'
|
||||
import OpenInNewIcon from 'vue-material-design-icons/OpenInNew.vue'
|
||||
|
||||
export default {
|
||||
name: 'Settings',
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
|
||||
<script>
|
||||
import ImportScreenRow from './ImportScreenRow.vue'
|
||||
import Modal from '@nextcloud/vue/dist/Components/NcModal'
|
||||
import Modal from '@nextcloud/vue/dist/Components/NcModal.js'
|
||||
|
||||
export default {
|
||||
name: 'ImportScreen',
|
||||
|
|
|
@ -32,7 +32,7 @@ import {
|
|||
mapState,
|
||||
} from 'vuex'
|
||||
|
||||
import TimezonePicker from '@nextcloud/vue/dist/Components/NcTimezonePicker'
|
||||
import TimezonePicker from '@nextcloud/vue/dist/Components/NcTimezonePicker.js'
|
||||
import { detectTimezone } from '../../../services/timezoneDetectionService.js'
|
||||
import {
|
||||
showInfo,
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
|
||||
<script>
|
||||
import { translate as t } from '@nextcloud/l10n'
|
||||
import Modal from '@nextcloud/vue/dist/Components/NcModal'
|
||||
import Modal from '@nextcloud/vue/dist/Components/NcModal.js'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -139,19 +139,19 @@
|
|||
|
||||
<script>
|
||||
import { CalendarAvailability } from '@nextcloud/calendar-availability-vue'
|
||||
import Modal from '@nextcloud/vue/dist/Components/NcModal'
|
||||
import TextInput from './AppointmentConfigModal/TextInput'
|
||||
import TextArea from './AppointmentConfigModal/TextArea'
|
||||
import AppointmentConfig from '../models/appointmentConfig'
|
||||
import Modal from '@nextcloud/vue/dist/Components/NcModal.js'
|
||||
import TextInput from './AppointmentConfigModal/TextInput.vue'
|
||||
import TextArea from './AppointmentConfigModal/TextArea.vue'
|
||||
import AppointmentConfig from '../models/appointmentConfig.js'
|
||||
import { mapGetters } from 'vuex'
|
||||
import CalendarPicker from './Shared/CalendarPicker'
|
||||
import DurationInput from './AppointmentConfigModal/DurationInput'
|
||||
import NumberInput from './AppointmentConfigModal/NumberInput'
|
||||
import DurationSelect from './AppointmentConfigModal/DurationSelect'
|
||||
import CheckedDurationSelect from './AppointmentConfigModal/CheckedDurationSelect'
|
||||
import VisibilitySelect from './AppointmentConfigModal/VisibilitySelect'
|
||||
import logger from '../utils/logger'
|
||||
import Confirmation from './AppointmentConfigModal/Confirmation'
|
||||
import CalendarPicker from './Shared/CalendarPicker.vue'
|
||||
import DurationInput from './AppointmentConfigModal/DurationInput.vue'
|
||||
import NumberInput from './AppointmentConfigModal/NumberInput.vue'
|
||||
import DurationSelect from './AppointmentConfigModal/DurationSelect.vue'
|
||||
import CheckedDurationSelect from './AppointmentConfigModal/CheckedDurationSelect.vue'
|
||||
import VisibilitySelect from './AppointmentConfigModal/VisibilitySelect.vue'
|
||||
import logger from '../utils/logger.js'
|
||||
import Confirmation from './AppointmentConfigModal/Confirmation.vue'
|
||||
|
||||
export default {
|
||||
name: 'AppointmentConfigModal',
|
||||
|
|
|
@ -42,8 +42,8 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import DurationSelect from './DurationSelect'
|
||||
import { randomId } from '../../utils/randomId'
|
||||
import DurationSelect from './DurationSelect.vue'
|
||||
import { randomId } from '../../utils/randomId.js'
|
||||
|
||||
export default {
|
||||
name: 'CheckedDurationSelect',
|
||||
|
|
|
@ -43,9 +43,9 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import EmptyContent from '@nextcloud/vue/dist/Components/NcEmptyContent'
|
||||
import CheckIcon from 'vue-material-design-icons/Check'
|
||||
import AppointmentConfig from '../../models/appointmentConfig'
|
||||
import EmptyContent from '@nextcloud/vue/dist/Components/NcEmptyContent.js'
|
||||
import CheckIcon from 'vue-material-design-icons/Check.vue'
|
||||
import AppointmentConfig from '../../models/appointmentConfig.js'
|
||||
|
||||
export default {
|
||||
name: 'Confirmation',
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { randomId } from '../../utils/randomId'
|
||||
import { randomId } from '../../utils/randomId.js'
|
||||
|
||||
export default {
|
||||
name: 'DurationInput',
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
-->
|
||||
|
||||
<template>
|
||||
<Select :label="label"
|
||||
<SelectWrapper :label="label"
|
||||
:value="value"
|
||||
:disabled="disabled"
|
||||
:options="options"
|
||||
|
@ -29,12 +29,12 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import Select from './Select'
|
||||
import SelectWrapper from './SelectWrapper.vue'
|
||||
|
||||
export default {
|
||||
name: 'DurationSelect',
|
||||
components: {
|
||||
Select,
|
||||
SelectWrapper,
|
||||
},
|
||||
props: {
|
||||
label: {
|
||||
|
|
|
@ -28,8 +28,8 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import AppNavigationItem from '@nextcloud/vue/dist/Components/NcAppNavigationItem'
|
||||
import AlertCircleIcon from 'vue-material-design-icons/AlertCircle'
|
||||
import AppNavigationItem from '@nextcloud/vue/dist/Components/NcAppNavigationItem.js'
|
||||
import AlertCircleIcon from 'vue-material-design-icons/AlertCircle.vue'
|
||||
import { generateUrl } from '@nextcloud/router'
|
||||
|
||||
export default {
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { randomId } from '../../utils/randomId'
|
||||
import { randomId } from '../../utils/randomId.js'
|
||||
|
||||
export default {
|
||||
name: 'NumberInput',
|
||||
|
|
|
@ -37,10 +37,10 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { randomId } from '../../utils/randomId'
|
||||
import { randomId } from '../../utils/randomId.js'
|
||||
|
||||
export default {
|
||||
name: 'Select',
|
||||
name: 'SelectWrapper',
|
||||
props: {
|
||||
label: {
|
||||
type: String,
|
|
@ -32,8 +32,8 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { randomId } from '../../utils/randomId'
|
||||
import autosize from '../../directives/autosize'
|
||||
import { randomId } from '../../utils/randomId.js'
|
||||
import autosize from '../../directives/autosize.js'
|
||||
|
||||
export default {
|
||||
name: 'TextArea',
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { randomId } from '../../utils/randomId'
|
||||
import { randomId } from '../../utils/randomId.js'
|
||||
|
||||
export default {
|
||||
name: 'TextInput',
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
-->
|
||||
|
||||
<template>
|
||||
<Select :label="label"
|
||||
<SelectWrapper :label="label"
|
||||
:value="value"
|
||||
:disabled="disabled"
|
||||
:options="options"
|
||||
|
@ -29,12 +29,12 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import Select from './Select'
|
||||
import SelectWrapper from './SelectWrapper.vue'
|
||||
|
||||
export default {
|
||||
name: 'VisibilitySelect',
|
||||
components: {
|
||||
Select,
|
||||
SelectWrapper,
|
||||
},
|
||||
props: {
|
||||
label: {
|
||||
|
|
|
@ -31,8 +31,8 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import EmptyContent from '@nextcloud/vue/dist/Components/NcEmptyContent'
|
||||
import CheckIcon from 'vue-material-design-icons/Check'
|
||||
import EmptyContent from '@nextcloud/vue/dist/Components/NcEmptyContent.js'
|
||||
import CheckIcon from 'vue-material-design-icons/Check.vue'
|
||||
|
||||
export default {
|
||||
name: 'AppointmentBookingConfirmation',
|
||||
|
|
|
@ -65,11 +65,11 @@
|
|||
</Modal>
|
||||
</template>
|
||||
<script>
|
||||
import Avatar from '@nextcloud/vue/dist/Components/NcAvatar'
|
||||
import Modal from '@nextcloud/vue/dist/Components/NcModal'
|
||||
import autosize from '../../directives/autosize'
|
||||
import Avatar from '@nextcloud/vue/dist/Components/NcAvatar.js'
|
||||
import Modal from '@nextcloud/vue/dist/Components/NcModal.js'
|
||||
import autosize from '../../directives/autosize.js'
|
||||
|
||||
import { timeStampToLocaleTime } from '../../utils/localeTime'
|
||||
import { timeStampToLocaleTime } from '../../utils/localeTime.js'
|
||||
|
||||
export default {
|
||||
name: 'AppointmentDetails',
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { timeStampToLocaleTime } from '../../utils/localeTime'
|
||||
import { timeStampToLocaleTime } from '../../utils/localeTime.js'
|
||||
|
||||
export default {
|
||||
name: 'AppointmentSlot',
|
||||
|
|
|
@ -39,8 +39,8 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import AlarmListNew from './AlarmListNew'
|
||||
import AlarmListItem from './AlarmListItem'
|
||||
import AlarmListNew from './AlarmListNew.vue'
|
||||
import AlarmListItem from './AlarmListItem.vue'
|
||||
import { mapState } from 'vuex'
|
||||
|
||||
export default {
|
||||
|
|
|
@ -152,10 +152,10 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import Actions from '@nextcloud/vue/dist/Components/NcActions'
|
||||
import ActionButton from '@nextcloud/vue/dist/Components/NcActionButton'
|
||||
import ActionRadio from '@nextcloud/vue/dist/Components/NcActionRadio'
|
||||
import ActionSeparator from '@nextcloud/vue/dist/Components/NcActionSeparator'
|
||||
import Actions from '@nextcloud/vue/dist/Components/NcActions.js'
|
||||
import ActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js'
|
||||
import ActionRadio from '@nextcloud/vue/dist/Components/NcActionRadio.js'
|
||||
import ActionSeparator from '@nextcloud/vue/dist/Components/NcActionSeparator.js'
|
||||
import { mapState } from 'vuex'
|
||||
import ClickOutside from 'vue-click-outside'
|
||||
import formatAlarm from '../../../filters/alarmFormat.js'
|
||||
|
|
|
@ -38,7 +38,7 @@ import {
|
|||
getAmountHoursMinutesAndUnitForAllDayEvents,
|
||||
} from '../../../utils/alarms.js'
|
||||
import alarmFormat from '../../../filters/alarmFormat.js'
|
||||
import PropertySelect from '../Properties/PropertySelect'
|
||||
import PropertySelect from '../Properties/PropertySelect.vue'
|
||||
|
||||
export default {
|
||||
name: 'AlarmListNew',
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import Multiselect from '@nextcloud/vue/dist/Components/NcMultiselect'
|
||||
import Multiselect from '@nextcloud/vue/dist/Components/NcMultiselect.js'
|
||||
|
||||
export default {
|
||||
name: 'AlarmTimeUnitSelect',
|
||||
|
|
|
@ -124,11 +124,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import Avatar from '@nextcloud/vue/dist/Components/NcAvatar'
|
||||
import IconCheck from 'vue-material-design-icons/CheckCircle'
|
||||
import IconNoResponse from 'vue-material-design-icons/HelpCircle'
|
||||
import IconClose from 'vue-material-design-icons/CloseCircle'
|
||||
import IconDelegated from 'vue-material-design-icons/ArrowRightDropCircle'
|
||||
import Avatar from '@nextcloud/vue/dist/Components/NcAvatar.js'
|
||||
import IconCheck from 'vue-material-design-icons/CheckCircle.vue'
|
||||
import IconNoResponse from 'vue-material-design-icons/HelpCircle.vue'
|
||||
import IconClose from 'vue-material-design-icons/CloseCircle.vue'
|
||||
import IconDelegated from 'vue-material-design-icons/ArrowRightDropCircle.vue'
|
||||
|
||||
export default {
|
||||
name: 'AvatarParticipationStatus',
|
||||
|
|
|
@ -71,8 +71,8 @@ import {
|
|||
mapGetters,
|
||||
mapState,
|
||||
} from 'vuex'
|
||||
import Modal from '@nextcloud/vue/dist/Components/NcModal'
|
||||
import DatePicker from '../../Shared/DatePicker'
|
||||
import Modal from '@nextcloud/vue/dist/Components/NcModal.js'
|
||||
import DatePicker from '../../Shared/DatePicker.vue'
|
||||
import { getColorForFBType } from '../../../utils/freebusy.js'
|
||||
import { getLocale } from '@nextcloud/l10n'
|
||||
import { getFirstDayOfWeekFromMomentLocale } from '../../../utils/moment.js'
|
||||
|
|
|
@ -56,11 +56,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import Actions from '@nextcloud/vue/dist/Components/NcActions'
|
||||
import ActionButton from '@nextcloud/vue/dist/Components/NcActionButton'
|
||||
import Actions from '@nextcloud/vue/dist/Components/NcActions.js'
|
||||
import ActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js'
|
||||
import CalendarQuestionIcon from 'vue-material-design-icons/CalendarQuestion.vue'
|
||||
import { showError, showSuccess } from '@nextcloud/dialogs'
|
||||
import logger from '../../utils/logger'
|
||||
import logger from '../../utils/logger.js'
|
||||
|
||||
export default {
|
||||
name: 'InvitationResponseButtons',
|
||||
|
|
|
@ -63,10 +63,10 @@
|
|||
|
||||
<script>
|
||||
import { mapState } from 'vuex'
|
||||
import InviteesListSearch from './InviteesListSearch'
|
||||
import InviteesListItem from './InviteesListItem'
|
||||
import OrganizerListItem from './OrganizerListItem'
|
||||
import NoAttendeesView from '../NoAttendeesView'
|
||||
import InviteesListSearch from './InviteesListSearch.vue'
|
||||
import InviteesListItem from './InviteesListItem.vue'
|
||||
import OrganizerListItem from './OrganizerListItem.vue'
|
||||
import NoAttendeesView from '../NoAttendeesView.vue'
|
||||
import OrganizerNoEmailError from '../OrganizerNoEmailError.vue'
|
||||
import { createTalkRoom, doesDescriptionContainTalkLink } from '../../../services/talkService.js'
|
||||
import FreeBusy from '../FreeBusy/FreeBusy.vue'
|
||||
|
@ -74,7 +74,7 @@ import {
|
|||
showSuccess,
|
||||
showError,
|
||||
} from '@nextcloud/dialogs'
|
||||
import { organizerDisplayName, removeMailtoPrefix } from '../../../utils/attendee'
|
||||
import { organizerDisplayName, removeMailtoPrefix } from '../../../utils/attendee.js'
|
||||
|
||||
export default {
|
||||
name: 'InviteesList',
|
||||
|
|
|
@ -73,12 +73,12 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import AvatarParticipationStatus from '../AvatarParticipationStatus'
|
||||
import Actions from '@nextcloud/vue/dist/Components/NcActions'
|
||||
import ActionButton from '@nextcloud/vue/dist/Components/NcActionButton'
|
||||
import ActionRadio from '@nextcloud/vue/dist/Components/NcActionRadio'
|
||||
import ActionCheckbox from '@nextcloud/vue/dist/Components/NcActionCheckbox'
|
||||
import { removeMailtoPrefix } from '../../../utils/attendee'
|
||||
import AvatarParticipationStatus from '../AvatarParticipationStatus.vue'
|
||||
import Actions from '@nextcloud/vue/dist/Components/NcActions.js'
|
||||
import ActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js'
|
||||
import ActionRadio from '@nextcloud/vue/dist/Components/NcActionRadio.js'
|
||||
import ActionCheckbox from '@nextcloud/vue/dist/Components/NcActionCheckbox.js'
|
||||
import { removeMailtoPrefix } from '../../../utils/attendee.js'
|
||||
|
||||
import Delete from 'vue-material-design-icons/Delete.vue'
|
||||
|
||||
|
|
|
@ -62,13 +62,13 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import Avatar from '@nextcloud/vue/dist/Components/NcAvatar'
|
||||
import Multiselect from '@nextcloud/vue/dist/Components/NcMultiselect'
|
||||
import Avatar from '@nextcloud/vue/dist/Components/NcAvatar.js'
|
||||
import Multiselect from '@nextcloud/vue/dist/Components/NcMultiselect.js'
|
||||
import { principalPropertySearchByDisplaynameOrEmail } from '../../../services/caldavService.js'
|
||||
import HttpClient from '@nextcloud/axios'
|
||||
import debounce from 'debounce'
|
||||
import { linkTo } from '@nextcloud/router'
|
||||
import { randomId } from '../../../utils/randomId'
|
||||
import { randomId } from '../../../utils/randomId.js'
|
||||
|
||||
export default {
|
||||
name: 'InviteesListSearch',
|
||||
|
|
|
@ -40,8 +40,8 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import AvatarParticipationStatus from '../AvatarParticipationStatus'
|
||||
import { removeMailtoPrefix } from '../../../utils/attendee'
|
||||
import AvatarParticipationStatus from '../AvatarParticipationStatus.vue'
|
||||
import { removeMailtoPrefix } from '../../../utils/attendee.js'
|
||||
|
||||
export default {
|
||||
name: 'OrganizerListItem',
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import CalendarPicker from '../../Shared/CalendarPicker'
|
||||
import CalendarPicker from '../../Shared/CalendarPicker.vue'
|
||||
import CalendarPickerOption from '../../Shared/CalendarPickerOption.vue'
|
||||
|
||||
export default {
|
||||
|
|
|
@ -57,10 +57,10 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import PropertyMixin from '../../../mixins/PropertyMixin'
|
||||
import Actions from '@nextcloud/vue/dist/Components/NcActions'
|
||||
import ActionButton from '@nextcloud/vue/dist/Components/NcActionButton'
|
||||
import ColorPicker from '@nextcloud/vue/dist/Components/NcColorPicker'
|
||||
import PropertyMixin from '../../../mixins/PropertyMixin.js'
|
||||
import Actions from '@nextcloud/vue/dist/Components/NcActions.js'
|
||||
import ActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js'
|
||||
import ColorPicker from '@nextcloud/vue/dist/Components/NcColorPicker.js'
|
||||
import debounce from 'debounce'
|
||||
|
||||
import Undo from 'vue-material-design-icons/Undo.vue'
|
||||
|
|
|
@ -55,8 +55,8 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import PropertyMixin from '../../../mixins/PropertyMixin'
|
||||
import Multiselect from '@nextcloud/vue/dist/Components/NcMultiselect'
|
||||
import PropertyMixin from '../../../mixins/PropertyMixin.js'
|
||||
import Multiselect from '@nextcloud/vue/dist/Components/NcMultiselect.js'
|
||||
|
||||
import InformationVariant from 'vue-material-design-icons/InformationVariant.vue'
|
||||
|
||||
|
|
|
@ -71,8 +71,8 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import PropertyMixin from '../../../mixins/PropertyMixin'
|
||||
import Multiselect from '@nextcloud/vue/dist/Components/NcMultiselect'
|
||||
import PropertyMixin from '../../../mixins/PropertyMixin.js'
|
||||
import Multiselect from '@nextcloud/vue/dist/Components/NcMultiselect.js'
|
||||
import PropertySelectMultipleColoredTag from './PropertySelectMultipleColoredTag.vue'
|
||||
import PropertySelectMultipleColoredOption from './PropertySelectMultipleColoredOption.vue'
|
||||
import { getLocale } from '@nextcloud/l10n'
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
<script>
|
||||
import { uidToColor } from '../../../utils/uidToColor.js'
|
||||
import logger from '../../../utils/logger'
|
||||
import logger from '../../../utils/logger.js'
|
||||
|
||||
export default {
|
||||
name: 'PropertySelectMultipleColoredOption',
|
||||
|
|
|
@ -54,8 +54,8 @@
|
|||
|
||||
<script>
|
||||
import autosize from '../../../directives/autosize.js'
|
||||
import PropertyMixin from '../../../mixins/PropertyMixin'
|
||||
import linkify from '@nextcloud/vue/dist/Directives/Linkify'
|
||||
import PropertyMixin from '../../../mixins/PropertyMixin.js'
|
||||
import linkify from '@nextcloud/vue/dist/Directives/Linkify.js'
|
||||
|
||||
import InformationVariant from 'vue-material-design-icons/InformationVariant.vue'
|
||||
|
||||
|
|
|
@ -84,7 +84,7 @@
|
|||
<script>
|
||||
import moment from '@nextcloud/moment'
|
||||
import DatePicker from '../../Shared/DatePicker.vue'
|
||||
import IconTimezone from 'vue-material-design-icons/Web'
|
||||
import IconTimezone from 'vue-material-design-icons/Web.vue'
|
||||
import { mapState } from 'vuex'
|
||||
|
||||
export default {
|
||||
|
|
|
@ -99,8 +99,8 @@ import RepeatSummary from './RepeatSummary.vue'
|
|||
import RepeatIcon from 'vue-material-design-icons/Repeat.vue'
|
||||
import Pencil from 'vue-material-design-icons/Pencil.vue'
|
||||
import Check from 'vue-material-design-icons/Check.vue'
|
||||
import Actions from '@nextcloud/vue/dist/Components/NcActions'
|
||||
import ActionButton from '@nextcloud/vue/dist/Components/NcActionButton'
|
||||
import Actions from '@nextcloud/vue/dist/Components/NcActions.js'
|
||||
import ActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js'
|
||||
|
||||
export default {
|
||||
name: 'Repeat',
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
|
||||
<script>
|
||||
import DatePicker from '../../Shared/DatePicker.vue'
|
||||
import Multiselect from '@nextcloud/vue/dist/Components/NcMultiselect'
|
||||
import Multiselect from '@nextcloud/vue/dist/Components/NcMultiselect.js'
|
||||
|
||||
export default {
|
||||
name: 'RepeatEndRepeat',
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import Multiselect from '@nextcloud/vue/dist/Components/NcMultiselect'
|
||||
import Multiselect from '@nextcloud/vue/dist/Components/NcMultiselect.js'
|
||||
|
||||
export default {
|
||||
name: 'RepeatFirstLastSelect',
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
<script>
|
||||
import RepeatFirstLastSelect from './RepeatFirstLastSelect.vue'
|
||||
import RepeatOnTheSelect from './RepeatOnTheSelect.vue'
|
||||
import ActionRadio from '@nextcloud/vue/dist/Components/NcActionRadio'
|
||||
import ActionRadio from '@nextcloud/vue/dist/Components/NcActionRadio.js'
|
||||
|
||||
export default {
|
||||
name: 'RepeatFreqMonthlyOptions',
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import Multiselect from '@nextcloud/vue/dist/Components/NcMultiselect'
|
||||
import Multiselect from '@nextcloud/vue/dist/Components/NcMultiselect.js'
|
||||
|
||||
export default {
|
||||
name: 'RepeatFreqSelect',
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import ActionCheckbox from '@nextcloud/vue/dist/Components/NcActionCheckbox'
|
||||
import ActionCheckbox from '@nextcloud/vue/dist/Components/NcActionCheckbox.js'
|
||||
import RepeatFirstLastSelect from './RepeatFirstLastSelect.vue'
|
||||
import RepeatOnTheSelect from './RepeatOnTheSelect.vue'
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import Multiselect from '@nextcloud/vue/dist/Components/NcMultiselect'
|
||||
import Multiselect from '@nextcloud/vue/dist/Components/NcMultiselect.js'
|
||||
import { getDayNames } from '@nextcloud/l10n'
|
||||
|
||||
export default {
|
||||
|
|
|
@ -56,14 +56,14 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { advancedPrincipalPropertySearch } from '../../../services/caldavService'
|
||||
import { checkResourceAvailability } from '../../../services/freeBusyService'
|
||||
import logger from '../../../utils/logger'
|
||||
import NoAttendeesView from '../NoAttendeesView'
|
||||
import ResourceListSearch from './ResourceListSearch'
|
||||
import ResourceListItem from './ResourceListItem'
|
||||
import OrganizerNoEmailError from '../OrganizerNoEmailError'
|
||||
import { organizerDisplayName, removeMailtoPrefix } from '../../../utils/attendee'
|
||||
import { advancedPrincipalPropertySearch } from '../../../services/caldavService.js'
|
||||
import { checkResourceAvailability } from '../../../services/freeBusyService.js'
|
||||
import logger from '../../../utils/logger.js'
|
||||
import NoAttendeesView from '../NoAttendeesView.vue'
|
||||
import ResourceListSearch from './ResourceListSearch.vue'
|
||||
import ResourceListItem from './ResourceListItem.vue'
|
||||
import OrganizerNoEmailError from '../OrganizerNoEmailError.vue'
|
||||
import { organizerDisplayName, removeMailtoPrefix } from '../../../utils/attendee.js'
|
||||
|
||||
import MapMarker from 'vue-material-design-icons/MapMarker.vue'
|
||||
|
||||
|
|
|
@ -66,15 +66,15 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import Actions from '@nextcloud/vue/dist/Components/NcActions'
|
||||
import ActionButton from '@nextcloud/vue/dist/Components/NcActionButton'
|
||||
import ActionCaption from '@nextcloud/vue/dist/Components/NcActionCaption'
|
||||
import ActionSeparator from '@nextcloud/vue/dist/Components/NcActionSeparator'
|
||||
import AvatarParticipationStatus from '../AvatarParticipationStatus'
|
||||
import { removeMailtoPrefix } from '../../../utils/attendee'
|
||||
import logger from '../../../utils/logger'
|
||||
import { principalPropertySearchByDisplaynameOrEmail } from '../../../services/caldavService'
|
||||
import { formatRoomType } from '../../../models/resourceProps'
|
||||
import Actions from '@nextcloud/vue/dist/Components/NcActions.js'
|
||||
import ActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js'
|
||||
import ActionCaption from '@nextcloud/vue/dist/Components/NcActionCaption.js'
|
||||
import ActionSeparator from '@nextcloud/vue/dist/Components/NcActionSeparator.js'
|
||||
import AvatarParticipationStatus from '../AvatarParticipationStatus.vue'
|
||||
import { removeMailtoPrefix } from '../../../utils/attendee.js'
|
||||
import logger from '../../../utils/logger.js'
|
||||
import { principalPropertySearchByDisplaynameOrEmail } from '../../../services/caldavService.js'
|
||||
import { formatRoomType } from '../../../models/resourceProps.js'
|
||||
|
||||
import Delete from 'vue-material-design-icons/Delete.vue'
|
||||
import Plus from 'vue-material-design-icons/Plus.vue'
|
||||
|
|
|
@ -81,16 +81,16 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import Avatar from '@nextcloud/vue/dist/Components/NcAvatar'
|
||||
import { checkResourceAvailability } from '../../../services/freeBusyService'
|
||||
import Multiselect from '@nextcloud/vue/dist/Components/NcMultiselect'
|
||||
import Avatar from '@nextcloud/vue/dist/Components/NcAvatar.js'
|
||||
import { checkResourceAvailability } from '../../../services/freeBusyService.js'
|
||||
import Multiselect from '@nextcloud/vue/dist/Components/NcMultiselect.js'
|
||||
import debounce from 'debounce'
|
||||
import logger from '../../../utils/logger'
|
||||
import { advancedPrincipalPropertySearch } from '../../../services/caldavService'
|
||||
import Actions from '@nextcloud/vue/dist/Components/NcActions'
|
||||
import ActionCheckbox from '@nextcloud/vue/dist/Components/NcActionCheckbox'
|
||||
import ResourceSeatingCapacity from './ResourceSeatingCapacity'
|
||||
import ResourceRoomType from './ResourceRoomType'
|
||||
import logger from '../../../utils/logger.js'
|
||||
import { advancedPrincipalPropertySearch } from '../../../services/caldavService.js'
|
||||
import Actions from '@nextcloud/vue/dist/Components/NcActions.js'
|
||||
import ActionCheckbox from '@nextcloud/vue/dist/Components/NcActionCheckbox.js'
|
||||
import ResourceSeatingCapacity from './ResourceSeatingCapacity.vue'
|
||||
import ResourceRoomType from './ResourceRoomType.vue'
|
||||
|
||||
export default {
|
||||
name: 'ResourceListSearch',
|
||||
|
|
|
@ -38,8 +38,8 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import Multiselect from '@nextcloud/vue/dist/Components/NcMultiselect'
|
||||
import { getAllRoomTypes } from '../../../models/resourceProps'
|
||||
import Multiselect from '@nextcloud/vue/dist/Components/NcMultiselect.js'
|
||||
import { getAllRoomTypes } from '../../../models/resourceProps.js'
|
||||
|
||||
export default {
|
||||
name: 'ResourceRoomType',
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import EmptyContent from '@nextcloud/vue/dist/Components/NcEmptyContent'
|
||||
import EmptyContent from '@nextcloud/vue/dist/Components/NcEmptyContent.js'
|
||||
import CalendarBlank from 'vue-material-design-icons/CalendarBlank.vue'
|
||||
|
||||
export default {
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
</Multiselect>
|
||||
</template>
|
||||
<script>
|
||||
import Multiselect from '@nextcloud/vue/dist/Components/NcMultiselect'
|
||||
import Multiselect from '@nextcloud/vue/dist/Components/NcMultiselect.js'
|
||||
import CalendarPickerOption from './CalendarPickerOption.vue'
|
||||
|
||||
export default {
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import Avatar from '@nextcloud/vue/dist/Components/NcAvatar'
|
||||
import Avatar from '@nextcloud/vue/dist/Components/NcAvatar.js'
|
||||
|
||||
export default {
|
||||
name: 'CalendarPickerOption',
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
@change="change"
|
||||
@pick="pickDate">
|
||||
<template #icon-calendar>
|
||||
<Button type="tertiary-no-background"
|
||||
<NcButton type="tertiary-no-background"
|
||||
@click.stop.prevent="toggleTimezonePopover"
|
||||
@mousedown.stop.prevent="() => {}">
|
||||
<template #icon>
|
||||
|
@ -52,8 +52,8 @@
|
|||
:class="{ 'highlighted-timezone-icon': highlightTimezone }"
|
||||
:size="20" />
|
||||
</template>
|
||||
</Button>
|
||||
<Popover :shown.sync="showTimezonePopover"
|
||||
</NcButton>
|
||||
<Popover :open.sync="showTimezonePopover"
|
||||
open-class="timezone-popover-wrapper">
|
||||
<div class="timezone-popover-wrapper__title">
|
||||
<strong>
|
||||
|
@ -67,26 +67,26 @@
|
|||
</template>
|
||||
<template v-if="!isAllDay"
|
||||
#footer>
|
||||
<Button v-if="!showTimePanel"
|
||||
<NcButton v-if="!showTimePanel"
|
||||
class="mx-btn mx-btn-text"
|
||||
@click="toggleTimePanel">
|
||||
{{ $t('calendar', 'Pick a time') }}
|
||||
</Button>
|
||||
<Button v-else
|
||||
</NcButton>
|
||||
<NcButton v-else
|
||||
class="mx-btn mx-btn-text"
|
||||
@click="toggleTimePanel">
|
||||
{{ $t('calendar', 'Pick a date') }}
|
||||
</Button>
|
||||
</NcButton>
|
||||
</template>
|
||||
</DatetimePicker>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Button from '@nextcloud/vue/dist/Components/NcButton'
|
||||
import DatetimePicker from '@nextcloud/vue/dist/Components/NcDatetimePicker'
|
||||
import IconTimezone from 'vue-material-design-icons/Web'
|
||||
import IconNewCalendar from 'vue-material-design-icons/CalendarBlankOutline'
|
||||
import Popover from '@nextcloud/vue/dist/Components/NcPopover'
|
||||
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
|
||||
import DatetimePicker from '@nextcloud/vue/dist/Components/NcDatetimePicker.js'
|
||||
import IconTimezone from 'vue-material-design-icons/Web.vue'
|
||||
import IconNewCalendar from 'vue-material-design-icons/CalendarBlankOutline.vue'
|
||||
import Popover from '@nextcloud/vue/dist/Components/NcPopover.js'
|
||||
import {
|
||||
getFirstDay,
|
||||
} from '@nextcloud/l10n'
|
||||
|
@ -96,13 +96,13 @@ import {
|
|||
showError,
|
||||
} from '@nextcloud/dialogs'
|
||||
|
||||
import TimezonePicker from '@nextcloud/vue/dist/Components/NcTimezonePicker'
|
||||
import TimezonePicker from '@nextcloud/vue/dist/Components/NcTimezonePicker.js'
|
||||
import { getLangConfigForVue2DatePicker } from '../../utils/localization.js'
|
||||
|
||||
export default {
|
||||
name: 'DatePicker',
|
||||
components: {
|
||||
Button,
|
||||
NcButton,
|
||||
DatetimePicker,
|
||||
Popover,
|
||||
TimezonePicker,
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import DatetimePicker from '@nextcloud/vue/dist/Components/NcDatetimePicker'
|
||||
import DatetimePicker from '@nextcloud/vue/dist/Components/NcDatetimePicker.js'
|
||||
import moment from '@nextcloud/moment'
|
||||
import { mapState } from 'vuex'
|
||||
import {
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
<script>
|
||||
import { getReadableTimezoneName, getSortedTimezoneList } from '@nextcloud/calendar-js'
|
||||
import Multiselect from '@nextcloud/vue/dist/Components/NcMultiselect'
|
||||
import Multiselect from '@nextcloud/vue/dist/Components/NcMultiselect.js'
|
||||
import { translate as t } from '@nextcloud/l10n'
|
||||
|
||||
import getTimezoneManager from '../../services/timezoneDataProviderService.js'
|
||||
|
|
|
@ -24,8 +24,8 @@ import Vue from 'vue'
|
|||
import { generateFilePath } from '@nextcloud/router'
|
||||
import { getRequestToken } from '@nextcloud/auth'
|
||||
import { translate, translatePlural } from '@nextcloud/l10n'
|
||||
import Dashboard from './views/Dashboard'
|
||||
import store from './store'
|
||||
import Dashboard from './views/Dashboard.vue'
|
||||
import store from './store/index.js'
|
||||
|
||||
// eslint-disable-next-line
|
||||
__webpack_nonce__ = btoa(getRequestToken())
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
import {
|
||||
generateTextColorForHex,
|
||||
} from '../../utils/color.js'
|
||||
import getTimezoneManager from '../../services/timezoneDataProviderService'
|
||||
import getTimezoneManager from '../../services/timezoneDataProviderService.js'
|
||||
import { getUnixTimestampFromDate } from '../../utils/date.js'
|
||||
import { eventSourceFunction } from './eventSourceFunction.js'
|
||||
import logger from '../../utils/logger.js'
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
import getTimezoneManager from '../../services/timezoneDataProviderService.js'
|
||||
import { AttendeeProperty, DateTimeValue } from '@nextcloud/calendar-js'
|
||||
import logger from '../../utils/logger.js'
|
||||
import { doFreeBusyRequest } from '../../utils/freebusy'
|
||||
import { doFreeBusyRequest } from '../../utils/freebusy.js'
|
||||
|
||||
/**
|
||||
* Returns an event source for free-busy
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
import {
|
||||
getPrefixedRoute,
|
||||
isPublicOrEmbeddedRoute,
|
||||
} from '../../utils/router'
|
||||
} from '../../utils/router.js'
|
||||
import { generateUrl } from '@nextcloud/router'
|
||||
import { translate as t } from '@nextcloud/l10n'
|
||||
import { showInfo } from '@nextcloud/dialogs'
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
import { getDurationValueFromFullCalendarDuration } from '../duration'
|
||||
import getTimezoneManager from '../../services/timezoneDataProviderService'
|
||||
import { getDurationValueFromFullCalendarDuration } from '../duration.js'
|
||||
import getTimezoneManager from '../../services/timezoneDataProviderService.js'
|
||||
import logger from '../../utils/logger.js'
|
||||
import { getObjectAtRecurrenceId } from '../../utils/calendarObject.js'
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
import { getDurationValueFromFullCalendarDuration } from '../duration'
|
||||
import { getDurationValueFromFullCalendarDuration } from '../duration.js'
|
||||
import { getObjectAtRecurrenceId } from '../../utils/calendarObject.js'
|
||||
|
||||
/**
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
*
|
||||
*/
|
||||
import Vue from 'vue'
|
||||
import EmptyContent from '@nextcloud/vue/dist/Components/NcEmptyContent'
|
||||
import CalendarIcon from 'vue-material-design-icons/CalendarBlank'
|
||||
import EmptyContent from '@nextcloud/vue/dist/Components/NcEmptyContent.js'
|
||||
import CalendarIcon from 'vue-material-design-icons/CalendarBlank.vue'
|
||||
import { translate as t } from '@nextcloud/l10n'
|
||||
|
||||
/**
|
||||
|
|
|
@ -23,7 +23,7 @@ import {
|
|||
NamedTimeZoneImpl,
|
||||
createPlugin,
|
||||
} from '@fullcalendar/core'
|
||||
import getTimezoneManager from '../../services/timezoneDataProviderService'
|
||||
import getTimezoneManager from '../../services/timezoneDataProviderService.js'
|
||||
import logger from '../../utils/logger.js'
|
||||
|
||||
/**
|
||||
|
|
10
src/main.js
10
src/main.js
|
@ -23,20 +23,20 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
import 'core-js/stable'
|
||||
import 'core-js/stable/index.js'
|
||||
|
||||
import '../css/calendar.scss'
|
||||
|
||||
import Vue from 'vue'
|
||||
import App from './App'
|
||||
import router from './router'
|
||||
import store from './store'
|
||||
import App from './App.vue'
|
||||
import router from './router.js'
|
||||
import store from './store/index.js'
|
||||
import { sync } from 'vuex-router-sync'
|
||||
import { getRequestToken } from '@nextcloud/auth'
|
||||
import { linkTo } from '@nextcloud/router'
|
||||
import { loadState } from '@nextcloud/initial-state'
|
||||
import { translate, translatePlural } from '@nextcloud/l10n'
|
||||
import AppointmentConfig from './models/appointmentConfig'
|
||||
import AppointmentConfig from './models/appointmentConfig.js'
|
||||
import ClickOutside from 'vue-click-outside'
|
||||
import VueClipboard from 'vue-clipboard2'
|
||||
import VTooltip from 'v-tooltip'
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
import { getRFCProperties } from '../models/rfcProps'
|
||||
import { getRFCProperties } from '../models/rfcProps.js'
|
||||
import logger from '../utils/logger.js'
|
||||
import { getIllustrationForTitle } from '../utils/illustration.js'
|
||||
import { getPrefixedRoute } from '../utils/router.js'
|
||||
|
@ -32,7 +32,7 @@ import {
|
|||
mapState,
|
||||
} from 'vuex'
|
||||
import { translate as t } from '@nextcloud/l10n'
|
||||
import { removeMailtoPrefix } from '../utils/attendee'
|
||||
import { removeMailtoPrefix } from '../utils/attendee.js'
|
||||
|
||||
/**
|
||||
* This is a mixin for the editor. It contains common Vue stuff, that is
|
||||
|
|
|
@ -24,9 +24,9 @@ import Vue from 'vue'
|
|||
import Router from 'vue-router'
|
||||
import { getRootUrl, generateUrl } from '@nextcloud/router'
|
||||
|
||||
import Calendar from './views/Calendar'
|
||||
import EditSimple from './views/EditSimple'
|
||||
import EditSidebar from './views/EditSidebar'
|
||||
import Calendar from './views/Calendar.vue'
|
||||
import EditSimple from './views/EditSimple.vue'
|
||||
import EditSidebar from './views/EditSidebar.vue'
|
||||
import {
|
||||
getDefaultEndDateForNewEvent,
|
||||
getDefaultStartDateForNewEvent,
|
||||
|
|
|
@ -22,8 +22,8 @@
|
|||
|
||||
import { generateUrl } from '@nextcloud/router'
|
||||
import axios from '@nextcloud/axios'
|
||||
import AppointmentConfig from '../models/appointmentConfig'
|
||||
import logger from '../utils/logger'
|
||||
import AppointmentConfig from '../models/appointmentConfig.js'
|
||||
import logger from '../utils/logger.js'
|
||||
|
||||
/**
|
||||
* Create a new appointment config in the backend
|
||||
|
|
|
@ -21,8 +21,8 @@
|
|||
*/
|
||||
|
||||
import { AttendeeProperty } from '@nextcloud/calendar-js'
|
||||
import { addMailtoPrefix, removeMailtoPrefix } from '../utils/attendee'
|
||||
import { doFreeBusyRequest } from '../utils/freebusy'
|
||||
import { addMailtoPrefix, removeMailtoPrefix } from '../utils/attendee.js'
|
||||
import { doFreeBusyRequest } from '../utils/freebusy.js'
|
||||
|
||||
/**
|
||||
* Check resource availability using a free busy request
|
||||
|
|
|
@ -21,8 +21,8 @@
|
|||
*/
|
||||
|
||||
import Vue from 'vue'
|
||||
import { createConfig, deleteConfig, updateConfig } from '../services/appointmentConfigService'
|
||||
import logger from '../utils/logger'
|
||||
import { createConfig, deleteConfig, updateConfig } from '../services/appointmentConfigService.js'
|
||||
import logger from '../utils/logger.js'
|
||||
|
||||
const state = {
|
||||
configs: {},
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
*
|
||||
*/
|
||||
import Vue from 'vue'
|
||||
import getTimezoneManager from '../services/timezoneDataProviderService'
|
||||
import getTimezoneManager from '../services/timezoneDataProviderService.js'
|
||||
import {
|
||||
getDateFromDateTimeValue,
|
||||
} from '../utils/date.js'
|
||||
|
@ -44,7 +44,7 @@ import { mapAlarmComponentToAlarmObject } from '../models/alarm.js'
|
|||
import { getObjectAtRecurrenceId } from '../utils/calendarObject.js'
|
||||
import logger from '../utils/logger.js'
|
||||
import settings from './settings.js'
|
||||
import { getRFCProperties } from '../models/rfcProps'
|
||||
import { getRFCProperties } from '../models/rfcProps.js'
|
||||
|
||||
const state = {
|
||||
isNew: null,
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
*
|
||||
*/
|
||||
import Vue from 'vue'
|
||||
import { mapCalendarJsToCalendarObject } from '../models/calendarObject'
|
||||
import { mapCalendarJsToCalendarObject } from '../models/calendarObject.js'
|
||||
import logger from '../utils/logger.js'
|
||||
import {
|
||||
createEvent,
|
||||
|
|
|
@ -35,9 +35,9 @@ import {
|
|||
findAllDeletedCalendars,
|
||||
findPublicCalendarsByTokens,
|
||||
} from '../services/caldavService.js'
|
||||
import { mapCDavObjectToCalendarObject } from '../models/calendarObject'
|
||||
import { mapCDavObjectToCalendarObject } from '../models/calendarObject.js'
|
||||
import { dateFactory, getUnixTimestampFromDate } from '../utils/date.js'
|
||||
import { getDefaultCalendarObject, mapDavCollectionToCalendar } from '../models/calendar'
|
||||
import { getDefaultCalendarObject, mapDavCollectionToCalendar } from '../models/calendar.js'
|
||||
import pLimit from 'p-limit'
|
||||
import { uidToHexColor } from '../utils/color.js'
|
||||
import { translate as t } from '@nextcloud/l10n'
|
||||
|
|
|
@ -26,17 +26,17 @@
|
|||
import Vue from 'vue'
|
||||
import Vuex from 'vuex'
|
||||
|
||||
import calendarObjectInstance from './calendarObjectInstance'
|
||||
import calendarObjects from './calendarObjects'
|
||||
import calendarObjectInstance from './calendarObjectInstance.js'
|
||||
import calendarObjects from './calendarObjects.js'
|
||||
import calendars from './calendars.js'
|
||||
import contacts from './contacts.js'
|
||||
import davRestrictions from './davRestrictions'
|
||||
import davRestrictions from './davRestrictions.js'
|
||||
import fetchedTimeRanges from './fetchedTimeRanges.js'
|
||||
import importFiles from './importFiles'
|
||||
import importState from './importState'
|
||||
import importFiles from './importFiles.js'
|
||||
import importState from './importState.js'
|
||||
import principals from './principals.js'
|
||||
import settings from './settings.js'
|
||||
import appointmentConfigs from './appointmentConfigs'
|
||||
import appointmentConfigs from './appointmentConfigs.js'
|
||||
|
||||
Vue.use(Vuex)
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ import logger from '../utils/logger.js'
|
|||
import {
|
||||
getDefaultPrincipalObject,
|
||||
mapDavToPrincipal,
|
||||
} from '../models/principal'
|
||||
} from '../models/principal.js'
|
||||
|
||||
const state = {
|
||||
principals: [],
|
||||
|
|
|
@ -20,12 +20,12 @@
|
|||
*
|
||||
*/
|
||||
import { enableBirthdayCalendar } from '../services/caldavService.js'
|
||||
import { mapDavCollectionToCalendar } from '../models/calendar'
|
||||
import { detectTimezone } from '../services/timezoneDetectionService'
|
||||
import { mapDavCollectionToCalendar } from '../models/calendar.js'
|
||||
import { detectTimezone } from '../services/timezoneDetectionService.js'
|
||||
import { setConfig as setCalendarJsConfig } from '@nextcloud/calendar-js'
|
||||
import { setConfig } from '../services/settings.js'
|
||||
import { logInfo } from '../utils/logger.js'
|
||||
import getTimezoneManager from '../services/timezoneDataProviderService'
|
||||
import getTimezoneManager from '../services/timezoneDataProviderService.js'
|
||||
|
||||
const state = {
|
||||
// env
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
*/
|
||||
|
||||
import { createFreeBusyRequest, getParserManager } from '@nextcloud/calendar-js'
|
||||
import { findSchedulingOutbox } from '../services/caldavService'
|
||||
import { findSchedulingOutbox } from '../services/caldavService.js'
|
||||
|
||||
/**
|
||||
* Gets the corresponding color for a given Free/Busy type
|
||||
|
|
|
@ -82,15 +82,15 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import Avatar from '@nextcloud/vue/dist/Components/NcAvatar'
|
||||
import DatetimePicker from '@nextcloud/vue/dist/Components/NcDatetimePicker'
|
||||
import Avatar from '@nextcloud/vue/dist/Components/NcAvatar.js'
|
||||
import DatetimePicker from '@nextcloud/vue/dist/Components/NcDatetimePicker.js'
|
||||
import jstz from 'jstz'
|
||||
import TimezonePicker from '@nextcloud/vue/dist/Components/NcTimezonePicker'
|
||||
import TimezonePicker from '@nextcloud/vue/dist/Components/NcTimezonePicker.js'
|
||||
|
||||
import AppointmentSlot from '../../components/Appointments/AppointmentSlot'
|
||||
import { bookSlot, findSlots } from '../../services/appointmentService'
|
||||
import AppointmentDetails from '../../components/Appointments/AppointmentDetails'
|
||||
import AppointmentBookingConfirmation from '../../components/Appointments/AppointmentBookingConfirmation'
|
||||
import AppointmentSlot from '../../components/Appointments/AppointmentSlot.vue'
|
||||
import { bookSlot, findSlots } from '../../services/appointmentService.js'
|
||||
import AppointmentDetails from '../../components/Appointments/AppointmentDetails.vue'
|
||||
import AppointmentBookingConfirmation from '../../components/Appointments/AppointmentBookingConfirmation.vue'
|
||||
|
||||
export default {
|
||||
name: 'Booking',
|
||||
|
|
|
@ -59,10 +59,10 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import Avatar from '@nextcloud/vue/dist/Components/NcAvatar'
|
||||
import EmptyContent from '@nextcloud/vue/dist/Components/NcEmptyContent'
|
||||
import Avatar from '@nextcloud/vue/dist/Components/NcAvatar.js'
|
||||
import EmptyContent from '@nextcloud/vue/dist/Components/NcEmptyContent.js'
|
||||
import { generateUrl } from '@nextcloud/router'
|
||||
import CalendarCheckIcon from 'vue-material-design-icons/CalendarCheck'
|
||||
import CalendarCheckIcon from 'vue-material-design-icons/CalendarCheck.vue'
|
||||
import CalendarBlankIcon from 'vue-material-design-icons/CalendarBlank.vue'
|
||||
|
||||
export default {
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
-->
|
||||
|
||||
<template>
|
||||
<Content app-name="calendar" :class="classNames">
|
||||
<NcContent app-name="calendar" :class="classNames">
|
||||
<AppNavigation v-if="!isEmbedded && !showEmptyCalendarScreen">
|
||||
<!-- Date Picker, View Buttons, Today Button -->
|
||||
<AppNavigationHeader :is-public="!isAuthenticatedUser" />
|
||||
|
@ -56,15 +56,15 @@
|
|||
</AppContent>
|
||||
<!-- Edit modal -->
|
||||
<router-view />
|
||||
</Content>
|
||||
</NcContent>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
// Import vue components
|
||||
import AppNavigation from '@nextcloud/vue/dist/Components/NcAppNavigation'
|
||||
import AppNavigationSpacer from '@nextcloud/vue/dist/Components/NcAppNavigationSpacer'
|
||||
import AppContent from '@nextcloud/vue/dist/Components/NcAppContent'
|
||||
import Content from '@nextcloud/vue/dist/Components/NcContent'
|
||||
import AppNavigation from '@nextcloud/vue/dist/Components/NcAppNavigation.js'
|
||||
import AppNavigationSpacer from '@nextcloud/vue/dist/Components/NcAppNavigationSpacer.js'
|
||||
import AppContent from '@nextcloud/vue/dist/Components/NcAppContent.js'
|
||||
import NcContent from '@nextcloud/vue/dist/Components/NcContent.js'
|
||||
import AppNavigationHeader from '../components/AppNavigation/AppNavigationHeader.vue'
|
||||
import CalendarList from '../components/AppNavigation/CalendarList.vue'
|
||||
import Settings from '../components/AppNavigation/Settings.vue'
|
||||
|
@ -86,8 +86,8 @@ import {
|
|||
getUnixTimestampFromDate,
|
||||
getYYYYMMDDFromFirstdayParam,
|
||||
} from '../utils/date.js'
|
||||
import getTimezoneManager from '../services/timezoneDataProviderService'
|
||||
import logger from '../utils/logger'
|
||||
import getTimezoneManager from '../services/timezoneDataProviderService.js'
|
||||
import logger from '../utils/logger.js'
|
||||
import {
|
||||
mapGetters,
|
||||
mapState,
|
||||
|
@ -98,8 +98,8 @@ import {
|
|||
showWarning,
|
||||
} from '@nextcloud/dialogs'
|
||||
import '@nextcloud/dialogs/styles/toast.scss'
|
||||
import Trashbin from '../components/AppNavigation/CalendarList/Trashbin'
|
||||
import AppointmentConfigList from '../components/AppNavigation/AppointmentConfigList'
|
||||
import Trashbin from '../components/AppNavigation/CalendarList/Trashbin.vue'
|
||||
import AppointmentConfigList from '../components/AppNavigation/AppointmentConfigList.vue'
|
||||
|
||||
export default {
|
||||
name: 'Calendar',
|
||||
|
@ -111,7 +111,7 @@ export default {
|
|||
Settings,
|
||||
CalendarList,
|
||||
AppNavigationHeader,
|
||||
Content,
|
||||
NcContent,
|
||||
AppContent,
|
||||
AppNavigation,
|
||||
AppNavigationSpacer,
|
||||
|
|
|
@ -67,17 +67,17 @@
|
|||
|
||||
<script>
|
||||
import { DashboardWidget, DashboardWidgetItem } from '@nextcloud/vue-dashboard'
|
||||
import EmptyContent from '@nextcloud/vue/dist/Components/NcEmptyContent'
|
||||
import EmptyCalendar from 'vue-material-design-icons/CalendarBlankOutline'
|
||||
import IconCheck from 'vue-material-design-icons/Check'
|
||||
import EmptyContent from '@nextcloud/vue/dist/Components/NcEmptyContent.js'
|
||||
import EmptyCalendar from 'vue-material-design-icons/CalendarBlankOutline.vue'
|
||||
import IconCheck from 'vue-material-design-icons/Check.vue'
|
||||
import { loadState } from '@nextcloud/initial-state'
|
||||
import moment from '@nextcloud/moment'
|
||||
import NcButton from '@nextcloud/vue/dist/Components/NcButton'
|
||||
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
|
||||
import { imagePath, generateUrl } from '@nextcloud/router'
|
||||
import { initializeClientForUserView } from '../services/caldavService'
|
||||
import { dateFactory } from '../utils/date'
|
||||
import { initializeClientForUserView } from '../services/caldavService.js'
|
||||
import { dateFactory } from '../utils/date.js'
|
||||
import pLimit from 'p-limit'
|
||||
import { eventSourceFunction } from '../fullcalendar/eventSources/eventSourceFunction'
|
||||
import { eventSourceFunction } from '../fullcalendar/eventSources/eventSourceFunction.js'
|
||||
import loadMomentLocalization from '../utils/moment.js'
|
||||
import { DateTimeValue } from '@nextcloud/calendar-js'
|
||||
import { mapGetters } from 'vuex'
|
||||
|
|
|
@ -224,31 +224,31 @@
|
|||
</AppSidebar>
|
||||
</template>
|
||||
<script>
|
||||
import AppSidebar from '@nextcloud/vue/dist/Components/NcAppSidebar'
|
||||
import AppSidebarTab from '@nextcloud/vue/dist/Components/NcAppSidebarTab'
|
||||
import ActionLink from '@nextcloud/vue/dist/Components/NcActionLink'
|
||||
import ActionButton from '@nextcloud/vue/dist/Components/NcActionButton'
|
||||
import EmptyContent from '@nextcloud/vue/dist/Components/NcEmptyContent'
|
||||
import AppSidebar from '@nextcloud/vue/dist/Components/NcAppSidebar.js'
|
||||
import AppSidebarTab from '@nextcloud/vue/dist/Components/NcAppSidebarTab.js'
|
||||
import ActionLink from '@nextcloud/vue/dist/Components/NcActionLink.js'
|
||||
import ActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js'
|
||||
import EmptyContent from '@nextcloud/vue/dist/Components/NcEmptyContent.js'
|
||||
|
||||
import { mapState } from 'vuex'
|
||||
|
||||
import AlarmList from '../components/Editor/Alarm/AlarmList'
|
||||
import AlarmList from '../components/Editor/Alarm/AlarmList.vue'
|
||||
|
||||
import InviteesList from '../components/Editor/Invitees/InviteesList'
|
||||
import PropertyCalendarPicker from '../components/Editor/Properties/PropertyCalendarPicker'
|
||||
import PropertySelect from '../components/Editor/Properties/PropertySelect'
|
||||
import PropertyText from '../components/Editor/Properties/PropertyText'
|
||||
import PropertyTitleTimePicker from '../components/Editor/Properties/PropertyTitleTimePicker'
|
||||
import InviteesList from '../components/Editor/Invitees/InviteesList.vue'
|
||||
import PropertyCalendarPicker from '../components/Editor/Properties/PropertyCalendarPicker.vue'
|
||||
import PropertySelect from '../components/Editor/Properties/PropertySelect.vue'
|
||||
import PropertyText from '../components/Editor/Properties/PropertyText.vue'
|
||||
import PropertyTitleTimePicker from '../components/Editor/Properties/PropertyTitleTimePicker.vue'
|
||||
import Repeat from '../components/Editor/Repeat/Repeat.vue'
|
||||
|
||||
import EditorMixin from '../mixins/EditorMixin'
|
||||
import EditorMixin from '../mixins/EditorMixin.js'
|
||||
import IllustrationHeader from '../components/Editor/IllustrationHeader.vue'
|
||||
import moment from '@nextcloud/moment'
|
||||
import SaveButtons from '../components/Editor/SaveButtons.vue'
|
||||
import PropertySelectMultiple from '../components/Editor/Properties/PropertySelectMultiple.vue'
|
||||
import PropertyColor from '../components/Editor/Properties/PropertyColor.vue'
|
||||
import ResourceList from '../components/Editor/Resources/ResourceList'
|
||||
import InvitationResponseButtons from '../components/Editor/InvitationResponseButtons'
|
||||
import ResourceList from '../components/Editor/Resources/ResourceList.vue'
|
||||
import InvitationResponseButtons from '../components/Editor/InvitationResponseButtons.vue'
|
||||
|
||||
import AccountMultiple from 'vue-material-design-icons/AccountMultiple.vue'
|
||||
import CalendarBlank from 'vue-material-design-icons/CalendarBlank.vue'
|
||||
|
|
|
@ -161,12 +161,12 @@
|
|||
</Popover>
|
||||
</template>
|
||||
<script>
|
||||
import Actions from '@nextcloud/vue/dist/Components/NcActions'
|
||||
import ActionButton from '@nextcloud/vue/dist/Components/NcActionButton'
|
||||
import ActionLink from '@nextcloud/vue/dist/Components/NcActionLink'
|
||||
import EmptyContent from '@nextcloud/vue/dist/Components/NcEmptyContent'
|
||||
import Popover from '@nextcloud/vue/dist/Components/NcPopover'
|
||||
import EditorMixin from '../mixins/EditorMixin'
|
||||
import Actions from '@nextcloud/vue/dist/Components/NcActions.js'
|
||||
import ActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js'
|
||||
import ActionLink from '@nextcloud/vue/dist/Components/NcActionLink.js'
|
||||
import EmptyContent from '@nextcloud/vue/dist/Components/NcEmptyContent.js'
|
||||
import Popover from '@nextcloud/vue/dist/Components/NcPopover.js'
|
||||
import EditorMixin from '../mixins/EditorMixin.js'
|
||||
import IllustrationHeader from '../components/Editor/IllustrationHeader.vue'
|
||||
import PropertyTitle from '../components/Editor/Properties/PropertyTitle.vue'
|
||||
import PropertyTitleTimePicker
|
||||
|
@ -179,7 +179,7 @@ import PopoverLoadingIndicator
|
|||
from '../components/Popover/PopoverLoadingIndicator.vue'
|
||||
import { getPrefixedRoute } from '../utils/router.js'
|
||||
import InvitationResponseButtons
|
||||
from '../components/Editor/InvitationResponseButtons'
|
||||
from '../components/Editor/InvitationResponseButtons.vue'
|
||||
|
||||
import ArrowExpand from 'vue-material-design-icons/ArrowExpand.vue'
|
||||
import CalendarBlank from 'vue-material-design-icons/CalendarBlank.vue'
|
||||
|
|
Loading…
Reference in New Issue