nextcloud/dist/7367-7367.js
Anna Larch 685115710b fix(assets): rebuild dist with correct stable31 dependencies
The dist files merged in #60621 were built using master's node_modules,
which had @nextcloud/dialogs@7.3.0. That version bundles a Vue 3-compiled
floating-vue/vue-resize that imports withScopeId, openBlock, createBlock
from 'vue'. Vue 2.7.16 (used in stable31) does not export these APIs,
causing a TypeError on page load that crashed all Cypress tests.

Rebuilt using stable31's package-lock.json (@nextcloud/dialogs@6.4.2)
with Node 20 as required by the project's engine constraint.

AI-Assisted-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Anna Larch <anna@nextcloud.com>
2026-05-28 10:15:34 +02:00

2 lines
No EOL
1.9 KiB
JavaScript

"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(371),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=5b191c608ad27abba779