mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 17:23:59 -04:00
Merge pull request #59430 from nextcloud/chore/logger
refactor(files): use consistent logger import
This commit is contained in:
commit
0526c18ac2
79 changed files with 88 additions and 87 deletions
|
|
@ -12,8 +12,8 @@ import { emit } from '@nextcloud/event-bus'
|
|||
import { n, t } from '@nextcloud/l10n'
|
||||
import { generateOcsUrl } from '@nextcloud/router'
|
||||
import PQueue from 'p-queue'
|
||||
import logger from '../logger.ts'
|
||||
import { fetchNode } from '../services/WebdavClient.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
|
||||
type ConversionResponse = {
|
||||
path: string
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ import * as capabilities from '@nextcloud/capabilities'
|
|||
import * as eventBus from '@nextcloud/event-bus'
|
||||
import { File, Folder, Permission } from '@nextcloud/files'
|
||||
import { afterEach, beforeEach, describe, expect, test, vi } from 'vitest'
|
||||
import logger from '../logger.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
import { action } from './deleteAction.ts'
|
||||
import { shouldAskForConfirmation } from './deleteUtils.ts'
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ import { Permission } from '@nextcloud/files'
|
|||
import { loadState } from '@nextcloud/initial-state'
|
||||
import { t } from '@nextcloud/l10n'
|
||||
import PQueue from 'p-queue'
|
||||
import logger from '../logger.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
import { askConfirmation, canDisconnectOnly, canUnshareOnly, deleteNode, displayName, shouldAskForConfirmation } from './deleteUtils.ts'
|
||||
|
||||
// TODO: once the files app is migrated to the new frontend use the import instead:
|
||||
|
|
|
|||
|
|
@ -11,10 +11,10 @@ import { showError } from '@nextcloud/dialogs'
|
|||
import { emit } from '@nextcloud/event-bus'
|
||||
import { DefaultType, FileType } from '@nextcloud/files'
|
||||
import { t } from '@nextcloud/l10n'
|
||||
import logger from '../logger.ts'
|
||||
import { useFilesStore } from '../store/files.ts'
|
||||
import { getPinia } from '../store/index.ts'
|
||||
import { usePathsStore } from '../store/paths.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
import { isDownloadable } from '../utils/permissions.ts'
|
||||
|
||||
export const action: IFileAction = {
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import axios from '@nextcloud/axios'
|
|||
import * as eventBus from '@nextcloud/event-bus'
|
||||
import { File, Permission } from '@nextcloud/files'
|
||||
import { beforeAll, beforeEach, describe, expect, test, vi } from 'vitest'
|
||||
import logger from '../logger.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
import { action } from './favoriteAction.ts'
|
||||
import * as favoriteAction from './favoriteAction.ts'
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ import { generateUrl } from '@nextcloud/router'
|
|||
import { isPublicShare } from '@nextcloud/sharing/public'
|
||||
import PQueue from 'p-queue'
|
||||
import Vue from 'vue'
|
||||
import logger from '../logger.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
|
||||
const queue = new PQueue({ concurrency: 5 })
|
||||
|
||||
|
|
|
|||
|
|
@ -19,8 +19,8 @@ import { t } from '@nextcloud/l10n'
|
|||
import { getConflicts } from '@nextcloud/upload'
|
||||
import { basename, join } from 'path'
|
||||
import Vue from 'vue'
|
||||
import logger from '../logger.ts'
|
||||
import { getContents } from '../services/Files.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
import { canCopy, canMove, getQueue, MoveCopyAction } from './moveOrCopyActionUtils.ts'
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ import { translate as t } from '@nextcloud/l10n'
|
|||
import { encodePath } from '@nextcloud/paths'
|
||||
import { generateOcsUrl } from '@nextcloud/router'
|
||||
import { isPublicShare } from '@nextcloud/sharing/public'
|
||||
import logger from '../logger.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
import { isSyncable } from '../utils/permissions.ts'
|
||||
|
||||
export const action: IFileAction = {
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ import type { IView } from '@nextcloud/files'
|
|||
|
||||
import { File, Folder, Permission } from '@nextcloud/files'
|
||||
import { beforeEach, describe, expect, test, vi } from 'vitest'
|
||||
import logger from '../logger.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
import { action } from './sidebarAction.ts'
|
||||
|
||||
const sidebar = vi.hoisted(() => ({
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import InformationSvg from '@mdi/svg/svg/information-outline.svg?raw'
|
|||
import { getSidebar, Permission } from '@nextcloud/files'
|
||||
import { t } from '@nextcloud/l10n'
|
||||
import { isPublicShare } from '@nextcloud/sharing/public'
|
||||
import logger from '../logger.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
|
||||
export const ACTION_DETAILS = 'details'
|
||||
|
||||
|
|
|
|||
|
|
@ -76,7 +76,6 @@ import NcBreadcrumbs from '@nextcloud/vue/components/NcBreadcrumbs'
|
|||
import NcIconSvgWrapper from '@nextcloud/vue/components/NcIconSvgWrapper'
|
||||
import { useFileListWidth } from '../composables/useFileListWidth.ts'
|
||||
import { useViews } from '../composables/useViews.ts'
|
||||
import logger from '../logger.ts'
|
||||
import { dataTransferToFileTree, onDropExternalFiles, onDropInternalFiles } from '../services/DropService.ts'
|
||||
import { useActiveStore } from '../store/active.ts'
|
||||
import { useDragAndDropStore } from '../store/dragging.ts'
|
||||
|
|
@ -84,6 +83,7 @@ import { useFilesStore } from '../store/files.ts'
|
|||
import { usePathsStore } from '../store/paths.ts'
|
||||
import { useSelectionStore } from '../store/selection.ts'
|
||||
import { useUploaderStore } from '../store/uploader.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'BreadCrumbs',
|
||||
|
|
|
|||
|
|
@ -37,9 +37,9 @@ import { UploadStatus } from '@nextcloud/upload'
|
|||
import debounce from 'debounce'
|
||||
import { defineComponent } from 'vue'
|
||||
import TrayArrowDownIcon from 'vue-material-design-icons/TrayArrowDown.vue'
|
||||
import logger from '../logger.ts'
|
||||
import { dataTransferToFileTree, onDropExternalFiles } from '../services/DropService.ts'
|
||||
import { useActiveStore } from '../store/active.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'DragAndDropNotice',
|
||||
|
|
|
|||
|
|
@ -136,10 +136,10 @@ import NcLoadingIcon from '@nextcloud/vue/components/NcLoadingIcon'
|
|||
import ArrowLeftIcon from 'vue-material-design-icons/ArrowLeft.vue'
|
||||
import CustomElementRender from '../CustomElementRender.vue'
|
||||
import { useFileListWidth } from '../../composables/useFileListWidth.ts'
|
||||
import logger from '../../logger.ts'
|
||||
import actionsMixins from '../../mixins/actionsMixin.ts'
|
||||
import { useActiveStore } from '../../store/active.ts'
|
||||
import { executeAction } from '../../utils/actionUtils.ts'
|
||||
import { logger } from '../../utils/logger.ts'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'FileEntryActions',
|
||||
|
|
|
|||
|
|
@ -27,10 +27,10 @@ import { useHotKey } from '@nextcloud/vue/composables/useHotKey'
|
|||
import { defineComponent } from 'vue'
|
||||
import NcCheckboxRadioSwitch from '@nextcloud/vue/components/NcCheckboxRadioSwitch'
|
||||
import NcLoadingIcon from '@nextcloud/vue/components/NcLoadingIcon'
|
||||
import logger from '../../logger.ts'
|
||||
import { useActiveStore } from '../../store/active.ts'
|
||||
import { useKeyboardStore } from '../../store/keyboard.ts'
|
||||
import { useSelectionStore } from '../../store/selection.ts'
|
||||
import { logger } from '../../utils/logger.ts'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'FileEntryCheckbox',
|
||||
|
|
|
|||
|
|
@ -49,11 +49,11 @@ import { basename } from '@nextcloud/paths'
|
|||
import { defineComponent, inject } from 'vue'
|
||||
import NcTextField from '@nextcloud/vue/components/NcTextField'
|
||||
import { useFileListWidth } from '../../composables/useFileListWidth.ts'
|
||||
import logger from '../../logger.ts'
|
||||
import { useActiveStore } from '../../store/active.ts'
|
||||
import { useRenamingStore } from '../../store/renaming.ts'
|
||||
import { useUserConfigStore } from '../../store/userconfig.ts'
|
||||
import { getFilenameValidity } from '../../utils/filenameValidity.ts'
|
||||
import { logger } from '../../utils/logger.ts'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'FileEntryName',
|
||||
|
|
|
|||
|
|
@ -78,9 +78,9 @@ import CollectivesIcon from './CollectivesIcon.vue'
|
|||
import FavoriteIcon from './FavoriteIcon.vue'
|
||||
import RecentlyCreatedIcon from './RecentlyCreatedIcon.vue'
|
||||
import { usePreviewImage } from '../../composables/usePreviewImage.ts'
|
||||
import logger from '../../logger.ts'
|
||||
import { isLivePhoto } from '../../services/LivePhotos.ts'
|
||||
import { useUserConfigStore } from '../../store/userconfig.ts'
|
||||
import { logger } from '../../utils/logger.ts'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'FileEntryPreview',
|
||||
|
|
|
|||
|
|
@ -17,10 +17,10 @@ import { vOnClickOutside } from '@vueuse/components'
|
|||
import { extname } from 'path'
|
||||
import Vue, { computed, defineComponent } from 'vue'
|
||||
import { action as sidebarAction } from '../actions/sidebarAction.ts'
|
||||
import logger from '../logger.ts'
|
||||
import { onDropInternalFiles } from '../services/DropService.ts'
|
||||
import { getDragAndDropPreview } from '../utils/dragUtils.ts'
|
||||
import { hashCode } from '../utils/hashUtils.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
import { isDownloadable } from '../utils/permissions.ts'
|
||||
|
||||
Vue.directive('onClickOutside', vOnClickOutside)
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ import type { Folder, IFileListHeader, View } from '@nextcloud/files'
|
|||
import type { PropType } from 'vue'
|
||||
|
||||
import PQueue from 'p-queue'
|
||||
import logger from '../logger.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
|
||||
/**
|
||||
* This component is used to render custom
|
||||
|
|
|
|||
|
|
@ -84,11 +84,11 @@ import { FILE_LIST_HEAD_FIRST_BATCH_ACTION_ID } from './FilesListTableHeaderActi
|
|||
import FilesListTableHeaderButton from './FilesListTableHeaderButton.vue'
|
||||
import { useFileListWidth } from '../composables/useFileListWidth.ts'
|
||||
import { useRouteParameters } from '../composables/useRouteParameters.ts'
|
||||
import logger from '../logger.ts'
|
||||
import filesSortingMixin from '../mixins/filesSorting.ts'
|
||||
import { useActiveStore } from '../store/active.ts'
|
||||
import { useFilesStore } from '../store/files.ts'
|
||||
import { useSelectionStore } from '../store/selection.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
|
||||
export const FILES_LIST_HEADER_SELECT_ALL_CHECKBOX_ID = 'files-list-header-select-all-checkbox'
|
||||
|
||||
|
|
|
|||
|
|
@ -88,12 +88,12 @@ import ArrowLeftIcon from 'vue-material-design-icons/ArrowLeft.vue'
|
|||
import { FILES_LIST_HEADER_SELECT_ALL_CHECKBOX_ID } from './FilesListTableHeader.vue'
|
||||
import { useFileActions } from '../composables/useFileActions.ts'
|
||||
import { useFileListWidth } from '../composables/useFileListWidth.ts'
|
||||
import logger from '../logger.ts'
|
||||
import actionsMixins from '../mixins/actionsMixin.ts'
|
||||
import { useActionsMenuStore } from '../store/actionsmenu.ts'
|
||||
import { useActiveStore } from '../store/active.ts'
|
||||
import { useFilesStore } from '../store/files.ts'
|
||||
import { useSelectionStore } from '../store/selection.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
|
||||
export const FILE_LIST_HEAD_FIRST_BATCH_ACTION_ID = 'files-list-head-first-batch-action'
|
||||
|
||||
|
|
|
|||
|
|
@ -91,10 +91,10 @@ import { useEnabledFileActions } from '../composables/useFileActions.ts'
|
|||
import { useFileListHeaders } from '../composables/useFileListHeaders.ts'
|
||||
import { useFileListWidth } from '../composables/useFileListWidth.ts'
|
||||
import { useRouteParameters } from '../composables/useRouteParameters.ts'
|
||||
import logger from '../logger.ts'
|
||||
import { useActiveStore } from '../store/active.ts'
|
||||
import { useSelectionStore } from '../store/selection.ts'
|
||||
import { useUserConfigStore } from '../store/userconfig.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'FilesListVirtual',
|
||||
|
|
|
|||
|
|
@ -10,9 +10,9 @@ import { NcIconSvgWrapper, NcLoadingIcon } from '@nextcloud/vue'
|
|||
import { ref, toRef, watch } from 'vue'
|
||||
import NcAppSidebarTab from '@nextcloud/vue/components/NcAppSidebarTab'
|
||||
import NcEmptyContent from '@nextcloud/vue/components/NcEmptyContent'
|
||||
import logger from '../../logger.ts'
|
||||
import { useActiveStore } from '../../store/active.ts'
|
||||
import { useSidebarStore } from '../../store/sidebar.ts'
|
||||
import { logger } from '../../utils/logger.ts'
|
||||
|
||||
const props = defineProps<{
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ import { debounce, throttle } from 'throttle-debounce'
|
|||
import NcAppNavigationItem from '@nextcloud/vue/components/NcAppNavigationItem'
|
||||
import NcProgressBar from '@nextcloud/vue/components/NcProgressBar'
|
||||
import ChartPie from 'vue-material-design-icons/ChartPieOutline.vue'
|
||||
import logger from '../logger.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
|
||||
export default {
|
||||
name: 'NavigationQuota',
|
||||
|
|
|
|||
|
|
@ -17,8 +17,8 @@ import NcInputField from '@nextcloud/vue/components/NcInputField'
|
|||
import NcLoadingIcon from '@nextcloud/vue/components/NcLoadingIcon'
|
||||
import NcNoteCard from '@nextcloud/vue/components/NcNoteCard'
|
||||
import NcProgressBar from '@nextcloud/vue/components/NcProgressBar'
|
||||
import logger from '../../logger.ts'
|
||||
import { SanitizeFilenameStatus } from '../../models/SanitizeFilenameStatus.ts'
|
||||
import { logger } from '../../utils/logger.ts'
|
||||
|
||||
type ApiStatus = { total: number, processed: number, errors?: Record<string, string[]>, status: SanitizeFilenameStatus }
|
||||
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ import debounce from 'debounce'
|
|||
import Vue from 'vue'
|
||||
import NcButton from '@nextcloud/vue/components/NcButton'
|
||||
import NcSelect from '@nextcloud/vue/components/NcSelect'
|
||||
import logger from '../logger.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
|
||||
const picker = getFilePickerBuilder(t('files', 'Choose a file or folder to transfer'))
|
||||
.setMultiSelect(false)
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ import type { PropType } from 'vue'
|
|||
import debounce from 'debounce'
|
||||
import { defineComponent } from 'vue'
|
||||
import { useFileListWidth } from '../composables/useFileListWidth.ts'
|
||||
import logger from '../logger.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
|
||||
interface RecycledPoolItem {
|
||||
key: string
|
||||
|
|
|
|||
|
|
@ -7,9 +7,9 @@ import { getFileActions } from '@nextcloud/files'
|
|||
import { useHotKey } from '@nextcloud/vue/composables/useHotKey'
|
||||
import { dirname } from 'path'
|
||||
import { useRoute, useRouter } from 'vue-router/composables'
|
||||
import logger from '../logger.ts'
|
||||
import { useUserConfigStore } from '../store/userconfig.ts'
|
||||
import { executeAction } from '../utils/actionUtils.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
import { useRouteParameters } from './useRouteParameters.ts'
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import { t } from '@nextcloud/l10n'
|
|||
import wrap from '@vue/web-component-wrapper'
|
||||
import Vue from 'vue'
|
||||
import FileListFilterType from '../components/FileListFilter/FileListFilterType.vue'
|
||||
import logger from '../logger.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
|
||||
export interface ITypePreset {
|
||||
id: string
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ import { emit } from '@nextcloud/event-bus'
|
|||
import { Folder, Permission } from '@nextcloud/files'
|
||||
import { t } from '@nextcloud/l10n'
|
||||
import { basename } from 'path'
|
||||
import logger from '../logger.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
import { newNodeName } from '../utils/newNodeDialog.ts'
|
||||
|
||||
export const entry: NewMenuEntry = {
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ import { loadState } from '@nextcloud/initial-state'
|
|||
import { translate as t } from '@nextcloud/l10n'
|
||||
import { generateOcsUrl } from '@nextcloud/router'
|
||||
import { join } from 'path'
|
||||
import logger from '../logger.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
import { newNodeName } from '../utils/newNodeDialog.ts'
|
||||
|
||||
const templatesEnabled = loadState<boolean>('files', 'templates_enabled', true)
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import { getFilePickerBuilder } from '@nextcloud/dialogs'
|
|||
import { emit } from '@nextcloud/event-bus'
|
||||
import { translate as t } from '@nextcloud/l10n'
|
||||
import { imagePath } from '@nextcloud/router'
|
||||
import logger from '../../logger.ts'
|
||||
import { logger } from '../../utils/logger.ts'
|
||||
|
||||
/**
|
||||
* Initialize the unified search plugin.
|
||||
|
|
|
|||
|
|
@ -12,11 +12,11 @@ import { relative } from 'path'
|
|||
import queryString from 'query-string'
|
||||
import Vue from 'vue'
|
||||
import Router, { isNavigationFailure, NavigationFailureType } from 'vue-router'
|
||||
import logger from '../logger.ts'
|
||||
import { useFilesStore } from '../store/files.ts'
|
||||
import { getPinia } from '../store/index.ts'
|
||||
import { usePathsStore } from '../store/paths.ts'
|
||||
import { defaultView } from '../utils/filesViews.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
|
||||
Vue.use(Router)
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ import { join } from '@nextcloud/paths'
|
|||
import { getUploader, hasConflict } from '@nextcloud/upload'
|
||||
import { handleCopyMoveNodesTo, HintException } from '../actions/moveOrCopyAction.ts'
|
||||
import { MoveCopyAction } from '../actions/moveOrCopyActionUtils.ts'
|
||||
import logger from '../logger.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
import { createDirectoryIfNotExists, Directory, resolveConflict, traverseTree } from './DropServiceUtils.ts'
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
import { join } from 'node:path'
|
||||
import { beforeAll, describe, expect, it, vi } from 'vitest'
|
||||
import { DataTransferItem as DataTransferItemMock, FileSystemDirectoryEntry, fileSystemEntryToDataTransferItem, FileSystemFileEntry } from '../../../../__tests__/FileSystemAPIUtils.ts'
|
||||
import logger from '../logger.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
import { dataTransferToFileTree } from './DropService.ts'
|
||||
import { Directory, traverseTree } from './DropServiceUtils.ts'
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ import { defaultRemoteURL, defaultRootPath, getClient, getDefaultPropfind, resul
|
|||
import { t } from '@nextcloud/l10n'
|
||||
import { join } from '@nextcloud/paths'
|
||||
import { openConflictPicker } from '@nextcloud/upload'
|
||||
import logger from '../logger.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
|
||||
/**
|
||||
* This represents a Directory in the file tree
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import type { ContentsWithRoot } from '@nextcloud/files'
|
|||
import { getCurrentUser } from '@nextcloud/auth'
|
||||
import { Folder, Permission } from '@nextcloud/files'
|
||||
import { getFavoriteNodes, getRemoteURL, getRootPath } from '@nextcloud/files/dav'
|
||||
import logger from '../logger.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
import { getContents as filesContents } from './Files.ts'
|
||||
import { client } from './WebdavClient.ts'
|
||||
|
||||
|
|
|
|||
|
|
@ -7,10 +7,10 @@ import type { FileStat, ResponseDataDetailed } from 'webdav'
|
|||
|
||||
import { getDefaultPropfind, getRootPath, resultToNode } from '@nextcloud/files/dav'
|
||||
import { join } from 'path'
|
||||
import logger from '../logger.ts'
|
||||
import { useFilesStore } from '../store/files.ts'
|
||||
import { getPinia } from '../store/index.ts'
|
||||
import { useSearchStore } from '../store/search.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
import { client } from './WebdavClient.ts'
|
||||
import { searchNodes } from './WebDavSearch.ts'
|
||||
|
||||
|
|
|
|||
|
|
@ -9,9 +9,9 @@ import { getCurrentUser } from '@nextcloud/auth'
|
|||
import { Folder, Permission } from '@nextcloud/files'
|
||||
import { getRecentSearch, getRemoteURL, getRootPath, resultToNode } from '@nextcloud/files/dav'
|
||||
import { loadState } from '@nextcloud/initial-state'
|
||||
import logger from '../logger.ts'
|
||||
import { getPinia } from '../store/index.ts'
|
||||
import { useUserConfigStore } from '../store/userconfig.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
import { client } from './WebdavClient.ts'
|
||||
|
||||
const lastTwoWeeksTimestamp = Math.round((Date.now() / 1000) - (60 * 60 * 24 * 14))
|
||||
|
|
|
|||
|
|
@ -8,9 +8,9 @@ import type { ContentsWithRoot } from '@nextcloud/files'
|
|||
import { getCurrentUser } from '@nextcloud/auth'
|
||||
import { Folder, Permission } from '@nextcloud/files'
|
||||
import { defaultRemoteURL, getRootPath } from '@nextcloud/files/dav'
|
||||
import logger from '../logger.ts'
|
||||
import { getPinia } from '../store/index.ts'
|
||||
import { useSearchStore } from '../store/search.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
import { searchNodes } from './WebDavSearch.ts'
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
import { generateUrl, getRootUrl } from '@nextcloud/router'
|
||||
import logger from '../logger.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
|
||||
export default () => {
|
||||
if ('serviceWorker' in navigator) {
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
|
||||
import logger from '../logger.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
|
||||
export default class Settings {
|
||||
_settings
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import type { ResponseDataDetailed, SearchResult } from 'webdav'
|
|||
import { getCurrentUser } from '@nextcloud/auth'
|
||||
import { defaultRootPath, getDavNameSpaces, getDavProperties, resultToNode } from '@nextcloud/files/dav'
|
||||
import { getBaseUrl } from '@nextcloud/router'
|
||||
import logger from '../logger.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
import { client } from './WebdavClient.ts'
|
||||
|
||||
export interface SearchNodesOptions {
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import { Folder, getNavigation, Permission } from '@nextcloud/files'
|
|||
import { getRemoteURL, getRootPath } from '@nextcloud/files/dav'
|
||||
import { defineStore } from 'pinia'
|
||||
import { ref, shallowRef, watch } from 'vue'
|
||||
import logger from '../logger.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
|
||||
// Temporary fake folder to use until we have the first valid folder
|
||||
// fetched and cached. This allow us to mount the FilesListVirtual
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@ import type { FileSource, FilesStore, RootOptions, RootsStore, Service } from '.
|
|||
import { subscribe } from '@nextcloud/event-bus'
|
||||
import { defineStore } from 'pinia'
|
||||
import Vue, { ref } from 'vue'
|
||||
import logger from '../logger.ts'
|
||||
import { fetchNode } from '../services/WebdavClient.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
import { usePathsStore } from './paths.ts'
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import { emit, subscribe } from '@nextcloud/event-bus'
|
|||
import { getFileListFilters, getFilesRegistry } from '@nextcloud/files'
|
||||
import { defineStore } from 'pinia'
|
||||
import { computed, ref } from 'vue'
|
||||
import logger from '../logger.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
|
||||
/**
|
||||
* Check if the given value is an instance file list filter with mount function
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import { File, FileType, getNavigation } from '@nextcloud/files'
|
|||
import { dirname } from '@nextcloud/paths'
|
||||
import { defineStore } from 'pinia'
|
||||
import Vue from 'vue'
|
||||
import logger from '../logger.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
import { useFilesStore } from './files.ts'
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@ import { basename, dirname, extname } from '@nextcloud/paths'
|
|||
import { spawnDialog } from '@nextcloud/vue/functions/dialog'
|
||||
import { defineStore } from 'pinia'
|
||||
import Vue, { defineAsyncComponent, ref } from 'vue'
|
||||
import logger from '../logger.ts'
|
||||
import { fetchNode } from '../services/WebdavClient.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
import { useUserConfigStore } from './userconfig.ts'
|
||||
|
||||
export const useRenamingStore = defineStore('renaming', () => {
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import { emit, subscribe } from '@nextcloud/event-bus'
|
|||
import debounce from 'debounce'
|
||||
import { defineStore } from 'pinia'
|
||||
import { ref, watch } from 'vue'
|
||||
import logger from '../logger.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
import { VIEW_ID } from '../views/search.ts'
|
||||
|
||||
export const useSearchStore = defineStore('search', () => {
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import { subscribe } from '@nextcloud/event-bus'
|
|||
import { getSidebarActions, getSidebarTabs } from '@nextcloud/files'
|
||||
import { defineStore } from 'pinia'
|
||||
import { computed, readonly, ref, watch } from 'vue'
|
||||
import logger from '../logger.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
import { useActiveStore } from './active.ts'
|
||||
import { useFilesStore } from './files.ts'
|
||||
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@ import { showError, showSuccess } from '@nextcloud/dialogs'
|
|||
import { NodeStatus } from '@nextcloud/files'
|
||||
import { t } from '@nextcloud/l10n'
|
||||
import Vue from 'vue'
|
||||
import logger from '../logger.ts'
|
||||
import { useActiveStore } from '../store/active.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
|
||||
/**
|
||||
* Execute an action on the current active node
|
||||
|
|
|
|||
|
|
@ -1,10 +1,11 @@
|
|||
/**
|
||||
/*!
|
||||
* SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
|
||||
import { getLoggerBuilder } from '@nextcloud/logger'
|
||||
|
||||
export default getLoggerBuilder()
|
||||
export const logger = getLoggerBuilder()
|
||||
.setApp('files')
|
||||
.detectUser()
|
||||
.build()
|
||||
|
|
@ -15,7 +15,7 @@ import { FilePickerBuilder } from '@nextcloud/dialogs'
|
|||
import { t } from '@nextcloud/l10n'
|
||||
import { onMounted } from 'vue'
|
||||
import { generateFileUrl } from '../../../files_sharing/src/utils/generateUrl.ts'
|
||||
import logger from '../logger.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
|
||||
defineProps<{
|
||||
providerId: string
|
||||
|
|
|
|||
|
|
@ -190,7 +190,6 @@ import FilesListVirtual from '../components/FilesListVirtual.vue'
|
|||
import { useEnabledFileListActions } from '../composables/useFileListActions.ts'
|
||||
import { useFileListWidth } from '../composables/useFileListWidth.ts'
|
||||
import { useRouteParameters } from '../composables/useRouteParameters.ts'
|
||||
import logger from '../logger.ts'
|
||||
import filesSortingMixin from '../mixins/filesSorting.ts'
|
||||
import { useActiveStore } from '../store/active.ts'
|
||||
import { useFilesStore } from '../store/files.ts'
|
||||
|
|
@ -204,6 +203,7 @@ import { useViewConfigStore } from '../store/viewConfig.ts'
|
|||
import { humanizeWebDAVError } from '../utils/davUtils.ts'
|
||||
import { defaultView } from '../utils/filesViews.ts'
|
||||
import { getSummaryFor } from '../utils/fileUtils.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'FilesList',
|
||||
|
|
|
|||
|
|
@ -52,9 +52,9 @@ import FilesNavigationSearch from '../components/FilesNavigationSearch.vue'
|
|||
import NavigationQuota from '../components/NavigationQuota.vue'
|
||||
import FilesAppSettings from './FilesAppSettings.vue'
|
||||
import { useViews } from '../composables/useViews.ts'
|
||||
import logger from '../logger.ts'
|
||||
import { useActiveStore } from '../store/active.ts'
|
||||
import { useSidebarStore } from '../store/sidebar.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
|
||||
const sidebar = useSidebarStore()
|
||||
const activeStore = useActiveStore()
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ import { defineComponent } from 'vue'
|
|||
import FileIcon from 'vue-material-design-icons/File.vue'
|
||||
import FolderIcon from 'vue-material-design-icons/Folder.vue'
|
||||
import { generateFileUrl } from '../../../files_sharing/src/utils/generateUrl.ts'
|
||||
import logger from '../logger.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
|
||||
// see lib/private/Collaboration/Reference/File/FileReferenceProvider.php
|
||||
type Ressource = {
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ import { ref } from 'vue'
|
|||
import NcCheckboxRadioSwitch from '@nextcloud/vue/components/NcCheckboxRadioSwitch'
|
||||
import NcSettingsSection from '@nextcloud/vue/components/NcSettingsSection'
|
||||
import SettingsSanitizeFilenames from '../components/Settings/SettingsSanitizeFilenames.vue'
|
||||
import logger from '../logger.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
|
||||
const {
|
||||
docUrl,
|
||||
|
|
|
|||
|
|
@ -70,8 +70,8 @@ import NcEmptyContent from '@nextcloud/vue/components/NcEmptyContent'
|
|||
import NcModal from '@nextcloud/vue/components/NcModal'
|
||||
import TemplateFiller from '../components/TemplateFiller.vue'
|
||||
import TemplatePreview from '../components/TemplatePreview.vue'
|
||||
import logger from '../logger.ts'
|
||||
import { createFromTemplate, getTemplateFields, getTemplates } from '../services/Templates.js'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
|
||||
const border = 2
|
||||
const margin = 8
|
||||
|
|
|
|||
|
|
@ -10,9 +10,9 @@ import StarSvg from '@mdi/svg/svg/star-outline.svg?raw'
|
|||
import { subscribe } from '@nextcloud/event-bus'
|
||||
import { FileType, getNavigation, View } from '@nextcloud/files'
|
||||
import { getCanonicalLocale, getLanguage, t } from '@nextcloud/l10n'
|
||||
import logger from '../logger.ts'
|
||||
import { getContents } from '../services/Favorites.ts'
|
||||
import { hashCode } from '../utils/hashUtils.ts'
|
||||
import { logger } from '../utils/logger.ts'
|
||||
|
||||
/**
|
||||
* Generate a favorite folder view
|
||||
|
|
|
|||
1
dist/2915-2915.js.map.license
vendored
1
dist/2915-2915.js.map.license
vendored
|
|
@ -1 +0,0 @@
|
|||
2915-2915.js.license
|
||||
4
dist/2915-2915.js → dist/7497-7497.js
vendored
4
dist/2915-2915.js → dist/7497-7497.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
dist/7497-7497.js.map.license
vendored
Symbolic link
1
dist/7497-7497.js.map.license
vendored
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
7497-7497.js.license
|
||||
4
dist/files-init.js
vendored
4
dist/files-init.js
vendored
File diff suppressed because one or more lines are too long
2
dist/files-init.js.map
vendored
2
dist/files-init.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/files-main.js
vendored
4
dist/files-main.js
vendored
File diff suppressed because one or more lines are too long
2
dist/files-main.js.map
vendored
2
dist/files-main.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/files-reference-files.js
vendored
4
dist/files-reference-files.js
vendored
File diff suppressed because one or more lines are too long
2
dist/files-reference-files.js.map
vendored
2
dist/files-reference-files.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/files-search.js
vendored
4
dist/files-search.js
vendored
|
|
@ -1,2 +1,2 @@
|
|||
(()=>{"use strict";var e,r,t,a={48246(e,r,t){var a=t(85168),i=t(61338),o=t(53334),l=t(63814);const n=(0,t(35947).YK)().setApp("files").detectUser().build();document.addEventListener("DOMContentLoaded",function(){const e=window.OCA;e.UnifiedSearch&&(n.info("Initializing unified search plugin: folder search from files app"),e.UnifiedSearch.registerFilterAction({id:"in-folder",appId:"files",searchFrom:"files",label:(0,o.Tl)("files","In folder"),icon:(0,l.d0)("files","app.svg"),callback:(e=!0)=>{e?(0,a.a1)((0,o.Tl)("files","Pick folder to search in")).setNoMenu(!0).addMimeTypeFilter("httpd/unix-directory").allowDirectories(!0).addButton({label:"Pick",callback:e=>{n.info("Folder picked",{folder:e[0]});const r=e[0],t=r.root==="/files/"+r.basename?(0,o.Tl)("files","Search in all files"):(0,o.Tl)("files","Search in folder: {folder}",{folder:r.basename});(0,i.Ic)("nextcloud:unified-search:add-filter",{id:"in-folder",appId:"files",searchFrom:"files",payload:r,filterUpdateText:t,filterParams:{path:r.path}})}}).build().pick():n.debug("Folder search callback was handled without showing the file picker, it might already be open")}}))})}},i={};function o(e){var r=i[e];if(void 0!==r)return r.exports;var t=i[e]={id:e,loaded:!1,exports:{}};return a[e].call(t.exports,t,t.exports,o),t.loaded=!0,t.exports}o.m=a,e=[],o.O=(r,t,a,i)=>{if(!t){var l=1/0;for(s=0;s<e.length;s++){for(var[t,a,i]=e[s],n=!0,d=0;d<t.length;d++)(!1&i||l>=i)&&Object.keys(o.O).every(e=>o.O[e](t[d]))?t.splice(d--,1):(n=!1,i<l&&(l=i));if(n){e.splice(s--,1);var c=a();void 0!==c&&(r=c)}}return r}i=i||0;for(var s=e.length;s>0&&e[s-1][2]>i;s--)e[s]=e[s-1];e[s]=[t,a,i]},o.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return o.d(r,{a:r}),r},o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce((r,t)=>(o.f[t](e,r),r),[])),o.u=e=>e+"-"+e+".js?v="+{1140:"490e17ed9c8948d5a9e8",2221:"428c2ff62c4b8b3c97fc",5448:"71cfe268d6f1213c4735",6015:"ebcb6885c1fc8c461988",7859:"740587c0c8c350dad157",7910:"de857920f8beb5205bbc",8815:"9a5c507c75429c9c04e4"}[e],o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),r={},t="nextcloud-ui-legacy:",o.l=(e,a,i,l)=>{if(r[e])r[e].push(a);else{var n,d;if(void 0!==i)for(var c=document.getElementsByTagName("script"),s=0;s<c.length;s++){var f=c[s];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==t+i){n=f;break}}n||(d=!0,(n=document.createElement("script")).charset="utf-8",o.nc&&n.setAttribute("nonce",o.nc),n.setAttribute("data-webpack",t+i),n.src=e),r[e]=[a];var u=(t,a)=>{n.onerror=n.onload=null,clearTimeout(p);var i=r[e];if(delete r[e],n.parentNode&&n.parentNode.removeChild(n),i&&i.forEach(e=>e(a)),t)return t(a)},p=setTimeout(u.bind(null,void 0,{type:"timeout",target:n}),12e4);n.onerror=u.bind(null,n.onerror),n.onload=u.bind(null,n.onload),d&&document.head.appendChild(n)}},o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),o.j=2277,(()=>{var e;globalThis.importScripts&&(e=globalThis.location+"");var r=globalThis.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var a=t.length-1;a>-1&&(!e||!/^http(s?):/.test(e));)e=t[a--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),o.p=e})(),(()=>{o.b="undefined"!=typeof document&&document.baseURI||self.location.href;var e={2277:0};o.f.j=(r,t)=>{var a=o.o(e,r)?e[r]:void 0;if(0!==a)if(a)t.push(a[2]);else{var i=new Promise((t,i)=>a=e[r]=[t,i]);t.push(a[2]=i);var l=o.p+o.u(r),n=new Error;o.l(l,t=>{if(o.o(e,r)&&(0!==(a=e[r])&&(e[r]=void 0),a)){var i=t&&("load"===t.type?"missing":t.type),l=t&&t.target&&t.target.src;n.message="Loading chunk "+r+" failed.\n("+i+": "+l+")",n.name="ChunkLoadError",n.type=i,n.request=l,a[1](n)}},"chunk-"+r,r)}},o.O.j=r=>0===e[r];var r=(r,t)=>{var a,i,[l,n,d]=t,c=0;if(l.some(r=>0!==e[r])){for(a in n)o.o(n,a)&&(o.m[a]=n[a]);if(d)var s=d(o)}for(r&&r(t);c<l.length;c++)i=l[c],o.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return o.O(s)},t=globalThis.webpackChunknextcloud_ui_legacy=globalThis.webpackChunknextcloud_ui_legacy||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),o.nc=void 0;var l=o.O(void 0,[4208],()=>o(48246));l=o.O(l)})();
|
||||
//# sourceMappingURL=files-search.js.map?v=aba870bd501c70a47e42
|
||||
(()=>{"use strict";var e,r,t,a={38752(e,r,t){var a=t(85168),i=t(61338),o=t(53334),l=t(63814);const n=(0,t(35947).YK)().setApp("files").detectUser().build();document.addEventListener("DOMContentLoaded",function(){const e=window.OCA;e.UnifiedSearch&&(n.info("Initializing unified search plugin: folder search from files app"),e.UnifiedSearch.registerFilterAction({id:"in-folder",appId:"files",searchFrom:"files",label:(0,o.Tl)("files","In folder"),icon:(0,l.d0)("files","app.svg"),callback:(e=!0)=>{e?(0,a.a1)((0,o.Tl)("files","Pick folder to search in")).setNoMenu(!0).addMimeTypeFilter("httpd/unix-directory").allowDirectories(!0).addButton({label:"Pick",callback:e=>{n.info("Folder picked",{folder:e[0]});const r=e[0],t=r.root==="/files/"+r.basename?(0,o.Tl)("files","Search in all files"):(0,o.Tl)("files","Search in folder: {folder}",{folder:r.basename});(0,i.Ic)("nextcloud:unified-search:add-filter",{id:"in-folder",appId:"files",searchFrom:"files",payload:r,filterUpdateText:t,filterParams:{path:r.path}})}}).build().pick():n.debug("Folder search callback was handled without showing the file picker, it might already be open")}}))})}},i={};function o(e){var r=i[e];if(void 0!==r)return r.exports;var t=i[e]={id:e,loaded:!1,exports:{}};return a[e].call(t.exports,t,t.exports,o),t.loaded=!0,t.exports}o.m=a,e=[],o.O=(r,t,a,i)=>{if(!t){var l=1/0;for(s=0;s<e.length;s++){for(var[t,a,i]=e[s],n=!0,d=0;d<t.length;d++)(!1&i||l>=i)&&Object.keys(o.O).every(e=>o.O[e](t[d]))?t.splice(d--,1):(n=!1,i<l&&(l=i));if(n){e.splice(s--,1);var c=a();void 0!==c&&(r=c)}}return r}i=i||0;for(var s=e.length;s>0&&e[s-1][2]>i;s--)e[s]=e[s-1];e[s]=[t,a,i]},o.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return o.d(r,{a:r}),r},o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce((r,t)=>(o.f[t](e,r),r),[])),o.u=e=>e+"-"+e+".js?v="+{1140:"490e17ed9c8948d5a9e8",2221:"428c2ff62c4b8b3c97fc",5448:"71cfe268d6f1213c4735",6015:"ebcb6885c1fc8c461988",7859:"740587c0c8c350dad157",7910:"de857920f8beb5205bbc",8815:"9a5c507c75429c9c04e4"}[e],o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),r={},t="nextcloud-ui-legacy:",o.l=(e,a,i,l)=>{if(r[e])r[e].push(a);else{var n,d;if(void 0!==i)for(var c=document.getElementsByTagName("script"),s=0;s<c.length;s++){var f=c[s];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==t+i){n=f;break}}n||(d=!0,(n=document.createElement("script")).charset="utf-8",o.nc&&n.setAttribute("nonce",o.nc),n.setAttribute("data-webpack",t+i),n.src=e),r[e]=[a];var u=(t,a)=>{n.onerror=n.onload=null,clearTimeout(p);var i=r[e];if(delete r[e],n.parentNode&&n.parentNode.removeChild(n),i&&i.forEach(e=>e(a)),t)return t(a)},p=setTimeout(u.bind(null,void 0,{type:"timeout",target:n}),12e4);n.onerror=u.bind(null,n.onerror),n.onload=u.bind(null,n.onload),d&&document.head.appendChild(n)}},o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),o.j=2277,(()=>{var e;globalThis.importScripts&&(e=globalThis.location+"");var r=globalThis.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var a=t.length-1;a>-1&&(!e||!/^http(s?):/.test(e));)e=t[a--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),o.p=e})(),(()=>{o.b="undefined"!=typeof document&&document.baseURI||self.location.href;var e={2277:0};o.f.j=(r,t)=>{var a=o.o(e,r)?e[r]:void 0;if(0!==a)if(a)t.push(a[2]);else{var i=new Promise((t,i)=>a=e[r]=[t,i]);t.push(a[2]=i);var l=o.p+o.u(r),n=new Error;o.l(l,t=>{if(o.o(e,r)&&(0!==(a=e[r])&&(e[r]=void 0),a)){var i=t&&("load"===t.type?"missing":t.type),l=t&&t.target&&t.target.src;n.message="Loading chunk "+r+" failed.\n("+i+": "+l+")",n.name="ChunkLoadError",n.type=i,n.request=l,a[1](n)}},"chunk-"+r,r)}},o.O.j=r=>0===e[r];var r=(r,t)=>{var a,i,[l,n,d]=t,c=0;if(l.some(r=>0!==e[r])){for(a in n)o.o(n,a)&&(o.m[a]=n[a]);if(d)var s=d(o)}for(r&&r(t);c<l.length;c++)i=l[c],o.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return o.O(s)},t=globalThis.webpackChunknextcloud_ui_legacy=globalThis.webpackChunknextcloud_ui_legacy||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),o.nc=void 0;var l=o.O(void 0,[4208],()=>o(38752));l=o.O(l)})();
|
||||
//# sourceMappingURL=files-search.js.map?v=f6292b3faa0c218318fd
|
||||
2
dist/files-search.js.map
vendored
2
dist/files-search.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/files-settings-admin.js
vendored
4
dist/files-settings-admin.js
vendored
File diff suppressed because one or more lines are too long
2
dist/files-settings-admin.js.map
vendored
2
dist/files-settings-admin.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/files-settings-personal.js
vendored
4
dist/files-settings-personal.js
vendored
File diff suppressed because one or more lines are too long
2
dist/files-settings-personal.js.map
vendored
2
dist/files-settings-personal.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/files-sidebar.js
vendored
4
dist/files-sidebar.js
vendored
File diff suppressed because one or more lines are too long
2
dist/files-sidebar.js.map
vendored
2
dist/files-sidebar.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/files_sharing-init-public.js
vendored
4
dist/files_sharing-init-public.js
vendored
File diff suppressed because one or more lines are too long
2
dist/files_sharing-init-public.js.map
vendored
2
dist/files_sharing-init-public.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue