Skip to content

Commit

Permalink
perf(bundles): refactor @nextcloud/vue imports to use the esm bundle
Browse files Browse the repository at this point in the history
Bundle sizes (npm run build):
Before: 8,5M js/calendar-main.js
After:  5,6M js/calendar-main.js

Signed-off-by: Richard Steinmetz <[email protected]>
  • Loading branch information
st3iny committed Aug 14, 2023
1 parent 2ec5e44 commit c2904b9
Show file tree
Hide file tree
Showing 65 changed files with 180 additions and 146 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ import formatDateRange from '../../../filters/dateRangeFormat.js'
import DatePicker from '../../Shared/DatePicker.vue'
import ChevronLeftIcon from 'vue-material-design-icons/ChevronLeft.vue'
import ChevronRightIcon from 'vue-material-design-icons/ChevronRight.vue'
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import { NcButton } from '@nextcloud/vue'
export default {
name: 'AppNavigationHeaderDatePicker',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

<script>
import Plus from 'vue-material-design-icons/Plus.vue'
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import { NcButton } from '@nextcloud/vue'
export default {
name: 'AppNavigationHeaderNewEvent',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
</template>

<script>
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import { NcButton } from '@nextcloud/vue'
export default {
name: 'AppNavigationHeaderTodayButton',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,10 @@
</template>

<script>
import Actions from '@nextcloud/vue/dist/Components/NcActions.js'
import ActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js'
import {
NcActions as Actions,
NcActionButton as ActionButton,
} from '@nextcloud/vue'
import ViewDay from 'vue-material-design-icons/ViewDay.vue'
import ViewGrid from 'vue-material-design-icons/ViewGrid.vue'
Expand Down
6 changes: 4 additions & 2 deletions src/components/AppNavigation/AppointmentConfigList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,10 @@

<script>
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 {

Check warning on line 63 in src/components/AppNavigation/AppointmentConfigList.vue

View check run for this annotation

Codecov / codecov/patch

src/components/AppNavigation/AppointmentConfigList.vue#L63

Added line #L63 was not covered by tests
NcAppNavigationCaption as AppNavigationCaption,
NcActionButton as ActionButton,
} from '@nextcloud/vue'
import PlusIcon from 'vue-material-design-icons/Plus.vue'
import AppointmentConfigModal from '../AppointmentConfigModal.vue'
import AppointmentConfig from '../../models/appointmentConfig.js'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,11 @@
</template>

<script>
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 {
NcAppNavigationItem as AppNavigationItem,
NcActionButton as ActionButton,
NcActionLink as ActionLink,
} from '@nextcloud/vue'

Check warning on line 66 in src/components/AppNavigation/AppointmentConfigList/AppointmentConfigListItem.vue

View check run for this annotation

Codecov / codecov/patch

src/components/AppNavigation/AppointmentConfigList/AppointmentConfigListItem.vue#L62-L66

Added lines #L62 - L66 were not covered by tests
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'
Expand Down
14 changes: 8 additions & 6 deletions src/components/AppNavigation/CalendarList/CalendarListItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,14 @@
</template>

<script>
import NcAvatar from '@nextcloud/vue/dist/Components/NcAvatar.js'
import ActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js'
import AppNavigationItem from '@nextcloud/vue/dist/Components/NcAppNavigationItem.js'
import NcActionText from '@nextcloud/vue/dist/Components/NcActionText.js'
import NcActionSeparator from '@nextcloud/vue/dist/Components/NcActionSeparator.js'
import NcActionCaption from '@nextcloud/vue/dist/Components/NcActionCaption.js'
import {
NcAvatar,
NcActionButton as ActionButton,

Check warning on line 96 in src/components/AppNavigation/CalendarList/CalendarListItem.vue

View check run for this annotation

Codecov / codecov/patch

src/components/AppNavigation/CalendarList/CalendarListItem.vue#L94-L96

Added lines #L94 - L96 were not covered by tests
NcAppNavigationItem as AppNavigationItem,
NcActionText,
NcActionSeparator,
NcActionCaption,
} from '@nextcloud/vue'

Check warning on line 101 in src/components/AppNavigation/CalendarList/CalendarListItem.vue

View check run for this annotation

Codecov / codecov/patch

src/components/AppNavigation/CalendarList/CalendarListItem.vue#L99-L101

Added lines #L99 - L101 were not covered by tests
import { showError } from '@nextcloud/dialogs'
import CheckboxBlankCircle from 'vue-material-design-icons/CheckboxBlankCircle.vue'
import CheckboxBlankCircleOutline from 'vue-material-design-icons/CheckboxBlankCircleOutline.vue'
Expand Down
12 changes: 7 additions & 5 deletions src/components/AppNavigation/CalendarList/CalendarListNew.vue
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,13 @@
</template>

<script>
import ActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js'
import ActionInput from '@nextcloud/vue/dist/Components/NcActionInput.js'
import ActionSeparator from '@nextcloud/vue/dist/Components/NcActionSeparator.js'
import ActionText from '@nextcloud/vue/dist/Components/NcActionText.js'
import AppNavigationItem from '@nextcloud/vue/dist/Components/NcAppNavigationItem.js'
import {
NcActionButton as ActionButton,
NcActionInput as ActionInput,
NcActionSeparator as ActionSeparator,

Check warning on line 112 in src/components/AppNavigation/CalendarList/CalendarListNew.vue

View check run for this annotation

Codecov / codecov/patch

src/components/AppNavigation/CalendarList/CalendarListNew.vue#L109-L112

Added lines #L109 - L112 were not covered by tests
NcActionText as ActionText,
NcAppNavigationItem as AppNavigationItem,
} from '@nextcloud/vue'
import {
showError,
} from '@nextcloud/dialogs'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,14 @@
</template>

<script>
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 {
NcAvatar as Avatar,
NcActionButton as ActionButton,
NcActionLink as ActionLink,
NcActionText as ActionText,
NcAppNavigationIconBullet as AppNavigationIconBullet,
NcAppNavigationItem as AppNavigationItem,
} from '@nextcloud/vue'

Check warning on line 84 in src/components/AppNavigation/CalendarList/PublicCalendarListItem.vue

View check run for this annotation

Codecov / codecov/patch

src/components/AppNavigation/CalendarList/PublicCalendarListItem.vue#L77-L84

Added lines #L77 - L84 were not covered by tests
import {
generateRemoteUrl,
} from '@nextcloud/router'
Expand Down
14 changes: 8 additions & 6 deletions src/components/AppNavigation/CalendarList/Trashbin.vue
Original file line number Diff line number Diff line change
Expand Up @@ -110,18 +110,20 @@
</template>

<script>
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 {

Check warning on line 113 in src/components/AppNavigation/CalendarList/Trashbin.vue

View check run for this annotation

Codecov / codecov/patch

src/components/AppNavigation/CalendarList/Trashbin.vue#L113

Added line #L113 was not covered by tests
NcAppNavigationItem as AppNavigationItem,
NcActions as Actions,

Check warning on line 115 in src/components/AppNavigation/CalendarList/Trashbin.vue

View check run for this annotation

Codecov / codecov/patch

src/components/AppNavigation/CalendarList/Trashbin.vue#L115

Added line #L115 was not covered by tests
NcActionButton as ActionButton,
NcModal as Modal,
NcEmptyContent as EmptyContent,

Check warning on line 118 in src/components/AppNavigation/CalendarList/Trashbin.vue

View check run for this annotation

Codecov / codecov/patch

src/components/AppNavigation/CalendarList/Trashbin.vue#L117-L118

Added lines #L117 - L118 were not covered by tests
NcButton,
} from '@nextcloud/vue'
import moment from '@nextcloud/moment'
import logger from '../../../utils/logger.js'
import { showError } from '@nextcloud/dialogs'
import { mapGetters } from 'vuex'
import Moment from './Moment.vue'
import { uidToHexColor } from '../../../utils/color.js'
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import Delete from 'vue-material-design-icons/Delete.vue'
Expand Down
4 changes: 1 addition & 3 deletions src/components/AppNavigation/EditCalendarModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,7 @@
</template>

<script>
import NcModal from '@nextcloud/vue/dist/Components/NcModal.js'
import NcColorPicker from '@nextcloud/vue/dist/Components/NcColorPicker.js'
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import { NcModal, NcColorPicker, NcButton } from '@nextcloud/vue'
import PublishCalendar from './EditCalendarModal/PublishCalendar.vue'
import SharingSearch from './EditCalendarModal/SharingSearch.vue'
import ShareItem from './EditCalendarModal/ShareItem.vue'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@
</template>

<script>
import NcActions from '@nextcloud/vue/dist/Components/NcActions.js'
import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js'
import { NcActions, NcActionButton } from '@nextcloud/vue'

Check warning on line 48 in src/components/AppNavigation/EditCalendarModal/InternalLink.vue

View check run for this annotation

Codecov / codecov/patch

src/components/AppNavigation/EditCalendarModal/InternalLink.vue#L48

Added line #L48 was not covered by tests
import { generateRemoteUrl } from '@nextcloud/router'
import { showSuccess, showError } from '@nextcloud/dialogs'
import OpenInNewIcon from 'vue-material-design-icons/OpenInNew.vue'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,7 @@
</template>

<script>
import NcActions from '@nextcloud/vue/dist/Components/NcActions.js'
import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js'
import NcActionInput from '@nextcloud/vue/dist/Components/NcActionInput.js'
import NcActionText from '@nextcloud/vue/dist/Components/NcActionText.js'
import { NcActions, NcActionButton, NcActionInput, NcActionText } from '@nextcloud/vue'

Check warning on line 142 in src/components/AppNavigation/EditCalendarModal/PublishCalendar.vue

View check run for this annotation

Codecov / codecov/patch

src/components/AppNavigation/EditCalendarModal/PublishCalendar.vue#L142

Added line #L142 was not covered by tests
import ClickOutside from 'vue-click-outside'
import {
generateRemoteUrl,
Expand Down
4 changes: 1 addition & 3 deletions src/components/AppNavigation/EditCalendarModal/ShareItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@
</template>

<script>
import NcActions from '@nextcloud/vue/dist/Components/NcActions.js'
import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js'
import NcAvatar from '@nextcloud/vue/dist/Components/NcAvatar.js'
import { NcActions, NcActionButton, NcAvatar } from '@nextcloud/vue'

Check warning on line 55 in src/components/AppNavigation/EditCalendarModal/ShareItem.vue

View check run for this annotation

Codecov / codecov/patch

src/components/AppNavigation/EditCalendarModal/ShareItem.vue#L55

Added line #L55 was not covered by tests
import AccountMultiple from 'vue-material-design-icons/AccountMultiple.vue'
import IconCircle from '../../Icons/IconCircles.vue'
import Delete from 'vue-material-design-icons/Delete.vue'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
</template>

<script>
import NcSelect from '@nextcloud/vue/dist/Components/NcSelect.js'
import { NcSelect } from '@nextcloud/vue'
import { principalPropertySearchByDisplaynameOrEmail } from '../../../services/caldavService.js'
import HttpClient from '@nextcloud/axios'
import debounce from 'debounce'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

<script>
import moment from '@nextcloud/moment'
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import { NcButton } from '@nextcloud/vue'

Check warning on line 36 in src/components/AppNavigation/EmbedHeader/EmbedHeaderTodayButton.vue

View check run for this annotation

Codecov / codecov/patch

src/components/AppNavigation/EmbedHeader/EmbedHeaderTodayButton.vue#L36

Added line #L36 was not covered by tests
export default {
name: 'EmbedHeaderTodayButton',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
</template>

<script>
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import { NcButton } from '@nextcloud/vue'

Check warning on line 55 in src/components/AppNavigation/EmbedHeader/EmbedHeaderViewButtons.vue

View check run for this annotation

Codecov / codecov/patch

src/components/AppNavigation/EmbedHeader/EmbedHeaderViewButtons.vue#L55

Added line #L55 was not covered by tests
export default {
name: 'EmbedHeaderViewButtons',
Expand Down
8 changes: 5 additions & 3 deletions src/components/AppNavigation/EmbedTopNavigation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,11 @@
</template>

<script>
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 {
NcActions as Actions,
NcActionButton as ActionButton,
NcActionLink as ActionLink,
} from '@nextcloud/vue'

Check warning on line 48 in src/components/AppNavigation/EmbedTopNavigation.vue

View check run for this annotation

Codecov / codecov/patch

src/components/AppNavigation/EmbedTopNavigation.vue#L44-L48

Added lines #L44 - L48 were not covered by tests
import {
mapGetters,
} from 'vuex'
Expand Down
12 changes: 7 additions & 5 deletions src/components/AppNavigation/Settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,13 @@
</template>

<script>
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 {
NcActionButton as ActionButton,
NcActionCheckbox as ActionCheckbox,
NcActionLink as ActionLink,
NcAppNavigationSettings as AppNavigationSettings,
NcMultiselect as Multiselect,
} from '@nextcloud/vue'

Check warning on line 126 in src/components/AppNavigation/Settings.vue

View check run for this annotation

Codecov / codecov/patch

src/components/AppNavigation/Settings.vue#L126

Added line #L126 was not covered by tests
import {
generateRemoteUrl,
generateUrl,
Expand Down
3 changes: 1 addition & 2 deletions src/components/AppNavigation/Settings/ImportScreen.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,8 @@
</template>

<script>
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import { NcButton, NcModal as Modal } from '@nextcloud/vue'
import ImportScreenRow from './ImportScreenRow.vue'
import Modal from '@nextcloud/vue/dist/Components/NcModal.js'
export default {
name: 'ImportScreen',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import {
mapState,
} from 'vuex'
import TimezonePicker from '@nextcloud/vue/dist/Components/NcTimezonePicker.js'
import { NcTimezonePicker as TimezonePicker } from '@nextcloud/vue'
import { detectTimezone } from '../../../services/timezoneDetectionService.js'
import {
showInfo,
Expand Down
2 changes: 1 addition & 1 deletion src/components/AppNavigation/Settings/ShortcutOverview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@

<script>
import { translate as t } from '@nextcloud/l10n'
import Modal from '@nextcloud/vue/dist/Components/NcModal.js'
import { NcModal as Modal } from '@nextcloud/vue'
export default {
components: {
Expand Down
3 changes: 1 addition & 2 deletions src/components/AppointmentConfigModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@

<script>
import { CalendarAvailability } from '@nextcloud/calendar-availability-vue'
import Modal from '@nextcloud/vue/dist/Components/NcModal.js'
import { NcModal as Modal, NcButton } from '@nextcloud/vue'
import TextInput from './AppointmentConfigModal/TextInput.vue'
import TextArea from './AppointmentConfigModal/TextArea.vue'
import AppointmentConfig from '../models/appointmentConfig.js'
Expand All @@ -153,7 +153,6 @@ import CheckedDurationSelect from './AppointmentConfigModal/CheckedDurationSelec
import VisibilitySelect from './AppointmentConfigModal/VisibilitySelect.vue'
import logger from '../utils/logger.js'
import Confirmation from './AppointmentConfigModal/Confirmation.vue'
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
export default {
name: 'AppointmentConfigModal',
Expand Down
3 changes: 1 addition & 2 deletions src/components/AppointmentConfigModal/Confirmation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@
</template>

<script>
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import EmptyContent from '@nextcloud/vue/dist/Components/NcEmptyContent.js'
import { NcButton, NcEmptyContent as EmptyContent } from '@nextcloud/vue'
import CheckIcon from 'vue-material-design-icons/Check.vue'
import AppointmentConfig from '../../models/appointmentConfig.js'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
</template>

<script>
import AppNavigationItem from '@nextcloud/vue/dist/Components/NcAppNavigationItem.js'
import { NcAppNavigationItem as AppNavigationItem } from '@nextcloud/vue'
import AlertCircleIcon from 'vue-material-design-icons/AlertCircle.vue'
import { generateUrl } from '@nextcloud/router'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
</template>

<script>
import EmptyContent from '@nextcloud/vue/dist/Components/NcEmptyContent.js'
import { NcEmptyContent as EmptyContent } from '@nextcloud/vue'
import EmailIcon from 'vue-material-design-icons/Email.vue'
export default {
Expand Down
10 changes: 6 additions & 4 deletions src/components/Appointments/AppointmentDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,12 @@
</Modal>
</template>
<script>
import Avatar from '@nextcloud/vue/dist/Components/NcAvatar.js'
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import NcLoadingIcon from '@nextcloud/vue/dist/Components/NcLoadingIcon.js'
import Modal from '@nextcloud/vue/dist/Components/NcModal.js'
import {
NcAvatar as Avatar,
NcButton,
NcLoadingIcon,
NcModal as Modal,
} from '@nextcloud/vue'

Check warning on line 76 in src/components/Appointments/AppointmentDetails.vue

View check run for this annotation

Codecov / codecov/patch

src/components/Appointments/AppointmentDetails.vue#L71-L76

Added lines #L71 - L76 were not covered by tests
import autosize from '../../directives/autosize.js'
import { timeStampToLocaleTime } from '../../utils/localeTime.js'
Expand Down
2 changes: 1 addition & 1 deletion src/components/Appointments/AppointmentSlot.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</template>

<script>
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import { NcButton } from '@nextcloud/vue'
import { timeStampToLocaleTime } from '../../utils/localeTime.js'
export default {
Expand Down
10 changes: 6 additions & 4 deletions src/components/Editor/Alarm/AlarmListItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,12 @@
</template>

<script>
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 {
NcActions as Actions,
NcActionButton as ActionButton,

Check warning on line 157 in src/components/Editor/Alarm/AlarmListItem.vue

View check run for this annotation

Codecov / codecov/patch

src/components/Editor/Alarm/AlarmListItem.vue#L156-L157

Added lines #L156 - L157 were not covered by tests
NcActionRadio as ActionRadio,
NcActionSeparator as ActionSeparator,
} from '@nextcloud/vue'

Check warning on line 160 in src/components/Editor/Alarm/AlarmListItem.vue

View check run for this annotation

Codecov / codecov/patch

src/components/Editor/Alarm/AlarmListItem.vue#L159-L160

Added lines #L159 - L160 were not covered by tests
import { mapState } from 'vuex'
import ClickOutside from 'vue-click-outside'
import formatAlarm from '../../../filters/alarmFormat.js'
Expand Down
2 changes: 1 addition & 1 deletion src/components/Editor/Alarm/AlarmTimeUnitSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
</template>

<script>
import Multiselect from '@nextcloud/vue/dist/Components/NcMultiselect.js'
import { NcMultiselect as Multiselect } from '@nextcloud/vue'
export default {
name: 'AlarmTimeUnitSelect',
Expand Down
2 changes: 1 addition & 1 deletion src/components/Editor/AvatarParticipationStatus.vue
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
</template>

<script>
import Avatar from '@nextcloud/vue/dist/Components/NcAvatar.js'
import { NcAvatar as Avatar } from '@nextcloud/vue'
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'
Expand Down
Loading

0 comments on commit c2904b9

Please sign in to comment.