Skip to content

Commit 5867dcc

Browse files
Merge pull request #57976 from nextcloud/automated/noid/stable33-fix-npm-audit
[stable33] Fix npm audit
2 parents d1066ba + 31e185d commit 5867dcc

263 files changed

Lines changed: 640 additions & 775 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

dist/AuthMechanismRsa-BS4rJX2d.chunk.mjs

Lines changed: 0 additions & 2 deletions
This file was deleted.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import{b as g,q as _,u as o,o as r,c as p,E as x,n as d,w as v,g as V,t as b,z as k,v as E,j as c,F as M,A as q,Z as K,_ as U,e as f,r as j}from"./runtime-dom.esm-bundler-DWlT_qCz.chunk.mjs";import{c as w}from"./index-CbaVhrdo.chunk.mjs";import{a as A}from"./index-BZvhaN1S.chunk.mjs";import{t as s}from"./translation-DoG5ZELJ-BfTm5Q53.chunk.mjs";import{b as N}from"./index-DgEyzq8A.chunk.mjs";import{N as S}from"./logger-D3RVzcfQ-md6ppeBx.chunk.mjs";import{N as z}from"./NcSelect--kERLlBK-Br6xIxnt.chunk.mjs";import{N as C}from"./NcCheckboxRadioSwitch-DVdt5Hkq-B7f-p1Gy.chunk.mjs";import{N as L}from"./NcPasswordField-BFyzHTOO-0CyBk6Px.chunk.mjs";import{_ as $}from"./NcDateTime.vue_vue_type_script_setup_true_lang-BJuPH7S7-CvMbzRPU.chunk.mjs";import{a as y,C as O}from"./types-Divpj-De.chunk.mjs";import{a as B}from"./index-DidlHano.chunk.mjs";import{l as P}from"./logger-DTrLKxyb.chunk.mjs";const R=g({__name:"ConfigurationEntry",props:k({configKey:{},configOption:{}},{modelValue:{type:[String,Boolean],default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const a=_(e,"modelValue");return(l,i)=>e.configOption.type!==o(y).Boolean?(r(),p(x(e.configOption.type===o(y).Password?o(L):o($)),{key:0,modelValue:a.value,"onUpdate:modelValue":i[0]||(i[0]=t=>a.value=t),name:e.configKey,required:!(e.configOption.flags&o(O).Optional),label:e.configOption.value,title:e.configOption.tooltip,class:d(l.$style.configurationEntry)},null,8,["modelValue","name","required","label","title","class"])):(r(),p(o(C),{key:1,modelValue:a.value,"onUpdate:modelValue":i[1]||(i[1]=t=>a.value=t),type:"switch",title:e.configOption.tooltip,class:d(l.$style.configurationEntry)},{default:v(()=>[V(b(e.configOption.value),1)]),_:1},8,["modelValue","title","class"]))}}),F="_configurationEntry_1cmcq_2",G={configurationEntry:F},H={$style:G},T=B(R,[["__cssModules",H]]),Z=g({__name:"AuthMechanismRsa",props:k({authMechanism:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const a=_(e,"modelValue"),l=j();E(l,()=>{l.value&&(a.value.private_key="",a.value.public_key="")});async function i(){try{const{data:t}=await w.post(N("/apps/files_external/ajax/public_key.php"),{keyLength:l.value});a.value.private_key=t.data.private_key,a.value.public_key=t.data.public_key}catch(t){P.error("Error generating RSA key pair",{error:t}),A(s("files_external","Error generating key pair"))}}return(t,m)=>(r(),c("div",null,[(r(!0),c(M,null,q(e.authMechanism.configuration,(n,u)=>K((r(),p(T,{key:n.value,modelValue:a.value[u],"onUpdate:modelValue":h=>a.value[u]=h,configKey:u,configOption:n},null,8,["modelValue","onUpdate:modelValue","configKey","configOption"])),[[U,!(n.flags&o(O).Hidden)]])),128)),f(o(z),{modelValue:l.value,"onUpdate:modelValue":m[0]||(m[0]=n=>l.value=n),clearable:!1,inputLabel:o(s)("files_external","Key size"),options:[1024,2048,4096],required:""},null,8,["modelValue","inputLabel"]),f(o(S),{disabled:!l.value,wide:"",onClick:i},{default:v(()=>[V(b(o(s)("files_external","Generate keys")),1)]),_:1},8,["disabled"])]))}}),ne=Object.freeze(Object.defineProperty({__proto__:null,default:Z},Symbol.toStringTag,{value:"Module"}));export{ne as A,T as C};
2+
//# sourceMappingURL=AuthMechanismRsa-DUdA9z52.chunk.mjs.map
File renamed without changes.

dist/AuthMechanismRsa-BS4rJX2d.chunk.mjs.map renamed to dist/AuthMechanismRsa-DUdA9z52.chunk.mjs.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

0 commit comments

Comments
 (0)