photos/js/photos-node_modules_vue-mat...

1 line
57 KiB
Plaintext

{"version":3,"file":"photos-node_modules_vue-material-design-icons_AccountMultiplePlus_vue-node_modules_vue-material-desi-664d11.js?v=850297fa412d93d3def8","mappings":";;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC/EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;ACrXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAkBA;AACA;;;;;;;;;;;;;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAkBA;AACA;;;;;;;;;;;;;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAkBA;AACA;;;;;;;;;;;;;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAkBA;AACA;;;;;;;;;;;;;;;;;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAkBA;AACA;;;;;;;;;;;;;;;ACvCA;;;;;;;;;;;;;;;ACAA;;;;;;;;;;;;;;;;;;;;;;;;;;;AEAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AEAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AEAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AIAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;ACrDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;ACrDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;AC/CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;AC9CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","sources":["webpack:///photos/src/components/Actions/ActionFavorite.vue?vue&type=script&lang=js&","webpack:///photos/src/views/AlbumContent.vue?vue&type=script&lang=js&","webpack:///photos/src/views/AlbumContent.vue?vue&type=style&index=0&id=36505f44&lang=scss&scoped=true&","webpack://photos/./src/views/AlbumContent.vue?ca7c","webpack:///photos/node_modules/vue-material-design-icons/AccountMultiplePlus.vue","webpack:///photos/node_modules/vue-material-design-icons/AccountMultiplePlus.vue?vue&type=script&lang=js&","webpack:///photos/node_modules/vue-material-design-icons/Magnify.vue","webpack:///photos/node_modules/vue-material-design-icons/Magnify.vue?vue&type=script&lang=js&","webpack:///photos/node_modules/vue-material-design-icons/Send.vue","webpack:///photos/node_modules/vue-material-design-icons/Send.vue?vue&type=script&lang=js&","webpack:///photos/src/components/Actions/ActionFavorite.vue","webpack:///photos/src/views/AlbumContent.vue","webpack://photos/./src/components/Actions/ActionFavorite.vue?d6b8","webpack://photos/./src/views/AlbumContent.vue?fe3a","webpack://photos/./src/views/AlbumContent.vue?17f8","webpack://photos/./node_modules/vue-material-design-icons/AccountMultiplePlus.vue?c084","webpack:///photos/node_modules/vue-material-design-icons/AccountMultiplePlus.vue?vue&type=template&id=46cc78ca&","webpack://photos/./node_modules/vue-material-design-icons/Magnify.vue?26f5","webpack:///photos/node_modules/vue-material-design-icons/Magnify.vue?vue&type=template&id=1d382cb6&","webpack://photos/./node_modules/vue-material-design-icons/Send.vue?0716","webpack:///photos/node_modules/vue-material-design-icons/Send.vue?vue&type=template&id=5d635c98&","webpack:///photos/src/components/Actions/ActionFavorite.vue?vue&type=template&id=607ef4d8&","webpack:///photos/src/views/AlbumContent.vue?vue&type=template&id=36505f44&scoped=true&","webpack://photos/./node_modules/vue-material-design-icons/AccountMultiplePlus.vue?482d","webpack://photos/./node_modules/vue-material-design-icons/Magnify.vue?e8ba","webpack://photos/./node_modules/vue-material-design-icons/Send.vue?6021","webpack://photos/./src/components/Actions/ActionFavorite.vue?7016","webpack://photos/./src/views/AlbumContent.vue?7861"],"sourcesContent":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nimport { mapActions, mapGetters } from 'vuex';\nimport Star from 'vue-material-design-icons/Star';\nimport { NcActionButton } from '@nextcloud/vue';\nexport default {\n name: 'ActionFavorite',\n components: {\n Star,\n NcActionButton\n },\n props: {\n selectedFileIds: {\n type: Array,\n required: true\n }\n },\n computed: { ...mapGetters(['files']),\n\n /** @return {boolean} */\n shouldFavoriteSelection() {\n // Favorite all selection if at least one file is not in the favorites.\n return this.selectedFileIds.some(fileId => this.files[fileId].favorite === 0);\n }\n\n },\n methods: { ...mapActions(['toggleFavoriteForFiles']),\n\n async favoriteSelection() {\n await this.toggleFavoriteForFiles({\n fileIds: this.selectedFileIds,\n favoriteState: 1\n });\n },\n\n async unFavoriteSelection() {\n await this.toggleFavoriteForFiles({\n fileIds: this.selectedFileIds,\n favoriteState: 0\n });\n }\n\n }\n};","//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nimport { mapActions, mapGetters } from 'vuex';\nimport MapMarker from 'vue-material-design-icons/MapMarker';\nimport ShareVariant from 'vue-material-design-icons/ShareVariant';\nimport Plus from 'vue-material-design-icons/Plus';\nimport Pencil from 'vue-material-design-icons/Pencil';\nimport Delete from 'vue-material-design-icons/Delete';\nimport ImagePlus from 'vue-material-design-icons/ImagePlus';\nimport Close from 'vue-material-design-icons/Close';\nimport Download from 'vue-material-design-icons/Download';\nimport DownloadMultiple from 'vue-material-design-icons/DownloadMultiple';\nimport { NcActions, NcActionButton, NcButton, NcModal, NcEmptyContent, NcActionSeparator, NcLoadingIcon, isMobile } from '@nextcloud/vue';\nimport { getCurrentUser } from '@nextcloud/auth';\nimport { generateRemoteUrl } from '@nextcloud/router';\nimport FetchAlbumsMixin from '../mixins/FetchAlbumsMixin.js';\nimport FetchFilesMixin from '../mixins/FetchFilesMixin.js';\nimport AbortControllerMixin from '../mixins/AbortControllerMixin.js';\nimport HeaderNavigation from '../components/HeaderNavigation.vue';\nimport FilesPicker from '../components/FilesPicker.vue';\nimport CollectionContent from '../components/Collection/CollectionContent.vue';\nimport ActionFavorite from '../components/Actions/ActionFavorite.vue';\nimport ActionDownload from '../components/Actions/ActionDownload.vue';\nimport CollaboratorsSelectionForm from '../components/Albums/CollaboratorsSelectionForm.vue';\nimport AlbumForm from '../components/Albums/AlbumForm.vue';\nimport logger from '../services/logger.js';\nimport client from '../services/DavClient.js';\nimport DavRequest from '../services/DavRequest.js';\nimport { genFileInfo } from '../utils/fileUtils.js';\nexport default {\n name: 'AlbumContent',\n components: {\n MapMarker,\n ShareVariant,\n Plus,\n Pencil,\n Close,\n Delete,\n Download,\n DownloadMultiple,\n FilesPicker,\n HeaderNavigation,\n ImagePlus,\n NcEmptyContent,\n NcActions,\n NcActionButton,\n NcButton,\n NcModal,\n NcLoadingIcon,\n NcActionSeparator,\n CollectionContent,\n ActionFavorite,\n ActionDownload,\n AlbumForm,\n CollaboratorsSelectionForm\n },\n mixins: [AbortControllerMixin, FetchAlbumsMixin, FetchFilesMixin, AbortControllerMixin, isMobile],\n props: {\n albumName: {\n type: String,\n default: '/'\n }\n },\n\n data() {\n return {\n showAddPhotosModal: false,\n showManageCollaboratorView: false,\n showEditAlbumForm: false,\n loadingAddCollaborators: false\n };\n },\n\n computed: { ...mapGetters(['albumsFiles']),\n\n /**\n * @return {object} The album information for the current albumName.\n */\n album() {\n return this.albums[this.albumName] || {};\n },\n\n /**\n * @return {string[]} The list of files for the current albumName.\n */\n albumFileIds() {\n return this.albumsFiles[this.albumName] || [];\n },\n\n /**\n * @return {boolean} Whether sharing is enabled.\n */\n sharingEnabled() {\n return OC.Share !== undefined;\n }\n\n },\n watch: {\n album() {\n this.fetchAlbumContent();\n }\n\n },\n methods: { ...mapActions(['appendFiles', 'deleteAlbum', 'addFilesToAlbum', 'removeFilesFromAlbum', 'updateAlbum']),\n\n async fetchAlbumContent() {\n if (this.loadingFiles || this.showEditAlbumForm) {\n return [];\n }\n\n const semaphoreSymbol = await this.semaphore.acquire(() => 0, 'fetchFiles');\n const fetchSemaphoreSymbol = await this.fetchSemaphore.acquire();\n\n try {\n this.errorFetchingFiles = null;\n this.loadingFiles = true;\n this.semaphoreSymbol = semaphoreSymbol;\n const response = await client.getDirectoryContents(`/photos/${getCurrentUser()?.uid}/albums/${this.albumName}`, {\n data: DavRequest,\n details: true,\n signal: this.abortController.signal\n });\n const fetchedFiles = response.data.map(file => genFileInfo(file)) // For the Viewer.\n .map(file => ({ ...file,\n source: generateRemoteUrl(`dav${file.filename}`)\n }));\n const fileIds = fetchedFiles.map(file => file.fileid).map(fileId => fileId.toString());\n this.appendFiles(fetchedFiles);\n\n if (fetchedFiles.length > 0) {\n await this.$store.commit('addFilesToAlbum', {\n albumName: this.albumName,\n fileIdsToAdd: fileIds\n });\n }\n\n logger.debug(`[AlbumContent] Fetched ${fileIds.length} new files: `, fileIds);\n } catch (error) {\n if (error.response?.status === 404) {\n this.errorFetchingFiles = 404;\n } else if (error.code === 'ERR_CANCELED') {\n return;\n } else {\n this.errorFetchingFiles = error;\n } // cancelled request, moving on...\n\n\n logger.error('Error fetching album files');\n console.error(error);\n } finally {\n this.loadingFiles = false;\n this.semaphore.release(semaphoreSymbol);\n this.fetchSemaphore.release(fetchSemaphoreSymbol);\n }\n\n return [];\n },\n\n redirectToNewName(_ref) {\n let {\n album\n } = _ref;\n this.showEditAlbumForm = false;\n\n if (this.album.basename !== album.basename) {\n this.$router.push({\n name: 'albums',\n params: {\n path: album.basename\n }\n });\n }\n },\n\n async handleFilesPicked(fileIds) {\n this.showAddPhotosModal = false;\n await this.addFilesToAlbum({\n albumName: this.albumName,\n fileIdsToAdd: fileIds\n }); // Re-fetch album content to have the proper filenames.\n\n await this.fetchAlbumContent();\n },\n\n async handleRemoveFilesFromAlbum(fileIds) {\n this.$refs.collectionContent.onUncheckFiles(fileIds);\n await this.removeFilesFromAlbum({\n albumName: this.albumName,\n fileIdsToRemove: fileIds\n });\n },\n\n async handleDeleteAlbum() {\n await this.deleteAlbum({\n albumName: this.albumName\n });\n this.$router.push('/albums');\n },\n\n async handleSetCollaborators(collaborators) {\n try {\n this.loadingAddCollaborators = true;\n this.showManageCollaboratorView = false;\n await this.updateAlbum({\n albumName: this.albumName,\n properties: {\n collaborators\n }\n });\n } catch (error) {\n logger.error(error);\n } finally {\n this.loadingAddCollaborators = false;\n }\n }\n\n }\n};","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".album__title[data-v-36505f44] {\\n width: 100%;\\n}\\n.album__name[data-v-36505f44] {\\n overflow: hidden;\\n white-space: nowrap;\\n text-overflow: ellipsis;\\n}\\n.album__location[data-v-36505f44] {\\n margin-left: -4px;\\n display: flex;\\n color: var(--color-text-lighter);\\n}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js!../../node_modules/sass-loader/dist/cjs.js??clonedRuleSet-2[0].rules[0].use[3]!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AlbumContent.vue?vue&type=style&index=0&id=36505f44&lang=scss&scoped=true&\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js!../../node_modules/sass-loader/dist/cjs.js??clonedRuleSet-2[0].rules[0].use[3]!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AlbumContent.vue?vue&type=style&index=0&id=36505f44&lang=scss&scoped=true&\";\n export default content && content.locals ? content.locals : undefined;\n","import { render, staticRenderFns } from \"./AccountMultiplePlus.vue?vue&type=template&id=46cc78ca&\"\nimport script from \"./AccountMultiplePlus.vue?vue&type=script&lang=js&\"\nexport * from \"./AccountMultiplePlus.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"/home/louis/workspace/nextcloud/apps/photos/node_modules/vue-hot-reload-api/dist/index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!api.isRecorded('46cc78ca')) {\n api.createRecord('46cc78ca', component.options)\n } else {\n api.reload('46cc78ca', component.options)\n }\n module.hot.accept(\"./AccountMultiplePlus.vue?vue&type=template&id=46cc78ca&\", function () {\n api.rerender('46cc78ca', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"node_modules/vue-material-design-icons/AccountMultiplePlus.vue\"\nexport default component.exports","//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nexport default {\n name: \"AccountMultiplePlusIcon\",\n emits: ['click'],\n props: {\n title: {\n type: String,\n },\n fillColor: {\n type: String,\n default: \"currentColor\"\n },\n size: {\n type: Number,\n default: 24\n }\n }\n}\n","import { render, staticRenderFns } from \"./Magnify.vue?vue&type=template&id=1d382cb6&\"\nimport script from \"./Magnify.vue?vue&type=script&lang=js&\"\nexport * from \"./Magnify.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"/home/louis/workspace/nextcloud/apps/photos/node_modules/vue-hot-reload-api/dist/index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!api.isRecorded('1d382cb6')) {\n api.createRecord('1d382cb6', component.options)\n } else {\n api.reload('1d382cb6', component.options)\n }\n module.hot.accept(\"./Magnify.vue?vue&type=template&id=1d382cb6&\", function () {\n api.rerender('1d382cb6', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"node_modules/vue-material-design-icons/Magnify.vue\"\nexport default component.exports","//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nexport default {\n name: \"MagnifyIcon\",\n emits: ['click'],\n props: {\n title: {\n type: String,\n },\n fillColor: {\n type: String,\n default: \"currentColor\"\n },\n size: {\n type: Number,\n default: 24\n }\n }\n}\n","import { render, staticRenderFns } from \"./Send.vue?vue&type=template&id=5d635c98&\"\nimport script from \"./Send.vue?vue&type=script&lang=js&\"\nexport * from \"./Send.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"/home/louis/workspace/nextcloud/apps/photos/node_modules/vue-hot-reload-api/dist/index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!api.isRecorded('5d635c98')) {\n api.createRecord('5d635c98', component.options)\n } else {\n api.reload('5d635c98', component.options)\n }\n module.hot.accept(\"./Send.vue?vue&type=template&id=5d635c98&\", function () {\n api.rerender('5d635c98', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"node_modules/vue-material-design-icons/Send.vue\"\nexport default component.exports","//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nexport default {\n name: \"SendIcon\",\n emits: ['click'],\n props: {\n title: {\n type: String,\n },\n fillColor: {\n type: String,\n default: \"currentColor\"\n },\n size: {\n type: Number,\n default: 24\n }\n }\n}\n","import { render, staticRenderFns } from \"./ActionFavorite.vue?vue&type=template&id=607ef4d8&\"\nimport script from \"./ActionFavorite.vue?vue&type=script&lang=js&\"\nexport * from \"./ActionFavorite.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"/home/louis/workspace/nextcloud/apps/photos/node_modules/vue-hot-reload-api/dist/index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!api.isRecorded('607ef4d8')) {\n api.createRecord('607ef4d8', component.options)\n } else {\n api.reload('607ef4d8', component.options)\n }\n module.hot.accept(\"./ActionFavorite.vue?vue&type=template&id=607ef4d8&\", function () {\n api.rerender('607ef4d8', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"src/components/Actions/ActionFavorite.vue\"\nexport default component.exports","import { render, staticRenderFns } from \"./AlbumContent.vue?vue&type=template&id=36505f44&scoped=true&\"\nimport script from \"./AlbumContent.vue?vue&type=script&lang=js&\"\nexport * from \"./AlbumContent.vue?vue&type=script&lang=js&\"\nimport style0 from \"./AlbumContent.vue?vue&type=style&index=0&id=36505f44&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"36505f44\",\n null\n \n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"/home/louis/workspace/nextcloud/apps/photos/node_modules/vue-hot-reload-api/dist/index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!api.isRecorded('36505f44')) {\n api.createRecord('36505f44', component.options)\n } else {\n api.reload('36505f44', component.options)\n }\n module.hot.accept(\"./AlbumContent.vue?vue&type=template&id=36505f44&scoped=true&\", function () {\n api.rerender('36505f44', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"src/views/AlbumContent.vue\"\nexport default component.exports","import mod from \"-!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ActionFavorite.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ActionFavorite.vue?vue&type=script&lang=js&\"","import mod from \"-!../../node_modules/babel-loader/lib/index.js!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AlbumContent.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/babel-loader/lib/index.js!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AlbumContent.vue?vue&type=script&lang=js&\"","export * from \"-!../../node_modules/style-loader/dist/cjs.js!../../node_modules/css-loader/dist/cjs.js!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js!../../node_modules/sass-loader/dist/cjs.js??clonedRuleSet-2[0].rules[0].use[3]!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AlbumContent.vue?vue&type=style&index=0&id=36505f44&lang=scss&scoped=true&\"","import mod from \"-!../vue-loader/lib/index.js??vue-loader-options!./AccountMultiplePlus.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../vue-loader/lib/index.js??vue-loader-options!./AccountMultiplePlus.vue?vue&type=script&lang=js&\"","export * from \"-!../vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../vue-loader/lib/index.js??vue-loader-options!./AccountMultiplePlus.vue?vue&type=template&id=46cc78ca&\"","import mod from \"-!../vue-loader/lib/index.js??vue-loader-options!./Magnify.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../vue-loader/lib/index.js??vue-loader-options!./Magnify.vue?vue&type=script&lang=js&\"","export * from \"-!../vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../vue-loader/lib/index.js??vue-loader-options!./Magnify.vue?vue&type=template&id=1d382cb6&\"","import mod from \"-!../vue-loader/lib/index.js??vue-loader-options!./Send.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../vue-loader/lib/index.js??vue-loader-options!./Send.vue?vue&type=script&lang=js&\"","export * from \"-!../vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../vue-loader/lib/index.js??vue-loader-options!./Send.vue?vue&type=template&id=5d635c98&\"","export * from \"-!../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ActionFavorite.vue?vue&type=template&id=607ef4d8&\"","export * from \"-!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AlbumContent.vue?vue&type=template&id=36505f44&scoped=true&\"","var render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"span\",\n _vm._b(\n {\n staticClass: \"material-design-icon account-multiple-plus-icon\",\n attrs: {\n \"aria-hidden\": !_vm.title,\n \"aria-label\": _vm.title,\n role: \"img\",\n },\n on: {\n click: function ($event) {\n return _vm.$emit(\"click\", $event)\n },\n },\n },\n \"span\",\n _vm.$attrs,\n false\n ),\n [\n _c(\n \"svg\",\n {\n staticClass: \"material-design-icon__svg\",\n attrs: {\n fill: _vm.fillColor,\n width: _vm.size,\n height: _vm.size,\n viewBox: \"0 0 24 24\",\n },\n },\n [\n _c(\n \"path\",\n {\n attrs: {\n d: \"M19 17V19H7V17S7 13 13 13 19 17 19 17M16 8A3 3 0 1 0 13 11A3 3 0 0 0 16 8M19.2 13.06A5.6 5.6 0 0 1 21 17V19H24V17S24 13.55 19.2 13.06M18 5A2.91 2.91 0 0 0 17.11 5.14A5 5 0 0 1 17.11 10.86A2.91 2.91 0 0 0 18 11A3 3 0 0 0 18 5M8 10H5V7H3V10H0V12H3V15H5V12H8Z\",\n },\n },\n [_vm.title ? _c(\"title\", [_vm._v(_vm._s(_vm.title))]) : _vm._e()]\n ),\n ]\n ),\n ]\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","var render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"span\",\n _vm._b(\n {\n staticClass: \"material-design-icon magnify-icon\",\n attrs: {\n \"aria-hidden\": !_vm.title,\n \"aria-label\": _vm.title,\n role: \"img\",\n },\n on: {\n click: function ($event) {\n return _vm.$emit(\"click\", $event)\n },\n },\n },\n \"span\",\n _vm.$attrs,\n false\n ),\n [\n _c(\n \"svg\",\n {\n staticClass: \"material-design-icon__svg\",\n attrs: {\n fill: _vm.fillColor,\n width: _vm.size,\n height: _vm.size,\n viewBox: \"0 0 24 24\",\n },\n },\n [\n _c(\n \"path\",\n {\n attrs: {\n d: \"M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z\",\n },\n },\n [_vm.title ? _c(\"title\", [_vm._v(_vm._s(_vm.title))]) : _vm._e()]\n ),\n ]\n ),\n ]\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","var render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"span\",\n _vm._b(\n {\n staticClass: \"material-design-icon send-icon\",\n attrs: {\n \"aria-hidden\": !_vm.title,\n \"aria-label\": _vm.title,\n role: \"img\",\n },\n on: {\n click: function ($event) {\n return _vm.$emit(\"click\", $event)\n },\n },\n },\n \"span\",\n _vm.$attrs,\n false\n ),\n [\n _c(\n \"svg\",\n {\n staticClass: \"material-design-icon__svg\",\n attrs: {\n fill: _vm.fillColor,\n width: _vm.size,\n height: _vm.size,\n viewBox: \"0 0 24 24\",\n },\n },\n [\n _c(\"path\", { attrs: { d: \"M2,21L23,12L2,3V10L17,12L2,14V21Z\" } }, [\n _vm.title ? _c(\"title\", [_vm._v(_vm._s(_vm.title))]) : _vm._e(),\n ]),\n ]\n ),\n ]\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","var render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _vm.shouldFavoriteSelection\n ? _c(\n \"NcActionButton\",\n {\n attrs: {\n \"close-after-click\": true,\n \"aria-label\": _vm.t(\"photos\", \"Mark selection as favorite\"),\n },\n on: { click: _vm.favoriteSelection },\n },\n [\n _vm._v(\n \"\\n\\t\" +\n _vm._s(_vm.t(\"photos\", \"Add selection to favorites\")) +\n \"\\n\\t\"\n ),\n _c(\"Star\", { attrs: { slot: \"icon\" }, slot: \"icon\" }),\n ],\n 1\n )\n : _c(\n \"NcActionButton\",\n {\n attrs: {\n \"close-after-click\": true,\n \"aria-label\": _vm.t(\"photos\", \"Remove selection from favorites\"),\n },\n on: { click: _vm.unFavoriteSelection },\n },\n [\n _vm._v(\n \"\\n\\t\" +\n _vm._s(_vm.t(\"photos\", \"Remove selection from favorites\")) +\n \"\\n\\t\"\n ),\n _c(\"Star\", { attrs: { slot: \"icon\" }, slot: \"icon\" }),\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","var render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n [\n true\n ? _c(\n \"CollectionContent\",\n {\n ref: \"collectionContent\",\n attrs: {\n collection: _vm.album,\n \"collection-file-ids\": _vm.albumFileIds,\n semaphore: _vm.semaphore,\n loading: _vm.loadingAlbums || _vm.loadingFiles,\n error: _vm.errorFetchingAlbums || _vm.errorFetchingFiles,\n },\n scopedSlots: _vm._u(\n [\n {\n key: \"header\",\n fn: function (ref) {\n var selectedFileIds = ref.selectedFileIds\n return _c(\n \"HeaderNavigation\",\n {\n key: \"navigation\",\n attrs: {\n loading: _vm.loadingFiles,\n params: { albumName: _vm.albumName },\n path: \"/\" + _vm.albumName,\n title: _vm.albumName,\n },\n on: { refresh: _vm.fetchAlbumContent },\n },\n [\n _vm.album.location !== \"\"\n ? _c(\n \"div\",\n {\n staticClass: \"album__location\",\n attrs: { slot: \"subtitle\" },\n slot: \"subtitle\",\n },\n [\n _c(\"MapMarker\"),\n _vm._v(\n _vm._s(_vm.album.location) + \"\\n\\t\\t\\t\"\n ),\n ],\n 1\n )\n : _vm._e(),\n _vm._v(\" \"),\n _vm.album !== undefined\n ? _c(\n \"template\",\n { slot: \"right\" },\n [\n _vm.album.nbItems !== 0\n ? _c(\"NcButton\", {\n attrs: {\n type: \"tertiary\",\n \"aria-label\": _vm.t(\n \"photos\",\n \"Add photos to this album\"\n ),\n },\n on: {\n click: function ($event) {\n _vm.showAddPhotosModal = true\n },\n },\n scopedSlots: _vm._u(\n [\n {\n key: \"icon\",\n fn: function () {\n return [_c(\"Plus\")]\n },\n proxy: true,\n },\n ],\n null,\n true\n ),\n })\n : _vm._e(),\n _vm._v(\" \"),\n _vm.sharingEnabled\n ? _c(\n \"NcButton\",\n {\n attrs: {\n type: \"tertiary\",\n \"aria-label\": _vm.t(\n \"photos\",\n \"Manage collaborators for this album\"\n ),\n },\n on: {\n click: function ($event) {\n _vm.showManageCollaboratorView = true\n },\n },\n },\n [\n _c(\"ShareVariant\", {\n attrs: { slot: \"icon\" },\n slot: \"icon\",\n }),\n ],\n 1\n )\n : _vm._e(),\n _vm._v(\" \"),\n _c(\n \"NcActions\",\n {\n attrs: {\n \"aria-label\": _vm.t(\n \"photos\",\n \"Open actions menu\"\n ),\n },\n },\n [\n _c(\n \"NcActionButton\",\n {\n attrs: {\n \"close-after-click\": true,\n \"aria-label\": _vm.t(\n \"photos\",\n \"Edit album details\"\n ),\n },\n on: {\n click: function ($event) {\n _vm.showEditAlbumForm = true\n },\n },\n },\n [\n _vm._v(\n \"\\n\\t\\t\\t\\t\\t\\t\" +\n _vm._s(\n _vm.t(\n \"photos\",\n \"Edit album details\"\n )\n ) +\n \"\\n\\t\\t\\t\\t\\t\\t\"\n ),\n _c(\"Pencil\", {\n attrs: { slot: \"icon\" },\n slot: \"icon\",\n }),\n ],\n 1\n ),\n _vm._v(\" \"),\n _vm.albumFileIds.length > 0\n ? _c(\n \"ActionDownload\",\n {\n attrs: {\n \"selected-file-ids\":\n _vm.albumFileIds,\n title: _vm.t(\n \"photos\",\n \"Download all files in album\"\n ),\n },\n },\n [\n _c(\"DownloadMultiple\", {\n attrs: { slot: \"icon\" },\n slot: \"icon\",\n }),\n ],\n 1\n )\n : _vm._e(),\n _vm._v(\" \"),\n _c(\n \"NcActionButton\",\n {\n attrs: { \"close-after-click\": true },\n on: { click: _vm.handleDeleteAlbum },\n },\n [\n _vm._v(\n \"\\n\\t\\t\\t\\t\\t\\t\" +\n _vm._s(\n _vm.t(\"photos\", \"Delete album\")\n ) +\n \"\\n\\t\\t\\t\\t\\t\\t\"\n ),\n _c(\"Delete\", {\n attrs: { slot: \"icon\" },\n slot: \"icon\",\n }),\n ],\n 1\n ),\n _vm._v(\" \"),\n selectedFileIds.length > 0\n ? [\n _c(\"NcActionSeparator\"),\n _vm._v(\" \"),\n _c(\n \"ActionDownload\",\n {\n attrs: {\n \"selected-file-ids\":\n selectedFileIds,\n title: _vm.t(\n \"photos\",\n \"Download selected files\"\n ),\n },\n },\n [\n _c(\"Download\", {\n attrs: { slot: \"icon\" },\n slot: \"icon\",\n }),\n ],\n 1\n ),\n _vm._v(\" \"),\n _c(\"ActionFavorite\", {\n attrs: {\n \"selected-file-ids\":\n selectedFileIds,\n },\n }),\n _vm._v(\" \"),\n _c(\n \"NcActionButton\",\n {\n attrs: {\n \"close-after-click\": true,\n },\n on: {\n click: function ($event) {\n return _vm.handleRemoveFilesFromAlbum(\n selectedFileIds\n )\n },\n },\n },\n [\n _vm._v(\n \"\\n\\t\\t\\t\\t\\t\\t\\t\" +\n _vm._s(\n _vm.t(\n \"photos\",\n \"Remove selection from album\"\n )\n ) +\n \"\\n\\t\\t\\t\\t\\t\\t\\t\"\n ),\n _c(\"Close\", {\n attrs: { slot: \"icon\" },\n slot: \"icon\",\n }),\n ],\n 1\n ),\n ]\n : _vm._e(),\n ],\n 2\n ),\n ],\n 1\n )\n : _vm._e(),\n ],\n 2\n )\n },\n },\n ],\n null,\n false,\n 3267126009\n ),\n },\n [\n _vm._v(\" \"),\n _vm.album !== undefined &&\n _vm.album.nbItems === 0 &&\n !(_vm.loadingFiles || _vm.loadingAlbums)\n ? _c(\n \"NcEmptyContent\",\n {\n staticClass: \"album__empty\",\n attrs: {\n slot: \"empty-content\",\n title: _vm.t(\n \"photos\",\n \"This album doesn't have any photos or videos yet!\"\n ),\n },\n slot: \"empty-content\",\n },\n [\n _c(\"ImagePlus\", {\n attrs: { slot: \"icon\" },\n slot: \"icon\",\n }),\n _vm._v(\" \"),\n _c(\n \"NcButton\",\n {\n staticClass: \"album__empty__button\",\n attrs: {\n slot: \"action\",\n type: \"primary\",\n \"aria-label\": _vm.t(\n \"photos\",\n \"Add photos to this album\"\n ),\n },\n on: {\n click: function ($event) {\n _vm.showAddPhotosModal = true\n },\n },\n slot: \"action\",\n },\n [\n _c(\"Plus\", { attrs: { slot: \"icon\" }, slot: \"icon\" }),\n _vm._v(\n \"\\n\\t\\t\\t\\t\" +\n _vm._s(_vm.t(\"photos\", \"Add\")) +\n \"\\n\\t\\t\\t\"\n ),\n ],\n 1\n ),\n ],\n 1\n )\n : _vm._e(),\n ],\n 1\n )\n : _vm._e(),\n _vm._v(\" \"),\n _vm.showAddPhotosModal\n ? _c(\n \"NcModal\",\n {\n attrs: {\n size: \"large\",\n title: _vm.t(\"photos\", \"Add photos to the album\"),\n },\n on: {\n close: function ($event) {\n _vm.showAddPhotosModal = false\n },\n },\n },\n [\n _c(\"FilesPicker\", {\n attrs: {\n destination: _vm.album.basename,\n \"blacklist-ids\": _vm.albumFileIds,\n },\n on: { \"files-picked\": _vm.handleFilesPicked },\n }),\n ],\n 1\n )\n : _vm._e(),\n _vm._v(\" \"),\n _vm.showManageCollaboratorView\n ? _c(\n \"NcModal\",\n {\n attrs: { title: _vm.t(\"photos\", \"Manager collaborators\") },\n on: {\n close: function ($event) {\n _vm.showManageCollaboratorView = false\n },\n },\n },\n [\n _c(\"CollaboratorsSelectionForm\", {\n attrs: {\n \"album-name\": _vm.album.basename,\n collaborators: _vm.album.collaborators,\n \"public-link\": _vm.album.publicLink,\n },\n scopedSlots: _vm._u(\n [\n {\n key: \"default\",\n fn: function (ref) {\n var collaborators = ref.collaborators\n return [\n _c(\n \"NcButton\",\n {\n attrs: {\n \"aria-label\": _vm.t(\n \"photos\",\n \"Save collaborators for this album.\"\n ),\n type: \"primary\",\n disabled: _vm.loadingAddCollaborators,\n },\n on: {\n click: function ($event) {\n return _vm.handleSetCollaborators(\n collaborators\n )\n },\n },\n scopedSlots: _vm._u(\n [\n {\n key: \"icon\",\n fn: function () {\n return [\n _vm.loadingAddCollaborators\n ? _c(\"NcLoadingIcon\")\n : _vm._e(),\n ]\n },\n proxy: true,\n },\n ],\n null,\n true\n ),\n },\n [\n _vm._v(\n \"\\n\\t\\t\\t\\t\\t\" +\n _vm._s(_vm.t(\"photos\", \"Save\")) +\n \"\\n\\t\\t\\t\\t\"\n ),\n ]\n ),\n ]\n },\n },\n ],\n null,\n false,\n 4058924180\n ),\n }),\n ],\n 1\n )\n : _vm._e(),\n _vm._v(\" \"),\n _vm.showEditAlbumForm\n ? _c(\n \"NcModal\",\n {\n attrs: { title: _vm.t(\"photos\", \"Edit album details\") },\n on: {\n close: function ($event) {\n _vm.showEditAlbumForm = false\n },\n },\n },\n [\n _c(\"AlbumForm\", {\n attrs: { album: _vm.album },\n on: { done: _vm.redirectToNewName },\n }),\n ],\n 1\n )\n : _vm._e(),\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }"],"names":[],"sourceRoot":""}