mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
This commit is contained in:
parent
4da58ebae3
commit
ff015442f8
305 changed files with 635 additions and 649 deletions
|
|
@ -1,2 +1,2 @@
|
|||
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-Bpt0bWgp.chunk.mjs";import{c as j}from"./index-B4kkQRyp.chunk.mjs";import{a as C}from"./index-JpgrUA2Z-ZcbhPlje.chunk.mjs";import{t as s}from"./translation-DoG5ZELJ-2ffMJaM4.chunk.mjs";import{g as E}from"./createElementId-DhjFt1I9-8Sc3dMN4.chunk.mjs";import{N}from"./logger-D3RVzcfQ-C_GlaUB2.chunk.mjs";import{N as S}from"./NcSelect-rH_0zphV-BzYD6wnR.chunk.mjs";import{N as A}from"./NcCheckboxRadioSwitch-ChNSuhe6-C4UVceHp.chunk.mjs";import{N as L}from"./NcPasswordField-DYF18Cdo-CTlPxnVd.chunk.mjs";import{_ as z}from"./TrashCanOutline-CLAn3uJ_.chunk.mjs";import{C as c,a as k}from"./types-C57L34gw.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-DL14jtrB.chunk.mjs.map
|
||||
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-Bpt0bWgp.chunk.mjs";import{c as j}from"./index-BOWtcdl5.chunk.mjs";import{a as C}from"./index-JpgrUA2Z-DKmwv3tf.chunk.mjs";import{t as s}from"./translation-DoG5ZELJ-Bni_xMHF.chunk.mjs";import{g as E}from"./createElementId-DhjFt1I9-DX6OV2ut.chunk.mjs";import{N}from"./logger-D3RVzcfQ-i8woBVes.chunk.mjs";import{N as S}from"./NcSelect-DLheQ2yp-BPcVnN5w.chunk.mjs";import{N as A}from"./NcCheckboxRadioSwitch-BMsPx74L-DOD5lBHo.chunk.mjs";import{N as L}from"./NcPasswordField-uaMO2pdt-N70bZs5u.chunk.mjs";import{_ as z}from"./TrashCanOutline-CBc3qhbs.chunk.mjs";import{C as c,a as k}from"./types-CTMT8ggI.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-DQgFdtSy.chunk.mjs.map
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -1,2 +1,2 @@
|
|||
import{r as g,z as h,_ as p,a as C}from"./createElementId-DhjFt1I9-8Sc3dMN4.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-Bpt0bWgp.chunk.mjs";import{a as b}from"./index-xFugdZPW.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-CYNlk1qX.chunk.mjs.map
|
||||
import{r as g,z as h,_ as p,a as C}from"./createElementId-DhjFt1I9-DX6OV2ut.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-Bpt0bWgp.chunk.mjs";import{a as b}from"./index-xFugdZPW.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-BP8xv5wo.chunk.mjs.map
|
||||
|
|
@ -5,7 +5,7 @@ SPDX-FileCopyrightText: Rob Cresswell <robcresswell@pm.me>
|
|||
|
||||
This file is generated from multiple sources. Included packages:
|
||||
- @nextcloud/vue
|
||||
- version: 9.4.0
|
||||
- version: 9.5.0
|
||||
- license: AGPL-3.0-or-later
|
||||
- vue-material-design-icons
|
||||
- version: 5.3.1
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -5,7 +5,7 @@ SPDX-FileCopyrightText: Rob Cresswell <robcresswell@pm.me>
|
|||
|
||||
This file is generated from multiple sources. Included packages:
|
||||
- @nextcloud/vue
|
||||
- version: 9.4.0
|
||||
- version: 9.5.0
|
||||
- license: AGPL-3.0-or-later
|
||||
- vue-material-design-icons
|
||||
- version: 5.3.1
|
||||
|
|
@ -1,2 +1,2 @@
|
|||
import{t}from"./translation-DoG5ZELJ-2ffMJaM4.chunk.mjs";import{N as u}from"./index-CSAGVMkU.chunk.mjs";import{N as d}from"./NcNoteCard-Cok_4Fld-VsgpMA0R.chunk.mjs";import{N as p}from"./NcPasswordField-DYF18Cdo-CTlPxnVd.chunk.mjs";import{_ as c}from"./TrashCanOutline-CLAn3uJ_.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-Bpt0bWgp.chunk.mjs";import"./index-6_gsQFyp.chunk.mjs";import"./createElementId-DhjFt1I9-8Sc3dMN4.chunk.mjs";import"./logger-D3RVzcfQ-C_GlaUB2.chunk.mjs";import"./mdi-B7VX9Upu.chunk.mjs";import"./index-B4kkQRyp.chunk.mjs";import"./string_decoder-BO00msnV.chunk.mjs";import"./index-xFugdZPW.chunk.mjs";import"./NcInputField-tt_Gi9ja-eWq3_Q7O.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-8mUM8pcK.chunk.mjs.map
|
||||
import{t}from"./translation-DoG5ZELJ-Bni_xMHF.chunk.mjs";import{N as u}from"./index-CSZNZNKh.chunk.mjs";import{N as d}from"./NcNoteCard-Cok_4Fld-B1R0Avgo.chunk.mjs";import{N as p}from"./NcPasswordField-uaMO2pdt-N70bZs5u.chunk.mjs";import{_ as c}from"./TrashCanOutline-CBc3qhbs.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-Bpt0bWgp.chunk.mjs";import"./index-Bndk0DrU.chunk.mjs";import"./createElementId-DhjFt1I9-DX6OV2ut.chunk.mjs";import"./logger-D3RVzcfQ-i8woBVes.chunk.mjs";import"./mdi-BQd0wutC.chunk.mjs";import"./index-BOWtcdl5.chunk.mjs";import"./string_decoder-BO00msnV.chunk.mjs";import"./index-xFugdZPW.chunk.mjs";import"./NcInputField-o5OFv3z6-DShGx4Q6.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-BGjnxtzk.chunk.mjs.map
|
||||
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"CredentialsDialog-8mUM8pcK.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-BGjnxtzk.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
|
|
@ -13,7 +13,7 @@ This file is generated from multiple sources. Included packages:
|
|||
- version: 3.12.2
|
||||
- license: AGPL-3.0-or-later
|
||||
- @nextcloud/vue
|
||||
- version: 9.4.0
|
||||
- version: 9.5.0
|
||||
- license: AGPL-3.0-or-later
|
||||
- cancelable-promise
|
||||
- version: 4.3.1
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -13,7 +13,7 @@ This file is generated from multiple sources. Included packages:
|
|||
- version: 3.12.2
|
||||
- license: AGPL-3.0-or-later
|
||||
- @nextcloud/vue
|
||||
- version: 9.4.0
|
||||
- version: 9.5.0
|
||||
- license: AGPL-3.0-or-later
|
||||
- cancelable-promise
|
||||
- version: 4.3.1
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
5
dist/NcAvatar-C9d7Wrc8-Cxl0LqHu.chunk.mjs
vendored
Normal file
5
dist/NcAvatar-C9d7Wrc8-Cxl0LqHu.chunk.mjs
vendored
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -1,6 +1,5 @@
|
|||
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>
|
||||
|
|
@ -10,16 +9,10 @@ SPDX-FileCopyrightText: ts-md5 developers
|
|||
|
||||
This file is generated from multiple sources. Included packages:
|
||||
- @nextcloud/vue
|
||||
- version: 9.4.0
|
||||
- version: 9.5.0
|
||||
- license: AGPL-3.0-or-later
|
||||
- @vueuse/components
|
||||
- version: 14.1.0
|
||||
- license: MIT
|
||||
- @vueuse/core
|
||||
- version: 14.1.0
|
||||
- license: MIT
|
||||
- @vueuse/shared
|
||||
- version: 14.1.0
|
||||
- version: 14.2.0
|
||||
- license: MIT
|
||||
- striptags
|
||||
- version: 3.2.0
|
||||
|
|
@ -34,7 +27,7 @@ This file is generated from multiple sources. Included packages:
|
|||
- version: 6.0.1
|
||||
- license: MIT
|
||||
- unist-util-visit
|
||||
- version: 5.0.0
|
||||
- version: 5.1.0
|
||||
- license: MIT
|
||||
- unist-util-visit-parents
|
||||
- version: 6.0.2
|
||||
1
dist/NcAvatar-C9d7Wrc8-Cxl0LqHu.chunk.mjs.map
vendored
Normal file
1
dist/NcAvatar-C9d7Wrc8-Cxl0LqHu.chunk.mjs.map
vendored
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -1,6 +1,5 @@
|
|||
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>
|
||||
|
|
@ -10,16 +9,10 @@ SPDX-FileCopyrightText: ts-md5 developers
|
|||
|
||||
This file is generated from multiple sources. Included packages:
|
||||
- @nextcloud/vue
|
||||
- version: 9.4.0
|
||||
- version: 9.5.0
|
||||
- license: AGPL-3.0-or-later
|
||||
- @vueuse/components
|
||||
- version: 14.1.0
|
||||
- license: MIT
|
||||
- @vueuse/core
|
||||
- version: 14.1.0
|
||||
- license: MIT
|
||||
- @vueuse/shared
|
||||
- version: 14.1.0
|
||||
- version: 14.2.0
|
||||
- license: MIT
|
||||
- striptags
|
||||
- version: 3.2.0
|
||||
|
|
@ -34,7 +27,7 @@ This file is generated from multiple sources. Included packages:
|
|||
- version: 6.0.1
|
||||
- license: MIT
|
||||
- unist-util-visit
|
||||
- version: 5.0.0
|
||||
- version: 5.1.0
|
||||
- license: MIT
|
||||
- unist-util-visit-parents
|
||||
- version: 6.0.2
|
||||
5
dist/NcAvatar-xQb0quUq-D2NJzT5I.chunk.mjs
vendored
5
dist/NcAvatar-xQb0quUq-D2NJzT5I.chunk.mjs
vendored
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
|
|
@ -7,7 +7,7 @@ SPDX-FileCopyrightText: p-queue developers
|
|||
|
||||
This file is generated from multiple sources. Included packages:
|
||||
- @nextcloud/vue
|
||||
- version: 9.4.0
|
||||
- version: 9.5.0
|
||||
- license: AGPL-3.0-or-later
|
||||
- eventemitter3
|
||||
- version: 5.0.1
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -7,7 +7,7 @@ SPDX-FileCopyrightText: p-queue developers
|
|||
|
||||
This file is generated from multiple sources. Included packages:
|
||||
- @nextcloud/vue
|
||||
- version: 9.4.0
|
||||
- version: 9.5.0
|
||||
- license: AGPL-3.0-or-later
|
||||
- eventemitter3
|
||||
- version: 5.0.1
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -3,5 +3,5 @@ SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
|
|||
|
||||
This file is generated from multiple sources. Included packages:
|
||||
- @nextcloud/vue
|
||||
- version: 9.4.0
|
||||
- version: 9.5.0
|
||||
- license: AGPL-3.0-or-later
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -3,5 +3,5 @@ SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
|
|||
|
||||
This file is generated from multiple sources. Included packages:
|
||||
- @nextcloud/vue
|
||||
- version: 9.4.0
|
||||
- version: 9.5.0
|
||||
- license: AGPL-3.0-or-later
|
||||
|
|
@ -1,2 +1,2 @@
|
|||
import{m as g}from"./logger-D3RVzcfQ-C_GlaUB2.chunk.mjs";import{N as k}from"./PencilOutline-DJ0lCnqN.chunk.mjs";import{a as y}from"./index-CSAGVMkU.chunk.mjs";import{r as b,d as P,a as x,N as u,_ as N}from"./createElementId-DhjFt1I9-8Sc3dMN4.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-Bpt0bWgp.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-CaOkERH3-DXoPfyjk.chunk.mjs.map
|
||||
import{m as g}from"./logger-D3RVzcfQ-i8woBVes.chunk.mjs";import{N as k}from"./PencilOutline-DNC3CYZz.chunk.mjs";import{a as y}from"./index-CSZNZNKh.chunk.mjs";import{r as b,d as P,a as x,N as u,_ as N}from"./createElementId-DhjFt1I9-DX6OV2ut.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-Bpt0bWgp.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-Cz-sBLf9.chunk.mjs.map
|
||||
|
|
@ -3,5 +3,5 @@ SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
|
|||
|
||||
This file is generated from multiple sources. Included packages:
|
||||
- @nextcloud/vue
|
||||
- version: 9.4.0
|
||||
- version: 9.5.0
|
||||
- license: AGPL-3.0-or-later
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -3,5 +3,5 @@ SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
|
|||
|
||||
This file is generated from multiple sources. Included packages:
|
||||
- @nextcloud/vue
|
||||
- version: 9.4.0
|
||||
- version: 9.5.0
|
||||
- license: AGPL-3.0-or-later
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -12,5 +12,5 @@ This file is generated from multiple sources. Included packages:
|
|||
- version: 3.6.1
|
||||
- license: MIT
|
||||
- @nextcloud/vue
|
||||
- version: 9.4.0
|
||||
- version: 9.5.0
|
||||
- license: AGPL-3.0-or-later
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -12,5 +12,5 @@ This file is generated from multiple sources. Included packages:
|
|||
- version: 3.6.1
|
||||
- license: MIT
|
||||
- @nextcloud/vue
|
||||
- version: 9.4.0
|
||||
- version: 9.5.0
|
||||
- license: AGPL-3.0-or-later
|
||||
|
|
@ -1,2 +1,2 @@
|
|||
import{a as d}from"./PencilOutline-DJ0lCnqN.chunk.mjs";import{d as _,y as C,z as S}from"./index-CSAGVMkU.chunk.mjs";import{_ as f}from"./createElementId-DhjFt1I9-8Sc3dMN4.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-Bpt0bWgp.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"],R=["textContent"],W={key:2,class:"action-link__text"};function q(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,R)):(o(),a("span",W,l(e.text),1)),g("",!0)],8,U)],8,M)}const V=f(L,[["render",q],["__scopeId","data-v-32f01b7a"]]),A={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"],Y=["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,Y)):(o(),a("span",E,l(e.text),1)),g("",!0)]),_:3},8,["aria-label","role","title","to","onClick"])],8,B)}const X=f(A,[["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-DYYYpFkL.chunk.mjs.map
|
||||
import{A as d}from"./PencilOutline-DNC3CYZz.chunk.mjs";import{d as _,z as C,A as S}from"./index-CSZNZNKh.chunk.mjs";import{_ as f}from"./createElementId-DhjFt1I9-DX6OV2ut.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-Bpt0bWgp.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"},A={class:"action-link__name"},N=["textContent"],$=["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",j,[n("strong",A,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,N)])):e.isLongText?(o(),a("span",{key:1,class:"action-link__longtext",textContent:l(e.text)},null,8,$)):(o(),a("span",R,l(e.text),1)),g("",!0)],8,U)],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"],Y=["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,Y)):(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"],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-D34fEwVY.chunk.mjs.map
|
||||
7
dist/NcDateTime.vue_vue_type_script_setup_true_lang-BhB8yA4U-D34fEwVY.chunk.mjs.license
vendored
Normal file
7
dist/NcDateTime.vue_vue_type_script_setup_true_lang-BhB8yA4U-D34fEwVY.chunk.mjs.license
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
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
|
||||
File diff suppressed because one or more lines are too long
7
dist/NcDateTime.vue_vue_type_script_setup_true_lang-BhB8yA4U-D34fEwVY.chunk.mjs.map.license
vendored
Normal file
7
dist/NcDateTime.vue_vue_type_script_setup_true_lang-BhB8yA4U-D34fEwVY.chunk.mjs.map.license
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
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
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
|
||||
|
||||
This file is generated from multiple sources. Included packages:
|
||||
- @nextcloud/vue
|
||||
- version: 9.4.0
|
||||
- license: AGPL-3.0-or-later
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
|
||||
|
||||
This file is generated from multiple sources. Included packages:
|
||||
- @nextcloud/vue
|
||||
- version: 9.4.0
|
||||
- license: AGPL-3.0-or-later
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -5,7 +5,7 @@ SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
|
|||
|
||||
This file is generated from multiple sources. Included packages:
|
||||
- @nextcloud/vue
|
||||
- version: 9.4.0
|
||||
- version: 9.5.0
|
||||
- license: AGPL-3.0-or-later
|
||||
- emoji-mart-vue-fast
|
||||
- version: 15.0.5
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -5,7 +5,7 @@ SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
|
|||
|
||||
This file is generated from multiple sources. Included packages:
|
||||
- @nextcloud/vue
|
||||
- version: 9.4.0
|
||||
- version: 9.5.0
|
||||
- license: AGPL-3.0-or-later
|
||||
- emoji-mart-vue-fast
|
||||
- version: 15.0.5
|
||||
4
dist/NcInputField-o5OFv3z6-BYlw6Xsd.chunk.css
vendored
Normal file
4
dist/NcInputField-o5OFv3z6-BYlw6Xsd.chunk.css
vendored
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -1,2 +1,2 @@
|
|||
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-Bpt0bWgp.chunk.mjs";import{N as S,c as g,d as m,i as x}from"./logger-D3RVzcfQ-C_GlaUB2.chunk.mjs";import{_ as H,N as o,c as J}from"./createElementId-DhjFt1I9-8Sc3dMN4.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-a0e80f48"]]);export{le as N};
|
||||
//# sourceMappingURL=NcInputField-tt_Gi9ja-eWq3_Q7O.chunk.mjs.map
|
||||
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-Bpt0bWgp.chunk.mjs";import{N as S,c as g,d as m,i as x}from"./logger-D3RVzcfQ-i8woBVes.chunk.mjs";import{_ as H,N as o,c as J}from"./createElementId-DhjFt1I9-DX6OV2ut.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-DShGx4Q6.chunk.mjs.map
|
||||
7
dist/NcInputField-o5OFv3z6-DShGx4Q6.chunk.mjs.license
vendored
Normal file
7
dist/NcInputField-o5OFv3z6-DShGx4Q6.chunk.mjs.license
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
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
|
||||
File diff suppressed because one or more lines are too long
7
dist/NcInputField-o5OFv3z6-DShGx4Q6.chunk.mjs.map.license
vendored
Normal file
7
dist/NcInputField-o5OFv3z6-DShGx4Q6.chunk.mjs.map.license
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
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
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -1,7 +0,0 @@
|
|||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
|
||||
|
||||
This file is generated from multiple sources. Included packages:
|
||||
- @nextcloud/vue
|
||||
- version: 9.4.0
|
||||
- license: AGPL-3.0-or-later
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
|
||||
|
||||
This file is generated from multiple sources. Included packages:
|
||||
- @nextcloud/vue
|
||||
- version: 9.4.0
|
||||
- license: AGPL-3.0-or-later
|
||||
2
dist/NcNoteCard-Cok_4Fld-B1R0Avgo.chunk.mjs
vendored
Normal file
2
dist/NcNoteCard-Cok_4Fld-B1R0Avgo.chunk.mjs
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
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-i8woBVes.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-Bpt0bWgp.chunk.mjs";import{_ as M,N as z}from"./createElementId-DhjFt1I9-DX6OV2ut.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-B1R0Avgo.chunk.mjs.map
|
||||
|
|
@ -5,8 +5,8 @@ SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
|
|||
|
||||
This file is generated from multiple sources. Included packages:
|
||||
- @nextcloud/vue
|
||||
- version: 9.4.0
|
||||
- version: 9.5.0
|
||||
- license: AGPL-3.0-or-later
|
||||
- vue-router
|
||||
- version: 4.6.4
|
||||
- version: 5.0.2
|
||||
- license: MIT
|
||||
1
dist/NcNoteCard-Cok_4Fld-B1R0Avgo.chunk.mjs.map
vendored
Normal file
1
dist/NcNoteCard-Cok_4Fld-B1R0Avgo.chunk.mjs.map
vendored
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -5,8 +5,8 @@ SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
|
|||
|
||||
This file is generated from multiple sources. Included packages:
|
||||
- @nextcloud/vue
|
||||
- version: 9.4.0
|
||||
- version: 9.5.0
|
||||
- license: AGPL-3.0-or-later
|
||||
- vue-router
|
||||
- version: 4.6.4
|
||||
- version: 5.0.2
|
||||
- license: MIT
|
||||
2
dist/NcNoteCard-Cok_4Fld-VsgpMA0R.chunk.mjs
vendored
2
dist/NcNoteCard-Cok_4Fld-VsgpMA0R.chunk.mjs
vendored
|
|
@ -1,2 +0,0 @@
|
|||
import{r as T,n as K,o as B,p as I,q as N,s as h,i as S,t as V,u as D,v as $,w as j}from"./logger-D3RVzcfQ-C_GlaUB2.chunk.mjs";import{b as O,K as q,I as v,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 A,l as R,t as b}from"./runtime-dom.esm-bundler-Bpt0bWgp.chunk.mjs";import{_ as M,N as z}from"./createElementId-DhjFt1I9-8Sc3dMN4.chunk.mjs";function C(t){const n=v(T),a=v(K),r=i(()=>{const s=l(t.to);return n.resolve(s)}),e=i(()=>{const{matched:s}=r.value,{length:c}=s,d=s[c-1],u=a.matched;if(!d||!u.length)return-1;const p=u.findIndex(h.bind(null,d));if(p>-1)return p;const g=k(s[c-2]);return c>1&&k(d)===g&&u[u.length-1].path!==g?u.findIndex(h.bind(null,s[c-2])):p}),o=i(()=>e.value>-1&&J(a.params,r.value.params)),f=i(()=>e.value>-1&&e.value===a.matched.length-1&&I(a.params,r.value.params));function E(s={}){if(H(s)){const c=n[l(t.replace)?"replace":"push"](l(t.to)).catch(B);return t.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:r,href:i(()=>r.value.href),isActive:o,isExactActive:f,navigate:E}}function F(t){return t.length===1?t[0]:t}const G=O({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:n}){const a=q(C(t)),{options:r}=v(T),e=i(()=>({[w(t.activeClass,r.linkActiveClass,"router-link-active")]:a.isActive,[w(t.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:a.isExactActive}));return()=>{const o=n.default&&F(n.default(a));return t.custom?o:L("a",{"aria-current":a.isExactActive?t.ariaCurrentValue:null,href:a.href,onClick:a.navigate,class:e.value},o)}}}),et=G;function H(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 n=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(n))return}return t.preventDefault&&t.preventDefault(),!0}}function J(t,n){for(const a in n){const r=n[a],e=t[a];if(typeof r=="string"){if(r!==e)return!1}else if(!N(e)||e.length!==r.length||r.some((o,f)=>o.valueOf()!==e[f].valueOf()))return!1}return!0}function k(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const w=(t,n,a)=>t??n??a,Q=["role"],U={key:0,class:"notecard__heading"},W={class:"notecard__text"},X=O({__name:"NcNoteCard",props:{heading:{default:void 0},showAlert:{type:Boolean},text:{default:void 0},type:{default:"warning"}},setup(t){const n=t,a=i(()=>n.showAlert||n.type==="error"),r=i(()=>{switch(n.type){case"error":return j;case"success":return $;case"info":return D;default:return V}});return(e,o)=>(y(),m("div",{class:A(["notecard",{[`notecard--${e.type}`]:e.type,"notecard--legacy":l(S)}]),role:a.value?"alert":"note"},[x(e.$slots,"icon",{},()=>[P(l(z),{path:r.value,class:A(["notecard__icon",{"notecard__icon--heading":e.heading}]),inline:""},null,8,["path","class"])],!0),_("div",null,[e.heading?(y(),m("p",U,b(e.heading),1)):R("",!0),x(e.$slots,"default",{},()=>[_("p",W,b(e.text),1)],!0)])],10,Q))}}),at=M(X,[["__scopeId","data-v-7e4656f9"]]);export{at as N,et as R};
|
||||
//# sourceMappingURL=NcNoteCard-Cok_4Fld-VsgpMA0R.chunk.mjs.map
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -1,7 +0,0 @@
|
|||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
|
||||
|
||||
This file is generated from multiple sources. Included packages:
|
||||
- @nextcloud/vue
|
||||
- version: 9.4.0
|
||||
- license: AGPL-3.0-or-later
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
|
||||
|
||||
This file is generated from multiple sources. Included packages:
|
||||
- @nextcloud/vue
|
||||
- version: 9.4.0
|
||||
- license: AGPL-3.0-or-later
|
||||
|
|
@ -1,2 +1,2 @@
|
|||
import{l as V,a as C,b as S}from"./logger-D3RVzcfQ-C_GlaUB2.chunk.mjs";import{c as N}from"./index-B4kkQRyp.chunk.mjs";import{g as F}from"./index-xFugdZPW.chunk.mjs";import{r as L,e as M,_ as $,b as q,a as n,N as z}from"./createElementId-DhjFt1I9-8Sc3dMN4.chunk.mjs";import{d as H}from"./index-6_gsQFyp.chunk.mjs";import{N as I}from"./NcInputField-tt_Gi9ja-eWq3_Q7O.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-Bpt0bWgp.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-DYF18Cdo-CTlPxnVd.chunk.mjs.map
|
||||
import{l as V,a as C,b as S}from"./logger-D3RVzcfQ-i8woBVes.chunk.mjs";import{c as N}from"./index-BOWtcdl5.chunk.mjs";import{g as F}from"./index-xFugdZPW.chunk.mjs";import{r as L,e as M,_ as $,b as q,a as n,N as z}from"./createElementId-DhjFt1I9-DX6OV2ut.chunk.mjs";import{d as H}from"./index-Bndk0DrU.chunk.mjs";import{N as I}from"./NcInputField-o5OFv3z6-DShGx4Q6.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-Bpt0bWgp.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-N70bZs5u.chunk.mjs.map
|
||||
7
dist/NcPasswordField-uaMO2pdt-N70bZs5u.chunk.mjs.license
vendored
Normal file
7
dist/NcPasswordField-uaMO2pdt-N70bZs5u.chunk.mjs.license
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
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
|
||||
File diff suppressed because one or more lines are too long
7
dist/NcPasswordField-uaMO2pdt-N70bZs5u.chunk.mjs.map.license
vendored
Normal file
7
dist/NcPasswordField-uaMO2pdt-N70bZs5u.chunk.mjs.map.license
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
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
|
||||
File diff suppressed because one or more lines are too long
83
dist/NcRichText-DJlaHs_Q-F9urzMSq.chunk.mjs
vendored
Normal file
83
dist/NcRichText-DJlaHs_Q-F9urzMSq.chunk.mjs
vendored
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -15,7 +15,7 @@ SPDX-FileCopyrightText: rhysd <lin90162@yahoo.co.jp>
|
|||
|
||||
This file is generated from multiple sources. Included packages:
|
||||
- @nextcloud/vue
|
||||
- version: 9.4.0
|
||||
- version: 9.5.0
|
||||
- license: AGPL-3.0-or-later
|
||||
- @ungap/structured-clone
|
||||
- version: 1.3.0
|
||||
1
dist/NcRichText-DJlaHs_Q-F9urzMSq.chunk.mjs.map
vendored
Normal file
1
dist/NcRichText-DJlaHs_Q-F9urzMSq.chunk.mjs.map
vendored
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -15,7 +15,7 @@ SPDX-FileCopyrightText: rhysd <lin90162@yahoo.co.jp>
|
|||
|
||||
This file is generated from multiple sources. Included packages:
|
||||
- @nextcloud/vue
|
||||
- version: 9.4.0
|
||||
- version: 9.5.0
|
||||
- license: AGPL-3.0-or-later
|
||||
- @ungap/structured-clone
|
||||
- version: 1.3.0
|
||||
83
dist/NcRichText-H-0TWixL-B9UICg7a.chunk.mjs
vendored
83
dist/NcRichText-H-0TWixL-B9UICg7a.chunk.mjs
vendored
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
|
|
@ -6,13 +6,13 @@ SPDX-FileCopyrightText: atomiks
|
|||
|
||||
This file is generated from multiple sources. Included packages:
|
||||
- @floating-ui/dom
|
||||
- version: 1.7.4
|
||||
- version: 1.7.5
|
||||
- license: MIT
|
||||
- @floating-ui/utils
|
||||
- version: 0.2.10
|
||||
- license: MIT
|
||||
- @nextcloud/vue
|
||||
- version: 9.4.0
|
||||
- version: 9.5.0
|
||||
- license: AGPL-3.0-or-later
|
||||
- vue-select
|
||||
- version: 4.0.0-beta.6
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -6,13 +6,13 @@ SPDX-FileCopyrightText: atomiks
|
|||
|
||||
This file is generated from multiple sources. Included packages:
|
||||
- @floating-ui/dom
|
||||
- version: 1.7.4
|
||||
- version: 1.7.5
|
||||
- license: MIT
|
||||
- @floating-ui/utils
|
||||
- version: 0.2.10
|
||||
- license: MIT
|
||||
- @nextcloud/vue
|
||||
- version: 9.4.0
|
||||
- version: 9.5.0
|
||||
- license: AGPL-3.0-or-later
|
||||
- vue-select
|
||||
- version: 4.0.0-beta.6
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
import{R as z}from"./NcNoteCard-Cok_4Fld-VsgpMA0R.chunk.mjs";import{N as U}from"./NcAvatar-xQb0quUq-D2NJzT5I.chunk.mjs";import{x}from"./index-CSAGVMkU.chunk.mjs";import{_ as y}from"./createElementId-DhjFt1I9-8Sc3dMN4.chunk.mjs";import{b as k,q as c,s as R,v as S,c as b,o as l,w as o,m as i,J as f,p as s,z as B,e as C,k as L,j as _,l as M,M as j,t as q,ad as H}from"./runtime-dom.esm-bundler-Bpt0bWgp.chunk.mjs";const J={};function T(r,n){return l(),_("div",null,[i(r.$slots,"trigger")])}const W=y(J,[["render",T]]),A={class:"user-bubble__name"},D={key:0,class:"user-bubble__secondary"},E=k({__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 H("[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 S([()=>e.displayName,()=>e.user],()=>{!e.displayName&&e.user}),(a,t)=>(l(),b(f(a.$slots.default?x:W),{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),B({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(()=>[C(U,{url:m.value&&p.value?a.avatarImage:void 0,iconClass:m.value&&!p.value?a.avatarImage:void 0,user:a.user,displayName:a.displayName,size:a.size-a.margin*2,style:j(h.value),disableTooltip:"",disableMenu:"",hideStatus:!a.showUserStatus,class:"user-bubble__avatar"},null,8,["url","iconClass","user","displayName","size","style","hideStatus"]),L("span",A,q(a.displayName||a.user),1),a.$slots.name?(l(),_("span",D,[i(a.$slots,"name",{},void 0,!0)])):M("",!0)]),_:2},1040,["class","style","to","href"]))]),default:o(()=>[i(a.$slots,"default",{},void 0,!0)]),_:3},40,["shown"]))}}),K=y(E,[["__scopeId","data-v-9189d023"]]);export{K as N};
|
||||
//# sourceMappingURL=NcUserBubble-DlY4DCgO-DYXOxCVl.chunk.mjs.map
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
|
||||
|
||||
This file is generated from multiple sources. Included packages:
|
||||
- @nextcloud/vue
|
||||
- version: 9.4.0
|
||||
- license: AGPL-3.0-or-later
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
|
||||
|
||||
This file is generated from multiple sources. Included packages:
|
||||
- @nextcloud/vue
|
||||
- version: 9.4.0
|
||||
- license: AGPL-3.0-or-later
|
||||
2
dist/NcUserBubble-vOAXLHB5-DMZkWVzh.chunk.mjs
vendored
Normal file
2
dist/NcUserBubble-vOAXLHB5-DMZkWVzh.chunk.mjs
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
import{R as z}from"./NcNoteCard-Cok_4Fld-B1R0Avgo.chunk.mjs";import{N as U}from"./NcAvatar-C9d7Wrc8-Cxl0LqHu.chunk.mjs";import{y as k}from"./index-CSZNZNKh.chunk.mjs";import{_ as y}from"./createElementId-DhjFt1I9-DX6OV2ut.chunk.mjs";import{b as x,q as c,s as R,v as S,c as b,o as l,w as o,m as i,J as f,p as s,z as B,e as C,k as L,j as _,l as M,M as j,t as q,ad as H}from"./runtime-dom.esm-bundler-Bpt0bWgp.chunk.mjs";const J={};function T(r,n){return l(),_("div",null,[i(r.$slots,"trigger")])}const W=y(J,[["render",T]]),A={class:"user-bubble__name"},D={key:0,class:"user-bubble__secondary"},E=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 H("[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 S([()=>e.displayName,()=>e.user],()=>{!e.displayName&&e.user}),(a,t)=>(l(),b(f(a.$slots.default?k:W),{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),B({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(()=>[C(U,{url:m.value&&p.value?a.avatarImage:void 0,iconClass:m.value&&!p.value?a.avatarImage:void 0,user:a.user,displayName:a.displayName,size:a.size-a.margin*2,style:j(h.value),disableTooltip:"",disableMenu:"",hideStatus:!a.showUserStatus,class:"user-bubble__avatar"},null,8,["url","iconClass","user","displayName","size","style","hideStatus"]),L("span",A,q(a.displayName||a.user),1),a.$slots.name?(l(),_("span",D,[i(a.$slots,"name",{},void 0,!0)])):M("",!0)]),_:2},1040,["class","style","to","href"]))]),default:o(()=>[i(a.$slots,"default",{},void 0,!0)]),_:3},40,["shown"]))}}),K=y(E,[["__scopeId","data-v-9189d023"]]);export{K as N};
|
||||
//# sourceMappingURL=NcUserBubble-vOAXLHB5-DMZkWVzh.chunk.mjs.map
|
||||
7
dist/NcUserBubble-vOAXLHB5-DMZkWVzh.chunk.mjs.license
vendored
Normal file
7
dist/NcUserBubble-vOAXLHB5-DMZkWVzh.chunk.mjs.license
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
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
|
||||
File diff suppressed because one or more lines are too long
7
dist/NcUserBubble-vOAXLHB5-DMZkWVzh.chunk.mjs.map.license
vendored
Normal file
7
dist/NcUserBubble-vOAXLHB5-DMZkWVzh.chunk.mjs.map.license
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
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
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
import{c as p}from"./index-B4kkQRyp.chunk.mjs";import{g as T}from"./index-xFugdZPW.chunk.mjs";import{r as l,h as q,i as h,_ as g,a as s,b as w}from"./createElementId-DhjFt1I9-8Sc3dMN4.chunk.mjs";import{l as f}from"./logger-D3RVzcfQ-C_GlaUB2.chunk.mjs";import{b as x,q as m,s as b,v as y,j as D,l as B,o as I,p as o,n as S}from"./runtime-dom.esm-bundler-Bpt0bWgp.chunk.mjs";const P=`<!--
|
||||
import{c as p}from"./index-BOWtcdl5.chunk.mjs";import{g as T}from"./index-xFugdZPW.chunk.mjs";import{r as l,h as q,i as h,_ as g,a as s,b as w}from"./createElementId-DhjFt1I9-DX6OV2ut.chunk.mjs";import{l as f}from"./logger-D3RVzcfQ-i8woBVes.chunk.mjs";import{b as x,q as m,s as b,v as y,j as D,l as B,o as I,p as o,n as S}from"./runtime-dom.esm-bundler-Bpt0bWgp.chunk.mjs";const P=`<!--
|
||||
- SPDX-FileCopyrightText: 2020 Google Inc.
|
||||
- SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
|
|
@ -44,4 +44,4 @@ import{c as p}from"./index-B4kkQRyp.chunk.mjs";import{g as T}from"./index-xFugdZ
|
|||
d="m424-296 282-282-56-56-226 226-114-114-56 56 170 170Zm56 216q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Z"/>
|
||||
</svg>
|
||||
`;l(q),l(h);function L(a){switch(a){case"away":return s("away");case"busy":return s("busy");case"dnd":return s("do not disturb");case"online":return s("online");case"invisible":return s("invisible");case"offline":return s("offline");default:return a}}const _=["aria-hidden","aria-label","innerHTML"],C=x({__name:"NcUserStatusIcon",props:m({user:{default:void 0},ariaHidden:{type:[Boolean,String],default:!1}},{status:{},statusModifiers:{}}),emits:["update:status"],setup(a){const e=b(a,"status"),i=a,v=o(()=>e.value&&["invisible","offline"].includes(e.value)),n=o(()=>e.value&&(!i.ariaHidden||i.ariaHidden==="false")?s("User status: {status}",{status:L(e.value)}):void 0);y(()=>i.user,async r=>{if(!e.value&&r&&T()?.user_status?.enabled)try{const{data:t}=await p.get(w("/apps/user_status/api/v1/statuses/{user}",{user:r}));e.value=t.ocs?.data?.status}catch(t){f.debug("Error while fetching user status",{error:t})}},{immediate:!0});const c={online:M,away:P,busy:X,dnd:Z,invisible:u,offline:u},d=o(()=>e.value&&c[e.value]);return(r,t)=>e.value?(I(),D("span",{key:0,class:S(["user-status-icon",{"user-status-icon--invisible":v.value}]),"aria-hidden":!n.value||void 0,"aria-label":n.value,role:"img",innerHTML:d.value},null,10,_)):B("",!0)}}),U=g(C,[["__scopeId","data-v-881a79fb"]]);export{U as N,L as g};
|
||||
//# sourceMappingURL=NcUserStatusIcon-lVNMmh5G-Ac2VkpbG.chunk.mjs.map
|
||||
//# sourceMappingURL=NcUserStatusIcon-XiwrgeCm-BV1xG3Hk.chunk.mjs.map
|
||||
7
dist/NcUserStatusIcon-XiwrgeCm-BV1xG3Hk.chunk.mjs.license
vendored
Normal file
7
dist/NcUserStatusIcon-XiwrgeCm-BV1xG3Hk.chunk.mjs.license
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
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
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue