chore(assets): Recompile assets

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
This commit is contained in:
nextcloud-command 2026-01-13 01:33:19 +00:00
parent e76f9284ce
commit 31957add33
322 changed files with 707 additions and 2032 deletions

2
dist/1261-1261.js vendored
View file

@ -1,2 +0,0 @@
"use strict";(globalThis.webpackChunknextcloud_ui_legacy=globalThis.webpackChunknextcloud_ui_legacy||[]).push([[1261],{11261(e,t,a){a.r(t),a.d(t,{default:()=>d});var s=a(53334),l=a(85471),o=a(94219),r=a(371),n=a(93663),i=a(82182);const c=(0,l.pM)({name:"CredentialsDialog",components:{NcDialog:o.A,NcNoteCard:r.A,NcTextField:i.A,NcPasswordField:n.A},setup:()=>({t:s.t}),data:()=>({login:"",password:""}),computed:{dialogButtons:()=>[{label:(0,s.t)("files_external","Confirm"),type:"submit",variant:"primary"}]}}),d=(0,a(14486).A)(c,function(){var e=this,t=e._self._c;return e._self._setupProxy,t("NcDialog",{staticClass:"external-storage-auth",attrs:{buttons:e.dialogButtons,"close-on-click-outside":"","data-cy-external-storage-auth":"","is-form":"",name:e.t("files_external","Storage credentials"),"out-transition":""},on:{submit:function(t){return e.$emit("close",{login:e.login,password:e.password})},"update:open":function(t){return e.$emit("close")}}},[t("NcNoteCard",{staticClass:"external-storage-auth__header",attrs:{text:e.t("files_external","To access the storage, you need to provide the authentication credentials."),type:"info"}}),e._v(" "),t("NcTextField",{ref:"login",staticClass:"external-storage-auth__login",attrs:{"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:""},model:{value:e.login,callback:function(t){e.login=t},expression:"login"}}),e._v(" "),t("NcPasswordField",{ref:"password",staticClass:"external-storage-auth__password",attrs:{"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:""},model:{value:e.password,callback:function(t){e.password=t},expression:"password"}})],1)},[],!1,null,null,null).exports}}]);
//# sourceMappingURL=1261-1261.js.map?v=e5911953e2704a8c51c4

View file

@ -1,112 +0,0 @@
SPDX-License-Identifier: MIT
SPDX-License-Identifier: ISC
SPDX-License-Identifier: GPL-3.0-or-later
SPDX-License-Identifier: BSD-3-Clause
SPDX-License-Identifier: AGPL-3.0-or-later
SPDX-License-Identifier: (MPL-2.0 OR Apache-2.0)
SPDX-FileCopyrightText: escape-html developers
SPDX-FileCopyrightText: debounce developers
SPDX-FileCopyrightText: Tobias Koppers @sokra
SPDX-FileCopyrightText: T. Jameson Little <t.jameson.little@gmail.com>
SPDX-FileCopyrightText: Roman Shtylman <shtylman@gmail.com>
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
SPDX-FileCopyrightText: Matt Zabriskie
SPDX-FileCopyrightText: Guillaume Chau <guillaume.b.chau@gmail.com>
SPDX-FileCopyrightText: GitHub Inc.
SPDX-FileCopyrightText: Feross Aboukhadijeh
SPDX-FileCopyrightText: Evan You
SPDX-FileCopyrightText: Dr.-Ing. Mario Heiderich, Cure53 <mario@cure53.de> (https://cure53.de/)
SPDX-FileCopyrightText: David Clark
SPDX-FileCopyrightText: Christoph Wurst
SPDX-FileCopyrightText: Anthony Fu <https://github.com/antfu>
SPDX-FileCopyrightText: Anthony Fu <anthonyfu117@hotmail.com>
This file is generated from multiple sources. Included packages:
- @nextcloud/auth
- version: 2.5.3
- license: GPL-3.0-or-later
- @nextcloud/axios
- version: 2.5.2
- license: GPL-3.0-or-later
- @nextcloud/browser-storage
- version: 0.5.0
- license: GPL-3.0-or-later
- semver
- version: 7.7.2
- license: ISC
- @nextcloud/event-bus
- version: 3.3.3
- license: GPL-3.0-or-later
- @nextcloud/l10n
- version: 3.4.1
- license: GPL-3.0-or-later
- @nextcloud/logger
- version: 3.0.3
- license: GPL-3.0-or-later
- @nextcloud/router
- version: 3.1.0
- license: GPL-3.0-or-later
- @nextcloud/initial-state
- version: 2.2.0
- license: GPL-3.0-or-later
- debounce
- version: 2.2.0
- license: MIT
- @nextcloud/vue
- version: 8.35.0
- license: AGPL-3.0-or-later
- @vueuse/core
- version: 11.3.0
- license: MIT
- @vueuse/shared
- version: 11.3.0
- license: MIT
- axios
- version: 1.12.2
- license: MIT
- base64-js
- version: 1.5.1
- license: MIT
- css-loader
- version: 7.1.2
- license: MIT
- dompurify
- version: 3.3.1
- license: (MPL-2.0 OR Apache-2.0)
- escape-html
- version: 1.0.3
- license: MIT
- floating-vue
- version: 1.0.0-beta.19
- license: MIT
- focus-trap
- version: 7.6.6
- license: MIT
- ieee754
- version: 1.2.1
- license: BSD-3-Clause
- buffer
- version: 6.0.3
- license: MIT
- process
- version: 0.11.10
- license: MIT
- style-loader
- version: 4.0.0
- license: MIT
- tabbable
- version: 6.3.0
- license: MIT
- vue-demi
- version: 0.14.10
- license: MIT
- vue-loader
- version: 15.11.1
- license: MIT
- vue
- version: 2.7.16
- license: MIT
- nextcloud
- version: 1.0.0
- license: AGPL-3.0-or-later

View file

@ -1 +0,0 @@
{"version":3,"file":"1261-1261.js?v=e5911953e2704a8c51c4","mappings":"kKAAA,I,gEAMA,MCNiQ,GDMlPA,EAAAA,EAAAA,IAAgB,CAC3BC,KAAM,oBACNC,WAAY,CACRC,SAAQ,IACRC,WAAU,IACVC,YAAW,IACXC,gBAAeA,EAAAA,GAEnBC,MAAKA,KACM,CACHC,EAACA,EAAAA,IAGTC,KAAIA,KACO,CACHC,MAAO,GACPC,SAAU,KAGlBC,SAAU,CACNC,cAAaA,IACF,CAAC,CACAC,OAAON,EAAAA,EAAAA,GAAE,iBAAkB,WAC3BO,KAAM,SACNC,QAAS,eEZ7B,GAXgB,E,SAAA,GACd,EFRW,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAgC,OAAtBF,EAAIG,MAAMC,YAAmBF,EAAG,WAAW,CAACG,YAAY,wBAAwBC,MAAM,CAAC,QAAUN,EAAIJ,cAAc,yBAAyB,GAAG,gCAAgC,GAAG,UAAU,GAAG,KAAOI,EAAIT,EAAE,iBAAkB,uBAAuB,iBAAiB,IAAIgB,GAAG,CAAC,OAAS,SAASC,GAAQ,OAAOR,EAAIS,MAAM,QAAS,CAAEhB,MAAOO,EAAIP,MAAOC,SAAUM,EAAIN,UAAW,EAAE,cAAc,SAASc,GAAQ,OAAOR,EAAIS,MAAM,QAAQ,IAAI,CAACP,EAAG,aAAa,CAACG,YAAY,gCAAgCC,MAAM,CAAC,KAAON,EAAIT,EAAE,iBAAkB,8EAA8E,KAAO,UAAUS,EAAIU,GAAG,KAAKR,EAAG,cAAc,CAACS,IAAI,QAAQN,YAAY,+BAA+BC,MAAM,CAAC,6CAA6C,GAAG,MAAQN,EAAIT,EAAE,iBAAkB,SAAS,YAAcS,EAAIT,EAAE,iBAAkB,2BAA2B,UAAY,IAAI,KAAO,QAAQ,SAAW,IAAIqB,MAAM,CAACC,MAAOb,EAAIP,MAAOqB,SAAS,SAAUC,GAAMf,EAAIP,MAAMsB,CAAG,EAAEC,WAAW,WAAWhB,EAAIU,GAAG,KAAKR,EAAG,kBAAkB,CAACS,IAAI,WAAWN,YAAY,kCAAkCC,MAAM,CAAC,gDAAgD,GAAG,MAAQN,EAAIT,EAAE,iBAAkB,YAAY,YAAcS,EAAIT,EAAE,iBAAkB,8BAA8B,KAAO,WAAW,SAAW,IAAIqB,MAAM,CAACC,MAAOb,EAAIN,SAAUoB,SAAS,SAAUC,GAAMf,EAAIN,SAASqB,CAAG,EAAEC,WAAW,eAAe,EACz7C,EACsB,IESpB,EACA,KACA,KACA,M","sources":["webpack:///nextcloud/apps/files_external/src/views/CredentialsDialog.vue","webpack:///nextcloud/apps/files_external/src/views/CredentialsDialog.vue?vue&type=script&lang=ts","webpack://nextcloud/./apps/files_external/src/views/CredentialsDialog.vue?7767"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('NcDialog',{staticClass:\"external-storage-auth\",attrs:{\"buttons\":_vm.dialogButtons,\"close-on-click-outside\":\"\",\"data-cy-external-storage-auth\":\"\",\"is-form\":\"\",\"name\":_vm.t('files_external', 'Storage credentials'),\"out-transition\":\"\"},on:{\"submit\":function($event){return _vm.$emit('close', { login: _vm.login, password: _vm.password })},\"update:open\":function($event){return _vm.$emit('close')}}},[_c('NcNoteCard',{staticClass:\"external-storage-auth__header\",attrs:{\"text\":_vm.t('files_external', 'To access the storage, you need to provide the authentication credentials.'),\"type\":\"info\"}}),_vm._v(\" \"),_c('NcTextField',{ref:\"login\",staticClass:\"external-storage-auth__login\",attrs:{\"data-cy-external-storage-auth-dialog-login\":\"\",\"label\":_vm.t('files_external', 'Login'),\"placeholder\":_vm.t('files_external', 'Enter the storage login'),\"minlength\":\"2\",\"name\":\"login\",\"required\":\"\"},model:{value:(_vm.login),callback:function ($$v) {_vm.login=$$v},expression:\"login\"}}),_vm._v(\" \"),_c('NcPasswordField',{ref:\"password\",staticClass:\"external-storage-auth__password\",attrs:{\"data-cy-external-storage-auth-dialog-password\":\"\",\"label\":_vm.t('files_external', 'Password'),\"placeholder\":_vm.t('files_external', 'Enter the storage password'),\"name\":\"password\",\"required\":\"\"},model:{value:(_vm.password),callback:function ($$v) {_vm.password=$$v},expression:\"password\"}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-6.use[1]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CredentialsDialog.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-6.use[1]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CredentialsDialog.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./CredentialsDialog.vue?vue&type=template&id=42ed5195\"\nimport script from \"./CredentialsDialog.vue?vue&type=script&lang=ts\"\nexport * from \"./CredentialsDialog.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"names":["defineComponent","name","components","NcDialog","NcNoteCard","NcTextField","NcPasswordField","setup","t","data","login","password","computed","dialogButtons","label","type","variant","_vm","this","_c","_self","_setupProxy","staticClass","attrs","on","$event","$emit","_v","ref","model","value","callback","$$v","expression"],"ignoreList":[],"sourceRoot":""}

View file

@ -1 +0,0 @@
1261-1261.js.license

4
dist/4818-4818.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,2 @@
import{b as y,m as g,i as v,c as p,u as o,o as n,N as h,w as _,g as V,t as k,r as x,j as M,v as d,e as f,F as w,C as U,E as j,G as q}from"./index-B3fM9XzM.chunk.mjs";import{c as C}from"./index-Bis6vWHp.chunk.mjs";import{s as E}from"./index-JpgrUA2Z-Bk1urlYU.chunk.mjs";import{t as s}from"./mdi-C6koAnlx.chunk.mjs";import{c as N}from"./createElementId-DhjFt1I9-DYB7_VOD.chunk.mjs";import{c as S}from"./NcNoteCard-CVhtNL04-NCMYExJH.chunk.mjs";import{N as A}from"./NcSelect-Czzsi3P_-j-TCAwKy.chunk.mjs";import{N as K}from"./NcCheckboxRadioSwitch-BCSKF7Tk-DXNr2PG3.chunk.mjs";import{N as z}from"./NcPasswordField-djttkA5Q-e7dmiHhR.chunk.mjs";import{_ as B}from"./TrashCanOutline-Dk8zzxc0.chunk.mjs";import{a as c,C as b}from"./types-BHxjmIdN.chunk.mjs";import{l as G}from"./logger-or2fwppf.chunk.mjs";const P=y({__name:"ConfigurationEntry",props:g({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(z):o(B)),{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(K),{key:1,modelValue:a.value,"onUpdate:modelValue":i[1]||(i[1]=l=>a.value=l),type:"switch",title:e.configOption.tooltip},{default:_(()=>[V(k(e.configOption.value),1)]),_:1},8,["modelValue","title"]))}}),R=y({__name:"AuthMechanismRsa",props:g({authMechanism:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const a=v(e,"modelValue"),t=x();M(t,()=>{t.value&&(a.value.private_key="",a.value.public_key="")});async function i(){try{const{data:l}=await C.post(N("/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){G.error("Error generating RSA key pair",{error:l}),E(s("files_external","Error generating key pair"))}}return(l,m)=>(n(),d("div",null,[(n(!0),d(w,null,U(e.authMechanism.configuration,(r,u)=>j((n(),p(P,{key:r.value,modelValue:a.value[u],"onUpdate:modelValue":O=>a.value[u]=O,"config-key":u,"config-option":r},null,8,["modelValue","onUpdate:modelValue","config-key","config-option"])),[[q,!(r.flags&o(b).Hidden)]])),128)),f(o(A),{modelValue:t.value,"onUpdate:modelValue":m[0]||(m[0]=r=>t.value=r),clearable:!1,"input-label":o(s)("files_external","Key size"),options:[1024,2048,4096],required:""},null,8,["modelValue","input-label"]),f(o(S),{disabled:!t.value,wide:"",onClick:i},{default:_(()=>[V(k(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-DD54DKdW.chunk.mjs.map

File diff suppressed because one or more lines are too long

2
dist/ContentCopy-DrdgsUBE.chunk.mjs vendored Normal file
View file

@ -0,0 +1,2 @@
import{r as g,_ as p,t as h}from"./createElementId-DhjFt1I9-DYB7_VOD.chunk.mjs";import{b as C,v as i,o as e,B as o,x as s,q as _,g as y,t as r,u as d,e as H,s as m}from"./index-B3fM9XzM.chunk.mjs";import{_ as b}from"./string_decoder-CW7-7cc6.chunk.mjs";const k={name:"HelpCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},A=["aria-hidden","aria-label"],v=["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 z(a,l,t,c,u,f){return e(),i("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))}),[(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,v))],16,A)}const x=p(k,[["render",z]]);g();const M={class:"settings-section"},S={class:"settings-section__name"},$=["aria-label","href","title"],I={key:0,class:"settings-section__desc"},N=C({__name:"NcSettingsSection",props:{name:{},description:{default:""},docUrl:{default:""}},setup(a){const l=h("External documentation");return(t,c)=>(e(),i("div",M,[o("h2",S,[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(x,{size:20})],8,$)):s("",!0)]),t.description?(e(),i("p",I,r(t.description),1)):s("",!0),_(t.$slots,"default",{},void 0,!0)]))}}),T=p(N,[["__scopeId","data-v-9cedb949"]]),B={name:"ContentCopyIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},U=["aria-hidden","aria-label"],L=["fill","width","height"],Z={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"},q={key:0};function E(a,l,t,c,u,f){return e(),i("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))}),[(e(),i("svg",{fill:t.fillColor,class:"material-design-icon__svg",width:t.size,height:t.size,viewBox:"0 0 24 24"},[o("path",Z,[t.title?(e(),i("title",q,r(t.title),1)):s("",!0)])],8,L))],16,U)}const F=b(B,[["render",E]]);export{F as I,T as N};
//# sourceMappingURL=ContentCopy-DrdgsUBE.chunk.mjs.map

File diff suppressed because one or more lines are too long

View file

@ -1,2 +0,0 @@
import{r as u,a as p,t as h,_ as C}from"./_plugin-vue_export-helper-B5bm_3R2.chunk.mjs";import{j as _,E as i,o as e,J as o,F as s,x as y,e as H,f as n,y as d,b,z as f}from"./mdi-BjfN1ic1.chunk.mjs";const k={name:"HelpCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},A=["aria-hidden","aria-label"],v=["fill","width","height"],z={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"},V={key:0};function w(a,l,t,c,g,m){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]=r=>a.$emit("click",r))}),[(e(),i("svg",{fill:t.fillColor,class:"material-design-icon__svg",width:t.size,height:t.size,viewBox:"0 0 24 24"},[o("path",z,[t.title?(e(),i("title",V,n(t.title),1)):s("",!0)])],8,v))],16,A)}const x=p(k,[["render",w]]);u();const M={class:"settings-section"},S={class:"settings-section__name"},$=["aria-label","href","title"],I={key:0,class:"settings-section__desc"},N=_({__name:"NcSettingsSection",props:{name:{},description:{default:""},docUrl:{default:""}},setup(a){const l=h("External documentation");return(t,c)=>(e(),i("div",M,[o("h2",S,[H(n(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)},[b(x,{size:20})],8,$)):s("",!0)]),t.description?(e(),i("p",I,n(t.description),1)):s("",!0),y(t.$slots,"default",{},void 0,!0)]))}}),D=p(N,[["__scopeId","data-v-9cedb949"]]),U={name:"ContentCopyIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},B=["aria-hidden","aria-label"],E=["fill","width","height"],L={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"},Z={key:0};function j(a,l,t,c,g,m){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]=r=>a.$emit("click",r))}),[(e(),i("svg",{fill:t.fillColor,class:"material-design-icon__svg",width:t.size,height:t.size,viewBox:"0 0 24 24"},[o("path",L,[t.title?(e(),i("title",Z,n(t.title),1)):s("",!0)])],8,E))],16,B)}const P=C(U,[["render",j]]);export{P as I,D as N};
//# sourceMappingURL=ContentCopy-r6LH1e3H.chunk.mjs.map

View file

@ -0,0 +1,2 @@
import{t}from"./mdi-C6koAnlx.chunk.mjs";import{N as m}from"./index-JpgrUA2Z-Bk1urlYU.chunk.mjs";import{N as d}from"./NcNoteCard-CVhtNL04-NCMYExJH.chunk.mjs";import{N as p}from"./NcPasswordField-djttkA5Q-e7dmiHhR.chunk.mjs";import{_ as c}from"./TrashCanOutline-Dk8zzxc0.chunk.mjs";import{b as g,r as i,c as f,o as h,w as x,e as s,u as e}from"./index-B3fM9XzM.chunk.mjs";import"./string_decoder-CW7-7cc6.chunk.mjs";import"./createElementId-DhjFt1I9-DYB7_VOD.chunk.mjs";import"./PencilOutline-BIuFAr5N.chunk.mjs";import"./index-Bis6vWHp.chunk.mjs";import"./index-BMztHQmx.chunk.mjs";import"./NcInputField-Bwsh2aHY-kFLkLvp0.chunk.mjs";const k=g({__name:"CredentialsDialog",emits:["close"],setup(_){const o=i(""),r=i(""),u=[{label:t("files_external","Confirm"),type:"submit",variant:"primary"}];return(n,a)=>(h(),f(e(m),{buttons:u,class:"external-storage-auth","close-on-click-outside":"","data-cy-external-storage-auth":"","is-form":"",name:e(t)("files_external","Storage credentials"),"out-transition":"",onSubmit:a[2]||(a[2]=l=>n.$emit("close",{login:o.value,password:r.value})),"onUpdate:open":a[3]||(a[3]=l=>n.$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-59dXnpv9.chunk.mjs.map

View file

@ -0,0 +1 @@
{"version":3,"file":"CredentialsDialog-59dXnpv9.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\tclose-on-click-outside\n\t\tdata-cy-external-storage-auth\n\t\tis-form\n\t\t:name=\"t('files_external', 'Storage credentials')\"\n\t\tout-transition\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":"srBAiBA,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,yBAAA,GACA,gCAAA,GACA,UAAA,GACC,KAAMG,EAAAF,CAAA,EAAC,iBAAA,qBAAA,EACR,iBAAA,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

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

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 +0,0 @@
import{j as V,m as h,u as j,N as L,p as S,s as n,E as u,o as i,J as p,F as d,O as q,c as t,z,f as v,P as A,x as y,w as E,y as s,e as G,G as J}from"./mdi-BjfN1ic1.chunk.mjs";import{i as g,c as M,d as m,N as o,e as x}from"./NcNoteCard-CVhtNL04-CL6uGjhw.chunk.mjs";import{a as D,e as H}from"./_plugin-vue_export-helper-B5bm_3R2.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=V({inheritAttrs:!1,__name:"NcInputField",props:h({class:{default:""},inputClass:{default:""},id:{default:()=>H()},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:B,emit:k}){const r=j(c,"modelValue"),l=c,$=k;B({focus:N,select:O});const f=L(),b=S("input"),T=n(()=>l.showTrailingButton||l.success),w=n(()=>{if(l.placeholder)return l.placeholder;if(l.label)return g?l.label:""}),_=n(()=>l.label||l.labelOutside),C=n(()=>{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 F(e){const a=e.target;r.value=l.type==="number"&&typeof r.value=="number"?parseFloat(a.value):a.value}return(e,a)=>(i(),u("div",{class:J(["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(g)},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:F}),null,16,P),!e.labelOutside&&_.value?(i(),u("label",{key:0,class:"input-field__label",for:e.id},v(e.label),9,Q)):d("",!0),q(p("div",R,[y(e.$slots,"icon",{},void 0,!0)],512),[[A,!!e.$slots.icon]]),e.showTrailingButton?(i(),t(M,{key:1,class:"input-field__trailing-button","aria-label":e.trailingButtonLabel,disabled:e.disabled,variant:"tertiary-no-background",onClick:a[0]||(a[0]=I=>$("trailingButtonClick",I))},{icon:E(()=>[y(e.$slots,"trailing-button-icon",{},void 0,!0)]),_:3},8,["aria-label","disabled"])):e.success||e.error?(i(),u("div",U,[e.success?(i(),t(o,{key:0,path:s(m)},null,8,["path"])):(i(),t(o,{key:1,path:s(x)},null,8,["path"]))])):d("",!0)]),e.helperText?(i(),u("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(m),inline:""},null,8,["path"])):e.error?(i(),t(o,{key:1,class:"input-field__helper-text-message__icon",path:s(x),inline:""},null,8,["path"])):d("",!0),G(" "+v(e.helperText),1)],8,W)):d("",!0)],2))}}),le=D(X,[["__scopeId","data-v-a0e80f48"]]);export{le as N};
//# sourceMappingURL=NcInputField-Bwsh2aHY-D1wb04Qy.chunk.mjs.map

View file

@ -0,0 +1,2 @@
import{b as F,m as h,i as L,D as N,l as j,n,v as d,o as i,B as p,x as u,E as A,c as t,s as D,t as v,G as E,q as y,w as G,u as s,g as M,y as S}from"./index-B3fM9XzM.chunk.mjs";import{i as g,c as z,d as m,a as o,e as x}from"./NcNoteCard-CVhtNL04-NCMYExJH.chunk.mjs";import{_ as H,d as J}from"./createElementId-DhjFt1I9-DYB7_VOD.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=F({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:B,emit:k}){const r=L(c,"modelValue"),l=c,$=k;B({focus:O,select:I});const f=N(),b=j("input"),T=n(()=>l.showTrailingButton||l.success),w=n(()=>{if(l.placeholder)return l.placeholder;if(l.label)return g?l.label:""}),_=n(()=>l.label||l.labelOutside),C=n(()=>{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 O(e){b.value.focus(e)}function I(){b.value.select()}function V(e){const a=e.target;r.value=l.type==="number"&&typeof r.value=="number"?parseFloat(a.value):a.value}return(e,a)=>(i(),d("div",{class:S(["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(g)},e.$props.class]])},[p("div",K,[p("input",D(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:V}),null,16,P),!e.labelOutside&&_.value?(i(),d("label",{key:0,class:"input-field__label",for:e.id},v(e.label),9,Q)):u("",!0),A(p("div",R,[y(e.$slots,"icon",{},void 0,!0)],512),[[E,!!e.$slots.icon]]),e.showTrailingButton?(i(),t(z,{key:1,class:"input-field__trailing-button","aria-label":e.trailingButtonLabel,disabled:e.disabled,variant:"tertiary-no-background",onClick:a[0]||(a[0]=q=>$("trailingButtonClick",q))},{icon:G(()=>[y(e.$slots,"trailing-button-icon",{},void 0,!0)]),_:3},8,["aria-label","disabled"])):e.success||e.error?(i(),d("div",U,[e.success?(i(),t(o,{key:0,path:s(m)},null,8,["path"])):(i(),t(o,{key:1,path:s(x)},null,8,["path"]))])):u("",!0)]),e.helperText?(i(),d("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(m),inline:""},null,8,["path"])):e.error?(i(),t(o,{key:1,class:"input-field__helper-text-message__icon",path:s(x),inline:""},null,8,["path"])):u("",!0),M(" "+v(e.helperText),1)],8,W)):u("",!0)],2))}}),le=H(X,[["__scopeId","data-v-a0e80f48"]]);export{le as N};
//# sourceMappingURL=NcInputField-Bwsh2aHY-kFLkLvp0.chunk.mjs.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,2 +0,0 @@
import{l as V,N as S,m as C,a as N}from"./NcNoteCard-CVhtNL04-CL6uGjhw.chunk.mjs";import{c as F}from"./index-E0dOMeMP.chunk.mjs";import{j as M,m as c,u as v,k as $,n as j,p as q,q as m,s as h,c as z,o as H,v as I,w as f,x as L,b as O,y as l,z as U}from"./mdi-BjfN1ic1.chunk.mjs";import{r as A,a as D,g as E,t as n}from"./_plugin-vue_export-helper-B5bm_3R2.chunk.mjs";import{d as G}from"./string_decoder-mL5xNZ9K.chunk.mjs";import{N as J}from"./NcInputField-Bwsh2aHY-D1wb04Qy.chunk.mjs";A();const K=M({__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(o,{expose:y,emit:w}){const s=v(o,"modelValue"),a=v(o,"visible"),t=o,d=w;$(s,G(B,500)),y({focus:_,select:k});const{password_policy:g}=j(),u=q("inputField"),i=m(""),r=m(),b=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}),x=h(()=>t.minlength??(t.checkPasswordStrength?g?.minLength:void 0)??void 0);async function B(){if(t.checkPasswordStrength)try{const{data:e}=await F.post(E("apps/password_policy/api/v1/validate"),{password:s.value});if(r.value=e.ocs.data.passed,e.ocs.data.passed){i.value=n("Password is secure"),d("valid");return}i.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 k(){u.value.select()}return(e,p)=>(H(),z(J,U(b.value,{ref:"inputField",modelValue:s.value,"onUpdate:modelValue":p[0]||(p[0]=P=>s.value=P),error:e.error||r.value===!1,"helper-text":e.helperText||i.value,"input-class":[e.inputClass,{"password-field__input--secure-text":!a.value&&e.asText}],minlength:x.value,success:e.success||r.value===!0,"trailing-button-label":a.value?l(n)("Hide password"):l(n)("Show password"),type:a.value||e.asText?"text":"password",onTrailingButtonClick:T}),I({"trailing-button-icon":f(()=>[O(S,{path:a.value?l(C):l(N)},null,8,["path"])]),_:2},[e.$slots.icon?{name:"icon",fn:f(()=>[L(e.$slots,"icon",{},void 0,!0)]),key:"0"}:void 0]),1040,["modelValue","error","helper-text","input-class","minlength","success","trailing-button-label","type"]))}}),ee=D(K,[["__scopeId","data-v-b2684de6"]]);export{ee as N};
//# sourceMappingURL=NcPasswordField-djttkA5Q-BcZFsl0T.chunk.mjs.map

View file

@ -0,0 +1,2 @@
import{l as V,a as S,m as C,b as F}from"./NcNoteCard-CVhtNL04-NCMYExJH.chunk.mjs";import{c as N}from"./index-Bis6vWHp.chunk.mjs";import{g as M}from"./index-BMztHQmx.chunk.mjs";import{r as $,_ as j,g as q,t as n}from"./createElementId-DhjFt1I9-DYB7_VOD.chunk.mjs";import{b as H,m as c,i as v,j as I,k as L,l as O,r as m,n as f,c as U,o as z,p as A,w as h,q as D,e as E,u as l,s as G}from"./index-B3fM9XzM.chunk.mjs";import{N as J}from"./NcInputField-Bwsh2aHY-kFLkLvp0.chunk.mjs";$();const K=H({__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(o,{expose:g,emit:w}){const s=v(o,"modelValue"),a=v(o,"visible"),t=o,d=w;I(s,L(B,500)),g({focus:T,select:k});const{password_policy:y}=M(),u=O("inputField"),i=m(""),r=m(),b=f(()=>{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}),x=f(()=>t.minlength??(t.checkPasswordStrength?y?.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(r.value=e.ocs.data.passed,e.ocs.data.passed){i.value=n("Password is secure"),d("valid");return}i.value=e.ocs.data.reason,d("invalid")}catch(e){V.error("Password policy returned an error",{error:e})}}function _(){a.value=!a.value}function T(e){u.value.focus(e)}function k(){u.value.select()}return(e,p)=>(z(),U(J,G(b.value,{ref:"inputField",modelValue:s.value,"onUpdate:modelValue":p[0]||(p[0]=P=>s.value=P),error:e.error||r.value===!1,"helper-text":e.helperText||i.value,"input-class":[e.inputClass,{"password-field__input--secure-text":!a.value&&e.asText}],minlength:x.value,success:e.success||r.value===!0,"trailing-button-label":a.value?l(n)("Hide password"):l(n)("Show password"),type:a.value||e.asText?"text":"password",onTrailingButtonClick:_}),A({"trailing-button-icon":h(()=>[E(S,{path:a.value?l(C):l(F)},null,8,["path"])]),_:2},[e.$slots.icon?{name:"icon",fn:h(()=>[D(e.$slots,"icon",{},void 0,!0)]),key:"0"}:void 0]),1040,["modelValue","error","helper-text","input-class","minlength","success","trailing-button-label","type"]))}}),ee=j(K,[["__scopeId","data-v-b2684de6"]]);export{ee as N};
//# sourceMappingURL=NcPasswordField-djttkA5Q-e7dmiHhR.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

@ -0,0 +1,2 @@
import{R as z}from"./colors-Go3zmZRD-DopeMbFY.chunk.mjs";import{N as U}from"./NcAvatar-DmUGApWA-CmSa2UB1.chunk.mjs";import{G as x}from"./index-JpgrUA2Z-Bk1urlYU.chunk.mjs";import{_ as y}from"./createElementId-DhjFt1I9-DYB7_VOD.chunk.mjs";import{b as B,m as c,i as R,n as s,af as k,j as L,c as b,o as l,w as i,q as o,N as f,s as S,e as j,B as q,v as _,x as C,K as G,t as H}from"./index-B3fM9XzM.chunk.mjs";const K={};function M(r,n){return l(),_("div",null,[o(r.$slots,"trigger")])}const W=y(K,[["render",M]]),A={class:"user-bubble__name"},D={key:0,class:"user-bubble__secondary"},E=B({__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,m=s(()=>{if(!e.avatarImage)return!1;try{return!!new URL(e.avatarImage)}catch{return!1}}),p=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 k("[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 L([()=>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:i(({attrs:u})=>[(l(),b(f(N.value),S({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:i(()=>[j(U,{url:p.value&&m.value?a.avatarImage:void 0,"icon-class":p.value&&!m.value?a.avatarImage:void 0,user:a.user,"display-name":a.displayName,size:a.size-a.margin*2,style:G(h.value),"disable-tooltip":!0,"disable-menu":!0,"hide-status":!a.showUserStatus,class:"user-bubble__avatar"},null,8,["url","icon-class","user","display-name","size","style","hide-status"]),q("span",A,H(a.displayName||a.user),1),a.$slots.name?(l(),_("span",D,[o(a.$slots,"name",{},void 0,!0)])):C("",!0)]),_:2},1040,["class","style","to","href"]))]),default:i(()=>[o(a.$slots,"default",{},void 0,!0)]),_:3},40,["shown"]))}}),Q=y(E,[["__scopeId","data-v-ad356e41"]]);export{Q as N};
//# sourceMappingURL=NcUserBubble-DPAmU2_J-BAB1Topn.chunk.mjs.map

File diff suppressed because one or more lines are too long

View file

@ -1,4 +1,4 @@
import{c as T}from"./index-E0dOMeMP.chunk.mjs";import{j as p,m as q,u as g,s as o,k as h,n as w,E as f,F as x,o as m,G as y}from"./mdi-BjfN1ic1.chunk.mjs";import{r as l,c as b,a as D,t as s,g as B}from"./_plugin-vue_export-helper-B5bm_3R2.chunk.mjs";import{l as I}from"./NcNoteCard-CVhtNL04-CL6uGjhw.chunk.mjs";const S=`<!--
import{c as T}from"./index-Bis6vWHp.chunk.mjs";import{g as p}from"./index-BMztHQmx.chunk.mjs";import{r as l,b as g,_ as q,t as s,g as h}from"./createElementId-DhjFt1I9-DYB7_VOD.chunk.mjs";import{l as w}from"./NcNoteCard-CVhtNL04-NCMYExJH.chunk.mjs";import{b as f,m as x,i as m,n as o,j as y,v as b,x as D,o as B,y as I}from"./index-B3fM9XzM.chunk.mjs";const S=`<!--
- SPDX-FileCopyrightText: 2020 Google Inc.
- SPDX-License-Identifier: Apache-2.0
-->
@ -43,5 +43,5 @@ import{c as T}from"./index-E0dOMeMP.chunk.mjs";import{j as p,m as q,u as g,s as
fill="var(--user-status-color-online, var(--color-success, #2D7B41))"
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(),l(b);function M(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 L=["aria-hidden","aria-label","innerHTML"],C=p({__name:"NcUserStatusIcon",props:q({user:{default:void 0},ariaHidden:{type:[Boolean,String],default:!1}},{status:{},statusModifiers:{}}),emits:["update:status"],setup(a){const e=g(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:M(e.value)}):void 0);h(()=>i.user,async r=>{if(!e.value&&r&&w()?.user_status?.enabled)try{const{data:t}=await T.get(B("/apps/user_status/api/v1/statuses/{user}",{user:r}));e.value=t.ocs?.data?.status}catch(t){I.debug("Error while fetching user status",{error:t})}},{immediate:!0});const v={online:Z,away:S,busy:P,dnd:X,invisible:u,offline:u},d=o(()=>e.value&&v[e.value]);return(r,t)=>e.value?(m(),f("span",{key:0,class:y(["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,L)):x("",!0)}}),A=D(C,[["__scopeId","data-v-881a79fb"]]);export{A as N,M as g};
//# sourceMappingURL=NcUserStatusIcon-CGEf7fej-knVeRP-B.chunk.mjs.map
`;l(),l(g);function M(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 L=["aria-hidden","aria-label","innerHTML"],_=f({__name:"NcUserStatusIcon",props:x({user:{default:void 0},ariaHidden:{type:[Boolean,String],default:!1}},{status:{},statusModifiers:{}}),emits:["update:status"],setup(a){const e=m(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:M(e.value)}):void 0);y(()=>i.user,async r=>{if(!e.value&&r&&p()?.user_status?.enabled)try{const{data:t}=await T.get(h("/apps/user_status/api/v1/statuses/{user}",{user:r}));e.value=t.ocs?.data?.status}catch(t){w.debug("Error while fetching user status",{error:t})}},{immediate:!0});const c={online:Z,away:S,busy:P,dnd:X,invisible:u,offline:u},d=o(()=>e.value&&c[e.value]);return(r,t)=>e.value?(B(),b("span",{key:0,class:I(["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,L)):D("",!0)}}),N=q(_,[["__scopeId","data-v-881a79fb"]]);export{N,M as g};
//# sourceMappingURL=NcUserStatusIcon-CGEf7fej-rG0Zbhsv.chunk.mjs.map

2
dist/PencilOutline-BIuFAr5N.chunk.mjs vendored Normal file
View file

@ -0,0 +1,2 @@
import{_ as p}from"./createElementId-DhjFt1I9-DYB7_VOD.chunk.mjs";import{b as u,n as g,v as e,o as l,B as n,x as o,t as s,s as m}from"./index-B3fM9XzM.chunk.mjs";import{_ as h}from"./string_decoder-CW7-7cc6.chunk.mjs";const f=["aria-label"],v=["width","height"],L=["fill"],C=["fill"],k={key:0},_=u({__name:"NcLoadingIcon",props:{appearance:{default:"auto"},name:{default:""},size:{default:20}},setup(r){const t=r,a=g(()=>{const i=["#777","#CCC"];return t.appearance==="light"?i:t.appearance==="dark"?i.reverse():["var(--color-loading-light)","var(--color-loading-dark)"]});return(i,c)=>(l(),e("span",{"aria-label":i.name,role:"img",class:"material-design-icon loading-icon"},[(l(),e("svg",{width:i.size,height:i.size,viewBox:"0 0 24 24"},[n("path",{fill:a.value[0],d:"M12,4V2A10,10 0 1,0 22,12H20A8,8 0 1,1 12,4Z"},null,8,L),n("path",{fill:a.value[1],d:"M12,4V2A10,10 0 0,1 22,12H20A8,8 0 0,0 12,4Z"},[i.name?(l(),e("title",k,s(i.name),1)):o("",!0)],8,C)],8,v))],8,f))}}),I=p(_,[["__scopeId","data-v-cf399190"]]),b={name:"PencilOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},w=["aria-hidden","aria-label"],z=["fill","width","height"],y={d:"M14.06,9L15,9.94L5.92,19H5V18.08L14.06,9M17.66,3C17.41,3 17.15,3.1 16.96,3.29L15.13,5.12L18.88,8.87L20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18.17,3.09 17.92,3 17.66,3M14.06,6.19L3,17.25V21H6.75L17.81,9.94L14.06,6.19Z"},M={key:0};function x(r,t,a,i,c,A){return l(),e("span",m(r.$attrs,{"aria-hidden":a.title?null:"true","aria-label":a.title,class:"material-design-icon pencil-outline-icon",role:"img",onClick:t[0]||(t[0]=d=>r.$emit("click",d))}),[(l(),e("svg",{fill:a.fillColor,class:"material-design-icon__svg",width:a.size,height:a.size,viewBox:"0 0 24 24"},[n("path",y,[a.title?(l(),e("title",M,s(a.title),1)):o("",!0)])],8,z))],16,w)}const N=h(b,[["render",x]]);export{I as N,N as P};
//# sourceMappingURL=PencilOutline-BIuFAr5N.chunk.mjs.map

File diff suppressed because one or more lines are too long

View file

@ -1,2 +0,0 @@
import{a as p,_ as u}from"./_plugin-vue_export-helper-B5bm_3R2.chunk.mjs";import{j as g,s as h,E as e,o as l,J as r,F as s,f as o,z as f}from"./mdi-BjfN1ic1.chunk.mjs";const m=["aria-label"],v=["width","height"],L=["fill"],C=["fill"],k={key:0},z=g({__name:"NcLoadingIcon",props:{appearance:{default:"auto"},name:{default:""},size:{default:20}},setup(n){const t=n,a=h(()=>{const i=["#777","#CCC"];return t.appearance==="light"?i:t.appearance==="dark"?i.reverse():["var(--color-loading-light)","var(--color-loading-dark)"]});return(i,c)=>(l(),e("span",{"aria-label":i.name,role:"img",class:"material-design-icon loading-icon"},[(l(),e("svg",{width:i.size,height:i.size,viewBox:"0 0 24 24"},[r("path",{fill:a.value[0],d:"M12,4V2A10,10 0 1,0 22,12H20A8,8 0 1,1 12,4Z"},null,8,L),r("path",{fill:a.value[1],d:"M12,4V2A10,10 0 0,1 22,12H20A8,8 0 0,0 12,4Z"},[i.name?(l(),e("title",k,o(i.name),1)):s("",!0)],8,C)],8,v))],8,m))}}),N=p(z,[["__scopeId","data-v-cf399190"]]),_={name:"PencilOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},w=["aria-hidden","aria-label"],b=["fill","width","height"],y={d:"M14.06,9L15,9.94L5.92,19H5V18.08L14.06,9M17.66,3C17.41,3 17.15,3.1 16.96,3.29L15.13,5.12L18.88,8.87L20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18.17,3.09 17.92,3 17.66,3M14.06,6.19L3,17.25V21H6.75L17.81,9.94L14.06,6.19Z"},M={key:0};function A(n,t,a,i,c,H){return l(),e("span",f(n.$attrs,{"aria-hidden":a.title?null:"true","aria-label":a.title,class:"material-design-icon pencil-outline-icon",role:"img",onClick:t[0]||(t[0]=d=>n.$emit("click",d))}),[(l(),e("svg",{fill:a.fillColor,class:"material-design-icon__svg",width:a.size,height:a.size,viewBox:"0 0 24 24"},[r("path",y,[a.title?(l(),e("title",M,o(a.title),1)):s("",!0)])],8,b))],16,w)}const B=u(_,[["render",A]]);export{N,B as P};
//# sourceMappingURL=PencilOutline-DvuO9fyo.chunk.mjs.map

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