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AAW,CAACgB,YAAY,oBAAoBC,MAAM,CAAC,KAAO,SAAS,CAAEJ,EAAOtB,KAAMoB,EAAG,IAAI,CAACK,YAAY,8BAA8B,CAACP,EAAIS,GAAG,SAAST,EAAIU,GAAGN,EAAOd,EAAE,gBAAiB,cAAc,UAAUY,EAAGE,EAAOZ,aAAa,CAACgB,MAAM,CAAC,KAAOJ,EAAOtB,KAAKb,GAAG,eAAemC,EAAOtB,KAAKE,gBAAgB,GAAGkB,EAAG,IAAI,CAACK,YAAY,8BAA8B,CAACP,EAAIS,GAAG,SAAST,EAAIU,GAAGN,EAAOd,EAAE,gBAAiB,UAAU,UAAUU,EAAIS,GAAG,KAAKP,EAAG,IAAI,CAACK,YAAY,0BAA0BI,SAAS,CAAC,YAAcX,EAAIU,GAAGN,EAAO1B,WAAWsB,EAAIY,IAC3pB,GACsB,IGUpB,EACA,KACA,WACA,MAI8B,O","sources":["webpack:///nextcloud/apps/files_sharing/src/views/FilesHeaderNoteToRecipient.vue?vue&type=style&index=0&id=514f64d7&prod&scoped=true&lang=css","webpack:///nextcloud/apps/files_sharing/src/views/FilesHeaderNoteToRecipient.vue","webpack:///nextcloud/apps/files_sharing/src/views/FilesHeaderNoteToRecipient.vue?vue&type=script&setup=true&lang=ts","webpack://nextcloud/./apps/files_sharing/src/views/FilesHeaderNoteToRecipient.vue?a73e","webpack://nextcloud/./apps/files_sharing/src/views/FilesHeaderNoteToRecipient.vue?b46f"],"sourcesContent":["// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.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_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `\n.note-to-recipient[data-v-514f64d7] {\n\tmargin-inline: var(--row-height)\n}\n.note-to-recipient__text[data-v-514f64d7] {\n\t/* respect new lines */\n\twhite-space: pre-line;\n}\n.note-to-recipient__heading[data-v-514f64d7] {\n\tfont-weight: bold;\n}\n@media screen and (max-width: 512px) {\n.note-to-recipient[data-v-514f64d7] {\n\t\tmargin-inline: var(--default-grid-baseline);\n}\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./apps/files_sharing/src/views/FilesHeaderNoteToRecipient.vue\"],\"names\":[],\"mappings\":\";AAsDA;CACA;AACA;AAEA;CACA,sBAAA;CACA,qBAAA;AACA;AAEA;CACA,iBAAA;AACA;AAEA;AACA;EACA,2CAAA;AACA;AACA\",\"sourcesContent\":[\"<!--\\n - SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\\n - SPDX-License-Identifier: AGPL-3.0-or-later\\n-->\\n<template>\\n\\t<NcNoteCard v-if=\\\"note.length > 0\\\"\\n\\t\\tclass=\\\"note-to-recipient\\\"\\n\\t\\ttype=\\\"info\\\">\\n\\t\\t<p v-if=\\\"user\\\" class=\\\"note-to-recipient__heading\\\">\\n\\t\\t\\t{{ t('files_sharing', 'Note from') }}\\n\\t\\t\\t<NcUserBubble :user=\\\"user.id\\\" :display-name=\\\"user.displayName\\\" />\\n\\t\\t</p>\\n\\t\\t<p v-else class=\\\"note-to-recipient__heading\\\">\\n\\t\\t\\t{{ t('files_sharing', 'Note:') }}\\n\\t\\t</p>\\n\\t\\t<p class=\\\"note-to-recipient__text\\\" v-text=\\\"note\\\" />\\n\\t</NcNoteCard>\\n</template>\\n\\n<script setup lang=\\\"ts\\\">\\nimport type { Folder } from '@nextcloud/files'\\nimport { getCurrentUser } from '@nextcloud/auth'\\nimport { t } from '@nextcloud/l10n'\\nimport { computed, ref } from 'vue'\\n\\nimport NcNoteCard from '@nextcloud/vue/dist/Components/NcNoteCard.js'\\nimport NcUserBubble from '@nextcloud/vue/dist/Components/NcUserBubble.js'\\n\\nconst folder = ref<Folder>()\\nconst note = computed<string>(() => folder.value?.attributes.note ?? '')\\nconst user = computed(() => {\\n\\tconst id = folder.value?.owner\\n\\tconst displayName = folder.value?.attributes?.['owner-display-name']\\n\\tif (id !== getCurrentUser()?.uid) {\\n\\t\\treturn {\\n\\t\\t\\tid,\\n\\t\\t\\tdisplayName,\\n\\t\\t}\\n\\t}\\n\\treturn null\\n})\\n\\n/**\\n * Update the current folder\\n * @param newFolder the new folder to show note for\\n */\\nfunction updateFolder(newFolder: Folder) {\\n\\tfolder.value = newFolder\\n}\\n\\ndefineExpose({ updateFolder })\\n</script>\\n\\n<style scoped>\\n.note-to-recipient {\\n\\tmargin-inline: var(--row-height)\\n}\\n\\n.note-to-recipient__text {\\n\\t/* respect new lines */\\n\\twhite-space: pre-line;\\n}\\n\\n.note-to-recipient__heading {\\n\\tfont-weight: bold;\\n}\\n\\n@media screen and (max-width: 512px) {\\n\\t.note-to-recipient {\\n\\t\\tmargin-inline: var(--default-grid-baseline);\\n\\t}\\n}\\n</style>\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return (_setup.note.length > 0)?_c(_setup.NcNoteCard,{staticClass:\"note-to-recipient\",attrs:{\"type\":\"info\"}},[(_setup.user)?_c('p',{staticClass:\"note-to-recipient__heading\"},[_vm._v(\"\\n\\t\\t\"+_vm._s(_setup.t('files_sharing', 'Note from'))+\"\\n\\t\\t\"),_c(_setup.NcUserBubble,{attrs:{\"user\":_setup.user.id,\"display-name\":_setup.user.displayName}})],1):_c('p',{staticClass:\"note-to-recipient__heading\"},[_vm._v(\"\\n\\t\\t\"+_vm._s(_setup.t('files_sharing', 'Note:'))+\"\\n\\t\")]),_vm._v(\" \"),_c('p',{staticClass:\"note-to-recipient__text\",domProps:{\"textContent\":_vm._s(_setup.note)}})]):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-4.use[1]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FilesHeaderNoteToRecipient.vue?vue&type=script&setup=true&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-4.use[1]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FilesHeaderNoteToRecipient.vue?vue&type=script&setup=true&lang=ts\"","\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/vue-loader/lib/index.js??vue-loader-options!./FilesHeaderNoteToRecipient.vue?vue&type=style&index=0&id=514f64d7&prod&scoped=true&lang=css\";\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/vue-loader/lib/index.js??vue-loader-options!./FilesHeaderNoteToRecipient.vue?vue&type=style&index=0&id=514f64d7&prod&scoped=true&lang=css\";\n export default content && content.locals ? content.locals : undefined;\n","import { render, staticRenderFns } from \"./FilesHeaderNoteToRecipient.vue?vue&type=template&id=514f64d7&scoped=true\"\nimport script from \"./FilesHeaderNoteToRecipient.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./FilesHeaderNoteToRecipient.vue?vue&type=script&setup=true&lang=ts\"\nimport style0 from \"./FilesHeaderNoteToRecipient.vue?vue&type=style&index=0&id=514f64d7&prod&scoped=true&lang=css\"\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 \"514f64d7\",\n null\n \n)\n\nexport default component.exports"],"names":["___CSS_LOADER_EXPORT___","push","module","id","_defineComponent","__name","setup","__props","_ref","expose","folder","ref","note","computed","value","attributes","user","owner","displayName","getCurrentUser","uid","updateFolder","newFolder","__sfc","t","NcNoteCard","NcUserBubble","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","locals","_vm","this","_c","_self","_setup","_setupProxy","length","staticClass","attrs","_v","_s","domProps","_e"],"sourceRoot":""}