Merge pull request #56333 from nextcloud/dependabot/npm_and_yarn/stable31/nextcloud/vue-8.34.0
commit
14aa3d3075
@ -1,434 +0,0 @@
|
||||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
||||
|
||||
exports[`CalDavSettings > interactions 1`] = `
|
||||
<div>
|
||||
<div
|
||||
class="settings-section settings-section--limit-width"
|
||||
data-v-5e563b2b=""
|
||||
data-v-6b8d4c30=""
|
||||
>
|
||||
<h2
|
||||
class="settings-section__name"
|
||||
data-v-5e563b2b=""
|
||||
>
|
||||
Calendar server
|
||||
<a
|
||||
aria-label="External documentation for Calendar server"
|
||||
class="settings-section__info"
|
||||
data-v-5e563b2b=""
|
||||
href="https://docs.nextcloud.com/server/31/go.php?to=user-sync-calendars"
|
||||
rel="noreferrer nofollow"
|
||||
target="_blank"
|
||||
title="External documentation for Calendar server"
|
||||
>
|
||||
<span
|
||||
aria-hidden="true"
|
||||
class="material-design-icon help-circle-icon"
|
||||
data-v-5e563b2b=""
|
||||
role="img"
|
||||
>
|
||||
<svg
|
||||
class="material-design-icon__svg"
|
||||
fill="currentColor"
|
||||
height="20"
|
||||
viewBox="0 0 24 24"
|
||||
width="20"
|
||||
>
|
||||
<path
|
||||
d="M15.07,11.25L14.17,12.17C13.45,12.89 13,13.5 13,15H11V14.5C11,13.39 11.45,12.39 12.17,11.67L13.41,10.41C13.78,10.05 14,9.55 14,9C14,7.89 13.1,7 12,7A2,2 0 0,0 10,9H8A4,4 0 0,1 12,5A4,4 0 0,1 16,9C16,9.88 15.64,10.67 15.07,11.25M13,19H11V17H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12C22,6.47 17.5,2 12,2Z"
|
||||
>
|
||||
<!---->
|
||||
</path>
|
||||
</svg>
|
||||
</span>
|
||||
</a>
|
||||
</h2>
|
||||
<!---->
|
||||
<p
|
||||
class="settings-hint"
|
||||
data-v-5e563b2b=""
|
||||
data-v-6b8d4c30=""
|
||||
>
|
||||
Also install the
|
||||
<a
|
||||
href="../apps/office/calendar"
|
||||
target="_blank"
|
||||
>
|
||||
Calendar app
|
||||
</a>
|
||||
, or
|
||||
<a
|
||||
href="https://docs.nextcloud.com/server/31/go.php?to=user-sync-calendars"
|
||||
rel="noreferrer noopener"
|
||||
target="_blank"
|
||||
>
|
||||
connect your desktop & mobile for syncing ↗
|
||||
</a>
|
||||
.
|
||||
</p>
|
||||
<p
|
||||
data-v-5e563b2b=""
|
||||
data-v-6b8d4c30=""
|
||||
>
|
||||
<span
|
||||
class="checkbox-radio-switch checkbox-radio-switch-switch checkbox-radio-switch--checked"
|
||||
data-v-2c897dd5=""
|
||||
data-v-5e563b2b=""
|
||||
data-v-6b8d4c30=""
|
||||
style="--icon-size: 36px; --icon-height: 16px;"
|
||||
>
|
||||
<input
|
||||
aria-labelledby="caldavSendInvitations-label"
|
||||
class="checkbox-radio-switch__input"
|
||||
data-v-2c897dd5=""
|
||||
id="caldavSendInvitations"
|
||||
type="checkbox"
|
||||
value=""
|
||||
/>
|
||||
<span
|
||||
class="checkbox-content checkbox-radio-switch__content checkbox-content-switch checkbox-content--has-text"
|
||||
data-v-2c897dd5=""
|
||||
data-v-3714b019=""
|
||||
id="caldavSendInvitations-label"
|
||||
>
|
||||
<span
|
||||
aria-hidden="true"
|
||||
class="checkbox-content__icon checkbox-content__icon--checked checkbox-radio-switch__icon"
|
||||
data-v-3714b019=""
|
||||
inert="inert"
|
||||
>
|
||||
<span
|
||||
aria-hidden="true"
|
||||
class="material-design-icon toggle-switch-icon"
|
||||
data-v-3714b019=""
|
||||
role="img"
|
||||
>
|
||||
<svg
|
||||
class="material-design-icon__svg"
|
||||
fill="currentColor"
|
||||
height="36"
|
||||
viewBox="0 0 24 24"
|
||||
width="36"
|
||||
>
|
||||
<path
|
||||
d="M17,7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7M17,15A3,3 0 0,1 14,12A3,3 0 0,1 17,9A3,3 0 0,1 20,12A3,3 0 0,1 17,15Z"
|
||||
>
|
||||
<!---->
|
||||
</path>
|
||||
</svg>
|
||||
</span>
|
||||
</span>
|
||||
<span
|
||||
class="checkbox-content__text checkbox-radio-switch__text"
|
||||
data-v-3714b019=""
|
||||
>
|
||||
Send invitations to attendees
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
<em
|
||||
data-v-5e563b2b=""
|
||||
data-v-6b8d4c30=""
|
||||
>
|
||||
Please make sure to properly set up
|
||||
<a
|
||||
href="../admin#mail_general_settings"
|
||||
>
|
||||
the email server
|
||||
</a>
|
||||
.
|
||||
</em>
|
||||
</p>
|
||||
<p
|
||||
data-v-5e563b2b=""
|
||||
data-v-6b8d4c30=""
|
||||
>
|
||||
<span
|
||||
class="checkbox-radio-switch checkbox checkbox-radio-switch-switch checkbox-radio-switch--checked"
|
||||
data-v-2c897dd5=""
|
||||
data-v-5e563b2b=""
|
||||
data-v-6b8d4c30=""
|
||||
style="--icon-size: 36px; --icon-height: 16px;"
|
||||
>
|
||||
<input
|
||||
aria-labelledby="caldavGenerateBirthdayCalendar-label"
|
||||
class="checkbox-radio-switch__input"
|
||||
data-v-2c897dd5=""
|
||||
id="caldavGenerateBirthdayCalendar"
|
||||
type="checkbox"
|
||||
value=""
|
||||
/>
|
||||
<span
|
||||
class="checkbox-content checkbox-radio-switch__content checkbox-content-switch checkbox-content--has-text"
|
||||
data-v-2c897dd5=""
|
||||
data-v-3714b019=""
|
||||
id="caldavGenerateBirthdayCalendar-label"
|
||||
>
|
||||
<span
|
||||
aria-hidden="true"
|
||||
class="checkbox-content__icon checkbox-content__icon--checked checkbox-radio-switch__icon"
|
||||
data-v-3714b019=""
|
||||
inert="inert"
|
||||
>
|
||||
<span
|
||||
aria-hidden="true"
|
||||
class="material-design-icon toggle-switch-icon"
|
||||
data-v-3714b019=""
|
||||
role="img"
|
||||
>
|
||||
<svg
|
||||
class="material-design-icon__svg"
|
||||
fill="currentColor"
|
||||
height="36"
|
||||
viewBox="0 0 24 24"
|
||||
width="36"
|
||||
>
|
||||
<path
|
||||
d="M17,7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7M17,15A3,3 0 0,1 14,12A3,3 0 0,1 17,9A3,3 0 0,1 20,12A3,3 0 0,1 17,15Z"
|
||||
>
|
||||
<!---->
|
||||
</path>
|
||||
</svg>
|
||||
</span>
|
||||
</span>
|
||||
<span
|
||||
class="checkbox-content__text checkbox-radio-switch__text"
|
||||
data-v-3714b019=""
|
||||
>
|
||||
Automatically generate a birthday calendar
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
<em
|
||||
data-v-5e563b2b=""
|
||||
data-v-6b8d4c30=""
|
||||
>
|
||||
Birthday calendars will be generated by a background job.
|
||||
</em>
|
||||
<br
|
||||
data-v-5e563b2b=""
|
||||
data-v-6b8d4c30=""
|
||||
/>
|
||||
<em
|
||||
data-v-5e563b2b=""
|
||||
data-v-6b8d4c30=""
|
||||
>
|
||||
Hence they will not be available immediately after enabling but will show up after some time.
|
||||
</em>
|
||||
</p>
|
||||
<p
|
||||
data-v-5e563b2b=""
|
||||
data-v-6b8d4c30=""
|
||||
>
|
||||
<span
|
||||
class="checkbox-radio-switch checkbox-radio-switch-switch checkbox-radio-switch--checked"
|
||||
data-v-2c897dd5=""
|
||||
data-v-5e563b2b=""
|
||||
data-v-6b8d4c30=""
|
||||
style="--icon-size: 36px; --icon-height: 16px;"
|
||||
>
|
||||
<input
|
||||
aria-labelledby="caldavSendEventReminders-label"
|
||||
class="checkbox-radio-switch__input"
|
||||
data-v-2c897dd5=""
|
||||
id="caldavSendEventReminders"
|
||||
type="checkbox"
|
||||
value=""
|
||||
/>
|
||||
<span
|
||||
class="checkbox-content checkbox-radio-switch__content checkbox-content-switch checkbox-content--has-text"
|
||||
data-v-2c897dd5=""
|
||||
data-v-3714b019=""
|
||||
id="caldavSendEventReminders-label"
|
||||
>
|
||||
<span
|
||||
aria-hidden="true"
|
||||
class="checkbox-content__icon checkbox-content__icon--checked checkbox-radio-switch__icon"
|
||||
data-v-3714b019=""
|
||||
inert="inert"
|
||||
>
|
||||
<span
|
||||
aria-hidden="true"
|
||||
class="material-design-icon toggle-switch-icon"
|
||||
data-v-3714b019=""
|
||||
role="img"
|
||||
>
|
||||
<svg
|
||||
class="material-design-icon__svg"
|
||||
fill="currentColor"
|
||||
height="36"
|
||||
viewBox="0 0 24 24"
|
||||
width="36"
|
||||
>
|
||||
<path
|
||||
d="M17,7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7M17,15A3,3 0 0,1 14,12A3,3 0 0,1 17,9A3,3 0 0,1 20,12A3,3 0 0,1 17,15Z"
|
||||
>
|
||||
<!---->
|
||||
</path>
|
||||
</svg>
|
||||
</span>
|
||||
</span>
|
||||
<span
|
||||
class="checkbox-content__text checkbox-radio-switch__text"
|
||||
data-v-3714b019=""
|
||||
>
|
||||
Send notifications for events
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
<em
|
||||
data-v-5e563b2b=""
|
||||
data-v-6b8d4c30=""
|
||||
>
|
||||
Please make sure to properly set up
|
||||
<a
|
||||
href="../admin#mail_general_settings"
|
||||
>
|
||||
the email server
|
||||
</a>
|
||||
.
|
||||
</em>
|
||||
<br
|
||||
data-v-5e563b2b=""
|
||||
data-v-6b8d4c30=""
|
||||
/>
|
||||
<em
|
||||
data-v-5e563b2b=""
|
||||
data-v-6b8d4c30=""
|
||||
>
|
||||
Notifications are sent via background jobs, so these must occur often enough.
|
||||
</em>
|
||||
</p>
|
||||
<p
|
||||
class="indented"
|
||||
data-v-5e563b2b=""
|
||||
data-v-6b8d4c30=""
|
||||
>
|
||||
<span
|
||||
class="checkbox-radio-switch checkbox-radio-switch-switch checkbox-radio-switch--checked"
|
||||
data-v-2c897dd5=""
|
||||
data-v-5e563b2b=""
|
||||
data-v-6b8d4c30=""
|
||||
style="--icon-size: 36px; --icon-height: 16px;"
|
||||
>
|
||||
<input
|
||||
aria-labelledby="caldavSendEventRemindersToSharedGroupMembers-label"
|
||||
class="checkbox-radio-switch__input"
|
||||
data-v-2c897dd5=""
|
||||
id="caldavSendEventRemindersToSharedGroupMembers"
|
||||
type="checkbox"
|
||||
value=""
|
||||
/>
|
||||
<span
|
||||
class="checkbox-content checkbox-radio-switch__content checkbox-content-switch checkbox-content--has-text"
|
||||
data-v-2c897dd5=""
|
||||
data-v-3714b019=""
|
||||
id="caldavSendEventRemindersToSharedGroupMembers-label"
|
||||
>
|
||||
<span
|
||||
aria-hidden="true"
|
||||
class="checkbox-content__icon checkbox-content__icon--checked checkbox-radio-switch__icon"
|
||||
data-v-3714b019=""
|
||||
inert="inert"
|
||||
>
|
||||
<span
|
||||
aria-hidden="true"
|
||||
class="material-design-icon toggle-switch-icon"
|
||||
data-v-3714b019=""
|
||||
role="img"
|
||||
>
|
||||
<svg
|
||||
class="material-design-icon__svg"
|
||||
fill="currentColor"
|
||||
height="36"
|
||||
viewBox="0 0 24 24"
|
||||
width="36"
|
||||
>
|
||||
<path
|
||||
d="M17,7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7M17,15A3,3 0 0,1 14,12A3,3 0 0,1 17,9A3,3 0 0,1 20,12A3,3 0 0,1 17,15Z"
|
||||
>
|
||||
<!---->
|
||||
</path>
|
||||
</svg>
|
||||
</span>
|
||||
</span>
|
||||
<span
|
||||
class="checkbox-content__text checkbox-radio-switch__text"
|
||||
data-v-3714b019=""
|
||||
>
|
||||
Send reminder notifications to calendar sharees as well
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
<em
|
||||
data-v-5e563b2b=""
|
||||
data-v-6b8d4c30=""
|
||||
>
|
||||
Reminders are always sent to organizers and attendees.
|
||||
</em>
|
||||
</p>
|
||||
<p
|
||||
class="indented"
|
||||
data-v-5e563b2b=""
|
||||
data-v-6b8d4c30=""
|
||||
>
|
||||
<span
|
||||
class="checkbox-radio-switch checkbox-radio-switch-switch checkbox-radio-switch--checked"
|
||||
data-v-2c897dd5=""
|
||||
data-v-5e563b2b=""
|
||||
data-v-6b8d4c30=""
|
||||
style="--icon-size: 36px; --icon-height: 16px;"
|
||||
>
|
||||
<input
|
||||
aria-labelledby="caldavSendEventRemindersPush-label"
|
||||
class="checkbox-radio-switch__input"
|
||||
data-v-2c897dd5=""
|
||||
id="caldavSendEventRemindersPush"
|
||||
type="checkbox"
|
||||
value=""
|
||||
/>
|
||||
<span
|
||||
class="checkbox-content checkbox-radio-switch__content checkbox-content-switch checkbox-content--has-text"
|
||||
data-v-2c897dd5=""
|
||||
data-v-3714b019=""
|
||||
id="caldavSendEventRemindersPush-label"
|
||||
>
|
||||
<span
|
||||
aria-hidden="true"
|
||||
class="checkbox-content__icon checkbox-content__icon--checked checkbox-radio-switch__icon"
|
||||
data-v-3714b019=""
|
||||
inert="inert"
|
||||
>
|
||||
<span
|
||||
aria-hidden="true"
|
||||
class="material-design-icon toggle-switch-icon"
|
||||
data-v-3714b019=""
|
||||
role="img"
|
||||
>
|
||||
<svg
|
||||
class="material-design-icon__svg"
|
||||
fill="currentColor"
|
||||
height="36"
|
||||
viewBox="0 0 24 24"
|
||||
width="36"
|
||||
>
|
||||
<path
|
||||
d="M17,7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7M17,15A3,3 0 0,1 14,12A3,3 0 0,1 17,9A3,3 0 0,1 20,12A3,3 0 0,1 17,15Z"
|
||||
>
|
||||
<!---->
|
||||
</path>
|
||||
</svg>
|
||||
</span>
|
||||
</span>
|
||||
<span
|
||||
class="checkbox-content__text checkbox-radio-switch__text"
|
||||
data-v-3714b019=""
|
||||
>
|
||||
Enable notifications for events via push
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
@ -1,2 +0,0 @@
|
||||
SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
|
||||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
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
@ -1,2 +1,2 @@
|
||||
"use strict";(globalThis.webpackChunknextcloud=globalThis.webpackChunknextcloud||[]).push([[3179],{73179:(e,t,n)=>{n.d(t,{default:()=>x});var o=n(85471),i=n(21777),r=n(53334),s=n(3226),a=n(77764);const l=(0,o.pM)({__name:"FilesHeaderNoteToRecipient",setup(e,{expose:t}){const n=(0,o.KR)(),l=(0,o.EW)((()=>n.value?.attributes.note??"")),d=(0,o.EW)((()=>n.value?.attributes["owner-display-name"]??"")),p=(0,o.EW)((()=>{const e=n.value?.owner;return e!==(0,i.HW)()?.uid?{id:e,displayName:d.value}:null}));function c(e){n.value=e}return t({updateFolder:c}),{__sfc:!0,folder:n,note:l,displayName:d,user:p,updateFolder:c,t:r.t,NcNoteCard:s.A,NcUserBubble:a.A}}});var d=n(85072),p=n.n(d),c=n(97825),u=n.n(c),A=n(77659),m=n.n(A),f=n(55056),_=n.n(f),h=n(10540),v=n.n(h),C=n(41113),N=n.n(C),g=n(96921),b={};b.styleTagTransform=N(),b.setAttributes=_(),b.insert=m().bind(null,"head"),b.domAPI=u(),b.insertStyleElement=v(),p()(g.A,b),g.A&&g.A.locals&&g.A.locals;const x=(0,n(14486).A)(l,(function(){var e=this,t=e._self._c,n=e._self._setupProxy;return n.note.length>0?t(n.NcNoteCard,{staticClass:"note-to-recipient",attrs:{type:"info"}},[n.displayName?t("p",{staticClass:"note-to-recipient__heading"},[e._v("\n\t\t"+e._s(n.t("files_sharing","Note from"))+"\n\t\t"),t(n.NcUserBubble,{attrs:{user:n.user.id,"display-name":n.user.displayName}})],1):t("p",{staticClass:"note-to-recipient__heading"},[e._v("\n\t\t"+e._s(n.t("files_sharing","Note:"))+"\n\t")]),e._v(" "),t("p",{staticClass:"note-to-recipient__text",domProps:{textContent:e._s(n.note)}})]):e._e()}),[],!1,null,"940664e0",null).exports},96921:(e,t,n)=>{n.d(t,{A:()=>a});var o=n(71354),i=n.n(o),r=n(76314),s=n.n(r)()(i());s.push([e.id,"\n.note-to-recipient[data-v-940664e0] {\n\tmargin-inline: var(--row-height)\n}\n.note-to-recipient__text[data-v-940664e0] {\n\t/* respect new lines */\n\twhite-space: pre-line;\n}\n.note-to-recipient__heading[data-v-940664e0] {\n\tfont-weight: bold;\n}\n@media screen and (max-width: 512px) {\n.note-to-recipient[data-v-940664e0] {\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:["\x3c!--\n - SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n--\x3e\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=\"displayName\" 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 displayName = computed<string>(() => folder.value?.attributes['owner-display-name'] ?? '')\nconst user = computed(() => {\n\tconst id = folder.value?.owner\n\tif (id !== getCurrentUser()?.uid) {\n\t\treturn {\n\t\t\tid,\n\t\t\tdisplayName: displayName.value,\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:""}]);const a=s}}]);
|
||||
//# sourceMappingURL=3179-3179.js.map?v=49837ebceef10acc6844
|
||||
"use strict";(globalThis.webpackChunknextcloud=globalThis.webpackChunknextcloud||[]).push([[3179],{73179:(e,t,n)=>{n.d(t,{default:()=>x});var o=n(85471),i=n(21777),r=n(53334),s=n(31133),a=n(77764);const l=(0,o.pM)({__name:"FilesHeaderNoteToRecipient",setup(e,{expose:t}){const n=(0,o.KR)(),l=(0,o.EW)((()=>n.value?.attributes.note??"")),d=(0,o.EW)((()=>n.value?.attributes["owner-display-name"]??"")),p=(0,o.EW)((()=>{const e=n.value?.owner;return e!==(0,i.HW)()?.uid?{id:e,displayName:d.value}:null}));function c(e){n.value=e}return t({updateFolder:c}),{__sfc:!0,folder:n,note:l,displayName:d,user:p,updateFolder:c,t:r.t,NcNoteCard:s.A,NcUserBubble:a.A}}});var d=n(85072),p=n.n(d),c=n(97825),u=n.n(c),A=n(77659),m=n.n(A),f=n(55056),_=n.n(f),h=n(10540),v=n.n(h),C=n(41113),N=n.n(C),g=n(96921),b={};b.styleTagTransform=N(),b.setAttributes=_(),b.insert=m().bind(null,"head"),b.domAPI=u(),b.insertStyleElement=v(),p()(g.A,b),g.A&&g.A.locals&&g.A.locals;const x=(0,n(14486).A)(l,(function(){var e=this,t=e._self._c,n=e._self._setupProxy;return n.note.length>0?t(n.NcNoteCard,{staticClass:"note-to-recipient",attrs:{type:"info"}},[n.displayName?t("p",{staticClass:"note-to-recipient__heading"},[e._v("\n\t\t"+e._s(n.t("files_sharing","Note from"))+"\n\t\t"),t(n.NcUserBubble,{attrs:{user:n.user.id,"display-name":n.user.displayName}})],1):t("p",{staticClass:"note-to-recipient__heading"},[e._v("\n\t\t"+e._s(n.t("files_sharing","Note:"))+"\n\t")]),e._v(" "),t("p",{staticClass:"note-to-recipient__text",domProps:{textContent:e._s(n.note)}})]):e._e()}),[],!1,null,"940664e0",null).exports},96921:(e,t,n)=>{n.d(t,{A:()=>a});var o=n(71354),i=n.n(o),r=n(76314),s=n.n(r)()(i());s.push([e.id,"\n.note-to-recipient[data-v-940664e0] {\n\tmargin-inline: var(--row-height)\n}\n.note-to-recipient__text[data-v-940664e0] {\n\t/* respect new lines */\n\twhite-space: pre-line;\n}\n.note-to-recipient__heading[data-v-940664e0] {\n\tfont-weight: bold;\n}\n@media screen and (max-width: 512px) {\n.note-to-recipient[data-v-940664e0] {\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:["\x3c!--\n - SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n--\x3e\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=\"displayName\" 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 displayName = computed<string>(() => folder.value?.attributes['owner-display-name'] ?? '')\nconst user = computed(() => {\n\tconst id = folder.value?.owner\n\tif (id !== getCurrentUser()?.uid) {\n\t\treturn {\n\t\t\tid,\n\t\t\tdisplayName: displayName.value,\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:""}]);const a=s}}]);
|
||||
//# sourceMappingURL=3179-3179.js.map?v=28ce3eaac484e5bc9551
|
||||
File diff suppressed because one or more lines are too long
@ -1,2 +1,2 @@
|
||||
"use strict";(globalThis.webpackChunknextcloud=globalThis.webpackChunknextcloud||[]).push([[3564],{83564:(t,e,a)=>{a.r(e),a.d(e,{default:()=>b});var n=a(85471),i=a(80474),s=a(21777),r=a(85168),o=a(94219),l=a(3226),c=a(82182),u=a(93095),m=a(35810);const d=(0,i.c0)("public").build(),p=(0,n.pM)({name:"PublicAuthPrompt",components:{NcDialog:o.A,NcNoteCard:l.A,NcTextField:c.A},props:{nickname:{type:String,default:""},title:{type:String,default:(0,u.t)("Guest identification")},text:{type:String,default:""},notice:{type:String,default:""},submitLabel:{type:String,default:(0,u.t)("Submit name")},cancellable:{type:Boolean,default:!1}},setup:()=>({t:u.t}),emits:["close"],data:()=>({name:""}),computed:{dialogButtons(){const t={label:(0,u.t)("Cancel"),variant:"tertiary",callback:()=>this.$emit("close")},e={label:this.submitLabel,type:"submit",variant:"primary"};return this.cancellable?[t,e]:[e]},defaultNotice(){return this.notice?this.notice:this.nickname?(0,u.t)("You are currently identified as {nickname}.",{nickname:this.nickname}):(0,u.t)("You are currently not identified.")}},watch:{nickname:{handler(){this.name=this.nickname},immediate:!0},name(){const t=this.name.trim?.()||"",e=this.$refs.input?.$el.querySelector("input");if(!e)return;const a=function(t){if(""===t.trim())return(0,u.t)("Names must not be empty.");if(t.startsWith("."))return(0,u.t)("Names must not start with a dot.");if(t.length>64)return(0,u.t)("Names may be at most 64 characters long.");try{return(0,m.KT)(t),""}catch(t){if(!(t instanceof m.di))throw t;switch(t.reason){case m.nF.Character:return(0,u.t)('"{char}" is not allowed inside a name.',{char:t.segment});case m.nF.ReservedName:return(0,u.t)('"{segment}" is a reserved name and not allowed.',{segment:t.segment});case m.nF.Extension:return t.segment.match(/\.[a-z]/i)?(0,u.t)('"{extension}" is not an allowed name.',{extension:t.segment}):(0,u.t)('Names must not end with "{extension}".',{extension:t.segment});default:return(0,u.t)("Invalid name.")}}}(t);e.setCustomValidity(a),e.reportValidity()}},methods:{onSubmit(){const t=this.$refs.input,e=this.name.trim();if(""===e)return t.setCustomValidity((0,u.t)("You cannot leave the name empty.")),t.reportValidity(),void t.focus();if(e.length<2)return t.setCustomValidity((0,u.t)("Please enter a name with at least 2 characters.")),t.reportValidity(),void t.focus();try{(0,s.L$)(e)}catch(e){return(0,r.Qg)((0,u.t)("Failed to set nickname.")),console.error("Failed to set nickname",e),void t.focus()}d.setItem("public-auth-prompt-shown","true"),this.$emit("close",this.name)}}});var h=function(){var t=this,e=t._self._c;return t._self._setupProxy,e("NcDialog",{staticClass:"public-auth-prompt",attrs:{buttons:t.dialogButtons,"data-cy-public-auth-prompt-dialog":"","is-form":"","no-close":"",name:t.title},on:{submit:t.onSubmit}},[t.text?e("p",{staticClass:"public-auth-prompt__text"},[t._v(" "+t._s(t.text)+" ")]):t._e(),e("NcNoteCard",{staticClass:"public-auth-prompt__header",attrs:{text:t.defaultNotice,type:"info"}}),e("NcTextField",{ref:"input",staticClass:"public-auth-prompt__input",attrs:{"data-cy-public-auth-prompt-dialog-name":"",label:t.t("Name"),placeholder:t.t("Enter your name"),required:!t.cancellable,minlength:"2",maxlength:"64",name:"name"},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}})],1)},f=[];const b=(0,u.n)(p,h,f,!1,null,"414f7090").exports}}]);
|
||||
//# sourceMappingURL=3564-3564.js.map?v=e3744b6f0c3d7a0213b3
|
||||
"use strict";(globalThis.webpackChunknextcloud=globalThis.webpackChunknextcloud||[]).push([[3564],{83564:(t,e,a)=>{a.r(e),a.d(e,{default:()=>b});var n=a(85471),i=a(80474),s=a(21777),r=a(85168),o=a(94219),l=a(31133),c=a(82182),u=a(93095),m=a(35810);const d=(0,i.c0)("public").build(),p=(0,n.pM)({name:"PublicAuthPrompt",components:{NcDialog:o.A,NcNoteCard:l.A,NcTextField:c.A},props:{nickname:{type:String,default:""},title:{type:String,default:(0,u.t)("Guest identification")},text:{type:String,default:""},notice:{type:String,default:""},submitLabel:{type:String,default:(0,u.t)("Submit name")},cancellable:{type:Boolean,default:!1}},setup:()=>({t:u.t}),emits:["close"],data:()=>({name:""}),computed:{dialogButtons(){const t={label:(0,u.t)("Cancel"),variant:"tertiary",callback:()=>this.$emit("close")},e={label:this.submitLabel,type:"submit",variant:"primary"};return this.cancellable?[t,e]:[e]},defaultNotice(){return this.notice?this.notice:this.nickname?(0,u.t)("You are currently identified as {nickname}.",{nickname:this.nickname}):(0,u.t)("You are currently not identified.")}},watch:{nickname:{handler(){this.name=this.nickname},immediate:!0},name(){const t=this.name.trim?.()||"",e=this.$refs.input?.$el.querySelector("input");if(!e)return;const a=function(t){if(""===t.trim())return(0,u.t)("Names must not be empty.");if(t.startsWith("."))return(0,u.t)("Names must not start with a dot.");if(t.length>64)return(0,u.t)("Names may be at most 64 characters long.");try{return(0,m.KT)(t),""}catch(t){if(!(t instanceof m.di))throw t;switch(t.reason){case m.nF.Character:return(0,u.t)('"{char}" is not allowed inside a name.',{char:t.segment});case m.nF.ReservedName:return(0,u.t)('"{segment}" is a reserved name and not allowed.',{segment:t.segment});case m.nF.Extension:return t.segment.match(/\.[a-z]/i)?(0,u.t)('"{extension}" is not an allowed name.',{extension:t.segment}):(0,u.t)('Names must not end with "{extension}".',{extension:t.segment});default:return(0,u.t)("Invalid name.")}}}(t);e.setCustomValidity(a),e.reportValidity()}},methods:{onSubmit(){const t=this.$refs.input,e=this.name.trim();if(""===e)return t.setCustomValidity((0,u.t)("You cannot leave the name empty.")),t.reportValidity(),void t.focus();if(e.length<2)return t.setCustomValidity((0,u.t)("Please enter a name with at least 2 characters.")),t.reportValidity(),void t.focus();try{(0,s.L$)(e)}catch(e){return(0,r.Qg)((0,u.t)("Failed to set nickname.")),console.error("Failed to set nickname",e),void t.focus()}d.setItem("public-auth-prompt-shown","true"),this.$emit("close",this.name)}}});var h=function(){var t=this,e=t._self._c;return t._self._setupProxy,e("NcDialog",{staticClass:"public-auth-prompt",attrs:{buttons:t.dialogButtons,"data-cy-public-auth-prompt-dialog":"","is-form":"","no-close":"",name:t.title},on:{submit:t.onSubmit}},[t.text?e("p",{staticClass:"public-auth-prompt__text"},[t._v(" "+t._s(t.text)+" ")]):t._e(),e("NcNoteCard",{staticClass:"public-auth-prompt__header",attrs:{text:t.defaultNotice,type:"info"}}),e("NcTextField",{ref:"input",staticClass:"public-auth-prompt__input",attrs:{"data-cy-public-auth-prompt-dialog-name":"",label:t.t("Name"),placeholder:t.t("Enter your name"),required:!t.cancellable,minlength:"2",maxlength:"64",name:"name"},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}})],1)},f=[];const b=(0,u.n)(p,h,f,!1,null,"414f7090").exports}}]);
|
||||
//# sourceMappingURL=3564-3564.js.map?v=1f97cb34040f17de0c20
|
||||
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
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
"use strict";(globalThis.webpackChunknextcloud=globalThis.webpackChunknextcloud||[]).push([[4508],{64508:(e,r,i)=>{i.r(r),i.d(r,{NcCustomPickerRenderResult:()=>t.N,NcReferenceList:()=>c.a,NcReferencePicker:()=>d.e,NcReferencePickerModal:()=>d.f,NcReferenceWidget:()=>d.N,NcRichText:()=>c.N,NcSearch:()=>d.h,anyLinkProviderId:()=>d.a,default:()=>c.N,getLinkWithPicker:()=>d.g,getProvider:()=>d.b,getProviders:()=>d.c,isCustomPickerElementRegistered:()=>t.d,isWidgetRegistered:()=>t.i,registerCustomPickerElement:()=>t.b,registerWidget:()=>t.r,renderCustomPickerElement:()=>t.c,renderWidget:()=>t.a,searchProvider:()=>d.d,sortProviders:()=>d.s});var c=i(93364),t=i(58322),d=i(90912)}}]);
|
||||
"use strict";(globalThis.webpackChunknextcloud=globalThis.webpackChunknextcloud||[]).push([[4508],{64508:(e,r,i)=>{i.r(r),i.d(r,{NcCustomPickerRenderResult:()=>s.N,NcReferenceList:()=>c.a,NcReferencePicker:()=>t.N,NcReferencePickerModal:()=>t.e,NcReferenceWidget:()=>t.f,NcRichText:()=>c.N,NcSearch:()=>t.h,anyLinkProviderId:()=>t.a,default:()=>c.N,getLinkWithPicker:()=>t.g,getProvider:()=>t.b,getProviders:()=>t.c,isCustomPickerElementRegistered:()=>s.c,isWidgetRegistered:()=>s.i,registerCustomPickerElement:()=>s.e,registerWidget:()=>s.r,renderCustomPickerElement:()=>s.f,renderWidget:()=>s.a,searchProvider:()=>t.s,sortProviders:()=>t.d});var c=i(88612),t=i(5513),s=i(52781)}}]);
|
||||
@ -1 +1 @@
|
||||
"use strict";(globalThis.webpackChunknextcloud=globalThis.webpackChunknextcloud||[]).push([[5528],{95528:(e,l,u)=>{u.r(l),u.d(l,{NcAutoCompleteResult:()=>a.N,NcMentionBubble:()=>t.N,default:()=>a.a});var t=u(64906),a=u(62328)}}]);
|
||||
"use strict";(globalThis.webpackChunknextcloud=globalThis.webpackChunknextcloud||[]).push([[5528],{95528:(e,l,u)=>{u.r(l),u.d(l,{NcAutoCompleteResult:()=>a.N,NcMentionBubble:()=>t.N,default:()=>a.a});var t=u(36079),a=u(18853)}}]);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,2 +1,2 @@
|
||||
"use strict";(globalThis.webpackChunknextcloud=globalThis.webpackChunknextcloud||[]).push([[6127],{36127:(e,t,a)=>{a.r(t),a.d(t,{default:()=>k});var n=a(85471),i=a(32981),s=a(53334),l=a(94219),r=a(3226),o=a(82182),u=a(35810);const c=(0,n.pM)({name:"PublicAuthPrompt",components:{NcDialog:l.A,NcNoteCard:r.A,NcTextField:o.A},props:{nickname:{type:String,default:""}},setup:()=>({t:s.t,owner:(0,i.C)("files_sharing","owner",""),ownerDisplayName:(0,i.C)("files_sharing","ownerDisplayName",""),label:(0,i.C)("files_sharing","label",""),note:(0,i.C)("files_sharing","note",""),filename:(0,i.C)("files_sharing","filename","")}),data:()=>({name:""}),computed:{dialogName(){return this.t("files_sharing","Upload files to {folder}",{folder:this.label||this.filename})},dialogButtons:()=>[{label:(0,s.t)("files_sharing","Submit name"),type:"primary",nativeType:"submit"}]},watch:{nickname:{handler(){this.name=this.nickname},immediate:!0},name(){const e=this.name.trim?.()||"",t=this.$refs.input?.$el.querySelector("input");if(!t)return;const a=function(e,t=!1){if(""===e.trim())return(0,s.t)("files","Filename must not be empty.");if(e.startsWith("."))return(0,s.t)("files","Names must not start with a dot.");try{return(0,u.KT)(e),""}catch(e){if(!(e instanceof u.di))throw e;switch(e.reason){case u.nF.Character:return(0,s.t)("files",'"{char}" is not allowed inside a name.',{char:e.segment},void 0,{escape:t});case u.nF.ReservedName:return(0,s.t)("files",'"{segment}" is a reserved name and not allowed.',{segment:e.segment},void 0,{escape:!1});case u.nF.Extension:return e.segment.match(/\.[a-z]/i)?(0,s.t)("files",'"{extension}" is not an allowed name.',{extension:e.segment},void 0,{escape:!1}):(0,s.t)("files",'Names must not end with "{extension}".',{extension:e.segment},void 0,{escape:!1});default:return(0,s.t)("files","Invalid name.")}}}(e);t.setCustomValidity(a),t.reportValidity()}}});var m=a(85072),d=a.n(m),p=a(97825),h=a.n(p),f=a(77659),b=a.n(f),g=a(55056),_=a.n(g),A=a(10540),v=a.n(A),C=a(41113),y=a.n(C),w=a(95556),N={};N.styleTagTransform=y(),N.setAttributes=_(),N.insert=b().bind(null,"head"),N.domAPI=h(),N.insertStyleElement=v(),d()(w.A,N),w.A&&w.A.locals&&w.A.locals;const k=(0,a(14486).A)(c,(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("NcDialog",{staticClass:"public-auth-prompt",attrs:{buttons:e.dialogButtons,"data-cy-public-auth-prompt-dialog":"","is-form":"","can-close":!1,name:e.dialogName},on:{submit:function(t){return e.$emit("close",e.name)}}},[e.owner?t("p",{staticClass:"public-auth-prompt__subtitle"},[e._v("\n\t\t"+e._s(e.t("files_sharing","{ownerDisplayName} shared a folder with you.",{ownerDisplayName:e.ownerDisplayName}))+"\n\t")]):e._e(),e._v(" "),t("NcNoteCard",{staticClass:"public-auth-prompt__header",attrs:{text:e.t("files_sharing","To upload files, you need to provide your name first."),type:"info"}}),e._v(" "),t("NcTextField",{ref:"input",staticClass:"public-auth-prompt__input",attrs:{"data-cy-public-auth-prompt-dialog-name":"",label:e.t("files_sharing","Name"),placeholder:e.t("files_sharing","Enter your name"),minlength:"2",name:"name",required:"",value:e.name},on:{"update:value":function(t){e.name=t}}})],1)}),[],!1,null,"47b67b1d",null).exports},95556:(e,t,a)=>{a.d(t,{A:()=>r});var n=a(71354),i=a.n(n),s=a(76314),l=a.n(s)()(i());l.push([e.id,".public-auth-prompt__subtitle[data-v-47b67b1d]{font-size:1.25em;margin-block:0 calc(3*var(--default-grid-baseline))}.public-auth-prompt__header[data-v-47b67b1d]{margin-block:0 calc(3*var(--default-grid-baseline))}.public-auth-prompt__input[data-v-47b67b1d]{margin-block:calc(4*var(--default-grid-baseline)) calc(2*var(--default-grid-baseline))}","",{version:3,sources:["webpack://./apps/files_sharing/src/views/PublicAuthPrompt.vue"],names:[],mappings:"AAEC,+CAEC,gBAAA,CACA,mDAAA,CAGD,6CACC,mDAAA,CAGD,4CACC,sFAAA",sourcesContent:["\n.public-auth-prompt {\n\t&__subtitle {\n\t\t// Smaller than dialog title\n\t\tfont-size: 1.25em;\n\t\tmargin-block: 0 calc(3 * var(--default-grid-baseline));\n\t}\n\n\t&__header {\n\t\tmargin-block: 0 calc(3 * var(--default-grid-baseline));\n\t}\n\n\t&__input {\n\t\tmargin-block: calc(4 * var(--default-grid-baseline)) calc(2 * var(--default-grid-baseline));\n\t}\n}\n"],sourceRoot:""}]);const r=l}}]);
|
||||
//# sourceMappingURL=6127-6127.js.map?v=fb3f9673841c08ef6168
|
||||
"use strict";(globalThis.webpackChunknextcloud=globalThis.webpackChunknextcloud||[]).push([[6127],{36127:(e,t,a)=>{a.r(t),a.d(t,{default:()=>k});var n=a(85471),i=a(32981),s=a(53334),l=a(94219),r=a(31133),o=a(82182),u=a(35810);const c=(0,n.pM)({name:"PublicAuthPrompt",components:{NcDialog:l.A,NcNoteCard:r.A,NcTextField:o.A},props:{nickname:{type:String,default:""}},setup:()=>({t:s.t,owner:(0,i.C)("files_sharing","owner",""),ownerDisplayName:(0,i.C)("files_sharing","ownerDisplayName",""),label:(0,i.C)("files_sharing","label",""),note:(0,i.C)("files_sharing","note",""),filename:(0,i.C)("files_sharing","filename","")}),data:()=>({name:""}),computed:{dialogName(){return this.t("files_sharing","Upload files to {folder}",{folder:this.label||this.filename})},dialogButtons:()=>[{label:(0,s.t)("files_sharing","Submit name"),type:"primary",nativeType:"submit"}]},watch:{nickname:{handler(){this.name=this.nickname},immediate:!0},name(){const e=this.name.trim?.()||"",t=this.$refs.input?.$el.querySelector("input");if(!t)return;const a=function(e,t=!1){if(""===e.trim())return(0,s.t)("files","Filename must not be empty.");if(e.startsWith("."))return(0,s.t)("files","Names must not start with a dot.");try{return(0,u.KT)(e),""}catch(e){if(!(e instanceof u.di))throw e;switch(e.reason){case u.nF.Character:return(0,s.t)("files",'"{char}" is not allowed inside a name.',{char:e.segment},void 0,{escape:t});case u.nF.ReservedName:return(0,s.t)("files",'"{segment}" is a reserved name and not allowed.',{segment:e.segment},void 0,{escape:!1});case u.nF.Extension:return e.segment.match(/\.[a-z]/i)?(0,s.t)("files",'"{extension}" is not an allowed name.',{extension:e.segment},void 0,{escape:!1}):(0,s.t)("files",'Names must not end with "{extension}".',{extension:e.segment},void 0,{escape:!1});default:return(0,s.t)("files","Invalid name.")}}}(e);t.setCustomValidity(a),t.reportValidity()}}});var m=a(85072),d=a.n(m),p=a(97825),h=a.n(p),f=a(77659),b=a.n(f),g=a(55056),_=a.n(g),A=a(10540),v=a.n(A),C=a(41113),y=a.n(C),w=a(95556),N={};N.styleTagTransform=y(),N.setAttributes=_(),N.insert=b().bind(null,"head"),N.domAPI=h(),N.insertStyleElement=v(),d()(w.A,N),w.A&&w.A.locals&&w.A.locals;const k=(0,a(14486).A)(c,(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("NcDialog",{staticClass:"public-auth-prompt",attrs:{buttons:e.dialogButtons,"data-cy-public-auth-prompt-dialog":"","is-form":"","can-close":!1,name:e.dialogName},on:{submit:function(t){return e.$emit("close",e.name)}}},[e.owner?t("p",{staticClass:"public-auth-prompt__subtitle"},[e._v("\n\t\t"+e._s(e.t("files_sharing","{ownerDisplayName} shared a folder with you.",{ownerDisplayName:e.ownerDisplayName}))+"\n\t")]):e._e(),e._v(" "),t("NcNoteCard",{staticClass:"public-auth-prompt__header",attrs:{text:e.t("files_sharing","To upload files, you need to provide your name first."),type:"info"}}),e._v(" "),t("NcTextField",{ref:"input",staticClass:"public-auth-prompt__input",attrs:{"data-cy-public-auth-prompt-dialog-name":"",label:e.t("files_sharing","Name"),placeholder:e.t("files_sharing","Enter your name"),minlength:"2",name:"name",required:"",value:e.name},on:{"update:value":function(t){e.name=t}}})],1)}),[],!1,null,"47b67b1d",null).exports},95556:(e,t,a)=>{a.d(t,{A:()=>r});var n=a(71354),i=a.n(n),s=a(76314),l=a.n(s)()(i());l.push([e.id,".public-auth-prompt__subtitle[data-v-47b67b1d]{font-size:1.25em;margin-block:0 calc(3*var(--default-grid-baseline))}.public-auth-prompt__header[data-v-47b67b1d]{margin-block:0 calc(3*var(--default-grid-baseline))}.public-auth-prompt__input[data-v-47b67b1d]{margin-block:calc(4*var(--default-grid-baseline)) calc(2*var(--default-grid-baseline))}","",{version:3,sources:["webpack://./apps/files_sharing/src/views/PublicAuthPrompt.vue"],names:[],mappings:"AAEC,+CAEC,gBAAA,CACA,mDAAA,CAGD,6CACC,mDAAA,CAGD,4CACC,sFAAA",sourcesContent:["\n.public-auth-prompt {\n\t&__subtitle {\n\t\t// Smaller than dialog title\n\t\tfont-size: 1.25em;\n\t\tmargin-block: 0 calc(3 * var(--default-grid-baseline));\n\t}\n\n\t&__header {\n\t\tmargin-block: 0 calc(3 * var(--default-grid-baseline));\n\t}\n\n\t&__input {\n\t\tmargin-block: calc(4 * var(--default-grid-baseline)) calc(2 * var(--default-grid-baseline));\n\t}\n}\n"],sourceRoot:""}]);const r=l}}]);
|
||||
//# sourceMappingURL=6127-6127.js.map?v=897885a92f6c3150bc3d
|
||||
File diff suppressed because one or more lines are too long
@ -1,2 +1,2 @@
|
||||
"use strict";(globalThis.webpackChunknextcloud=globalThis.webpackChunknextcloud||[]).push([[6590],{66590:(e,t,a)=>{a.r(t),a.d(t,{default:()=>_});var n=a(85072),i=a.n(n),r=a(97825),s=a.n(r),l=a(77659),o=a.n(l),d=a(55056),c=a.n(d),m=a(10540),u=a.n(m),h=a(41113),p=a.n(h),g=a(69905),f={};f.styleTagTransform=p(),f.setAttributes=c(),f.insert=o().bind(null,"head"),f.domAPI=s(),f.insertStyleElement=u(),i()(g.A,f),g.A&&g.A.locals&&g.A.locals;var v=a(35810),w=a(85471),b=a(90231),E=a(94219),A=a(82182),N=a(3226);const y=(0,w.pM)({components:{NcDialog:E.A,NcNoteCard:N.A,NcTextField:A.A},props:{error:{type:v.di,required:!0},validateFilename:{type:Function,required:!0}},setup:()=>({t:b.t}),data:()=>({newName:"",validationError:""}),computed:{isValidName(){return""===this.validationError},isInvalidFileType(){return this.error.reason===v.nF.Extension&&null!==this.error.segment.match(/^\.\w/)},canRename(){return!this.isInvalidFileType},dialogButtons(){const e=[{label:(0,b.t)("Cancel"),type:"error",callback:()=>{this.$emit("close",{cancel:!0})}},{label:(0,b.t)("Skip"),callback:()=>{this.$emit("close",{skip:!0})}}];return this.canRename&&e.push({label:(0,b.t)("Rename"),type:"primary",disabled:!this.isValidName,callback:()=>{this.$emit("close",{rename:this.newName.trimEnd()})}}),e}},watch:{error:{handler(){this.validationError=this.getErrorText(this.error),this.newName=this.error.filename},immediate:!0},newName(){try{this.validateFilename(this.newName.trimEnd()),this.validationError=""}catch(e){this.validationError=this.getErrorText(e)}finally{const e=this.$refs.textfield?.$el.querySelector("input");e&&(e.setCustomValidity(this.validationError),e.reportValidity())}}},methods:{getErrorText(e){switch(e.reason){case v.nF.Character:return(0,b.t)('"{segment}" is not allowed inside a file or folder name.',{segment:e.segment});case v.nF.ReservedName:return(0,b.t)('"{segment}" is a forbidden file or folder name.',{segment:e.segment});case v.nF.Extension:return e.segment.match(/\.\w/)?(0,b.t)('"{segment}" is a forbidden file type.',{segment:e.segment}):(0,b.t)('Filenames must not end with "{segment}".',{segment:e.segment})}}}});var x=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("NcDialog",{attrs:{buttons:e.dialogButtons,name:e.t("Invalid filename")},on:{close:function(t){return e.$emit("close",{cancel:!0})}}},[t("NcNoteCard",{attrs:{severity:"error"}},[e._v(" "+e._s(e.getErrorText(e.error))+" "+e._s(e.t("You can either rename the file, skip this file or cancel the whole operation."))+" ")]),e.canRename?t("NcTextField",{ref:"textfield",staticClass:"invalid-filename-dialog__input",attrs:{error:!e.isValidName,"helper-text":e.validationError,label:e.t("New filename"),value:e.newName},on:{"update:value":function(t){e.newName=t}}}):e._e()],1)},C=[];const _=(0,b.n)(y,x,C,!1,null,"9d7d9a49").exports},69905:(e,t,a)=>{a.d(t,{A:()=>l});var n=a(71354),i=a.n(n),r=a(76314),s=a.n(r)()(i());s.push([e.id,"\n.invalid-filename-dialog__input[data-v-9d7d9a49] {\n\t/* Ensure the helper text can always be shown without jumping */\n\tmin-height: calc(var(--default-clickable-area) + 4 * var(--default-font-size));\n}\n","",{version:3,sources:["webpack://./node_modules/@nextcloud/upload/dist/assets/InvalidFilenameDialog-DKMLP0ER.css"],names:[],mappings:";AACA;CACC,+DAA+D;CAC/D,8EAA8E;AAC/E",sourcesContent:["\n.invalid-filename-dialog__input[data-v-9d7d9a49] {\n\t/* Ensure the helper text can always be shown without jumping */\n\tmin-height: calc(var(--default-clickable-area) + 4 * var(--default-font-size));\n}\n"],sourceRoot:""}]);const l=s}}]);
|
||||
//# sourceMappingURL=6590-6590.js.map?v=06353ef2f8da0b5d0c49
|
||||
"use strict";(globalThis.webpackChunknextcloud=globalThis.webpackChunknextcloud||[]).push([[6590],{11352:(e,t,a)=>{a.r(t),a.d(t,{default:()=>_});var n=a(85072),i=a.n(n),r=a(97825),s=a.n(r),l=a(77659),o=a.n(l),d=a(55056),c=a.n(d),m=a(10540),u=a.n(m),h=a(41113),p=a.n(h),g=a(69905),f={};f.styleTagTransform=p(),f.setAttributes=c(),f.insert=o().bind(null,"head"),f.domAPI=s(),f.insertStyleElement=u(),i()(g.A,f),g.A&&g.A.locals&&g.A.locals;var v=a(35810),w=a(85471),b=a(90231),E=a(94219),A=a(82182),N=a(31133);const y=(0,w.pM)({components:{NcDialog:E.A,NcNoteCard:N.A,NcTextField:A.A},props:{error:{type:v.di,required:!0},validateFilename:{type:Function,required:!0}},setup:()=>({t:b.t}),data:()=>({newName:"",validationError:""}),computed:{isValidName(){return""===this.validationError},isInvalidFileType(){return this.error.reason===v.nF.Extension&&null!==this.error.segment.match(/^\.\w/)},canRename(){return!this.isInvalidFileType},dialogButtons(){const e=[{label:(0,b.t)("Cancel"),type:"error",callback:()=>{this.$emit("close",{cancel:!0})}},{label:(0,b.t)("Skip"),callback:()=>{this.$emit("close",{skip:!0})}}];return this.canRename&&e.push({label:(0,b.t)("Rename"),type:"primary",disabled:!this.isValidName,callback:()=>{this.$emit("close",{rename:this.newName.trimEnd()})}}),e}},watch:{error:{handler(){this.validationError=this.getErrorText(this.error),this.newName=this.error.filename},immediate:!0},newName(){try{this.validateFilename(this.newName.trimEnd()),this.validationError=""}catch(e){this.validationError=this.getErrorText(e)}finally{const e=this.$refs.textfield?.$el.querySelector("input");e&&(e.setCustomValidity(this.validationError),e.reportValidity())}}},methods:{getErrorText(e){switch(e.reason){case v.nF.Character:return(0,b.t)('"{segment}" is not allowed inside a file or folder name.',{segment:e.segment});case v.nF.ReservedName:return(0,b.t)('"{segment}" is a forbidden file or folder name.',{segment:e.segment});case v.nF.Extension:return e.segment.match(/\.\w/)?(0,b.t)('"{segment}" is a forbidden file type.',{segment:e.segment}):(0,b.t)('Filenames must not end with "{segment}".',{segment:e.segment})}}}});var x=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("NcDialog",{attrs:{buttons:e.dialogButtons,name:e.t("Invalid filename")},on:{close:function(t){return e.$emit("close",{cancel:!0})}}},[t("NcNoteCard",{attrs:{severity:"error"}},[e._v(" "+e._s(e.getErrorText(e.error))+" "+e._s(e.t("You can either rename the file, skip this file or cancel the whole operation."))+" ")]),e.canRename?t("NcTextField",{ref:"textfield",staticClass:"invalid-filename-dialog__input",attrs:{error:!e.isValidName,"helper-text":e.validationError,label:e.t("New filename"),value:e.newName},on:{"update:value":function(t){e.newName=t}}}):e._e()],1)},C=[];const _=(0,b.n)(y,x,C,!1,null,"9d7d9a49").exports},69905:(e,t,a)=>{a.d(t,{A:()=>l});var n=a(71354),i=a.n(n),r=a(76314),s=a.n(r)()(i());s.push([e.id,"\n.invalid-filename-dialog__input[data-v-9d7d9a49] {\n\t/* Ensure the helper text can always be shown without jumping */\n\tmin-height: calc(var(--default-clickable-area) + 4 * var(--default-font-size));\n}\n","",{version:3,sources:["webpack://./node_modules/@nextcloud/upload/dist/assets/InvalidFilenameDialog-DKMLP0ER.css"],names:[],mappings:";AACA;CACC,+DAA+D;CAC/D,8EAA8E;AAC/E",sourcesContent:["\n.invalid-filename-dialog__input[data-v-9d7d9a49] {\n\t/* Ensure the helper text can always be shown without jumping */\n\tmin-height: calc(var(--default-clickable-area) + 4 * var(--default-font-size));\n}\n"],sourceRoot:""}]);const l=s}}]);
|
||||
//# sourceMappingURL=6590-6590.js.map?v=722f7bc54ff4120357c5
|
||||
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
@ -1,2 +1,2 @@
|
||||
"use strict";(globalThis.webpackChunknextcloud=globalThis.webpackChunknextcloud||[]).push([[7367],{7367:(e,t,a)=>{a.r(t),a.d(t,{default:()=>u});var s=a(85471),l=a(53334),o=a(94219),r=a(3226),n=a(16044),i=a(82182);const d=(0,s.pM)({name:"CredentialsDialog",components:{NcDialog:o.A,NcNoteCard:r.A,NcTextField:i.A,NcPasswordField:n.A},setup:()=>({t:l.t}),data:()=>({login:"",password:""}),computed:{dialogButtons:()=>[{label:(0,l.t)("files_external","Confirm"),type:"primary",nativeType:"submit"}]}}),u=(0,a(14486).A)(d,(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("NcDialog",{staticClass:"external-storage-auth",attrs:{buttons:e.dialogButtons,"close-on-click-outside":"","data-cy-external-storage-auth":"","is-form":"",name:e.t("files_external","Storage credentials"),"out-transition":""},on:{submit:function(t){return e.$emit("close",{login:e.login,password:e.password})},"update:open":function(t){return e.$emit("close")}}},[t("NcNoteCard",{staticClass:"external-storage-auth__header",attrs:{text:e.t("files_external","To access the storage, you need to provide the authentication credentials."),type:"info"}}),e._v(" "),t("NcTextField",{ref:"login",staticClass:"external-storage-auth__login",attrs:{"data-cy-external-storage-auth-dialog-login":"",label:e.t("files_external","Login"),placeholder:e.t("files_external","Enter the storage login"),minlength:"2",name:"login",required:"",value:e.login},on:{"update:value":function(t){e.login=t}}}),e._v(" "),t("NcPasswordField",{ref:"password",staticClass:"external-storage-auth__password",attrs:{"data-cy-external-storage-auth-dialog-password":"",label:e.t("files_external","Password"),placeholder:e.t("files_external","Enter the storage password"),name:"password",required:"",value:e.password},on:{"update:value":function(t){e.password=t}}})],1)}),[],!1,null,null,null).exports}}]);
|
||||
//# sourceMappingURL=7367-7367.js.map?v=5aa01682e496c508ed7e
|
||||
"use strict";(globalThis.webpackChunknextcloud=globalThis.webpackChunknextcloud||[]).push([[7367],{7367:(e,t,a)=>{a.r(t),a.d(t,{default:()=>u});var s=a(85471),l=a(53334),o=a(94219),r=a(31133),n=a(16044),i=a(82182);const d=(0,s.pM)({name:"CredentialsDialog",components:{NcDialog:o.A,NcNoteCard:r.A,NcTextField:i.A,NcPasswordField:n.A},setup:()=>({t:l.t}),data:()=>({login:"",password:""}),computed:{dialogButtons:()=>[{label:(0,l.t)("files_external","Confirm"),type:"primary",nativeType:"submit"}]}}),u=(0,a(14486).A)(d,(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("NcDialog",{staticClass:"external-storage-auth",attrs:{buttons:e.dialogButtons,"close-on-click-outside":"","data-cy-external-storage-auth":"","is-form":"",name:e.t("files_external","Storage credentials"),"out-transition":""},on:{submit:function(t){return e.$emit("close",{login:e.login,password:e.password})},"update:open":function(t){return e.$emit("close")}}},[t("NcNoteCard",{staticClass:"external-storage-auth__header",attrs:{text:e.t("files_external","To access the storage, you need to provide the authentication credentials."),type:"info"}}),e._v(" "),t("NcTextField",{ref:"login",staticClass:"external-storage-auth__login",attrs:{"data-cy-external-storage-auth-dialog-login":"",label:e.t("files_external","Login"),placeholder:e.t("files_external","Enter the storage login"),minlength:"2",name:"login",required:"",value:e.login},on:{"update:value":function(t){e.login=t}}}),e._v(" "),t("NcPasswordField",{ref:"password",staticClass:"external-storage-auth__password",attrs:{"data-cy-external-storage-auth-dialog-password":"",label:e.t("files_external","Password"),placeholder:e.t("files_external","Enter the storage password"),name:"password",required:"",value:e.password},on:{"update:value":function(t){e.password=t}}})],1)}),[],!1,null,null,null).exports}}]);
|
||||
//# sourceMappingURL=7367-7367.js.map?v=a63bdd4f8de7f23b7573
|
||||
@ -1 +1 @@
|
||||
{"version":3,"file":"7367-7367.js?v=5aa01682e496c508ed7e","mappings":"gJAAA,I,iEAMA,MCNiQ,GDMlPA,EAAAA,EAAAA,IAAgB,CAC3BC,KAAM,oBACNC,WAAY,CACRC,SAAQ,IACRC,WAAU,IACVC,YAAW,IACXC,gBAAeA,EAAAA,GAEnBC,MAAKA,KACM,CACHC,EAACA,EAAAA,IAGTC,KAAIA,KACO,CACHC,MAAO,GACPC,SAAU,KAGlBC,SAAU,CACNC,cAAaA,IACF,CAAC,CACAC,OAAON,EAAAA,EAAAA,GAAE,iBAAkB,WAC3BO,KAAM,UACNC,WAAY,cEZhC,GAXgB,E,SAAA,GACd,GFRW,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAgC,OAAtBF,EAAIG,MAAMC,YAAmBF,EAAG,WAAW,CAACG,YAAY,wBAAwBC,MAAM,CAAC,QAAUN,EAAIJ,cAAc,yBAAyB,GAAG,gCAAgC,GAAG,UAAU,GAAG,KAAOI,EAAIT,EAAE,iBAAkB,uBAAuB,iBAAiB,IAAIgB,GAAG,CAAC,OAAS,SAASC,GAAQ,OAAOR,EAAIS,MAAM,QAAS,CAAChB,MAAOO,EAAIP,MAAOC,SAAUM,EAAIN,UAAU,EAAE,cAAc,SAASc,GAAQ,OAAOR,EAAIS,MAAM,QAAQ,IAAI,CAACP,EAAG,aAAa,CAACG,YAAY,gCAAgCC,MAAM,CAAC,KAAON,EAAIT,EAAE,iBAAkB,8EAA8E,KAAO,UAAUS,EAAIU,GAAG,KAAKR,EAAG,cAAc,CAACS,IAAI,QAAQN,YAAY,+BAA+BC,MAAM,CAAC,6CAA6C,GAAG,MAAQN,EAAIT,EAAE,iBAAkB,SAAS,YAAcS,EAAIT,EAAE,iBAAkB,2BAA2B,UAAY,IAAI,KAAO,QAAQ,SAAW,GAAG,MAAQS,EAAIP,OAAOc,GAAG,CAAC,eAAe,SAASC,GAAQR,EAAIP,MAAMe,CAAM,KAAKR,EAAIU,GAAG,KAAKR,EAAG,kBAAkB,CAACS,IAAI,WAAWN,YAAY,kCAAkCC,MAAM,CAAC,gDAAgD,GAAG,MAAQN,EAAIT,EAAE,iBAAkB,YAAY,YAAcS,EAAIT,EAAE,iBAAkB,8BAA8B,KAAO,WAAW,SAAW,GAAG,MAAQS,EAAIN,UAAUa,GAAG,CAAC,eAAe,SAASC,GAAQR,EAAIN,SAASc,CAAM,MAAM,EAC55C,GACsB,IESpB,EACA,KACA,KACA,M","sources":["webpack:///nextcloud/apps/files_external/src/views/CredentialsDialog.vue","webpack:///nextcloud/apps/files_external/src/views/CredentialsDialog.vue?vue&type=script&lang=ts","webpack://nextcloud/./apps/files_external/src/views/CredentialsDialog.vue?7767"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('NcDialog',{staticClass:\"external-storage-auth\",attrs:{\"buttons\":_vm.dialogButtons,\"close-on-click-outside\":\"\",\"data-cy-external-storage-auth\":\"\",\"is-form\":\"\",\"name\":_vm.t('files_external', 'Storage credentials'),\"out-transition\":\"\"},on:{\"submit\":function($event){return _vm.$emit('close', {login: _vm.login, password: _vm.password})},\"update:open\":function($event){return _vm.$emit('close')}}},[_c('NcNoteCard',{staticClass:\"external-storage-auth__header\",attrs:{\"text\":_vm.t('files_external', 'To access the storage, you need to provide the authentication credentials.'),\"type\":\"info\"}}),_vm._v(\" \"),_c('NcTextField',{ref:\"login\",staticClass:\"external-storage-auth__login\",attrs:{\"data-cy-external-storage-auth-dialog-login\":\"\",\"label\":_vm.t('files_external', 'Login'),\"placeholder\":_vm.t('files_external', 'Enter the storage login'),\"minlength\":\"2\",\"name\":\"login\",\"required\":\"\",\"value\":_vm.login},on:{\"update:value\":function($event){_vm.login=$event}}}),_vm._v(\" \"),_c('NcPasswordField',{ref:\"password\",staticClass:\"external-storage-auth__password\",attrs:{\"data-cy-external-storage-auth-dialog-password\":\"\",\"label\":_vm.t('files_external', 'Password'),\"placeholder\":_vm.t('files_external', 'Enter the storage password'),\"name\":\"password\",\"required\":\"\",\"value\":_vm.password},on:{\"update:value\":function($event){_vm.password=$event}}})],1)\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!./CredentialsDialog.vue?vue&type=script&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!./CredentialsDialog.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./CredentialsDialog.vue?vue&type=template&id=196d9300\"\nimport script from \"./CredentialsDialog.vue?vue&type=script&lang=ts\"\nexport * from \"./CredentialsDialog.vue?vue&type=script&lang=ts\"\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\nexport default component.exports"],"names":["defineComponent","name","components","NcDialog","NcNoteCard","NcTextField","NcPasswordField","setup","t","data","login","password","computed","dialogButtons","label","type","nativeType","_vm","this","_c","_self","_setupProxy","staticClass","attrs","on","$event","$emit","_v","ref"],"ignoreList":[],"sourceRoot":""}
|
||||
{"version":3,"file":"7367-7367.js?v=a63bdd4f8de7f23b7573","mappings":"gJAAA,I,kEAMA,MCNiQ,GDMlPA,EAAAA,EAAAA,IAAgB,CAC3BC,KAAM,oBACNC,WAAY,CACRC,SAAQ,IACRC,WAAU,IACVC,YAAW,IACXC,gBAAeA,EAAAA,GAEnBC,MAAKA,KACM,CACHC,EAACA,EAAAA,IAGTC,KAAIA,KACO,CACHC,MAAO,GACPC,SAAU,KAGlBC,SAAU,CACNC,cAAaA,IACF,CAAC,CACAC,OAAON,EAAAA,EAAAA,GAAE,iBAAkB,WAC3BO,KAAM,UACNC,WAAY,cEZhC,GAXgB,E,SAAA,GACd,GFRW,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAgC,OAAtBF,EAAIG,MAAMC,YAAmBF,EAAG,WAAW,CAACG,YAAY,wBAAwBC,MAAM,CAAC,QAAUN,EAAIJ,cAAc,yBAAyB,GAAG,gCAAgC,GAAG,UAAU,GAAG,KAAOI,EAAIT,EAAE,iBAAkB,uBAAuB,iBAAiB,IAAIgB,GAAG,CAAC,OAAS,SAASC,GAAQ,OAAOR,EAAIS,MAAM,QAAS,CAAChB,MAAOO,EAAIP,MAAOC,SAAUM,EAAIN,UAAU,EAAE,cAAc,SAASc,GAAQ,OAAOR,EAAIS,MAAM,QAAQ,IAAI,CAACP,EAAG,aAAa,CAACG,YAAY,gCAAgCC,MAAM,CAAC,KAAON,EAAIT,EAAE,iBAAkB,8EAA8E,KAAO,UAAUS,EAAIU,GAAG,KAAKR,EAAG,cAAc,CAACS,IAAI,QAAQN,YAAY,+BAA+BC,MAAM,CAAC,6CAA6C,GAAG,MAAQN,EAAIT,EAAE,iBAAkB,SAAS,YAAcS,EAAIT,EAAE,iBAAkB,2BAA2B,UAAY,IAAI,KAAO,QAAQ,SAAW,GAAG,MAAQS,EAAIP,OAAOc,GAAG,CAAC,eAAe,SAASC,GAAQR,EAAIP,MAAMe,CAAM,KAAKR,EAAIU,GAAG,KAAKR,EAAG,kBAAkB,CAACS,IAAI,WAAWN,YAAY,kCAAkCC,MAAM,CAAC,gDAAgD,GAAG,MAAQN,EAAIT,EAAE,iBAAkB,YAAY,YAAcS,EAAIT,EAAE,iBAAkB,8BAA8B,KAAO,WAAW,SAAW,GAAG,MAAQS,EAAIN,UAAUa,GAAG,CAAC,eAAe,SAASC,GAAQR,EAAIN,SAASc,CAAM,MAAM,EAC55C,GACsB,IESpB,EACA,KACA,KACA,M","sources":["webpack:///nextcloud/apps/files_external/src/views/CredentialsDialog.vue","webpack:///nextcloud/apps/files_external/src/views/CredentialsDialog.vue?vue&type=script&lang=ts","webpack://nextcloud/./apps/files_external/src/views/CredentialsDialog.vue?7767"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('NcDialog',{staticClass:\"external-storage-auth\",attrs:{\"buttons\":_vm.dialogButtons,\"close-on-click-outside\":\"\",\"data-cy-external-storage-auth\":\"\",\"is-form\":\"\",\"name\":_vm.t('files_external', 'Storage credentials'),\"out-transition\":\"\"},on:{\"submit\":function($event){return _vm.$emit('close', {login: _vm.login, password: _vm.password})},\"update:open\":function($event){return _vm.$emit('close')}}},[_c('NcNoteCard',{staticClass:\"external-storage-auth__header\",attrs:{\"text\":_vm.t('files_external', 'To access the storage, you need to provide the authentication credentials.'),\"type\":\"info\"}}),_vm._v(\" \"),_c('NcTextField',{ref:\"login\",staticClass:\"external-storage-auth__login\",attrs:{\"data-cy-external-storage-auth-dialog-login\":\"\",\"label\":_vm.t('files_external', 'Login'),\"placeholder\":_vm.t('files_external', 'Enter the storage login'),\"minlength\":\"2\",\"name\":\"login\",\"required\":\"\",\"value\":_vm.login},on:{\"update:value\":function($event){_vm.login=$event}}}),_vm._v(\" \"),_c('NcPasswordField',{ref:\"password\",staticClass:\"external-storage-auth__password\",attrs:{\"data-cy-external-storage-auth-dialog-password\":\"\",\"label\":_vm.t('files_external', 'Password'),\"placeholder\":_vm.t('files_external', 'Enter the storage password'),\"name\":\"password\",\"required\":\"\",\"value\":_vm.password},on:{\"update:value\":function($event){_vm.password=$event}}})],1)\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!./CredentialsDialog.vue?vue&type=script&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!./CredentialsDialog.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./CredentialsDialog.vue?vue&type=template&id=196d9300\"\nimport script from \"./CredentialsDialog.vue?vue&type=script&lang=ts\"\nexport * from \"./CredentialsDialog.vue?vue&type=script&lang=ts\"\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\nexport default component.exports"],"names":["defineComponent","name","components","NcDialog","NcNoteCard","NcTextField","NcPasswordField","setup","t","data","login","password","computed","dialogButtons","label","type","nativeType","_vm","this","_c","_self","_setupProxy","staticClass","attrs","on","$event","$emit","_v","ref"],"ignoreList":[],"sourceRoot":""}
|
||||
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
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
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
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
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
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
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
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue