chore(assets): Recompile assets

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
This commit is contained in:
nextcloud-command 2026-03-14 13:31:18 +00:00
parent db4a46da09
commit e1171b0e61
226 changed files with 196 additions and 196 deletions

View file

@ -1,2 +1,2 @@
import{f as y,q as g,u as o,o as n,g as p,I as h,w as v,j as _,t as V,y as k,s as x,c as d,F as M,C as q,E as w,G as K,h as f,r as U}from"./runtime-dom.esm-bundler-DIF-dmiV.chunk.mjs";import{c as j}from"./index-D0gj0nne.chunk.mjs";import{a as C}from"./index-C1xmmKTZ-D5oZDAAj.chunk.mjs";import{t as s}from"./translation-DoG5ZELJ-Bni_xMHF.chunk.mjs";import{g as E}from"./createElementId-DhjFt1I9-DmxdOxki.chunk.mjs";import{N}from"./autolink-U5pBzLgI-DPNCkNxB.chunk.mjs";import{N as S}from"./NcSelect-DLheQ2yp-C6fHgfXd.chunk.mjs";import{N as A}from"./NcCheckboxRadioSwitch-BMsPx74L-CnVoVoz9.chunk.mjs";import{N as L}from"./NcPasswordField-uaMO2pdt-3LVTs_hE.chunk.mjs";import{_ as z}from"./TrashCanOutline-B5JNH7nQ.chunk.mjs";import{C as c,a as b}from"./types-Bi5ljtgu.chunk.mjs";import{l as B}from"./logger-resIultJ.chunk.mjs";const P=y({__name:"ConfigurationEntry",props:k({configKey:{},configOption:{}},{modelValue:{type:[String,Boolean],default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const a=g(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(b).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(()=>[_(V(e.configOption.value),1)]),_:1},8,["modelValue","title"]))}}),R=y({__name:"AuthMechanismRsa",props:k({authMechanism:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const a=g(e,"modelValue"),t=U();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(M,null,q(e.authMechanism.configuration,(r,u)=>w((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"])),[[K,!(r.flags&o(b).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(()=>[_(V(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-Da474qhT.chunk.mjs.map
import{f as y,q as g,u as o,o as n,g as p,I as h,w as v,j as _,t as V,y as k,s as x,c as d,F as M,C as q,E as w,G as K,h as f,r as U}from"./runtime-dom.esm-bundler-DPEdZePn.chunk.mjs";import{c as j}from"./index-DDifQz-9.chunk.mjs";import{a as C}from"./index-C1xmmKTZ-C-ycQv8z.chunk.mjs";import{t as s}from"./translation-DoG5ZELJ-Bni_xMHF.chunk.mjs";import{g as E}from"./createElementId-DhjFt1I9-DjpfD2g2.chunk.mjs";import{N}from"./autolink-U5pBzLgI-Dlb0WBLf.chunk.mjs";import{N as S}from"./NcSelect-DLheQ2yp-CxPsvEHt.chunk.mjs";import{N as A}from"./NcCheckboxRadioSwitch-BMsPx74L-CSGOC1q-.chunk.mjs";import{N as L}from"./NcPasswordField-uaMO2pdt-Bs6zeIh4.chunk.mjs";import{_ as z}from"./TrashCanOutline-AizPsJtM.chunk.mjs";import{C as c,a as b}from"./types-iVCsT3Gp.chunk.mjs";import{l as B}from"./logger-resIultJ.chunk.mjs";const P=y({__name:"ConfigurationEntry",props:k({configKey:{},configOption:{}},{modelValue:{type:[String,Boolean],default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const a=g(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(b).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(()=>[_(V(e.configOption.value),1)]),_:1},8,["modelValue","title"]))}}),R=y({__name:"AuthMechanismRsa",props:k({authMechanism:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const a=g(e,"modelValue"),t=U();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(M,null,q(e.authMechanism.configuration,(r,u)=>w((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"])),[[K,!(r.flags&o(b).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(()=>[_(V(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-B2_PpcTU.chunk.mjs.map

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,2 @@
import{r as g,B as h,_ as p,a as C}from"./createElementId-DhjFt1I9-DmxdOxki.chunk.mjs";import{f as _,o as i,c as e,b as o,j as y,t as s,u as d,h as H,e as r,n as b,m}from"./runtime-dom.esm-bundler-DIF-dmiV.chunk.mjs";import{a as k}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,f,u){return i(),e("span",m(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))}),[(i(),e("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?(i(),e("title",z,s(t.title),1)):r("",!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)=>(i(),e("div",x,[o("h2",$,[y(s(t.name)+" ",1),t.docUrl?(i(),e("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)):r("",!0)]),t.description?(i(),e("p",N,s(t.description),1)):r("",!0),b(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,f,u){return i(),e("span",m(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))}),[(i(),e("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?(i(),e("title",E,s(t.title),1)):r("",!0)])],8,Z))],16,L)}const G=k(U,[["render",q]]);export{G as I,T as N};
//# sourceMappingURL=ContentCopy-FlPcmQnb.chunk.mjs.map
import{r as g,B as h,_ as p,a as C}from"./createElementId-DhjFt1I9-DjpfD2g2.chunk.mjs";import{f as _,o as i,c as e,b as o,j as y,t as s,u as d,h as H,e as r,n as b,m}from"./runtime-dom.esm-bundler-DPEdZePn.chunk.mjs";import{a as k}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,f,u){return i(),e("span",m(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))}),[(i(),e("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?(i(),e("title",z,s(t.title),1)):r("",!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)=>(i(),e("div",x,[o("h2",$,[y(s(t.name)+" ",1),t.docUrl?(i(),e("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)):r("",!0)]),t.description?(i(),e("p",N,s(t.description),1)):r("",!0),b(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,f,u){return i(),e("span",m(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))}),[(i(),e("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?(i(),e("title",E,s(t.title),1)):r("",!0)])],8,Z))],16,L)}const G=k(U,[["render",q]]);export{G as I,T as N};
//# sourceMappingURL=ContentCopy-BYivLekO.chunk.mjs.map

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,2 @@
import{t}from"./translation-DoG5ZELJ-Bni_xMHF.chunk.mjs";import{N as u}from"./index-BIuNq36J.chunk.mjs";import{N as d}from"./mdi-LZKofHvu.chunk.mjs";import{N as p}from"./NcPasswordField-uaMO2pdt-3LVTs_hE.chunk.mjs";import{_ as c}from"./TrashCanOutline-B5JNH7nQ.chunk.mjs";import{f as g,o as h,g as f,w as x,h as s,u as e,r as n}from"./runtime-dom.esm-bundler-DIF-dmiV.chunk.mjs";import"./index-Bndk0DrU.chunk.mjs";import"./NcModal-DHryP_87-DTKTujA6.chunk.mjs";import"./autolink-U5pBzLgI-DPNCkNxB.chunk.mjs";import"./createElementId-DhjFt1I9-DmxdOxki.chunk.mjs";import"./Web-D7kU0XCu.chunk.mjs";import"./index-Ma7sfat2.chunk.mjs";import"./index-D0gj0nne.chunk.mjs";import"./index-sH3U_332.chunk.mjs";import"./NcInputField-o5OFv3z6-vgXJNqqQ.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-s7bWg_Eh.chunk.mjs.map
import{t}from"./translation-DoG5ZELJ-Bni_xMHF.chunk.mjs";import{N as u}from"./index-DkO4buCE.chunk.mjs";import{N as d}from"./mdi-DE0_u6IR.chunk.mjs";import{N as p}from"./NcPasswordField-uaMO2pdt-Bs6zeIh4.chunk.mjs";import{_ as c}from"./TrashCanOutline-AizPsJtM.chunk.mjs";import{f as g,o as h,g as f,w as x,h as s,u as e,r as n}from"./runtime-dom.esm-bundler-DPEdZePn.chunk.mjs";import"./index-Bndk0DrU.chunk.mjs";import"./NcModal-DHryP_87-8I6wwu_O.chunk.mjs";import"./autolink-U5pBzLgI-Dlb0WBLf.chunk.mjs";import"./createElementId-DhjFt1I9-DjpfD2g2.chunk.mjs";import"./Web-BsKYA5mE.chunk.mjs";import"./index-Ma7sfat2.chunk.mjs";import"./index-DDifQz-9.chunk.mjs";import"./index-sH3U_332.chunk.mjs";import"./NcInputField-o5OFv3z6-CZ1-ren1.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-BIh-Wi-6.chunk.mjs.map

View file

@ -1 +1 @@
{"version":3,"file":"CredentialsDialog-s7bWg_Eh.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":"6yBAiBA,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-BIh-Wi-6.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":"6yBAiBA,MAAMA,EAAQC,EAAI,EAAE,EACdC,EAAWD,EAAI,EAAE,EAEjBE,EAA0D,CAAC,CAChE,MAAOC,EAAE,iBAAkB,SAAS,EACpC,KAAM,SACN,QAAS,SAAA,CACT,oBAIAC,EAqCWC,EAAAC,CAAA,EAAA,CApCT,QAASJ,EACV,MAAM,wBACN,oBAAA,GACA,gCAAA,GACA,OAAA,GACC,KAAMG,EAAAF,CAAA,EAAC,iBAAA,qBAAA,EACR,cAAA,GACC,SAAMI,EAAA,CAAA,IAAAA,EAAA,CAAA,EAAAC,GAAEC,EAAAA,MAAK,QAAA,CAAA,MAAYV,EAAA,eAAOE,EAAA,MAAQ,GACxC,+BAAaQ,EAAAA,MAAK,OAAA,EAAA,aAEnB,IAGe,CAHfC,EAGeL,EAAAM,CAAA,EAAA,CAFd,MAAM,gCACL,KAAMN,EAAAF,CAAA,EAAC,iBAAA,4EAAA,EACR,KAAK,MAAA,mBAGNO,EASYL,EAAAO,CAAA,EAAA,YARFb,EAAA,2CAAAA,EAAK,MAAAS,GACd,UAAA,GACA,MAAM,+BACN,6CAAA,GACC,MAAOH,EAAAF,CAAA,EAAC,iBAAA,OAAA,EACR,YAAaE,EAAAF,CAAA,EAAC,iBAAA,yBAAA,EACf,UAAU,IACV,KAAK,QACL,SAAA,EAAA,+CAGDO,EAOYL,EAAAQ,CAAA,EAAA,YANFZ,EAAA,2CAAAA,EAAQ,MAAAO,GACjB,MAAM,kCACN,gDAAA,GACC,MAAOH,EAAAF,CAAA,EAAC,iBAAA,UAAA,EACR,YAAaE,EAAAF,CAAA,EAAC,iBAAA,4BAAA,EACf,KAAK,WACL,SAAA,EAAA"}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,2 @@
import{A as d}from"./PencilOutline-CaufIfvV.chunk.mjs";import{d as _,B as b,C as S}from"./NcModal-DHryP_87-DTKTujA6.chunk.mjs";import{_ as f}from"./createElementId-DhjFt1I9-DmxdOxki.chunk.mjs";import{o as a,c as o,b as n,n as x,K as g,p as k,t as l,e as y,i as I,h,w as v,f as w,u as T,z as m,_ as p}from"./runtime-dom.esm-bundler-DIF-dmiV.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"],N={key:0,class:"action-link__longtext-wrapper"},$={class:"action-link__name"},j=["textContent"],A=["textContent"],B={key:2,class:"action-link__text"};function R(e,t,i,u,c,r){return a(),o("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:k(["action-link__icon",[e.isIconUrl?"action-link__icon--url":e.icon]]),style:g({backgroundImage:e.isIconUrl?`url(${e.icon})`:null})},null,6)],!0),e.name?(a(),o("span",N,[n("strong",$,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,j)])):e.isLongText?(a(),o("span",{key:1,class:"action-link__longtext",textContent:l(e.text)},null,8,A)):(a(),o("span",B,l(e.text),1)),y("",!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 a(),o("li",{class:"action",role:r.isInSemanticMenu&&"presentation"},[h(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:v(()=>[x(e.$slots,"icon",{},()=>[n("span",{"aria-hidden":"true",class:k(["action-router__icon",[e.isIconUrl?"action-router__icon--url":e.icon]]),style:g({backgroundImage:e.isIconUrl?`url(${e.icon})`:null})},null,6)],!0),e.name?(a(),o("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?(a(),o("span",{key:1,class:"action-router__longtext",textContent:l(e.text)},null,8,K)):(a(),o("span",E,l(e.text),1)),y("",!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)=>(a(),o("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-DCYCyTiK.chunk.mjs.map
import{A as d}from"./PencilOutline-DxdLB7nO.chunk.mjs";import{d as _,B as b,C as S}from"./NcModal-DHryP_87-8I6wwu_O.chunk.mjs";import{_ as f}from"./createElementId-DhjFt1I9-DjpfD2g2.chunk.mjs";import{o as a,c as o,b as n,n as x,K as g,p as k,t as l,e as y,i as I,h,w as v,f as w,u as T,z as m,_ as p}from"./runtime-dom.esm-bundler-DPEdZePn.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"],N={key:0,class:"action-link__longtext-wrapper"},$={class:"action-link__name"},j=["textContent"],A=["textContent"],B={key:2,class:"action-link__text"};function R(e,t,i,u,c,r){return a(),o("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:k(["action-link__icon",[e.isIconUrl?"action-link__icon--url":e.icon]]),style:g({backgroundImage:e.isIconUrl?`url(${e.icon})`:null})},null,6)],!0),e.name?(a(),o("span",N,[n("strong",$,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,j)])):e.isLongText?(a(),o("span",{key:1,class:"action-link__longtext",textContent:l(e.text)},null,8,A)):(a(),o("span",B,l(e.text),1)),y("",!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 a(),o("li",{class:"action",role:r.isInSemanticMenu&&"presentation"},[h(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:v(()=>[x(e.$slots,"icon",{},()=>[n("span",{"aria-hidden":"true",class:k(["action-router__icon",[e.isIconUrl?"action-router__icon--url":e.icon]]),style:g({backgroundImage:e.isIconUrl?`url(${e.icon})`:null})},null,6)],!0),e.name?(a(),o("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?(a(),o("span",{key:1,class:"action-router__longtext",textContent:l(e.text)},null,8,K)):(a(),o("span",E,l(e.text),1)),y("",!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)=>(a(),o("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-BOfAP_xs.chunk.mjs.map

File diff suppressed because one or more lines are too long

View file

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

View file

@ -8,5 +8,5 @@ This file is generated from multiple sources. Included packages:
- version: 9.5.0
- license: AGPL-3.0-or-later
- vue
- version: 3.5.29
- version: 3.5.30
- license: MIT

View file

@ -1 +1 @@
{"version":3,"file":"NcEmptyContent-B8-90BSI-1y2HcWGh.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":"+7FAIMA,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]}
{"version":3,"file":"NcEmptyContent-B8-90BSI-Bcp3CqBx.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":"+7FAIMA,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

@ -8,5 +8,5 @@ This file is generated from multiple sources. Included packages:
- version: 9.5.0
- license: AGPL-3.0-or-later
- vue
- version: 3.5.29
- version: 3.5.30
- license: MIT

View file

@ -1,2 +1,2 @@
import{f as j,q,D as F,v as L,o as i,c as n,b as p,m as z,t as h,e as u,E as A,G as D,n as v,g as t,w as E,u as s,j as G,p as M,y,z as o}from"./runtime-dom.esm-bundler-DIF-dmiV.chunk.mjs";import{N as S,b as g,c as m,i as x}from"./autolink-U5pBzLgI-DPNCkNxB.chunk.mjs";import{_ as H,N as d,c as J}from"./createElementId-DhjFt1I9-DmxdOxki.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:y({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:y(["trailingButtonClick"],["update:modelValue"]),setup(c,{expose:B,emit:k}){const r=q(c,"modelValue"),l=c,$=k;B({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 x?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(x)},e.$props.class]])},[p("div",K,[p("input",z(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},h(e.label),9,Q)):u("",!0),A(p("div",R,[v(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(()=>[v(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(" "+h(e.helperText),1)],8,W)):u("",!0)],2))}}),le=H(X,[["__scopeId","data-v-bfba6aa6"]]);export{le as N};
//# sourceMappingURL=NcInputField-o5OFv3z6-vgXJNqqQ.chunk.mjs.map
import{f as j,q,D as F,v as L,o as i,c as n,b as p,m as z,t as h,e as u,E as A,G as D,n as v,g as t,w as E,u as s,j as G,p as M,y,z as o}from"./runtime-dom.esm-bundler-DPEdZePn.chunk.mjs";import{N as S,b as g,c as m,i as x}from"./autolink-U5pBzLgI-Dlb0WBLf.chunk.mjs";import{_ as H,N as d,c as J}from"./createElementId-DhjFt1I9-DjpfD2g2.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:y({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:y(["trailingButtonClick"],["update:modelValue"]),setup(c,{expose:B,emit:k}){const r=q(c,"modelValue"),l=c,$=k;B({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 x?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(x)},e.$props.class]])},[p("div",K,[p("input",z(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},h(e.label),9,Q)):u("",!0),A(p("div",R,[v(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(()=>[v(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(" "+h(e.helperText),1)],8,W)):u("",!0)],2))}}),le=H(X,[["__scopeId","data-v-bfba6aa6"]]);export{le as N};
//# sourceMappingURL=NcInputField-o5OFv3z6-CZ1-ren1.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

@ -1,2 +1,2 @@
import{l as V,m as C,a as S}from"./autolink-U5pBzLgI-DPNCkNxB.chunk.mjs";import{c as N}from"./index-D0gj0nne.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-DmxdOxki.chunk.mjs";import{d as H}from"./index-Bndk0DrU.chunk.mjs";import{N as I}from"./NcInputField-o5OFv3z6-vgXJNqqQ.chunk.mjs";import{f as O,q as c,s as U,v as j,o as A,g as D,x as E,w as v,n as G,h as J,u as o,m as K,y as m,r as f,z as h}from"./runtime-dom.esm-bundler-DIF-dmiV.chunk.mjs";L(M);const Q=O({__name:"NcPasswordField",props:m({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:m(["valid","invalid"],["update:modelValue","update:visible"]),setup(l,{expose:y,emit:w}){const s=c(l,"modelValue"),a=c(l,"visible"),t=l,d=w;U(s,H(b,500)),y({focus:_,select:P});const{password_policy:g}=F(),u=j("inputField"),r=f(""),i=f(),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)=>(A(),D(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":v(()=>[J(z,{path:a.value?o(C):o(S)},null,8,["path"])]),_:2},[e.$slots.icon?{name:"icon",fn:v(()=>[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-3LVTs_hE.chunk.mjs.map
import{l as V,m as C,a as S}from"./autolink-U5pBzLgI-Dlb0WBLf.chunk.mjs";import{c as N}from"./index-DDifQz-9.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-DjpfD2g2.chunk.mjs";import{d as H}from"./index-Bndk0DrU.chunk.mjs";import{N as I}from"./NcInputField-o5OFv3z6-CZ1-ren1.chunk.mjs";import{f as O,q as c,s as U,v as j,o as A,g as D,x as E,w as v,n as G,h as J,u as o,m as K,y as m,r as f,z as h}from"./runtime-dom.esm-bundler-DPEdZePn.chunk.mjs";L(M);const Q=O({__name:"NcPasswordField",props:m({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:m(["valid","invalid"],["update:modelValue","update:visible"]),setup(l,{expose:y,emit:w}){const s=c(l,"modelValue"),a=c(l,"visible"),t=l,d=w;U(s,H(b,500)),y({focus:_,select:P});const{password_policy:g}=F(),u=j("inputField"),r=f(""),i=f(),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)=>(A(),D(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":v(()=>[J(z,{path:a.value?o(C):o(S)},null,8,["path"])]),_:2},[e.$slots.icon?{name:"icon",fn:v(()=>[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-Bs6zeIh4.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,2 +1,2 @@
import{R as z}from"./autolink-U5pBzLgI-DPNCkNxB.chunk.mjs";import{N as U}from"./NcAvatar-C9d7Wrc8-DQEQ3PqU.chunk.mjs";import{A as x}from"./NcModal-DHryP_87-DTKTujA6.chunk.mjs";import{_ as y}from"./createElementId-DhjFt1I9-DmxdOxki.chunk.mjs";import{f as R,q as S,s as k,o as l,g as c,w as i,n as o,I as b,m as B,h as C,K as L,b as M,t as q,c as g,e as A,y as f,z as s,ai as H}from"./runtime-dom.esm-bundler-DIF-dmiV.chunk.mjs";const K={};function T(r,n){return l(),g("div",null,[o(r.$slots,"trigger")])}const W=y(K,[["render",T]]),j={class:"user-bubble__name"},D={key:0,class:"user-bubble__secondary"},E=R({__name:"NcUserBubble",props:f({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:f(["click"],["update:open"]),setup(r,{emit:n}){const d=S(r,"open"),e=r,_=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 k([()=>e.displayName,()=>e.user],()=>{!e.displayName&&e.user}),(a,t)=>(l(),c(b(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:i(({attrs:u})=>[(l(),c(b(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]=$=>_("click",$))}),{default:i(()=>[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:L(h.value),disableTooltip:"",disableMenu:"",hideStatus:!a.showUserStatus,class:"user-bubble__avatar"},null,8,["url","iconClass","user","displayName","size","style","hideStatus"]),M("span",j,q(a.displayName||a.user),1),a.$slots.name?(l(),g("span",D,[o(a.$slots,"name",{},void 0,!0)])):A("",!0)]),_:2},1040,["class","style","to","href"]))]),default:i(()=>[o(a.$slots,"default",{},void 0,!0)]),_:3},40,["shown"]))}}),J=y(E,[["__scopeId","data-v-9189d023"]]);export{J as N};
//# sourceMappingURL=NcUserBubble-vOAXLHB5-BLt6cX5g.chunk.mjs.map
import{R as z}from"./autolink-U5pBzLgI-Dlb0WBLf.chunk.mjs";import{N as U}from"./NcAvatar-C9d7Wrc8-DEEg2vVr.chunk.mjs";import{A as x}from"./NcModal-DHryP_87-8I6wwu_O.chunk.mjs";import{_ as y}from"./createElementId-DhjFt1I9-DjpfD2g2.chunk.mjs";import{f as R,q as S,s as k,o as l,g as c,w as i,n as o,I as b,m as B,h as C,K as L,b as M,t as q,c as g,e as A,y as f,z as s,ai as H}from"./runtime-dom.esm-bundler-DPEdZePn.chunk.mjs";const K={};function T(r,n){return l(),g("div",null,[o(r.$slots,"trigger")])}const W=y(K,[["render",T]]),j={class:"user-bubble__name"},D={key:0,class:"user-bubble__secondary"},E=R({__name:"NcUserBubble",props:f({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:f(["click"],["update:open"]),setup(r,{emit:n}){const d=S(r,"open"),e=r,_=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 k([()=>e.displayName,()=>e.user],()=>{!e.displayName&&e.user}),(a,t)=>(l(),c(b(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:i(({attrs:u})=>[(l(),c(b(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]=$=>_("click",$))}),{default:i(()=>[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:L(h.value),disableTooltip:"",disableMenu:"",hideStatus:!a.showUserStatus,class:"user-bubble__avatar"},null,8,["url","iconClass","user","displayName","size","style","hideStatus"]),M("span",j,q(a.displayName||a.user),1),a.$slots.name?(l(),g("span",D,[o(a.$slots,"name",{},void 0,!0)])):A("",!0)]),_:2},1040,["class","style","to","href"]))]),default:i(()=>[o(a.$slots,"default",{},void 0,!0)]),_:3},40,["shown"]))}}),J=y(E,[["__scopeId","data-v-9189d023"]]);export{J as N};
//# sourceMappingURL=NcUserBubble-vOAXLHB5-DUGJPzwl.chunk.mjs.map

View file

@ -1,4 +1,4 @@
import{c as p}from"./index-D0gj0nne.chunk.mjs";import{g as T}from"./index-Ma7sfat2.chunk.mjs";import{r as l,e as q,f as g,_ as h,a as s,b as w}from"./createElementId-DhjFt1I9-DmxdOxki.chunk.mjs";import{l as f}from"./autolink-U5pBzLgI-DPNCkNxB.chunk.mjs";import{f as x,q as m,s as y,o as b,c as D,p as B,e as I,y as S,z as o}from"./runtime-dom.esm-bundler-DIF-dmiV.chunk.mjs";const P=`<!--
import{c as p}from"./index-DDifQz-9.chunk.mjs";import{g as T}from"./index-Ma7sfat2.chunk.mjs";import{r as l,e as q,f as g,_ as h,a as s,b as w}from"./createElementId-DhjFt1I9-DjpfD2g2.chunk.mjs";import{l as f}from"./autolink-U5pBzLgI-Dlb0WBLf.chunk.mjs";import{f as x,q as m,s as y,o as b,c as D,p as B,e as I,y as S,z as o}from"./runtime-dom.esm-bundler-DPEdZePn.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-D0gj0nne.chunk.mjs";import{g as T}from"./index-Ma7sfa
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(g);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:S({user:{default:void 0},ariaHidden:{type:[Boolean,String],default:!1}},{status:{},statusModifiers:{}}),emits:["update:status"],setup(a){const e=m(a,"status"),i=a,c=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 v={online:M,away:P,busy:X,dnd:Z,invisible:u,offline:u},d=o(()=>e.value&&v[e.value]);return(r,t)=>e.value?(b(),D("span",{key:0,class:B(["user-status-icon",{"user-status-icon--invisible":c.value}]),"aria-hidden":!n.value||void 0,"aria-label":n.value,role:"img",innerHTML:d.value},null,10,_)):I("",!0)}}),U=h(C,[["__scopeId","data-v-881a79fb"]]);export{U as N,L as g};
//# sourceMappingURL=NcUserStatusIcon-XiwrgeCm-CnAxKXWQ.chunk.mjs.map
//# sourceMappingURL=NcUserStatusIcon-XiwrgeCm-BH_uh8gw.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

@ -1,2 +1,2 @@
import{j as y}from"./autolink-U5pBzLgI-DPNCkNxB.chunk.mjs";import{N as k}from"./PencilOutline-CaufIfvV.chunk.mjs";import{a as b}from"./NcModal-DHryP_87-DTKTujA6.chunk.mjs";import{r as P,y as z,N as g,a as H,_ as S}from"./createElementId-DhjFt1I9-DmxdOxki.chunk.mjs";import{f as V,l as $,o as t,c as s,n as p,g as d,e as o,b as _,j as C,t as f,w as u,h as x,u as N,p as w,z as M,m as j}from"./runtime-dom.esm-bundler-DIF-dmiV.chunk.mjs";import{a as B}from"./index-Ma7sfat2.chunk.mjs";P(z);const I={key:0,class:"nc-chip__icon"},L={class:"nc-chip__text"},A=V({__name:"NcChip",props:{ariaLabelClose:{default:H("Close")},actionsContainer:{default:"body"},text:{default:""},iconPath:{default:void 0},iconSvg:{default:void 0},noClose:{type:Boolean},variant:{default:"secondary"}},emits:["close"],setup(n,{emit:e}){const i=n,h=e,r=$(),l=M(()=>!i.noClose),c=()=>!!r.actions,m=()=>!!(i.iconPath||i.iconSvg||r.icon);return(a,v)=>(t(),s("div",{class:w(["nc-chip",{[`nc-chip--${a.variant}`]:!0,"nc-chip--no-actions":a.noClose&&!c(),"nc-chip--no-icon":!m()}])},[m()?(t(),s("span",I,[p(a.$slots,"icon",{},()=>[a.iconPath||a.iconSvg?(t(),d(g,{key:0,inline:"",path:a.iconPath,svg:a.iconPath?void 0:a.iconSvg,size:18},null,8,["path","svg"])):o("",!0)],!0)])):o("",!0),_("span",L,[p(a.$slots,"default",{},()=>[C(f(a.text),1)],!0)]),l.value||c()?(t(),d(b,{key:1,class:"nc-chip__actions",container:a.actionsContainer,forceMenu:!l.value,variant:"tertiary-no-background"},{default:u(()=>[l.value?(t(),d(k,{key:0,closeAfterClick:"",onClick:v[0]||(v[0]=J=>h("close"))},{icon:u(()=>[x(g,{path:N(y),size:20},null,8,["path"])]),default:u(()=>[C(" "+f(a.ariaLabelClose),1)]),_:1})):o("",!0),p(a.$slots,"actions",{},void 0,!0)]),_:3},8,["container","forceMenu"])):o("",!0)],2))}}),U=S(A,[["__scopeId","data-v-8f5d3c40"]]),Z={name:"PlusIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},q=["aria-hidden","aria-label"],D=["fill","width","height"],E={d:"M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z"},F={key:0};function G(n,e,i,h,r,l){return t(),s("span",j(n.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon plus-icon",role:"img",onClick:e[0]||(e[0]=c=>n.$emit("click",c))}),[(t(),s("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[_("path",E,[i.title?(t(),s("title",F,f(i.title),1)):o("",!0)])],8,D))],16,q)}const X=B(Z,[["render",G]]);export{U as N,X as P};
//# sourceMappingURL=Plus-fUY_fiSE.chunk.mjs.map
import{j as y}from"./autolink-U5pBzLgI-Dlb0WBLf.chunk.mjs";import{N as k}from"./PencilOutline-DxdLB7nO.chunk.mjs";import{a as b}from"./NcModal-DHryP_87-8I6wwu_O.chunk.mjs";import{r as P,y as z,N as g,a as H,_ as S}from"./createElementId-DhjFt1I9-DjpfD2g2.chunk.mjs";import{f as V,l as $,o as t,c as s,n as p,g as d,e as o,b as _,j as C,t as f,w as u,h as x,u as N,p as w,z as M,m as j}from"./runtime-dom.esm-bundler-DPEdZePn.chunk.mjs";import{a as B}from"./index-Ma7sfat2.chunk.mjs";P(z);const I={key:0,class:"nc-chip__icon"},L={class:"nc-chip__text"},A=V({__name:"NcChip",props:{ariaLabelClose:{default:H("Close")},actionsContainer:{default:"body"},text:{default:""},iconPath:{default:void 0},iconSvg:{default:void 0},noClose:{type:Boolean},variant:{default:"secondary"}},emits:["close"],setup(n,{emit:e}){const i=n,h=e,r=$(),l=M(()=>!i.noClose),c=()=>!!r.actions,m=()=>!!(i.iconPath||i.iconSvg||r.icon);return(a,v)=>(t(),s("div",{class:w(["nc-chip",{[`nc-chip--${a.variant}`]:!0,"nc-chip--no-actions":a.noClose&&!c(),"nc-chip--no-icon":!m()}])},[m()?(t(),s("span",I,[p(a.$slots,"icon",{},()=>[a.iconPath||a.iconSvg?(t(),d(g,{key:0,inline:"",path:a.iconPath,svg:a.iconPath?void 0:a.iconSvg,size:18},null,8,["path","svg"])):o("",!0)],!0)])):o("",!0),_("span",L,[p(a.$slots,"default",{},()=>[C(f(a.text),1)],!0)]),l.value||c()?(t(),d(b,{key:1,class:"nc-chip__actions",container:a.actionsContainer,forceMenu:!l.value,variant:"tertiary-no-background"},{default:u(()=>[l.value?(t(),d(k,{key:0,closeAfterClick:"",onClick:v[0]||(v[0]=J=>h("close"))},{icon:u(()=>[x(g,{path:N(y),size:20},null,8,["path"])]),default:u(()=>[C(" "+f(a.ariaLabelClose),1)]),_:1})):o("",!0),p(a.$slots,"actions",{},void 0,!0)]),_:3},8,["container","forceMenu"])):o("",!0)],2))}}),U=S(A,[["__scopeId","data-v-8f5d3c40"]]),Z={name:"PlusIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},q=["aria-hidden","aria-label"],D=["fill","width","height"],E={d:"M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z"},F={key:0};function G(n,e,i,h,r,l){return t(),s("span",j(n.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon plus-icon",role:"img",onClick:e[0]||(e[0]=c=>n.$emit("click",c))}),[(t(),s("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[_("path",E,[i.title?(t(),s("title",F,f(i.title),1)):o("",!0)])],8,D))],16,q)}const X=B(Z,[["render",G]]);export{U as N,X as P};
//# sourceMappingURL=Plus-Dq7cn1Wq.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

Some files were not shown because too many files have changed in this diff Show more