mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
This commit is contained in:
parent
cf4c0e6e1e
commit
f4a3fad6bb
21 changed files with 19 additions and 19 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1,4 +1,4 @@
|
|||
import{c as u}from"./index-IPON9qO1.chunk.mjs";import{g as y,e as c}from"./index-Bndk0DrU.chunk.mjs";import{t as o}from"./translation-DoG5ZELJ-XUrtIRvk.chunk.mjs";import{c as f}from"./index-GfkO0e0i.chunk.mjs";import{b as h}from"./createElementId-DhjFt1I9-D6sOOWeT.chunk.mjs";import{g as b}from"./dav-C7ZXSSpl.chunk.mjs";const r=y().setApp("systemtags").detectUser().build(),V={userVisible:!0,userAssignable:!0,canAssign:!0},x=Object.freeze({"display-name":"displayName","user-visible":"userVisible","user-assignable":"userAssignable","can-assign":"canAssign"});function p(t){return t.map(({props:s})=>Object.fromEntries(Object.entries(s).map(([e,a])=>(e=x[e]??e,a=e==="displayName"?String(a):a,[e,a]))))}function w(t){const s=t.indexOf("?");s>0&&(t=t.substring(0,s));const e=t.split("/");let a;do a=e[e.length-1],e.pop();while(!a&&e.length>0);return Number(a)}function v(t){if("name"in t&&!("displayName"in t))return{...t};const s={...t};return s.name=s.displayName,delete s.displayName,s}function N(t){const s=t.attributes?.["system-tags"]?.["system-tag"];return s===void 0?[]:[s].flat().map(e=>typeof e=="string"?e:e.text)}function P(t,s){t.attributes["system-tags"]={"system-tag":s},c("files:node:updated",t)}const n=b(),l=`<?xml version="1.0"?>
|
||||
import{c as u}from"./index-IPON9qO1.chunk.mjs";import{g as y,e as c}from"./index-Bndk0DrU.chunk.mjs";import{t as o}from"./translation-DoG5ZELJ-XUrtIRvk.chunk.mjs";import{c as f}from"./index-BgRPS0vK.chunk.mjs";import{b as h}from"./createElementId-DhjFt1I9-D6sOOWeT.chunk.mjs";import{g as b}from"./dav-C7ZXSSpl.chunk.mjs";const r=y().setApp("systemtags").detectUser().build(),V={userVisible:!0,userAssignable:!0,canAssign:!0},x=Object.freeze({"display-name":"displayName","user-visible":"userVisible","user-assignable":"userAssignable","can-assign":"canAssign"});function p(t){return t.map(({props:s})=>Object.fromEntries(Object.entries(s).map(([e,a])=>(e=x[e]??e,a=e==="displayName"?String(a):a,[e,a]))))}function w(t){const s=t.indexOf("?");s>0&&(t=t.substring(0,s));const e=t.split("/");let a;do a=e[e.length-1],e.pop();while(!a&&e.length>0);return Number(a)}function v(t){if("name"in t&&!("displayName"in t))return{...t};const s={...t};return s.name=s.displayName,delete s.displayName,s}function N(t){const s=t.attributes?.["system-tags"]?.["system-tag"];return s===void 0?[]:[s].flat().map(e=>typeof e=="string"?e:e.text)}function P(t,s){t.attributes["system-tags"]={"system-tag":s},c("files:node:updated",t)}const n=b(),l=`<?xml version="1.0"?>
|
||||
<d:propfind xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns" xmlns:nc="http://nextcloud.org/ns">
|
||||
<d:prop>
|
||||
<oc:id />
|
||||
|
|
@ -40,4 +40,4 @@ import{c as u}from"./index-IPON9qO1.chunk.mjs";import{g as y,e as c}from"./index
|
|||
</d:prop>
|
||||
</d:remove>
|
||||
</d:propertyupdate>`),await n.customRequest(i,{method:"PROPPATCH",data:d,headers:{"if-match":a}})}async function H(t){const s=t?"1":"0",e=h("/apps/provisioning_api/api/v1/config/apps/{appId}/{key}",{appId:"systemtags",key:"restrict_creation_to_admin"});await f();const{data:a}=await u.post(e,{value:s});return a}export{_ as a,H as b,R as c,V as d,N as e,D as f,q as g,P as h,C as i,r as l,k as s,T as u};
|
||||
//# sourceMappingURL=api-CXoAWe3B.chunk.mjs.map
|
||||
//# sourceMappingURL=api-s1xKvR10.chunk.mjs.map
|
||||
File diff suppressed because one or more lines are too long
2
dist/federatedfilesharing-settings-admin.mjs
vendored
2
dist/federatedfilesharing-settings-admin.mjs
vendored
File diff suppressed because one or more lines are too long
2
dist/files_external-init.mjs
vendored
2
dist/files_external-init.mjs
vendored
File diff suppressed because one or more lines are too long
2
dist/files_external-settings.mjs
vendored
2
dist/files_external-settings.mjs
vendored
File diff suppressed because one or more lines are too long
2
dist/index-BgRPS0vK.chunk.mjs
vendored
Normal file
2
dist/index-BgRPS0vK.chunk.mjs
vendored
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -3,5 +3,5 @@ SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
|
|||
|
||||
This file is generated from multiple sources. Included packages:
|
||||
- @nextcloud/password-confirmation
|
||||
- version: 6.0.2
|
||||
- version: 6.0.3
|
||||
- license: MIT
|
||||
1
dist/index-BgRPS0vK.chunk.mjs.map
vendored
Normal file
1
dist/index-BgRPS0vK.chunk.mjs.map
vendored
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -3,5 +3,5 @@ SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
|
|||
|
||||
This file is generated from multiple sources. Included packages:
|
||||
- @nextcloud/password-confirmation
|
||||
- version: 6.0.2
|
||||
- version: 6.0.3
|
||||
- license: MIT
|
||||
2
dist/index-GfkO0e0i.chunk.mjs
vendored
2
dist/index-GfkO0e0i.chunk.mjs
vendored
File diff suppressed because one or more lines are too long
1
dist/index-GfkO0e0i.chunk.mjs.map
vendored
1
dist/index-GfkO0e0i.chunk.mjs.map
vendored
File diff suppressed because one or more lines are too long
2
dist/sharebymail-admin-settings.mjs
vendored
2
dist/sharebymail-admin-settings.mjs
vendored
|
|
@ -1,2 +1,2 @@
|
|||
import{f as p,c as u,o as b,w as i,e as l,g as m,t as d,h as f}from"./runtime-dom.esm-bundler-CgYXkLV7.chunk.mjs";import{c as w}from"./index-IPON9qO1.chunk.mjs";import{a as g}from"./index-C1xmmKTZ-DHV8JZOG.chunk.mjs";import{a as S,l as c}from"./index-BgmsSgl5.chunk.mjs";import{t as h}from"./translation-DoG5ZELJ-XUrtIRvk.chunk.mjs";import{c as I}from"./index-GfkO0e0i.chunk.mjs";import{b as M}from"./createElementId-DhjFt1I9-D6sOOWeT.chunk.mjs";import{N as k}from"./NcCheckboxRadioSwitch-D0gFwEVl-DCiJhL6I.chunk.mjs";import{N}from"./ContentCopy-BDBVtVf4.chunk.mjs";import{g as R}from"./index-Bndk0DrU.chunk.mjs";import"./index-sH3U_332.chunk.mjs";import"./index-C493a1t-.chunk.mjs";import"./logger-D3RVzcfQ-88xHyoDn.chunk.mjs";import"./mdi-36VzJ0Uy.chunk.mjs";import"./NcNoteCard-CWiO3Dse-DJ5wV2Sw.chunk.mjs";import"./NcPasswordField-BOLzDHBJ-Cgi99HhR.chunk.mjs";import"./NcInputField-CPL-a_MM-6ClrUH-f.chunk.mjs";const T=R().detectLogLevel().setApp("sharebymail").build(),V={name:"AdminSettings",components:{NcCheckboxRadioSwitch:k,NcSettingsSection:N},setup(){return{t:h}},data(){return{sendPasswordMail:c("sharebymail","sendPasswordMail"),replyToInitiator:c("sharebymail","replyToInitiator")}},watch:{sendPasswordMail(e){this.update("sendpasswordmail",e)},replyToInitiator(e){this.update("replyToInitiator",e)}},methods:{async update(e,a){await I();const s=M("/apps/provisioning_api/api/v1/config/apps/{appId}/{key}",{appId:"sharebymail",key:e}),o=a?"yes":"no";try{const{data:t}=await w.post(s,{value:o});this.handleResponse({status:t.ocs?.meta?.status})}catch(t){this.handleResponse({errorMessage:h("sharebymail","Unable to update share by mail config"),error:t})}},async handleResponse({status:e,errorMessage:a,error:s}){e!=="ok"&&(g(a),T.error(a,{error:s}))}}};function v(e,a,s,o,t,x){const n=p("NcCheckboxRadioSwitch"),y=p("NcSettingsSection");return b(),u(y,{name:o.t("sharebymail","Share by mail"),description:o.t("sharebymail","Allows people to share a personalized link to a file or folder by putting in an email address.")},{default:i(()=>[l(n,{modelValue:t.sendPasswordMail,"onUpdate:modelValue":a[0]||(a[0]=r=>t.sendPasswordMail=r),type:"switch"},{default:i(()=>[m(d(o.t("sharebymail","Send password by mail")),1)]),_:1},8,["modelValue"]),l(n,{modelValue:t.replyToInitiator,"onUpdate:modelValue":a[1]||(a[1]=r=>t.replyToInitiator=r),type:"switch"},{default:i(()=>[m(d(o.t("sharebymail","Reply to initiator")),1)]),_:1},8,["modelValue"])]),_:1},8,["name","description"])}const P=S(V,[["render",v]]),_=f(P);_.mount("#vue-admin-sharebymail");
|
||||
import{f as p,c as u,o as b,w as i,e as l,g as m,t as d,h as f}from"./runtime-dom.esm-bundler-CgYXkLV7.chunk.mjs";import{c as w}from"./index-IPON9qO1.chunk.mjs";import{a as g}from"./index-C1xmmKTZ-DHV8JZOG.chunk.mjs";import{a as S,l as c}from"./index-BgmsSgl5.chunk.mjs";import{t as h}from"./translation-DoG5ZELJ-XUrtIRvk.chunk.mjs";import{c as I}from"./index-BgRPS0vK.chunk.mjs";import{b as M}from"./createElementId-DhjFt1I9-D6sOOWeT.chunk.mjs";import{N as k}from"./NcCheckboxRadioSwitch-D0gFwEVl-DCiJhL6I.chunk.mjs";import{N}from"./ContentCopy-BDBVtVf4.chunk.mjs";import{g as R}from"./index-Bndk0DrU.chunk.mjs";import"./index-sH3U_332.chunk.mjs";import"./index-C493a1t-.chunk.mjs";import"./logger-D3RVzcfQ-88xHyoDn.chunk.mjs";import"./mdi-36VzJ0Uy.chunk.mjs";import"./NcNoteCard-CWiO3Dse-DJ5wV2Sw.chunk.mjs";import"./NcPasswordField-BOLzDHBJ-Cgi99HhR.chunk.mjs";import"./NcInputField-CPL-a_MM-6ClrUH-f.chunk.mjs";const T=R().detectLogLevel().setApp("sharebymail").build(),V={name:"AdminSettings",components:{NcCheckboxRadioSwitch:k,NcSettingsSection:N},setup(){return{t:h}},data(){return{sendPasswordMail:c("sharebymail","sendPasswordMail"),replyToInitiator:c("sharebymail","replyToInitiator")}},watch:{sendPasswordMail(e){this.update("sendpasswordmail",e)},replyToInitiator(e){this.update("replyToInitiator",e)}},methods:{async update(e,a){await I();const s=M("/apps/provisioning_api/api/v1/config/apps/{appId}/{key}",{appId:"sharebymail",key:e}),o=a?"yes":"no";try{const{data:t}=await w.post(s,{value:o});this.handleResponse({status:t.ocs?.meta?.status})}catch(t){this.handleResponse({errorMessage:h("sharebymail","Unable to update share by mail config"),error:t})}},async handleResponse({status:e,errorMessage:a,error:s}){e!=="ok"&&(g(a),T.error(a,{error:s}))}}};function v(e,a,s,o,t,x){const n=p("NcCheckboxRadioSwitch"),y=p("NcSettingsSection");return b(),u(y,{name:o.t("sharebymail","Share by mail"),description:o.t("sharebymail","Allows people to share a personalized link to a file or folder by putting in an email address.")},{default:i(()=>[l(n,{modelValue:t.sendPasswordMail,"onUpdate:modelValue":a[0]||(a[0]=r=>t.sendPasswordMail=r),type:"switch"},{default:i(()=>[m(d(o.t("sharebymail","Send password by mail")),1)]),_:1},8,["modelValue"]),l(n,{modelValue:t.replyToInitiator,"onUpdate:modelValue":a[1]||(a[1]=r=>t.replyToInitiator=r),type:"switch"},{default:i(()=>[m(d(o.t("sharebymail","Reply to initiator")),1)]),_:1},8,["modelValue"])]),_:1},8,["name","description"])}const P=S(V,[["render",v]]),_=f(P);_.mount("#vue-admin-sharebymail");
|
||||
//# sourceMappingURL=sharebymail-admin-settings.mjs.map
|
||||
|
|
|
|||
2
dist/systemtags-admin.mjs
vendored
2
dist/systemtags-admin.mjs
vendored
File diff suppressed because one or more lines are too long
4
dist/systemtags-init.mjs
vendored
4
dist/systemtags-init.mjs
vendored
File diff suppressed because one or more lines are too long
|
|
@ -1,3 +1,3 @@
|
|||
import{d as U,c as A}from"./pinia-DNqtMbGl.chunk.mjs";import{r as _,b as I,j as p,o as n,c as x,u as a,w as k,g as i,t as d,l as E,F as m,k as f,p as N,C as M,n as w,e as y,h as R}from"./runtime-dom.esm-bundler-CgYXkLV7.chunk.mjs";import{g as $,l as j,a as B}from"./index-BgmsSgl5.chunk.mjs";import{a as P}from"./index-C1xmmKTZ-DHV8JZOG.chunk.mjs";import{t as o}from"./translation-DoG5ZELJ-XUrtIRvk.chunk.mjs";import{c as F}from"./index-GfkO0e0i.chunk.mjs";import{N as g}from"./logger-D3RVzcfQ-88xHyoDn.chunk.mjs";import{N as G}from"./mdi-36VzJ0Uy.chunk.mjs";import{g as H}from"./index-Bndk0DrU.chunk.mjs";import{c as q}from"./index-IPON9qO1.chunk.mjs";import{g as z}from"./createElementId-DhjFt1I9-D6sOOWeT.chunk.mjs";import"./index-C493a1t-.chunk.mjs";import"./NcNoteCard-CWiO3Dse-DJ5wV2Sw.chunk.mjs";import"./NcPasswordField-BOLzDHBJ-Cgi99HhR.chunk.mjs";import"./NcInputField-CPL-a_MM-6ClrUH-f.chunk.mjs";import"./index-sH3U_332.chunk.mjs";const D=H().detectLogLevel().setApp("twofactor_backupcodes").build();function J(r){const c=$().theming.name||"Nextcloud",e=window.open("",o("twofactor_backupcodes","{name} backup codes",{name:c}));if(!e)throw P(o("twofactor_backupcodes","Unable to open a new tab for printing")),new Error("Unable to open a new tab for printing");const t=e.document.createElement("h1");t.textContent=o("twofactor_backupcodes","{name} backup codes",{name:c});const s=e.document.createElement("pre");for(const b of r){const u=e.document.createTextNode(b);s.appendChild(u),s.appendChild(e.document.createElement("br"))}e.document.body.innerHTML="",e.document.body.appendChild(t),e.document.body.appendChild(s),e.print(),e.close()}async function K(){const r=z("/apps/twofactor_backupcodes/settings/create"),{data:c}=await q.post(r);return c}const v=j("twofactor_backupcodes","state"),O=U("twofactor_backupcodes",()=>{const r=_(v.enabled),c=_(v.total),e=_(v.used),t=_([]);async function s(){r.value=!1;const{codes:b,state:u}=await K();r.value=u.enabled,c.value=u.total,e.value=u.used,t.value=b}return{enabled:r,total:c,used:e,codes:t,generate:s}}),Q=["aria-label"],V=I({__name:"PersonalSettings",setup(r){const c=$().theming.name??"Nextcloud",e=O(),t=_(!1),s=N(()=>e.codes&&e.codes.length>0),b=c+"-backup-codes.txt",u=N(()=>s.value?"data:text/plain,"+encodeURIComponent(e.codes.reduce((l,C)=>l+C+`
|
||||
import{d as U,c as A}from"./pinia-DNqtMbGl.chunk.mjs";import{r as _,b as I,j as p,o as n,c as x,u as a,w as k,g as i,t as d,l as E,F as m,k as f,p as N,C as M,n as w,e as y,h as R}from"./runtime-dom.esm-bundler-CgYXkLV7.chunk.mjs";import{g as $,l as j,a as B}from"./index-BgmsSgl5.chunk.mjs";import{a as P}from"./index-C1xmmKTZ-DHV8JZOG.chunk.mjs";import{t as o}from"./translation-DoG5ZELJ-XUrtIRvk.chunk.mjs";import{c as F}from"./index-BgRPS0vK.chunk.mjs";import{N as g}from"./logger-D3RVzcfQ-88xHyoDn.chunk.mjs";import{N as G}from"./mdi-36VzJ0Uy.chunk.mjs";import{g as H}from"./index-Bndk0DrU.chunk.mjs";import{c as q}from"./index-IPON9qO1.chunk.mjs";import{g as z}from"./createElementId-DhjFt1I9-D6sOOWeT.chunk.mjs";import"./index-C493a1t-.chunk.mjs";import"./NcNoteCard-CWiO3Dse-DJ5wV2Sw.chunk.mjs";import"./NcPasswordField-BOLzDHBJ-Cgi99HhR.chunk.mjs";import"./NcInputField-CPL-a_MM-6ClrUH-f.chunk.mjs";import"./index-sH3U_332.chunk.mjs";const D=H().detectLogLevel().setApp("twofactor_backupcodes").build();function J(r){const c=$().theming.name||"Nextcloud",e=window.open("",o("twofactor_backupcodes","{name} backup codes",{name:c}));if(!e)throw P(o("twofactor_backupcodes","Unable to open a new tab for printing")),new Error("Unable to open a new tab for printing");const t=e.document.createElement("h1");t.textContent=o("twofactor_backupcodes","{name} backup codes",{name:c});const s=e.document.createElement("pre");for(const b of r){const u=e.document.createTextNode(b);s.appendChild(u),s.appendChild(e.document.createElement("br"))}e.document.body.innerHTML="",e.document.body.appendChild(t),e.document.body.appendChild(s),e.print(),e.close()}async function K(){const r=z("/apps/twofactor_backupcodes/settings/create"),{data:c}=await q.post(r);return c}const v=j("twofactor_backupcodes","state"),O=U("twofactor_backupcodes",()=>{const r=_(v.enabled),c=_(v.total),e=_(v.used),t=_([]);async function s(){r.value=!1;const{codes:b,state:u}=await K();r.value=u.enabled,c.value=u.total,e.value=u.used,t.value=b}return{enabled:r,total:c,used:e,codes:t,generate:s}}),Q=["aria-label"],V=I({__name:"PersonalSettings",setup(r){const c=$().theming.name??"Nextcloud",e=O(),t=_(!1),s=N(()=>e.codes&&e.codes.length>0),b=c+"-backup-codes.txt",u=N(()=>s.value?"data:text/plain,"+encodeURIComponent(e.codes.reduce((l,C)=>l+C+`
|
||||
`,"")):"");async function h(){await F(),t.value=!0;try{await e.generate()}catch(l){D.error("Error generating backup codes",{error:l}),P(o("twofactor_backupcodes","An error occurred while generating your backup codes"))}finally{t.value=!1}}function T(){J(!e.codes||e.codes.length===0?[]:e.codes)}return(l,C)=>(n(),p("div",{class:w(l.$style.backupcodesSettings)},[a(e).enabled?(n(),p(m,{key:1},[f("p",null,[s.value?(n(),p(m,{key:1},[i(d(a(o)("twofactor_backupcodes","These are your backup codes. Please save and/or print them as you will not be able to read the codes again later."))+" ",1),f("ul",{"aria-label":a(o)("twofactor_backupcodes","List of backup codes")},[(n(!0),p(m,null,M(a(e).codes,S=>(n(),p("li",{key:S,class:w(l.$style.backupcodesSettings__code)},d(S),3))),128))],8,Q)],64)):(n(),p(m,{key:0},[i(d(a(o)("twofactor_backupcodes","Backup codes have been generated. {used} of {total} codes have been used.",{used:a(e).used,total:a(e).total})),1)],64))]),f("p",{class:w(l.$style.backupcodesSettings__actions)},[y(a(g),{id:"generate-backup-codes",variant:"error",onClick:h},{default:k(()=>[i(d(a(o)("twofactor_backupcodes","Regenerate backup codes")),1)]),_:1}),s.value?(n(),p(m,{key:0},[y(a(g),{onClick:T},{default:k(()=>[i(d(a(o)("twofactor_backupcodes","Print backup codes")),1)]),_:1}),y(a(g),{href:u.value,download:b,variant:"primary"},{default:k(()=>[i(d(a(o)("twofactor_backupcodes","Save backup codes")),1)]),_:1},8,["href"])],64)):E("",!0)],2),f("p",null,[f("em",null,d(a(o)("twofactor_backupcodes","If you regenerate backup codes, you automatically invalidate old codes.")),1)])],64)):(n(),x(a(g),{key:0,disabled:t.value,variant:"primary",onClick:h},{icon:k(()=>[t.value?(n(),x(a(G),{key:0})):E("",!0)]),default:k(()=>[i(" "+d(a(o)("twofactor_backupcodes","Generate backup codes")),1)]),_:1},8,["disabled"]))],2))}}),W="_backupcodesSettings_bnkw8_2",X="_backupcodesSettings__code_bnkw8_7",Y="_backupcodesSettings__actions_bnkw8_13",Z={backupcodesSettings:W,backupcodesSettings__code:X,backupcodesSettings__actions:Y},ee={$style:Z},ae=B(V,[["__cssModules",ee]]),oe=A(),L=R(ae);L.use(oe),L.mount("#twofactor-backupcodes-settings");
|
||||
//# sourceMappingURL=twofactor_backupcodes-settings-personal.mjs.map
|
||||
|
|
|
|||
Loading…
Reference in a new issue