PageSourceSearch

https://linuxos.ovh/yunohost/admin/assets/AppList-BbP4Rs4F.js

js linuxos.ovh collected 2026-10-08 03:34:42 UTC 1,417 bytes, 1 lines download raw bytes

1import{o as C,d as h,p as V}from"./index-mGgJqOFQ.js";import{d as L,bo as $,o as i,a as d,w as p,b as u,aK as k,c as x,F as y,a4 as D,u as _,f as I,q as S,t as v,I as F,bl as G}from"./core-Cu1dlvv4.js";import{u as N}from"./useSearch-BI9R3Mbd.js";const Y=L({__name:"AppList",async setup(O){let o,A;const b=([o,A]=$(()=>G.get({uri:"apps?full",initial:!0}).then(({apps:s})=>{const t=new Intl.Collator("en");return s.map(({id:e,name:n,description:c,manifest:m,logo:l})=>{const a=l?`./applogos/${l}.png`:"data:image/png;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";return{id:e,name:m.name,label:n,description:c,logoUrl:a}}).sort((e,n)=>t.compare(e.label,n.label))})),o=await o,A(),o),[r,f]=N(b,(s,t)=>Object.values(t).some(e=>e&&e.toLowerCase().includes(s)));return(s,t)=>{const e=h,n=I,c=C,m=k,l=V;return i(),d(l,{modelValue:_(r),"onUpdate:modelValue":t[0]||(t[0]=a=>F(r)?r.value=a:null),"items-name":"installed_apps",items:_(f)},{"top-bar-buttons":p(()=>[u(n,{variant:"success",to:{name:"app-catalog"}},{default:p(()=>[u(e,{iname:"plus"}),S(" "+v(s.$t("install_app")),1)]),_:1})]),default:p(()=>[u(m,null,{default:p(()=>[(i(!0),x(y,null,D(_(f),({id:a,description:g,label:w,logoUrl:B})=>(i(),d(c,{key:a,to:{name:"app-info",params:{id:a}},label:w,sublabel:a,description:g,"image-src":B},null,8,["to","label","sublabel","description","image-src"]))),128))]),_:1})]),_:1},8,["modelValue","items"])}}});export{Y as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.