import{v as n,Q as l,aa as c,c as u,K as a,y as h,E as f,l as w,L as b}from"./index-3053b8a0.js";import{_ as d}from"./ItemsListing.vue_vue_type_style_index_0_lang-7fc10190.js";import"./ListviewItem-72b197ce.js";import"./VBadge-8491964b.js";import"./Container-c68e3d11.js";import"./forwardRefs-0f883695.js";import"./VMenu-c1b42799.js";/* empty css              */import"./VCheckboxBtn-1d21707b.js";import"./VSlideGroup-e1d3104d.js";import"./VCard-2d8a440d.js";import"./VCardText-197cfd2e.js";import"./VTooltip-cd5b17c3.js";import"./PanelviewItem.vue_vue_type_style_index_0_lang-c1d34c1c.js";import"./contextmenu-e2a33e90.js";import"./Alert-55f2ffb8.js";import"./VToolbar-9817dcd3.js";import"./VTextField-b7863fc2.js";import"./VVirtualScroll-bc1f8e5c.js";const z=n({__name:"BrowseView",props:{path:{}},setup(s){const t=s,{t:o}=l();c();const p=u(()=>!t.path||t.path=="root"?o("browse"):a("bp6")?o("browse")+" | "+t.path:a("bp3")?t.path:o("browse")),i=async function(r){const e=[];return await b.browse(t.path,m=>{e.push(...m)}),e};return(r,e)=>(h(),f("section",null,[w(d,{itemtype:"browse","show-provider":!1,"show-library":!1,"show-favorites-only-filter":!1,"show-track-number":!1,"load-items":i,"sort-keys":["original","name","name_desc"],title:p.value,path:r.path,"allow-key-hooks":!0},null,8,["title","path"])]))}});export{z as default};
