@nuxt/devtools 0.7.1 → 0.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/dist/chunks/module-main.mjs +43 -32
  2. package/dist/chunks/vscode.mjs +3 -3
  3. package/dist/client/200.html +2 -2
  4. package/dist/client/404.html +2 -2
  5. package/dist/client/__blank/index.html +2 -2
  6. package/dist/client/_nuxt/{AuthRequiredPanel.vue.17c2a7bd.js → AuthRequiredPanel.vue.8365f094.js} +1 -1
  7. package/dist/client/_nuxt/{Badge.8d650e3b.js → Badge.6a68ac78.js} +1 -1
  8. package/dist/client/_nuxt/{CodeDiff.vue.cc3f76a7.js → CodeDiff.vue.0fc21e08.js} +1 -1
  9. package/dist/client/_nuxt/{CodeSnippets.vue.b4698473.js → CodeSnippets.vue.dc4d9439.js} +1 -1
  10. package/dist/client/_nuxt/{ComposableItem.vue.6d7b799a.js → ComposableItem.vue.2b804916.js} +1 -1
  11. package/dist/client/_nuxt/DrawerRight.vue.76906913.js +1 -0
  12. package/dist/client/_nuxt/{DurationDisplay.vue.aba5fa70.js → DurationDisplay.vue.ae436800.js} +1 -1
  13. package/dist/client/_nuxt/{FilepathItem.vue.84aa0a31.js → FilepathItem.vue.c12140f3.js} +1 -1
  14. package/dist/client/_nuxt/{HelpFab.vue.a8d95bd1.js → HelpFab.vue.d8b5b257.js} +1 -1
  15. package/dist/client/_nuxt/{LaunchPage.vue.00d3a484.js → LaunchPage.vue.7ca11100.js} +1 -1
  16. package/dist/client/_nuxt/{NCheckbox.vue.63949e52.js → NCheckbox.vue.4cf6f83b.js} +1 -1
  17. package/dist/client/_nuxt/{NCodeBlock.vue.77e54b2e.js → NCodeBlock.vue.cd2d281d.js} +1 -1
  18. package/dist/client/_nuxt/{NIconTitle.vue.0a904b99.js → NIconTitle.vue.2bd823c1.js} +1 -1
  19. package/dist/client/_nuxt/{NLink.vue.ec1f69e3.js → NLink.vue.b78c8d55.js} +1 -1
  20. package/dist/client/_nuxt/{NMarkdown.vue.a74698d6.js → NMarkdown.vue.5af3ba6b.js} +1 -1
  21. package/dist/client/_nuxt/{NSectionBlock.b074e0b8.js → NSectionBlock.36261208.js} +1 -1
  22. package/dist/client/_nuxt/{NSelect.vue.9556d6e0.js → NSelect.vue.5b8827ac.js} +1 -1
  23. package/dist/client/_nuxt/{NSwitch.vue.6c2556d0.js → NSwitch.vue.f9054ae3.js} +1 -1
  24. package/dist/client/_nuxt/{NTip.vue.861372f7.js → NTip.vue.cf493c45.js} +1 -1
  25. package/dist/client/_nuxt/{Navbar.vue.1a2a587f.js → Navbar.vue.f3d9c7e0.js} +1 -1
  26. package/dist/client/_nuxt/StateEditor.vue.0146462c.js +1 -0
  27. package/dist/client/_nuxt/{__blank.3f7b27a6.js → __blank.59338a05.js} +1 -1
  28. package/dist/client/_nuxt/{analyze-build.c314de67.js → analyze-build.901f5150.js} +1 -1
  29. package/dist/client/_nuxt/assets.75544131.js +16 -0
  30. package/dist/client/_nuxt/{client.ece13385.js → client.1d68892a.js} +1 -1
  31. package/dist/client/_nuxt/{components.27bdfae4.js → components.705d48d8.js} +1 -1
  32. package/dist/client/_nuxt/{custom-_name_.95a8297c.js → custom-_name_.dfe8f1a7.js} +1 -1
  33. package/dist/client/_nuxt/{default.7e3f9818.js → default.5ca90489.js} +1 -1
  34. package/dist/client/_nuxt/entry.331cb74a.js +21 -0
  35. package/dist/client/_nuxt/entry.b258ed6f.css +1 -0
  36. package/dist/client/_nuxt/{error-404.66ff8897.js → error-404.82a24486.js} +1 -1
  37. package/dist/client/_nuxt/{error-500.34984f69.js → error-500.540bdb82.js} +1 -1
  38. package/dist/client/_nuxt/{full.748a1c93.js → full.84bf4dc2.js} +1 -1
  39. package/dist/client/_nuxt/{hooks.3ec974a8.js → hooks.9324197d.js} +1 -1
  40. package/dist/client/_nuxt/{imports.8485b75c.js → imports.daf39689.js} +1 -1
  41. package/dist/client/_nuxt/{index.7ae8a638.js → index.0a4e7275.js} +1 -1
  42. package/dist/client/_nuxt/{index.5152a001.js → index.1da213bf.js} +1 -1
  43. package/dist/client/_nuxt/{json-editor-vue.bbdad521.js → json-editor-vue.f57c50c1.js} +1 -1
  44. package/dist/client/_nuxt/{middleware.3c73e553.js → middleware.a6cf7e42.js} +1 -1
  45. package/dist/client/_nuxt/{modules.67fd6240.js → modules.882302f4.js} +1 -1
  46. package/dist/client/_nuxt/{none.2f8cf810.js → none.91495c5f.js} +1 -1
  47. package/dist/client/_nuxt/{open-graph.79a7c77c.js → open-graph.e5c037bf.js} +1 -1
  48. package/dist/client/_nuxt/{overview.d953fa7e.js → overview.0f0f3fdf.js} +1 -1
  49. package/dist/client/_nuxt/{pages.7b386c55.js → pages.012c646d.js} +1 -1
  50. package/dist/client/_nuxt/{payload.f36f4355.js → payload.3247eb06.js} +1 -1
  51. package/dist/client/_nuxt/{plugins.1c37e55d.js → plugins.17878408.js} +1 -1
  52. package/dist/client/_nuxt/{runtime-configs.67f4f0b3.js → runtime-configs.42aec493.js} +1 -1
  53. package/dist/client/_nuxt/{server-routes.64373863.js → server-routes.e57e617b.js} +1 -1
  54. package/dist/client/_nuxt/{settings.b7df1779.js → settings.1e99e54a.js} +1 -1
  55. package/dist/client/_nuxt/{state-components.cd34df16.js → state-components.a65979c8.js} +1 -1
  56. package/dist/client/_nuxt/{state-modules.c2527930.js → state-modules.5120fd20.js} +1 -1
  57. package/dist/client/_nuxt/{storage.13c667f3.js → storage.9d4df500.js} +1 -1
  58. package/dist/client/_nuxt/{terminals.1c5a4ee9.js → terminals.2787fb0b.js} +1 -1
  59. package/dist/client/_nuxt/{timeline.741d9e72.js → timeline.587165be.js} +1 -1
  60. package/dist/client/_nuxt/unocss-runtime.54140029.js +2 -0
  61. package/dist/client/_nuxt/{virtual-files.4e8316be.js → virtual-files.a7391947.js} +1 -1
  62. package/dist/client/index.html +2 -2
  63. package/dist/client/modules/analyze-build/index.html +2 -2
  64. package/dist/client/modules/assets/index.html +2 -2
  65. package/dist/client/modules/components/index.html +2 -2
  66. package/dist/client/modules/hooks/index.html +2 -2
  67. package/dist/client/modules/imports/index.html +2 -2
  68. package/dist/client/modules/middleware/index.html +2 -2
  69. package/dist/client/modules/modules/index.html +2 -2
  70. package/dist/client/modules/open-graph/index.html +2 -2
  71. package/dist/client/modules/overview/index.html +2 -2
  72. package/dist/client/modules/pages/index.html +2 -2
  73. package/dist/client/modules/payload/index.html +2 -2
  74. package/dist/client/modules/plugins/index.html +2 -2
  75. package/dist/client/modules/runtime-configs/index.html +2 -2
  76. package/dist/client/modules/server-routes/index.html +2 -2
  77. package/dist/client/modules/storage/index.html +2 -2
  78. package/dist/client/modules/terminals/index.html +2 -2
  79. package/dist/client/modules/timeline/index.html +2 -2
  80. package/dist/client/modules/virtual-files/index.html +2 -2
  81. package/dist/client/settings/index.html +2 -2
  82. package/dist/module.json +1 -1
  83. package/dist/runtime/plugins/view/Main.vue +1 -0
  84. package/package.json +21 -21
  85. package/dist/client/_nuxt/DrawerRight.vue.3ab85e5b.js +0 -1
  86. package/dist/client/_nuxt/StateEditor.vue.05c4fc16.js +0 -1
  87. package/dist/client/_nuxt/assets.722939b7.js +0 -16
  88. package/dist/client/_nuxt/entry.6507cb32.js +0 -21
  89. package/dist/client/_nuxt/entry.6f7d64f9.css +0 -1
  90. package/dist/client/_nuxt/unocss-runtime.d07b0096.js +0 -2
@@ -1 +1 @@
1
- import{g as R,m as V,r as F,o,c as i,a as e,F as c,n as j,q as S,s as n,t as m,v as b,x as G,b as r,w as a,d as _,y as A,z as D,A as E,B as L,k as U,C as X,D as ee,E as te,G as ne,H as oe,I as le,J as ie,K as k,h as w,L as P,M as se,N as ae,i as re}from"./entry.6507cb32.js";import{_ as ue}from"./FilepathItem.vue.84aa0a31.js";import{_ as de}from"./NTip.vue.861372f7.js";import{_ as ce}from"./NCodeBlock.vue.77e54b2e.js";import{_ as me}from"./NCheckbox.vue.63949e52.js";import{_ as _e}from"./HelpFab.vue.a8d95bd1.js";import"./client.ece13385.js";const pe={"h-full":"",grid:"~ rows-[max-content_1fr]"},fe={flex:"~ wrap","w-full":""},ve=["onClick"],he=e("div",{border:"b base","flex-auto":""},null,-1),ye={key:0,flex:"~ col gap-4 items-center justify-center",p4:""},be=e("div",{"flex-auto":""},null,-1),$e={grid:"~ cols-[30px_1fr] gap-x-2 gap-y-3 items-center justify-center","w-100":""},xe=e("div",{"i-carbon-commit":"","text-xl":""},null,-1),ge=e("div",{"text-sm":"",op50:""}," Name ",-1),we=e("div",{"i-carbon-time":"","text-xl":""},null,-1),ze=e("div",{"text-sm":"",op50:""}," Build duration ",-1),Be=e("div",{"i-carbon-cics-program":"","text-xl":""},null,-1),ke=e("div",{"text-sm":"",op50:""}," Client bundle size ",-1),Ce=e("div",{"i-carbon-bare-metal-server":"","text-xl":""},null,-1),Ne=e("div",{"text-sm":"",op50:""}," Nitro bundle size ",-1),Te=e("div",{"i-carbon-edge-node":"","text-xl":""},null,-1),Ae=e("div",{"text-sm":"",op50:""}," Built ",-1),De=e("div",{"i-carbon:folder-parent":"","text-xl":""},null,-1),Ie=e("div",{"text-sm":"",op50:""}," Report Path ",-1),Ve=e("div",{"flex-auto":""},null,-1),I="/__nuxt_devtools__/analyze/",Fe=R({__name:"BuildAnalyzeDetails",props:{current:{},prev:{}},setup(C){const p=C,f=V(()=>{const t=[{name:"Overview",id:"overview"}];return p.current.features.bundleClient&&t.push({name:"Client Bundle",id:"bundle-client"}),p.current.features.bundleNitro&&t.push({name:"Nitro Bundle",id:"bundle-nitro"}),p.current.features.viteInspect&&t.push({name:"Vite Inspect",id:"vite-inspect"}),t}),l=F(f.value[0]);function $(t){return t<1024?`${t}B`:t<1024*1024?`${(t/1024).toFixed(1)}KB`:t<1024*1024*1024?`${(t/1024/1024).toFixed(1)}MB`:`${(t/1024/1024/1024).toFixed(1)}GB`}function g(t){return`${((t.endTime-t.startTime)/1e3).toFixed(1)}s`}async function x(t){return E.clearAnalyzeBuilds(await L(),[t])}return(t,u)=>{const z=ue,N=U;return o(),i("div",pe,[e("div",fe,[(o(!0),i(c,null,j(n(f),(v,T)=>(o(),i("button",{key:T,px4:"",py2:"",border:"r base",hover:"bg-active",class:S(v.id===n(l).id?"":"border-b"),onClick:d=>l.value=v},[e("div",{class:S(v.id===n(l).id?"":"op30")},m(v.name),3)],10,ve))),128)),he]),n(l).id==="overview"?(o(),i("div",ye,[be,e("div",$e,[xe,e("div",null,[ge,e("div",null,m(t.current.name),1)]),we,e("div",null,[ze,e("div",null,m(g(t.current)),1)]),t.current.size?.clientBundle?(o(),i(c,{key:0},[Be,e("div",null,[ke,e("div",null,m($(t.current.size.clientBundle)),1)])],64)):b("",!0),t.current.size.nitroBundle?(o(),i(c,{key:1},[Ce,e("div",null,[Ne,e("div",null,m($(t.current.size.nitroBundle)),1)])],64)):b("",!0),Te,e("div",null,[Ae,e("div",null,m(n(G)(new Date(t.current.endTime))),1)]),De,e("div",null,[Ie,r(z,{filepath:t.current.analyzeDir},null,8,["filepath"])])]),Ve,r(N,{n:"rose",icon:"carbon-delete",onClick:u[0]||(u[0]=v=>x(t.current.name))},{default:a(()=>[_(" Delete this report ")]),_:1})])):b("",!0),u._lazyshow1||n(l).id==="bundle-client"?(u._lazyshow1=!0,o(),i(c,null,[A(e("iframe",{src:`${I}${t.current.slug}/client.html`,"h-full":"","w-full":""},null,8,["src"]),[[D,n(l).id==="bundle-client"]])],64)):b("v-show-if",!0),u._lazyshow2||n(l).id==="bundle-nitro"?(u._lazyshow2=!0,o(),i(c,null,[A(e("iframe",{src:`${I}${t.current.slug}/nitro.html`,"h-full":"","w-full":""},null,8,["src"]),[[D,n(l).id==="bundle-nitro"]])],64)):b("v-show-if",!0),u._lazyshow3||n(l).id==="vite-inspect"?(u._lazyshow3=!0,o(),i(c,null,[A(e("iframe",{src:`${I}${t.current.slug}/.vite-inspect/`,"h-full":"","w-full":""},null,8,["src"]),[[D,n(l).id==="vite-inspect"]])],64)):b("v-show-if",!0)])}}}),Se={class:"markdown-body"},Ee=e("h1",null,"Build Analyze",-1),Pe=e("p",null,[_("DevTools provides a build analyze tool to help you understand the size of your app in production. Whenever you start a new build, it runs the command "),e("code",null,"nuxt build --analyze"),_(" and present the output data directly in DevTools for easy browsing and comparing.")],-1),Re=[Ee,Pe],je={__name:"analyze-build",setup(C,{expose:p}){return p({frontmatter:{}}),(l,$)=>(o(),i("div",Se,Re))}},Ge={flex:"~ col"},Le=["onClick"],Ue={flex:"~ gap-1 items-center wrap","w-full":"","text-sm":"",op60:""},He=e("div",{"i-carbon-time":""},null,-1),Ke=e("div",{"flex-auto":""},null,-1),Me=e("div",{"x-divider":""},null,-1),Oe={flex:"~ items-center justify-center wrap",p4:""},qe={flex:"~ col gap-1","w-250":"",p4:""},Je=e("h3",{class:"text-lg font-medium leading-6",mb2:""}," Start analyze build? ",-1),We=e("p",{op50:""}," Enter the name of the build: ",-1),Ye=e("div",{my3:"","x-divider":""},null,-1),Ze=e("p",{op50:""}," The following command will be executed in your terminal: ",-1),Qe={flex:"~ gap-3",mt2:"","justify-end":""},st=R({__name:"analyze-build",setup(C){const p=X(),f=ee(),l=te(),$=ne("analyze-build:slug",""),g=V(()=>f.value?.builds.find(d=>d.slug===$.value)??f.value?.builds[0]),x=F(!1),t=F(""),u=V(()=>f.value?.builds.some(d=>d.name===t.value.trim()));async function z(){t.value=await E.generateAnalyzeBuildName(),await p.start()&&(k.value={name:t.value,processId:await E.startAnalyzeBuild(await L(),t.value)},x.value&&v())}const N=oe();function v(){k.value?.processId&&(N.value=k.value.processId,l.push("/modules/terminals"))}function T(d){return`${((d.endTime-d.startTime)/1e3).toFixed(1)}s`}return le(()=>[{id:"action:analyze-build: start",title:"Start a new analyze build",icon:"i-carbon-edge-node",action:z}]),(d,h)=>{const B=U,H=Fe,K=re,M=ie,O=se,q=de,J=ce,W=me,Y=ae,Z=je,Q=_e;return o(),i(c,null,[r(M,{"left-size":30},{left:a(()=>[e("div",Ge,[(o(!0),i(c,null,j(n(f)?.builds,s=>(o(),i(c,{key:s.slug},[e("button",{flex:"~ col gap1","hover:bg-active":"",p3:"",class:S(s.slug===n(g)?.slug?"text-primary bg-active":""),onClick:y=>$.value=s.slug},[e("code",null,m(s.name),1),e("div",Ue,[He,e("span",null,m(T(s)),1),Ke,e("span",null,m(n(G)(new Date(s.endTime))),1)])],10,Le),Me],64))),128)),e("div",Oe,[("processAnalyzeBuildInfo"in d?d.processAnalyzeBuildInfo:n(k))?(o(),w(B,{key:1,n:"primary",icon:"carbon-circle-dash animate-spin",onClick:h[1]||(h[1]=s=>v())},{default:a(()=>[_(" Building... ")]),_:1})):(o(),w(B,{key:0,n:"primary",icon:"carbon-edge-node",onClick:h[0]||(h[0]=s=>z())},{default:a(()=>[_(" Start a new build ")]),_:1}))])])]),right:a(()=>[n(g)?(o(),w(H,{key:0,current:n(g)},null,8,["current"])):(o(),w(K,{key:1}))]),_:1}),r(n(p),null,{default:a(({resolve:s})=>[r(Y,{"model-value":!0,onClose:y=>s(!1)},{default:a(()=>[e("div",qe,[Je,We,r(O,{modelValue:n(t),"onUpdate:modelValue":h[2]||(h[2]=y=>P(t)?t.value=y:null),placeholder:"Build name"},null,8,["modelValue"]),n(u)?(o(),w(q,{key:0,"n-orange":""},{default:a(()=>[_(" A build with the same name already exists, continue would overrides the previous build result. ")]),_:1})):b("",!0),Ye,Ze,r(J,{code:`npx nuxi analyze --no-serve --name=${n(t)}`,lang:"bash",px4:"",py2:"",border:"~ base rounded",lines:!1},null,8,["code"]),r(W,{modelValue:n(x),"onUpdate:modelValue":h[3]||(h[3]=y=>P(x)?x.value=y:null),mt2:"",n:"primary"},{default:a(()=>[_(" Navigate to terminal ")]),_:1},8,["modelValue"]),e("div",Qe,[r(B,{onClick:y=>s(!1)},{default:a(()=>[_(" Cancel ")]),_:2},1032,["onClick"]),r(B,{n:"solid primary",onClick:y=>s(!0)},{default:a(()=>[_(" Start ")]),_:2},1032,["onClick"])])])]),_:2},1032,["onClose"])]),_:1}),r(Q,null,{default:a(()=>[r(Z)]),_:1})],64)}}});export{st as default};
1
+ import{g as R,m as V,r as F,o,c as i,a as e,F as c,n as j,q as S,s as n,t as m,v as b,x as G,b as r,w as a,d as _,y as A,z as D,A as E,B as L,k as U,C as X,D as ee,E as te,G as ne,H as oe,I as le,J as ie,K as k,h as w,L as P,M as se,N as ae,i as re}from"./entry.331cb74a.js";import{_ as ue}from"./FilepathItem.vue.c12140f3.js";import{_ as de}from"./NTip.vue.cf493c45.js";import{_ as ce}from"./NCodeBlock.vue.cd2d281d.js";import{_ as me}from"./NCheckbox.vue.4cf6f83b.js";import{_ as _e}from"./HelpFab.vue.d8b5b257.js";import"./client.1d68892a.js";const pe={"h-full":"",grid:"~ rows-[max-content_1fr]"},fe={flex:"~ wrap","w-full":""},ve=["onClick"],he=e("div",{border:"b base","flex-auto":""},null,-1),ye={key:0,flex:"~ col gap-4 items-center justify-center",p4:""},be=e("div",{"flex-auto":""},null,-1),$e={grid:"~ cols-[30px_1fr] gap-x-2 gap-y-3 items-center justify-center","w-100":""},xe=e("div",{"i-carbon-commit":"","text-xl":""},null,-1),ge=e("div",{"text-sm":"",op50:""}," Name ",-1),we=e("div",{"i-carbon-time":"","text-xl":""},null,-1),ze=e("div",{"text-sm":"",op50:""}," Build duration ",-1),Be=e("div",{"i-carbon-cics-program":"","text-xl":""},null,-1),ke=e("div",{"text-sm":"",op50:""}," Client bundle size ",-1),Ce=e("div",{"i-carbon-bare-metal-server":"","text-xl":""},null,-1),Ne=e("div",{"text-sm":"",op50:""}," Nitro bundle size ",-1),Te=e("div",{"i-carbon-edge-node":"","text-xl":""},null,-1),Ae=e("div",{"text-sm":"",op50:""}," Built ",-1),De=e("div",{"i-carbon:folder-parent":"","text-xl":""},null,-1),Ie=e("div",{"text-sm":"",op50:""}," Report Path ",-1),Ve=e("div",{"flex-auto":""},null,-1),I="/__nuxt_devtools__/analyze/",Fe=R({__name:"BuildAnalyzeDetails",props:{current:{},prev:{}},setup(C){const p=C,f=V(()=>{const t=[{name:"Overview",id:"overview"}];return p.current.features.bundleClient&&t.push({name:"Client Bundle",id:"bundle-client"}),p.current.features.bundleNitro&&t.push({name:"Nitro Bundle",id:"bundle-nitro"}),p.current.features.viteInspect&&t.push({name:"Vite Inspect",id:"vite-inspect"}),t}),l=F(f.value[0]);function $(t){return t<1024?`${t}B`:t<1024*1024?`${(t/1024).toFixed(1)}KB`:t<1024*1024*1024?`${(t/1024/1024).toFixed(1)}MB`:`${(t/1024/1024/1024).toFixed(1)}GB`}function g(t){return`${((t.endTime-t.startTime)/1e3).toFixed(1)}s`}async function x(t){return E.clearAnalyzeBuilds(await L(),[t])}return(t,u)=>{const z=ue,N=U;return o(),i("div",pe,[e("div",fe,[(o(!0),i(c,null,j(n(f),(v,T)=>(o(),i("button",{key:T,px4:"",py2:"",border:"r base",hover:"bg-active",class:S(v.id===n(l).id?"":"border-b"),onClick:d=>l.value=v},[e("div",{class:S(v.id===n(l).id?"":"op30")},m(v.name),3)],10,ve))),128)),he]),n(l).id==="overview"?(o(),i("div",ye,[be,e("div",$e,[xe,e("div",null,[ge,e("div",null,m(t.current.name),1)]),we,e("div",null,[ze,e("div",null,m(g(t.current)),1)]),t.current.size?.clientBundle?(o(),i(c,{key:0},[Be,e("div",null,[ke,e("div",null,m($(t.current.size.clientBundle)),1)])],64)):b("",!0),t.current.size.nitroBundle?(o(),i(c,{key:1},[Ce,e("div",null,[Ne,e("div",null,m($(t.current.size.nitroBundle)),1)])],64)):b("",!0),Te,e("div",null,[Ae,e("div",null,m(n(G)(new Date(t.current.endTime))),1)]),De,e("div",null,[Ie,r(z,{filepath:t.current.analyzeDir},null,8,["filepath"])])]),Ve,r(N,{n:"rose",icon:"carbon-delete",onClick:u[0]||(u[0]=v=>x(t.current.name))},{default:a(()=>[_(" Delete this report ")]),_:1})])):b("",!0),u._lazyshow1||n(l).id==="bundle-client"?(u._lazyshow1=!0,o(),i(c,null,[A(e("iframe",{src:`${I}${t.current.slug}/client.html`,"h-full":"","w-full":""},null,8,["src"]),[[D,n(l).id==="bundle-client"]])],64)):b("v-show-if",!0),u._lazyshow2||n(l).id==="bundle-nitro"?(u._lazyshow2=!0,o(),i(c,null,[A(e("iframe",{src:`${I}${t.current.slug}/nitro.html`,"h-full":"","w-full":""},null,8,["src"]),[[D,n(l).id==="bundle-nitro"]])],64)):b("v-show-if",!0),u._lazyshow3||n(l).id==="vite-inspect"?(u._lazyshow3=!0,o(),i(c,null,[A(e("iframe",{src:`${I}${t.current.slug}/.vite-inspect/`,"h-full":"","w-full":""},null,8,["src"]),[[D,n(l).id==="vite-inspect"]])],64)):b("v-show-if",!0)])}}}),Se={class:"markdown-body"},Ee=e("h1",null,"Build Analyze",-1),Pe=e("p",null,[_("DevTools provides a build analyze tool to help you understand the size of your app in production. Whenever you start a new build, it runs the command "),e("code",null,"nuxt build --analyze"),_(" and present the output data directly in DevTools for easy browsing and comparing.")],-1),Re=[Ee,Pe],je={__name:"analyze-build",setup(C,{expose:p}){return p({frontmatter:{}}),(l,$)=>(o(),i("div",Se,Re))}},Ge={flex:"~ col"},Le=["onClick"],Ue={flex:"~ gap-1 items-center wrap","w-full":"","text-sm":"",op60:""},He=e("div",{"i-carbon-time":""},null,-1),Ke=e("div",{"flex-auto":""},null,-1),Me=e("div",{"x-divider":""},null,-1),Oe={flex:"~ items-center justify-center wrap",p4:""},qe={flex:"~ col gap-1","w-250":"",p4:""},Je=e("h3",{class:"text-lg font-medium leading-6",mb2:""}," Start analyze build? ",-1),We=e("p",{op50:""}," Enter the name of the build: ",-1),Ye=e("div",{my3:"","x-divider":""},null,-1),Ze=e("p",{op50:""}," The following command will be executed in your terminal: ",-1),Qe={flex:"~ gap-3",mt2:"","justify-end":""},st=R({__name:"analyze-build",setup(C){const p=X(),f=ee(),l=te(),$=ne("analyze-build:slug",""),g=V(()=>f.value?.builds.find(d=>d.slug===$.value)??f.value?.builds[0]),x=F(!1),t=F(""),u=V(()=>f.value?.builds.some(d=>d.name===t.value.trim()));async function z(){t.value=await E.generateAnalyzeBuildName(),await p.start()&&(k.value={name:t.value,processId:await E.startAnalyzeBuild(await L(),t.value)},x.value&&v())}const N=oe();function v(){k.value?.processId&&(N.value=k.value.processId,l.push("/modules/terminals"))}function T(d){return`${((d.endTime-d.startTime)/1e3).toFixed(1)}s`}return le(()=>[{id:"action:analyze-build: start",title:"Start a new analyze build",icon:"i-carbon-edge-node",action:z}]),(d,h)=>{const B=U,H=Fe,K=re,M=ie,O=se,q=de,J=ce,W=me,Y=ae,Z=je,Q=_e;return o(),i(c,null,[r(M,{"left-size":30},{left:a(()=>[e("div",Ge,[(o(!0),i(c,null,j(n(f)?.builds,s=>(o(),i(c,{key:s.slug},[e("button",{flex:"~ col gap1","hover:bg-active":"",p3:"",class:S(s.slug===n(g)?.slug?"text-primary bg-active":""),onClick:y=>$.value=s.slug},[e("code",null,m(s.name),1),e("div",Ue,[He,e("span",null,m(T(s)),1),Ke,e("span",null,m(n(G)(new Date(s.endTime))),1)])],10,Le),Me],64))),128)),e("div",Oe,[("processAnalyzeBuildInfo"in d?d.processAnalyzeBuildInfo:n(k))?(o(),w(B,{key:1,n:"primary",icon:"carbon-circle-dash animate-spin",onClick:h[1]||(h[1]=s=>v())},{default:a(()=>[_(" Building... ")]),_:1})):(o(),w(B,{key:0,n:"primary",icon:"carbon-edge-node",onClick:h[0]||(h[0]=s=>z())},{default:a(()=>[_(" Start a new build ")]),_:1}))])])]),right:a(()=>[n(g)?(o(),w(H,{key:0,current:n(g)},null,8,["current"])):(o(),w(K,{key:1}))]),_:1}),r(n(p),null,{default:a(({resolve:s})=>[r(Y,{"model-value":!0,onClose:y=>s(!1)},{default:a(()=>[e("div",qe,[Je,We,r(O,{modelValue:n(t),"onUpdate:modelValue":h[2]||(h[2]=y=>P(t)?t.value=y:null),placeholder:"Build name"},null,8,["modelValue"]),n(u)?(o(),w(q,{key:0,"n-orange":""},{default:a(()=>[_(" A build with the same name already exists, continue would overrides the previous build result. ")]),_:1})):b("",!0),Ye,Ze,r(J,{code:`npx nuxi analyze --no-serve --name=${n(t)}`,lang:"bash",px4:"",py2:"",border:"~ base rounded",lines:!1},null,8,["code"]),r(W,{modelValue:n(x),"onUpdate:modelValue":h[3]||(h[3]=y=>P(x)?x.value=y:null),mt2:"",n:"primary"},{default:a(()=>[_(" Navigate to terminal ")]),_:1},8,["modelValue"]),e("div",Qe,[r(B,{onClick:y=>s(!1)},{default:a(()=>[_(" Cancel ")]),_:2},1032,["onClick"]),r(B,{n:"solid primary",onClick:y=>s(!0)},{default:a(()=>[_(" Start ")]),_:2},1032,["onClick"])])])]),_:2},1032,["onClose"])]),_:1}),r(Q,null,{default:a(()=>[r(Z)]),_:1})],64)}}});export{st as default};
@@ -0,0 +1,16 @@
1
+ import{g as R,r as I,O as q,o as a,c as u,b as m,s as n,a as e,d as A,F as S,n as O,h as F,w as y,v as T,q as G,P as L,Q as le,R as ie,A as X,B as W,S as Q,T as H,M as J,k as ee,m as k,U as re,V as ce,W as te,t as P,X as ne,Y as ue,L as M,Z as de,a0 as Y,a1 as pe,a2 as me,a3 as fe,N as ve,a4 as he,a5 as _e,a6 as ge}from"./entry.331cb74a.js";import{_ as xe}from"./Navbar.vue.f3d9c7e0.js";import{_ as be}from"./NSectionBlock.36261208.js";import{_ as we}from"./FilepathItem.vue.c12140f3.js";import{_ as ye}from"./CodeSnippets.vue.dc4d9439.js";import{_ as $e}from"./DrawerRight.vue.76906913.js";import{D as ke}from"./constants.4e5eba24.js";import"./NIconTitle.vue.2bd823c1.js";import"./NCodeBlock.vue.cd2d281d.js";import"./client.1d68892a.js";const Ce={key:0,"h-full":"","w-full":"",flex:"","items-center":"","justify-center":""},Pe={for:"drop-zone-input","text-3xl":""},Ae={key:1,relative:"","h-full":"","w-full":"",grid:"~ rows-[max-content_1fr_max-content]"},De=e("div",{px6:"",py6:""},[e("h1",{"text-2xl":""}," Upload "),e("p",{"text-sm":"",op50:""}," Drag and drop files to upload ")],-1),Ve={grid:"~ cols-minmax-8rem","overflow-auto":"",p6:""},Ne={flex:"","items-center":"","justify-center":"","of-hidden":"",rounded:"","rounded-t-lg":"","bg-active":"","object-cover":"",class:"aspect-1/1",border:"~ base"},Fe=["src"],Ie={flex:"~ gap1","items-center":""},Se={flex:"~ gap-2","items-center":"","justify-center":"",p8:""},Te=R({__name:"DropZone",props:{folder:{type:String,required:!0}},setup(D){const l=D,r=I(!1),o=I(),d=I([]),f=["image","video"];function z(s){o.value=s.target,r.value=!0}function v(s){s.target===o.value&&(r.value=!1)}function C(s){s.preventDefault()}function U(s){s.preventDefault(),j(s.dataTransfer.files)}function j(s){const c=Array.from(s||[]);if(c.length){const w=[],i=d.value.map(t=>t.name);for(const t of c)if(i.includes(t.name)){let p=1;const[_,E]=t.name.split(".");for(;i.includes(`${_} (${p}).${E}`);)p++;const $=`${_}-${p}.${E}`,K=new Blob([t],{type:t.type}),Z=new File([K],$,{lastModified:Date.now()});w.push(Z),i.push($)}else t.type===""?L({message:"Folders are not supported yet",icon:"carbon:face-dissatisfied",classes:"text-orange"}):f.some(p=>t.type.includes(p))?w.push(t):L({message:`"${t.type}" file type is not allowed`,icon:"carbon:face-dissatisfied",classes:"text-orange"});d.value=[...d.value,...w]}}async function g(){if(le.value||ie.value)return;const s=[];for(const c of d.value){const w=new FileReader;w.readAsDataURL(c);const t=(await new Promise(p=>{w.onload=()=>p(w.result)})).split(";base64,").pop();s.push({name:c.name,data:t})}await X.writeStaticAssets(await W(),[...s],l.folder).then(()=>{V(),L({message:"Files uploaded successfully!",icon:"i-carbon:checkmark"})}).catch(c=>{console.error(c),V(),L({message:`Error uploading files: ${c}`,icon:"i-carbon-warning",classes:"text-red"})}),r.value=!1}function h(s){d.value?.splice(s,1)}function x(s){return URL.createObjectURL(s)}function B(s,c){const[w,i]=s.name.split("."),t=c.replace(/\.\w+$/,""),p=`${t}.${i}`;return t.length===0?(alert("File name must be at least 1 characters long"),w):(Object.defineProperty(s,"name",{value:p,writable:!1}),d.value.splice(d.value.indexOf(s),1,s),s)}function b(){d.value=[]}function V(){r.value=!1,b()}return q("dragenter",z),q("dragleave",v),q("dragover",C),q("drop",U),(s,c)=>{const w=Q,i=H,t=J,p=ee;return a(),u("div",{fixed:"","bottom-0":"","left-13":"","right-0":"","top-0":"","z-10":"","backdrop-blur-20":"","transition-all":"",class:G(n(r)?"opacity-100 visible":"opacity-0 invisible")},[m(w,{icon:"carbon-close",absolute:"","right-5":"","top-5":"","z-20":"","text-xl":"",onClick:V}),n(d)?.length?(a(),u("div",Ae,[De,e("div",Ve,[(a(!0),u(S,null,O(n(d),(_,E)=>(a(),u("div",{key:_.name,flex:"~ col gap-2",relative:"","h-50":"","w-40":"","items-center":""},[e("div",Ne,[e("img",{"h-full":"","w-full":"","rounded-t-lg":"","object-cover":"",src:x(_)},null,8,Fe)]),e("div",Ie,[m(t,{n:"xs","flex-auto":"","model-value":_.name,"onUpdate:modelValue":$=>B(_,$.target.value)},null,8,["model-value","onUpdate:modelValue"]),m(w,{icon:"carbon-delete","flex-none":"",title:"Remove file",onClick:$=>h(E)},null,8,["onClick"])])]))),128))]),e("div",Se,[n(d).length?(a(),F(p,{key:0,n:"red",onClick:b},{default:y(()=>[m(i,{icon:"carbon-clean"}),A(" Clear ")]),_:1})):T("",!0),m(p,{disabled:!n(d).length,n:"primary solid",onClick:g},{default:y(()=>[m(i,{icon:"carbon-cloud-upload"}),A(" Upload ")]),_:1},8,["disabled"])])])):(a(),u("div",Ce,[e("label",Pe,[m(i,{icon:"carbon-cloud-upload","mr-2":""}),A(" Drop files here or click to select ")]),e("input",{id:"drop-zone-input",type:"file",multiple:"",hidden:"",onChange:c[0]||(c[0]=_=>j(_.target.files))},null,32)]))],2)}}}),je=R({__name:"AssetFontPreview",props:{asset:{}},setup(D){const l=D,r=k(()=>`devtools-assets-${re(l.asset)}`);return ce(k(()=>`
2
+ @font-face {
3
+ font-family: '${r.value}';
4
+ src: url('${l.asset.publicPath}');
5
+ }
6
+ `)),(o,d)=>(a(),u("div",{"of-hidden":"",style:te({fontFamily:`'${n(r)}'`})}," Aa Bb Cc Dd Ee Ff Gg Hh Ii Jj Kk Ll Mm Nn Oo Pp Qq Rr Ss Tt Uu Vv Ww Xx Yy Zz ",4))}}),Be={flex:"","items-center":"","justify-center":"","of-hidden":"","bg-active":"","object-cover":"",p1:""},Ee=["src"],Le={key:2,"i-carbon-document":"","text-3xl":"",op20:""},Ue={key:3,"w-full":"","self-start":"",p4:""},ze=["textContent"],Me={key:4},Re=["src","autoplay","controls"],Oe={key:5,"i-carbon-help":"","text-3xl":"",op20:""},oe=R({__name:"AssetPreview",props:{asset:{},textContent:{},detail:{type:Boolean}},setup(D){return(l,r)=>{const o=je;return a(),u("div",Be,[l.asset.type==="image"?(a(),u("img",{key:0,src:l.asset.publicPath},null,8,Ee)):l.asset.type==="font"?(a(),F(o,{key:l.asset.publicPath,asset:l.asset,"self-stretch":"",p2:"","text-2xl":""},null,8,["asset"])):l.asset.type==="text"&&!l.textContent?(a(),u("div",Le)):l.asset.type==="text"&&l.textContent?(a(),u("div",Ue,[e("pre",{"max-h-10rem":"","of-hidden":"","text-xs":"","font-mono":"",textContent:P(l.textContent)},null,8,ze)])):l.asset.type==="video"?(a(),u("div",Me,[e("video",{src:l.asset.publicPath,autoplay:l.detail,controls:l.detail},null,8,Re)])):(a(),u("div",Oe))])}}}),Xe={flex:"~ col gap-1",hover:"bg-active","items-center":"","of-hidden":"",rounded:"",p2:""},Ze={"w-full":"","of-hidden":"",truncate:"","ws-nowrap":"","text-center":"","text-xs":""},qe=R({__name:"AssetGridItem",props:{asset:{},folder:{}},setup(D){const l=D,r=k(()=>l.folder&&l.asset.path.startsWith(l.folder)?l.asset.path.slice(l.folder.length):l.asset.path);return(o,d)=>{const f=oe;return a(),u("button",Xe,[m(f,{"h-30":"","w-30":"",rounded:"",border:"~ base",asset:o.asset},null,8,["asset"]),e("div",Ze,P(n(r)),1)])}}}),Ge=e("div",{"x-divider":""},null,-1),se=R({__name:"AssetListItem",props:{item:{},index:{default:0},modelValue:{}},setup(D,{emit:l}){const r=D,o=ne(r,"modelValue",l,{passive:!0}),d=k(()=>r.item?.children?.length),f=I(!0),z=k(()=>d.value?"i-carbon-folder":r.item.type==="image"?"i-carbon-image":r.item.type==="video"?"i-carbon-video":r.item.type==="audio"?"i-carbon-volume-up":r.item.type==="font"?"i-carbon-text-small-caps":r.item.type==="text"?"i-carbon-document":r.item.type==="json"?"i-carbon-json":"i-carbon-document-blank");return(v,C)=>{const U=H,j=se;return a(),u("div",null,[e("button",{flex:"~ gap-2","w-full":"","items-center":"",hover:"bg-active",px4:"",py1:"",style:te({paddingLeft:`calc(1rem + ${v.index*1.5}em)`}),class:G({"bg-active":!n(d)&&n(o)?.filePath===v.item?.filePath}),onClick:C[0]||(C[0]=g=>n(d)?f.value=!n(f):o.value=v.item)},[e("div",{class:G(n(z))},null,2),e("span",{class:G({"flex items-center":n(d)}),"flex-auto":"","text-start":"","text-sm":"","font-mono":""},P(v.item.path),3),n(d)?(a(),F(U,{key:0,icon:"carbon:chevron-right","transform-rotate":n(f)?90:0,transition:""},null,8,["transform-rotate"])):T("",!0)],6),Ge,n(f)?ue(v.$slots,"default",{key:0},()=>[(a(!0),u(S,null,O(v.item?.children,g=>(a(),F(j,{key:g.filepath,modelValue:n(o),"onUpdate:modelValue":C[1]||(C[1]=h=>M(o)?o.value=h:null),item:g,index:v.index+1},null,8,["modelValue","item","index"]))),128))]):T("",!0)])}}}),Ke={flex:"~ col gap-4","min-h-full":"","w-full":"","of-hidden":"",p4:""},We=e("div",{flex:"~ gap2","mb--2":"","items-center":"",op50:""},[e("div",{"x-divider":""}),e("div",{"flex-none":""}," Preview "),e("div",{"x-divider":""})],-1),Qe={flex:"~","items-center":"","justify-center":""},Ye=e("div",{flex:"~ gap2","mb--2":"","items-center":"",op50:""},[e("div",{"x-divider":""}),e("div",{"flex-none":""}," Details "),e("div",{"x-divider":""})],-1),He={"max-w-full":"","w-full":"","table-fixed":""},Je=e("td",{"w-30":"","ws-nowrap":"",pr5:"","text-right":"",op50:""}," Filepath ",-1),et={flex:"~ gap-1","w-full":"","items-center":""},tt=e("td",{"w-30":"","ws-nowrap":"",pr5:"","text-right":"",op50:""}," Public Path ",-1),nt={flex:"~ gap-1","w-full":"","items-center":"","of-hidden":""},ot={"flex-auto":"","of-hidden":"",truncate:"","ws-pre":"","font-mono":""},st=e("td",{"w-30":"","ws-nowrap":"",pr5:"","text-right":"",op50:""}," Type ",-1),at={capitalize:""},lt=e("td",{"w-30":"","ws-nowrap":"",pr5:"","text-right":"",op50:""}," Image Size ",-1),it={key:0},rt=e("td",{"w-30":"","ws-nowrap":"",pr5:"","text-right":"",op50:""}," Aspect Ratio ",-1),ct=e("td",{"w-30":"","ws-nowrap":"",pr5:"","text-right":"",op50:""}," File size ",-1),ut=e("td",{"w-30":"","ws-nowrap":"",pr5:"","text-right":"",op50:""}," Last modified ",-1),dt={op70:""},pt=e("div",{flex:"~ gap2","mb--2":"","items-center":"",op50:""},[e("div",{"x-divider":""}),e("div",{"flex-none":""}," Actions "),e("div",{"x-divider":""})],-1),mt={flex:"~ gap2 wrap"},ft=e("div",{"flex-auto":""},null,-1),vt={flex:"~ col gap-4","min-h-full":"","w-full":"","of-hidden":"",p8:""},ht=e("span",null," Are you sure you want to delete this asset? ",-1),_t={flex:"~ gap2 wrap justify-center"},gt={flex:"~ col gap-4","min-h-full":"","w-full":"","of-hidden":"",p8:""},xt={flex:"~ gap2 wrap justify-center"},bt=R({__name:"AssetDetails",props:{modelValue:{}},setup(D,{emit:l}){const o=ne(D,"modelValue",l,{passive:!0}),d=de(),f=Y(()=>{if(o.value.type==="image")return X.getImageMeta(o.value.filePath)}),z=Y(()=>{if(o.value.type==="text")return X.getTextAssetContent(o.value.filePath)}),v=pe(),C=k(()=>(v.value?._installedModules||[]).some(t=>t.meta?.name==="@nuxt/image"||t.meta?.name==="@nuxt/image-edge")),U=k(()=>{const i=[];if(o.value.type==="image"){const t=f.value?.width?`
7
+ width="${f.value.width}"
8
+ height="${f.value.height}" `:" ";return i.push({lang:"vue-html",code:`<img${t}
9
+ src="${o.value.publicPath}"
10
+ />`,name:"Plain Image"}),C.value&&i.push({lang:"vue-html",code:`<NuxtImage${t}
11
+ src="${o.value.publicPath}"
12
+ />`,name:"Nuxt Image",docs:"https://image.nuxtjs.org/components/nuxt-img"},{lang:"vue-html",code:`<NuxtPicture${t}
13
+ src="${o.value.publicPath}"
14
+ />`,name:"Nuxt Picture",docs:"https://image.nuxtjs.org/components/nuxt-picture"}),i}return i.push({lang:"html",code:`<a download href="${o.value.publicPath}">
15
+ Download ${o.value.path.split("/").slice(-1)[0]}
16
+ </a>`,name:"Download link"}),i}),j=me(),g=fe(()=>o.value.mtime),h=k(()=>{const i=o.value.size;return i<1024?`${i} B`:i<1024*1024?`${(i/1024).toFixed(2)} KB`:`${(i/1024/1024).toFixed(2)} MB`}),x=k(()=>{if(!f.value?.width||!f.value?.height)return"";const i=(p,_)=>_?i(_,p%_):p,t=i(f.value.width,f.value.height);return t>3?`${f.value.width/t}:${f.value.height/t}`:""}),B=k(()=>["image","text","video","font"].includes(o.value.type)),b=I(!1);async function V(){try{await X.deleteStaticAsset(await W(),o.value.filePath),o.value=void 0,b.value=!1,L({message:"Asset deleted",icon:"i-carbon-checkmark",classes:"text-green"})}catch{L({message:"Something went wrong!",icon:"i-carbon-warning",classes:"text-red"})}}const s=I(!1),c=I("");async function w(){const i=o.value.filePath.split("/"),t=i.slice(-1)[0].split(".").slice(0,-1).join(".");if(!c.value||c.value===t)return L({message:"Please enter a new name",icon:"i-carbon-warning",classes:"text-orange"});try{const p=i.slice(-1)[0].split(".").slice(-1)[0],_=`${i.slice(0,-1).join("/")}/${c.value}.${p}`;await X.renameStaticAsset(await W(),o.value.filePath,_),o.value=void 0,s.value=!1,L({message:"Asset renamed",icon:"i-carbon-checkmark",classes:"text-green"})}catch{L({message:"Something went wrong!",icon:"i-carbon-warning",classes:"text-red"})}}return(i,t)=>{const p=oe,_=we,E=Q,$=ee,K=ye,Z=ve,ae=J;return a(),u(S,null,[e("div",Ke,[n(B)?(a(),u(S,{key:0},[We,e("div",Qe,[m(p,{detail:"","max-h-80":"","min-h-20":"","min-w-20":"","w-auto":"",rounded:"",border:"~ base",asset:n(o),"text-content":n(z)},null,8,["asset","text-content"])])],64)):T("",!0),Ye,e("table",He,[e("tbody",null,[e("tr",null,[Je,e("td",null,[e("div",et,[m(_,{filepath:n(o).filePath,"text-left":""},null,8,["filepath"]),m(E,{"flex-none":"",title:"Open in Editor",icon:"carbon-launch",onClick:t[0]||(t[0]=N=>n(d)(n(o).filePath))})])])]),e("tr",null,[tt,e("td",null,[e("div",nt,[e("div",ot,P(n(o).publicPath),1),m(E,{"flex-none":"",title:"Copy public path",icon:"carbon-copy",onClick:t[1]||(t[1]=N=>n(j)(n(o).publicPath))}),m(E,{"flex-none":"",to:n(o).publicPath,icon:"carbon-launch",target:"_blank",title:"Open in browser"},null,8,["to"])])])]),e("tr",null,[st,e("td",at,P(n(o).type),1)]),n(f)?.width?(a(),u(S,{key:0},[e("tr",null,[lt,e("td",null,P(n(f).width)+" x "+P(n(f).height),1)]),n(x)?(a(),u("tr",it,[rt,e("td",null,P(n(x)),1)])):T("",!0)],64)):T("",!0),e("tr",null,[ct,e("td",null,P(n(h)),1)]),e("tr",null,[ut,e("td",null,[A(P(new Date(n(o).mtime).toLocaleString())+" ",1),e("span",dt,"("+P(n(g))+")",1)])])])]),pt,e("div",mt,[m($,{to:n(o).publicPath,download:"",target:"_blank",icon:"carbon-download",n:"green"},{default:y(()=>[A(" Download ")]),_:1},8,["to"]),m($,{icon:"carbon-text-annotation-toggle",n:"blue",onClick:t[2]||(t[2]=N=>s.value=!n(s))},{default:y(()=>[A(" Rename ")]),_:1}),m($,{icon:"carbon-delete",n:"red",onClick:t[3]||(t[3]=N=>b.value=!n(b))},{default:y(()=>[A(" Delete ")]),_:1}),n(o).type==="image"?(a(),F($,{key:0,disabled:"",icon:"carbon-image-service"},{default:y(()=>[A(" Optimize image (Coming soon) ")]),_:1})):T("",!0)]),ft,n(U).length?(a(),F(K,{key:1,border:"t base","mx--4":"","mb--4":"","code-snippets":n(U)},null,8,["code-snippets"])):T("",!0)]),m(Z,{modelValue:n(b),"onUpdate:modelValue":t[5]||(t[5]=N=>M(b)?b.value=N:null)},{default:y(()=>[e("div",vt,[ht,e("div",_t,[m($,{icon:"carbon-close",onClick:t[4]||(t[4]=N=>b.value=!1)},{default:y(()=>[A(" Cancel ")]),_:1}),m($,{icon:"carbon-delete",n:"red",onClick:V},{default:y(()=>[A(" Delete ")]),_:1})])])]),_:1},8,["modelValue"]),m(Z,{modelValue:n(s),"onUpdate:modelValue":t[8]||(t[8]=N=>M(s)?s.value=N:null)},{default:y(()=>[e("div",gt,[m(ae,{modelValue:n(c),"onUpdate:modelValue":t[6]||(t[6]=N=>M(c)?c.value=N:null),placeholder:"New name",n:"blue"},null,8,["modelValue"]),e("div",xt,[m($,{icon:"carbon-close",onClick:t[7]||(t[7]=N=>s.value=!1)},{default:y(()=>[A(" Cancel ")]),_:1}),m($,{icon:"carbon-text-annotation-toggle",n:"blue",onClick:w},{default:y(()=>[A(" Rename ")]),_:1})])])]),_:1},8,["modelValue"])],64)}}}),wt={"h-full":"","of-auto":""},yt={"flex-none":"",flex:"~ gap2 items-center"},$t={op50:""},kt={key:0},Ct={"mt--4":"",px2:"",grid:"~ cols-minmax-8rem"},Pt={key:1,p2:"",grid:"~ cols-minmax-8rem"},At={key:1},Lt=R({__name:"assets",setup(D){const l=he(),r=I(""),o=k(()=>new _e(l.value||[],{keys:["path"]})),d=k(()=>r.value?o.value.search(r.value).map(h=>h.item):l.value||[]),f=k(()=>{const g={};for(const h of d.value){const x=`${h.path.split("/").slice(0,-1).join("/")}/`;g[x]||(g[x]=[]),g[x].push(h)}return Object.entries(g).sort(([h],[x])=>h.localeCompare(x))}),z=k(()=>{const g={path:"public",children:[]},h=(x,B,b)=>{const[V,...s]=B;let c=x.children.find(w=>w.path===V);c||(c={...b,path:V,children:[]},x.children.push(c)),s.length>1?h(c,s,b):s.length===1&&c.children.push({...b,path:s[0]})};return d.value.forEach(x=>{const B=x.path.split("/").filter(b=>b!=="");h(g,B,x)}),g.children}),v=I(),C=I("grid");function U(){C.value=C.value==="list"?"grid":"list"}ge("Escape",()=>{v.value=void 0});const j=I();return(g,h)=>{const x=Q,B=xe,b=Te,V=qe,s=be,c=se,w=bt,i=$e;return a(),u("div",wt,[m(B,{ref_key:"navbar",ref:j,search:n(r),"onUpdate:search":h[0]||(h[0]=t=>M(r)?r.value=t:null),pb2:""},{actions:y(()=>[e("div",yt,[m(x,{"text-lg":"",icon:n(C)==="grid"?"i-carbon-list":"i-carbon-grid",title:"Toggle view",onClick:U},null,8,["icon"])])]),default:y(()=>[e("div",$t,[n(r)?(a(),u("span",kt,P(n(d).length)+" matched · ",1)):T("",!0),e("span",null,P(n(l)?.length)+" assets in total",1)])]),_:1},8,["search"]),m(b,{folder:"/"}),n(C)==="grid"?(a(),u(S,{key:0},[n(f).length>1?(a(!0),u(S,{key:0},O(n(f),([t,p])=>(a(),F(s,{key:t,text:t,description:`${p.length} items`,open:p.length<=("DETAILS_MAX_ITEMS"in g?g.DETAILS_MAX_ITEMS:n(ke)),padding:!1},{default:y(()=>[e("div",Ct,[(a(!0),u(S,null,O(p,_=>(a(),F(V,{key:_.path,asset:_,folder:t,onClick:E=>v.value=_},null,8,["asset","folder","onClick"]))),128))])]),_:2},1032,["text","description","open"]))),128)):(a(),u("div",Pt,[(a(!0),u(S,null,O(n(d),t=>(a(),F(V,{key:t.path,asset:t,onClick:p=>v.value=t},null,8,["asset","onClick"]))),128))]))],64)):(a(),u("div",At,[(a(!0),u(S,null,O(n(z),(t,p)=>(a(),F(c,{key:p,modelValue:n(v),"onUpdate:modelValue":h[1]||(h[1]=_=>M(v)?v.value=_:null),item:t},null,8,["modelValue","item"]))),128))])),m(i,{"model-value":!!n(v),"auto-close":"","w-120":"",navbar:n(j),onClose:h[3]||(h[3]=t=>v.value=void 0)},{default:y(()=>[n(v)?(a(),F(w,{key:0,modelValue:n(v),"onUpdate:modelValue":h[2]||(h[2]=t=>M(v)?v.value=t:null)},null,8,["modelValue"])):T("",!0)]),_:1},8,["model-value","navbar"])])}}});export{Lt as default};
@@ -1 +1 @@
1
- import{bf as f,bv as r}from"./entry.6507cb32.js";let o;const n=[];function s(i){if(n.push(i),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&n.forEach(e=>e(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(e){e&&n.forEach(t=>t(e))},get(){return o.value},configurable:!0}),()=>{n.splice(n.indexOf(i),1)}}function u(){o||(o=f(),s(e));function i(){r(o)}function e(t){o.value=t,t.host&&t.host.hooks.hook("host:update:reactivity",i)}return o}const c=u();export{c as d};
1
+ import{bf as f,bv as r}from"./entry.331cb74a.js";let o;const n=[];function s(i){if(n.push(i),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&n.forEach(e=>e(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(e){e&&n.forEach(t=>t(e))},get(){return o.value},configurable:!0}),()=>{n.splice(n.indexOf(i),1)}}function u(){o||(o=f(),s(e));function i(){r(o)}function e(t){o.value=t,t.host&&t.host.hooks.hook("host:update:reactivity",i)}return o}const c=u();export{c as d};
@@ -1,4 +1,4 @@
1
- import{o as fe,c as lt,a as ee,d as ja,g as Gi,m as rn,t as ok,s as Z,a2 as sk,b as Be,h as $t,v as Qt,Y as Vu,S as g_,r as Sa,a7 as uk,a8 as lk,a1 as ck,a9 as hk,aa as dk,ab as fk,w as qe,F as Vr,ac as y_,ad as vk,L as pi,k as pk,ae as gk,a5 as yk,af as mk,ag as $k,n as ga,ah as bk,ai as wk}from"./entry.6507cb32.js";import{_ as _k}from"./HelpFab.vue.a8d95bd1.js";import{u as Ek,a as Sk}from"./state-components.cd34df16.js";import{_ as Ok}from"./NCheckbox.vue.63949e52.js";import{_ as m_}from"./Navbar.vue.1a2a587f.js";import{_ as $_}from"./Badge.8d650e3b.js";import{_ as b_}from"./FilepathItem.vue.84aa0a31.js";import{_ as Tk}from"./DrawerRight.vue.3ab85e5b.js";import{_ as xk}from"./NSectionBlock.b074e0b8.js";import{_ as Pk}from"./NIconTitle.vue.0a904b99.js";import{D as jl}from"./constants.4e5eba24.js";const kk={class:"markdown-body"},Ik=ee("h1",null,"Components",-1),Ck=ee("p",null,[ja("Vue components under the "),ee("code",null,"components/"),ja(" directory are automatically registered and can be used in your templates without importing them.")],-1),Ak=ee("p",null,[ee("a",{href:"https://nuxt.com/docs/guide/directory-structure/components",target:"_blank",rel:"noopener"},"Learn more on the documentation")],-1),Rk=[Ik,Ck,Ak],Dk={__name:"components",setup(t,{expose:i}){return i({frontmatter:{}}),(r,n)=>(fe(),lt("div",kk,Rk))}},Mk=/\d/,Nk=["-","_","/","."];function Fk(t=""){if(!Mk.test(t))return t.toUpperCase()===t}function Bk(t,i){const e=i??Nk,r=[];if(!t||typeof t!="string")return r;let n="",a,o;for(const s of t){const u=e.includes(s);if(u===!0){r.push(n),n="",a=void 0;continue}const l=Fk(s);if(o===!1){if(a===!1&&l===!0){r.push(n),n=s,a=l;continue}if(a===!0&&l===!1&&n.length>1){const c=n[n.length-1];r.push(n.slice(0,Math.max(0,n.length-1))),n=c+s,a=l;continue}}n+=s,a=l,o=u}return r.push(n),r}function Lk(t){return t?t[0].toUpperCase()+t.slice(1):""}function w_(t){return t?(Array.isArray(t)?t:Bk(t)).map(i=>Lk(i)).join(""):""}const jk={"text-sm":"","font-mono":""},zk=ee("span",{mr1:"",op20:""},"<",-1),Hk=ee("span",{ml1:"",op20:""},"/>",-1),__=Gi({__name:"ComponentName",props:{component:{}},setup(t){const i=t,e=rn(()=>i.component.pascalName||w_(i.component.name||i.component.__name||i.component.kebabName||""));return(r,n)=>(fe(),lt("code",jk,[zk,ja(ok(Z(e)),1),Hk]))}}),Wk={flex:"~ col gap1","items-start":"","of-hidden":""},Vk={flex:"~ gap2"},E_=Gi({__name:"ComponentDetails",props:{component:{}},setup(t){const i=t,e=rn(()=>i.component.pascalName||w_(i.component.name||i.component.__name||i.component.kebabName||"")),r=rn(()=>i.component.filePath||i.component.file||i.component.__file||""),n=sk();return(a,o)=>{const s=__,u=g_,l=$_,c=b_;return fe(),lt("div",Wk,[ee("div",Vk,[Be(s,{component:a.component},null,8,["component"]),Be(u,{title:"Copy name","flex-none":"",icon:"carbon-copy",onClick:o[0]||(o[0]=h=>Z(n)(`<${Z(e)}></${Z(e)}>`))}),a.component.global?(fe(),$t(l,{key:0,"bg-green-400:10":"","text-green-400":"",title:"Registered at runtime as a global component",textContent:"runtime"})):Qt("",!0)]),ee("div",null,[Z(r)?(fe(),$t(c,{key:0,filepath:Z(r),"w-full":"","text-sm":"",op25:"","group-hover:op75":""},null,8,["filepath"])):Qt("",!0)]),Vu(a.$slots,"default")])}}});/**
1
+ import{o as fe,c as lt,a as ee,d as ja,g as Gi,m as rn,t as ok,s as Z,a2 as sk,b as Be,h as $t,v as Qt,Y as Vu,S as g_,r as Sa,a7 as uk,a8 as lk,a1 as ck,a9 as hk,aa as dk,ab as fk,w as qe,F as Vr,ac as y_,ad as vk,L as pi,k as pk,ae as gk,a5 as yk,af as mk,ag as $k,n as ga,ah as bk,ai as wk}from"./entry.331cb74a.js";import{_ as _k}from"./HelpFab.vue.d8b5b257.js";import{u as Ek,a as Sk}from"./state-components.a65979c8.js";import{_ as Ok}from"./NCheckbox.vue.4cf6f83b.js";import{_ as m_}from"./Navbar.vue.f3d9c7e0.js";import{_ as $_}from"./Badge.6a68ac78.js";import{_ as b_}from"./FilepathItem.vue.c12140f3.js";import{_ as Tk}from"./DrawerRight.vue.76906913.js";import{_ as xk}from"./NSectionBlock.36261208.js";import{_ as Pk}from"./NIconTitle.vue.2bd823c1.js";import{D as jl}from"./constants.4e5eba24.js";const kk={class:"markdown-body"},Ik=ee("h1",null,"Components",-1),Ck=ee("p",null,[ja("Vue components under the "),ee("code",null,"components/"),ja(" directory are automatically registered and can be used in your templates without importing them.")],-1),Ak=ee("p",null,[ee("a",{href:"https://nuxt.com/docs/guide/directory-structure/components",target:"_blank",rel:"noopener"},"Learn more on the documentation")],-1),Rk=[Ik,Ck,Ak],Dk={__name:"components",setup(t,{expose:i}){return i({frontmatter:{}}),(r,n)=>(fe(),lt("div",kk,Rk))}},Mk=/\d/,Nk=["-","_","/","."];function Fk(t=""){if(!Mk.test(t))return t.toUpperCase()===t}function Bk(t,i){const e=i??Nk,r=[];if(!t||typeof t!="string")return r;let n="",a,o;for(const s of t){const u=e.includes(s);if(u===!0){r.push(n),n="",a=void 0;continue}const l=Fk(s);if(o===!1){if(a===!1&&l===!0){r.push(n),n=s,a=l;continue}if(a===!0&&l===!1&&n.length>1){const c=n[n.length-1];r.push(n.slice(0,Math.max(0,n.length-1))),n=c+s,a=l;continue}}n+=s,a=l,o=u}return r.push(n),r}function Lk(t){return t?t[0].toUpperCase()+t.slice(1):""}function w_(t){return t?(Array.isArray(t)?t:Bk(t)).map(i=>Lk(i)).join(""):""}const jk={"text-sm":"","font-mono":""},zk=ee("span",{mr1:"",op20:""},"<",-1),Hk=ee("span",{ml1:"",op20:""},"/>",-1),__=Gi({__name:"ComponentName",props:{component:{}},setup(t){const i=t,e=rn(()=>i.component.pascalName||w_(i.component.name||i.component.__name||i.component.kebabName||""));return(r,n)=>(fe(),lt("code",jk,[zk,ja(ok(Z(e)),1),Hk]))}}),Wk={flex:"~ col gap1","items-start":"","of-hidden":""},Vk={flex:"~ gap2"},E_=Gi({__name:"ComponentDetails",props:{component:{}},setup(t){const i=t,e=rn(()=>i.component.pascalName||w_(i.component.name||i.component.__name||i.component.kebabName||"")),r=rn(()=>i.component.filePath||i.component.file||i.component.__file||""),n=sk();return(a,o)=>{const s=__,u=g_,l=$_,c=b_;return fe(),lt("div",Wk,[ee("div",Vk,[Be(s,{component:a.component},null,8,["component"]),Be(u,{title:"Copy name","flex-none":"",icon:"carbon-copy",onClick:o[0]||(o[0]=h=>Z(n)(`<${Z(e)}></${Z(e)}>`))}),a.component.global?(fe(),$t(l,{key:0,"bg-green-400:10":"","text-green-400":"",title:"Registered at runtime as a global component",textContent:"runtime"})):Qt("",!0)]),ee("div",null,[Z(r)?(fe(),$t(c,{key:0,filepath:Z(r),"w-full":"","text-sm":"",op25:"","group-hover:op75":""},null,8,["filepath"])):Qt("",!0)]),Vu(a.$slots,"default")])}}});/**
2
2
  * vis-data
3
3
  * http://visjs.org/
4
4
  *
@@ -1 +1 @@
1
- import{g as j,a7 as N,r as A,m as k,aj as V,ak as $,aa as E,al as B,am as b,an as D,ao as I,c as M,o as s,ap as L,E as P,aq as W,ar as C,A as T,s as o,h as c,w as y,v as F,ai as O,F as R,i as S,a as u,d as w,t as q,b as U,ad as G}from"./entry.6507cb32.js";import{_ as X}from"./AuthRequiredPanel.vue.17c2a7bd.js";import{_ as z}from"./LaunchPage.vue.00d3a484.js";import"./NMarkdown.vue.a74698d6.js";import"./client.ece13385.js";const g=new Map,H=j({__name:"IframeView",props:{tab:{}},setup(f){const m=f,r=N(),p=A(),i=k(()=>m.tab.name),e=A(),t=V($(p));E(()=>{const n=m.tab.view,l=n.persistent!==!1,h=["clipboard-write","clipboard-read"];if(g.get(i.value)&&l)e.value=g.get(i.value),e.value.style.visibility="visible";else{e.value=document.createElement("iframe"),e.value.setAttribute("allow",h.join("; ")),l&&g.set(i.value,e.value),e.value.src=n.src;try{e.value.style.opacity="0.01",e.value.onload=()=>{d(),a(),e.value.style.opacity="1"}}catch{e.value.style.opacity="1"}document.body.appendChild(e.value),B(_)}setTimeout(a,100)}),b(_),b(a),b(d),D(()=>{e.value&&(e.value.style.visibility="hidden")});function a(){if(!(!e.value||!e.value.contentWindow))try{const n=e.value.contentWindow.document.querySelector("html");n?.classList.toggle("dark",r.value==="dark"),n?.classList.toggle("light",r.value==="dark"),new MutationObserver(()=>{r.value=e.value?.contentWindow?.document.querySelector("html")?.classList.contains("dark")?"dark":"light"}).observe(n,{attributes:!0,attributeFilter:["class"]})}catch{}}const v=I();function d(){if(!(!e.value||!e.value.contentWindow))try{e.value.contentWindow.__NUXT_DEVTOOLS__=v.value}catch{}}function _(){e.value&&Object.assign(e.value.style,{position:"fixed",left:`${t.left}px`,top:`${t.top}px`,width:`${t.width}px`,height:`${t.height}px`,outline:"none"})}return(n,l)=>(s(),M("div",{ref_key:"anchor",ref:p,"h-full":"","w-full":""},null,512))}}),J={flex:"~ col gap2",mxa:"","items-center":""},K=u("div",{"i-carbon-queued":"",mb2:"","text-5xl":"",op50:""},null,-1),Q={"text-xl":""},Y={"text-rose":""},Z=u("p",{op50:""}," It might because the module contributing this tab is not installed or enabled ",-1),ee=u("p",{mt8:"","animate-pulse":""}," Redirecting to overview page... ",-1),ie=j({__name:"custom-[name]",props:{name:{}},setup(f){const m=f,r=L(),p=P(),i=k(()=>m.name??r.params.name),e=W(),t=k(()=>e.value.find(a=>a.name===i.value));return E(()=>{t.value?t.value.requireAuth&&!C.value&&T.requestForAuth():setTimeout(()=>{t.value||p.push("/modules/overview")},2e3)}),(a,v)=>{const d=S,_=X,n=H,l=z,h=G;return s(),M(R,null,[o(t)?F("",!0):(s(),c(d,{key:0},{default:y(()=>[u("div",J,[K,u("p",Q,[w(" Tab "),u("code",Y,q(o(i)),1),w(" not found ")]),Z,ee])]),_:1})),o(t).requireAuth&&!("isDevAuthed"in a?a.isDevAuthed:o(C))?(s(),c(_,{key:1})):o(t).view.type==="iframe"?(s(),c(n,{key:2,tab:o(t)},null,8,["tab"])):o(t).view.type==="vnode"?(s(),c(O(o(t).view.vnode),{key:3})):o(t).view.type==="launch"?(s(),c(l,{key:4,icon:o(t).view.icon||o(t).icon,title:o(t).view.title||o(t).title,description:o(t).view.description,actions:o(t).view.actions,onAction:v[0]||(v[0]=x=>("rpc"in a?a.rpc:o(T)).customTabAction(o(t).name,x))},null,8,["icon","title","description","actions"])):(s(),c(d,{key:5},{default:y(()=>[U(h,{flex:"~ col","h-full":"","items-center":"","justify-center":""},{default:y(()=>[w(" Unknown tab type "+q(o(t).view),1)]),_:1})]),_:1}))],64)}}});export{ie as default};
1
+ import{g as j,a7 as N,r as A,m as k,aj as V,ak as $,aa as E,al as B,am as b,an as D,ao as I,c as M,o as s,ap as L,E as P,aq as W,ar as C,A as T,s as o,h as c,w as y,v as F,ai as O,F as R,i as S,a as u,d as w,t as q,b as U,ad as G}from"./entry.331cb74a.js";import{_ as X}from"./AuthRequiredPanel.vue.8365f094.js";import{_ as z}from"./LaunchPage.vue.7ca11100.js";import"./NMarkdown.vue.5af3ba6b.js";import"./client.1d68892a.js";const g=new Map,H=j({__name:"IframeView",props:{tab:{}},setup(f){const m=f,r=N(),p=A(),i=k(()=>m.tab.name),e=A(),t=V($(p));E(()=>{const n=m.tab.view,l=n.persistent!==!1,h=["clipboard-write","clipboard-read"];if(g.get(i.value)&&l)e.value=g.get(i.value),e.value.style.visibility="visible";else{e.value=document.createElement("iframe"),e.value.setAttribute("allow",h.join("; ")),l&&g.set(i.value,e.value),e.value.src=n.src;try{e.value.style.opacity="0.01",e.value.onload=()=>{d(),a(),e.value.style.opacity="1"}}catch{e.value.style.opacity="1"}document.body.appendChild(e.value),B(_)}setTimeout(a,100)}),b(_),b(a),b(d),D(()=>{e.value&&(e.value.style.visibility="hidden")});function a(){if(!(!e.value||!e.value.contentWindow))try{const n=e.value.contentWindow.document.querySelector("html");n?.classList.toggle("dark",r.value==="dark"),n?.classList.toggle("light",r.value==="dark"),new MutationObserver(()=>{r.value=e.value?.contentWindow?.document.querySelector("html")?.classList.contains("dark")?"dark":"light"}).observe(n,{attributes:!0,attributeFilter:["class"]})}catch{}}const v=I();function d(){if(!(!e.value||!e.value.contentWindow))try{e.value.contentWindow.__NUXT_DEVTOOLS__=v.value}catch{}}function _(){e.value&&Object.assign(e.value.style,{position:"fixed",left:`${t.left}px`,top:`${t.top}px`,width:`${t.width}px`,height:`${t.height}px`,outline:"none"})}return(n,l)=>(s(),M("div",{ref_key:"anchor",ref:p,"h-full":"","w-full":""},null,512))}}),J={flex:"~ col gap2",mxa:"","items-center":""},K=u("div",{"i-carbon-queued":"",mb2:"","text-5xl":"",op50:""},null,-1),Q={"text-xl":""},Y={"text-rose":""},Z=u("p",{op50:""}," It might because the module contributing this tab is not installed or enabled ",-1),ee=u("p",{mt8:"","animate-pulse":""}," Redirecting to overview page... ",-1),ie=j({__name:"custom-[name]",props:{name:{}},setup(f){const m=f,r=L(),p=P(),i=k(()=>m.name??r.params.name),e=W(),t=k(()=>e.value.find(a=>a.name===i.value));return E(()=>{t.value?t.value.requireAuth&&!C.value&&T.requestForAuth():setTimeout(()=>{t.value||p.push("/modules/overview")},2e3)}),(a,v)=>{const d=S,_=X,n=H,l=z,h=G;return s(),M(R,null,[o(t)?F("",!0):(s(),c(d,{key:0},{default:y(()=>[u("div",J,[K,u("p",Q,[w(" Tab "),u("code",Y,q(o(i)),1),w(" not found ")]),Z,ee])]),_:1})),o(t).requireAuth&&!("isDevAuthed"in a?a.isDevAuthed:o(C))?(s(),c(_,{key:1})):o(t).view.type==="iframe"?(s(),c(n,{key:2,tab:o(t)},null,8,["tab"])):o(t).view.type==="vnode"?(s(),c(O(o(t).view.vnode),{key:3})):o(t).view.type==="launch"?(s(),c(l,{key:4,icon:o(t).view.icon||o(t).icon,title:o(t).view.title||o(t).title,description:o(t).view.description,actions:o(t).view.actions,onAction:v[0]||(v[0]=x=>("rpc"in a?a.rpc:o(T)).customTabAction(o(t).name,x))},null,8,["icon","title","description","actions"])):(s(),c(d,{key:5},{default:y(()=>[U(h,{flex:"~ col","h-full":"","items-center":"","justify-center":""},{default:y(()=>[w(" Unknown tab type "+q(o(t).view),1)]),_:1})]),_:1}))],64)}}});export{ie as default};
@@ -1 +1 @@
1
- import{_ as o,c as s,a as t,Y as a,o as c}from"./entry.6507cb32.js";const n={},r={"h-full":"","of-auto":"","n-panel-grids":""},l={"h-full":"","bg-base":""};function _(e,d){return c(),s("div",r,[t("div",l,[a(e.$slots,"default")])])}const i=o(n,[["render",_]]);export{i as default};
1
+ import{_ as o,c as s,a as t,Y as a,o as c}from"./entry.331cb74a.js";const n={},r={"h-full":"","of-auto":"","n-panel-grids":""},l={"h-full":"","bg-base":""};function _(e,d){return c(),s("div",r,[t("div",l,[a(e.$slots,"default")])])}const i=o(n,[["render",_]]);export{i as default};