@nuxt/devtools-nightly 2.0.0-beta.0-28940205.5b566fb → 2.0.0-beta.1-28945928.8db1f2a

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 (81) hide show
  1. package/dist/chunks/module-main.mjs +54 -51
  2. package/dist/chunks/vscode.mjs +1 -1
  3. package/dist/client/200.html +12 -12
  4. package/dist/client/404.html +12 -12
  5. package/dist/client/_nuxt/{analyze-build-kcwmvlyl.js → analyze-build-dhl902y9.js} +1 -1
  6. package/dist/client/_nuxt/{assets-ivvrbi3q.js → assets-tdu15xdh.js} +3 -3
  7. package/dist/client/_nuxt/builds/latest.json +1 -1
  8. package/dist/client/_nuxt/builds/meta/d3cc6080-b1af-4518-8c18-051df89d9c28.json +1 -0
  9. package/dist/client/_nuxt/{code-diff.vue-bhijg81q.js → code-diff.vue-i6ai5lst.js} +1 -1
  10. package/dist/client/_nuxt/{code-snippets.vue-i4e657wf.js → code-snippets.vue-hvapgodh.js} +1 -1
  11. package/dist/client/_nuxt/{components-krpx1826.js → components-flcxjbpi.js} +1 -1
  12. package/dist/client/_nuxt/{composable-item.vue-kwpzi9u7.js → composable-item.vue-nf0lmc00.js} +1 -1
  13. package/dist/client/_nuxt/{custom-_name_-cepykbos.js → custom-_name_-gctvnum9.js} +1 -1
  14. package/dist/client/_nuxt/{default-mk5axw1k.js → default-etxkwzb2.js} +1 -1
  15. package/dist/client/_nuxt/{error-404-lp8coab3.js → error-404-n2bv7ov9.js} +1 -1
  16. package/dist/client/_nuxt/error-404.css-gakauvtn.css +1 -0
  17. package/dist/client/_nuxt/{error-500-d4b6gi3u.js → error-500-luh9fo24.js} +1 -1
  18. package/dist/client/_nuxt/error-500.css-nt5emrt3.css +1 -0
  19. package/dist/client/_nuxt/error-fut0s14b.js +9 -0
  20. package/dist/client/_nuxt/filepath-item.vue-ldc0cd59.js +1 -0
  21. package/dist/client/_nuxt/{full-j8mngb76.js → full-l6aaq3cv.js} +1 -1
  22. package/dist/client/_nuxt/{help-fab.vue-gtlaa6k2.js → help-fab.vue-hhv95xvg.js} +1 -1
  23. package/dist/client/_nuxt/{hooks-htmew7il.js → hooks-nnc2743y.js} +1 -1
  24. package/dist/client/_nuxt/imports-fknrz1re.js +1 -0
  25. package/dist/client/_nuxt/index-bbxva40i.js +1 -0
  26. package/dist/client/_nuxt/index-lty6c7e5.js +2 -0
  27. package/dist/client/_nuxt/launch-page.vue-n4iqorpj.js +1 -0
  28. package/dist/client/_nuxt/{modules-hdu1ikfi.js → modules-j9u2l2km.js} +1 -1
  29. package/dist/client/_nuxt/{nbadge-fktngirm.js → nbadge-ixgsh96g.js} +1 -1
  30. package/dist/client/_nuxt/{ncheckbox.vue-fs1yhvat.js → ncheckbox.vue-ktnsaj70.js} +1 -1
  31. package/dist/client/_nuxt/{ndrawer.vue-cjxfdzsk.js → ndrawer.vue-oeawm3h0.js} +1 -1
  32. package/dist/client/_nuxt/{ndropdown.vue-fe8ybtb0.js → ndropdown.vue-c5jsbp5v.js} +1 -1
  33. package/dist/client/_nuxt/{nlink.vue-jafnipxp.js → nlink.vue-k9k5hsy4.js} +1 -1
  34. package/dist/client/_nuxt/{nnavbar.vue-d5x8tq5w.js → nnavbar.vue-f0vufq5s.js} +1 -1
  35. package/dist/client/_nuxt/{none-i3w61o4x.js → none-liasomf8.js} +1 -1
  36. package/dist/client/_nuxt/{nsection-block-ivkmhmn9.js → nsection-block-lalufadl.js} +1 -1
  37. package/dist/client/_nuxt/{nselect-tabs.vue-sw71szzx.js → nselect-tabs.vue-kz2aw76p.js} +1 -1
  38. package/dist/client/_nuxt/{nselect.vue-mkp3umn0.js → nselect.vue-mgxbszb3.js} +1 -1
  39. package/dist/client/_nuxt/{open-graph-i5rptgvl.js → open-graph-i9tuqyq7.js} +2 -2
  40. package/dist/client/_nuxt/oqehn934.js +17 -0
  41. package/dist/client/_nuxt/{overview-jzek603r.js → overview-bn3nhi98.js} +1 -1
  42. package/dist/client/_nuxt/{pages-mhjzw1eo.js → pages-o7b83d0d.js} +1 -1
  43. package/dist/client/_nuxt/{payload-kjhui3c5.js → payload-hlgnscsj.js} +1 -1
  44. package/dist/client/_nuxt/{pinia-jy0feqo2.js → pinia-ds7jhuvv.js} +1 -1
  45. package/dist/client/_nuxt/plugins-n4on0a1j.js +1 -0
  46. package/dist/client/_nuxt/{render-tree-malxu5t7.js → render-tree-o6m99mru.js} +1 -1
  47. package/dist/client/_nuxt/{runtime-configs-c8u0cuv7.js → runtime-configs-k5mmw4ae.js} +1 -1
  48. package/dist/client/_nuxt/{server-route-inputs.vue-dfs3eezs.js → server-route-inputs.vue-c9toxo7z.js} +1 -1
  49. package/dist/client/_nuxt/{server-routes-ea89bftg.js → server-routes-oywm7hej.js} +2 -2
  50. package/dist/client/_nuxt/{server-tasks-guw0x7eh.js → server-tasks-y2pcd9w0.js} +1 -1
  51. package/dist/client/_nuxt/settings-l6ourgt3.js +1 -0
  52. package/dist/client/_nuxt/{stacktrace-list.vue-cfyme80n.js → stacktrace-list.vue-i6sjgftd.js} +1 -1
  53. package/dist/client/_nuxt/{state-components-f29eyhzi.js → state-components-h4h7ppgm.js} +1 -1
  54. package/dist/client/_nuxt/{state-editor.vue-nd6tb0dn.js → state-editor.vue-f0he07j5.js} +1 -1
  55. package/dist/client/_nuxt/state-modules-mgqjnewh.js +1 -0
  56. package/dist/client/_nuxt/storage-ihktoh6o.js +1 -0
  57. package/dist/client/_nuxt/{terminals-igsxvm6w.js → terminals-mm1zdy29.js} +1 -1
  58. package/dist/client/_nuxt/{timeline-lm6kcwsd.js → timeline-n6lmb3xx.js} +2 -2
  59. package/dist/client/_nuxt/{unocss-runtime-jzfgcoxk.js → unocss-runtime-lxpmsgjb.js} +1 -1
  60. package/dist/client/_nuxt/vendor/{unocss-3uirpnla.js → unocss-fae7bffg.js} +1 -1
  61. package/dist/client/_nuxt/{virtual-files-jzsbborg.js → virtual-files-mvim6jfj.js} +1 -1
  62. package/dist/client/index.html +12 -12
  63. package/dist/module.json +2 -2
  64. package/dist/module.mjs +1 -1
  65. package/dist/runtime/plugins/view/Main.vue +2 -9
  66. package/dist/shared/{devtools-nightly.5ac54dae.mjs → devtools-nightly.60b2ba4d.mjs} +3 -2
  67. package/package.json +19 -19
  68. package/dist/client/_nuxt/b6bfxrb8.js +0 -17
  69. package/dist/client/_nuxt/builds/meta/b8bbfd27-5704-4be8-a606-01af93c734ef.json +0 -1
  70. package/dist/client/_nuxt/error-404.css-b3x40x40.css +0 -1
  71. package/dist/client/_nuxt/error-500.css-hilpkhd4.css +0 -1
  72. package/dist/client/_nuxt/error-ojb7cn7v.js +0 -9
  73. package/dist/client/_nuxt/filepath-item.vue-b829sn9l.js +0 -1
  74. package/dist/client/_nuxt/imports-18kqq3am.js +0 -1
  75. package/dist/client/_nuxt/index-dl6nn7ct.js +0 -2
  76. package/dist/client/_nuxt/index-e7wrzeix.js +0 -1
  77. package/dist/client/_nuxt/launch-page.vue-iyi310zf.js +0 -1
  78. package/dist/client/_nuxt/plugins-d2vnj57a.js +0 -1
  79. package/dist/client/_nuxt/settings-nr7x6wel.js +0 -1
  80. package/dist/client/_nuxt/state-modules-gh2s62ky.js +0 -1
  81. package/dist/client/_nuxt/storage-d1qa6fff.js +0 -1
@@ -1 +1 @@
1
- import{_ as B}from"./nmarkdown.vue-hygash5x.js";import{I as U,J as V,e as $}from"./b6bfxrb8.js";import{_ as D}from"./filepath-item.vue-b829sn9l.js";import{C as y}from"./constants-b32h69zq.js";import{k as E,l,R as F,Q as s,M as r,$ as i,U as o,W as u,a0 as S,u as k,a6 as d,S as c,F as x,a5 as v,ab as j,Y as M}from"./vendor/json-editor-vue-gi2fewby.js";const W={"hover:text-primary":""},z={key:0,"text-primary":""},J={"max-w-100":""},L={px4:"",py3:"","text-sm":""},O={flex:"~ gap2",n:"primary xs"},Q={border:"t base","max-h-60":"","of-auto":"",px4:"",py3:""},R={"text-sm":""},T={"text-primary":""},Y={flex:"~ col gap-2","items-start":"",pt3:"","text-sm":"",op75:""},q={key:1,"text-sm":"",op50:""},X=E({__name:"ComposableItem",props:{item:{},metadata:{},filepath:{},counter:{type:Boolean,default:!0},classes:{default:"px2 py1 text-sm bg-gray:5 "}},setup(b){const t=b,g=U(),C=V(),m=l(()=>t.item.as||t.item.name),n=l(()=>t.metadata?.injectionUsage?.[m.value]?.count||0),h=l(()=>(t.metadata?.injectionUsage?.[m.value]?.moduleIds||[]).filter(a=>!a.endsWith("?macro=true"))),_=l(()=>t.item.meta?.docsUrl?t.item.meta.docsUrl:["nuxt","#app","nuxt3"].includes(t.item.from)?y.nuxt[t.item.name]:t.item.from==="vue"?y.vue[t.item.name]:null);return(a,e)=>{const w=B,f=$,I=D,N=F("VDropdown");return s(),r(N,{disabled:!t.metadata},{popper:i(()=>[o("div",J,[o("div",L,[a.item.meta?.description?(s(),r(w,{key:0,tag:"div",pb3:"","text-sm":"",markdown:a.item.meta.description},null,8,["markdown"])):u("",!0),o("div",O,[S(f,{icon:"carbon-copy",onClick:e[0]||(e[0]=p=>k(g)(m.value,"imports-name"))},{default:i(()=>e[2]||(e[2]=[d(" Copy ")])),_:1}),a.filepath?(s(),r(f,{key:0,icon:"carbon-code",onClick:e[1]||(e[1]=p=>a.filepath&&k(C)(a.filepath))},{default:i(()=>e[3]||(e[3]=[d(" Source ")])),_:1})):u("",!0),_.value?(s(),r(f,{key:1,icon:"carbon-catalog",to:_.value,target:"_blank"},{default:i(()=>e[4]||(e[4]=[d(" Docs ")])),_:1},8,["to"])):u("",!0)])]),o("div",Q,[n.value?(s(),c(x,{key:0},[o("div",R,[e[5]||(e[5]=o("span",{op50:""},"It has been referenced ",-1)),o("strong",T,v(n.value),1),e[6]||(e[6]=o("span",{op50:""}," times by:",-1))]),o("div",Y,[(s(!0),c(x,null,j(h.value,p=>(s(),r(I,{key:p,filepath:p},null,8,["filepath"]))),128))])],64)):(s(),c("div",q," Not in use via auto import. "))])])]),default:i(()=>[o("button",W,[o("code",{rounded:"","font-mono":"",class:M([a.metadata&&!n.value?"op30 hover:op100":"",a.classes])},[d(v(m.value)+" ",1),n.value&&a.counter?(s(),c("sup",z,"x"+v(n.value),1)):u("",!0)],2)])]),_:1},8,["disabled"])}}});export{X as _};
1
+ import{_ as I}from"./nmarkdown.vue-hygash5x.js";import{J as U,K as V,f as $}from"./oqehn934.js";import{_ as D}from"./filepath-item.vue-ldc0cd59.js";import{C as y}from"./constants-b32h69zq.js";import{k as E,l,R as F,Q as s,M as r,$ as i,U as o,W as u,a0 as S,u as k,a6 as d,S as c,F as x,a5 as v,ab as j,Y as M}from"./vendor/json-editor-vue-gi2fewby.js";const W={"hover:text-primary":""},z={key:0,"text-primary":""},J={"max-w-100":""},K={px4:"",py3:"","text-sm":""},L={flex:"~ gap2",n:"primary xs"},O={border:"t base","max-h-60":"","of-auto":"",px4:"",py3:""},Q={"text-sm":""},R={"text-primary":""},T={flex:"~ col gap-2","items-start":"",pt3:"","text-sm":"",op75:""},Y={key:1,"text-sm":"",op50:""},X=E({__name:"ComposableItem",props:{item:{},metadata:{},filepath:{},counter:{type:Boolean,default:!0},classes:{default:"px2 py1 text-sm bg-gray:5 "}},setup(b){const t=b,g=U(),C=V(),m=l(()=>t.item.as||t.item.name),n=l(()=>t.metadata?.injectionUsage?.[m.value]?.count||0),h=l(()=>(t.metadata?.injectionUsage?.[m.value]?.moduleIds||[]).filter(a=>!a.endsWith("?macro=true"))),_=l(()=>t.item.meta?.docsUrl?t.item.meta.docsUrl:["nuxt","#app","nuxt3"].includes(t.item.from)?y.nuxt[t.item.name]:t.item.from==="vue"?y.vue[t.item.name]:null);return(a,e)=>{const w=I,f=$,N=D,B=F("VDropdown");return s(),r(B,{disabled:!t.metadata},{popper:i(()=>[o("div",J,[o("div",K,[a.item.meta?.description?(s(),r(w,{key:0,tag:"div",pb3:"","text-sm":"",markdown:a.item.meta.description},null,8,["markdown"])):u("",!0),o("div",L,[S(f,{icon:"carbon-copy",onClick:e[0]||(e[0]=p=>k(g)(m.value,"imports-name"))},{default:i(()=>e[2]||(e[2]=[d(" Copy ")])),_:1}),a.filepath?(s(),r(f,{key:0,icon:"carbon-code",onClick:e[1]||(e[1]=p=>a.filepath&&k(C)(a.filepath))},{default:i(()=>e[3]||(e[3]=[d(" Source ")])),_:1})):u("",!0),_.value?(s(),r(f,{key:1,icon:"carbon-catalog",to:_.value,target:"_blank"},{default:i(()=>e[4]||(e[4]=[d(" Docs ")])),_:1},8,["to"])):u("",!0)])]),o("div",O,[n.value?(s(),c(x,{key:0},[o("div",Q,[e[5]||(e[5]=o("span",{op50:""},"It has been referenced ",-1)),o("strong",R,v(n.value),1),e[6]||(e[6]=o("span",{op50:""}," times by:",-1))]),o("div",T,[(s(!0),c(x,null,j(h.value,p=>(s(),r(N,{key:p,filepath:p},null,8,["filepath"]))),128))])],64)):(s(),c("div",Y," Not in use via auto import. "))])])]),default:i(()=>[o("button",W,[o("code",{rounded:"","font-mono":"",class:M([a.metadata&&!n.value?"op30 hover:op100":"",a.classes])},[d(v(m.value)+" ",1),n.value&&a.counter?(s(),c("sup",z,"x"+v(n.value),1)):u("",!0)],2)])]),_:1},8,["disabled"])}}});export{X as _};
@@ -1 +1 @@
1
- import{P as q,Y as N,Z as j,$ as B,l as E,a0 as P,a1 as k,a2 as V,c as D,r as I,T as L,a3 as S}from"./b6bfxrb8.js";import{k as $,b as C,l as x,r as W,x as M,n as O,w as b,G as R,S as U,Q as n,M as u,$ as y,u as A,a7 as F,U as r,a6 as w,a5 as T,a0 as G}from"./vendor/json-editor-vue-gi2fewby.js";import{_ as Q}from"./launch-page.vue-iyi310zf.js";import"./vendor/unocss-3uirpnla.js";import"./vendor/shiki-bnvxb5wv.js";import"./nmarkdown.vue-hygash5x.js";import"./client-c9f80qsp.js";const h=new Map,X=$({__name:"IframeView",props:{tab:{}},setup(f){const m=f,c=q(),d=C(),s=x(()=>m.tab.name),e=C(),t=W(N(d));M(()=>{const o=m.tab.view,l=o.persistent!==!1,_=["clipboard-write","clipboard-read"];if(h.get(s.value)&&l)e.value=h.get(s.value),e.value.style.visibility="visible";else{e.value=document.createElement("iframe"),e.value.setAttribute("allow",_.join("; ")),e.value.setAttribute("aria-label","Nuxt Devtools"),l&&h.set(s.value,e.value),e.value.src=o.src;try{e.value.style.opacity="0.01",e.value.onload=()=>{v(),i(),e.value.style.opacity="1"}}catch{e.value.style.opacity="1"}document.body.appendChild(e.value),O(p)}setTimeout(i,100)}),b(p),b(i),b(v),R(()=>{e.value&&(e.value.style.visibility="hidden")});function i(){if(!(!e.value||!e.value.contentWindow))try{const o=e.value.contentWindow.document.querySelector("html");o?.classList.toggle("dark",c.value==="dark"),o?.classList.toggle("light",c.value==="dark"),new MutationObserver(()=>{c.value=e.value?.contentWindow?.document.querySelector("html")?.classList.contains("dark")?"dark":"light"}).observe(o,{attributes:!0,attributeFilter:["class"]})}catch{}}const a=j();function v(){if(!(!e.value||!e.value.contentWindow))try{e.value.contentWindow.__NUXT_DEVTOOLS__=a.value}catch{}}function p(){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(o,l)=>(n(),U("div",{ref_key:"anchor",ref:d,"h-full":"","w-full":""},null,512))}}),Y={flex:"~ col gap2",mxa:"","items-center":""},Z={"text-xl":""},z={"text-rose":""},ne=$({__name:"custom-[name]",props:{name:{}},setup(f){const m=f,c=B(),d=E(),s=x(()=>m.name??c.params.name),e=P(),t=x(()=>e.value.find(i=>i.name===s.value));return M(()=>{t.value?t.value.requireAuth&&!k.value&&V():setTimeout(()=>{t.value||d.push("/modules/overview")},2e3)}),(i,a)=>{const v=D,p=S,o=X,l=Q,_=L;return t.value?t.value.requireAuth&&!A(k)?(n(),u(p,{key:1})):t.value.view.type==="iframe"?(n(),u(o,{key:2,tab:t.value},null,8,["tab"])):t.value.view.type==="vnode"?(n(),u(F(t.value.view.vnode),{key:3})):t.value.view.type==="launch"?(n(),u(l,{key:4,name:`custom-${t.value.name}`,icon:t.value.view.icon||t.value.icon,title:t.value.view.title||t.value.title,description:t.value.view.description,actions:t.value.view.actions,onAction:a[0]||(a[0]=g=>A(I).customTabAction(t.value.name,g))},null,8,["name","icon","title","description","actions"])):(n(),u(v,{key:5},{default:y(()=>[G(_,{flex:"~ col","h-full":"","items-center":"","justify-center":""},{default:y(()=>[w(" Unknown tab type "+T(t.value.view),1)]),_:1})]),_:1})):(n(),u(v,{key:0},{default:y(()=>[r("div",Y,[a[3]||(a[3]=r("div",{"i-carbon-queued":"",mb2:"","text-5xl":"",op50:""},null,-1)),r("p",Z,[a[1]||(a[1]=w(" Tab ")),r("code",z,T(s.value),1),a[2]||(a[2]=w(" not found "))]),a[4]||(a[4]=r("p",{op50:""}," It might because the module contributing this tab is not installed or enabled ",-1)),a[5]||(a[5]=r("p",{mt8:"","animate-pulse":""}," Redirecting to overview page... ",-1))])]),_:1}))}}});export{ne as default};
1
+ import{Q as q,Y as N,Z as j,$ as B,m as E,a0 as V,a1 as k,a2 as D,d as I,r as L,U as P,a3 as S}from"./oqehn934.js";import{k as T,b as C,l as x,r as U,x as M,n as W,w as b,G as O,S as R,Q as n,M as u,$ as y,u as A,a7 as F,U as r,a6 as w,a5 as $,a0 as G}from"./vendor/json-editor-vue-gi2fewby.js";import{_ as Q}from"./launch-page.vue-n4iqorpj.js";import"./vendor/unocss-fae7bffg.js";import"./vendor/shiki-bnvxb5wv.js";import"./nmarkdown.vue-hygash5x.js";import"./client-c9f80qsp.js";const h=new Map,X=T({__name:"IframeView",props:{tab:{}},setup(f){const m=f,c=q(),d=C(),s=x(()=>m.tab.name),e=C(),t=U(N(d));M(()=>{const o=m.tab.view,l=o.persistent!==!1,_=["clipboard-write","clipboard-read"];if(h.get(s.value)&&l)e.value=h.get(s.value),e.value.style.visibility="visible";else{e.value=document.createElement("iframe"),e.value.setAttribute("allow",_.join("; ")),e.value.setAttribute("aria-label","Nuxt Devtools"),l&&h.set(s.value,e.value),e.value.src=o.src;try{e.value.style.opacity="0.01",e.value.onload=()=>{v(),i(),e.value.style.opacity="1"}}catch{e.value.style.opacity="1"}document.body.appendChild(e.value),W(p)}setTimeout(i,100)}),b(p),b(i),b(v),O(()=>{e.value&&(e.value.style.visibility="hidden")});function i(){if(!(!e.value||!e.value.contentWindow))try{const o=e.value.contentWindow.document.querySelector("html");o?.classList.toggle("dark",c.value==="dark"),o?.classList.toggle("light",c.value==="dark"),new MutationObserver(()=>{c.value=e.value?.contentWindow?.document.querySelector("html")?.classList.contains("dark")?"dark":"light"}).observe(o,{attributes:!0,attributeFilter:["class"]})}catch{}}const a=j();function v(){if(!(!e.value||!e.value.contentWindow))try{e.value.contentWindow.__NUXT_DEVTOOLS__=a.value}catch{}}function p(){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(o,l)=>(n(),R("div",{ref_key:"anchor",ref:d,"h-full":"","w-full":""},null,512))}}),Y={flex:"~ col gap2",mxa:"","items-center":""},Z={"text-xl":""},z={"text-rose":""},ne=T({__name:"custom-[name]",props:{name:{}},setup(f){const m=f,c=B(),d=E(),s=x(()=>m.name??c.params.name),e=V(),t=x(()=>e.value.find(i=>i.name===s.value));return M(()=>{t.value?t.value.requireAuth&&!k.value&&D():setTimeout(()=>{t.value||d.push("/modules/overview")},2e3)}),(i,a)=>{const v=I,p=S,o=X,l=Q,_=P;return t.value?t.value.requireAuth&&!A(k)?(n(),u(p,{key:1})):t.value.view.type==="iframe"?(n(),u(o,{key:2,tab:t.value},null,8,["tab"])):t.value.view.type==="vnode"?(n(),u(F(t.value.view.vnode),{key:3})):t.value.view.type==="launch"?(n(),u(l,{key:4,name:`custom-${t.value.name}`,icon:t.value.view.icon||t.value.icon,title:t.value.view.title||t.value.title,description:t.value.view.description,actions:t.value.view.actions,onAction:a[0]||(a[0]=g=>A(L).customTabAction(t.value.name,g))},null,8,["name","icon","title","description","actions"])):(n(),u(v,{key:5},{default:y(()=>[G(_,{flex:"~ col","h-full":"","items-center":"","justify-center":""},{default:y(()=>[w(" Unknown tab type "+$(t.value.view),1)]),_:1})]),_:1})):(n(),u(v,{key:0},{default:y(()=>[r("div",Y,[a[3]||(a[3]=r("div",{"i-carbon-queued":"",mb2:"","text-5xl":"",op50:""},null,-1)),r("p",Z,[a[1]||(a[1]=w(" Tab ")),r("code",z,$(s.value),1),a[2]||(a[2]=w(" not found "))]),a[4]||(a[4]=r("p",{op50:""}," It might because the module contributing this tab is not installed or enabled ",-1)),a[5]||(a[5]=r("p",{mt8:"","animate-pulse":""}," Redirecting to overview page... ",-1))])]),_:1}))}}});export{ne as default};
@@ -1 +1 @@
1
- import{_ as o}from"./b6bfxrb8.js";import{Q as t,S as s,U as r,V as a}from"./vendor/json-editor-vue-gi2fewby.js";import"./vendor/unocss-3uirpnla.js";import"./vendor/shiki-bnvxb5wv.js";const n={},c={"h-full":"","of-auto":"","n-panel-grids":""},l={"h-full":"","bg-base":""};function _(e,d){return t(),s("div",c,[r("div",l,[a(e.$slots,"default")])])}const u=o(n,[["render",_]]);export{u as default};
1
+ import{_ as o}from"./oqehn934.js";import{Q as t,S as s,U as r,V as a}from"./vendor/json-editor-vue-gi2fewby.js";import"./vendor/unocss-fae7bffg.js";import"./vendor/shiki-bnvxb5wv.js";const n={},c={"h-full":"","of-auto":"","n-panel-grids":""},l={"h-full":"","bg-base":""};function _(e,d){return t(),s("div",c,[r("div",l,[a(e.$slots,"default")])])}const u=o(n,[["render",_]]);export{u as default};
@@ -1 +1 @@
1
- import{_ as a,u as i,a as u}from"./b6bfxrb8.js";import{Q as c,S as l,U as e,a5 as r,a0 as d,$ as p,a6 as f}from"./vendor/json-editor-vue-gi2fewby.js";import"./vendor/unocss-3uirpnla.js";import"./vendor/shiki-bnvxb5wv.js";const m={class:"antialiased bg-white dark:bg-black dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-black"},g={class:"max-w-520px text-center z-20"},h=["textContent"],b=["textContent"],x={class:"flex items-center justify-center w-full"},y={__name:"error-404",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:404},statusMessage:{type:String,default:"Not Found"},description:{type:String,default:"Sorry, the page you are looking for could not be found."},backHome:{type:String,default:"Go back home"}},setup(t){const n=t;return i({title:`${n.statusCode} - ${n.statusMessage} | ${n.appName}`,script:[{children:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver((e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)})).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{children:'*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}h1,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(k,o)=>{const s=u;return c(),l("div",m,[o[0]||(o[0]=e("div",{class:"fixed left-0 right-0 spotlight z-10"},null,-1)),e("div",g,[e("h1",{class:"font-medium mb-8 sm:text-10xl text-8xl",textContent:r(t.statusCode)},null,8,h),e("p",{class:"font-light leading-tight mb-16 px-8 sm:px-0 sm:text-4xl text-xl",textContent:r(t.description)},null,8,b),e("div",x,[d(s,{to:"/",class:"cursor-pointer gradient-border px-4 py-2 sm:px-6 sm:py-3 sm:text-xl text-md"},{default:p(()=>[f(r(t.backHome),1)]),_:1})])])])}}},N=a(y,[["__scopeId","data-v-7911c9cb"]]);export{N as default};
1
+ import{_ as a,u as i,a as u}from"./oqehn934.js";import{Q as c,S as l,U as e,a5 as r,a0 as d,$ as p,a6 as f}from"./vendor/json-editor-vue-gi2fewby.js";import"./vendor/unocss-fae7bffg.js";import"./vendor/shiki-bnvxb5wv.js";const m={class:"antialiased bg-white dark:bg-black dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-black"},g={class:"max-w-520px text-center z-20"},h=["textContent"],b=["textContent"],x={class:"flex items-center justify-center w-full"},y={__name:"error-404",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:404},statusMessage:{type:String,default:"Not Found"},description:{type:String,default:"Sorry, the page you are looking for could not be found."},backHome:{type:String,default:"Go back home"}},setup(t){const n=t;return i({title:`${n.statusCode} - ${n.statusMessage} | ${n.appName}`,script:[{children:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver((e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)})).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{children:'*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}h1,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(k,o)=>{const s=u;return c(),l("div",m,[o[0]||(o[0]=e("div",{class:"fixed left-0 right-0 spotlight z-10"},null,-1)),e("div",g,[e("h1",{class:"font-medium mb-8 sm:text-10xl text-8xl",textContent:r(t.statusCode)},null,8,h),e("p",{class:"font-light leading-tight mb-16 px-8 sm:px-0 sm:text-4xl text-xl",textContent:r(t.description)},null,8,b),e("div",x,[d(s,{to:"/",class:"cursor-pointer gradient-border px-4 py-2 sm:px-6 sm:py-3 sm:text-xl text-md"},{default:p(()=>[f(r(t.backHome),1)]),_:1})])])])}}},N=a(y,[["__scopeId","data-v-60977564"]]);export{N as default};
@@ -0,0 +1 @@
1
+ .spotlight[data-v-60977564]{background:linear-gradient(45deg,#00dc82,#36e4da 50%,#0047e1);bottom:-30vh;filter:blur(20vh);height:40vh}.gradient-border[data-v-60977564]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:.5rem;position:relative}@media (prefers-color-scheme:light){.gradient-border[data-v-60977564]{background-color:#ffffff4d}.gradient-border[data-v-60977564]:before{background:linear-gradient(90deg,#e2e2e2,#e2e2e2 25%,#00dc82,#36e4da 75%,#0047e1)}}@media (prefers-color-scheme:dark){.gradient-border[data-v-60977564]{background-color:#1414144d}.gradient-border[data-v-60977564]:before{background:linear-gradient(90deg,#303030,#303030 25%,#00dc82,#36e4da 75%,#0047e1)}}.gradient-border[data-v-60977564]:before{background-size:400% auto;border-radius:.5rem;content:"";inset:0;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;opacity:.5;padding:2px;position:absolute;transition:background-position .3s ease-in-out,opacity .2s ease-in-out;width:100%}.gradient-border[data-v-60977564]:hover:before{background-position:-50% 0;opacity:1}.fixed[data-v-60977564]{position:fixed}.left-0[data-v-60977564]{left:0}.right-0[data-v-60977564]{right:0}.z-10[data-v-60977564]{z-index:10}.z-20[data-v-60977564]{z-index:20}.grid[data-v-60977564]{display:grid}.mb-16[data-v-60977564]{margin-bottom:4rem}.mb-8[data-v-60977564]{margin-bottom:2rem}.max-w-520px[data-v-60977564]{max-width:520px}.min-h-screen[data-v-60977564]{min-height:100vh}.w-full[data-v-60977564]{width:100%}.flex[data-v-60977564]{display:flex}.cursor-pointer[data-v-60977564]{cursor:pointer}.place-content-center[data-v-60977564]{place-content:center}.items-center[data-v-60977564]{align-items:center}.justify-center[data-v-60977564]{justify-content:center}.overflow-hidden[data-v-60977564]{overflow:hidden}.bg-white[data-v-60977564]{--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity))}.px-4[data-v-60977564]{padding-left:1rem;padding-right:1rem}.px-8[data-v-60977564]{padding-left:2rem;padding-right:2rem}.py-2[data-v-60977564]{padding-bottom:.5rem;padding-top:.5rem}.text-center[data-v-60977564]{text-align:center}.text-8xl[data-v-60977564]{font-size:6rem;line-height:1}.text-xl[data-v-60977564]{font-size:1.25rem;line-height:1.75rem}.text-black[data-v-60977564]{--un-text-opacity:1;color:rgb(0 0 0/var(--un-text-opacity))}.font-light[data-v-60977564]{font-weight:300}.font-medium[data-v-60977564]{font-weight:500}.leading-tight[data-v-60977564]{line-height:1.25}.font-sans[data-v-60977564]{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.antialiased[data-v-60977564]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){.dark\:bg-black[data-v-60977564]{--un-bg-opacity:1;background-color:rgb(0 0 0/var(--un-bg-opacity))}.dark\:text-white[data-v-60977564]{--un-text-opacity:1;color:rgb(255 255 255/var(--un-text-opacity))}}@media (min-width:640px){.sm\:px-0[data-v-60977564]{padding-left:0;padding-right:0}.sm\:px-6[data-v-60977564]{padding-left:1.5rem;padding-right:1.5rem}.sm\:py-3[data-v-60977564]{padding-bottom:.75rem;padding-top:.75rem}.sm\:text-4xl[data-v-60977564]{font-size:2.25rem;line-height:2.5rem}.sm\:text-xl[data-v-60977564]{font-size:1.25rem;line-height:1.75rem}}
@@ -1 +1 @@
1
- import{_ as s,u as i}from"./b6bfxrb8.js";import{Q as a,S as u,U as e,a5 as o}from"./vendor/json-editor-vue-gi2fewby.js";import"./vendor/unocss-3uirpnla.js";import"./vendor/shiki-bnvxb5wv.js";const l={class:"antialiased bg-white dark:bg-black dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-black"},c={class:"max-w-520px text-center"},d=["textContent"],p=["textContent"],f={__name:"error-500",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:500},statusMessage:{type:String,default:"Server error"},description:{type:String,default:"This page is temporarily unavailable."}},setup(t){const r=t;return i({title:`${r.statusCode} - ${r.statusMessage} | ${r.appName}`,script:[{children:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver((e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)})).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{children:'*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1{font-size:inherit;font-weight:inherit}h1,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(g,n)=>(a(),u("div",l,[n[0]||(n[0]=e("div",{class:"-bottom-1/2 fixed h-1/2 left-0 right-0 spotlight"},null,-1)),e("div",c,[e("h1",{class:"font-medium mb-8 sm:text-10xl text-8xl",textContent:o(t.statusCode)},null,8,d),e("p",{class:"font-light leading-tight mb-16 px-8 sm:px-0 sm:text-4xl text-xl",textContent:o(t.description)},null,8,p)])]))}},y=s(f,[["__scopeId","data-v-dcc4c64c"]]);export{y as default};
1
+ import{_ as s,u as i}from"./oqehn934.js";import{Q as a,S as u,U as e,a5 as o}from"./vendor/json-editor-vue-gi2fewby.js";import"./vendor/unocss-fae7bffg.js";import"./vendor/shiki-bnvxb5wv.js";const l={class:"antialiased bg-white dark:bg-black dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-black"},c={class:"max-w-520px text-center"},d=["textContent"],p=["textContent"],f={__name:"error-500",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:500},statusMessage:{type:String,default:"Server error"},description:{type:String,default:"This page is temporarily unavailable."}},setup(t){const r=t;return i({title:`${r.statusCode} - ${r.statusMessage} | ${r.appName}`,script:[{children:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver((e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)})).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{children:'*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1{font-size:inherit;font-weight:inherit}h1,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(g,n)=>(a(),u("div",l,[n[0]||(n[0]=e("div",{class:"-bottom-1/2 fixed h-1/2 left-0 right-0 spotlight"},null,-1)),e("div",c,[e("h1",{class:"font-medium mb-8 sm:text-10xl text-8xl",textContent:o(t.statusCode)},null,8,d),e("p",{class:"font-light leading-tight mb-16 px-8 sm:px-0 sm:text-4xl text-xl",textContent:o(t.description)},null,8,p)])]))}},y=s(f,[["__scopeId","data-v-0d364bb7"]]);export{y as default};
@@ -0,0 +1 @@
1
+ .spotlight[data-v-0d364bb7]{background:linear-gradient(45deg,#00dc82,#36e4da 50%,#0047e1);filter:blur(20vh)}.fixed[data-v-0d364bb7]{position:fixed}.-bottom-1\/2[data-v-0d364bb7]{bottom:-50%}.left-0[data-v-0d364bb7]{left:0}.right-0[data-v-0d364bb7]{right:0}.grid[data-v-0d364bb7]{display:grid}.mb-16[data-v-0d364bb7]{margin-bottom:4rem}.mb-8[data-v-0d364bb7]{margin-bottom:2rem}.h-1\/2[data-v-0d364bb7]{height:50%}.max-w-520px[data-v-0d364bb7]{max-width:520px}.min-h-screen[data-v-0d364bb7]{min-height:100vh}.place-content-center[data-v-0d364bb7]{place-content:center}.overflow-hidden[data-v-0d364bb7]{overflow:hidden}.bg-white[data-v-0d364bb7]{--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity))}.px-8[data-v-0d364bb7]{padding-left:2rem;padding-right:2rem}.text-center[data-v-0d364bb7]{text-align:center}.text-8xl[data-v-0d364bb7]{font-size:6rem;line-height:1}.text-xl[data-v-0d364bb7]{font-size:1.25rem;line-height:1.75rem}.text-black[data-v-0d364bb7]{--un-text-opacity:1;color:rgb(0 0 0/var(--un-text-opacity))}.font-light[data-v-0d364bb7]{font-weight:300}.font-medium[data-v-0d364bb7]{font-weight:500}.leading-tight[data-v-0d364bb7]{line-height:1.25}.font-sans[data-v-0d364bb7]{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.antialiased[data-v-0d364bb7]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){.dark\:bg-black[data-v-0d364bb7]{--un-bg-opacity:1;background-color:rgb(0 0 0/var(--un-bg-opacity))}.dark\:text-white[data-v-0d364bb7]{--un-text-opacity:1;color:rgb(255 255 255/var(--un-text-opacity))}}@media (min-width:640px){.sm\:px-0[data-v-0d364bb7]{padding-left:0;padding-right:0}.sm\:text-4xl[data-v-0d364bb7]{font-size:2.25rem;line-height:2.5rem}}
@@ -0,0 +1,9 @@
1
+ import{b as x,x as E}from"./oqehn934.js";import{_ as N}from"./stacktrace-list.vue-i6sjgftd.js";import{k as y,l as v,S as l,a0 as C,$ as S,U as f,a5 as p,W as _,M as w,Q as i,a6 as $}from"./vendor/json-editor-vue-gi2fewby.js";import"./vendor/unocss-fae7bffg.js";import"./vendor/shiki-bnvxb5wv.js";import"./filepath-item.vue-ldc0cd59.js";const O=/(^|@)\S+:\d+/,h=/^\s*at .*(\S+:\d+|\(native\))/m,R=/^(eval@)?(\[native code\])?$/;function b(e,a){if(typeof e.stacktrace<"u"||typeof e["opera#sourceloc"]<"u")return V(e);if(e.stack&&e.stack.match(h))return F(e);if(e.stack)return A(e);throw new Error("Cannot parse given Error object")}function m(e){if(!e.includes(":"))return[e,void 0,void 0];const o=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(e.replace(/[()]/g,""));return[o[1],o[2]||void 0,o[3]||void 0]}function d(e,a){return e}function F(e,a){return I(e.stack)}function I(e,a){return d(e.split(`
2
+ `).filter(t=>!!t.match(h))).map(t=>{t.includes("(eval ")&&(t=t.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(,.*$)/g,""));let r=t.replace(/^\s+/,"").replace(/\(eval code/g,"(").replace(/^.*?\s+/,"");const n=r.match(/ (\(.+\)$)/);r=n?r.replace(n[0],""):r;const c=m(n?n[1]:r),s=n&&r||void 0,u=["eval","<anonymous>"].includes(c[0])?void 0:c[0];return{function:s,file:u,line:c[1]?+c[1]:void 0,col:c[2]?+c[2]:void 0,raw:t}})}function A(e,a){return T(e.stack)}function T(e,a){return d(e.split(`
3
+ `).filter(t=>!t.match(R))).map(t=>{if(t.includes(" > eval")&&(t=t.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),!t.includes("@")&&!t.includes(":"))return{function:t};{const r=/(([^\n\r"\u2028\u2029]*".[^\n\r"\u2028\u2029]*"[^\n\r@\u2028\u2029]*(?:@[^\n\r"\u2028\u2029]*"[^\n\r@\u2028\u2029]*)*(?:[\n\r\u2028\u2029][^@]*)?)?[^@]*)@/,n=t.match(r),c=n&&n[1]?n[1]:void 0,s=m(t.replace(r,""));return{function:c,file:s[0],line:s[1]?+s[1]:void 0,col:s[2]?+s[2]:void 0,raw:t}}})}function V(e,a){return!e.stacktrace||e.message.includes(`
4
+ `)&&e.message.split(`
5
+ `).length>e.stacktrace.split(`
6
+ `).length?P(e):e.stack?L(e):B(e)}function P(e,a){const o=/Line (\d+).*script (?:in )?(\S+)/i,t=e.message.split(`
7
+ `),r=[];for(let n=2,c=t.length;n<c;n+=2){const s=o.exec(t[n]);s&&r.push({file:s[2],line:+s[1],raw:t[n]})}return d(r)}function B(e,a){const o=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,t=e.stacktrace.split(`
8
+ `),r=[];for(let n=0,c=t.length;n<c;n+=2){const s=o.exec(t[n]);s&&r.push({function:s[3]||void 0,file:s[2],line:s[1]?+s[1]:void 0,raw:t[n]})}return d(r)}function L(e,a){return d(e.stack.split(`
9
+ `).filter(t=>!!t.match(O)&&!t.match(/^Error created at/))).map(t=>{const r=t.split("@"),n=m(r.pop()),c=r.shift()||"",s=c.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^)]*\)/g,"")||void 0;let u;c.match(/\(([^)]*)\)/)&&(u=c.replace(/^[^(]+\(([^)]*)\)$/,"$1"));const k=u===void 0||u==="[arguments not available]"?void 0:u.split(",");return{function:s,args:k,file:n[0],line:n[1]?+n[1]:void 0,col:n[2]?+n[2]:void 0,raw:t}})}function M(e){return e.map(a=>({functionName:a.function,args:a.args,fileName:a.file,lineNumber:a.line,columnNumber:a.col,source:a.raw}))}function g(e,a){return M(b(e))}const X={p6:""},D={key:0},G={"text-6xl":""},K={key:0,op75:""},U={my4:"","text-xl":"","text-red":""},W={key:1,"of-auto":"",rounded:"","bg-active":"",p2:""},j=["textContent"],z={key:1,op50:""},ee=y({__name:"error",setup(e){const a=x(),o=v(()=>{const r=a.value?.nuxt?.payload?.error;return r&&(console.error("[Nuxt DevTools] Error in payload:"),console.error(r),console.error({...r})),r}),t=v(()=>{if(!o.value?.stack)return[];try{return o.value.stack.startsWith("<pre>")?g({stack:o.value.stack.replace(/<.*?>/g,"")}):g(o.value)}catch(r){return console.error(r),[]}});return(r,n)=>{const c=E,s=N;return i(),l("div",X,[o.value?(i(),l("div",D,[C(c,{n:"red",icon:"i-carbon-warning-alt-filled",mb5:""},{default:S(()=>n[0]||(n[0]=[$(" Error occurred in this page ")])),_:1}),f("div",G,p(o.value.statusCode||"Client Error"),1),o.value.statusMessage?(i(),l("div",K,p(o.value.statusMessage),1)):_("",!0),f("div",U,p(o.value.message||o.value.description||"Unknown error"),1),t.value.length||o.value.stack?(i(),l("div",W,[n[1]||(n[1]=f("div",{px1:"",op50:""}," Stacktrace ",-1)),t.value.length?(i(),w(s,{key:0,px2:"",stacktrace:t.value},null,8,["stacktrace"])):(i(),l("pre",{key:1,textContent:p(o.value.stack)},null,8,j))])):_("",!0)])):(i(),l("div",z," No error "))])}}});export{ee as default};
@@ -0,0 +1 @@
1
+ import{K as k,J as c,I as g,av as C}from"./oqehn934.js";import{k as b,l as B,Q as t,S as a,U as s,F as l,a6 as u,a5 as r,W as d,Y as N,V as I,u as m}from"./vendor/json-editor-vue-gi2fewby.js";const S={flex:"~ gap-2 items-center",class:"group"},V=["title"],E={key:0,op50:""},F={key:0,flex:"~ gap1",pr2:"",op0:"","group-hover:op100":""},D=b({__name:"FilepathItem",props:{filepath:{},lineBreak:{type:Boolean},subpath:{type:Boolean},override:{}},setup(f){const p=f,v=k(),h=c(),i=g(),n=B(()=>p.filepath&&i.value?C(p.filepath,i.value.rootDir):{path:p.filepath||""});return(e,o)=>(t(),a("span",S,[s("span",{class:N([e.lineBreak?"":"ws-nowrap of-hidden truncate"]),"font-mono":"",title:e.override||e.filepath},[e.override?(t(),a(l,{key:0},[u(r(e.override),1)],64)):n.value.moduleName?(t(),a(l,{key:1},[s("span",null,r(n.value.moduleName),1),e.subpath?(t(),a("span",E,r(n.value.path.slice(n.value.moduleName.length)),1)):d("",!0)],64)):(t(),a(l,{key:2},[u(r(n.value.path),1)],64))],10,V),I(e.$slots,"default"),e.filepath?(t(),a("div",F,[s("button",{"text-sm":"",op40:"",hover:"op100 text-primary",title:"Open in editor",onClick:o[0]||(o[0]=y=>m(v)(e.filepath))},o[2]||(o[2]=[s("div",{"i-carbon-script-reference":""},null,-1)])),s("button",{"text-sm":"",op40:"",hover:"op100 text-primary",title:"Copy path",onClick:o[1]||(o[1]=y=>m(h)(e.filepath))},o[3]||(o[3]=[s("div",{"i-carbon-copy":""},null,-1)]))])):d("",!0)]))}});export{D as _};
@@ -1 +1 @@
1
- import{_ as t}from"./b6bfxrb8.js";import{Q as e,S as r,V as s}from"./vendor/json-editor-vue-gi2fewby.js";import"./vendor/unocss-3uirpnla.js";import"./vendor/shiki-bnvxb5wv.js";const c={},n={"h-full":"","of-auto":""};function a(o,f){return e(),r("div",n,[s(o.$slots,"default")])}const d=t(c,[["render",a]]);export{d as default};
1
+ import{_ as t}from"./oqehn934.js";import{Q as e,S as r,V as s}from"./vendor/json-editor-vue-gi2fewby.js";import"./vendor/unocss-fae7bffg.js";import"./vendor/shiki-bnvxb5wv.js";const c={},n={"h-full":"","of-auto":""};function a(o,f){return e(),r("div",n,[s(o.$slots,"default")])}const d=t(c,[["render",a]]);export{d as default};
@@ -1 +1 @@
1
- import{b as f,e as m}from"./b6bfxrb8.js";import{k as v,b as c,u as k,S as o,U as n,a0 as s,$ as i,ad as u,F as g,W as a,Q as l,V as x}from"./vendor/json-editor-vue-gi2fewby.js";const _={key:0,border:"l base",class:"prose",pos:"fixed bottom-0 right-0 top-0","z-200":"","h-full":"","w-150":"","overflow-auto":"",px8:"",py4:"","bg-base":""},h=v({__name:"HelpFab",setup(w){const t=c(!1),{showHelpButtons:b}=f("ui");return(d,e)=>{const p=m;return k(b)?(l(),o(g,{key:0},[n("button",{pos:"absolute bottom-5 right-5",border:"~ base rounded-full ",flex:"~ items-center justify-center","z-110":"","h-11":"","w-11":"","backdrop-blur-8":"",bg:"bg-base op50!","light:shadow":"",hover:"bg-active",title:"Help",onClick:e[0]||(e[0]=r=>t.value=!t.value)},e[3]||(e[3]=[n("div",{"i-ri:question-mark":""},null,-1)])),s(u,{name:"fade-in"},{default:i(()=>[t.value?(l(),o("div",{key:0,class:"fixed bottom-0 left-0 right-0 top-0 z-100","bg-black:20":"","backdrop-blur-2":"",onClick:e[1]||(e[1]=r=>t.value=!1)})):a("",!0)]),_:1}),s(u,{name:"slide-in"},{default:i(()=>[t.value?(l(),o("div",_,[x(d.$slots,"default"),s(p,{icon:"carbon-close",pos:"absolute top-3 right-3","rounded-full":"","text-xl":"",border:!1,onClick:e[2]||(e[2]=r=>t.value=!1)})])):a("",!0)]),_:3})],64)):a("",!0)}}});export{h as _};
1
+ import{c as f,f as m}from"./oqehn934.js";import{k as v,b as c,u as k,S as o,U as n,a0 as s,$ as i,ad as u,F as g,W as a,Q as l,V as x}from"./vendor/json-editor-vue-gi2fewby.js";const _={key:0,border:"l base",class:"prose",pos:"fixed bottom-0 right-0 top-0","z-200":"","h-full":"","w-150":"","overflow-auto":"",px8:"",py4:"","bg-base":""},h=v({__name:"HelpFab",setup(w){const t=c(!1),{showHelpButtons:d}=f("ui");return(b,e)=>{const p=m;return k(d)?(l(),o(g,{key:0},[n("button",{pos:"absolute bottom-5 right-5",border:"~ base rounded-full ",flex:"~ items-center justify-center","z-110":"","h-11":"","w-11":"","backdrop-blur-8":"",bg:"bg-base op50!","light:shadow":"",hover:"bg-active",title:"Help",onClick:e[0]||(e[0]=r=>t.value=!t.value)},e[3]||(e[3]=[n("div",{"i-ri:question-mark":""},null,-1)])),s(u,{name:"fade-in"},{default:i(()=>[t.value?(l(),o("div",{key:0,class:"fixed bottom-0 left-0 right-0 top-0 z-100","bg-black:20":"","backdrop-blur-2":"",onClick:e[1]||(e[1]=r=>t.value=!1)})):a("",!0)]),_:1}),s(u,{name:"slide-in"},{default:i(()=>[t.value?(l(),o("div",_,[x(b.$slots,"default"),s(p,{icon:"carbon-close",pos:"absolute top-3 right-3","rounded-full":"","text-xl":"",border:!1,onClick:e[2]||(e[2]=r=>t.value=!1)})])):a("",!0)]),_:3})],64)):a("",!0)}}});export{h as _};
@@ -1 +1 @@
1
- import{_ as S}from"./duration-display.vue-kqe6a4wx.js";import{a4 as T,a5 as F,X as B}from"./b6bfxrb8.js";import{k as $,b as H,l as w,Q as u,S as h,U as o,a6 as l,Y as p,F as y,ab as V,a5 as m,X as D,u as k,a0 as _,M as C,$ as f,W as N}from"./vendor/json-editor-vue-gi2fewby.js";import{_ as P}from"./nsection-block-ivkmhmn9.js";import{_ as E}from"./help-fab.vue-gtlaa6k2.js";import"./vendor/unocss-3uirpnla.js";import"./vendor/shiki-bnvxb5wv.js";import"./nicon-title.vue-ouqsubn7.js";const O={"w-full":""},j={border:"b base"},L={"select-none":"","ws-nowrap":"",p1:"","text-right":"","font-bold":""},Y={colspan:"2",p1:"",pl5:"","text-left":"","font-bold":""},z={"ws-nowrap":"",p1:"","text-center":"","font-bold":""},A={"ws-nowrap":"",p1:"","text-center":"","font-bold":""},U={"ws-nowrap":"",p1:"","text-right":"","font-bold":""},X={"w-0":"","ws-nowrap":"","text-center":"","text-sm":"",op25:""},M={"text-sm":""},Q={"ws-nowrap":""},R={"text-sm":""},W={"w-0":"","text-center":"","text-sm":""},q={"w-0":"","text-center":"","text-sm":""},G={"w-0":"","text-right":"","text-sm":""},J=$({__name:"HooksTable",props:{hooks:{}},setup(x){const a=x,r=H("duration"),n=H("asc"),d={duration:(e,t)=>(t.duration??Number.POSITIVE_INFINITY)-(e.duration??Number.POSITIVE_INFINITY),name:(e,t)=>e.name.localeCompare(t.name),listener:(e,t)=>t.listeners-e.listeners,start:(e,t)=>t.start-e.start,executions:(e,t)=>t.executions.length-e.executions.length},g=w(()=>a.hooks.map(e=>e.start).sort((e,t)=>e-t)),b=w(()=>{const e=d[r.value],t=[...a.hooks].sort(e);return n.value==="desc"&&t.reverse(),t});function c(e){const t=e.split(":");return t.length===1?"":`${t[0]}:`}function v(e){const t=e.split(":");return t.length===1?e:t.slice(1).join(":")}function i(e){r.value===e?n.value=n.value==="asc"?"desc":"asc":r.value=e}return(e,t)=>{const I=S;return u(),h("table",O,[o("thead",j,[o("tr",null,[o("th",L,[o("button",{onClick:t[0]||(t[0]=s=>i("start"))},[t[5]||(t[5]=l(" Order ")),o("div",{"ml--1":"","text-xs":"",class:p([r.value==="start"?"op50":"op0",n.value==="asc"?"carbon-arrow-down":"carbon-arrow-up"])},null,2)])]),o("th",Y,[o("button",{onClick:t[1]||(t[1]=s=>i("name"))},[t[6]||(t[6]=l(" Hook name ")),o("div",{"ml--1":"","text-xs":"",class:p([r.value==="name"?"op50":"op0",n.value==="asc"?"carbon-arrow-down":"carbon-arrow-up"])},null,2)])]),o("th",z,[o("button",{onClick:t[2]||(t[2]=s=>i("listener"))},[t[7]||(t[7]=l(" Listeners ")),o("div",{"ml--1":"","text-xs":"",class:p([r.value==="listener"?"op50":"op0",n.value==="asc"?"carbon-arrow-down":"carbon-arrow-up"])},null,2)])]),o("th",A,[o("button",{onClick:t[3]||(t[3]=s=>i("executions"))},[t[8]||(t[8]=l(" Executions ")),o("div",{"ml--1":"","text-xs":"",class:p([r.value==="executions"?"op50":"op0",n.value==="asc"?"carbon-arrow-down":"carbon-arrow-up"])},null,2)])]),o("th",U,[o("button",{onClick:t[4]||(t[4]=s=>i("duration"))},[t[9]||(t[9]=l(" Duration ")),o("div",{"ml--1":"","text-xs":"",class:p([r.value==="duration"?"op50":"op0",n.value==="asc"?"carbon-arrow-down":"carbon-arrow-up"])},null,2)])])])]),o("tbody",null,[(u(!0),h(y,null,V(b.value,s=>(u(),h("tr",{key:s.name,border:"b dashed transparent hover:base"},[o("td",X,m(g.value.indexOf(s.start)),1),o("td",{"w-0":"","ws-nowrap":"","text-right":"",style:D({color:("getHashColorFromString"in e?e.getHashColorFromString:k(T))(c(s.name))})},[o("code",M,m(c(s.name)),1)],4),o("td",Q,[o("code",R,m(v(s.name)),1)]),o("td",W,m(s.listeners),1),o("td",q,m(s.executions.length+1),1),o("td",G,[_(I,{duration:s.duration},null,8,["duration"])])]))),128))])])}}}),K={class:"markdown-body"},Z={__name:"hooks",setup(x,{expose:a}){return a({frontmatter:{}}),(n,d)=>(u(),h("div",K,d[0]||(d[0]=[o("h1",null,"Hooks",-1),o("p",null,[l("Hooks are an advanced API which can be used for module development or other advanced use cases. The hooking API can be used to expand almost every aspect of Nuxt. Under the hood it is powered by "),o("a",{href:"https://github.com/unjs/hookable",target:"_blank",rel:"noopener"},"unjs/hookable"),l(".")],-1),o("p",null,[o("a",{href:"https://nuxt.com/docs/guide/going-further/hooks",target:"_blank",rel:"noopener"},"Learn more about hooks"),l(".")],-1)])))}},it=$({__name:"hooks",setup(x){const a=F(),r=B(),n=w(()=>r.value?.metrics.clientHooks());return(d,g)=>{const b=J,c=P,v=Z,i=E;return u(),h(y,null,[o("div",null,[n.value?.length?(u(),C(c,{key:0,icon:"carbon-ibm-cloud-direct-link-1-dedicated-hosting",text:"Client Hooks",description:`Total hooks: ${n.value.length}`,padding:"pl4 pr6"},{default:f(()=>[_(b,{hooks:n.value},null,8,["hooks"])]),_:1},8,["description"])):N("",!0),k(a)?.length?(u(),C(c,{key:1,icon:"carbon-ibm-cloud-direct-link-2-dedicated",text:"Server Hooks",description:`Total hooks: ${k(a)?.length}`,padding:"pl4 pr6"},{default:f(()=>[_(b,{hooks:k(a)},null,8,["hooks"])]),_:1},8,["description"])):N("",!0)]),_(i,null,{default:f(()=>[_(v)]),_:1})],64)}}});export{it as default};
1
+ import{_ as S}from"./duration-display.vue-kqe6a4wx.js";import{a4 as T,a5 as F,b as B}from"./oqehn934.js";import{k as $,b as H,l as w,Q as u,S as h,U as o,a6 as l,Y as p,F as y,ab as V,a5 as m,X as D,u as k,a0 as _,M as C,$ as f,W as N}from"./vendor/json-editor-vue-gi2fewby.js";import{_ as P}from"./nsection-block-lalufadl.js";import{_ as E}from"./help-fab.vue-hhv95xvg.js";import"./vendor/unocss-fae7bffg.js";import"./vendor/shiki-bnvxb5wv.js";import"./nicon-title.vue-ouqsubn7.js";const O={"w-full":""},j={border:"b base"},L={"select-none":"","ws-nowrap":"",p1:"","text-right":"","font-bold":""},Y={colspan:"2",p1:"",pl5:"","text-left":"","font-bold":""},z={"ws-nowrap":"",p1:"","text-center":"","font-bold":""},A={"ws-nowrap":"",p1:"","text-center":"","font-bold":""},U={"ws-nowrap":"",p1:"","text-right":"","font-bold":""},M={"w-0":"","ws-nowrap":"","text-center":"","text-sm":"",op25:""},Q={"text-sm":""},R={"ws-nowrap":""},W={"text-sm":""},X={"w-0":"","text-center":"","text-sm":""},q={"w-0":"","text-center":"","text-sm":""},G={"w-0":"","text-right":"","text-sm":""},J=$({__name:"HooksTable",props:{hooks:{}},setup(x){const a=x,r=H("duration"),n=H("asc"),d={duration:(e,t)=>(t.duration??Number.POSITIVE_INFINITY)-(e.duration??Number.POSITIVE_INFINITY),name:(e,t)=>e.name.localeCompare(t.name),listener:(e,t)=>t.listeners-e.listeners,start:(e,t)=>t.start-e.start,executions:(e,t)=>t.executions.length-e.executions.length},g=w(()=>a.hooks.map(e=>e.start).sort((e,t)=>e-t)),b=w(()=>{const e=d[r.value],t=[...a.hooks].sort(e);return n.value==="desc"&&t.reverse(),t});function c(e){const t=e.split(":");return t.length===1?"":`${t[0]}:`}function v(e){const t=e.split(":");return t.length===1?e:t.slice(1).join(":")}function i(e){r.value===e?n.value=n.value==="asc"?"desc":"asc":r.value=e}return(e,t)=>{const I=S;return u(),h("table",O,[o("thead",j,[o("tr",null,[o("th",L,[o("button",{onClick:t[0]||(t[0]=s=>i("start"))},[t[5]||(t[5]=l(" Order ")),o("div",{"ml--1":"","text-xs":"",class:p([r.value==="start"?"op50":"op0",n.value==="asc"?"carbon-arrow-down":"carbon-arrow-up"])},null,2)])]),o("th",Y,[o("button",{onClick:t[1]||(t[1]=s=>i("name"))},[t[6]||(t[6]=l(" Hook name ")),o("div",{"ml--1":"","text-xs":"",class:p([r.value==="name"?"op50":"op0",n.value==="asc"?"carbon-arrow-down":"carbon-arrow-up"])},null,2)])]),o("th",z,[o("button",{onClick:t[2]||(t[2]=s=>i("listener"))},[t[7]||(t[7]=l(" Listeners ")),o("div",{"ml--1":"","text-xs":"",class:p([r.value==="listener"?"op50":"op0",n.value==="asc"?"carbon-arrow-down":"carbon-arrow-up"])},null,2)])]),o("th",A,[o("button",{onClick:t[3]||(t[3]=s=>i("executions"))},[t[8]||(t[8]=l(" Executions ")),o("div",{"ml--1":"","text-xs":"",class:p([r.value==="executions"?"op50":"op0",n.value==="asc"?"carbon-arrow-down":"carbon-arrow-up"])},null,2)])]),o("th",U,[o("button",{onClick:t[4]||(t[4]=s=>i("duration"))},[t[9]||(t[9]=l(" Duration ")),o("div",{"ml--1":"","text-xs":"",class:p([r.value==="duration"?"op50":"op0",n.value==="asc"?"carbon-arrow-down":"carbon-arrow-up"])},null,2)])])])]),o("tbody",null,[(u(!0),h(y,null,V(b.value,s=>(u(),h("tr",{key:s.name,border:"b dashed transparent hover:base"},[o("td",M,m(g.value.indexOf(s.start)),1),o("td",{"w-0":"","ws-nowrap":"","text-right":"",style:D({color:("getHashColorFromString"in e?e.getHashColorFromString:k(T))(c(s.name))})},[o("code",Q,m(c(s.name)),1)],4),o("td",R,[o("code",W,m(v(s.name)),1)]),o("td",X,m(s.listeners),1),o("td",q,m(s.executions.length+1),1),o("td",G,[_(I,{duration:s.duration},null,8,["duration"])])]))),128))])])}}}),K={class:"markdown-body"},Z={__name:"hooks",setup(x,{expose:a}){return a({frontmatter:{}}),(n,d)=>(u(),h("div",K,d[0]||(d[0]=[o("h1",null,"Hooks",-1),o("p",null,[l("Hooks are an advanced API which can be used for module development or other advanced use cases. The hooking API can be used to expand almost every aspect of Nuxt. Under the hood it is powered by "),o("a",{href:"https://github.com/unjs/hookable",target:"_blank",rel:"noopener"},"unjs/hookable"),l(".")],-1),o("p",null,[o("a",{href:"https://nuxt.com/docs/guide/going-further/hooks",target:"_blank",rel:"noopener"},"Learn more about hooks"),l(".")],-1)])))}},it=$({__name:"hooks",setup(x){const a=F(),r=B(),n=w(()=>r.value?.metrics.clientHooks());return(d,g)=>{const b=J,c=P,v=Z,i=E;return u(),h(y,null,[o("div",null,[n.value?.length?(u(),C(c,{key:0,icon:"carbon-ibm-cloud-direct-link-1-dedicated-hosting",text:"Client Hooks",description:`Total hooks: ${n.value.length}`,padding:"pl4 pr6"},{default:f(()=>[_(b,{hooks:n.value},null,8,["hooks"])]),_:1},8,["description"])):N("",!0),k(a)?.length?(u(),C(c,{key:1,icon:"carbon-ibm-cloud-direct-link-2-dedicated",text:"Server Hooks",description:`Total hooks: ${k(a)?.length}`,padding:"pl4 pr6"},{default:f(()=>[_(b,{hooks:k(a)},null,8,["hooks"])]),_:1},8,["description"])):N("",!0)]),_(i,null,{default:f(()=>[_(v)]),_:1})],64)}}});export{it as default};
@@ -0,0 +1 @@
1
+ import{a6 as D,X as A,a7 as F,I as E,N as H,W as T,E as j}from"./oqehn934.js";import{_ as L}from"./nselect-tabs.vue-kz2aw76p.js";import{_ as P}from"./nnavbar.vue-f0vufq5s.js";import{_ as U}from"./filepath-item.vue-ldc0cd59.js";import{_ as W}from"./composable-item.vue-nf0lmc00.js";import{k as N,Q as a,S as l,F as y,ab as M,a0 as i,U as d,M as x,u as _,W as b,l as g,a5 as X,b as S,$ as h}from"./vendor/json-editor-vue-gi2fewby.js";import{_ as Q}from"./nsection-block-lalufadl.js";import{_ as Y}from"./help-fab.vue-hhv95xvg.js";import{D as B}from"./constants-b32h69zq.js";import"./vendor/unocss-fae7bffg.js";import"./vendor/shiki-bnvxb5wv.js";import"./nmarkdown.vue-hygash5x.js";import"./client-c9f80qsp.js";import"./nicon-title.vue-ouqsubn7.js";const q={flex:"~ wrap gap2",p2:"",pl4:""},G=N({__name:"ComposableTree",props:{map:{},root:{},metadata:{}},setup($){return(n,p)=>{const s=U,e=W;return a(),l("div",null,[(a(!0),l(y,null,M(n.map.entries(),([o,v])=>(a(),l("div",{key:o},[i(s,{filepath:o,op50:"","hover:underline":""},null,8,["filepath"]),d("div",q,[(a(!0),l(y,null,M(v,w=>(a(),x(e,{key:w.as,item:w,metadata:n.metadata,filepath:o.match(/^[\w@]/)?void 0:o},null,8,["item","metadata","filepath"]))),128))])]))),128))])}}}),J={key:0,flex:"~ col gap-2 items-start"},K=N({__name:"HelpImportsDirs",setup($){const n=D();return(p,s)=>{const e=U;return _(n)?.dirs?(a(),l("div",J,[(a(!0),l(y,null,M(_(n).dirs,o=>(a(),x(e,{key:o,filepath:o,"text-primary":""},null,8,["filepath"]))),128))])):b("",!0)}}}),O={flex:"~ gap-2 wrap",mb6:""},R=N({__name:"HelpImportsModules",setup($){const n=D(),p=g(()=>[...new Set(n.value?.imports.map(s=>A(s.from)).filter(s=>!!s&&!F(s)))]);return(s,e)=>(a(),l("div",O,[(a(!0),l(y,null,M(p.value,o=>(a(),l("code",{key:o,rounded:"","bg-primary:5":"",p:"x2 y0.5","text-primary":""},X(o),1))),128))]))}}),Z={class:"markdown-body"},ee={__name:"imports",setup($,{expose:n}){return n({frontmatter:{}}),(s,e)=>{const o=K,v=R;return a(),l("div",Z,[e[0]||(e[0]=d("h1",null,"Auto imports",-1)),e[1]||(e[1]=d("p",null,"Nuxt auto-imports helper functions, composables and Vue APIs to be used across your application without explicitly importing them. Based on the directory structure, every Nuxt application can also use auto-imports for its own components, composables and plugins. Components, composables or plugins can use these functions.",-1)),e[2]||(e[2]=d("hr",null,null,-1)),e[3]||(e[3]=d("p",null,"According to your config, exports of files under the following folders will be registed as auto-imports entry:",-1)),i(o),e[4]||(e[4]=d("p",null,"Meanwhile, modules could also provide auto-imports for their own components. You have auto-imports from the following modules as well:",-1)),i(v),e[5]||(e[5]=d("hr",null,null,-1)),e[6]||(e[6]=d("p",null,[d("a",{href:"https://nuxt.com/docs/guide/concepts/auto-imports",target:"_blank",rel:"noopener"},"Learn more in the documentation")],-1))])}}},oe={key:0,relative:"","h-full":"","of-auto":""},te={key:0,flex:"~ gap-2 items-center"},be=N({__name:"imports",setup($){const n=E(),p=S("all"),s=S(""),e=D(),o=g(()=>e.value?.metadata),v=g(()=>e.value?.imports.filter(m=>m.as||m.name).sort((m,u)=>(m.as||m.name).localeCompare(u.as||u.name))||[]),w=g(()=>new H(v.value,{keys:["from","as","name"]})),r=g(()=>{const m=new Map,u=new Map,I=new Map;let f=s.value?w.value.search(s.value).map(t=>t.item):v.value;p.value==="using"&&o.value?f=f.filter(t=>(t.as||t.name)in o.value.injectionUsage):p.value==="not-used"&&o.value&&(f=f.filter(t=>!((t.as||t.name)in o.value.injectionUsage)));const k={user:0,lib:0,builtin:0};return f.forEach(t=>{const c=T(t.from)?F(A(t.from))?I:u:m;c.has(t.from)||c.set(t.from,[]),c.get(t.from).push(t),k[c===m?"user":c===u?"lib":"builtin"]++}),{user:m,lib:u,builtin:I,count:k}});return(m,u)=>{const I=j,f=L,k=P,t=G,c=Q,V=ee,z=Y;return a(),l(y,null,[_(n)?(a(),l("div",oe,[i(k,{search:s.value,"onUpdate:search":u[1]||(u[1]=C=>s.value=C),pb3:""},{default:h(()=>[o.value?(a(),l("div",te,[i(I,{icon:"carbon-filter",op50:""}),i(f,{modelValue:p.value,"onUpdate:modelValue":u[0]||(u[0]=C=>p.value=C),n:"primary sm",options:[{label:"All",value:"all"},{label:"Using",value:"using"},{label:"Not used",value:"not-used"}]},null,8,["modelValue"])])):b("",!0)]),_:1},8,["search"]),r.value.user.size?(a(),x(c,{key:0,open:r.value.count.user<=_(B),icon:"carbon-function",text:"User composables",description:`${r.value.count.user} composables from ${r.value.user.size} modules`},{default:h(()=>[i(t,{map:r.value.user,root:_(n).rootDir,metadata:o.value},null,8,["map","root","metadata"])]),_:1},8,["open","description"])):b("",!0),r.value.builtin.size?(a(),x(c,{key:1,open:r.value.count.builtin<=_(B),icon:"simple-icons-nuxtdotjs",text:"Built-in composables",description:`${r.value.count.builtin} composables`},{default:h(()=>[i(t,{map:r.value.builtin,root:_(n).rootDir,metadata:o.value},null,8,["map","root","metadata"])]),_:1},8,["open","description"])):b("",!0),r.value.lib.size?(a(),x(c,{key:2,open:r.value.count.lib<=_(B),icon:"carbon-3d-mpr-toggle",text:"Composables from libraries",description:`${r.value.count.lib} composables from ${r.value.lib.size} packages`},{default:h(()=>[i(t,{map:r.value.lib,root:_(n).rootDir,metadata:o.value},null,8,["map","root","metadata"])]),_:1},8,["open","description"])):b("",!0)])):b("",!0),i(z,null,{default:h(()=>[i(V)]),_:1})],64)}}});export{be as default};
@@ -0,0 +1 @@
1
+ import{b as y,c as g,d as b,t as k,i as N,e as w,f as h}from"./oqehn934.js";import{_ as C}from"./nlink.vue-k9k5hsy4.js";import{_ as V}from"./ncheckbox.vue-ktnsaj70.js";import{k as B,b as L,M as u,$ as o,Q as m,U as t,a0 as n,a6 as l,u as T,W as $}from"./vendor/json-editor-vue-gi2fewby.js";import"./vendor/unocss-fae7bffg.js";import"./vendor/shiki-bnvxb5wv.js";const D={flex:"~ auto col gap3","items-center":"","justify-center":"","text-center":""},P={"max-w-190":"","text-lg":""},j={mb6:"",op50:""},E={p4:""},F={flex:"~ col gap-2",mxa:""},W=B({__name:"index",setup(G){const p=y(),s=L(!0),{showPanel:a}=g("ui");function d(){k.value=s.value,N.value=!1}function f(){a.value=!1,p.value.devtools.close()}return(M,e)=>{const _=w,r=C,i=h,x=V,v=b;return m(),u(v,{flex:"~ col",relative:"","h-screen":"","w-full":""},{default:o(()=>[t("div",D,[e[7]||(e[7]=t("p",{my2:"","text-3em":"","text-primary":"","font-bold":"","font-stylish":""}," 👋 Hi there, welcome to Nuxt DevTools! ",-1)),t("p",P,[n(_,{"mr-0.5":"","inline-block":"","h-5":"","translate-y--1.1":"","align-mid":""}),e[1]||(e[1]=l(" is a set of visual tools that help you to know your Nuxt app better, and enhance your development experience with Nuxt. Enjoy!")),e[2]||(e[2]=t("br",null,null,-1))]),t("p",j,[e[4]||(e[4]=l(" Learn more at ")),n(r,{href:"https://devtools.nuxt.com/",target:"_blank",rel:"noopener noreferrer",n:"primary"},{default:o(()=>e[3]||(e[3]=[l(" devtools.nuxt.com ")])),_:1})]),n(i,{to:"/modules/overview",n:"lg primary",onClick:d},{default:o(()=>e[5]||(e[5]=[t("span",null,"Get Started",-1)])),_:1}),T(a)!==!1?(m(),u(i,{key:0,n:"borderless orange",onClick:f},{default:o(()=>e[6]||(e[6]=[t("span",null,"Always hide the floating panel",-1)])),_:1})):$("",!0)]),t("div",E,[t("div",F,[n(x,{modelValue:s.value,"onUpdate:modelValue":e[0]||(e[0]=c=>s.value=c),n:"green6"},{default:o(()=>[e[8]||(e[8]=t("span",{op50:""},"Send anonymous statistics, help us improving DevTools",-1)),n(r,{href:"https://github.com/nuxt/devtools#anonymous-usage-analytics",target:"_blank",ml1:"",op35:"",textContent:"Learn more"})]),_:1},8,["modelValue"])])])]),_:1})}}});export{W as default};