@nuxt/devtools 0.5.3 → 0.5.5

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 (105) hide show
  1. package/dist/chunks/module-main.mjs +90 -32
  2. package/dist/chunks/vscode.mjs +4 -5
  3. package/dist/client/200.html +2 -2
  4. package/dist/client/404.html +2 -2
  5. package/dist/client/__inspecting/index.html +2 -2
  6. package/dist/client/_nuxt/{Badge.0ce662e4.js → Badge.e58c5f84.js} +1 -1
  7. package/dist/client/_nuxt/CodeSnippets.vue.22b03a10.js +1 -0
  8. package/dist/client/_nuxt/{DrawerRight.vue.eb026405.js → DrawerRight.vue.58044cee.js} +1 -1
  9. package/dist/client/_nuxt/{DurationDisplay.vue.9fa7b27d.js → DurationDisplay.vue.0d87f5bf.js} +1 -1
  10. package/dist/client/_nuxt/{FilepathItem.vue.7eb51d4e.js → FilepathItem.vue.063a2cdd.js} +1 -1
  11. package/dist/client/_nuxt/{HelpFab.vue.ebcc1356.js → HelpFab.vue.044c905c.js} +1 -1
  12. package/dist/client/_nuxt/{LaunchPage.vue.63709998.js → LaunchPage.vue.59383ce6.js} +1 -1
  13. package/dist/client/_nuxt/{NCheckbox.vue.a470be6e.js → NCheckbox.vue.f53d5fde.js} +1 -1
  14. package/dist/client/_nuxt/{NCodeBlock.vue.3fea7f9d.js → NCodeBlock.vue.e2044e41.js} +1 -1
  15. package/dist/client/_nuxt/{NIconButton.vue.13275ce3.js → NIconButton.vue.6924c323.js} +1 -1
  16. package/dist/client/_nuxt/{NIconTitle.vue.811968a5.js → NIconTitle.vue.19793f87.js} +1 -1
  17. package/dist/client/_nuxt/NLink.vue.dddf8805.js +1 -0
  18. package/dist/client/_nuxt/{NMarkdown.vue.f8a61172.js → NMarkdown.vue.2a7f337d.js} +1 -1
  19. package/dist/client/_nuxt/{NPanelGrids.afa6e237.js → NPanelGrids.923427b0.js} +1 -1
  20. package/dist/client/_nuxt/{NSectionBlock.4824dc31.js → NSectionBlock.2937e558.js} +1 -1
  21. package/dist/client/_nuxt/{NSelect.vue.2f75a7b4.js → NSelect.vue.6bc1e782.js} +1 -1
  22. package/dist/client/_nuxt/{NSwitch.vue.ae05571e.js → NSwitch.vue.e15ba847.js} +1 -1
  23. package/dist/client/_nuxt/{NTip.vue.6c00393e.js → NTip.vue.16191ba5.js} +1 -1
  24. package/dist/client/_nuxt/Navbar.vue.1eab843e.js +1 -0
  25. package/dist/client/_nuxt/NpmVersionCheck.vue.47b612aa.js +1 -0
  26. package/dist/client/_nuxt/{PanelLeftRight.vue.9e8aa6b8.js → PanelLeftRight.vue.5807516f.js} +1 -1
  27. package/dist/client/_nuxt/StateEditor.vue.d28666b8.js +1 -0
  28. package/dist/client/_nuxt/{__inspecting.689fc045.js → __inspecting.324d8c7c.js} +1 -1
  29. package/dist/client/_nuxt/analyze-build.9257b30a.js +1 -0
  30. package/dist/client/_nuxt/assets.c3e8e0f3.js +16 -0
  31. package/dist/client/_nuxt/{client.ce74bb6b.js → client.4ef5790f.js} +1 -1
  32. package/dist/client/_nuxt/{components.212338f5.js → components.1cc22fdb.js} +3 -3
  33. package/dist/client/_nuxt/custom-_name_.e1ada273.js +1 -0
  34. package/dist/client/_nuxt/{default.b5c163f2.js → default.2805e636.js} +1 -1
  35. package/dist/client/_nuxt/{editor.6dcc09c7.js → editor.721868d4.js} +1 -1
  36. package/dist/client/_nuxt/{entry.5cc961cc.css → entry.bf8a0e33.css} +1 -1
  37. package/dist/client/_nuxt/entry.f02d2ccc.js +19 -0
  38. package/dist/client/_nuxt/{error-404.67a51e0c.js → error-404.61da4836.js} +1 -1
  39. package/dist/client/_nuxt/{error-500.811aab1a.js → error-500.68195134.js} +1 -1
  40. package/dist/client/_nuxt/{error-component.74964985.js → error-component.db5245e7.js} +2 -2
  41. package/dist/client/_nuxt/{full.1ccd4009.js → full.cfa15ba5.js} +1 -1
  42. package/dist/client/_nuxt/{hooks.310738c8.js → hooks.a0b5858b.js} +1 -1
  43. package/dist/client/_nuxt/imports.c13274b4.js +1 -0
  44. package/dist/client/_nuxt/{index.a86d9a7f.js → index.476fd219.js} +1 -1
  45. package/dist/client/_nuxt/{index.5d80161c.js → index.e17aa9ce.js} +1 -1
  46. package/dist/client/_nuxt/{json-editor-vue.cb8f6785.js → json-editor-vue.3c153669.js} +1 -1
  47. package/dist/client/_nuxt/{middleware.c10051f6.js → middleware.10bb56a6.js} +1 -1
  48. package/dist/client/_nuxt/modules.41d22931.js +4 -0
  49. package/dist/client/_nuxt/{none.1d054cdf.js → none.a68953c7.js} +1 -1
  50. package/dist/client/_nuxt/open-graph.87c9ce95.js +3 -0
  51. package/dist/client/_nuxt/overview.e078ddfd.js +1 -0
  52. package/dist/client/_nuxt/pages.2011bfab.js +1 -0
  53. package/dist/client/_nuxt/{payload.4878fb79.js → payload.aa12c647.js} +1 -1
  54. package/dist/client/_nuxt/{plugins.92e36c4c.js → plugins.2722f367.js} +1 -1
  55. package/dist/client/_nuxt/{runtime-configs.c13ac314.js → runtime-configs.1c597722.js} +1 -1
  56. package/dist/client/_nuxt/server-routes.be515b73.js +9 -0
  57. package/dist/client/_nuxt/{settings.fcb97906.js → settings.bdc2ea51.js} +1 -1
  58. package/dist/client/_nuxt/state-components.97be2043.js +1 -0
  59. package/dist/client/_nuxt/storage.b1a77fa3.js +1 -0
  60. package/dist/client/_nuxt/{terminals.dcdca739.js → terminals.ce48c24d.js} +1 -1
  61. package/dist/client/_nuxt/{unocss-runtime.cfd98600.js → unocss-runtime.7eface6f.js} +1 -1
  62. package/dist/client/_nuxt/virtual-files.3e66a8af.js +1 -0
  63. package/dist/client/index.html +2 -2
  64. package/dist/client/modules/analyze-build/index.html +2 -2
  65. package/dist/client/modules/assets/index.html +2 -2
  66. package/dist/client/modules/components/index.html +2 -2
  67. package/dist/client/modules/hooks/index.html +2 -2
  68. package/dist/client/modules/imports/index.html +2 -2
  69. package/dist/client/modules/middleware/index.html +2 -2
  70. package/dist/client/modules/modules/index.html +2 -2
  71. package/dist/client/modules/open-graph/index.html +2 -2
  72. package/dist/client/modules/overview/index.html +2 -2
  73. package/dist/client/modules/pages/index.html +2 -2
  74. package/dist/client/modules/payload/index.html +2 -2
  75. package/dist/client/modules/plugins/index.html +2 -2
  76. package/dist/client/modules/runtime-configs/index.html +2 -2
  77. package/dist/client/modules/server-routes/index.html +2 -2
  78. package/dist/client/modules/storage/index.html +2 -2
  79. package/dist/client/modules/terminals/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/module.mjs +1 -1
  84. package/dist/shared/{devtools.a2798b81.mjs → devtools.345c630c.mjs} +2 -2
  85. package/dist/types.d.ts +12 -1
  86. package/package.json +8 -9
  87. package/dist/client/_nuxt/CodeSnippets.vue.63e1babe.js +0 -1
  88. package/dist/client/_nuxt/NLink.vue.8becbaf2.js +0 -1
  89. package/dist/client/_nuxt/NTextInput.vue.efd43a47.js +0 -1
  90. package/dist/client/_nuxt/Navbar.vue.76f856f0.js +0 -1
  91. package/dist/client/_nuxt/NpmVersionCheck.vue.9ff03721.js +0 -1
  92. package/dist/client/_nuxt/StateEditor.vue.b9b04885.js +0 -1
  93. package/dist/client/_nuxt/analyze-build.8d6d1198.js +0 -1
  94. package/dist/client/_nuxt/assets.b6f9866b.js +0 -16
  95. package/dist/client/_nuxt/custom-_name_.87eb6297.js +0 -1
  96. package/dist/client/_nuxt/entry.3c854225.js +0 -19
  97. package/dist/client/_nuxt/fuse.esm.88e2763d.js +0 -1
  98. package/dist/client/_nuxt/imports.ccc44d22.js +0 -1
  99. package/dist/client/_nuxt/modules.9cc1fa1d.js +0 -4
  100. package/dist/client/_nuxt/open-graph.4ea7bb24.js +0 -3
  101. package/dist/client/_nuxt/overview.9f34e07f.js +0 -1
  102. package/dist/client/_nuxt/pages.a55d4866.js +0 -1
  103. package/dist/client/_nuxt/server-routes.dae9cba0.js +0 -9
  104. package/dist/client/_nuxt/storage.d543849f.js +0 -1
  105. package/dist/client/_nuxt/virtual-files.3a24df07.js +0 -1
@@ -0,0 +1 @@
1
+ import{_ as E}from"./NPanelGrids.923427b0.js";import{a as C,a0 as M,r as g,p as w,af as B,ag as N,a3 as T,ah as V,ai as f,aj as $,ak as I,h as L,o as s,E as W,D as A,al as D,u as t,c as d,w as h,aa as O,f as c,l as y,t as k,y as P,i as S,a6 as q}from"./entry.f02d2ccc.js";import{_ as R}from"./LaunchPage.vue.59383ce6.js";import"./NMarkdown.vue.2a7f337d.js";import"./client.4ef5790f.js";const b=new Map,U=C({__name:"IframeView",props:{tab:{}},setup(x){const p=x,l=M(),r=g(),u=w(()=>p.tab.name),e=g(),n=B(N(r));T(()=>{const o=p.tab.view,i=o.persistent!==!1,j=["clipboard-write","clipboard-read"];if(b.get(u.value)&&i)e.value=b.get(u.value),e.value.style.visibility="visible";else{e.value=document.createElement("iframe"),e.value.setAttribute("allow",j.join("; ")),i&&b.set(u.value,e.value),e.value.src=o.src;try{e.value.style.opacity="0.01",e.value.onload=()=>{v(),a(),e.value.style.opacity="1"}}catch{e.value.style.opacity="1"}document.body.appendChild(e.value),V(_)}setTimeout(a,100)}),f(_),f(a),f(v),$(()=>{e.value&&(e.value.style.visibility="hidden")});function a(){if(!(!e.value||!e.value.contentWindow))try{const o=e.value.contentWindow.document.querySelector("html");o?.classList.toggle("dark",l.value==="dark"),o?.classList.toggle("light",l.value==="dark"),new MutationObserver(()=>{l.value=e.value?.contentWindow?.document.querySelector("html")?.classList.contains("dark")?"dark":"light"}).observe(o,{attributes:!0,attributeFilter:["class"]})}catch{}}const m=I();function v(){if(!(!e.value||!e.value.contentWindow))try{e.value.contentWindow.__NUXT_DEVTOOLS__=m.value}catch{}}function _(){e.value&&Object.assign(e.value.style,{position:"fixed",left:`${n.left}px`,top:`${n.top}px`,width:`${n.width}px`,height:`${n.height}px`,outline:"none"})}return(o,i)=>(s(),L("div",{ref_key:"anchor",ref:r,"h-full":"","w-full":""},null,512))}}),F={flex:"~ col gap2",mxa:"","items-center":""},G=c("div",{"i-carbon-queued":"",mb2:"","text-5xl":"",op50:""},null,-1),X={"text-xl":""},z={"text-rose":""},H=c("p",{op50:""}," It might because the module contributing this tab is not installed or enabled ",-1),J=c("p",{mt8:"","animate-pulse":""}," Redirecting to overview page... ",-1),oe=C({__name:"custom-[name]",setup(x){const p=W(),l=A(),r=w(()=>p.params.name),u=D(),e=w(()=>u.value.find(n=>n.name===r.value));return T(()=>{e.value||setTimeout(()=>{e.value||l.push("/modules/overview")},2e3)}),(n,a)=>{const m=E,v=U,_=R,o=q;return t(e)?t(e).view.type==="iframe"?(s(),d(v,{key:1,tab:t(e)},null,8,["tab"])):t(e).view.type==="vnode"?(s(),d(O(t(e).view.vnode),{key:2})):t(e).view.type==="launch"?(s(),d(_,{key:3,icon:t(e).view.icon||t(e).icon,title:t(e).view.title||t(e).title,description:t(e).view.description,actions:t(e).view.actions,onAction:a[0]||(a[0]=i=>("rpc"in n?n.rpc:t(P)).customTabAction(t(e).name,i))},null,8,["icon","title","description","actions"])):(s(),d(m,{key:4},{default:h(()=>[S(o,{flex:"~ col","h-full":"","items-center":"","justify-center":""},{default:h(()=>[y(" Unknown tab type "+k(t(e).view),1)]),_:1})]),_:1})):(s(),d(m,{key:0},{default:h(()=>[c("div",F,[G,c("p",X,[y(" Tab "),c("code",z,k(t(r)),1),y(" not found ")]),H,J])]),_:1}))}}});export{oe as default};
@@ -1 +1 @@
1
- import{aU as o,h as s,f as t,V as a,o as n}from"./entry.3c854225.js";const r={},c={"h-full":"","of-auto":"","n-panel-grids":""},l={"h-full":"","bg-base":""};function d(e,f){return n(),s("div",c,[t("div",l,[a(e.$slots,"default")])])}const i=o(r,[["render",d]]);export{i as default};
1
+ import{aV as o,h as s,f as t,Z as a,o as n}from"./entry.f02d2ccc.js";const r={},c={"h-full":"","of-auto":"","n-panel-grids":""},l={"h-full":"","bg-base":""};function d(e,f){return n(),s("div",c,[t("div",l,[a(e.$slots,"default")])])}const i=o(r,[["render",d]]);export{i as default};
@@ -1 +1 @@
1
- import{R as u,b5 as c,D as d,y as l,b6 as p,J as b}from"./entry.3c854225.js";function v(){const i=u(),e=c(),n=d();return async o=>{const t=i.value?.buildDir,r=t&&o.startsWith(t)?`#build${o.slice(t.length).replace(/\.\w+$/,"")}`:o,a=e.value?.entries.find(s=>s.path===r||s.id===r)||e.value?.entries.find(s=>s.path===o||s.id===o);a?n.push(`/modules/virtual-files?id=${encodeURIComponent(a.id)}`):await l.openInEditor(o)}}function m(){const i=p(),e=b();return n=>{i.copy(n),e("Copied to clipboard","carbon-checkmark")}}export{m as a,v as u};
1
+ import{U as u,b6 as c,D as d,y as l,b7 as p,M as b}from"./entry.f02d2ccc.js";function v(){const i=u(),e=c(),n=d();return async o=>{const t=i.value?.buildDir,r=t&&o.startsWith(t)?`#build${o.slice(t.length).replace(/\.\w+$/,"")}`:o,a=e.value?.entries.find(s=>s.path===r||s.id===r)||e.value?.entries.find(s=>s.path===o||s.id===o);a?n.push(`/modules/virtual-files?id=${encodeURIComponent(a.id)}`):await l.openInEditor(o)}}function m(){const i=p(),e=b();return n=>{i.copy(n),e("Copied to clipboard","carbon-checkmark")}}export{m as a,v as u};