mirror of
https://github.com/nextcloud/server.git
synced 2026-02-24 18:37:44 -05:00
Merge pull request #54788 from nextcloud/feat/sharing-node-api
feat(files_sharing): provide web components based API for sidebar
This commit is contained in:
commit
809d87c76b
184 changed files with 695 additions and 399 deletions
|
|
@ -31,6 +31,7 @@ export default function(node: Node) {
|
|||
fileInfo.get = (key) => fileInfo[key]
|
||||
fileInfo.isDirectory = () => fileInfo.mimetype === 'httpd/unix-directory'
|
||||
fileInfo.canEdit = () => Boolean(fileInfo.permissions & OC.PERMISSION_UPDATE)
|
||||
fileInfo.node = node
|
||||
|
||||
return fileInfo
|
||||
}
|
||||
|
|
|
|||
|
|
@ -95,6 +95,8 @@
|
|||
</NcAppSidebar>
|
||||
</template>
|
||||
<script lang="ts">
|
||||
import type { INode } from '@nextcloud/files'
|
||||
|
||||
import { davRemoteURL, davRootPath, File, Folder, formatFileSize } from '@nextcloud/files'
|
||||
import { defineComponent } from 'vue'
|
||||
import { emit, subscribe, unsubscribe } from '@nextcloud/event-bus'
|
||||
|
|
@ -159,7 +161,7 @@ export default defineComponent({
|
|||
error: null,
|
||||
loading: true,
|
||||
fileInfo: null,
|
||||
node: null,
|
||||
node: null as INode | null,
|
||||
isFullScreen: false,
|
||||
hasLowHeight: false,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -159,7 +159,16 @@
|
|||
<NcActionSeparator />
|
||||
|
||||
<!-- external actions -->
|
||||
<ExternalShareAction v-for="action in externalLinkActions"
|
||||
<NcActionButton v-for="action in sortedExternalShareActions"
|
||||
:key="action.id"
|
||||
@click="action.exec(share, fileInfo.node)">
|
||||
<template #icon>
|
||||
<NcIconSvgWrapper :svg="action.iconSvg" />
|
||||
</template>
|
||||
{{ action.label(share, fileInfo.node) }}
|
||||
</NcActionButton>
|
||||
|
||||
<SidebarTabExternalActionLegacy v-for="action in externalLegacyShareActions"
|
||||
:id="action.id"
|
||||
:key="action.id"
|
||||
:action="action"
|
||||
|
|
@ -230,6 +239,8 @@ import { t } from '@nextcloud/l10n'
|
|||
import moment from '@nextcloud/moment'
|
||||
import { generateUrl, getBaseUrl } from '@nextcloud/router'
|
||||
import { ShareType } from '@nextcloud/sharing'
|
||||
import { getSidebarInlineActions } from '@nextcloud/sharing/ui'
|
||||
import { toRaw } from 'vue'
|
||||
|
||||
import VueQrcode from '@chenfengyuan/vue-qrcode'
|
||||
import NcActionButton from '@nextcloud/vue/components/NcActionButton'
|
||||
|
|
@ -255,8 +266,8 @@ import PlusIcon from 'vue-material-design-icons/Plus.vue'
|
|||
|
||||
import SharingEntryQuickShareSelect from './SharingEntryQuickShareSelect.vue'
|
||||
import ShareExpiryTime from './ShareExpiryTime.vue'
|
||||
import SidebarTabExternalActionLegacy from './SidebarTabExternal/SidebarTabExternalActionLegacy.vue'
|
||||
|
||||
import ExternalShareAction from './ExternalShareAction.vue'
|
||||
import GeneratePassword from '../utils/GeneratePassword.ts'
|
||||
import Share from '../models/Share.ts'
|
||||
import SharesMixin from '../mixins/SharesMixin.js'
|
||||
|
|
@ -267,7 +278,6 @@ export default {
|
|||
name: 'SharingEntryLink',
|
||||
|
||||
components: {
|
||||
ExternalShareAction,
|
||||
NcActions,
|
||||
NcActionButton,
|
||||
NcActionCheckbox,
|
||||
|
|
@ -290,6 +300,7 @@ export default {
|
|||
PlusIcon,
|
||||
SharingEntryQuickShareSelect,
|
||||
ShareExpiryTime,
|
||||
SidebarTabExternalActionLegacy,
|
||||
},
|
||||
|
||||
mixins: [SharesMixin, ShareDetails],
|
||||
|
|
@ -323,6 +334,7 @@ export default {
|
|||
|
||||
ExternalLegacyLinkActions: OCA.Sharing.ExternalLinkActions.state,
|
||||
ExternalShareActions: OCA.Sharing.ExternalShareActions.state,
|
||||
externalShareActions: getSidebarInlineActions(),
|
||||
|
||||
// tracks whether modal should be opened or not
|
||||
showQRCode: false,
|
||||
|
|
@ -568,13 +580,25 @@ export default {
|
|||
*
|
||||
* @return {Array}
|
||||
*/
|
||||
externalLinkActions() {
|
||||
externalLegacyShareActions() {
|
||||
const filterValidAction = (action) => (action.shareType.includes(ShareType.Link) || action.shareType.includes(ShareType.Email)) && !action.advanced
|
||||
// filter only the registered actions for said link
|
||||
console.error('external legacy', this.ExternalShareActions, this.ExternalShareActions.actions.filter(filterValidAction))
|
||||
return this.ExternalShareActions.actions
|
||||
.filter(filterValidAction)
|
||||
},
|
||||
|
||||
/**
|
||||
* Additional actions for the menu
|
||||
*
|
||||
* @return {import('@nextcloud/sharing/ui').ISidebarInlineAction[]}
|
||||
*/
|
||||
sortedExternalShareActions() {
|
||||
return this.externalShareActions
|
||||
.filter((action) => action.enabled(toRaw(this.share), toRaw(this.fileInfo.node)))
|
||||
.sort((a, b) => a.order - b.order)
|
||||
},
|
||||
|
||||
isPasswordPolicyEnabled() {
|
||||
return typeof this.config.passwordPolicy === 'object'
|
||||
},
|
||||
|
|
|
|||
|
|
@ -0,0 +1,71 @@
|
|||
<!--
|
||||
- SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
|
||||
- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
-->
|
||||
|
||||
<template>
|
||||
<component :is="action.element"
|
||||
:key="action.id"
|
||||
ref="actionElement"
|
||||
:share.prop="share"
|
||||
:node.prop="node"
|
||||
:on-save.prop="onSave" />
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import type { INode } from '@nextcloud/files'
|
||||
import type { IShare } from '@nextcloud/sharing'
|
||||
import type { ISidebarAction } from '@nextcloud/sharing/ui'
|
||||
import type { PropType } from 'vue'
|
||||
|
||||
import { ref, toRaw, watchEffect } from 'vue'
|
||||
|
||||
const props = defineProps({
|
||||
action: {
|
||||
type: Object as PropType<ISidebarAction>,
|
||||
required: true,
|
||||
},
|
||||
node: {
|
||||
type: Object as PropType<INode>,
|
||||
required: true,
|
||||
},
|
||||
share: {
|
||||
type: Object as PropType<IShare | undefined>,
|
||||
required: true,
|
||||
},
|
||||
})
|
||||
|
||||
defineExpose({ save })
|
||||
|
||||
const actionElement = ref()
|
||||
const savingCallback = ref()
|
||||
|
||||
watchEffect(() => {
|
||||
if (!actionElement.value) {
|
||||
return
|
||||
}
|
||||
|
||||
// This seems to be only needed in Vue 2 as the .prop modifier does not really work on the vue 2 version of web components
|
||||
// TODO: Remove with Vue 3
|
||||
actionElement.value.node = toRaw(props.node)
|
||||
actionElement.value.onSave = onSave
|
||||
actionElement.value.share = toRaw(props.share)
|
||||
})
|
||||
|
||||
/**
|
||||
* The share is reset thus save the state of the component.
|
||||
*/
|
||||
async function save() {
|
||||
await savingCallback.value?.()
|
||||
}
|
||||
|
||||
/**
|
||||
* Vue does not allow to call methods on wrapped web components
|
||||
* so we need to pass it per callback.
|
||||
*
|
||||
* @param callback - The callback to be called on save
|
||||
*/
|
||||
function onSave(callback: () => Promise<void>) {
|
||||
savingCallback.value = callback
|
||||
}
|
||||
</script>
|
||||
|
|
@ -4,18 +4,18 @@
|
|||
-->
|
||||
|
||||
<template>
|
||||
<Component :is="data.is"
|
||||
<component :is="data.is"
|
||||
v-bind="data"
|
||||
v-on="action.handlers">
|
||||
{{ data.text }}
|
||||
</Component>
|
||||
</component>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Share from '../models/Share.ts'
|
||||
import Share from '../../models/Share.ts'
|
||||
|
||||
export default {
|
||||
name: 'ExternalShareAction',
|
||||
name: 'SidebarTabExternalActionLegacy',
|
||||
|
||||
props: {
|
||||
id: {
|
||||
|
|
@ -0,0 +1,33 @@
|
|||
<!--
|
||||
- SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
|
||||
- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
-->
|
||||
|
||||
<template>
|
||||
<component :is="section.element" ref="sectionElement" :node.prop="node" />
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import type { INode } from '@nextcloud/files'
|
||||
import type { ISidebarSection } from '@nextcloud/sharing/ui'
|
||||
import type { PropType } from 'vue'
|
||||
|
||||
import { ref, watchEffect } from 'vue'
|
||||
|
||||
const props = defineProps({
|
||||
node: {
|
||||
type: Object as PropType<INode>,
|
||||
required: true,
|
||||
},
|
||||
section: {
|
||||
type: Object as PropType<ISidebarSection>,
|
||||
required: true,
|
||||
},
|
||||
})
|
||||
|
||||
// TOOD: Remove with Vue 3
|
||||
const sectionElement = ref()
|
||||
watchEffect(() => {
|
||||
sectionElement.value.node = props.node
|
||||
})
|
||||
</script>
|
||||
|
|
@ -0,0 +1,33 @@
|
|||
<!--
|
||||
- SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
|
||||
- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
-->
|
||||
|
||||
<template>
|
||||
<div class="sharing-tab-external-section-legacy">
|
||||
<component :is="component" :file-info="fileInfo" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { computed, type Component, type PropType } from 'vue'
|
||||
|
||||
const props = defineProps({
|
||||
fileInfo: {
|
||||
type: Object,
|
||||
required: true,
|
||||
},
|
||||
sectionCallback: {
|
||||
type: Function as PropType<(el: HTMLElement | undefined, fileInfo: unknown) => Component>,
|
||||
required: true,
|
||||
},
|
||||
})
|
||||
|
||||
const component = computed(() => props.sectionCallback(undefined, props.fileInfo))
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.sharing-tab-external-section-legacy {
|
||||
width: 100%;
|
||||
}
|
||||
</style>
|
||||
|
|
@ -3,6 +3,8 @@
|
|||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
|
||||
import logger from './logger.ts'
|
||||
|
||||
export default class ExternalLinkActions {
|
||||
|
||||
_state
|
||||
|
|
@ -13,7 +15,7 @@ export default class ExternalLinkActions {
|
|||
|
||||
// init default values
|
||||
this._state.actions = []
|
||||
console.debug('OCA.Sharing.ExternalLinkActions initialized')
|
||||
logger.debug('OCA.Sharing.ExternalLinkActions initialized')
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -35,13 +37,13 @@ export default class ExternalLinkActions {
|
|||
* @return {boolean}
|
||||
*/
|
||||
registerAction(action) {
|
||||
OC.debug && console.warn('OCA.Sharing.ExternalLinkActions is deprecated, use OCA.Sharing.ExternalShareAction instead')
|
||||
logger.warn('OCA.Sharing.ExternalLinkActions is deprecated, use `registerSidebarAction` from `@nextcloud/sharing` instead')
|
||||
|
||||
if (typeof action === 'object' && action.icon && action.name && action.url) {
|
||||
this._state.actions.push(action)
|
||||
return true
|
||||
}
|
||||
console.error('Invalid action provided', action)
|
||||
logger.error('Invalid action provided', action)
|
||||
return false
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -3,6 +3,8 @@
|
|||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
|
||||
import logger from './logger.ts'
|
||||
|
||||
export default class ExternalShareActions {
|
||||
|
||||
_state
|
||||
|
|
@ -13,7 +15,7 @@ export default class ExternalShareActions {
|
|||
|
||||
// init default values
|
||||
this._state.actions = []
|
||||
console.debug('OCA.Sharing.ExternalShareActions initialized')
|
||||
logger.debug('OCA.Sharing.ExternalShareActions initialized')
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -44,6 +46,8 @@ export default class ExternalShareActions {
|
|||
* @return {boolean}
|
||||
*/
|
||||
registerAction(action) {
|
||||
logger.warn('OCA.Sharing.ExternalShareActions is deprecated, use `registerSidebarAction` from `@nextcloud/sharing` instead')
|
||||
|
||||
// Validate action
|
||||
if (typeof action !== 'object'
|
||||
|| typeof action.id !== 'string'
|
||||
|
|
@ -51,14 +55,14 @@ export default class ExternalShareActions {
|
|||
|| !Array.isArray(action.shareType) // [\@nextcloud/sharing.Types.Link, ...]
|
||||
|| typeof action.handlers !== 'object' // {click: () => {}, ...}
|
||||
|| !Object.values(action.handlers).every(handler => typeof handler === 'function')) {
|
||||
console.error('Invalid action provided', action)
|
||||
logger.error('Invalid action provided', action)
|
||||
return false
|
||||
}
|
||||
|
||||
// Check duplicates
|
||||
const hasDuplicate = this._state.actions.findIndex(check => check.id === action.id) > -1
|
||||
if (hasDuplicate) {
|
||||
console.error(`An action with the same id ${action.id} already exists`, action)
|
||||
logger.error(`An action with the same id ${action.id} already exists`, action)
|
||||
return false
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -187,13 +187,21 @@
|
|||
:checked.sync="showInGridView">
|
||||
{{ t('files_sharing', 'Show files in grid view') }}
|
||||
</NcCheckboxRadioSwitch>
|
||||
<ExternalShareAction v-for="action in externalLinkActions"
|
||||
|
||||
<SidebarTabExternalAction v-for="action in sortedExternalShareActions"
|
||||
:key="action.id"
|
||||
ref="externalShareActions"
|
||||
:action="action"
|
||||
:node="fileInfo.node /* TODO: Fix once we have proper Node API */"
|
||||
:share="share" />
|
||||
<SidebarTabExternalActionLegacy v-for="action in externalLegacyShareActions"
|
||||
:id="action.id"
|
||||
ref="externalLinkActions"
|
||||
:key="action.id"
|
||||
:action="action"
|
||||
:file-info="fileInfo"
|
||||
:share="share" />
|
||||
|
||||
<NcCheckboxRadioSwitch :checked.sync="setCustomPermissions">
|
||||
{{ t('files_sharing', 'Custom permissions') }}
|
||||
</NcCheckboxRadioSwitch>
|
||||
|
|
@ -264,11 +272,13 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { showError } from '@nextcloud/dialogs'
|
||||
import { emit } from '@nextcloud/event-bus'
|
||||
import { getLanguage } from '@nextcloud/l10n'
|
||||
import { ShareType } from '@nextcloud/sharing'
|
||||
import { showError } from '@nextcloud/dialogs'
|
||||
import { getSidebarActions } from '@nextcloud/sharing/ui'
|
||||
import moment from '@nextcloud/moment'
|
||||
import { toRaw } from 'vue'
|
||||
|
||||
import NcAvatar from '@nextcloud/vue/components/NcAvatar'
|
||||
import NcButton from '@nextcloud/vue/components/NcButton'
|
||||
|
|
@ -293,8 +303,8 @@ import MenuDownIcon from 'vue-material-design-icons/MenuDown.vue'
|
|||
import MenuUpIcon from 'vue-material-design-icons/MenuUp.vue'
|
||||
import DotsHorizontalIcon from 'vue-material-design-icons/DotsHorizontal.vue'
|
||||
import Refresh from 'vue-material-design-icons/Refresh.vue'
|
||||
|
||||
import ExternalShareAction from '../components/ExternalShareAction.vue'
|
||||
import SidebarTabExternalAction from '../components/SidebarTabExternal/SidebarTabExternalAction.vue'
|
||||
import SidebarTabExternalActionLegacy from '../components/SidebarTabExternal/SidebarTabExternalActionLegacy.vue'
|
||||
|
||||
import GeneratePassword from '../utils/GeneratePassword.ts'
|
||||
import Share from '../models/Share.ts'
|
||||
|
|
@ -323,7 +333,6 @@ export default {
|
|||
CloseIcon,
|
||||
CircleIcon,
|
||||
EditIcon,
|
||||
ExternalShareAction,
|
||||
LinkIcon,
|
||||
GroupIcon,
|
||||
ShareIcon,
|
||||
|
|
@ -334,7 +343,10 @@ export default {
|
|||
MenuUpIcon,
|
||||
DotsHorizontalIcon,
|
||||
Refresh,
|
||||
SidebarTabExternalAction,
|
||||
SidebarTabExternalActionLegacy,
|
||||
},
|
||||
|
||||
mixins: [ShareRequests, SharesMixin],
|
||||
props: {
|
||||
shareRequestValue: {
|
||||
|
|
@ -365,6 +377,8 @@ export default {
|
|||
initialToken: this.share.token,
|
||||
loadingToken: false,
|
||||
|
||||
externalShareActions: getSidebarActions(),
|
||||
// legacy
|
||||
ExternalShareActions: OCA.Sharing.ExternalShareActions.state,
|
||||
}
|
||||
},
|
||||
|
|
@ -754,8 +768,20 @@ export default {
|
|||
*
|
||||
* @return {Array}
|
||||
*/
|
||||
externalLinkActions() {
|
||||
sortedExternalShareActions() {
|
||||
return this.externalShareActions
|
||||
.filter((action) => action.enabled(toRaw(this.share), toRaw(this.fileInfo.node)))
|
||||
.sort((a, b) => a.order - b.order)
|
||||
},
|
||||
|
||||
/**
|
||||
* Additional actions for the menu
|
||||
*
|
||||
* @return {Array}
|
||||
*/
|
||||
externalLegacyShareActions() {
|
||||
const filterValidAction = (action) => (action.shareType.includes(ShareType.Link) || action.shareType.includes(ShareType.Email)) && action.advanced
|
||||
console.error('legacy details tab', this.ExternalShareActions, this.ExternalShareActions.actions.filter(filterValidAction))
|
||||
// filter only the advanced registered actions for said link
|
||||
return this.ExternalShareActions.actions
|
||||
.filter(filterValidAction)
|
||||
|
|
@ -1038,6 +1064,12 @@ export default {
|
|||
await this.getNode()
|
||||
emit('files:node:updated', this.node)
|
||||
|
||||
if (this.$refs.externalShareActions?.length > 0) {
|
||||
/** @type {import('vue').ComponentPublicInstance<SidebarTabExternalAction>[]} */
|
||||
const actions = this.$refs.externalShareActions
|
||||
await Promise.allSettled(actions.map((action) => action.save()))
|
||||
}
|
||||
|
||||
if (this.$refs.externalLinkActions?.length > 0) {
|
||||
await Promise.allSettled(this.$refs.externalLinkActions.map((action) => {
|
||||
if (typeof action.$children.at(0)?.onSave !== 'function') {
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<template>
|
||||
<div class="sharingTab" :class="{ 'icon-loading': loading }">
|
||||
<!-- error message -->
|
||||
<div v-if="error" class="emptycontent" :class="{ emptyContentWithSections: sections.length > 0 }">
|
||||
<div v-if="error" class="emptycontent" :class="{ emptyContentWithSections: hasExternalSections }">
|
||||
<div class="icon icon-error" />
|
||||
<h2>{{ error }}</h2>
|
||||
</div>
|
||||
|
|
@ -108,7 +108,7 @@
|
|||
@open-sharing-details="toggleShareDetailsView" />
|
||||
</section>
|
||||
|
||||
<section v-if="sections.length > 0 && !showSharingDetailsView">
|
||||
<section v-if="hasExternalSections && !showSharingDetailsView">
|
||||
<div class="section-header">
|
||||
<h4>{{ t('files_sharing', 'Additional shares') }}</h4>
|
||||
<NcPopover popup-role="dialog">
|
||||
|
|
@ -127,11 +127,18 @@
|
|||
</NcPopover>
|
||||
</div>
|
||||
<!-- additional entries, use it with cautious -->
|
||||
<div v-for="(component, index) in sectionComponents"
|
||||
<SidebarTabExternalSection v-for="section in sortedExternalSections"
|
||||
:key="section.id"
|
||||
:section="section"
|
||||
:node="fileInfo.node /* TODO: Fix once we have proper Node API */"
|
||||
class="sharingTab__additionalContent" />
|
||||
|
||||
<!-- legacy sections: TODO: Remove as soon as possible -->
|
||||
<SidebarTabExternalSectionLegacy v-for="(section, index) in legacySections"
|
||||
:key="index"
|
||||
class="sharingTab__additionalContent">
|
||||
<component :is="component" :file-info="fileInfo" />
|
||||
</div>
|
||||
:file-info="fileInfo"
|
||||
:section-callback="section"
|
||||
class="sharingTab__additionalContent" />
|
||||
|
||||
<!-- projects (deprecated as of NC25 (replaced by related_resources) - see instance config "projects.enabled" ; ignore this / remove it / move into own section) -->
|
||||
<div v-if="projectsEnabled"
|
||||
|
|
@ -161,6 +168,7 @@ import { orderBy } from '@nextcloud/files'
|
|||
import { loadState } from '@nextcloud/initial-state'
|
||||
import { generateOcsUrl } from '@nextcloud/router'
|
||||
import { ShareType } from '@nextcloud/sharing'
|
||||
import { getSidebarSections } from '@nextcloud/sharing/ui'
|
||||
|
||||
import NcAvatar from '@nextcloud/vue/components/NcAvatar'
|
||||
import NcButton from '@nextcloud/vue/components/NcButton'
|
||||
|
|
@ -183,6 +191,8 @@ import SharingInherited from './SharingInherited.vue'
|
|||
import SharingLinkList from './SharingLinkList.vue'
|
||||
import SharingList from './SharingList.vue'
|
||||
import SharingDetailsTab from './SharingDetailsTab.vue'
|
||||
import SidebarTabExternalSection from '../components/SidebarTabExternal/SidebarTabExternalSection.vue'
|
||||
import SidebarTabExternalSectionLegacy from '../components/SidebarTabExternal/SidebarTabExternalSectionLegacy.vue'
|
||||
|
||||
import ShareDetails from '../mixins/ShareDetails.js'
|
||||
import logger from '../services/logger.ts'
|
||||
|
|
@ -205,6 +215,8 @@ export default {
|
|||
SharingLinkList,
|
||||
SharingList,
|
||||
SharingDetailsTab,
|
||||
SidebarTabExternalSection,
|
||||
SidebarTabExternalSectionLegacy,
|
||||
},
|
||||
mixins: [ShareDetails],
|
||||
|
||||
|
|
@ -225,7 +237,9 @@ export default {
|
|||
linkShares: [],
|
||||
externalShares: [],
|
||||
|
||||
sections: OCA.Sharing.ShareTabSections.getSections(),
|
||||
legacySections: OCA.Sharing.ShareTabSections.getSections(),
|
||||
sections: getSidebarSections(),
|
||||
|
||||
projectsEnabled: loadState('core', 'projects_enabled', false),
|
||||
showSharingDetailsView: false,
|
||||
shareDetailsData: {},
|
||||
|
|
@ -238,6 +252,21 @@ export default {
|
|||
},
|
||||
|
||||
computed: {
|
||||
/**
|
||||
* Are any sections registered by other apps.
|
||||
*
|
||||
* @return {boolean}
|
||||
*/
|
||||
hasExternalSections() {
|
||||
return this.sections.length > 0 || this.legacySections.length > 0
|
||||
},
|
||||
|
||||
sortedExternalSections() {
|
||||
return this.sections
|
||||
.filter((section) => section.enabled(this.fileInfo.node))
|
||||
.sort((a, b) => a.order - b.order)
|
||||
},
|
||||
|
||||
/**
|
||||
* Is this share shared with me?
|
||||
*
|
||||
|
|
@ -287,10 +316,6 @@ export default {
|
|||
// TRANSLATORS: Type as in with a keyboard
|
||||
: t('files_sharing', 'Type an email or federated cloud ID')
|
||||
},
|
||||
|
||||
sectionComponents() {
|
||||
return this.sections.map((section) => section(undefined, this.fileInfo))
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
/**
|
||||
|
|
@ -618,7 +643,7 @@ export default {
|
|||
}
|
||||
|
||||
&__additionalContent {
|
||||
margin: 44px 0;
|
||||
margin: var(--default-clickable-area) 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
4
dist/2236-2236.js
vendored
4
dist/2236-2236.js
vendored
File diff suppressed because one or more lines are too long
9
dist/2236-2236.js.license
vendored
9
dist/2236-2236.js.license
vendored
|
|
@ -87,18 +87,15 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/router
|
||||
- version: 3.0.1
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.2.5
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/vue-select
|
||||
- version: 3.25.1
|
||||
- license: MIT
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.2.5
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/vue
|
||||
- version: 8.29.2
|
||||
- license: AGPL-3.0-or-later
|
||||
|
|
|
|||
2
dist/2236-2236.js.map
vendored
2
dist/2236-2236.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/4290-4290.js
vendored
2
dist/4290-4290.js
vendored
File diff suppressed because one or more lines are too long
1
dist/4290-4290.js.map
vendored
1
dist/4290-4290.js.map
vendored
File diff suppressed because one or more lines are too long
1
dist/4290-4290.js.map.license
vendored
1
dist/4290-4290.js.map.license
vendored
|
|
@ -1 +0,0 @@
|
|||
4290-4290.js.license
|
||||
9
dist/4508-4508.js.license
vendored
9
dist/4508-4508.js.license
vendored
|
|
@ -87,18 +87,15 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/router
|
||||
- version: 3.0.1
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.2.5
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/vue-select
|
||||
- version: 3.25.1
|
||||
- license: MIT
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.2.5
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/vue
|
||||
- version: 8.29.2
|
||||
- license: AGPL-3.0-or-later
|
||||
|
|
|
|||
9
dist/5258-5258.js.license
vendored
9
dist/5258-5258.js.license
vendored
|
|
@ -91,18 +91,15 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/router
|
||||
- version: 3.0.1
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.2.5
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/vue-select
|
||||
- version: 3.25.1
|
||||
- license: MIT
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.2.5
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/vue
|
||||
- version: 8.29.2
|
||||
- license: AGPL-3.0-or-later
|
||||
|
|
|
|||
9
dist/5771-5771.js.license
vendored
9
dist/5771-5771.js.license
vendored
|
|
@ -49,6 +49,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/event-bus
|
||||
- version: 3.3.2
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/files
|
||||
- version: 3.12.0
|
||||
- license: AGPL-3.0-or-later
|
||||
|
|
@ -64,12 +67,6 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/router
|
||||
- version: 3.0.1
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.2.5
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/vue
|
||||
- version: 8.29.2
|
||||
- license: AGPL-3.0-or-later
|
||||
|
|
|
|||
4
dist/5810-5810.js
vendored
4
dist/5810-5810.js
vendored
File diff suppressed because one or more lines are too long
9
dist/5810-5810.js.license
vendored
9
dist/5810-5810.js.license
vendored
|
|
@ -39,6 +39,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/event-bus
|
||||
- version: 3.3.2
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/files
|
||||
- version: 3.12.0
|
||||
- license: AGPL-3.0-or-later
|
||||
|
|
@ -54,12 +57,6 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/router
|
||||
- version: 3.0.1
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.2.5
|
||||
- license: GPL-3.0-or-later
|
||||
- base64-js
|
||||
- version: 1.5.1
|
||||
- license: MIT
|
||||
|
|
|
|||
2
dist/5810-5810.js.map
vendored
2
dist/5810-5810.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/5819-5819.js
vendored
4
dist/5819-5819.js
vendored
File diff suppressed because one or more lines are too long
8
dist/5819-5819.js.license
vendored
8
dist/5819-5819.js.license
vendored
|
|
@ -61,6 +61,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/event-bus
|
||||
- version: 3.3.2
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/files
|
||||
- version: 3.12.0
|
||||
- license: AGPL-3.0-or-later
|
||||
|
|
@ -79,11 +82,8 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/router
|
||||
- version: 3.0.1
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.2.5
|
||||
- version: 0.3.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
|
|
|
|||
2
dist/5819-5819.js.map
vendored
2
dist/5819-5819.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/640-640.js
vendored
4
dist/640-640.js
vendored
|
|
@ -1,2 +1,2 @@
|
|||
"use strict";(self.webpackChunknextcloud=self.webpackChunknextcloud||[]).push([[640],{60640:(e,c,l)=>{l.d(c,{FilePickerVue:()=>n});const n=(0,l(85471).$V)(()=>Promise.all([l.e(4208),l.e(5810),l.e(8474)]).then(l.bind(l,88474)))}}]);
|
||||
//# sourceMappingURL=640-640.js.map?v=d3d98600d88fd55c7b27
|
||||
"use strict";(self.webpackChunknextcloud=self.webpackChunknextcloud||[]).push([[640],{60640:(e,c,l)=>{l.d(c,{FilePickerVue:()=>n});const n=(0,l(85471).$V)(()=>Promise.all([l.e(4208),l.e(5810),l.e(780)]).then(l.bind(l,780)))}}]);
|
||||
//# sourceMappingURL=640-640.js.map?v=d4c5c018803ee8751b2a
|
||||
2
dist/640-640.js.map
vendored
2
dist/640-640.js.map
vendored
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"640-640.js?v=d3d98600d88fd55c7b27","mappings":"mIACA,MAAMA,GAAgB,E,SAAA,IAAqB,IAAM,mE","sources":["webpack:///nextcloud/node_modules/@nextcloud/dialogs/dist/chunks/index-BC-7VPxC.mjs"],"sourcesContent":["import { defineAsyncComponent } from \"vue\";\nconst FilePickerVue = defineAsyncComponent(() => import(\"./FilePicker-CsU6FfAP.mjs\"));\nexport {\n FilePickerVue\n};\n//# sourceMappingURL=index-BC-7VPxC.mjs.map\n"],"names":["FilePickerVue"],"sourceRoot":""}
|
||||
{"version":3,"file":"640-640.js?v=d4c5c018803ee8751b2a","mappings":"mIACA,MAAMA,GAAgB,E,SAAA,IAAqB,IAAM,gE","sources":["webpack:///nextcloud/node_modules/@nextcloud/dialogs/dist/chunks/index-BC-7VPxC.mjs"],"sourcesContent":["import { defineAsyncComponent } from \"vue\";\nconst FilePickerVue = defineAsyncComponent(() => import(\"./FilePicker-CsU6FfAP.mjs\"));\nexport {\n FilePickerVue\n};\n//# sourceMappingURL=index-BC-7VPxC.mjs.map\n"],"names":["FilePickerVue"],"sourceRoot":""}
|
||||
3
dist/6590-6590.js.license
vendored
3
dist/6590-6590.js.license
vendored
|
|
@ -58,6 +58,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/event-bus
|
||||
- version: 3.3.2
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/files
|
||||
- version: 3.12.0
|
||||
- license: AGPL-3.0-or-later
|
||||
|
|
|
|||
4
dist/6916-6916.js
vendored
4
dist/6916-6916.js
vendored
File diff suppressed because one or more lines are too long
11
dist/6916-6916.js.license
vendored
11
dist/6916-6916.js.license
vendored
|
|
@ -53,9 +53,15 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/event-bus
|
||||
- version: 3.3.2
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/files
|
||||
- version: 3.12.0
|
||||
- license: AGPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 3.0.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/l10n
|
||||
- version: 3.4.0
|
||||
- license: GPL-3.0-or-later
|
||||
|
|
@ -68,11 +74,8 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/router
|
||||
- version: 3.0.1
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.2.5
|
||||
- version: 0.3.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/vue
|
||||
- version: 8.29.2
|
||||
|
|
|
|||
2
dist/6916-6916.js.map
vendored
2
dist/6916-6916.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/7383-7383.js
vendored
4
dist/7383-7383.js
vendored
File diff suppressed because one or more lines are too long
3
dist/7383-7383.js.license
vendored
3
dist/7383-7383.js.license
vendored
|
|
@ -58,6 +58,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/event-bus
|
||||
- version: 3.3.2
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/files
|
||||
- version: 3.12.0
|
||||
- license: AGPL-3.0-or-later
|
||||
|
|
|
|||
2
dist/7383-7383.js.map
vendored
2
dist/7383-7383.js.map
vendored
File diff suppressed because one or more lines are too long
9
dist/7457-7457.js.license
vendored
9
dist/7457-7457.js.license
vendored
|
|
@ -52,6 +52,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/event-bus
|
||||
- version: 3.3.2
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/files
|
||||
- version: 3.12.0
|
||||
- license: AGPL-3.0-or-later
|
||||
|
|
@ -70,12 +73,6 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/router
|
||||
- version: 3.0.1
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.2.5
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/vue
|
||||
- version: 8.29.2
|
||||
- license: AGPL-3.0-or-later
|
||||
|
|
|
|||
2
dist/780-780.js
vendored
Normal file
2
dist/780-780.js
vendored
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -76,6 +76,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/event-bus
|
||||
- version: 3.3.2
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/files
|
||||
- version: 3.12.0
|
||||
- license: AGPL-3.0-or-later
|
||||
|
|
@ -91,12 +94,6 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/router
|
||||
- version: 3.0.1
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.2.5
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/vue-select
|
||||
- version: 3.25.1
|
||||
- license: MIT
|
||||
1
dist/780-780.js.map
vendored
Normal file
1
dist/780-780.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/780-780.js.map.license
vendored
Symbolic link
1
dist/780-780.js.map.license
vendored
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
780-780.js.license
|
||||
2
dist/8474-8474.js
vendored
2
dist/8474-8474.js
vendored
File diff suppressed because one or more lines are too long
1
dist/8474-8474.js.map
vendored
1
dist/8474-8474.js.map
vendored
File diff suppressed because one or more lines are too long
1
dist/8474-8474.js.map.license
vendored
1
dist/8474-8474.js.map.license
vendored
|
|
@ -1 +0,0 @@
|
|||
8474-8474.js.license
|
||||
3
dist/9107-9107.js.license
vendored
3
dist/9107-9107.js.license
vendored
|
|
@ -58,6 +58,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/event-bus
|
||||
- version: 3.3.2
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/files
|
||||
- version: 3.12.0
|
||||
- license: AGPL-3.0-or-later
|
||||
|
|
|
|||
2
dist/9200-9200.js
vendored
Normal file
2
dist/9200-9200.js
vendored
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -6,6 +6,7 @@ SPDX-License-Identifier: Apache-2.0
|
|||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
SPDX-License-Identifier: (MPL-2.0 OR Apache-2.0)
|
||||
SPDX-FileCopyrightText: string_decoder developers
|
||||
SPDX-FileCopyrightText: readable-stream developers
|
||||
SPDX-FileCopyrightText: p-queue developers
|
||||
SPDX-FileCopyrightText: inherits developers
|
||||
SPDX-FileCopyrightText: escape-html developers
|
||||
|
|
@ -15,19 +16,24 @@ SPDX-FileCopyrightText: Varun A P
|
|||
SPDX-FileCopyrightText: Tobias Koppers @sokra
|
||||
SPDX-FileCopyrightText: Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)
|
||||
SPDX-FileCopyrightText: T. Jameson Little <t.jameson.little@gmail.com>
|
||||
SPDX-FileCopyrightText: Sindre Sorhus
|
||||
SPDX-FileCopyrightText: Roman Shtylman <shtylman@gmail.com>
|
||||
SPDX-FileCopyrightText: Roeland Jago Douma
|
||||
SPDX-FileCopyrightText: Rob Cresswell <robcresswell@pm.me>
|
||||
SPDX-FileCopyrightText: Paul Vorbach <paul@vorba.ch> (http://paul.vorba.ch)
|
||||
SPDX-FileCopyrightText: Paul Vorbach <paul@vorb.de> (http://vorb.de)
|
||||
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
|
||||
SPDX-FileCopyrightText: Nathan Rajlich <nathan@tootallnate.net> (http://n8.io/)
|
||||
SPDX-FileCopyrightText: Matt Zabriskie
|
||||
SPDX-FileCopyrightText: Joyent
|
||||
SPDX-FileCopyrightText: Jonas Schade <derzade@gmail.com>
|
||||
SPDX-FileCopyrightText: Jerry Bendy <jerry@icewingcc.com>
|
||||
SPDX-FileCopyrightText: Jeff Sagal <sagalbot@gmail.com>
|
||||
SPDX-FileCopyrightText: James Halliday
|
||||
SPDX-FileCopyrightText: Jacob Clevenger<https://github.com/wheatjs>
|
||||
SPDX-FileCopyrightText: Iskren Ivov Chernev <iskren.chernev@gmail.com> (https://github.com/ichernev)
|
||||
SPDX-FileCopyrightText: Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)
|
||||
SPDX-FileCopyrightText: Irakli Gozalishvili <rfobic@gmail.com> (http://jeditoolkit.com)
|
||||
SPDX-FileCopyrightText: Guillaume Chau <guillaume.b.chau@gmail.com>
|
||||
SPDX-FileCopyrightText: GitHub Inc.
|
||||
SPDX-FileCopyrightText: Feross Aboukhadijeh
|
||||
|
|
@ -38,6 +44,7 @@ SPDX-FileCopyrightText: Dr.-Ing. Mario Heiderich, Cure53 <mario@cure53.de> (http
|
|||
SPDX-FileCopyrightText: David Clark
|
||||
SPDX-FileCopyrightText: Christoph Wurst
|
||||
SPDX-FileCopyrightText: Chen Fengyuan
|
||||
SPDX-FileCopyrightText: Borewit
|
||||
SPDX-FileCopyrightText: Austin Andrews
|
||||
SPDX-FileCopyrightText: Arnout Kazemier
|
||||
SPDX-FileCopyrightText: Anthony Fu <https://github.com/antfu>
|
||||
|
|
@ -49,6 +56,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- @chenfengyuan/vue-qrcode
|
||||
- version: 1.0.2
|
||||
- license: MIT
|
||||
- @file-type/xml
|
||||
- version: 0.4.3
|
||||
- license: MIT
|
||||
- @floating-ui/core
|
||||
- version: 1.7.3
|
||||
- license: MIT
|
||||
|
|
@ -82,6 +92,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/event-bus
|
||||
- version: 3.3.2
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/files
|
||||
- version: 3.12.0
|
||||
- license: AGPL-3.0-or-later
|
||||
|
|
@ -103,11 +116,8 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/router
|
||||
- version: 3.0.1
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.2.5
|
||||
- version: 0.3.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/vue-select
|
||||
- version: 3.25.1
|
||||
|
|
@ -157,6 +167,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- escape-html
|
||||
- version: 1.0.3
|
||||
- license: MIT
|
||||
- events
|
||||
- version: 3.3.0
|
||||
- license: MIT
|
||||
- floating-vue
|
||||
- version: 1.0.0-beta.19
|
||||
- license: MIT
|
||||
|
|
@ -166,9 +179,15 @@ This file is generated from multiple sources. Included packages:
|
|||
- ieee754
|
||||
- version: 1.2.1
|
||||
- license: BSD-3-Clause
|
||||
- inherits
|
||||
- version: 2.0.4
|
||||
- license: ISC
|
||||
- is-buffer
|
||||
- version: 1.1.6
|
||||
- license: MIT
|
||||
- is-svg
|
||||
- version: 6.1.0
|
||||
- license: MIT
|
||||
- md5
|
||||
- version: 2.3.0
|
||||
- license: BSD-3-Clause
|
||||
|
|
@ -199,6 +218,15 @@ This file is generated from multiple sources. Included packages:
|
|||
- safe-buffer
|
||||
- version: 5.2.1
|
||||
- license: MIT
|
||||
- sax
|
||||
- version: 1.4.1
|
||||
- license: ISC
|
||||
- readable-stream
|
||||
- version: 3.6.2
|
||||
- license: MIT
|
||||
- stream-browserify
|
||||
- version: 3.0.0
|
||||
- license: MIT
|
||||
- string_decoder
|
||||
- version: 1.3.0
|
||||
- license: MIT
|
||||
|
|
@ -232,6 +260,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- url-search-params-polyfill
|
||||
- version: 8.2.5
|
||||
- license: MIT
|
||||
- util-deprecate
|
||||
- version: 1.0.2
|
||||
- license: MIT
|
||||
- vue-loader
|
||||
- version: 15.11.1
|
||||
- license: MIT
|
||||
1
dist/9200-9200.js.map
vendored
Normal file
1
dist/9200-9200.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/9200-9200.js.map.license
vendored
Symbolic link
1
dist/9200-9200.js.map.license
vendored
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
9200-9200.js.license
|
||||
4
dist/comments-comments-app.js
vendored
4
dist/comments-comments-app.js
vendored
File diff suppressed because one or more lines are too long
2
dist/comments-comments-app.js.map
vendored
2
dist/comments-comments-app.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/comments-comments-tab.js
vendored
4
dist/comments-comments-tab.js
vendored
File diff suppressed because one or more lines are too long
2
dist/comments-comments-tab.js.map
vendored
2
dist/comments-comments-tab.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/comments-init.js
vendored
4
dist/comments-init.js
vendored
File diff suppressed because one or more lines are too long
9
dist/comments-init.js.license
vendored
9
dist/comments-init.js.license
vendored
|
|
@ -40,6 +40,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/event-bus
|
||||
- version: 3.3.2
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/files
|
||||
- version: 3.12.0
|
||||
- license: AGPL-3.0-or-later
|
||||
|
|
@ -55,12 +58,6 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/router
|
||||
- version: 3.0.1
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.2.5
|
||||
- license: GPL-3.0-or-later
|
||||
- base64-js
|
||||
- version: 1.5.1
|
||||
- license: MIT
|
||||
|
|
|
|||
2
dist/comments-init.js.map
vendored
2
dist/comments-init.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/core-common.js
vendored
4
dist/core-common.js
vendored
File diff suppressed because one or more lines are too long
9
dist/core-common.js.license
vendored
9
dist/core-common.js.license
vendored
|
|
@ -143,6 +143,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/event-bus
|
||||
- version: 3.3.2
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/files
|
||||
- version: 3.12.0
|
||||
- license: AGPL-3.0-or-later
|
||||
|
|
@ -167,6 +170,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/router
|
||||
- version: 3.0.1
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.3.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
|
|
@ -182,6 +188,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.2.5
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/vue
|
||||
- version: 8.29.2
|
||||
- license: AGPL-3.0-or-later
|
||||
|
|
|
|||
2
dist/core-common.js.map
vendored
2
dist/core-common.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/core-legacy-unified-search.js
vendored
4
dist/core-legacy-unified-search.js
vendored
File diff suppressed because one or more lines are too long
2
dist/core-legacy-unified-search.js.map
vendored
2
dist/core-legacy-unified-search.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/core-login.js
vendored
4
dist/core-login.js
vendored
File diff suppressed because one or more lines are too long
9
dist/core-login.js.license
vendored
9
dist/core-login.js.license
vendored
|
|
@ -68,6 +68,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/event-bus
|
||||
- version: 3.3.2
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/files
|
||||
- version: 3.12.0
|
||||
- license: AGPL-3.0-or-later
|
||||
|
|
@ -92,12 +95,6 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.2.5
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/vue
|
||||
- version: 8.29.2
|
||||
- license: AGPL-3.0-or-later
|
||||
|
|
|
|||
2
dist/core-login.js.map
vendored
2
dist/core-login.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/core-main.js
vendored
4
dist/core-main.js
vendored
File diff suppressed because one or more lines are too long
9
dist/core-main.js.license
vendored
9
dist/core-main.js.license
vendored
|
|
@ -103,6 +103,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/event-bus
|
||||
- version: 3.3.2
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/files
|
||||
- version: 3.12.0
|
||||
- license: AGPL-3.0-or-later
|
||||
|
|
@ -127,12 +130,6 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.2.5
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/vue
|
||||
- version: 8.29.2
|
||||
- license: AGPL-3.0-or-later
|
||||
|
|
|
|||
2
dist/core-main.js.map
vendored
2
dist/core-main.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/core-public-page-menu.js
vendored
4
dist/core-public-page-menu.js
vendored
File diff suppressed because one or more lines are too long
6
dist/core-public-page-menu.js.license
vendored
6
dist/core-public-page-menu.js.license
vendored
|
|
@ -68,12 +68,6 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.2.5
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/vue
|
||||
- version: 8.29.2
|
||||
- license: AGPL-3.0-or-later
|
||||
|
|
|
|||
2
dist/core-public-page-menu.js.map
vendored
2
dist/core-public-page-menu.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/core-public-page-user-menu.js
vendored
4
dist/core-public-page-user-menu.js
vendored
File diff suppressed because one or more lines are too long
2
dist/core-public-page-user-menu.js.map
vendored
2
dist/core-public-page-user-menu.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/dav-settings-example-content.js
vendored
4
dist/dav-settings-example-content.js
vendored
File diff suppressed because one or more lines are too long
9
dist/dav-settings-example-content.js.license
vendored
9
dist/dav-settings-example-content.js.license
vendored
|
|
@ -120,18 +120,15 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/router
|
||||
- version: 3.0.1
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.2.5
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/vue-select
|
||||
- version: 3.25.1
|
||||
- license: MIT
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.2.5
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/vue
|
||||
- version: 8.29.2
|
||||
- license: AGPL-3.0-or-later
|
||||
|
|
|
|||
2
dist/dav-settings-example-content.js.map
vendored
2
dist/dav-settings-example-content.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/dav-settings-personal-availability.js
vendored
4
dist/dav-settings-personal-availability.js
vendored
File diff suppressed because one or more lines are too long
|
|
@ -110,7 +110,7 @@ This file is generated from multiple sources. Included packages:
|
|||
- version: 3.0.1
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.2.5
|
||||
- version: 0.3.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/vue-select
|
||||
- version: 3.25.1
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
4
dist/federatedfilesharing-external.js
vendored
4
dist/federatedfilesharing-external.js
vendored
File diff suppressed because one or more lines are too long
2
dist/federatedfilesharing-external.js.map
vendored
2
dist/federatedfilesharing-external.js.map
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
4
dist/files-init.js
vendored
4
dist/files-init.js
vendored
File diff suppressed because one or more lines are too long
6
dist/files-init.js.license
vendored
6
dist/files-init.js.license
vendored
|
|
@ -74,6 +74,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/event-bus
|
||||
- version: 3.3.2
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/files
|
||||
- version: 3.12.0
|
||||
- license: AGPL-3.0-or-later
|
||||
|
|
@ -92,6 +95,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/router
|
||||
- version: 3.0.1
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.3.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
|
|
|
|||
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
6
dist/files-main.js.license
vendored
6
dist/files-main.js.license
vendored
|
|
@ -82,6 +82,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/event-bus
|
||||
- version: 3.3.2
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/files
|
||||
- version: 3.12.0
|
||||
- license: AGPL-3.0-or-later
|
||||
|
|
@ -100,6 +103,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/router
|
||||
- version: 3.0.1
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.3.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
|
|
|
|||
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
12
dist/files-reference-files.js.license
vendored
12
dist/files-reference-files.js.license
vendored
|
|
@ -89,6 +89,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/event-bus
|
||||
- version: 3.3.2
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/files
|
||||
- version: 3.12.0
|
||||
- license: AGPL-3.0-or-later
|
||||
|
|
@ -104,18 +107,15 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/router
|
||||
- version: 3.0.1
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.2.5
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/vue-select
|
||||
- version: 3.25.1
|
||||
- license: MIT
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.2.5
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/vue
|
||||
- version: 8.29.2
|
||||
- license: AGPL-3.0-or-later
|
||||
|
|
|
|||
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,i={97986:(e,r,t)=>{var i=t(61338),a=t(85168),o=t(63814),n=t(53334);const l=(0,t(35947).YK)().setApp("files").detectUser().build();document.addEventListener("DOMContentLoaded",function(){const e=window.OCA;e.UnifiedSearch&&(l.info("Initializing unified search plugin: folder search from files app"),e.UnifiedSearch.registerFilterAction({id:"in-folder",appId:"files",searchFrom:"files",label:(0,n.Tl)("files","In folder"),icon:(0,o.d0)("files","app.svg"),callback:function(){arguments.length>0&&void 0!==arguments[0]&&!arguments[0]?l.debug("Folder search callback was handled without showing the file picker, it might already be open"):(0,a.a1)("Pick plain text files").addMimeTypeFilter("httpd/unix-directory").allowDirectories(!0).addButton({label:"Pick",callback:e=>{l.info("Folder picked",{folder:e[0]});const r=e[0],t=r.root==="/files/"+r.basename?(0,n.Tl)("files","Search in all files"):(0,n.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()}}))})}},a={};function o(e){var r=a[e];if(void 0!==r)return r.exports;var t=a[e]={id:e,loaded:!1,exports:{}};return i[e].call(t.exports,t,t.exports,o),t.loaded=!0,t.exports}o.m=i,e=[],o.O=(r,t,i,a)=>{if(!t){var n=1/0;for(s=0;s<e.length;s++){t=e[s][0],i=e[s][1],a=e[s][2];for(var l=!0,d=0;d<t.length;d++)(!1&a||n>=a)&&Object.keys(o.O).every(e=>o.O[e](t[d]))?t.splice(d--,1):(l=!1,a<n&&(n=a));if(l){e.splice(s--,1);var c=i();void 0!==c&&(r=c)}}return r}a=a||0;for(var s=e.length;s>0&&e[s-1][2]>a;s--)e[s]=e[s-1];e[s]=[t,i,a]},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="+{640:"d3d98600d88fd55c7b27",5771:"d141d1ad8187d99738b9",5810:"fc51f8aa95a9854d22fd",7471:"6423b9b898ffefeb7d1d",8474:"d060bb2e97b1499bd6b0"}[e],o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),r={},t="nextcloud:",o.l=(e,i,a,n)=>{if(r[e])r[e].push(i);else{var l,d;if(void 0!==a)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+a){l=f;break}}l||(d=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,o.nc&&l.setAttribute("nonce",o.nc),l.setAttribute("data-webpack",t+a),l.src=e),r[e]=[i];var u=(t,i)=>{l.onerror=l.onload=null,clearTimeout(p);var a=r[e];if(delete r[e],l.parentNode&&l.parentNode.removeChild(l),a&&a.forEach(e=>e(i)),t)return t(i)},p=setTimeout(u.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=u.bind(null,l.onerror),l.onload=u.bind(null,l.onload),d&&document.head.appendChild(l)}},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;o.g.importScripts&&(e=o.g.location+"");var r=o.g.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 i=t.length-1;i>-1&&(!e||!/^http(s?):/.test(e));)e=t[i--].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=document.baseURI||self.location.href;var e={2277:0};o.f.j=(r,t)=>{var i=o.o(e,r)?e[r]:void 0;if(0!==i)if(i)t.push(i[2]);else{var a=new Promise((t,a)=>i=e[r]=[t,a]);t.push(i[2]=a);var n=o.p+o.u(r),l=new Error;o.l(n,t=>{if(o.o(e,r)&&(0!==(i=e[r])&&(e[r]=void 0),i)){var a=t&&("load"===t.type?"missing":t.type),n=t&&t.target&&t.target.src;l.message="Loading chunk "+r+" failed.\n("+a+": "+n+")",l.name="ChunkLoadError",l.type=a,l.request=n,i[1](l)}},"chunk-"+r,r)}},o.O.j=r=>0===e[r];var r=(r,t)=>{var i,a,n=t[0],l=t[1],d=t[2],c=0;if(n.some(r=>0!==e[r])){for(i in l)o.o(l,i)&&(o.m[i]=l[i]);if(d)var s=d(o)}for(r&&r(t);c<n.length;c++)a=n[c],o.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return o.O(s)},t=self.webpackChunknextcloud=self.webpackChunknextcloud||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),o.nc=void 0;var n=o.O(void 0,[4208],()=>o(97986));n=o.O(n)})();
|
||||
//# sourceMappingURL=files-search.js.map?v=9196d720220fe120311e
|
||||
(()=>{"use strict";var e,r,t,i={97986:(e,r,t)=>{var i=t(61338),a=t(85168),o=t(63814),n=t(53334);const l=(0,t(35947).YK)().setApp("files").detectUser().build();document.addEventListener("DOMContentLoaded",function(){const e=window.OCA;e.UnifiedSearch&&(l.info("Initializing unified search plugin: folder search from files app"),e.UnifiedSearch.registerFilterAction({id:"in-folder",appId:"files",searchFrom:"files",label:(0,n.Tl)("files","In folder"),icon:(0,o.d0)("files","app.svg"),callback:function(){arguments.length>0&&void 0!==arguments[0]&&!arguments[0]?l.debug("Folder search callback was handled without showing the file picker, it might already be open"):(0,a.a1)("Pick plain text files").addMimeTypeFilter("httpd/unix-directory").allowDirectories(!0).addButton({label:"Pick",callback:e=>{l.info("Folder picked",{folder:e[0]});const r=e[0],t=r.root==="/files/"+r.basename?(0,n.Tl)("files","Search in all files"):(0,n.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()}}))})}},a={};function o(e){var r=a[e];if(void 0!==r)return r.exports;var t=a[e]={id:e,loaded:!1,exports:{}};return i[e].call(t.exports,t,t.exports,o),t.loaded=!0,t.exports}o.m=i,e=[],o.O=(r,t,i,a)=>{if(!t){var n=1/0;for(s=0;s<e.length;s++){t=e[s][0],i=e[s][1],a=e[s][2];for(var l=!0,d=0;d<t.length;d++)(!1&a||n>=a)&&Object.keys(o.O).every(e=>o.O[e](t[d]))?t.splice(d--,1):(l=!1,a<n&&(n=a));if(l){e.splice(s--,1);var c=i();void 0!==c&&(r=c)}}return r}a=a||0;for(var s=e.length;s>0&&e[s-1][2]>a;s--)e[s]=e[s-1];e[s]=[t,i,a]},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="+{640:"d4c5c018803ee8751b2a",780:"afe98cf1080974f27c21",5771:"d141d1ad8187d99738b9",5810:"b550a24d46f75f92c2d5",7471:"6423b9b898ffefeb7d1d"}[e],o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),r={},t="nextcloud:",o.l=(e,i,a,n)=>{if(r[e])r[e].push(i);else{var l,d;if(void 0!==a)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+a){l=f;break}}l||(d=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,o.nc&&l.setAttribute("nonce",o.nc),l.setAttribute("data-webpack",t+a),l.src=e),r[e]=[i];var u=(t,i)=>{l.onerror=l.onload=null,clearTimeout(p);var a=r[e];if(delete r[e],l.parentNode&&l.parentNode.removeChild(l),a&&a.forEach(e=>e(i)),t)return t(i)},p=setTimeout(u.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=u.bind(null,l.onerror),l.onload=u.bind(null,l.onload),d&&document.head.appendChild(l)}},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;o.g.importScripts&&(e=o.g.location+"");var r=o.g.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 i=t.length-1;i>-1&&(!e||!/^http(s?):/.test(e));)e=t[i--].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=document.baseURI||self.location.href;var e={2277:0};o.f.j=(r,t)=>{var i=o.o(e,r)?e[r]:void 0;if(0!==i)if(i)t.push(i[2]);else{var a=new Promise((t,a)=>i=e[r]=[t,a]);t.push(i[2]=a);var n=o.p+o.u(r),l=new Error;o.l(n,t=>{if(o.o(e,r)&&(0!==(i=e[r])&&(e[r]=void 0),i)){var a=t&&("load"===t.type?"missing":t.type),n=t&&t.target&&t.target.src;l.message="Loading chunk "+r+" failed.\n("+a+": "+n+")",l.name="ChunkLoadError",l.type=a,l.request=n,i[1](l)}},"chunk-"+r,r)}},o.O.j=r=>0===e[r];var r=(r,t)=>{var i,a,n=t[0],l=t[1],d=t[2],c=0;if(n.some(r=>0!==e[r])){for(i in l)o.o(l,i)&&(o.m[i]=l[i]);if(d)var s=d(o)}for(r&&r(t);c<n.length;c++)a=n[c],o.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return o.O(s)},t=self.webpackChunknextcloud=self.webpackChunknextcloud||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),o.nc=void 0;var n=o.O(void 0,[4208],()=>o(97986));n=o.O(n)})();
|
||||
//# sourceMappingURL=files-search.js.map?v=f860a18ceb791acb199a
|
||||
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
8
dist/files-sidebar.js.license
vendored
8
dist/files-sidebar.js.license
vendored
|
|
@ -101,6 +101,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/event-bus
|
||||
- version: 3.3.2
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/files
|
||||
- version: 3.12.0
|
||||
- license: AGPL-3.0-or-later
|
||||
|
|
@ -122,11 +125,8 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/router
|
||||
- version: 3.0.1
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/initial-state
|
||||
- version: 2.2.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/sharing
|
||||
- version: 0.2.5
|
||||
- version: 0.3.0
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/vue-select
|
||||
- version: 3.25.1
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue