import type { PropType } from 'vue'
-import { extname } from 'path'
+import { showError } from '@nextcloud/dialogs'
import { FileType, Permission, Folder, File as NcFile, NodeStatus, Node, View } from '@nextcloud/files'
-import { generateUrl } from '@nextcloud/router'
import { translate as t } from '@nextcloud/l10n'
+import { generateUrl } from '@nextcloud/router'
import { vOnClickOutside } from '@vueuse/components'
+import { extname } from 'path'
import Vue, { defineComponent } from 'vue'
import { action as sidebarAction } from '../actions/sidebarAction.ts'
import { hashCode } from '../utils/hashUtils.ts'
import { dataTransferToFileTree, onDropExternalFiles, onDropInternalFiles } from '../services/DropService.ts'
import logger from '../logger.js'
-import { showError } from '@nextcloud/dialogs'
Vue.directive('onClickOutside', vOnClickOutside)