mirror of
https://github.com/nextcloud/server.git
synced 2026-03-12 05:33:11 -04:00
1 line
No EOL
14 KiB
Text
1 line
No EOL
14 KiB
Text
{"version":3,"file":"ProfilePickerReferenceWidget-Djm2Lukp.chunk.mjs","sources":["../node_modules/vue-material-design-icons/Domain.vue","../node_modules/vue-material-design-icons/HandshakeOutline.vue","../node_modules/vue-material-design-icons/MapMarkerOutline.vue","../node_modules/vue-material-design-icons/TextAccount.vue","../build/frontend/apps/profile/src/views/ProfilePickerReferenceWidget.vue"],"sourcesContent":["<template>\n <span v-bind=\"$attrs\"\n :aria-hidden=\"title ? null : 'true'\"\n :aria-label=\"title\"\n class=\"material-design-icon domain-icon\"\n role=\"img\"\n @click=\"$emit('click', $event)\">\n <svg :fill=\"fillColor\"\n class=\"material-design-icon__svg\"\n :width=\"size\"\n :height=\"size\"\n viewBox=\"0 0 24 24\">\n <path d=\"M18,15H16V17H18M18,11H16V13H18M20,19H12V17H14V15H12V13H14V11H12V9H20M10,7H8V5H10M10,11H8V9H10M10,15H8V13H10M10,19H8V17H10M6,7H4V5H6M6,11H4V9H6M6,15H4V13H6M6,19H4V17H6M12,7V3H2V21H22V7H12Z\">\n <title v-if=\"title\">{{ title }}</title>\n </path>\n </svg>\n </span>\n</template>\n\n<script>\nexport default {\n name: \"DomainIcon\",\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</script>","<template>\n <span v-bind=\"$attrs\"\n :aria-hidden=\"title ? null : 'true'\"\n :aria-label=\"title\"\n class=\"material-design-icon handshake-outline-icon\"\n role=\"img\"\n @click=\"$emit('click', $event)\">\n <svg :fill=\"fillColor\"\n class=\"material-design-icon__svg\"\n :width=\"size\"\n :height=\"size\"\n viewBox=\"0 0 24 24\">\n <path d=\"M21.71 8.71C22.96 7.46 22.39 6 21.71 5.29L18.71 2.29C17.45 1.04 16 1.61 15.29 2.29L13.59 4H11C9.1 4 8 5 7.44 6.15L3 10.59V14.59L2.29 15.29C1.04 16.55 1.61 18 2.29 18.71L5.29 21.71C5.83 22.25 6.41 22.45 6.96 22.45C7.67 22.45 8.32 22.1 8.71 21.71L11.41 19H15C16.7 19 17.56 17.94 17.87 16.9C19 16.6 19.62 15.74 19.87 14.9C21.42 14.5 22 13.03 22 12V9H21.41L21.71 8.71M20 12C20 12.45 19.81 13 19 13L18 13L18 14C18 14.45 17.81 15 17 15L16 15L16 16C16 16.45 15.81 17 15 17H10.59L7.31 20.28C7 20.57 6.82 20.4 6.71 20.29L3.72 17.31C3.43 17 3.6 16.82 3.71 16.71L5 15.41V11.41L7 9.41V11C7 12.21 7.8 14 10 14S13 12.21 13 11H20V12M20.29 7.29L18.59 9H11V11C11 11.45 10.81 12 10 12S9 11.45 9 11V8C9 7.54 9.17 6 11 6H14.41L16.69 3.72C17 3.43 17.18 3.6 17.29 3.71L20.28 6.69C20.57 7 20.4 7.18 20.29 7.29Z\">\n <title v-if=\"title\">{{ title }}</title>\n </path>\n </svg>\n </span>\n</template>\n\n<script>\nexport default {\n name: \"HandshakeOutlineIcon\",\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</script>","<template>\n <span v-bind=\"$attrs\"\n :aria-hidden=\"title ? null : 'true'\"\n :aria-label=\"title\"\n class=\"material-design-icon map-marker-outline-icon\"\n role=\"img\"\n @click=\"$emit('click', $event)\">\n <svg :fill=\"fillColor\"\n class=\"material-design-icon__svg\"\n :width=\"size\"\n :height=\"size\"\n viewBox=\"0 0 24 24\">\n <path d=\"M12,6.5A2.5,2.5 0 0,1 14.5,9A2.5,2.5 0 0,1 12,11.5A2.5,2.5 0 0,1 9.5,9A2.5,2.5 0 0,1 12,6.5M12,2A7,7 0 0,1 19,9C19,14.25 12,22 12,22C12,22 5,14.25 5,9A7,7 0 0,1 12,2M12,4A5,5 0 0,0 7,9C7,10 7,12 12,18.71C17,12 17,10 17,9A5,5 0 0,0 12,4Z\">\n <title v-if=\"title\">{{ title }}</title>\n </path>\n </svg>\n </span>\n</template>\n\n<script>\nexport default {\n name: \"MapMarkerOutlineIcon\",\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</script>","<template>\n <span v-bind=\"$attrs\"\n :aria-hidden=\"title ? null : 'true'\"\n :aria-label=\"title\"\n class=\"material-design-icon text-account-icon\"\n role=\"img\"\n @click=\"$emit('click', $event)\">\n <svg :fill=\"fillColor\"\n class=\"material-design-icon__svg\"\n :width=\"size\"\n :height=\"size\"\n viewBox=\"0 0 24 24\">\n <path d=\"M21 5V7H3V5H21M3 17H12V15H3V17M3 12H21V10H3V12M18 14C19.11 14 20 14.9 20 16S19.11 18 18 18 16 17.11 16 16 16.9 14 18 14M14 22V21C14 19.9 15.79 19 18 19S22 19.9 22 21V22H14Z\">\n <title v-if=\"title\">{{ title }}</title>\n </path>\n </svg>\n </span>\n</template>\n\n<script>\nexport default {\n name: \"TextAccountIcon\",\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</script>","<!--\n - SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n-->\n\n<template>\n\t<div class=\"profile-reference\">\n\t\t<div class=\"profile-reference__wrapper\">\n\t\t\t<div class=\"profile-reference__wrapper__header\">\n\t\t\t\t<NcAvatar :user=\"richObject.user_id\" :size=\"48\" class=\"profile-card__avatar\" />\n\t\t\t\t<div class=\"profile-card__title\">\n\t\t\t\t\t<a :href=\"richObject.url\" target=\"_blank\">\n\t\t\t\t\t\t<AccountOutline :size=\"20\" />\n\t\t\t\t\t\t<strong>\n\t\t\t\t\t\t\t{{ richObject.email !== null ? richObject.title + ' - ' + richObject.email : richObject.title }}\n\t\t\t\t\t\t</strong>\n\t\t\t\t\t</a>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class=\"profile-content\">\n\t\t\t\t<p class=\"profile-content__subline\">\n\t\t\t\t\t<span v-if=\"richObject.headline\" class=\"headline\">\n\t\t\t\t\t\t{{ richObject.headline }}\n\t\t\t\t\t</span>\n\t\t\t\t\t<span v-if=\"richObject.location\" class=\"location\">\n\t\t\t\t\t\t<MapMarkerOutline :size=\"20\" />\n\t\t\t\t\t\t<template v-if=\"richObject.location_url\">\n\t\t\t\t\t\t\t<a :href=\"richObject.location_url\" class=\"external\" target=\"_blank\">{{ richObject.location }}</a>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t\t<template v-else>\n\t\t\t\t\t\t\t{{ richObject.location }}\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</span>\n\t\t\t\t\t<span v-if=\"richObject.website\" class=\"website\">\n\t\t\t\t\t\t<Web :size=\"20\" />\n\t\t\t\t\t\t<a :href=\"richObject.website\" class=\"external\" target=\"_blank\">{{ richObject.website }}</a>\n\t\t\t\t\t</span>\n\t\t\t\t\t<span v-if=\"richObject.organisation\" class=\"organisation\">\n\t\t\t\t\t\t<Domain :size=\"20\" />\n\t\t\t\t\t\t{{ richObject.organisation }}\n\t\t\t\t\t</span>\n\t\t\t\t\t<span v-if=\"richObject.role\" class=\"role\">\n\t\t\t\t\t\t<HandshakeOutline :size=\"20\" />\n\t\t\t\t\t\t{{ richObject.role }}\n\t\t\t\t\t</span>\n\t\t\t\t\t<span\n\t\t\t\t\t\tv-if=\"richObject.bio\"\n\t\t\t\t\t\tclass=\"bio\"\n\t\t\t\t\t\t:title=\"richObject.full_bio\">\n\t\t\t\t\t\t<TextAccount :size=\"20\" />\n\t\t\t\t\t\t{{ richObject.bio }}\n\t\t\t\t\t</span>\n\t\t\t\t</p>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</template>\n\n<script>\nimport NcAvatar from '@nextcloud/vue/components/NcAvatar'\nimport AccountOutline from 'vue-material-design-icons/AccountOutline.vue'\nimport Domain from 'vue-material-design-icons/Domain.vue'\nimport HandshakeOutline from 'vue-material-design-icons/HandshakeOutline.vue'\nimport MapMarkerOutline from 'vue-material-design-icons/MapMarkerOutline.vue'\nimport TextAccount from 'vue-material-design-icons/TextAccount.vue'\nimport Web from 'vue-material-design-icons/Web.vue'\nimport { logger } from '../services/logger.ts'\n\nexport default {\n\tname: 'ProfilePickerReferenceWidget',\n\tcomponents: {\n\t\tNcAvatar,\n\t\tAccountOutline,\n\t\tMapMarkerOutline,\n\t\tWeb,\n\t\tDomain,\n\t\tHandshakeOutline,\n\t\tTextAccount,\n\t},\n\n\tprops: {\n\t\trichObjectType: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\n\t\trichObject: {\n\t\t\ttype: Object,\n\t\t\tdefault: null,\n\t\t},\n\n\t\taccessible: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true,\n\t\t},\n\t},\n\n\tbeforeMount() {\n\t\tlogger.debug('ProfilePickerReferenceWidget', this.richObject)\n\t},\n}\n</script>\n\n<style scoped lang=\"scss\">\n.profile-reference {\n\twidth: 100%;\n\twhite-space: normal;\n\tdisplay: flex;\n\n\t&__wrapper {\n\t\twidth: 100%;\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tflex-direction: column;\n\n\t\t&__header {\n\t\t\twidth: 100%;\n\t\t\tmin-height: 70px;\n\t\t\tbackground-color: var(--color-primary);\n\t\t\tbackground-image: var(--gradient-primary-background);\n\t\t\tposition: relative;\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tgap: 10px;\n\t\t\t> *:first-child {\n\t\t\t\tmargin-left: 12px;\n\t\t\t}\n\t\t\t> *:last-child {\n\t\t\t\tmargin-right: 12px;\n\t\t\t}\n\t\t}\n\n\t\t.profile-card__title a {\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tgap: 5px;\n\t\t\tcolor: var(--color-primary-text);\n\t\t}\n\n\t\t.profile-content {\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: column;\n\t\t\tjustify-content: center;\n\t\t\tmin-height: 46px;\n\t\t\tpadding: 10px 10px 10px 60px;\n\t\t\twidth: 100%;\n\t\t}\n\n\t\t.headline {\n\t\t\tfont-style: italic;\n\t\t\tpadding-left: 5px;\n\t\t}\n\n\t\t.profile-content__subline {\n\t\t\tpadding: 0 0 0 10px;\n\n\t\t\t& span.material-design-icon {\n\t\t\t\tmargin-right: 5px;\n\t\t\t}\n\n\t\t\t& > span {\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tmargin-bottom: 5px;\n\t\t\t}\n\t\t}\n\t}\n}\n</style>\n"],"names":["_sfc_main","_hoisted_3","_createElementBlock","_mergeProps","_ctx","$props","_cache","$event","_createElementVNode","_openBlock","NcAvatar","AccountOutline","MapMarkerOutline","Web","Domain","HandshakeOutline","TextAccount","logger","_hoisted_1","_hoisted_2","_hoisted_4","_hoisted_6","_hoisted_7","_createVNode","_component_NcAvatar","_component_AccountOutline","_toDisplayString","_hoisted_8","_hoisted_9","_component_MapMarkerOutline","_hoisted_10","_Fragment","_createTextVNode","_hoisted_11","_component_Web","_hoisted_12","_hoisted_13","_component_Domain","_hoisted_14","_component_HandshakeOutline","_component_TextAccount"],"mappings":"21BAoBA,MAAKA,EAAU,CACb,KAAM,aACN,MAAO,CAAC,OAAO,EACf,MAAO,CACL,MAAO,CACL,KAAM,QAER,UAAW,CACT,KAAM,OACN,QAAS,gBAEX,KAAM,CACJ,KAAM,OACN,QAAS,EACX,CACF,CACF,6DAxBYC,EAAA,CAAA,EAAE,6LAA6L,+CAXzMC,EAeO,OAfPC,EAAcC,EAAA,OAAM,CACb,cAAaC,EAAA,MAAK,KAAA,OAClB,aAAYA,EAAA,MACb,MAAM,mCACN,KAAK,MACJ,QAAKC,EAAA,CAAA,IAAAA,EAAA,CAAA,EAAAC,GAAEH,EA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