import{d as h,o as s,c as f,F as g,a as w,b as _,e as k,_ as C,f as $,i as x,j as S,k as R,l as T,m as I,n as e,p as m,q as o,s as t,t as b,v as V,r as v,w as i,V as z,x as y,y as F,T as L}from"./index-2e57ee69.js";import N from"./Footer-e54b900a.js";import{_ as D}from"./NavbarThemeSwitcher.vue_vue_type_script_setup_true_lang-631c7e23.js";import{_ as E}from"./UserProfile.vue_vue_type_script_setup_true_lang-8b977f8d.js";import{V as B}from"./VSpacer-0163be53.js";import"./VTooltip-4d5f55d5.js";import"./VMenu-9f22b74a.js";import"./VList-0b71c0f0.js";import"./VDivider-29fb9868.js";import"./VBadge-2ebabc99.js";const W={class:"nav-items"},H=h({__name:"HorizontalNav",props:{navItems:null},setup(d){const l=r=>"children"in r?C:$;return(r,u)=>(s(),f("ul",W,[(s(!0),f(g,null,w(d.navItems,(a,c)=>(s(),_(k(l(a)),{key:c,item:a},null,8,["item"]))),128))]))}}),A={class:"layout-navbar"},P={class:"navbar-content-container"},j={class:"layout-horizontal-nav"},q={class:"horizontal-nav-content-container"},U={class:"layout-page-content"},Y={class:"layout-footer"},G={class:"footer-content-container"},J=h({__name:"HorizontalNavLayout",props:{navItems:null},setup(d){const{y:l}=x(),{width:r}=S(),u=R(),a=T(!1);u.beforeEach(()=>{a.value=!0}),u.afterEach(()=>{a.value=!1});const{_layoutClasses:c,isNavbarBlurEnabled:p}=I();return(n,st)=>(s(),f("div",{class:b(["layout-wrapper",t(c)(t(r),t(l))])},[e("div",{class:b(["layout-navbar-and-nav-container",t(p)&&"header-blur"])},[e("div",A,[e("div",P,[m(n.$slots,"navbar")])]),e("div",j,[e("div",q,[o(t(H),{"nav-items":d.navItems},null,8,["nav-items"])])])],2),e("main",U,[n.$slots["content-loading"]?(s(),f(g,{key:0},[t(a)?m(n.$slots,"content-loading",{key:0}):m(n.$slots,"default",{key:1})],64)):m(n.$slots,"default",{key:1})]),e("footer",Y,[e("div",G,[m(n.$slots,"footer")])])],2))}}),K=[{title:"Apps",icon:{icon:"tabler-layout-grid-add"},children:[]}],M=[],O=[{title:"Dashboards",icon:{icon:"tabler-smart-home"},children:[{title:"eCommerce",to:"dashboards-ecommerce",icon:{icon:"tabler-atom-2"}}]}],Q=[{title:"Forms",icon:{icon:"tabler-forms"},children:[{title:"Form Elements",icon:{icon:"tabler-copy"},children:[{title:"Autocomplete",to:"forms-autocomplete"},{title:"Checkbox",to:"forms-checkbox"},{title:"Combobox",to:"forms-combobox"},{title:"Date Time Picker",to:"forms-date-time-picker"},{title:"File Input",to:"forms-file-input"},{title:"Radio",to:"forms-radio"},{title:"Custom Input",to:"forms-custom-input"},{title:"Range Slider",to:"forms-range-slider"},{title:"Rating",to:"forms-rating"},{title:"Select",to:"forms-select"},{title:"Slider",to:"forms-slider"},{title:"Switch",to:"forms-switch"},{title:"Textarea",to:"forms-textarea"},{title:"Textfield",to:"forms-textfield"}]},{title:"Form Layouts",icon:{icon:"tabler-circle-check"},to:"forms-form-layouts"},{title:"Form Validation",icon:{icon:"tabler-circle-check"},to:"forms-form-validation"}]}],X=[],Z=[],tt=[{title:"Tables",icon:{icon:"tabler-layout-grid"},children:[{title:"Simple Table",icon:{icon:"tabler-table"},to:"tables-simple-table"},{title:"Data Table",icon:{icon:"tabler-layout-grid"},to:"tables-data-table"}]}],et=[{title:"User Interface",icon:{icon:"tabler-color-swatch"},children:[]}],ot=[...O,...K,...Z,...et,...Q,...tt,...M,...X],at={class:"app-title font-weight-bold leading-normal text-xl text-capitalize"},_t=h({__name:"DefaultLayoutWithHorizontalNav",setup(d){const{appRouteTransition:l}=V();return(r,u)=>{const a=v("RouterLink"),c=v("RouterView");return s(),_(t(J),{"nav-items":t(ot)},{navbar:i(()=>[o(a,{to:"/",class:"app-logo d-flex align-center gap-x-3"},{default:i(()=>[o(t(z),{nodes:t(y).app.logo},null,8,["nodes"]),e("h1",at,F(t(y).app.title),1)]),_:1}),o(B),o(D,{class:"me-1"}),o(E)]),footer:i(()=>[o(N)]),default:i(()=>[o(c,null,{default:i(({Component:p})=>[o(L,{name:t(l),mode:"out-in"},{default:i(()=>[(s(),_(k(p)))]),_:2},1032,["name"])]),_:1})]),_:1},8,["nav-items"])}}});export{_t as default};
