"use strict";(self.webpackChunknextcloud=self.webpackChunknextcloud||[]).push([[4076],{11695:(e,t,a)=>{a.r(t),a.d(t,{default:()=>d});var s=a(85471),o=a(53334),l=a(94219),n=a(80910),r=a(16044),i=a(82182);const u=(0,s.pM)({name:"CredentialsDialog",components:{NcDialog:l.A,NcNoteCard:n.A,NcTextField:i.A,NcPasswordField:r.A},setup:()=>({t:o.t}),data:()=>({login:"",password:""}),computed:{dialogButtons:()=>[{label:(0,o.t)("files_external","Submit"),type:"primary",nativeType:"submit"}]}}),d=(0,a(14486).A)(u,(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 authentification informations."),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=4076-4076.js.map?v=c244d3fd930f6d6bf2c5