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AQC,kBAAoB,IAC5BD,EAAQE,cAAgB,IAElBF,EAAQG,OAAS,SAAc,KAAM,QAE3CH,EAAQI,OAAS,IACjBJ,EAAQK,mBAAqB,IAEhB,IAAI,IAASL,GAKJ,KAAW,IAAQM,QAAS,IAAQA,OCP1D,SAXgB,E,SAAA,GACd,GHTW,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAGE,EAAOJ,EAAIG,MAAME,YAAY,OAAQD,EAAO9B,KAAKgC,OAAS,EAAGJ,EAAGE,EAAOb,WAAW,CAACgB,YAAY,oBAAoBC,MAAM,CAAC,KAAO,SAAS,CAAEJ,EAAOxB,KAAMsB,EAAG,IAAI,CAACK,YAAY,8BAA8B,CAACP,EAAIS,GAAG,SAAST,EAAIU,GAAGN,EAAOd,EAAE,gBAAiB,cAAc,UAAUY,EAAGE,EAAOZ,aAAa,CAACgB,MAAM,CAAC,KAAOJ,EAAOxB,KAAKf,GAAG,eAAeuC,EAAOxB,KAAKI,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,EAAO9B,WAAW0B,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=77889141&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?c7c5","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-77889141] {\n\tmargin-inline: var(--row-height)\n}\n.note-to-recipient__text[data-v-77889141] {\n\t/* respect new lines */\n\twhite-space: pre-line;\n}\n.note-to-recipient__heading[data-v-77889141] {\n\tfont-weight: bold;\n}\n@media screen and (max-width: 512px) {\n.note-to-recipient[data-v-77889141] {\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?.attributes?.['owner-id']\\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=77889141&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=77889141&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=77889141&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=77889141&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 \"77889141\",\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","_folder$value$attribu","_folder$value","value","attributes","user","_folder$value2","_folder$value3","_getCurrentUser","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":""}