import{d as n,ae as l,af as u,z as c,D as i,c as f,g as h,f as w,b as d}from"./index-1fa25223.js";import{I as b}from"./ItemsListing-2655a521.js";import"./ListviewItem-fa4b6d44.js";import"./helpers-f9fbf435.js";import"./Container-55c3ff81.js";import"./VListItem-53d44b85.js";import"./_plugin-vue_export-helper-c27b6911.js";/* empty css              */import"./VLabel-148b546a.js";import"./VList-f519ecda.js";import"./VCard-99bbc2f5.js";import"./VCardText-bbb7eb1a.js";import"./VMenu-85495654.js";import"./ListItem-9f85535e.js";import"./Button-0d671d73.js";import"./VTooltip-c87f5f44.js";import"./VCheckboxBtn-4c4cfeff.js";import"./PanelviewItem-f1eef939.js";import"./Alert-501a5edb.js";import"./VAlert-034cbd55.js";import"./Toolbar-77a90b60.js";import"./VBadge-3b97e665.js";import"./VToolbar-a7b4dbd4.js";import"./ItemContextMenu.vue_vue_type_style_index_0_scoped_be40882c_lang-79825e42.js";import"./eventbus-d154090d.js";import"./VTextField-46c02b72.js";import"./VVirtualScroll-f6a01209.js";import"./layout-6738e727.js";const S=n({__name:"BrowseView",props:{path:{}},setup(p){const t=p,{t:o}=l();u();const s=c(()=>!t.path||t.path=="root"?o("browse"):i("bp6")?o("browse")+" | "+t.path:i("bp3")?t.path:o("browse")),a=async function(e){const r=[];return await d.browse(t.path,m=>{r.push(...m)}),r};return(e,r)=>(f(),h("section",null,[w(b,{itemtype:"browse","show-provider":!1,"show-library":!1,"show-favorites-only-filter":!1,"show-track-number":!1,"load-items":a,"sort-keys":["original","name","name_desc"],title:s.value,path:e.path,"allow-key-hooks":!0,icon:"mdi-folder-outline"},null,8,["title","path"])]))}});export{S as default};
