chore(assets): Recompile assets

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
This commit is contained in:
nextcloud-command 2026-02-20 09:27:17 +00:00
parent fc4b743415
commit 0c7ae444ef
361 changed files with 721 additions and 534 deletions

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,30 @@
SPDX-License-Identifier: AGPL-3.0-or-later
SPDX-License-Identifier: MIT
SPDX-FileCopyrightText: Eduardo San Martin Morote
SPDX-FileCopyrightText: Eugene Sharygin <eush77@gmail.com>
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
SPDX-FileCopyrightText: Rob Cresswell <robcresswell@pm.me>
SPDX-FileCopyrightText: Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)
This file is generated from multiple sources. Included packages:
- @nextcloud/vue
- version: 9.5.0
- license: AGPL-3.0-or-later
- unist-builder
- version: 4.0.0
- license: MIT
- unist-util-is
- version: 6.0.1
- license: MIT
- unist-util-visit
- version: 5.1.0
- license: MIT
- unist-util-visit-parents
- version: 6.0.2
- license: MIT
- vue-material-design-icons
- version: 5.3.1
- license: MIT
- vue-router
- version: 5.0.2
- license: MIT

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,30 @@
SPDX-License-Identifier: AGPL-3.0-or-later
SPDX-License-Identifier: MIT
SPDX-FileCopyrightText: Eduardo San Martin Morote
SPDX-FileCopyrightText: Eugene Sharygin <eush77@gmail.com>
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
SPDX-FileCopyrightText: Rob Cresswell <robcresswell@pm.me>
SPDX-FileCopyrightText: Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)
This file is generated from multiple sources. Included packages:
- @nextcloud/vue
- version: 9.5.0
- license: AGPL-3.0-or-later
- unist-builder
- version: 4.0.0
- license: MIT
- unist-util-is
- version: 6.0.1
- license: MIT
- unist-util-visit
- version: 5.1.0
- license: MIT
- unist-util-visit-parents
- version: 6.0.2
- license: MIT
- vue-material-design-icons
- version: 5.3.1
- license: MIT
- vue-router
- version: 5.0.2
- license: MIT

View file

@ -0,0 +1,2 @@
import{b as g,p as y,q as v,c as p,u as o,o as n,I as h,w as _,g as V,t as b,s 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-BprhcrOE.chunk.mjs";import{c as j}from"./index-C-LJcJnH.chunk.mjs";import{a as C}from"./index-C1xmmKTZ-DrIxA_40.chunk.mjs";import{t as s}from"./translation-DoG5ZELJ-Bni_xMHF.chunk.mjs";import{g as E}from"./createElementId-DhjFt1I9-BQ18DTJF.chunk.mjs";import{N}from"./AccountOutline-DmK_gbmB.chunk.mjs";import{N as S}from"./NcSelect-DLheQ2yp-BSVZMNN4.chunk.mjs";import{N as A}from"./NcCheckboxRadioSwitch-BMsPx74L-SpcskPMe.chunk.mjs";import{N as L}from"./NcPasswordField-uaMO2pdt-D-H4HXHz.chunk.mjs";import{_ as z}from"./TrashCanOutline-BH9kHVkS.chunk.mjs";import{C as c,a as k}from"./types-foO7_v3z.chunk.mjs";import{l as B}from"./logger-resIultJ.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(L):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(N),{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-Ca2n-TVu.chunk.mjs.map

File diff suppressed because one or more lines are too long

View file

@ -1,2 +0,0 @@
import{b as g,q as y,s as v,c as p,u as o,o as n,J 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-nUg13ekW.chunk.mjs";import{c as j}from"./index-ClUK5nWL.chunk.mjs";import{a as C}from"./index-C1xmmKTZ-B_lLl9Ld.chunk.mjs";import{t as s}from"./translation-DoG5ZELJ-2ffMJaM4.chunk.mjs";import{g as E}from"./createElementId-DhjFt1I9-CRJVCjcq.chunk.mjs";import{N}from"./logger-D3RVzcfQ-B4GxPQ5t.chunk.mjs";import{N as S}from"./NcSelect-DLheQ2yp-CBfrlGlO.chunk.mjs";import{N as A}from"./NcCheckboxRadioSwitch-BMsPx74L-DIBi32kw.chunk.mjs";import{N as L}from"./NcPasswordField-uaMO2pdt-Bb_nZP1o.chunk.mjs";import{_ as z}from"./TrashCanOutline-YYyMK6ia.chunk.mjs";import{C as c,a as k}from"./types-CVC8uzLj.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(L):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(N),{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-F-Jqclop.chunk.mjs.map

View file

@ -1,2 +1,2 @@
import{r as g,z as h,_ as p,a as C}from"./createElementId-DhjFt1I9-CRJVCjcq.chunk.mjs";import{b as _,j as i,o as e,k as o,l as s,m as k,g as y,t as r,u as d,e as H,z as f}from"./runtime-dom.esm-bundler-nUg13ekW.chunk.mjs";import{a as b}from"./index-Ma7sfat2.chunk.mjs";const A={name:"HelpCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},v=["aria-hidden","aria-label"],z=["fill","width","height"],V={d:"M15.07,11.25L14.17,12.17C13.45,12.89 13,13.5 13,15H11V14.5C11,13.39 11.45,12.39 12.17,11.67L13.41,10.41C13.78,10.05 14,9.55 14,9C14,7.89 13.1,7 12,7A2,2 0 0,0 10,9H8A4,4 0 0,1 12,5A4,4 0 0,1 16,9C16,9.88 15.64,10.67 15.07,11.25M13,19H11V17H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12C22,6.47 17.5,2 12,2Z"},w={key:0};function M(a,l,t,c,m,u){return e(),i("span",f(a.$attrs,{"aria-hidden":t.title?null:"true","aria-label":t.title,class:"material-design-icon help-circle-icon",role:"img",onClick:l[0]||(l[0]=n=>a.$emit("click",n))}),[(e(),i("svg",{fill:t.fillColor,class:"material-design-icon__svg",width:t.size,height:t.size,viewBox:"0 0 24 24"},[o("path",V,[t.title?(e(),i("title",w,r(t.title),1)):s("",!0)])],8,z))],16,v)}const S=p(A,[["render",M]]);g(h);const x={class:"settings-section"},$={class:"settings-section__name"},I=["aria-label","href","title"],N={key:0,class:"settings-section__desc"},U=_({__name:"NcSettingsSection",props:{name:{},description:{default:""},docUrl:{default:""}},setup(a){const l=C("External documentation");return(t,c)=>(e(),i("div",x,[o("h2",$,[y(r(t.name)+" ",1),t.docUrl?(e(),i("a",{key:0,"aria-label":d(l),class:"settings-section__info",href:t.docUrl,rel:"noreferrer nofollow",target:"_blank",title:d(l)},[H(S,{size:20})],8,I)):s("",!0)]),t.description?(e(),i("p",N,r(t.description),1)):s("",!0),k(t.$slots,"default",{},void 0,!0)]))}}),T=p(U,[["__scopeId","data-v-9cedb949"]]),B={name:"ContentCopyIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},L=["aria-hidden","aria-label"],Z=["fill","width","height"],j={d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"},E={key:0};function q(a,l,t,c,m,u){return e(),i("span",f(a.$attrs,{"aria-hidden":t.title?null:"true","aria-label":t.title,class:"material-design-icon content-copy-icon",role:"img",onClick:l[0]||(l[0]=n=>a.$emit("click",n))}),[(e(),i("svg",{fill:t.fillColor,class:"material-design-icon__svg",width:t.size,height:t.size,viewBox:"0 0 24 24"},[o("path",j,[t.title?(e(),i("title",E,r(t.title),1)):s("",!0)])],8,Z))],16,L)}const G=b(B,[["render",q]]);export{G as I,T as N};
//# sourceMappingURL=ContentCopy-Cff3hXjy.chunk.mjs.map
import{r as g,B as h,_ as p,a as C}from"./createElementId-DhjFt1I9-BQ18DTJF.chunk.mjs";import{b as _,j as i,o as e,k as o,l as s,m as y,g as k,t as r,u as d,e as H,y as f}from"./runtime-dom.esm-bundler-BprhcrOE.chunk.mjs";import{a as b}from"./index-Ma7sfat2.chunk.mjs";const A={name:"HelpCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},v=["aria-hidden","aria-label"],V=["fill","width","height"],w={d:"M15.07,11.25L14.17,12.17C13.45,12.89 13,13.5 13,15H11V14.5C11,13.39 11.45,12.39 12.17,11.67L13.41,10.41C13.78,10.05 14,9.55 14,9C14,7.89 13.1,7 12,7A2,2 0 0,0 10,9H8A4,4 0 0,1 12,5A4,4 0 0,1 16,9C16,9.88 15.64,10.67 15.07,11.25M13,19H11V17H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12C22,6.47 17.5,2 12,2Z"},z={key:0};function M(a,l,t,c,m,u){return e(),i("span",f(a.$attrs,{"aria-hidden":t.title?null:"true","aria-label":t.title,class:"material-design-icon help-circle-icon",role:"img",onClick:l[0]||(l[0]=n=>a.$emit("click",n))}),[(e(),i("svg",{fill:t.fillColor,class:"material-design-icon__svg",width:t.size,height:t.size,viewBox:"0 0 24 24"},[o("path",w,[t.title?(e(),i("title",z,r(t.title),1)):s("",!0)])],8,V))],16,v)}const S=p(A,[["render",M]]);g(h);const x={class:"settings-section"},$={class:"settings-section__name"},I=["aria-label","href","title"],N={key:0,class:"settings-section__desc"},B=_({__name:"NcSettingsSection",props:{name:{},description:{default:""},docUrl:{default:""}},setup(a){const l=C("External documentation");return(t,c)=>(e(),i("div",x,[o("h2",$,[k(r(t.name)+" ",1),t.docUrl?(e(),i("a",{key:0,"aria-label":d(l),class:"settings-section__info",href:t.docUrl,rel:"noreferrer nofollow",target:"_blank",title:d(l)},[H(S,{size:20})],8,I)):s("",!0)]),t.description?(e(),i("p",N,r(t.description),1)):s("",!0),y(t.$slots,"default",{},void 0,!0)]))}}),T=p(B,[["__scopeId","data-v-9cedb949"]]),U={name:"ContentCopyIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},L=["aria-hidden","aria-label"],Z=["fill","width","height"],j={d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"},E={key:0};function q(a,l,t,c,m,u){return e(),i("span",f(a.$attrs,{"aria-hidden":t.title?null:"true","aria-label":t.title,class:"material-design-icon content-copy-icon",role:"img",onClick:l[0]||(l[0]=n=>a.$emit("click",n))}),[(e(),i("svg",{fill:t.fillColor,class:"material-design-icon__svg",width:t.size,height:t.size,viewBox:"0 0 24 24"},[o("path",j,[t.title?(e(),i("title",E,r(t.title),1)):s("",!0)])],8,Z))],16,L)}const G=b(U,[["render",q]]);export{G as I,T as N};
//# sourceMappingURL=ContentCopy-Cgm0zrpN.chunk.mjs.map

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,2 @@
import{t}from"./translation-DoG5ZELJ-Bni_xMHF.chunk.mjs";import{N as u}from"./index-CDp2IiSu.chunk.mjs";import{N as d}from"./mdi-DaKN7HzT.chunk.mjs";import{N as p}from"./NcPasswordField-uaMO2pdt-D-H4HXHz.chunk.mjs";import{_ as c}from"./TrashCanOutline-BH9kHVkS.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-BprhcrOE.chunk.mjs";import"./index-Bndk0DrU.chunk.mjs";import"./NcModal-DHryP_87-06sOiSPg.chunk.mjs";import"./AccountOutline-DmK_gbmB.chunk.mjs";import"./createElementId-DhjFt1I9-BQ18DTJF.chunk.mjs";import"./index-Ma7sfat2.chunk.mjs";import"./Web-sfKoe9bN.chunk.mjs";import"./index-C-LJcJnH.chunk.mjs";import"./index-sH3U_332.chunk.mjs";import"./NcInputField-o5OFv3z6-B9dr1xjk.chunk.mjs";const D=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{D as default};
//# sourceMappingURL=CredentialsDialog-Bf3L7YJ4.chunk.mjs.map

View file

@ -1 +1 @@
{"version":3,"file":"CredentialsDialog-CTscFo5v.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":"6wBAiBA,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-Bf3L7YJ4.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":"0yBAiBA,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"}

View file

@ -1,2 +0,0 @@
import{t}from"./translation-DoG5ZELJ-2ffMJaM4.chunk.mjs";import{N as u}from"./index-DeDXQtUD.chunk.mjs";import{N as d}from"./NcNoteCard-Cok_4Fld-BLQT242e.chunk.mjs";import{N as p}from"./NcPasswordField-uaMO2pdt-Bb_nZP1o.chunk.mjs";import{_ as c}from"./TrashCanOutline-YYyMK6ia.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-nUg13ekW.chunk.mjs";import"./index-6_gsQFyp.chunk.mjs";import"./createElementId-DhjFt1I9-CRJVCjcq.chunk.mjs";import"./logger-D3RVzcfQ-B4GxPQ5t.chunk.mjs";import"./mdi-DK5BPbEO.chunk.mjs";import"./index-ClUK5nWL.chunk.mjs";import"./index-sH3U_332.chunk.mjs";import"./index-Ma7sfat2.chunk.mjs";import"./NcInputField-o5OFv3z6-DGXgkff4.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-CTscFo5v.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

View file

@ -2,10 +2,8 @@ SPDX-License-Identifier: AGPL-3.0-or-later
SPDX-License-Identifier: MIT
SPDX-FileCopyrightText: Anthony Fu <https://github.com/antfu>
SPDX-FileCopyrightText: Eric Norris (https://github.com/ericnorris)
SPDX-FileCopyrightText: Eugene Sharygin <eush77@gmail.com>
SPDX-FileCopyrightText: Jacob Clevenger<https://github.com/wheatjs>
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
SPDX-FileCopyrightText: Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)
SPDX-FileCopyrightText: ts-md5 developers
This file is generated from multiple sources. Included packages:
@ -27,15 +25,3 @@ This file is generated from multiple sources. Included packages:
- ts-md5
- version: 2.0.1
- license: MIT
- unist-builder
- version: 4.0.0
- license: MIT
- unist-util-is
- version: 6.0.1
- license: MIT
- unist-util-visit
- version: 5.1.0
- license: MIT
- unist-util-visit-parents
- version: 6.0.2
- license: MIT

File diff suppressed because one or more lines are too long

View file

@ -2,10 +2,8 @@ SPDX-License-Identifier: AGPL-3.0-or-later
SPDX-License-Identifier: MIT
SPDX-FileCopyrightText: Anthony Fu <https://github.com/antfu>
SPDX-FileCopyrightText: Eric Norris (https://github.com/ericnorris)
SPDX-FileCopyrightText: Eugene Sharygin <eush77@gmail.com>
SPDX-FileCopyrightText: Jacob Clevenger<https://github.com/wheatjs>
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
SPDX-FileCopyrightText: Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)
SPDX-FileCopyrightText: ts-md5 developers
This file is generated from multiple sources. Included packages:
@ -27,15 +25,3 @@ This file is generated from multiple sources. Included packages:
- ts-md5
- version: 2.0.1
- license: MIT
- unist-builder
- version: 4.0.0
- license: MIT
- unist-util-is
- version: 6.0.1
- license: MIT
- unist-util-visit
- version: 5.1.0
- license: MIT
- unist-util-visit-parents
- version: 6.0.2
- license: MIT

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,2 +0,0 @@
import{m as g}from"./logger-D3RVzcfQ-B4GxPQ5t.chunk.mjs";import{N as k}from"./PencilOutline-Da_gxdzI.chunk.mjs";import{a as y}from"./index-DeDXQtUD.chunk.mjs";import{r as b,d as P,a as x,N as u,_ as N}from"./createElementId-DhjFt1I9-CRJVCjcq.chunk.mjs";import{b as S,i as $,j as f,o as s,l as n,k as z,c as i,m as c,g as h,t as v,p as L,w as e,e as M,u as j,n as w}from"./runtime-dom.esm-bundler-nUg13ekW.chunk.mjs";b(P);const A={key:0,class:"nc-chip__icon"},B={class:"nc-chip__text"},I=S({__name:"NcChip",props:{ariaLabelClose:{default:x("Close")},actionsContainer:{default:"body"},text:{default:""},iconPath:{default:void 0},iconSvg:{default:void 0},noClose:{type:Boolean},variant:{default:"secondary"}},emits:["close"],setup(m,{emit:_}){const t=m,C=_,l=$(),o=L(()=>!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",A,[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),z("span",B,[c(a.$slots,"default",{},()=>[h(v(a.text),1)],!0)]),o.value||r()?(s(),i(y,{key:1,class:"nc-chip__actions",container:a.actionsContainer,forceMenu:!o.value,variant:"tertiary-no-background"},{default:e(()=>[o.value?(s(),i(k,{key:0,closeAfterClick:"",onClick:d[0]||(d[0]=D=>C("close"))},{icon:e(()=>[M(u,{path:j(g),size:20},null,8,["path"])]),default:e(()=>[h(" "+v(a.ariaLabelClose),1)]),_:1})):n("",!0),c(a.$slots,"actions",{},void 0,!0)]),_:3},8,["container","forceMenu"])):n("",!0)],2))}}),F=N(I,[["__scopeId","data-v-8f5d3c40"]]);export{F as N};
//# sourceMappingURL=NcChip-B71t2Ny2-DqpmLeAg.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

View file

@ -1,12 +1,12 @@
SPDX-License-Identifier: AGPL-3.0-or-later
SPDX-License-Identifier: MIT
SPDX-FileCopyrightText: Eduardo San Martin Morote
SPDX-FileCopyrightText: Antoni Andre <antoniandre.web@gmail.com>
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
This file is generated from multiple sources. Included packages:
- @nextcloud/vue
- version: 9.5.0
- license: AGPL-3.0-or-later
- vue-router
- version: 5.0.2
- splitpanes
- version: 4.0.4
- license: MIT

File diff suppressed because one or more lines are too long

View file

@ -1,12 +1,12 @@
SPDX-License-Identifier: AGPL-3.0-or-later
SPDX-License-Identifier: MIT
SPDX-FileCopyrightText: Eduardo San Martin Morote
SPDX-FileCopyrightText: Antoni Andre <antoniandre.web@gmail.com>
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
This file is generated from multiple sources. Included packages:
- @nextcloud/vue
- version: 9.5.0
- license: AGPL-3.0-or-later
- vue-router
- version: 5.0.2
- splitpanes
- version: 4.0.4
- license: MIT

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,2 @@
import{A as d}from"./PencilOutline-Co91mt8h.chunk.mjs";import{d as _,B as b,C as S}from"./NcModal-DHryP_87-06sOiSPg.chunk.mjs";import{_ as f}from"./createElementId-DhjFt1I9-BQ18DTJF.chunk.mjs";import{j as a,o,k as n,m as x,l as g,K as k,n as y,t as l,f as I,e as v,w as h,b as w,u as T,z as m,_ as p}from"./runtime-dom.esm-bundler-BprhcrOE.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"],U=["download","href","aria-label","target","title","role"],j={key:0,class:"action-link__longtext-wrapper"},N={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",j,[n("strong",N,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,U)],8,M)}const X=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"},z={class:"action-router__name"},D=["textContent"],K=["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,K)):(o(),a("span",E,l(e.text),1)),g("",!0)]),_:3},8,["aria-label","role","title","to","onClick"])],8,q)}const Y=f(W,[["render",F],["__scopeId","data-v-87267750"]]),G=["data-timestamp","title","textContent"],Z=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=b(p(()=>t.timestamp),u),s=m(()=>t.relativeTime?r.value:c.value);return(C,H)=>(o(),a("span",{class:"nc-datetime",dir:"auto","data-timestamp":C.timestamp,title:T(c),textContent:l(s.value)},null,8,G))}});export{X as N,Z as _,Y as a};
//# sourceMappingURL=NcDateTime.vue_vue_type_script_setup_true_lang-BhB8yA4U-BBzIHw3y.chunk.mjs.map

View file

@ -1,2 +0,0 @@
import{a as d}from"./PencilOutline-Da_gxdzI.chunk.mjs";import{d as _,A as C,B as S}from"./index-DeDXQtUD.chunk.mjs";import{_ as f}from"./createElementId-DhjFt1I9-CRJVCjcq.chunk.mjs";import{j as a,o,k as n,m as x,l as g,M 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,Y as p}from"./runtime-dom.esm-bundler-nUg13ekW.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"],U=["download","href","aria-label","target","title","role"],j={key:0,class:"action-link__longtext-wrapper"},N={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",j,[n("strong",N,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,U)],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"},Y=["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,Y)])):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"],Z=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,Z as _,X as a};
//# sourceMappingURL=NcDateTime.vue_vue_type_script_setup_true_lang-BhB8yA4U-DyY3Wrls.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

View file

@ -0,0 +1,2 @@
import{b as l,j as e,o as s,l as t,m as o,u as n,g as r,t as i,af as d,T as p,aj as m,h as u,d as f,ak as y,al as v,am as h,a0 as S,ag as C,G as R,$ as T,H as w,an as _,ao as g,ap as k,F as E,aq as x,a8 as b,ar as V,as as B,at as P,ab as N,z as $,c as I,k as M,au as z,x as D,e as H,a as A,a5 as j,av as U,ae as K,a6 as O,aw as W,S as F,R as q,ax as G,p as L,y as J,M as Q,ay as X,N as Y,O as Z,az as aa,aA as ea,aB as sa,A as ta,aC as oa,aD as na,aE as ra,B as ia,aF as ca,aG as la,a7 as da,aH as pa,aI as ma,C as ua,f as fa,aa as ya,I as va,aJ as ha,aK as Sa,aL as Ca,aM as Ra,J as Ta,D as wa,a1 as _a,q as ga,aN as ka,i as Ea,v as xa,aO as ba,aP as Va,ai as Ba,s as Pa,a9 as Na,aQ as $a,w as Ia,E as Ma,aR as za,aS as Da,aT as Ha,aU as Aa,P as ja,X as Ua,aV as Ka,V as Oa,a4 as Wa,U as Fa,aW as qa,Q as Ga,Y as La,aX as Ja,aY as Qa,L as Xa,a3 as Ya,r as Za,aZ as ae,a_ as ee,ac as se,W as te,_ as oe,Z as ne,a2 as re,a$ as ie,b0 as ce,n as le,ad as de,K as pe,b1 as me}from"./runtime-dom.esm-bundler-BprhcrOE.chunk.mjs";import{_ as ue,c as fe}from"./createElementId-DhjFt1I9-BQ18DTJF.chunk.mjs";const ke=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:_,BaseTransitionPropsValidators:g,Comment:k,EffectScope:Da,Fragment:E,ReactiveEffect:Ha,Static:x,Teleport:b,Text:V,Transition:d,TransitionGroup:p,VueElement:m,callWithAsyncErrorHandling:B,callWithErrorHandling:P,camelize:ie,capitalize:ce,cloneVNode:N,computed:$,createApp:u,createBlock:I,createCommentVNode:t,createElementBlock:e,createElementVNode:M,createRenderer:z,createSlots:D,createTextVNode:r,createVNode:H,customRef:Aa,defineAsyncComponent:A,defineComponent:l,defineCustomElement:f,effectScope:ja,getCurrentInstance:j,getCurrentScope:Ua,getTransitionRawChildren:U,guardReactiveProps:K,h:O,handleError:W,hasInjectionContext:F,inject:q,isProxy:Ka,isReactive:Oa,isReadonly:Wa,isRef:Fa,isShallow:qa,isVNode:G,markRaw:Ga,mergeModels:L,mergeProps:J,nextTick:Q,nodeOps:y,normalizeClass:le,normalizeProps:de,normalizeStyle:pe,onActivated:X,onBeforeMount:Y,onBeforeUnmount:Z,onBeforeUpdate:aa,onDeactivated:ea,onErrorCaptured:sa,onMounted:ta,onRenderTracked:oa,onRenderTriggered:na,onScopeDispose:La,onServerPrefetch:ra,onUnmounted:ia,onUpdated:ca,onWatcherCleanup:Ja,openBlock:s,patchProp:v,popScopeId:la,provide:da,proxyRefs:Qa,pushScopeId:pa,queuePostFlushCb:ma,reactive:Xa,readonly:Ya,ref:Za,render:h,renderList:ua,renderSlot:o,resolveComponent:fa,resolveDirective:ya,resolveDynamicComponent:va,resolveTransitionHooks:ha,setBlockTracking:Sa,setTransitionHooks:Ca,shallowReactive:ae,shallowReadonly:ee,shallowRef:se,ssrContextKey:Ra,toDisplayString:i,toHandlerKey:me,toHandlers:Ta,toRaw:te,toRef:oe,toRefs:ne,toValue:re,unref:n,useAttrs:wa,useCssVars:S,useId:_a,useModel:ga,useSSRContext:ka,useSlots:Ea,useTemplateRef:xa,useTransitionState:ba,vModelText:C,vShow:R,version:Va,warn:Ba,watch:Pa,watchEffect:Na,watchSyncEffect:$a,withCtx:Ia,withDirectives:Ma,withKeys:T,withModifiers:w,withScopeId:za},Symbol.toStringTag,{value:"Module"})),ye=["aria-labelledby"],ve={key:0,class:"empty-content__icon","aria-hidden":"true"},he=["id"],Se={key:2,class:"empty-content__description"},Ce={key:3,class:"empty-content__action"},Re=l({__name:"NcEmptyContent",props:{description:{default:""},name:{default:""}},setup(Te){const c=fe();return(a,we)=>(s(),e("div",{"aria-labelledby":n(c),class:"empty-content",role:"note"},[a.$slots.icon?(s(),e("div",ve,[o(a.$slots,"icon",{},void 0,!0)])):t("",!0),a.name!==""||a.$slots.name?(s(),e("div",{key:1,id:n(c),class:"empty-content__name"},[o(a.$slots,"name",{},()=>[r(i(a.name),1)],!0)],8,he)):t("",!0),a.description!==""||a.$slots.description?(s(),e("p",Se,[o(a.$slots,"description",{},()=>[r(i(a.description),1)],!0)])):t("",!0),a.$slots.action?(s(),e("div",Ce,[o(a.$slots,"action",{},void 0,!0)])):t("",!0)],8,ye))}}),Ee=ue(Re,[["__scopeId","data-v-b101d636"]]);export{Ee as N,ke as v};
//# sourceMappingURL=NcEmptyContent-B8-90BSI-DoWQxWGL.chunk.mjs.map

View file

@ -1,12 +1,12 @@
SPDX-License-Identifier: AGPL-3.0-or-later
SPDX-License-Identifier: MIT
SPDX-FileCopyrightText: Eduardo San Martin Morote
SPDX-FileCopyrightText: Evan You
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
This file is generated from multiple sources. Included packages:
- @nextcloud/vue
- version: 9.5.0
- license: AGPL-3.0-or-later
- vue-router
- version: 5.0.2
- vue
- version: 3.5.28
- license: MIT

View file

@ -0,0 +1 @@
{"version":3,"file":"NcEmptyContent-B8-90BSI-DoWQxWGL.chunk.mjs","sources":["../node_modules/@nextcloud/vue/dist/chunks/NcEmptyContent-B8-90BSI.mjs"],"sourcesContent":["import '../assets/NcEmptyContent-CLjlZ-UT.css';\nimport { defineComponent, createElementBlock, openBlock, unref, createCommentVNode, renderSlot, createTextVNode, toDisplayString } from \"vue\";\nimport { c as createElementId } from \"./createElementId-DhjFt1I9.mjs\";\nimport { _ as _export_sfc } from \"./_plugin-vue_export-helper-1tPrXgE0.mjs\";\nconst _hoisted_1 = [\"aria-labelledby\"];\nconst _hoisted_2 = {\n key: 0,\n class: \"empty-content__icon\",\n \"aria-hidden\": \"true\"\n};\nconst _hoisted_3 = [\"id\"];\nconst _hoisted_4 = {\n key: 2,\n class: \"empty-content__description\"\n};\nconst _hoisted_5 = {\n key: 3,\n class: \"empty-content__action\"\n};\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"NcEmptyContent\",\n props: {\n description: { default: \"\" },\n name: { default: \"\" }\n },\n setup(__props) {\n const nameId = createElementId();\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"div\", {\n \"aria-labelledby\": unref(nameId),\n class: \"empty-content\",\n role: \"note\"\n }, [\n _ctx.$slots.icon ? (openBlock(), createElementBlock(\"div\", _hoisted_2, [\n renderSlot(_ctx.$slots, \"icon\", {}, void 0, true)\n ])) : createCommentVNode(\"\", true),\n _ctx.name !== \"\" || _ctx.$slots.name ? (openBlock(), createElementBlock(\"div\", {\n key: 1,\n id: unref(nameId),\n class: \"empty-content__name\"\n }, [\n renderSlot(_ctx.$slots, \"name\", {}, () => [\n createTextVNode(toDisplayString(_ctx.name), 1)\n ], true)\n ], 8, _hoisted_3)) : createCommentVNode(\"\", true),\n _ctx.description !== \"\" || _ctx.$slots.description ? (openBlock(), createElementBlock(\"p\", _hoisted_4, [\n renderSlot(_ctx.$slots, \"description\", {}, () => [\n createTextVNode(toDisplayString(_ctx.description), 1)\n ], true)\n ])) : createCommentVNode(\"\", true),\n _ctx.$slots.action ? (openBlock(), createElementBlock(\"div\", _hoisted_5, [\n renderSlot(_ctx.$slots, \"action\", {}, void 0, true)\n ])) : createCommentVNode(\"\", true)\n ], 8, _hoisted_1);\n };\n }\n});\nconst NcEmptyContent = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__scopeId\", \"data-v-b101d636\"]]);\nexport {\n NcEmptyContent as N\n};\n//# sourceMappingURL=NcEmptyContent-B8-90BSI.mjs.map\n"],"names":["_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_sfc_main","defineComponent","__props","nameId","createElementId","_ctx","_cache","openBlock","createElementBlock","unref","renderSlot","createCommentVNode","createTextVNode","toDisplayString","NcEmptyContent","_export_sfc"],"mappings":"o8FAIMA,GAAa,CAAC,iBAAiB,EAC/BC,GAAa,CACjB,IAAK,EACL,MAAO,sBACP,cAAe,MACjB,EACMC,GAAa,CAAC,IAAI,EAClBC,GAAa,CACjB,IAAK,EACL,MAAO,4BACT,EACMC,GAAa,CACjB,IAAK,EACL,MAAO,uBACT,EACMC,GAA4BC,EAAgB,CAChD,OAAQ,iBACR,MAAO,CACL,YAAa,CAAE,QAAS,EAAE,EAC1B,KAAM,CAAE,QAAS,EAAE,CACvB,EACE,MAAMC,GAAS,CACb,MAAMC,EAASC,GAAe,EAC9B,MAAO,CAACC,EAAMC,MACLC,EAAS,EAAIC,EAAmB,MAAO,CAC5C,kBAAmBC,EAAMN,CAAM,EAC/B,MAAO,gBACP,KAAM,MACd,EAAS,CACDE,EAAK,OAAO,MAAQE,EAAS,EAAIC,EAAmB,MAAOZ,GAAY,CACrEc,EAAWL,EAAK,OAAQ,OAAQ,CAAA,EAAI,OAAQ,EAAI,CAC1D,CAAS,GAAKM,EAAmB,GAAI,EAAI,EACjCN,EAAK,OAAS,IAAMA,EAAK,OAAO,MAAQE,EAAS,EAAIC,EAAmB,MAAO,CAC7E,IAAK,EACL,GAAIC,EAAMN,CAAM,EAChB,MAAO,qBACjB,EAAW,CACDO,EAAWL,EAAK,OAAQ,OAAQ,CAAA,EAAI,IAAM,CACxCO,EAAgBC,EAAgBR,EAAK,IAAI,EAAG,CAAC,CACzD,EAAa,EAAI,CACjB,EAAW,EAAGR,EAAU,GAAKc,EAAmB,GAAI,EAAI,EAChDN,EAAK,cAAgB,IAAMA,EAAK,OAAO,aAAeE,IAAaC,EAAmB,IAAKV,GAAY,CACrGY,EAAWL,EAAK,OAAQ,cAAe,CAAA,EAAI,IAAM,CAC/CO,EAAgBC,EAAgBR,EAAK,WAAW,EAAG,CAAC,CAChE,EAAa,EAAI,CACjB,CAAS,GAAKM,EAAmB,GAAI,EAAI,EACjCN,EAAK,OAAO,QAAUE,EAAS,EAAIC,EAAmB,MAAOT,GAAY,CACvEW,EAAWL,EAAK,OAAQ,SAAU,CAAA,EAAI,OAAQ,EAAI,CAC5D,CAAS,GAAKM,EAAmB,GAAI,EAAI,CACzC,EAAS,EAAGhB,EAAU,EAEpB,CACF,CAAC,EACKmB,GAAiCC,GAAYf,GAAW,CAAC,CAAC,YAAa,iBAAiB,CAAC,CAAC","x_google_ignoreList":[0]}

View file

@ -1,12 +1,12 @@
SPDX-License-Identifier: AGPL-3.0-or-later
SPDX-License-Identifier: MIT
SPDX-FileCopyrightText: Eduardo San Martin Morote
SPDX-FileCopyrightText: Evan You
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
This file is generated from multiple sources. Included packages:
- @nextcloud/vue
- version: 9.5.0
- license: AGPL-3.0-or-later
- vue-router
- version: 5.0.2
- vue
- version: 3.5.28
- license: MIT

View file

@ -0,0 +1,2 @@
import{b as j,p as h,q,D as F,v as L,j as n,o as i,k as p,l as u,E as z,c as t,y as A,z as o,t as v,G as D,m as y,w as E,u as s,g as G,n as M}from"./runtime-dom.esm-bundler-BprhcrOE.chunk.mjs";import{N as S,b as g,c as m,i as k}from"./AccountOutline-DmK_gbmB.chunk.mjs";import{_ as H,N as d,c as J}from"./createElementId-DhjFt1I9-BQ18DTJF.chunk.mjs";const K={class:"input-field__main-wrapper"},P=["id","aria-describedby","disabled","placeholder","type","value"],Q=["for"],R={class:"input-field__icon input-field__icon--leading"},U={key:2,class:"input-field__icon input-field__icon--trailing"},W=["id"],X=j({inheritAttrs:!1,__name:"NcInputField",props:h({class:{default:""},inputClass:{default:""},id:{default:()=>J()},label:{default:void 0},labelOutside:{type:Boolean},type:{default:"text"},placeholder:{default:void 0},showTrailingButton:{type:Boolean},trailingButtonLabel:{default:void 0},success:{type:Boolean},error:{type:Boolean},helperText:{default:""},disabled:{type:Boolean},pill:{type:Boolean}},{modelValue:{required:!0},modelModifiers:{}}),emits:h(["trailingButtonClick"],["update:modelValue"]),setup(c,{expose:x,emit:B}){const r=q(c,"modelValue"),l=c,$=B;x({focus:N,select:O});const f=F(),b=L("input"),T=o(()=>l.showTrailingButton||l.success),w=o(()=>{if(l.placeholder)return l.placeholder;if(l.label)return k?l.label:""}),_=o(()=>l.label||l.labelOutside),C=o(()=>{const e=[];return l.helperText&&e.push(`${l.id}-helper-text`),f["aria-describedby"]&&e.push(String(f["aria-describedby"])),e.join(" ")||void 0});function N(e){b.value.focus(e)}function O(){b.value.select()}function I(e){const a=e.target;r.value=l.type==="number"&&typeof r.value=="number"?parseFloat(a.value):a.value}return(e,a)=>(i(),n("div",{class:M(["input-field",[{"input-field--disabled":e.disabled,"input-field--error":e.error,"input-field--label-outside":e.labelOutside||!_.value,"input-field--leading-icon":!!e.$slots.icon,"input-field--trailing-icon":T.value,"input-field--pill":e.pill,"input-field--success":e.success,"input-field--legacy":s(k)},e.$props.class]])},[p("div",K,[p("input",A(e.$attrs,{id:e.id,ref:"input","aria-describedby":C.value,"aria-live":"polite",class:["input-field__input",e.inputClass],disabled:e.disabled,placeholder:w.value,type:e.type,value:r.value.toString(),onInput:I}),null,16,P),!e.labelOutside&&_.value?(i(),n("label",{key:0,class:"input-field__label",for:e.id},v(e.label),9,Q)):u("",!0),z(p("div",R,[y(e.$slots,"icon",{},void 0,!0)],512),[[D,!!e.$slots.icon]]),e.showTrailingButton?(i(),t(S,{key:1,class:"input-field__trailing-button","aria-label":e.trailingButtonLabel,disabled:e.disabled,variant:"tertiary-no-background",onClick:a[0]||(a[0]=V=>$("trailingButtonClick",V))},{icon:E(()=>[y(e.$slots,"trailing-button-icon",{},void 0,!0)]),_:3},8,["aria-label","disabled"])):e.success||e.error?(i(),n("div",U,[e.success?(i(),t(d,{key:0,path:s(g)},null,8,["path"])):(i(),t(d,{key:1,path:s(m)},null,8,["path"]))])):u("",!0)]),e.helperText?(i(),n("p",{key:0,id:`${e.id}-helper-text`,class:"input-field__helper-text-message"},[e.success?(i(),t(d,{key:0,class:"input-field__helper-text-message__icon",path:s(g),inline:""},null,8,["path"])):e.error?(i(),t(d,{key:1,class:"input-field__helper-text-message__icon",path:s(m),inline:""},null,8,["path"])):u("",!0),G(" "+v(e.helperText),1)],8,W)):u("",!0)],2))}}),le=H(X,[["__scopeId","data-v-bfba6aa6"]]);export{le as N};
//# sourceMappingURL=NcInputField-o5OFv3z6-B9dr1xjk.chunk.mjs.map

View file

@ -1,2 +0,0 @@
import{b as j,q as h,s as q,D as F,x as L,j as n,o as i,k as p,l as u,E as z,c as t,z as A,p as d,t as v,G as D,m as y,w as E,u as s,g as G,n as M}from"./runtime-dom.esm-bundler-nUg13ekW.chunk.mjs";import{N as S,c as g,d as m,i as x}from"./logger-D3RVzcfQ-B4GxPQ5t.chunk.mjs";import{_ as H,N as o,c as J}from"./createElementId-DhjFt1I9-CRJVCjcq.chunk.mjs";const K={class:"input-field__main-wrapper"},P=["id","aria-describedby","disabled","placeholder","type","value"],Q=["for"],R={class:"input-field__icon input-field__icon--leading"},U={key:2,class:"input-field__icon input-field__icon--trailing"},W=["id"],X=j({inheritAttrs:!1,__name:"NcInputField",props:h({class:{default:""},inputClass:{default:""},id:{default:()=>J()},label:{default:void 0},labelOutside:{type:Boolean},type:{default:"text"},placeholder:{default:void 0},showTrailingButton:{type:Boolean},trailingButtonLabel:{default:void 0},success:{type:Boolean},error:{type:Boolean},helperText:{default:""},disabled:{type:Boolean},pill:{type:Boolean}},{modelValue:{required:!0},modelModifiers:{}}),emits:h(["trailingButtonClick"],["update:modelValue"]),setup(c,{expose:k,emit:B}){const r=q(c,"modelValue"),l=c,$=B;k({focus:N,select:O});const f=F(),b=L("input"),T=d(()=>l.showTrailingButton||l.success),w=d(()=>{if(l.placeholder)return l.placeholder;if(l.label)return x?l.label:""}),_=d(()=>l.label||l.labelOutside),C=d(()=>{const e=[];return l.helperText&&e.push(`${l.id}-helper-text`),f["aria-describedby"]&&e.push(String(f["aria-describedby"])),e.join(" ")||void 0});function N(e){b.value.focus(e)}function O(){b.value.select()}function I(e){const a=e.target;r.value=l.type==="number"&&typeof r.value=="number"?parseFloat(a.value):a.value}return(e,a)=>(i(),n("div",{class:M(["input-field",[{"input-field--disabled":e.disabled,"input-field--error":e.error,"input-field--label-outside":e.labelOutside||!_.value,"input-field--leading-icon":!!e.$slots.icon,"input-field--trailing-icon":T.value,"input-field--pill":e.pill,"input-field--success":e.success,"input-field--legacy":s(x)},e.$props.class]])},[p("div",K,[p("input",A(e.$attrs,{id:e.id,ref:"input","aria-describedby":C.value,"aria-live":"polite",class:["input-field__input",e.inputClass],disabled:e.disabled,placeholder:w.value,type:e.type,value:r.value.toString(),onInput:I}),null,16,P),!e.labelOutside&&_.value?(i(),n("label",{key:0,class:"input-field__label",for:e.id},v(e.label),9,Q)):u("",!0),z(p("div",R,[y(e.$slots,"icon",{},void 0,!0)],512),[[D,!!e.$slots.icon]]),e.showTrailingButton?(i(),t(S,{key:1,class:"input-field__trailing-button","aria-label":e.trailingButtonLabel,disabled:e.disabled,variant:"tertiary-no-background",onClick:a[0]||(a[0]=V=>$("trailingButtonClick",V))},{icon:E(()=>[y(e.$slots,"trailing-button-icon",{},void 0,!0)]),_:3},8,["aria-label","disabled"])):e.success||e.error?(i(),n("div",U,[e.success?(i(),t(o,{key:0,path:s(g)},null,8,["path"])):(i(),t(o,{key:1,path:s(m)},null,8,["path"]))])):u("",!0)]),e.helperText?(i(),n("p",{key:0,id:`${e.id}-helper-text`,class:"input-field__helper-text-message"},[e.success?(i(),t(o,{key:0,class:"input-field__helper-text-message__icon",path:s(g),inline:""},null,8,["path"])):e.error?(i(),t(o,{key:1,class:"input-field__helper-text-message__icon",path:s(m),inline:""},null,8,["path"])):u("",!0),G(" "+v(e.helperText),1)],8,W)):u("",!0)],2))}}),le=H(X,[["__scopeId","data-v-bfba6aa6"]]);export{le as N};
//# sourceMappingURL=NcInputField-o5OFv3z6-DGXgkff4.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

View file

@ -1,2 +0,0 @@
import{n as f,r as E,o as B,p as I,i as N,q as S,s as V,t as D,u as $}from"./logger-D3RVzcfQ-B4GxPQ5t.chunk.mjs";import{b as K,K as q,I as g,a6 as L,p as i,u as l,j as m,o as y,m as x,k as _,e as P,n as b,l as R,t as A}from"./runtime-dom.esm-bundler-nUg13ekW.chunk.mjs";import{_ as M,N as z}from"./createElementId-DhjFt1I9-CRJVCjcq.chunk.mjs";function k(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function F(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(var n in t)if(!G(t[n],e[n]))return!1;return!0}function G(t,e){return f(t)?O(t,e):f(e)?O(e,t):(t&&t.valueOf())===(e&&e.valueOf())}function O(t,e){return f(e)?t.length===e.length&&t.every((n,r)=>n===e[r]):t.length===1&&t[0]===e}function C(t){const e=g(E),n=g(B),r=i(()=>{const s=l(t.to);return e.resolve(s)}),a=i(()=>{const{matched:s}=r.value,{length:u}=s,v=s[u-1],c=n.matched;if(!v||!c.length)return-1;const p=c.findIndex(k.bind(null,v));if(p>-1)return p;const h=w(s[u-2]);return u>1&&w(v)===h&&c[c.length-1].path!==h?c.findIndex(k.bind(null,s[u-2])):p}),o=i(()=>a.value>-1&&U(n.params,r.value.params)),d=i(()=>a.value>-1&&a.value===n.matched.length-1&&F(n.params,r.value.params));function j(s={}){if(Q(s)){const u=e[l(t.replace)?"replace":"push"](l(t.to)).catch(I);return t.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:i(()=>r.value.href),isActive:o,isExactActive:d,navigate:j}}function H(t){return t.length===1?t[0]:t}const J=K({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:C,setup(t,{slots:e}){const n=q(C(t)),{options:r}=g(E),a=i(()=>({[T(t.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[T(t.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=e.default&&H(e.default(n));return t.custom?o:L("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:a.value},o)}}}),at=J;function Q(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function U(t,e){for(const n in e){const r=e[n],a=t[n];if(typeof r=="string"){if(r!==a)return!1}else if(!f(a)||a.length!==r.length||r.some((o,d)=>o.valueOf()!==a[d].valueOf()))return!1}return!0}function w(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const T=(t,e,n)=>t??e??n,W=["role"],X={key:0,class:"notecard__heading"},Y={class:"notecard__text"},Z=K({__name:"NcNoteCard",props:{heading:{default:void 0},showAlert:{type:Boolean},text:{default:void 0},type:{default:"warning"}},setup(t){const e=t,n=i(()=>e.showAlert||e.type==="error"),r=i(()=>{switch(e.type){case"error":return $;case"success":return D;case"info":return V;default:return S}});return(a,o)=>(y(),m("div",{class:b(["notecard",{[`notecard--${a.type}`]:a.type,"notecard--legacy":l(N)}]),role:n.value?"alert":"note"},[x(a.$slots,"icon",{},()=>[P(l(z),{path:r.value,class:b(["notecard__icon",{"notecard__icon--heading":a.heading}]),inline:""},null,8,["path","class"])],!0),_("div",null,[a.heading?(y(),m("p",X,A(a.heading),1)):R("",!0),x(a.$slots,"default",{},()=>[_("p",Y,A(a.text),1)],!0)])],10,W))}}),rt=M(Z,[["__scopeId","data-v-7e4656f9"]]);export{rt as N,at as R};
//# sourceMappingURL=NcNoteCard-Cok_4Fld-BLQT242e.chunk.mjs.map

File diff suppressed because one or more lines are too long

View file

@ -1,2 +0,0 @@
import{l as V,a as C,b as S}from"./logger-D3RVzcfQ-B4GxPQ5t.chunk.mjs";import{c as N}from"./index-ClUK5nWL.chunk.mjs";import{g as F}from"./index-Ma7sfat2.chunk.mjs";import{r as L,e as M,_ as $,b as q,a as n,N as z}from"./createElementId-DhjFt1I9-CRJVCjcq.chunk.mjs";import{d as H}from"./index-6_gsQFyp.chunk.mjs";import{N as I}from"./NcInputField-o5OFv3z6-DGXgkff4.chunk.mjs";import{b as O,q as c,s as v,v as U,x as j,r as m,c as A,o as D,y as E,w as f,m as G,e as J,u as o,z as K,p as h}from"./runtime-dom.esm-bundler-nUg13ekW.chunk.mjs";L(M);const Q=O({__name:"NcPasswordField",props:c({class:{},inputClass:{default:""},id:{},label:{},labelOutside:{type:Boolean},placeholder:{},showTrailingButton:{type:Boolean,default:!0},success:{type:Boolean},error:{type:Boolean},helperText:{},disabled:{type:Boolean},pill:{type:Boolean},checkPasswordStrength:{type:Boolean},minlength:{default:void 0},asText:{type:Boolean}},{modelValue:{default:""},modelModifiers:{},visible:{type:Boolean,default:!1},visibleModifiers:{}}),emits:c(["valid","invalid"],["update:modelValue","update:visible"]),setup(l,{expose:y,emit:w}){const s=v(l,"modelValue"),a=v(l,"visible"),t=l,d=w;U(s,H(B,500)),y({focus:_,select:P});const{password_policy:g}=F(),u=j("inputField"),r=m(""),i=m(),x=h(()=>{const e={...t};return delete e.checkPasswordStrength,delete e.minlength,delete e.asText,delete e.error,delete e.helperText,delete e.inputClass,delete e.success,e}),b=h(()=>t.minlength??(t.checkPasswordStrength?g?.minLength:void 0)??void 0);async function B(){if(t.checkPasswordStrength)try{const{data:e}=await N.post(q("apps/password_policy/api/v1/validate"),{password:s.value});if(i.value=e.ocs.data.passed,e.ocs.data.passed){r.value=n("Password is secure"),d("valid");return}r.value=e.ocs.data.reason,d("invalid")}catch(e){V.error("Password policy returned an error",{error:e})}}function T(){a.value=!a.value}function _(e){u.value.focus(e)}function P(){u.value.select()}return(e,p)=>(D(),A(I,K(x.value,{ref:"inputField",modelValue:s.value,"onUpdate:modelValue":p[0]||(p[0]=k=>s.value=k),error:e.error||i.value===!1,helperText:e.helperText||r.value,inputClass:[e.inputClass,{"password-field__input--secure-text":!a.value&&e.asText}],minlength:b.value,success:e.success||i.value===!0,trailingButtonLabel:a.value?o(n)("Hide password"):o(n)("Show password"),type:a.value||e.asText?"text":"password",onTrailingButtonClick:T}),E({"trailing-button-icon":f(()=>[J(z,{path:a.value?o(C):o(S)},null,8,["path"])]),_:2},[e.$slots.icon?{name:"icon",fn:f(()=>[G(e.$slots,"icon",{},void 0,!0)]),key:"0"}:void 0]),1040,["modelValue","error","helperText","inputClass","minlength","success","trailingButtonLabel","type"]))}}),se=$(Q,[["__scopeId","data-v-00e75248"]]);export{se as N};
//# sourceMappingURL=NcPasswordField-uaMO2pdt-Bb_nZP1o.chunk.mjs.map

View file

@ -0,0 +1,2 @@
import{l as V,m as C,a as S}from"./AccountOutline-DmK_gbmB.chunk.mjs";import{c as N}from"./index-C-LJcJnH.chunk.mjs";import{g as F}from"./index-Ma7sfat2.chunk.mjs";import{r as L,d as M,_ as $,b as q,a as n,N as z}from"./createElementId-DhjFt1I9-BQ18DTJF.chunk.mjs";import{d as H}from"./index-Bndk0DrU.chunk.mjs";import{N as I}from"./NcInputField-o5OFv3z6-B9dr1xjk.chunk.mjs";import{b as O,p as c,q as v,s as U,v as j,r as m,c as A,o as D,x as E,w as f,m as G,e as J,u as o,y as K,z as h}from"./runtime-dom.esm-bundler-BprhcrOE.chunk.mjs";L(M);const Q=O({__name:"NcPasswordField",props:c({class:{},inputClass:{default:""},id:{},label:{},labelOutside:{type:Boolean},placeholder:{},showTrailingButton:{type:Boolean,default:!0},success:{type:Boolean},error:{type:Boolean},helperText:{},disabled:{type:Boolean},pill:{type:Boolean},checkPasswordStrength:{type:Boolean},minlength:{default:void 0},asText:{type:Boolean}},{modelValue:{default:""},modelModifiers:{},visible:{type:Boolean,default:!1},visibleModifiers:{}}),emits:c(["valid","invalid"],["update:modelValue","update:visible"]),setup(l,{expose:y,emit:w}){const s=v(l,"modelValue"),a=v(l,"visible"),t=l,d=w;U(s,H(b,500)),y({focus:_,select:P});const{password_policy:g}=F(),u=j("inputField"),r=m(""),i=m(),x=h(()=>{const e={...t};return delete e.checkPasswordStrength,delete e.minlength,delete e.asText,delete e.error,delete e.helperText,delete e.inputClass,delete e.success,e}),B=h(()=>t.minlength??(t.checkPasswordStrength?g?.minLength:void 0)??void 0);async function b(){if(t.checkPasswordStrength)try{const{data:e}=await N.post(q("apps/password_policy/api/v1/validate"),{password:s.value});if(i.value=e.ocs.data.passed,e.ocs.data.passed){r.value=n("Password is secure"),d("valid");return}r.value=e.ocs.data.reason,d("invalid")}catch(e){V.error("Password policy returned an error",{error:e})}}function T(){a.value=!a.value}function _(e){u.value.focus(e)}function P(){u.value.select()}return(e,p)=>(D(),A(I,K(x.value,{ref:"inputField",modelValue:s.value,"onUpdate:modelValue":p[0]||(p[0]=k=>s.value=k),error:e.error||i.value===!1,helperText:e.helperText||r.value,inputClass:[e.inputClass,{"password-field__input--secure-text":!a.value&&e.asText}],minlength:B.value,success:e.success||i.value===!0,trailingButtonLabel:a.value?o(n)("Hide password"):o(n)("Show password"),type:a.value||e.asText?"text":"password",onTrailingButtonClick:T}),E({"trailing-button-icon":f(()=>[J(z,{path:a.value?o(C):o(S)},null,8,["path"])]),_:2},[e.$slots.icon?{name:"icon",fn:f(()=>[G(e.$slots,"icon",{},void 0,!0)]),key:"0"}:void 0]),1040,["modelValue","error","helperText","inputClass","minlength","success","trailingButtonLabel","type"]))}}),se=$(Q,[["__scopeId","data-v-00e75248"]]);export{se as N};
//# sourceMappingURL=NcPasswordField-uaMO2pdt-D-H4HXHz.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

View file

@ -3,7 +3,6 @@ SPDX-License-Identifier: GPL-3.0-or-later
SPDX-License-Identifier: ISC
SPDX-License-Identifier: MIT
SPDX-FileCopyrightText: Andrea Giammarchi
SPDX-FileCopyrightText: Antoni Andre <antoniandre.web@gmail.com>
SPDX-FileCopyrightText: Eugene Sharygin <eush77@gmail.com>
SPDX-FileCopyrightText: Mark <mark@remarkablemark.org>
SPDX-FileCopyrightText: Max <max@nextcloud.com>
@ -159,9 +158,6 @@ This file is generated from multiple sources. Included packages:
- space-separated-tokens
- version: 2.0.2
- license: MIT
- splitpanes
- version: 4.0.4
- license: MIT
- style-to-js
- version: 1.1.18
- license: MIT

File diff suppressed because one or more lines are too long

View file

@ -3,7 +3,6 @@ SPDX-License-Identifier: GPL-3.0-or-later
SPDX-License-Identifier: ISC
SPDX-License-Identifier: MIT
SPDX-FileCopyrightText: Andrea Giammarchi
SPDX-FileCopyrightText: Antoni Andre <antoniandre.web@gmail.com>
SPDX-FileCopyrightText: Eugene Sharygin <eush77@gmail.com>
SPDX-FileCopyrightText: Mark <mark@remarkablemark.org>
SPDX-FileCopyrightText: Max <max@nextcloud.com>
@ -159,9 +158,6 @@ This file is generated from multiple sources. Included packages:
- space-separated-tokens
- version: 2.0.2
- license: MIT
- splitpanes
- version: 4.0.4
- license: MIT
- style-to-js
- version: 1.1.18
- license: MIT

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