mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
This commit is contained in:
parent
2ddf73f89f
commit
6563214204
129 changed files with 117 additions and 117 deletions
|
|
@ -1,2 +1,2 @@
|
|||
import{b as g,q as y,s as v,c as p,u as o,o as n,L as h,w as _,g as V,t as b,v as x,r as M,j as d,e as f,F as q,C as w,E as K,G as U}from"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";import{c as j}from"./index-D9L8KHF3.chunk.mjs";import{a as C}from"./index-JpgrUA2Z-DPCs44Lo.chunk.mjs";import{t as s}from"./translation-DoG5ZELJ-2ffMJaM4.chunk.mjs";import{g as E}from"./createElementId-DhjFt1I9-Bjk2333q.chunk.mjs";import{c as L}from"./logger-D3RVzcfQ-iUjwSNGe.chunk.mjs";import{N as S}from"./NcSelect-Czzsi3P_-wYuKB0zM.chunk.mjs";import{N as A}from"./NcCheckboxRadioSwitch-BCSKF7Tk-BDM2s1GW.chunk.mjs";import{N}from"./NcPasswordField-djttkA5Q-DvTgf1Bu.chunk.mjs";import{_ as z}from"./TrashCanOutline-DKx7CxBb.chunk.mjs";import{C as c,a as k}from"./types-DD622x-I.chunk.mjs";import{l as B}from"./logger-CrDakPzW.chunk.mjs";const P=g({__name:"ConfigurationEntry",props:y({configKey:{},configOption:{}},{modelValue:{type:[String,Boolean],default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const a=v(e,"modelValue");return(t,i)=>e.configOption.type!==o(c).Boolean?(n(),p(h(e.configOption.type===o(c).Password?o(N):o(z)),{key:0,modelValue:a.value,"onUpdate:modelValue":i[0]||(i[0]=l=>a.value=l),name:e.configKey,required:!(e.configOption.flags&o(k).Optional),label:e.configOption.value,title:e.configOption.tooltip},null,8,["modelValue","name","required","label","title"])):(n(),p(o(A),{key:1,modelValue:a.value,"onUpdate:modelValue":i[1]||(i[1]=l=>a.value=l),type:"switch",title:e.configOption.tooltip},{default:_(()=>[V(b(e.configOption.value),1)]),_:1},8,["modelValue","title"]))}}),R=g({__name:"AuthMechanismRsa",props:y({authMechanism:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const a=v(e,"modelValue"),t=M();x(t,()=>{t.value&&(a.value.private_key="",a.value.public_key="")});async function i(){try{const{data:l}=await j.post(E("/apps/files_external/ajax/public_key.php"),{keyLength:t.value});a.value.private_key=l.data.private_key,a.value.public_key=l.data.public_key}catch(l){B.error("Error generating RSA key pair",{error:l}),C(s("files_external","Error generating key pair"))}}return(l,m)=>(n(),d("div",null,[(n(!0),d(q,null,w(e.authMechanism.configuration,(r,u)=>K((n(),p(P,{key:r.value,modelValue:a.value[u],"onUpdate:modelValue":O=>a.value[u]=O,configKey:u,configOption:r},null,8,["modelValue","onUpdate:modelValue","configKey","configOption"])),[[U,!(r.flags&o(k).Hidden)]])),128)),f(o(S),{modelValue:t.value,"onUpdate:modelValue":m[0]||(m[0]=r=>t.value=r),clearable:!1,inputLabel:o(s)("files_external","Key size"),options:[1024,2048,4096],required:""},null,8,["modelValue","inputLabel"]),f(o(L),{disabled:!t.value,wide:"",onClick:i},{default:_(()=>[V(b(o(s)("files_external","Generate keys")),1)]),_:1},8,["disabled"])]))}}),$=Object.freeze(Object.defineProperty({__proto__:null,default:R},Symbol.toStringTag,{value:"Module"}));export{$ as A,P as _};
|
||||
//# sourceMappingURL=AuthMechanismRsa-Dn6adkfl.chunk.mjs.map
|
||||
import{b as g,q as y,s as v,c as p,u as o,o as n,L as h,w as _,g as V,t as b,v as x,r as M,j as d,e as f,F as q,C as w,E as K,G as U}from"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";import{c as j}from"./index-D9L8KHF3.chunk.mjs";import{a as C}from"./index-JpgrUA2Z-D2EPRmnZ.chunk.mjs";import{t as s}from"./translation-DoG5ZELJ-2ffMJaM4.chunk.mjs";import{g as E}from"./createElementId-DhjFt1I9-Bjk2333q.chunk.mjs";import{c as L}from"./logger-D3RVzcfQ-iUjwSNGe.chunk.mjs";import{N as S}from"./NcSelect-Czzsi3P_-7VXJuGva.chunk.mjs";import{N as A}from"./NcCheckboxRadioSwitch-BCSKF7Tk-BDM2s1GW.chunk.mjs";import{N}from"./NcPasswordField-djttkA5Q-DvTgf1Bu.chunk.mjs";import{_ as z}from"./TrashCanOutline-DKx7CxBb.chunk.mjs";import{C as c,a as k}from"./types-DD622x-I.chunk.mjs";import{l as B}from"./logger-CrDakPzW.chunk.mjs";const P=g({__name:"ConfigurationEntry",props:y({configKey:{},configOption:{}},{modelValue:{type:[String,Boolean],default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const a=v(e,"modelValue");return(t,i)=>e.configOption.type!==o(c).Boolean?(n(),p(h(e.configOption.type===o(c).Password?o(N):o(z)),{key:0,modelValue:a.value,"onUpdate:modelValue":i[0]||(i[0]=l=>a.value=l),name:e.configKey,required:!(e.configOption.flags&o(k).Optional),label:e.configOption.value,title:e.configOption.tooltip},null,8,["modelValue","name","required","label","title"])):(n(),p(o(A),{key:1,modelValue:a.value,"onUpdate:modelValue":i[1]||(i[1]=l=>a.value=l),type:"switch",title:e.configOption.tooltip},{default:_(()=>[V(b(e.configOption.value),1)]),_:1},8,["modelValue","title"]))}}),R=g({__name:"AuthMechanismRsa",props:y({authMechanism:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const a=v(e,"modelValue"),t=M();x(t,()=>{t.value&&(a.value.private_key="",a.value.public_key="")});async function i(){try{const{data:l}=await j.post(E("/apps/files_external/ajax/public_key.php"),{keyLength:t.value});a.value.private_key=l.data.private_key,a.value.public_key=l.data.public_key}catch(l){B.error("Error generating RSA key pair",{error:l}),C(s("files_external","Error generating key pair"))}}return(l,m)=>(n(),d("div",null,[(n(!0),d(q,null,w(e.authMechanism.configuration,(r,u)=>K((n(),p(P,{key:r.value,modelValue:a.value[u],"onUpdate:modelValue":O=>a.value[u]=O,configKey:u,configOption:r},null,8,["modelValue","onUpdate:modelValue","configKey","configOption"])),[[U,!(r.flags&o(k).Hidden)]])),128)),f(o(S),{modelValue:t.value,"onUpdate:modelValue":m[0]||(m[0]=r=>t.value=r),clearable:!1,inputLabel:o(s)("files_external","Key size"),options:[1024,2048,4096],required:""},null,8,["modelValue","inputLabel"]),f(o(L),{disabled:!t.value,wide:"",onClick:i},{default:_(()=>[V(b(o(s)("files_external","Generate keys")),1)]),_:1},8,["disabled"])]))}}),$=Object.freeze(Object.defineProperty({__proto__:null,default:R},Symbol.toStringTag,{value:"Module"}));export{$ as A,P as _};
|
||||
//# sourceMappingURL=AuthMechanismRsa-TqhTMDlx.chunk.mjs.map
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -1,2 +1,2 @@
|
|||
import{t}from"./translation-DoG5ZELJ-2ffMJaM4.chunk.mjs";import{N as u}from"./index-Dzo4H_NA.chunk.mjs";import{N as d}from"./NcNoteCard-CVhtNL04-CdF6Qoal.chunk.mjs";import{N as p}from"./NcPasswordField-djttkA5Q-DvTgf1Bu.chunk.mjs";import{_ as c}from"./TrashCanOutline-DKx7CxBb.chunk.mjs";import{b as g,c as f,o as h,w as x,e as s,u as e,r as n}from"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";import"./index-6_gsQFyp.chunk.mjs";import"./createElementId-DhjFt1I9-Bjk2333q.chunk.mjs";import"./logger-D3RVzcfQ-iUjwSNGe.chunk.mjs";import"./mdi-kAZc0JKn.chunk.mjs";import"./index-D9L8KHF3.chunk.mjs";import"./string_decoder-BO00msnV.chunk.mjs";import"./index-xFugdZPW.chunk.mjs";import"./NcInputField-Bwsh2aHY-Bf_22pmD.chunk.mjs";const k=g({__name:"CredentialsDialog",emits:["close"],setup(_){const o=n(""),r=n(""),m=[{label:t("files_external","Confirm"),type:"submit",variant:"primary"}];return(i,a)=>(h(),f(e(u),{buttons:m,class:"external-storage-auth",closeOnClickOutside:"","data-cy-external-storage-auth":"",isForm:"",name:e(t)("files_external","Storage credentials"),outTransition:"",onSubmit:a[2]||(a[2]=l=>i.$emit("close",{login:o.value,password:r.value})),"onUpdate:open":a[3]||(a[3]=l=>i.$emit("close"))},{default:x(()=>[s(e(d),{class:"external-storage-auth__header",text:e(t)("files_external","To access the storage, you need to provide the authentication credentials."),type:"info"},null,8,["text"]),s(e(c),{modelValue:o.value,"onUpdate:modelValue":a[0]||(a[0]=l=>o.value=l),autofocus:"",class:"external-storage-auth__login","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:""},null,8,["modelValue","label","placeholder"]),s(e(p),{modelValue:r.value,"onUpdate:modelValue":a[1]||(a[1]=l=>r.value=l),class:"external-storage-auth__password","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:""},null,8,["modelValue","label","placeholder"])]),_:1},8,["name"]))}});export{k as default};
|
||||
//# sourceMappingURL=CredentialsDialog-DwWjxtIL.chunk.mjs.map
|
||||
import{t}from"./translation-DoG5ZELJ-2ffMJaM4.chunk.mjs";import{N as u}from"./index-dSOqvlAc.chunk.mjs";import{N as d}from"./NcNoteCard-CVhtNL04-CdF6Qoal.chunk.mjs";import{N as p}from"./NcPasswordField-djttkA5Q-DvTgf1Bu.chunk.mjs";import{_ as c}from"./TrashCanOutline-DKx7CxBb.chunk.mjs";import{b as g,c as f,o as h,w as x,e as s,u as e,r as n}from"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";import"./index-6_gsQFyp.chunk.mjs";import"./createElementId-DhjFt1I9-Bjk2333q.chunk.mjs";import"./logger-D3RVzcfQ-iUjwSNGe.chunk.mjs";import"./mdi-kAZc0JKn.chunk.mjs";import"./index-D9L8KHF3.chunk.mjs";import"./string_decoder-BO00msnV.chunk.mjs";import"./index-xFugdZPW.chunk.mjs";import"./NcInputField-Bwsh2aHY-Bf_22pmD.chunk.mjs";const k=g({__name:"CredentialsDialog",emits:["close"],setup(_){const o=n(""),r=n(""),m=[{label:t("files_external","Confirm"),type:"submit",variant:"primary"}];return(i,a)=>(h(),f(e(u),{buttons:m,class:"external-storage-auth",closeOnClickOutside:"","data-cy-external-storage-auth":"",isForm:"",name:e(t)("files_external","Storage credentials"),outTransition:"",onSubmit:a[2]||(a[2]=l=>i.$emit("close",{login:o.value,password:r.value})),"onUpdate:open":a[3]||(a[3]=l=>i.$emit("close"))},{default:x(()=>[s(e(d),{class:"external-storage-auth__header",text:e(t)("files_external","To access the storage, you need to provide the authentication credentials."),type:"info"},null,8,["text"]),s(e(c),{modelValue:o.value,"onUpdate:modelValue":a[0]||(a[0]=l=>o.value=l),autofocus:"",class:"external-storage-auth__login","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:""},null,8,["modelValue","label","placeholder"]),s(e(p),{modelValue:r.value,"onUpdate:modelValue":a[1]||(a[1]=l=>r.value=l),class:"external-storage-auth__password","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:""},null,8,["modelValue","label","placeholder"])]),_:1},8,["name"]))}});export{k as default};
|
||||
//# sourceMappingURL=CredentialsDialog-BDoVqYk8.chunk.mjs.map
|
||||
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"CredentialsDialog-DwWjxtIL.chunk.mjs","sources":["../build/frontend/apps/files_external/src/views/CredentialsDialog.vue"],"sourcesContent":["<!--\n - SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n-->\n\n<script setup lang=\"ts\">\nimport { t } from '@nextcloud/l10n'\nimport { ref } from 'vue'\nimport NcDialog from '@nextcloud/vue/components/NcDialog'\nimport NcNoteCard from '@nextcloud/vue/components/NcNoteCard'\nimport NcPasswordField from '@nextcloud/vue/components/NcPasswordField'\nimport NcTextField from '@nextcloud/vue/components/NcTextField'\n\ndefineEmits<{\n\tclose: [payload?: { login: string, password: string }]\n}>()\n\nconst login = ref('')\nconst password = ref('')\n\nconst dialogButtons: InstanceType<typeof NcDialog>['buttons'] = [{\n\tlabel: t('files_external', 'Confirm'),\n\ttype: 'submit',\n\tvariant: 'primary',\n}]\n</script>\n\n<template>\n\t<NcDialog\n\t\t:buttons=\"dialogButtons\"\n\t\tclass=\"external-storage-auth\"\n\t\tcloseOnClickOutside\n\t\tdata-cy-external-storage-auth\n\t\tisForm\n\t\t:name=\"t('files_external', 'Storage credentials')\"\n\t\toutTransition\n\t\t@submit=\"$emit('close', { login, password })\"\n\t\t@update:open=\"$emit('close')\">\n\t\t<!-- Header -->\n\t\t<NcNoteCard\n\t\t\tclass=\"external-storage-auth__header\"\n\t\t\t:text=\"t('files_external', 'To access the storage, you need to provide the authentication credentials.')\"\n\t\t\ttype=\"info\" />\n\n\t\t<!-- Login -->\n\t\t<NcTextField\n\t\t\tv-model=\"login\"\n\t\t\tautofocus\n\t\t\tclass=\"external-storage-auth__login\"\n\t\t\tdata-cy-external-storage-auth-dialog-login\n\t\t\t:label=\"t('files_external', 'Login')\"\n\t\t\t:placeholder=\"t('files_external', 'Enter the storage login')\"\n\t\t\tminlength=\"2\"\n\t\t\tname=\"login\"\n\t\t\trequired />\n\n\t\t<!-- Password -->\n\t\t<NcPasswordField\n\t\t\tv-model=\"password\"\n\t\t\tclass=\"external-storage-auth__password\"\n\t\t\tdata-cy-external-storage-auth-dialog-password\n\t\t\t:label=\"t('files_external', 'Password')\"\n\t\t\t:placeholder=\"t('files_external', 'Enter the storage password')\"\n\t\t\tname=\"password\"\n\t\t\trequired />\n\t</NcDialog>\n</template>\n"],"names":["login","ref","password","dialogButtons","t","_createBlock","_unref","NcDialog","_cache","$event","$emit","_createVNode","NcNoteCard","NcTextField","NcPasswordField"],"mappings":"sxBAiBA,MAAMA,EAAQC,EAAI,EAAE,EACdC,EAAWD,EAAI,EAAE,EAEjBE,EAA0D,CAAC,CAChE,MAAOC,EAAE,iBAAkB,SAAS,EACpC,KAAM,SACN,QAAS,SAAA,CACT,oBAIAC,EAqCWC,EAAAC,CAAA,EAAA,CApCT,QAASJ,EACV,MAAM,wBACN,oBAAA,GACA,gCAAA,GACA,OAAA,GACC,KAAMG,EAAAF,CAAA,EAAC,iBAAA,qBAAA,EACR,cAAA,GACC,SAAMI,EAAA,CAAA,IAAAA,EAAA,CAAA,EAAAC,GAAEC,EAAAA,MAAK,QAAA,CAAA,MAAYV,EAAA,eAAOE,EAAA,MAAQ,GACxC,+BAAaQ,EAAAA,MAAK,OAAA,EAAA,aAEnB,IAGe,CAHfC,EAGeL,EAAAM,CAAA,EAAA,CAFd,MAAM,gCACL,KAAMN,EAAAF,CAAA,EAAC,iBAAA,4EAAA,EACR,KAAK,MAAA,mBAGNO,EASYL,EAAAO,CAAA,EAAA,YARFb,EAAA,2CAAAA,EAAK,MAAAS,GACd,UAAA,GACA,MAAM,+BACN,6CAAA,GACC,MAAOH,EAAAF,CAAA,EAAC,iBAAA,OAAA,EACR,YAAaE,EAAAF,CAAA,EAAC,iBAAA,yBAAA,EACf,UAAU,IACV,KAAK,QACL,SAAA,EAAA,+CAGDO,EAOYL,EAAAQ,CAAA,EAAA,YANFZ,EAAA,2CAAAA,EAAQ,MAAAO,GACjB,MAAM,kCACN,gDAAA,GACC,MAAOH,EAAAF,CAAA,EAAC,iBAAA,UAAA,EACR,YAAaE,EAAAF,CAAA,EAAC,iBAAA,4BAAA,EACf,KAAK,WACL,SAAA,EAAA"}
|
||||
{"version":3,"file":"CredentialsDialog-BDoVqYk8.chunk.mjs","sources":["../build/frontend/apps/files_external/src/views/CredentialsDialog.vue"],"sourcesContent":["<!--\n - SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n-->\n\n<script setup lang=\"ts\">\nimport { t } from '@nextcloud/l10n'\nimport { ref } from 'vue'\nimport NcDialog from '@nextcloud/vue/components/NcDialog'\nimport NcNoteCard from '@nextcloud/vue/components/NcNoteCard'\nimport NcPasswordField from '@nextcloud/vue/components/NcPasswordField'\nimport NcTextField from '@nextcloud/vue/components/NcTextField'\n\ndefineEmits<{\n\tclose: [payload?: { login: string, password: string }]\n}>()\n\nconst login = ref('')\nconst password = ref('')\n\nconst dialogButtons: InstanceType<typeof NcDialog>['buttons'] = [{\n\tlabel: t('files_external', 'Confirm'),\n\ttype: 'submit',\n\tvariant: 'primary',\n}]\n</script>\n\n<template>\n\t<NcDialog\n\t\t:buttons=\"dialogButtons\"\n\t\tclass=\"external-storage-auth\"\n\t\tcloseOnClickOutside\n\t\tdata-cy-external-storage-auth\n\t\tisForm\n\t\t:name=\"t('files_external', 'Storage credentials')\"\n\t\toutTransition\n\t\t@submit=\"$emit('close', { login, password })\"\n\t\t@update:open=\"$emit('close')\">\n\t\t<!-- Header -->\n\t\t<NcNoteCard\n\t\t\tclass=\"external-storage-auth__header\"\n\t\t\t:text=\"t('files_external', 'To access the storage, you need to provide the authentication credentials.')\"\n\t\t\ttype=\"info\" />\n\n\t\t<!-- Login -->\n\t\t<NcTextField\n\t\t\tv-model=\"login\"\n\t\t\tautofocus\n\t\t\tclass=\"external-storage-auth__login\"\n\t\t\tdata-cy-external-storage-auth-dialog-login\n\t\t\t:label=\"t('files_external', 'Login')\"\n\t\t\t:placeholder=\"t('files_external', 'Enter the storage login')\"\n\t\t\tminlength=\"2\"\n\t\t\tname=\"login\"\n\t\t\trequired />\n\n\t\t<!-- Password -->\n\t\t<NcPasswordField\n\t\t\tv-model=\"password\"\n\t\t\tclass=\"external-storage-auth__password\"\n\t\t\tdata-cy-external-storage-auth-dialog-password\n\t\t\t:label=\"t('files_external', 'Password')\"\n\t\t\t:placeholder=\"t('files_external', 'Enter the storage password')\"\n\t\t\tname=\"password\"\n\t\t\trequired />\n\t</NcDialog>\n</template>\n"],"names":["login","ref","password","dialogButtons","t","_createBlock","_unref","NcDialog","_cache","$event","$emit","_createVNode","NcNoteCard","NcTextField","NcPasswordField"],"mappings":"sxBAiBA,MAAMA,EAAQC,EAAI,EAAE,EACdC,EAAWD,EAAI,EAAE,EAEjBE,EAA0D,CAAC,CAChE,MAAOC,EAAE,iBAAkB,SAAS,EACpC,KAAM,SACN,QAAS,SAAA,CACT,oBAIAC,EAqCWC,EAAAC,CAAA,EAAA,CApCT,QAASJ,EACV,MAAM,wBACN,oBAAA,GACA,gCAAA,GACA,OAAA,GACC,KAAMG,EAAAF,CAAA,EAAC,iBAAA,qBAAA,EACR,cAAA,GACC,SAAMI,EAAA,CAAA,IAAAA,EAAA,CAAA,EAAAC,GAAEC,EAAAA,MAAK,QAAA,CAAA,MAAYV,EAAA,eAAOE,EAAA,MAAQ,GACxC,+BAAaQ,EAAAA,MAAK,OAAA,EAAA,aAEnB,IAGe,CAHfC,EAGeL,EAAAM,CAAA,EAAA,CAFd,MAAM,gCACL,KAAMN,EAAAF,CAAA,EAAC,iBAAA,4EAAA,EACR,KAAK,MAAA,mBAGNO,EASYL,EAAAO,CAAA,EAAA,YARFb,EAAA,2CAAAA,EAAK,MAAAS,GACd,UAAA,GACA,MAAM,+BACN,6CAAA,GACC,MAAOH,EAAAF,CAAA,EAAC,iBAAA,OAAA,EACR,YAAaE,EAAAF,CAAA,EAAC,iBAAA,yBAAA,EACf,UAAU,IACV,KAAK,QACL,SAAA,EAAA,+CAGDO,EAOYL,EAAAQ,CAAA,EAAA,YANFZ,EAAA,2CAAAA,EAAQ,MAAAO,GACjB,MAAM,kCACN,gDAAA,GACC,MAAOH,EAAAF,CAAA,EAAC,iBAAA,UAAA,EACR,YAAaE,EAAAF,CAAA,EAAC,iBAAA,4BAAA,EACf,KAAK,WACL,SAAA,EAAA"}
|
||||
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
|
|
@ -1,2 +1,2 @@
|
|||
import{N as u,m as g}from"./logger-D3RVzcfQ-iUjwSNGe.chunk.mjs";import{N as k}from"./PencilOutline-BPy7Lagu.chunk.mjs";import{a as y}from"./index-Dzo4H_NA.chunk.mjs";import{r as P,t as b,_ as x}from"./createElementId-DhjFt1I9-Bjk2333q.chunk.mjs";import{b as N,i as S,j as f,o as s,l as n,k as $,c as i,m as c,g as h,t as m,p as z,w as e,e as L,u as j,n as w}from"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";P();const B={key:0,class:"nc-chip__icon"},I={class:"nc-chip__text"},A=N({__name:"NcChip",props:{ariaLabelClose:{default:b("Close")},actionsContainer:{default:"body"},text:{default:""},iconPath:{default:void 0},iconSvg:{default:void 0},noClose:{type:Boolean},variant:{default:"secondary"}},emits:["close"],setup(v,{emit:_}){const t=v,C=_,l=S(),o=z(()=>!t.noClose),r=()=>!!l.actions,p=()=>!!(t.iconPath||t.iconSvg||l.icon);return(a,d)=>(s(),f("div",{class:w(["nc-chip",{[`nc-chip--${a.variant}`]:!0,"nc-chip--no-actions":a.noClose&&!r(),"nc-chip--no-icon":!p()}])},[p()?(s(),f("span",B,[c(a.$slots,"icon",{},()=>[a.iconPath||a.iconSvg?(s(),i(u,{key:0,inline:"",path:a.iconPath,svg:a.iconPath?void 0:a.iconSvg,size:18},null,8,["path","svg"])):n("",!0)],!0)])):n("",!0),$("span",I,[c(a.$slots,"default",{},()=>[h(m(a.text),1)],!0)]),o.value||r()?(s(),i(y,{key:1,class:"nc-chip__actions",container:a.actionsContainer,"force-menu":!o.value,variant:"tertiary-no-background"},{default:e(()=>[o.value?(s(),i(k,{key:0,"close-after-click":"",onClick:d[0]||(d[0]=D=>C("close"))},{icon:e(()=>[L(u,{path:j(g),size:20},null,8,["path"])]),default:e(()=>[h(" "+m(a.ariaLabelClose),1)]),_:1})):n("",!0),c(a.$slots,"actions",{},void 0,!0)]),_:3},8,["container","force-menu"])):n("",!0)],2))}}),F=x(A,[["__scopeId","data-v-2aa1d7ea"]]);export{F as N};
|
||||
//# sourceMappingURL=NcChip-D8tGFzRl-BmzaEo05.chunk.mjs.map
|
||||
import{N as u,m as g}from"./logger-D3RVzcfQ-iUjwSNGe.chunk.mjs";import{N as k}from"./PencilOutline-SCYr0J4h.chunk.mjs";import{a as y}from"./index-dSOqvlAc.chunk.mjs";import{r as P,t as b,_ as x}from"./createElementId-DhjFt1I9-Bjk2333q.chunk.mjs";import{b as N,i as S,j as f,o as s,l as n,k as $,c as i,m as c,g as h,t as m,p as z,w as e,e as L,u as j,n as w}from"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";P();const B={key:0,class:"nc-chip__icon"},I={class:"nc-chip__text"},A=N({__name:"NcChip",props:{ariaLabelClose:{default:b("Close")},actionsContainer:{default:"body"},text:{default:""},iconPath:{default:void 0},iconSvg:{default:void 0},noClose:{type:Boolean},variant:{default:"secondary"}},emits:["close"],setup(v,{emit:_}){const t=v,C=_,l=S(),o=z(()=>!t.noClose),r=()=>!!l.actions,p=()=>!!(t.iconPath||t.iconSvg||l.icon);return(a,d)=>(s(),f("div",{class:w(["nc-chip",{[`nc-chip--${a.variant}`]:!0,"nc-chip--no-actions":a.noClose&&!r(),"nc-chip--no-icon":!p()}])},[p()?(s(),f("span",B,[c(a.$slots,"icon",{},()=>[a.iconPath||a.iconSvg?(s(),i(u,{key:0,inline:"",path:a.iconPath,svg:a.iconPath?void 0:a.iconSvg,size:18},null,8,["path","svg"])):n("",!0)],!0)])):n("",!0),$("span",I,[c(a.$slots,"default",{},()=>[h(m(a.text),1)],!0)]),o.value||r()?(s(),i(y,{key:1,class:"nc-chip__actions",container:a.actionsContainer,"force-menu":!o.value,variant:"tertiary-no-background"},{default:e(()=>[o.value?(s(),i(k,{key:0,"close-after-click":"",onClick:d[0]||(d[0]=D=>C("close"))},{icon:e(()=>[L(u,{path:j(g),size:20},null,8,["path"])]),default:e(()=>[h(" "+m(a.ariaLabelClose),1)]),_:1})):n("",!0),c(a.$slots,"actions",{},void 0,!0)]),_:3},8,["container","force-menu"])):n("",!0)],2))}}),F=x(A,[["__scopeId","data-v-2aa1d7ea"]]);export{F as N};
|
||||
//# sourceMappingURL=NcChip-D8tGFzRl-wpz3RwJM.chunk.mjs.map
|
||||
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 @@
|
|||
import{a as d}from"./PencilOutline-BPy7Lagu.chunk.mjs";import{d as _,z as C,A as S}from"./index-Dzo4H_NA.chunk.mjs";import{_ as f}from"./createElementId-DhjFt1I9-Bjk2333q.chunk.mjs";import{j as a,o,k as n,m as x,l as g,N as k,n as y,t as l,f as I,e as v,w as h,b as w,u as T,p as m,Z as p}from"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";const L={name:"NcActionLink",mixins:[d],inject:{isInSemanticMenu:{from:_,default:!1}},props:{href:{type:String,required:!0,validator:e=>{try{return new URL(e)}catch{return e.startsWith("#")||e.startsWith("/")}}},download:{type:String,default:null},target:{type:String,default:"_self",validator:e=>e&&(!e.startsWith("_")||["_blank","_self","_parent","_top"].indexOf(e)>-1)},title:{type:String,default:null}}},M=["role"],N=["download","href","aria-label","target","title","role"],U={key:0,class:"action-link__longtext-wrapper"},j={class:"action-link__name"},$=["textContent"],A=["textContent"],R={key:2,class:"action-link__text"};function W(e,t,i,u,c,r){return o(),a("li",{class:"action",role:r.isInSemanticMenu&&"presentation"},[n("a",{download:i.download,href:i.href,"aria-label":e.ariaLabel,target:i.target,title:i.title,class:"action-link focusable",rel:"nofollow noreferrer noopener",role:r.isInSemanticMenu&&"menuitem",onClick:t[0]||(t[0]=(...s)=>e.onClick&&e.onClick(...s))},[x(e.$slots,"icon",{},()=>[n("span",{"aria-hidden":"true",class:y(["action-link__icon",[e.isIconUrl?"action-link__icon--url":e.icon]]),style:k({backgroundImage:e.isIconUrl?`url(${e.icon})`:null})},null,6)],!0),e.name?(o(),a("span",U,[n("strong",j,l(e.name),1),t[1]||(t[1]=n("br",null,null,-1)),n("span",{class:"action-link__longtext",textContent:l(e.text)},null,8,$)])):e.isLongText?(o(),a("span",{key:1,class:"action-link__longtext",textContent:l(e.text)},null,8,A)):(o(),a("span",R,l(e.text),1)),g("",!0)],8,N)],8,M)}const V=f(L,[["render",W],["__scopeId","data-v-32f01b7a"]]),q={name:"NcActionRouter",mixins:[d],inject:{isInSemanticMenu:{from:_,default:!1}},props:{to:{type:[String,Object],required:!0}}},B=["role"],O={key:0,class:"action-router__longtext-wrapper"},z={class:"action-router__name"},D=["textContent"],Z=["textContent"],E={key:2,class:"action-router__text"};function F(e,t,i,u,c,r){const s=I("RouterLink");return o(),a("li",{class:"action",role:r.isInSemanticMenu&&"presentation"},[v(s,{"aria-label":e.ariaLabel,class:"action-router focusable",rel:"nofollow noreferrer noopener",role:r.isInSemanticMenu&&"menuitem",title:e.title,to:i.to,onClick:e.onClick},{default:h(()=>[x(e.$slots,"icon",{},()=>[n("span",{"aria-hidden":"true",class:y(["action-router__icon",[e.isIconUrl?"action-router__icon--url":e.icon]]),style:k({backgroundImage:e.isIconUrl?`url(${e.icon})`:null})},null,6)],!0),e.name?(o(),a("span",O,[n("strong",z,l(e.name),1),t[0]||(t[0]=n("br",null,null,-1)),n("span",{class:"action-router__longtext",textContent:l(e.text)},null,8,D)])):e.isLongText?(o(),a("span",{key:1,class:"action-router__longtext",textContent:l(e.text)},null,8,Z)):(o(),a("span",E,l(e.text),1)),g("",!0)]),_:3},8,["aria-label","role","title","to","onClick"])],8,B)}const X=f(q,[["render",F],["__scopeId","data-v-87267750"]]),G=["data-timestamp","title","textContent"],Y=w({__name:"NcDateTime",props:{timestamp:{},format:{default:()=>({timeStyle:"medium",dateStyle:"short"})},relativeTime:{type:[Boolean,String],default:"long"},ignoreSeconds:{type:Boolean}},setup(e){const t=e,i=m(()=>({format:t.format})),u=m(()=>({ignoreSeconds:t.ignoreSeconds,relativeTime:t.relativeTime||"long",update:t.relativeTime!==!1})),c=S(p(()=>t.timestamp),i),r=C(p(()=>t.timestamp),u),s=m(()=>t.relativeTime?r.value:c.value);return(b,H)=>(o(),a("span",{class:"nc-datetime",dir:"auto","data-timestamp":b.timestamp,title:T(c),textContent:l(s.value)},null,8,G))}});export{V as N,Y as _,X as a};
|
||||
//# sourceMappingURL=NcDateTime.vue_vue_type_script_setup_true_lang-BhB8yA4U-Bb9gAlar.chunk.mjs.map
|
||||
import{a as d}from"./PencilOutline-SCYr0J4h.chunk.mjs";import{d as _,A as C,B as S}from"./index-dSOqvlAc.chunk.mjs";import{_ as f}from"./createElementId-DhjFt1I9-Bjk2333q.chunk.mjs";import{j as a,o,k as n,m as x,l as g,N as k,n as y,t as l,f as I,e as v,w as h,b as w,u as T,p as m,Z as p}from"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";const L={name:"NcActionLink",mixins:[d],inject:{isInSemanticMenu:{from:_,default:!1}},props:{href:{type:String,required:!0,validator:e=>{try{return new URL(e)}catch{return e.startsWith("#")||e.startsWith("/")}}},download:{type:String,default:null},target:{type:String,default:"_self",validator:e=>e&&(!e.startsWith("_")||["_blank","_self","_parent","_top"].indexOf(e)>-1)},title:{type:String,default:null}}},M=["role"],N=["download","href","aria-label","target","title","role"],U={key:0,class:"action-link__longtext-wrapper"},j={class:"action-link__name"},$=["textContent"],A=["textContent"],B={key:2,class:"action-link__text"};function R(e,t,i,u,c,r){return o(),a("li",{class:"action",role:r.isInSemanticMenu&&"presentation"},[n("a",{download:i.download,href:i.href,"aria-label":e.ariaLabel,target:i.target,title:i.title,class:"action-link focusable",rel:"nofollow noreferrer noopener",role:r.isInSemanticMenu&&"menuitem",onClick:t[0]||(t[0]=(...s)=>e.onClick&&e.onClick(...s))},[x(e.$slots,"icon",{},()=>[n("span",{"aria-hidden":"true",class:y(["action-link__icon",[e.isIconUrl?"action-link__icon--url":e.icon]]),style:k({backgroundImage:e.isIconUrl?`url(${e.icon})`:null})},null,6)],!0),e.name?(o(),a("span",U,[n("strong",j,l(e.name),1),t[1]||(t[1]=n("br",null,null,-1)),n("span",{class:"action-link__longtext",textContent:l(e.text)},null,8,$)])):e.isLongText?(o(),a("span",{key:1,class:"action-link__longtext",textContent:l(e.text)},null,8,A)):(o(),a("span",B,l(e.text),1)),g("",!0)],8,N)],8,M)}const V=f(L,[["render",R],["__scopeId","data-v-32f01b7a"]]),W={name:"NcActionRouter",mixins:[d],inject:{isInSemanticMenu:{from:_,default:!1}},props:{to:{type:[String,Object],required:!0}}},q=["role"],O={key:0,class:"action-router__longtext-wrapper"},D={class:"action-router__name"},Z=["textContent"],z=["textContent"],E={key:2,class:"action-router__text"};function F(e,t,i,u,c,r){const s=I("RouterLink");return o(),a("li",{class:"action",role:r.isInSemanticMenu&&"presentation"},[v(s,{"aria-label":e.ariaLabel,class:"action-router focusable",rel:"nofollow noreferrer noopener",role:r.isInSemanticMenu&&"menuitem",title:e.title,to:i.to,onClick:e.onClick},{default:h(()=>[x(e.$slots,"icon",{},()=>[n("span",{"aria-hidden":"true",class:y(["action-router__icon",[e.isIconUrl?"action-router__icon--url":e.icon]]),style:k({backgroundImage:e.isIconUrl?`url(${e.icon})`:null})},null,6)],!0),e.name?(o(),a("span",O,[n("strong",D,l(e.name),1),t[0]||(t[0]=n("br",null,null,-1)),n("span",{class:"action-router__longtext",textContent:l(e.text)},null,8,Z)])):e.isLongText?(o(),a("span",{key:1,class:"action-router__longtext",textContent:l(e.text)},null,8,z)):(o(),a("span",E,l(e.text),1)),g("",!0)]),_:3},8,["aria-label","role","title","to","onClick"])],8,q)}const X=f(W,[["render",F],["__scopeId","data-v-87267750"]]),G=["data-timestamp","title","textContent"],Y=w({__name:"NcDateTime",props:{timestamp:{},format:{default:()=>({timeStyle:"medium",dateStyle:"short"})},relativeTime:{type:[Boolean,String],default:"long"},ignoreSeconds:{type:Boolean}},setup(e){const t=e,i=m(()=>({format:t.format})),u=m(()=>({ignoreSeconds:t.ignoreSeconds,relativeTime:t.relativeTime||"long",update:t.relativeTime!==!1})),c=S(p(()=>t.timestamp),i),r=C(p(()=>t.timestamp),u),s=m(()=>t.relativeTime?r.value:c.value);return(b,H)=>(o(),a("span",{class:"nc-datetime",dir:"auto","data-timestamp":b.timestamp,title:T(c),textContent:l(s.value)},null,8,G))}});export{V as N,Y as _,X as a};
|
||||
//# sourceMappingURL=NcDateTime.vue_vue_type_script_setup_true_lang-BhB8yA4U-DdXL_Mtm.chunk.mjs.map
|
||||
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,2 +1,2 @@
|
|||
import{R as z}from"./NcNoteCard-CVhtNL04-CdF6Qoal.chunk.mjs";import{N as U}from"./NcAvatar-DmUGApWA-JvdYd-8p.chunk.mjs";import{y as k}from"./index-Dzo4H_NA.chunk.mjs";import{_ as y}from"./createElementId-DhjFt1I9-Bjk2333q.chunk.mjs";import{b as x,q as c,s as R,v as B,c as b,o as l,w as o,m as i,L as f,p as s,z as L,e as S,k as j,j as _,l as q,N as C,t as H,ad as M}from"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";const W={};function A(r,n){return l(),_("div",null,[i(r.$slots,"trigger")])}const D=y(W,[["render",A]]),E={class:"user-bubble__name"},F={key:0,class:"user-bubble__secondary"},G=x({__name:"NcUserBubble",props:c({avatarImage:{default:void 0},user:{default:void 0},displayName:{default:void 0},showUserStatus:{type:Boolean},url:{default:void 0},to:{default:void 0},primary:{type:Boolean},size:{default:20},margin:{default:2}},{open:{type:Boolean},openModifiers:{}}),emits:c(["click"],["update:open"]),setup(r,{emit:n}){const d=R(r,"open"),e=r,g=n,p=s(()=>{if(!e.avatarImage)return!1;try{return!!new URL(e.avatarImage)}catch{return!1}}),m=s(()=>!!e.avatarImage),h=s(()=>({marginInlineStart:`${e.margin}px`})),v=s(()=>{if(!e.url||e.url.trim()==="")return!1;try{return!!new URL(e.url,e.url?.startsWith?.("/")?window.location.href:void 0)}catch{return M("[NcUserBubble] Invalid URL passed",{url:e.url}),!1}}),w=s(()=>v.value?e.url:void 0),N=s(()=>v.value?"a":e.to?z:"div"),I=s(()=>({height:`${e.size}px`,lineHeight:`${e.size}px`,borderRadius:`${e.size/2}px`}));return B([()=>e.displayName,()=>e.user],()=>{!e.displayName&&e.user}),(a,t)=>(l(),b(f(a.$slots.default?k:D),{shown:d.value,"onUpdate:shown":t[1]||(t[1]=u=>d.value=u),class:"user-bubble__wrapper",trigger:"hover focus"},{trigger:o(({attrs:u})=>[(l(),b(f(N.value),L({class:["user-bubble__content",{"user-bubble__content--primary":a.primary}],style:I.value,to:a.to,href:w.value},u,{onClick:t[0]||(t[0]=$=>g("click",$))}),{default:o(()=>[S(U,{url:m.value&&p.value?a.avatarImage:void 0,"icon-class":m.value&&!p.value?a.avatarImage:void 0,user:a.user,"display-name":a.displayName,size:a.size-a.margin*2,style:C(h.value),"disable-tooltip":!0,"disable-menu":!0,"hide-status":!a.showUserStatus,class:"user-bubble__avatar"},null,8,["url","icon-class","user","display-name","size","style","hide-status"]),j("span",E,H(a.displayName||a.user),1),a.$slots.name?(l(),_("span",F,[i(a.$slots,"name",{},void 0,!0)])):q("",!0)]),_:2},1040,["class","style","to","href"]))]),default:o(()=>[i(a.$slots,"default",{},void 0,!0)]),_:3},40,["shown"]))}}),Q=y(G,[["__scopeId","data-v-ad356e41"]]);export{Q as N};
|
||||
//# sourceMappingURL=NcUserBubble-DPAmU2_J-B8QraJ_f.chunk.mjs.map
|
||||
import{R as $}from"./NcNoteCard-CVhtNL04-CdF6Qoal.chunk.mjs";import{N as U}from"./NcAvatar-DmUGApWA-V4G-fK2N.chunk.mjs";import{z as k}from"./index-dSOqvlAc.chunk.mjs";import{_ as y}from"./createElementId-DhjFt1I9-Bjk2333q.chunk.mjs";import{b as x,q as c,s as R,v as B,c as b,o as l,w as o,m as i,L as f,p as s,z as L,e as S,k as j,j as _,l as q,N as C,t as H,ad as M}from"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";const W={};function A(r,n){return l(),_("div",null,[i(r.$slots,"trigger")])}const D=y(W,[["render",A]]),E={class:"user-bubble__name"},F={key:0,class:"user-bubble__secondary"},G=x({__name:"NcUserBubble",props:c({avatarImage:{default:void 0},user:{default:void 0},displayName:{default:void 0},showUserStatus:{type:Boolean},url:{default:void 0},to:{default:void 0},primary:{type:Boolean},size:{default:20},margin:{default:2}},{open:{type:Boolean},openModifiers:{}}),emits:c(["click"],["update:open"]),setup(r,{emit:n}){const d=R(r,"open"),e=r,g=n,p=s(()=>{if(!e.avatarImage)return!1;try{return!!new URL(e.avatarImage)}catch{return!1}}),m=s(()=>!!e.avatarImage),h=s(()=>({marginInlineStart:`${e.margin}px`})),v=s(()=>{if(!e.url||e.url.trim()==="")return!1;try{return!!new URL(e.url,e.url?.startsWith?.("/")?window.location.href:void 0)}catch{return M("[NcUserBubble] Invalid URL passed",{url:e.url}),!1}}),w=s(()=>v.value?e.url:void 0),N=s(()=>v.value?"a":e.to?$:"div"),z=s(()=>({height:`${e.size}px`,lineHeight:`${e.size}px`,borderRadius:`${e.size/2}px`}));return B([()=>e.displayName,()=>e.user],()=>{!e.displayName&&e.user}),(a,t)=>(l(),b(f(a.$slots.default?k:D),{shown:d.value,"onUpdate:shown":t[1]||(t[1]=u=>d.value=u),class:"user-bubble__wrapper",trigger:"hover focus"},{trigger:o(({attrs:u})=>[(l(),b(f(N.value),L({class:["user-bubble__content",{"user-bubble__content--primary":a.primary}],style:z.value,to:a.to,href:w.value},u,{onClick:t[0]||(t[0]=I=>g("click",I))}),{default:o(()=>[S(U,{url:m.value&&p.value?a.avatarImage:void 0,"icon-class":m.value&&!p.value?a.avatarImage:void 0,user:a.user,"display-name":a.displayName,size:a.size-a.margin*2,style:C(h.value),"disable-tooltip":!0,"disable-menu":!0,"hide-status":!a.showUserStatus,class:"user-bubble__avatar"},null,8,["url","icon-class","user","display-name","size","style","hide-status"]),j("span",E,H(a.displayName||a.user),1),a.$slots.name?(l(),_("span",F,[i(a.$slots,"name",{},void 0,!0)])):q("",!0)]),_:2},1040,["class","style","to","href"]))]),default:o(()=>[i(a.$slots,"default",{},void 0,!0)]),_:3},40,["shown"]))}}),Q=y(G,[["__scopeId","data-v-ad356e41"]]);export{Q as N};
|
||||
//# sourceMappingURL=NcUserBubble-DPAmU2_J-DImxKSvr.chunk.mjs.map
|
||||
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
|
|
@ -1,4 +1,4 @@
|
|||
import{c as u}from"./index-D9L8KHF3.chunk.mjs";import{g as y,e as c}from"./index-6_gsQFyp.chunk.mjs";import{t as o}from"./translation-DoG5ZELJ-2ffMJaM4.chunk.mjs";import{c as f}from"./index-Buqk-yLP.chunk.mjs";import{a as h}from"./createElementId-DhjFt1I9-Bjk2333q.chunk.mjs";import{g as b}from"./dav-BYbKV7ND.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-D9L8KHF3.chunk.mjs";import{g as y,e as c}from"./index-6_gsQFyp.chunk.mjs";import{t as o}from"./translation-DoG5ZELJ-2ffMJaM4.chunk.mjs";import{c as f}from"./index-RITgzsFr.chunk.mjs";import{a as h}from"./createElementId-DhjFt1I9-Bjk2333q.chunk.mjs";import{g as b}from"./dav-BYbKV7ND.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-D9L8KHF3.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-DjnjCM4j.chunk.mjs.map
|
||||
//# sourceMappingURL=api-Bk0yuLGL.chunk.mjs.map
|
||||
File diff suppressed because one or more lines are too long
2
dist/dav-settings-admin-example-content.mjs
vendored
2
dist/dav-settings-admin-example-content.mjs
vendored
File diff suppressed because one or more lines are too long
2
dist/dav-settings-personal-availability.mjs
vendored
2
dist/dav-settings-personal-availability.mjs
vendored
File diff suppressed because one or more lines are too long
2
dist/encryption-encryption.mjs
vendored
2
dist/encryption-encryption.mjs
vendored
|
|
@ -1,2 +1,2 @@
|
|||
import{a as o}from"./index-6_gsQFyp.chunk.mjs";import{c as i}from"./index-D9L8KHF3.chunk.mjs";import{s as r}from"./index-JpgrUA2Z-DPCs44Lo.chunk.mjs";import{g as a}from"./createElementId-DhjFt1I9-Bjk2333q.chunk.mjs";import"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";import"./string_decoder-BO00msnV.chunk.mjs";import"./index-xFugdZPW.chunk.mjs";import"./index-Dzo4H_NA.chunk.mjs";import"./logger-D3RVzcfQ-iUjwSNGe.chunk.mjs";import"./translation-DoG5ZELJ-2ffMJaM4.chunk.mjs";import"./mdi-kAZc0JKn.chunk.mjs";import"./NcNoteCard-CVhtNL04-CdF6Qoal.chunk.mjs";window.addEventListener("DOMContentLoaded",async function(){if(o()===null)return;const{data:t}=await i.get(a("/apps/encryption/ajax/getStatus"));t.status==="interactionNeeded"&&r(t.data.message)});
|
||||
import{a as o}from"./index-6_gsQFyp.chunk.mjs";import{c as i}from"./index-D9L8KHF3.chunk.mjs";import{s as r}from"./index-JpgrUA2Z-D2EPRmnZ.chunk.mjs";import{g as a}from"./createElementId-DhjFt1I9-Bjk2333q.chunk.mjs";import"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";import"./string_decoder-BO00msnV.chunk.mjs";import"./index-xFugdZPW.chunk.mjs";import"./index-dSOqvlAc.chunk.mjs";import"./logger-D3RVzcfQ-iUjwSNGe.chunk.mjs";import"./translation-DoG5ZELJ-2ffMJaM4.chunk.mjs";import"./mdi-kAZc0JKn.chunk.mjs";import"./NcNoteCard-CVhtNL04-CdF6Qoal.chunk.mjs";window.addEventListener("DOMContentLoaded",async function(){if(o()===null)return;const{data:t}=await i.get(a("/apps/encryption/ajax/getStatus"));t.status==="interactionNeeded"&&r(t.data.message)});
|
||||
//# sourceMappingURL=encryption-encryption.mjs.map
|
||||
|
|
|
|||
2
dist/encryption-settings_admin.mjs
vendored
2
dist/encryption-settings_admin.mjs
vendored
File diff suppressed because one or more lines are too long
2
dist/encryption-settings_personal.mjs
vendored
2
dist/encryption-settings_personal.mjs
vendored
File diff suppressed because one or more lines are too long
2
dist/federatedfilesharing-init-files.mjs
vendored
2
dist/federatedfilesharing-init-files.mjs
vendored
|
|
@ -1,2 +1,2 @@
|
|||
import{c as d,i as _}from"./index-D9L8KHF3.chunk.mjs";import{b as y,a as f}from"./index-JpgrUA2Z-DPCs44Lo.chunk.mjs";import{s as b}from"./index-6_gsQFyp.chunk.mjs";import{a as R,l as v}from"./index-xFugdZPW.chunk.mjs";import{t}from"./translation-DoG5ZELJ-2ffMJaM4.chunk.mjs";import{g as m}from"./createElementId-DhjFt1I9-Bjk2333q.chunk.mjs";import{N as D,s as S}from"./index-Dzo4H_NA.chunk.mjs";import{N as O}from"./NcPasswordField-djttkA5Q-DvTgf1Bu.chunk.mjs";import{b as k,c as u,o as h,w as F,k as C,l as P,t as q,u as i,n as x,r as N,p as E}from"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";import{l as M}from"./logger-Cp6RU9KJ.chunk.mjs";import"./string_decoder-BO00msnV.chunk.mjs";import"./NcNoteCard-CVhtNL04-CdF6Qoal.chunk.mjs";import"./logger-D3RVzcfQ-iUjwSNGe.chunk.mjs";import"./mdi-kAZc0JKn.chunk.mjs";import"./NcInputField-Bwsh2aHY-Bf_22pmD.chunk.mjs";const T=k({__name:"RemoteShareDialog",props:{name:{},owner:{},remote:{},passwordRequired:{type:Boolean}},emits:["close"],setup(e,{emit:r}){const s=e,a=r,o=N(""),n=E(()=>[{label:t("federatedfilesharing","Cancel"),callback:()=>a("close",!1)},{label:t("federatedfilesharing","Add remote share"),type:s.passwordRequired?"submit":void 0,variant:"primary",callback:()=>a("close",!0,o.value)}]);return(p,l)=>(h(),u(i(D),{buttons:n.value,isForm:e.passwordRequired,name:i(t)("federatedfilesharing","Remote share"),onSubmit:l[1]||(l[1]=w=>a("close",!0,o.value))},{default:F(()=>[C("p",null,q(i(t)("federatedfilesharing","Do you want to add the remote share {name} from {owner}@{remote}?",{name:e.name,owner:e.owner,remote:e.remote})),1),e.passwordRequired?(h(),u(i(O),{key:0,modelValue:o.value,"onUpdate:modelValue":l[0]||(l[0]=w=>o.value=w),class:x(p.$style.remoteShareDialog__password),label:i(t)("federatedfilesharing","Remote share password")},null,8,["modelValue","class","label"])):P("",!0)]),_:1},8,["buttons","isForm","name"]))}}),U="_remoteShareDialog__password_1ccpy_2",V={remoteShareDialog__password:U},$={$style:V},j=R(T,[["__cssModules",$]]);async function I(e,r,s,a=!1){const[o,n]=await S(j,{name:e,owner:r,remote:s,passwordRequired:a});if(a&&o)return n;if(!o)throw new Error("Dialog was cancelled")}window.addEventListener("DOMContentLoaded",()=>{L(),v("federatedfilesharing","notificationsEnabled",!0)!==!0&&A(),b("notifications:action:executed",({action:e,notification:r})=>{r.app==="files_sharing"&&r.object_type==="remote_share"&&e.type==="POST"&&c()})});function c(){if(!window?.OCP?.Files?.Router?.goToRoute){window.location.reload();return}window.OCP.Files.Router.goToRoute(null,{...window.OCP.Files.Router.params,fileid:void 0},{...window.OCP.Files.Router.query,dir:"/",openfile:void 0})}function L(){const e=window.OC.Util.History.parseUrlQuery();if(e.remote&&e.token&&e.name){const r=(s,a)=>{s!==!1&&d.post(m("apps/federatedfilesharing/askForFederatedShare"),{remote:a.remote,token:a.token,owner:a.owner,ownerDisplayName:a.ownerDisplayName||a.owner,name:a.name,password:a.password||""}).then(({data:o})=>{Object.hasOwn(o,"legacyMount")?c():y(o.message)}).catch(o=>{M.error("Error while processing incoming share",{error:o}),_(o)&&o.response.data.message?f(o.response.data.message):f(t("federatedfilesharing","Incoming share could not be processed"))})};location.hash="",e.passwordProtected=parseInt(e.protected,10)===1,g(e,e.passwordProtected,r)}}async function A(){const{data:e}=await d.get(m("/apps/files_sharing/api/externalShares"));for(let r=0;r<e.length;++r)g(e[r],!1,function(s,a){s===!1?d.delete(m("/apps/files_sharing/api/externalShares/"+a.id)):d.post(m("/apps/files_sharing/api/externalShares"),{id:a.id}).then(()=>c())})}function g(e,r,s){const a=e.ownerDisplayName||e.owner,o=e.name,n=e.remote.replace(/^https?:\/\//,"").replace(/\/$/,"");I(o,a,n,r).then(p=>s(!0,{...e,password:p})).catch(()=>s(!1,e))}
|
||||
import{c as d,i as _}from"./index-D9L8KHF3.chunk.mjs";import{b as y,a as f}from"./index-JpgrUA2Z-D2EPRmnZ.chunk.mjs";import{s as b}from"./index-6_gsQFyp.chunk.mjs";import{a as R,l as v}from"./index-xFugdZPW.chunk.mjs";import{t}from"./translation-DoG5ZELJ-2ffMJaM4.chunk.mjs";import{g as m}from"./createElementId-DhjFt1I9-Bjk2333q.chunk.mjs";import{N as D,s as S}from"./index-dSOqvlAc.chunk.mjs";import{N as O}from"./NcPasswordField-djttkA5Q-DvTgf1Bu.chunk.mjs";import{b as k,c as u,o as h,w as F,k as C,l as P,t as q,u as i,n as x,r as N,p as E}from"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";import{l as M}from"./logger-Cp6RU9KJ.chunk.mjs";import"./string_decoder-BO00msnV.chunk.mjs";import"./NcNoteCard-CVhtNL04-CdF6Qoal.chunk.mjs";import"./logger-D3RVzcfQ-iUjwSNGe.chunk.mjs";import"./mdi-kAZc0JKn.chunk.mjs";import"./NcInputField-Bwsh2aHY-Bf_22pmD.chunk.mjs";const T=k({__name:"RemoteShareDialog",props:{name:{},owner:{},remote:{},passwordRequired:{type:Boolean}},emits:["close"],setup(e,{emit:r}){const s=e,a=r,o=N(""),n=E(()=>[{label:t("federatedfilesharing","Cancel"),callback:()=>a("close",!1)},{label:t("federatedfilesharing","Add remote share"),type:s.passwordRequired?"submit":void 0,variant:"primary",callback:()=>a("close",!0,o.value)}]);return(p,l)=>(h(),u(i(D),{buttons:n.value,isForm:e.passwordRequired,name:i(t)("federatedfilesharing","Remote share"),onSubmit:l[1]||(l[1]=w=>a("close",!0,o.value))},{default:F(()=>[C("p",null,q(i(t)("federatedfilesharing","Do you want to add the remote share {name} from {owner}@{remote}?",{name:e.name,owner:e.owner,remote:e.remote})),1),e.passwordRequired?(h(),u(i(O),{key:0,modelValue:o.value,"onUpdate:modelValue":l[0]||(l[0]=w=>o.value=w),class:x(p.$style.remoteShareDialog__password),label:i(t)("federatedfilesharing","Remote share password")},null,8,["modelValue","class","label"])):P("",!0)]),_:1},8,["buttons","isForm","name"]))}}),U="_remoteShareDialog__password_1ccpy_2",V={remoteShareDialog__password:U},$={$style:V},j=R(T,[["__cssModules",$]]);async function I(e,r,s,a=!1){const[o,n]=await S(j,{name:e,owner:r,remote:s,passwordRequired:a});if(a&&o)return n;if(!o)throw new Error("Dialog was cancelled")}window.addEventListener("DOMContentLoaded",()=>{L(),v("federatedfilesharing","notificationsEnabled",!0)!==!0&&A(),b("notifications:action:executed",({action:e,notification:r})=>{r.app==="files_sharing"&&r.object_type==="remote_share"&&e.type==="POST"&&c()})});function c(){if(!window?.OCP?.Files?.Router?.goToRoute){window.location.reload();return}window.OCP.Files.Router.goToRoute(null,{...window.OCP.Files.Router.params,fileid:void 0},{...window.OCP.Files.Router.query,dir:"/",openfile:void 0})}function L(){const e=window.OC.Util.History.parseUrlQuery();if(e.remote&&e.token&&e.name){const r=(s,a)=>{s!==!1&&d.post(m("apps/federatedfilesharing/askForFederatedShare"),{remote:a.remote,token:a.token,owner:a.owner,ownerDisplayName:a.ownerDisplayName||a.owner,name:a.name,password:a.password||""}).then(({data:o})=>{Object.hasOwn(o,"legacyMount")?c():y(o.message)}).catch(o=>{M.error("Error while processing incoming share",{error:o}),_(o)&&o.response.data.message?f(o.response.data.message):f(t("federatedfilesharing","Incoming share could not be processed"))})};location.hash="",e.passwordProtected=parseInt(e.protected,10)===1,g(e,e.passwordProtected,r)}}async function A(){const{data:e}=await d.get(m("/apps/files_sharing/api/externalShares"));for(let r=0;r<e.length;++r)g(e[r],!1,function(s,a){s===!1?d.delete(m("/apps/files_sharing/api/externalShares/"+a.id)):d.post(m("/apps/files_sharing/api/externalShares"),{id:a.id}).then(()=>c())})}function g(e,r,s){const a=e.ownerDisplayName||e.owner,o=e.name,n=e.remote.replace(/^https?:\/\//,"").replace(/\/$/,"");I(o,a,n,r).then(p=>s(!0,{...e,password:p})).catch(()=>s(!1,e))}
|
||||
//# sourceMappingURL=federatedfilesharing-init-files.mjs.map
|
||||
|
|
|
|||
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
|
|
@ -1,4 +1,4 @@
|
|||
import{j as s,o,k as i,l as I,t as l,z as L,b as Z,c as w,w as r,e as u,u as e,p as _,r as z,g as f,F as j,N as J,h as W}from"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";import{d as H}from"./index-JpgrUA2Z-DPCs44Lo.chunk.mjs";import{a as M,l as h}from"./index-xFugdZPW.chunk.mjs";import{t as a}from"./translation-DoG5ZELJ-2ffMJaM4.chunk.mjs";import{i as x}from"./createElementId-DhjFt1I9-Bjk2333q.chunk.mjs";import{c as b}from"./logger-D3RVzcfQ-iUjwSNGe.chunk.mjs";import{N as q}from"./NcInputField-Bwsh2aHY-Bf_22pmD.chunk.mjs";import{I as E,N as G}from"./ContentCopy-caJ7vqeg.chunk.mjs";import"./modulepreload-polyfill-BxzAKjcf.chunk.mjs";import"./index-Dzo4H_NA.chunk.mjs";import"./mdi-kAZc0JKn.chunk.mjs";import"./index-6_gsQFyp.chunk.mjs";import"./NcNoteCard-CVhtNL04-CdF6Qoal.chunk.mjs";const K={name:"CheckIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Q=["aria-hidden","aria-label"],X=["fill","width","height"],ee={d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"},ae={key:0};function te(d,n,t,k,p,y){return o(),s("span",L(d.$attrs,{"aria-hidden":t.title?null:"true","aria-label":t.title,class:"material-design-icon check-icon",role:"img",onClick:n[0]||(n[0]=m=>d.$emit("click",m))}),[(o(),s("svg",{fill:t.fillColor,class:"material-design-icon__svg",width:t.size,height:t.size,viewBox:"0 0 24 24"},[i("path",ee,[t.title?(o(),s("title",ae,l(t.title),1)):I("",!0)])],8,X))],16,Q)}const ie=M(K,[["render",te]]),re={name:"WebIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},le=["aria-hidden","aria-label"],oe=["fill","width","height"],ne={d:"M16.36,14C16.44,13.34 16.5,12.68 16.5,12C16.5,11.32 16.44,10.66 16.36,10H19.74C19.9,10.64 20,11.31 20,12C20,12.69 19.9,13.36 19.74,14M14.59,19.56C15.19,18.45 15.65,17.25 15.97,16H18.92C17.96,17.65 16.43,18.93 14.59,19.56M14.34,14H9.66C9.56,13.34 9.5,12.68 9.5,12C9.5,11.32 9.56,10.65 9.66,10H14.34C14.43,10.65 14.5,11.32 14.5,12C14.5,12.68 14.43,13.34 14.34,14M12,19.96C11.17,18.76 10.5,17.43 10.09,16H13.91C13.5,17.43 12.83,18.76 12,19.96M8,8H5.08C6.03,6.34 7.57,5.06 9.4,4.44C8.8,5.55 8.35,6.75 8,8M5.08,16H8C8.35,17.25 8.8,18.45 9.4,19.56C7.57,18.93 6.03,17.65 5.08,16M4.26,14C4.1,13.36 4,12.69 4,12C4,11.31 4.1,10.64 4.26,10H7.64C7.56,10.66 7.5,11.32 7.5,12C7.5,12.68 7.56,13.34 7.64,14M12,4.03C12.83,5.23 13.5,6.57 13.91,8H10.09C10.5,6.57 11.17,5.23 12,4.03M18.92,8H15.97C15.65,6.75 15.19,5.55 14.59,4.44C16.43,5.07 17.96,6.34 18.92,8M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},se={key:0};function de(d,n,t,k,p,y){return o(),s("span",L(d.$attrs,{"aria-hidden":t.title?null:"true","aria-label":t.title,class:"material-design-icon web-icon",role:"img",onClick:n[0]||(n[0]=m=>d.$emit("click",m))}),[(o(),s("svg",{fill:t.fillColor,class:"material-design-icon__svg",width:t.size,height:t.size,viewBox:"0 0 24 24"},[i("path",ne,[t.title?(o(),s("title",se,l(t.title),1)):I("",!0)])],8,oe))],16,le)}const ce=M(re,[["render",de]]),ue={class:"social-button"},fe=["src"],he=["src"],pe=["src"],me={style:{margin:"10px 0"}},ge=["href"],Ce=Z({__name:"PersonalSettings",setup(d){const n=window.OC.theme.productName,t=h("federatedfilesharing","color"),k=h("federatedfilesharing","textColor"),p=h("federatedfilesharing","cloudId"),y=h("federatedfilesharing","docUrlFederated"),m=h("federatedfilesharing","logoPath"),g=h("federatedfilesharing","reference"),S=x("core","facebook"),F=x("core","mastodon"),U=x("core","bluesky"),B=a("federatedfilesharing","Share with me through my #Nextcloud Federated Cloud ID, see {url}",{url:g}),D=a("federatedfilesharing","Share with me through my #Nextcloud Federated Cloud ID"),R=`https://mastodon.social/?text=${encodeURIComponent(D)}&url=${encodeURIComponent(g)}`,T=`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(g)}`,A=`https://bsky.app/intent/compose?text=${encodeURIComponent(B)}`,O=new URL(m,location.origin),v=z(!1),C=z(!1),$=_(()=>`
|
||||
import{j as s,o,k as i,l as I,t as l,z as L,b as Z,c as w,w as r,e as u,u as e,p as _,r as z,g as f,F as j,N as J,h as W}from"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";import{d as H}from"./index-JpgrUA2Z-D2EPRmnZ.chunk.mjs";import{a as M,l as h}from"./index-xFugdZPW.chunk.mjs";import{t as a}from"./translation-DoG5ZELJ-2ffMJaM4.chunk.mjs";import{i as x}from"./createElementId-DhjFt1I9-Bjk2333q.chunk.mjs";import{c as b}from"./logger-D3RVzcfQ-iUjwSNGe.chunk.mjs";import{N as q}from"./NcInputField-Bwsh2aHY-Bf_22pmD.chunk.mjs";import{I as E,N as G}from"./ContentCopy-caJ7vqeg.chunk.mjs";import"./modulepreload-polyfill-BxzAKjcf.chunk.mjs";import"./index-dSOqvlAc.chunk.mjs";import"./mdi-kAZc0JKn.chunk.mjs";import"./index-6_gsQFyp.chunk.mjs";import"./NcNoteCard-CVhtNL04-CdF6Qoal.chunk.mjs";const K={name:"CheckIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Q=["aria-hidden","aria-label"],X=["fill","width","height"],ee={d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"},ae={key:0};function te(d,n,t,k,p,y){return o(),s("span",L(d.$attrs,{"aria-hidden":t.title?null:"true","aria-label":t.title,class:"material-design-icon check-icon",role:"img",onClick:n[0]||(n[0]=m=>d.$emit("click",m))}),[(o(),s("svg",{fill:t.fillColor,class:"material-design-icon__svg",width:t.size,height:t.size,viewBox:"0 0 24 24"},[i("path",ee,[t.title?(o(),s("title",ae,l(t.title),1)):I("",!0)])],8,X))],16,Q)}const ie=M(K,[["render",te]]),re={name:"WebIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},le=["aria-hidden","aria-label"],oe=["fill","width","height"],ne={d:"M16.36,14C16.44,13.34 16.5,12.68 16.5,12C16.5,11.32 16.44,10.66 16.36,10H19.74C19.9,10.64 20,11.31 20,12C20,12.69 19.9,13.36 19.74,14M14.59,19.56C15.19,18.45 15.65,17.25 15.97,16H18.92C17.96,17.65 16.43,18.93 14.59,19.56M14.34,14H9.66C9.56,13.34 9.5,12.68 9.5,12C9.5,11.32 9.56,10.65 9.66,10H14.34C14.43,10.65 14.5,11.32 14.5,12C14.5,12.68 14.43,13.34 14.34,14M12,19.96C11.17,18.76 10.5,17.43 10.09,16H13.91C13.5,17.43 12.83,18.76 12,19.96M8,8H5.08C6.03,6.34 7.57,5.06 9.4,4.44C8.8,5.55 8.35,6.75 8,8M5.08,16H8C8.35,17.25 8.8,18.45 9.4,19.56C7.57,18.93 6.03,17.65 5.08,16M4.26,14C4.1,13.36 4,12.69 4,12C4,11.31 4.1,10.64 4.26,10H7.64C7.56,10.66 7.5,11.32 7.5,12C7.5,12.68 7.56,13.34 7.64,14M12,4.03C12.83,5.23 13.5,6.57 13.91,8H10.09C10.5,6.57 11.17,5.23 12,4.03M18.92,8H15.97C15.65,6.75 15.19,5.55 14.59,4.44C16.43,5.07 17.96,6.34 18.92,8M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},se={key:0};function de(d,n,t,k,p,y){return o(),s("span",L(d.$attrs,{"aria-hidden":t.title?null:"true","aria-label":t.title,class:"material-design-icon web-icon",role:"img",onClick:n[0]||(n[0]=m=>d.$emit("click",m))}),[(o(),s("svg",{fill:t.fillColor,class:"material-design-icon__svg",width:t.size,height:t.size,viewBox:"0 0 24 24"},[i("path",ne,[t.title?(o(),s("title",se,l(t.title),1)):I("",!0)])],8,oe))],16,le)}const ce=M(re,[["render",de]]),ue={class:"social-button"},fe=["src"],he=["src"],pe=["src"],me={style:{margin:"10px 0"}},ge=["href"],Ce=Z({__name:"PersonalSettings",setup(d){const n=window.OC.theme.productName,t=h("federatedfilesharing","color"),k=h("federatedfilesharing","textColor"),p=h("federatedfilesharing","cloudId"),y=h("federatedfilesharing","docUrlFederated"),m=h("federatedfilesharing","logoPath"),g=h("federatedfilesharing","reference"),S=x("core","facebook"),F=x("core","mastodon"),U=x("core","bluesky"),B=a("federatedfilesharing","Share with me through my #Nextcloud Federated Cloud ID, see {url}",{url:g}),D=a("federatedfilesharing","Share with me through my #Nextcloud Federated Cloud ID"),R=`https://mastodon.social/?text=${encodeURIComponent(D)}&url=${encodeURIComponent(g)}`,T=`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(g)}`,A=`https://bsky.app/intent/compose?text=${encodeURIComponent(B)}`,O=new URL(m,location.origin),v=z(!1),C=z(!1),$=_(()=>`
|
||||
padding:10px;
|
||||
background-color:${t};
|
||||
color:${k};
|
||||
|
|
|
|||
2
dist/federation-settings-admin.mjs
vendored
2
dist/federation-settings-admin.mjs
vendored
File diff suppressed because one or more lines are too long
4
dist/files_external-auth_rsa.mjs
vendored
4
dist/files_external-auth_rsa.mjs
vendored
|
|
@ -1,3 +1,3 @@
|
|||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('', '', 'dist/AuthMechanismRsa-Dn6adkfl.chunk.mjs'),window.OC.filePath('', '', 'dist/runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs'),window.OC.filePath('', '', 'dist/index-D9L8KHF3.chunk.mjs'),window.OC.filePath('', '', 'dist/index-6_gsQFyp.chunk.mjs'),window.OC.filePath('', '', 'dist/string_decoder-BO00msnV.chunk.mjs'),window.OC.filePath('', '', 'dist/createElementId-DhjFt1I9-Bjk2333q.chunk.mjs'),window.OC.filePath('', '', 'dist/translation-DoG5ZELJ-2ffMJaM4.chunk.mjs'),window.OC.filePath('', '', 'dist/index-JpgrUA2Z-DPCs44Lo.chunk.mjs'),window.OC.filePath('', '', 'dist/index-xFugdZPW.chunk.mjs'),window.OC.filePath('', '', 'dist/index-Dzo4H_NA.chunk.mjs'),window.OC.filePath('', '', 'dist/logger-D3RVzcfQ-iUjwSNGe.chunk.mjs'),window.OC.filePath('', '', 'dist/logger-D3RVzcfQ-Bx-uhVVO.chunk.css'),window.OC.filePath('', '', 'dist/mdi-kAZc0JKn.chunk.mjs'),window.OC.filePath('', '', 'dist/mdi-BYHcrfvW.chunk.css'),window.OC.filePath('', '', 'dist/index-PxDoi4mB.chunk.css'),window.OC.filePath('', '', 'dist/NcNoteCard-CVhtNL04-CdF6Qoal.chunk.mjs'),window.OC.filePath('', '', 'dist/NcNoteCard-CVhtNL04-Jq77EThs.chunk.css'),window.OC.filePath('', '', 'dist/NcSelect-Czzsi3P_-wYuKB0zM.chunk.mjs'),window.OC.filePath('', '', 'dist/NcSelect-Czzsi3P_-DxGOLvnt.chunk.css'),window.OC.filePath('', '', 'dist/NcCheckboxRadioSwitch-BCSKF7Tk-BDM2s1GW.chunk.mjs'),window.OC.filePath('', '', 'dist/NcCheckboxRadioSwitch-BCSKF7Tk-BgdwjgMO.chunk.css'),window.OC.filePath('', '', 'dist/NcPasswordField-djttkA5Q-DvTgf1Bu.chunk.mjs'),window.OC.filePath('', '', 'dist/NcInputField-Bwsh2aHY-Bf_22pmD.chunk.mjs'),window.OC.filePath('', '', 'dist/NcInputField-Bwsh2aHY-_gyGHRGx.chunk.css'),window.OC.filePath('', '', 'dist/NcPasswordField-djttkA5Q-2EzJaBaw.chunk.css'),window.OC.filePath('', '', 'dist/TrashCanOutline-DKx7CxBb.chunk.mjs'),window.OC.filePath('', '', 'dist/types-DD622x-I.chunk.mjs'),window.OC.filePath('', '', 'dist/logger-CrDakPzW.chunk.mjs')])))=>i.map(i=>d[i]);
|
||||
import{_ as t}from"./index-xFugdZPW.chunk.mjs";import{d as a,a as i}from"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";const r=i(()=>t(()=>import("./AuthMechanismRsa-Dn6adkfl.chunk.mjs").then(e=>e.A),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27]),import.meta.url)),s=a(r,{shadowRoot:!1});customElements.define("files_external-auth-mechanism-rsa",s),window.OCA.FilesExternal.AuthMechanism.registerHandler({id:"rsa",tagName:"files_external-auth-mechanism-rsa",enabled(e){return e.scheme==="publickey"&&e.identifier==="publickey::rsa"}});
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('', '', 'dist/AuthMechanismRsa-TqhTMDlx.chunk.mjs'),window.OC.filePath('', '', 'dist/runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs'),window.OC.filePath('', '', 'dist/index-D9L8KHF3.chunk.mjs'),window.OC.filePath('', '', 'dist/index-6_gsQFyp.chunk.mjs'),window.OC.filePath('', '', 'dist/string_decoder-BO00msnV.chunk.mjs'),window.OC.filePath('', '', 'dist/createElementId-DhjFt1I9-Bjk2333q.chunk.mjs'),window.OC.filePath('', '', 'dist/translation-DoG5ZELJ-2ffMJaM4.chunk.mjs'),window.OC.filePath('', '', 'dist/index-JpgrUA2Z-D2EPRmnZ.chunk.mjs'),window.OC.filePath('', '', 'dist/index-xFugdZPW.chunk.mjs'),window.OC.filePath('', '', 'dist/index-dSOqvlAc.chunk.mjs'),window.OC.filePath('', '', 'dist/logger-D3RVzcfQ-iUjwSNGe.chunk.mjs'),window.OC.filePath('', '', 'dist/logger-D3RVzcfQ-Bx-uhVVO.chunk.css'),window.OC.filePath('', '', 'dist/mdi-kAZc0JKn.chunk.mjs'),window.OC.filePath('', '', 'dist/mdi-BYHcrfvW.chunk.css'),window.OC.filePath('', '', 'dist/index-PxDoi4mB.chunk.css'),window.OC.filePath('', '', 'dist/NcNoteCard-CVhtNL04-CdF6Qoal.chunk.mjs'),window.OC.filePath('', '', 'dist/NcNoteCard-CVhtNL04-Jq77EThs.chunk.css'),window.OC.filePath('', '', 'dist/NcSelect-Czzsi3P_-7VXJuGva.chunk.mjs'),window.OC.filePath('', '', 'dist/NcSelect-Czzsi3P_-DxGOLvnt.chunk.css'),window.OC.filePath('', '', 'dist/NcCheckboxRadioSwitch-BCSKF7Tk-BDM2s1GW.chunk.mjs'),window.OC.filePath('', '', 'dist/NcCheckboxRadioSwitch-BCSKF7Tk-BgdwjgMO.chunk.css'),window.OC.filePath('', '', 'dist/NcPasswordField-djttkA5Q-DvTgf1Bu.chunk.mjs'),window.OC.filePath('', '', 'dist/NcInputField-Bwsh2aHY-Bf_22pmD.chunk.mjs'),window.OC.filePath('', '', 'dist/NcInputField-Bwsh2aHY-_gyGHRGx.chunk.css'),window.OC.filePath('', '', 'dist/NcPasswordField-djttkA5Q-2EzJaBaw.chunk.css'),window.OC.filePath('', '', 'dist/TrashCanOutline-DKx7CxBb.chunk.mjs'),window.OC.filePath('', '', 'dist/types-DD622x-I.chunk.mjs'),window.OC.filePath('', '', 'dist/logger-CrDakPzW.chunk.mjs')])))=>i.map(i=>d[i]);
|
||||
import{_ as t}from"./index-xFugdZPW.chunk.mjs";import{d as a,a as i}from"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";const r=i(()=>t(()=>import("./AuthMechanismRsa-TqhTMDlx.chunk.mjs").then(e=>e.A),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27]),import.meta.url)),s=a(r,{shadowRoot:!1});customElements.define("files_external-auth-mechanism-rsa",s),window.OCA.FilesExternal.AuthMechanism.registerHandler({id:"rsa",tagName:"files_external-auth-mechanism-rsa",enabled(e){return e.scheme==="publickey"&&e.identifier==="publickey::rsa"}});
|
||||
//# sourceMappingURL=files_external-auth_rsa.mjs.map
|
||||
|
|
|
|||
4
dist/files_external-init.mjs
vendored
4
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/files_reminders-init.mjs
vendored
2
dist/files_reminders-init.mjs
vendored
File diff suppressed because one or more lines are too long
2
dist/files_trashbin-init.mjs
vendored
2
dist/files_trashbin-init.mjs
vendored
|
|
@ -1,4 +1,4 @@
|
|||
import{C as c,V as _,g as v,a as x,b as V}from"./index-DqvvZoL1.chunk.mjs";import{a as o,g as H,e as p}from"./index-6_gsQFyp.chunk.mjs";import{c as u,i as A}from"./index-D9L8KHF3.chunk.mjs";import{a as b,d as C,g as N}from"./index-JpgrUA2Z-DPCs44Lo.chunk.mjs";import{P as E}from"./folder-D9CBQngR-Cw5TS1GK.chunk.mjs";import{d as S,e as $,l as I}from"./index-xFugdZPW.chunk.mjs";import{t as n,g as y,a as f}from"./translation-DoG5ZELJ-2ffMJaM4.chunk.mjs";import{g as D,d as L}from"./createElementId-DhjFt1I9-Bjk2333q.chunk.mjs";import{g as M,a as T,b as k,r as F,d as B}from"./dav-BYbKV7ND.chunk.mjs";import{f as U}from"./index-Dzo4H_NA.chunk.mjs";import{h as P}from"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";import{N as O}from"./NcUserBubble-DPAmU2_J-B8QraJ_f.chunk.mjs";import"./string_decoder-BO00msnV.chunk.mjs";import"./NcNoteCard-CVhtNL04-CdF6Qoal.chunk.mjs";import"./logger-D3RVzcfQ-iUjwSNGe.chunk.mjs";import"./index-Dpy2yt9b.chunk.mjs";import"./mdi-kAZc0JKn.chunk.mjs";import"./NcAvatar-DmUGApWA-JvdYd-8p.chunk.mjs";import"./colors-Go3zmZRD-Bml2X1sg.chunk.mjs";import"./NcUserStatusIcon-CGEf7fej-CR1VhaiT.chunk.mjs";import"./PencilOutline-BPy7Lagu.chunk.mjs";import"./NcDateTime.vue_vue_type_script_setup_true_lang-BhB8yA4U-Bb9gAlar.chunk.mjs";const R='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-history" viewBox="0 0 24 24"><path d="M13.5,8H12V13L16.28,15.54L17,14.33L13.5,12.25V8M13,3A9,9 0 0,0 4,12H1L4.96,16.03L9,12H6A7,7 0 0,1 13,5A7,7 0 0,1 20,12A7,7 0 0,1 13,19C11.07,19 9.32,18.21 8.06,16.94L6.64,18.36C8.27,20 10.5,21 13,21A9,9 0 0,0 22,12A9,9 0 0,0 13,3" /></svg>',q='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-trash-can-outline" viewBox="0 0 24 24"><path d="M9,3V4H4V6H5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V6H20V4H15V3H9M7,6H17V19H7V6M9,8V17H11V8H9M13,8V17H15V8H13Z" /></svg>',g=`/trashbin/${o()?.uid}/trash`,z=M(),K=`<?xml version="1.0"?>
|
||||
import{C as c,V as _,g as v,a as x,b as V}from"./index-DqvvZoL1.chunk.mjs";import{a as o,g as H,e as p}from"./index-6_gsQFyp.chunk.mjs";import{c as u,i as A}from"./index-D9L8KHF3.chunk.mjs";import{a as b,d as C,g as N}from"./index-JpgrUA2Z-D2EPRmnZ.chunk.mjs";import{P as E}from"./folder-D9CBQngR-Cw5TS1GK.chunk.mjs";import{d as S,e as $,l as I}from"./index-xFugdZPW.chunk.mjs";import{t as n,g as y,a as f}from"./translation-DoG5ZELJ-2ffMJaM4.chunk.mjs";import{g as D,d as L}from"./createElementId-DhjFt1I9-Bjk2333q.chunk.mjs";import{g as M,a as T,b as k,r as F,d as B}from"./dav-BYbKV7ND.chunk.mjs";import{f as U}from"./index-dSOqvlAc.chunk.mjs";import{h as P}from"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";import{N as O}from"./NcUserBubble-DPAmU2_J-DImxKSvr.chunk.mjs";import"./string_decoder-BO00msnV.chunk.mjs";import"./NcNoteCard-CVhtNL04-CdF6Qoal.chunk.mjs";import"./logger-D3RVzcfQ-iUjwSNGe.chunk.mjs";import"./index-Dpy2yt9b.chunk.mjs";import"./mdi-kAZc0JKn.chunk.mjs";import"./NcAvatar-DmUGApWA-V4G-fK2N.chunk.mjs";import"./colors-Go3zmZRD-Bml2X1sg.chunk.mjs";import"./NcUserStatusIcon-CGEf7fej-CR1VhaiT.chunk.mjs";import"./PencilOutline-SCYr0J4h.chunk.mjs";import"./NcDateTime.vue_vue_type_script_setup_true_lang-BhB8yA4U-DdXL_Mtm.chunk.mjs";const R='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-history" viewBox="0 0 24 24"><path d="M13.5,8H12V13L16.28,15.54L17,14.33L13.5,12.25V8M13,3A9,9 0 0,0 4,12H1L4.96,16.03L9,12H6A7,7 0 0,1 13,5A7,7 0 0,1 20,12A7,7 0 0,1 13,19C11.07,19 9.32,18.21 8.06,16.94L6.64,18.36C8.27,20 10.5,21 13,21A9,9 0 0,0 22,12A9,9 0 0,0 13,3" /></svg>',q='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-trash-can-outline" viewBox="0 0 24 24"><path d="M9,3V4H4V6H5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V6H20V4H15V3H9M7,6H17V19H7V6M9,8V17H11V8H9M13,8V17H15V8H13Z" /></svg>',g=`/trashbin/${o()?.uid}/trash`,z=M(),K=`<?xml version="1.0"?>
|
||||
<d:propfind ${T()}>
|
||||
<d:prop>
|
||||
<nc:trashbin-deletion-time />
|
||||
|
|
|
|||
4
dist/files_versions-sidebar-tab.mjs
vendored
4
dist/files_versions-sidebar-tab.mjs
vendored
|
|
@ -1,3 +1,3 @@
|
|||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('', '', 'dist/FilesVersionsSidebarTab-riNKwZuY.chunk.mjs'),window.OC.filePath('', '', 'dist/index-JpgrUA2Z-DPCs44Lo.chunk.mjs'),window.OC.filePath('', '', 'dist/index-xFugdZPW.chunk.mjs'),window.OC.filePath('', '', 'dist/index-Dzo4H_NA.chunk.mjs'),window.OC.filePath('', '', 'dist/runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs'),window.OC.filePath('', '', 'dist/createElementId-DhjFt1I9-Bjk2333q.chunk.mjs'),window.OC.filePath('', '', 'dist/translation-DoG5ZELJ-2ffMJaM4.chunk.mjs'),window.OC.filePath('', '', 'dist/index-6_gsQFyp.chunk.mjs'),window.OC.filePath('', '', 'dist/logger-D3RVzcfQ-iUjwSNGe.chunk.mjs'),window.OC.filePath('', '', 'dist/logger-D3RVzcfQ-Bx-uhVVO.chunk.css'),window.OC.filePath('', '', 'dist/mdi-kAZc0JKn.chunk.mjs'),window.OC.filePath('', '', 'dist/mdi-BYHcrfvW.chunk.css'),window.OC.filePath('', '', 'dist/index-PxDoi4mB.chunk.css'),window.OC.filePath('', '', 'dist/NcNoteCard-CVhtNL04-CdF6Qoal.chunk.mjs'),window.OC.filePath('', '', 'dist/NcNoteCard-CVhtNL04-Jq77EThs.chunk.css'),window.OC.filePath('', '', 'dist/index-DqvvZoL1.chunk.mjs'),window.OC.filePath('', '', 'dist/folder-D9CBQngR-Cw5TS1GK.chunk.mjs'),window.OC.filePath('', '', 'dist/string_decoder-BO00msnV.chunk.mjs'),window.OC.filePath('', '', 'dist/PencilOutline-BPy7Lagu.chunk.mjs'),window.OC.filePath('', '', 'dist/PencilOutline-DdQinVMt.chunk.css'),window.OC.filePath('', '', 'dist/NcDateTime.vue_vue_type_script_setup_true_lang-BhB8yA4U-Bb9gAlar.chunk.mjs'),window.OC.filePath('', '', 'dist/NcDateTime-DS-ziNw6.chunk.css'),window.OC.filePath('', '', 'dist/NcAvatar-DmUGApWA-JvdYd-8p.chunk.mjs'),window.OC.filePath('', '', 'dist/index-D9L8KHF3.chunk.mjs'),window.OC.filePath('', '', 'dist/colors-Go3zmZRD-Bml2X1sg.chunk.mjs'),window.OC.filePath('', '', 'dist/NcUserStatusIcon-CGEf7fej-CR1VhaiT.chunk.mjs'),window.OC.filePath('', '', 'dist/NcUserStatusIcon-CGEf7fej-Bq_6hmXG.chunk.css'),window.OC.filePath('', '', 'dist/NcAvatar-DmUGApWA-B-07Svbi.chunk.css'),window.OC.filePath('', '', 'dist/TrayArrowDown-zMGl3y4Q.chunk.mjs'),window.OC.filePath('', '', 'dist/TrayArrowDown-CMlC-wJV.chunk.css'),window.OC.filePath('', '', 'dist/TrashCanOutline-DKx7CxBb.chunk.mjs'),window.OC.filePath('', '', 'dist/NcInputField-Bwsh2aHY-Bf_22pmD.chunk.mjs'),window.OC.filePath('', '', 'dist/NcInputField-Bwsh2aHY-_gyGHRGx.chunk.css'),window.OC.filePath('', '', 'dist/dav-BYbKV7ND.chunk.mjs'),window.OC.filePath('', '', 'dist/index-Dpy2yt9b.chunk.mjs'),window.OC.filePath('', '', 'dist/files_versions-FilesVersionsSidebarTab-Cjl2hr1y.chunk.css')])))=>i.map(i=>d[i]);
|
||||
import{i as s,_ as e}from"./index-xFugdZPW.chunk.mjs";import{r}from"./index-DqvvZoL1.chunk.mjs";import{t}from"./translation-DoG5ZELJ-2ffMJaM4.chunk.mjs";import{d as m,a as n}from"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";import{F as a}from"./folder-D9CBQngR-Cw5TS1GK.chunk.mjs";import"./index-6_gsQFyp.chunk.mjs";import"./string_decoder-BO00msnV.chunk.mjs";const d='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-backup-restore" viewBox="0 0 24 24"><path d="M12,3A9,9 0 0,0 3,12H0L4,16L8,12H5A7,7 0 0,1 12,5A7,7 0 0,1 19,12A7,7 0 0,1 12,19C10.5,19 9.09,18.5 7.94,17.7L6.5,19.14C8.04,20.3 9.94,21 12,21A9,9 0 0,0 21,12A9,9 0 0,0 12,3M14,12A2,2 0 0,0 12,10A2,2 0 0,0 10,12A2,2 0 0,0 12,14A2,2 0 0,0 14,12Z" /></svg>',i="files-versions_sidebar-tab";r({id:"files_versions",tagName:i,order:90,displayName:t("files_versions","Versions"),iconSvgInline:d,enabled({node:o}){return!(s()||o.type!==a.File)},async onInit(){const o=n(()=>e(()=>import("./FilesVersionsSidebarTab-riNKwZuY.chunk.mjs"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35]),import.meta.url));window.customElements.define(i,m(o,{shadowRoot:!1}))}});
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('', '', 'dist/FilesVersionsSidebarTab-B8rYP80Q.chunk.mjs'),window.OC.filePath('', '', 'dist/index-JpgrUA2Z-D2EPRmnZ.chunk.mjs'),window.OC.filePath('', '', 'dist/index-xFugdZPW.chunk.mjs'),window.OC.filePath('', '', 'dist/index-dSOqvlAc.chunk.mjs'),window.OC.filePath('', '', 'dist/runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs'),window.OC.filePath('', '', 'dist/createElementId-DhjFt1I9-Bjk2333q.chunk.mjs'),window.OC.filePath('', '', 'dist/translation-DoG5ZELJ-2ffMJaM4.chunk.mjs'),window.OC.filePath('', '', 'dist/index-6_gsQFyp.chunk.mjs'),window.OC.filePath('', '', 'dist/logger-D3RVzcfQ-iUjwSNGe.chunk.mjs'),window.OC.filePath('', '', 'dist/logger-D3RVzcfQ-Bx-uhVVO.chunk.css'),window.OC.filePath('', '', 'dist/mdi-kAZc0JKn.chunk.mjs'),window.OC.filePath('', '', 'dist/mdi-BYHcrfvW.chunk.css'),window.OC.filePath('', '', 'dist/index-PxDoi4mB.chunk.css'),window.OC.filePath('', '', 'dist/NcNoteCard-CVhtNL04-CdF6Qoal.chunk.mjs'),window.OC.filePath('', '', 'dist/NcNoteCard-CVhtNL04-Jq77EThs.chunk.css'),window.OC.filePath('', '', 'dist/index-DqvvZoL1.chunk.mjs'),window.OC.filePath('', '', 'dist/folder-D9CBQngR-Cw5TS1GK.chunk.mjs'),window.OC.filePath('', '', 'dist/string_decoder-BO00msnV.chunk.mjs'),window.OC.filePath('', '', 'dist/PencilOutline-SCYr0J4h.chunk.mjs'),window.OC.filePath('', '', 'dist/PencilOutline-DdQinVMt.chunk.css'),window.OC.filePath('', '', 'dist/NcDateTime.vue_vue_type_script_setup_true_lang-BhB8yA4U-DdXL_Mtm.chunk.mjs'),window.OC.filePath('', '', 'dist/NcDateTime-DS-ziNw6.chunk.css'),window.OC.filePath('', '', 'dist/NcAvatar-DmUGApWA-V4G-fK2N.chunk.mjs'),window.OC.filePath('', '', 'dist/index-D9L8KHF3.chunk.mjs'),window.OC.filePath('', '', 'dist/colors-Go3zmZRD-Bml2X1sg.chunk.mjs'),window.OC.filePath('', '', 'dist/NcUserStatusIcon-CGEf7fej-CR1VhaiT.chunk.mjs'),window.OC.filePath('', '', 'dist/NcUserStatusIcon-CGEf7fej-Bq_6hmXG.chunk.css'),window.OC.filePath('', '', 'dist/NcAvatar-DmUGApWA-B-07Svbi.chunk.css'),window.OC.filePath('', '', 'dist/TrayArrowDown-DFK6VNnX.chunk.mjs'),window.OC.filePath('', '', 'dist/TrayArrowDown-CMlC-wJV.chunk.css'),window.OC.filePath('', '', 'dist/TrashCanOutline-DKx7CxBb.chunk.mjs'),window.OC.filePath('', '', 'dist/NcInputField-Bwsh2aHY-Bf_22pmD.chunk.mjs'),window.OC.filePath('', '', 'dist/NcInputField-Bwsh2aHY-_gyGHRGx.chunk.css'),window.OC.filePath('', '', 'dist/dav-BYbKV7ND.chunk.mjs'),window.OC.filePath('', '', 'dist/index-Dpy2yt9b.chunk.mjs'),window.OC.filePath('', '', 'dist/files_versions-FilesVersionsSidebarTab-Cjl2hr1y.chunk.css')])))=>i.map(i=>d[i]);
|
||||
import{i as s,_ as e}from"./index-xFugdZPW.chunk.mjs";import{r}from"./index-DqvvZoL1.chunk.mjs";import{t}from"./translation-DoG5ZELJ-2ffMJaM4.chunk.mjs";import{d as m,a as n}from"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";import{F as a}from"./folder-D9CBQngR-Cw5TS1GK.chunk.mjs";import"./index-6_gsQFyp.chunk.mjs";import"./string_decoder-BO00msnV.chunk.mjs";const d='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-backup-restore" viewBox="0 0 24 24"><path d="M12,3A9,9 0 0,0 3,12H0L4,16L8,12H5A7,7 0 0,1 12,5A7,7 0 0,1 19,12A7,7 0 0,1 12,19C10.5,19 9.09,18.5 7.94,17.7L6.5,19.14C8.04,20.3 9.94,21 12,21A9,9 0 0,0 21,12A9,9 0 0,0 12,3M14,12A2,2 0 0,0 12,10A2,2 0 0,0 10,12A2,2 0 0,0 12,14A2,2 0 0,0 14,12Z" /></svg>',i="files-versions_sidebar-tab";r({id:"files_versions",tagName:i,order:90,displayName:t("files_versions","Versions"),iconSvgInline:d,enabled({node:o}){return!(s()||o.type!==a.File)},async onInit(){const o=n(()=>e(()=>import("./FilesVersionsSidebarTab-B8rYP80Q.chunk.mjs"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35]),import.meta.url));window.customElements.define(i,m(o,{shadowRoot:!1}))}});
|
||||
//# sourceMappingURL=files_versions-sidebar-tab.mjs.map
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import{r as N,p as V,t as r,_ as T,d as x}from"./createElementId-DhjFt1I9-Bjk2333q.chunk.mjs";import{l as g}from"./logger-D3RVzcfQ-iUjwSNGe.chunk.mjs";import{N as u,a as v}from"./NcSelect-Czzsi3P_-wYuKB0zM.chunk.mjs";import{c as O}from"./index-D9L8KHF3.chunk.mjs";import{f as m,c as w,o as F,y as S,C as P,w as n,m as _,a8 as $,a9 as A,e as h,z as D}from"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";N(V);function d(e){let t={};if(e.nodeType===1){if(e.attributes.length>0){t["@attributes"]={};for(let s=0;s<e.attributes.length;s++){const o=e.attributes.item(s);t["@attributes"][o.nodeName]=o.nodeValue}}}else e.nodeType===3&&(t=e.nodeValue);if(e.hasChildNodes())for(let s=0;s<e.childNodes.length;s++){const o=e.childNodes.item(s),a=o.nodeName;if(typeof t[a]>"u")t[a]=d(o);else{if(typeof t[a].push>"u"){const l=t[a];t[a]=[],t[a].push(l)}t[a].push(d(o))}}return t}function I(e){let t=null;try{t=new DOMParser().parseFromString(e,"text/xml")}catch(s){g.error("[NcSelectTags] Failed to parse xml document",{error:s})}return t}function f(e){const t=d(I(e))["d:multistatus"]["d:response"],s=[];for(const o in t){const a=t[o]["d:propstat"];a["d:status"]["#text"]==="HTTP/1.1 200 OK"&&s.push({id:parseInt(a["d:prop"]["oc:id"]["#text"]),displayName:a["d:prop"]["oc:display-name"]["#text"],canAssign:a["d:prop"]["oc:can-assign"]["#text"]==="true",userAssignable:a["d:prop"]["oc:user-assignable"]["#text"]==="true",userVisible:a["d:prop"]["oc:user-visible"]["#text"]==="true"})}return s}async function L(){if(window.NextcloudVueDocs)return Promise.resolve(f(window.NextcloudVueDocs.tags));const e=await O({method:"PROPFIND",url:x("dav")+"/systemtags/",data:`<?xml version="1.0"?>
|
||||
import{r as N,p as V,t as r,_ as T,d as x}from"./createElementId-DhjFt1I9-Bjk2333q.chunk.mjs";import{l as g}from"./logger-D3RVzcfQ-iUjwSNGe.chunk.mjs";import{N as u,a as v}from"./NcSelect-Czzsi3P_-7VXJuGva.chunk.mjs";import{c as O}from"./index-D9L8KHF3.chunk.mjs";import{f as m,c as w,o as F,y as S,C as P,w as n,m as _,a8 as $,a9 as A,e as h,z as D}from"./runtime-dom.esm-bundler-DSTOTAEf.chunk.mjs";N(V);function d(e){let t={};if(e.nodeType===1){if(e.attributes.length>0){t["@attributes"]={};for(let s=0;s<e.attributes.length;s++){const o=e.attributes.item(s);t["@attributes"][o.nodeName]=o.nodeValue}}}else e.nodeType===3&&(t=e.nodeValue);if(e.hasChildNodes())for(let s=0;s<e.childNodes.length;s++){const o=e.childNodes.item(s),a=o.nodeName;if(typeof t[a]>"u")t[a]=d(o);else{if(typeof t[a].push>"u"){const l=t[a];t[a]=[],t[a].push(l)}t[a].push(d(o))}}return t}function I(e){let t=null;try{t=new DOMParser().parseFromString(e,"text/xml")}catch(s){g.error("[NcSelectTags] Failed to parse xml document",{error:s})}return t}function f(e){const t=d(I(e))["d:multistatus"]["d:response"],s=[];for(const o in t){const a=t[o]["d:propstat"];a["d:status"]["#text"]==="HTTP/1.1 200 OK"&&s.push({id:parseInt(a["d:prop"]["oc:id"]["#text"]),displayName:a["d:prop"]["oc:display-name"]["#text"],canAssign:a["d:prop"]["oc:can-assign"]["#text"]==="true",userAssignable:a["d:prop"]["oc:user-assignable"]["#text"]==="true",userVisible:a["d:prop"]["oc:user-visible"]["#text"]==="true"})}return s}async function L(){if(window.NextcloudVueDocs)return Promise.resolve(f(window.NextcloudVueDocs.tags));const e=await O({method:"PROPFIND",url:x("dav")+"/systemtags/",data:`<?xml version="1.0"?>
|
||||
<d:propfind xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns">
|
||||
<d:prop>
|
||||
<oc:id />
|
||||
|
|
@ -8,4 +8,4 @@ import{r as N,p as V,t as r,_ as T,d as x}from"./createElementId-DhjFt1I9-Bjk233
|
|||
<oc:can-assign />
|
||||
</d:prop>
|
||||
</d:propfind>`});return f(e.data)}const j={name:"NcSelectTags",components:{NcEllipsisedOption:v,NcSelect:u},props:{...u.props,fetchTags:{type:Boolean,default:!0},getOptionLabel:{type:Function,default:e=>{const{displayName:t,userVisible:s,userAssignable:o}=e;return s===!1?r("{tag} (invisible)",{tag:t}):o===!1?r("{tag} (restricted)",{tag:t}):t}},limit:{type:Number,default:5},multiple:{type:Boolean,default:!0},optionsFilter:{type:Function,default:null},passthru:{type:Boolean,default:!1},placeholder:{type:String,default:r("Select a tag")},modelValue:{type:[Number,Array,Object],default:null}," ":{}},emits:["update:modelValue"," "],data(){return{search:"",availableTags:[]}},computed:{availableOptions(){return this.optionsFilter?this.tags.filter(this.optionsFilter):this.tags},localValue(){return this.passthru?this.modelValue:this.tags.length===0?[]:this.multiple?this.modelValue.filter(e=>e!=="").map(e=>this.tags.find(t=>t.id===e)):this.tags.find(e=>e.id===this.modelValue)},propsToForward(){const e={...this.$props};return delete e.fetchTags,delete e.optionsFilter,delete e.passthru,e},tags(){return this.fetchTags?this.availableTags:this.options}},async created(){if(this.fetchTags)try{const e=await L();this.availableTags=e}catch(e){g.error("[NcSelectTags] Loading systemtags failed",e)}},methods:{handleInput(e){if(this.passthru){this.$emit("update:modelValue",e);return}this.multiple?this.$emit("update:modelValue",e.map(t=>t.id)):e===null?this.$emit("update:modelValue",null):this.$emit("update:modelValue",e.id)}}};function B(e,t,s,o,a,l){const p=m("NcEllipsisedOption"),b=m("NcSelect");return F(),w(b,D(l.propsToForward,{options:l.availableOptions,"close-on-select":!s.multiple,"model-value":l.localValue,onSearch:t[0]||(t[0]=i=>a.search=i),"onUpdate:modelValue":l.handleInput}),S({option:n(i=>[h(p,{name:s.getOptionLabel(i),search:a.search},null,8,["name","search"])]),"selected-option":n(i=>[h(p,{name:s.getOptionLabel(i),search:a.search},null,8,["name","search"])]),_:2},[P(e.$slots,(i,c)=>({name:c,fn:n(y=>[_(e.$slots,c,$(A(y)))])}))]),1040,["options","close-on-select","model-value","onUpdate:modelValue"])}const R=T(j,[["render",B]]),H=Object.freeze(Object.defineProperty({__proto__:null,default:u},Symbol.toStringTag,{value:"Module"}));export{R as N,H as i};
|
||||
//# sourceMappingURL=index-CqGlcBjK.chunk.mjs.map
|
||||
//# sourceMappingURL=index-BY1Zprno.chunk.mjs.map
|
||||
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 a new issue