@nuxt/devtools 0.5.2 → 0.5.4

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.83906623.js → Badge.ade65c69.js} +1 -1
  7. package/dist/client/_nuxt/CodeSnippets.vue.0933ada7.js +1 -0
  8. package/dist/client/_nuxt/{DrawerRight.vue.e303d503.js → DrawerRight.vue.7bc0ac9b.js} +1 -1
  9. package/dist/client/_nuxt/{DurationDisplay.vue.b44ca7b3.js → DurationDisplay.vue.d2a5c09b.js} +1 -1
  10. package/dist/client/_nuxt/{FilepathItem.vue.5b5ced5d.js → FilepathItem.vue.a3a55bfd.js} +1 -1
  11. package/dist/client/_nuxt/{HelpFab.vue.c263b505.js → HelpFab.vue.1ab4e4f1.js} +1 -1
  12. package/dist/client/_nuxt/{LaunchPage.vue.10a18c7c.js → LaunchPage.vue.dff3dd39.js} +1 -1
  13. package/dist/client/_nuxt/{NCheckbox.vue.fc55451a.js → NCheckbox.vue.cd1637b2.js} +1 -1
  14. package/dist/client/_nuxt/{NCodeBlock.vue.5e846b10.js → NCodeBlock.vue.d5b2e85d.js} +1 -1
  15. package/dist/client/_nuxt/{NIconButton.vue.87d44e1b.js → NIconButton.vue.3defcade.js} +1 -1
  16. package/dist/client/_nuxt/{NIconTitle.vue.44afa7ff.js → NIconTitle.vue.62b2ff0a.js} +1 -1
  17. package/dist/client/_nuxt/NLink.vue.be635eca.js +1 -0
  18. package/dist/client/_nuxt/{NMarkdown.vue.b43fcab0.js → NMarkdown.vue.00fc3014.js} +1 -1
  19. package/dist/client/_nuxt/{NPanelGrids.3011caf9.js → NPanelGrids.24e40025.js} +1 -1
  20. package/dist/client/_nuxt/{NSectionBlock.9d37fd4b.js → NSectionBlock.eb96beb4.js} +1 -1
  21. package/dist/client/_nuxt/{NSelect.vue.53616e18.js → NSelect.vue.7652516b.js} +1 -1
  22. package/dist/client/_nuxt/{NSwitch.vue.0fe4aa67.js → NSwitch.vue.c07ff0b7.js} +1 -1
  23. package/dist/client/_nuxt/{NTip.vue.42848f36.js → NTip.vue.3fd9b115.js} +1 -1
  24. package/dist/client/_nuxt/Navbar.vue.12ff05d9.js +1 -0
  25. package/dist/client/_nuxt/NpmVersionCheck.vue.7bc4775a.js +1 -0
  26. package/dist/client/_nuxt/{PanelLeftRight.vue.fed8984a.js → PanelLeftRight.vue.0d3c5a22.js} +1 -1
  27. package/dist/client/_nuxt/StateEditor.vue.6e8c107a.js +1 -0
  28. package/dist/client/_nuxt/{__inspecting.fbaf226d.js → __inspecting.137e909d.js} +1 -1
  29. package/dist/client/_nuxt/analyze-build.790e4c36.js +1 -0
  30. package/dist/client/_nuxt/assets.1c0d54b4.js +16 -0
  31. package/dist/client/_nuxt/{client.a6478274.js → client.d93a636c.js} +1 -1
  32. package/dist/client/_nuxt/{components.f00116c7.js → components.060d9fd5.js} +3 -3
  33. package/dist/client/_nuxt/custom-_name_.e88f914e.js +1 -0
  34. package/dist/client/_nuxt/{default.e408d64e.js → default.6eda7699.js} +1 -1
  35. package/dist/client/_nuxt/{editor.60cc6e07.js → editor.4380b623.js} +1 -1
  36. package/dist/client/_nuxt/entry.34446c1f.js +19 -0
  37. package/dist/client/_nuxt/{entry.5cc961cc.css → entry.bf8a0e33.css} +1 -1
  38. package/dist/client/_nuxt/{error-404.e559d2f7.js → error-404.7bcf1a44.js} +1 -1
  39. package/dist/client/_nuxt/{error-500.0eef607d.js → error-500.b67f8091.js} +1 -1
  40. package/dist/client/_nuxt/{error-component.83c76a45.js → error-component.5479d89e.js} +2 -2
  41. package/dist/client/_nuxt/{full.872180c4.js → full.89a525fd.js} +1 -1
  42. package/dist/client/_nuxt/{hooks.f607bdd3.js → hooks.99ea2107.js} +1 -1
  43. package/dist/client/_nuxt/imports.29e62250.js +1 -0
  44. package/dist/client/_nuxt/{index.ed5657ea.js → index.a348e979.js} +1 -1
  45. package/dist/client/_nuxt/{index.0676e898.js → index.b8d7fad0.js} +1 -1
  46. package/dist/client/_nuxt/{json-editor-vue.3247103b.js → json-editor-vue.62f947e8.js} +1 -1
  47. package/dist/client/_nuxt/{middleware.f8f2ddc7.js → middleware.61ccc755.js} +1 -1
  48. package/dist/client/_nuxt/modules.f8953fab.js +4 -0
  49. package/dist/client/_nuxt/{none.2ff7cc7a.js → none.566b9a55.js} +1 -1
  50. package/dist/client/_nuxt/open-graph.26d327ec.js +3 -0
  51. package/dist/client/_nuxt/overview.4326006b.js +1 -0
  52. package/dist/client/_nuxt/pages.b234eacb.js +1 -0
  53. package/dist/client/_nuxt/{payload.98eee0c8.js → payload.fbf9b90d.js} +1 -1
  54. package/dist/client/_nuxt/{plugins.33f32b58.js → plugins.9c9f9450.js} +1 -1
  55. package/dist/client/_nuxt/{runtime-configs.12858433.js → runtime-configs.cf5a4a0c.js} +1 -1
  56. package/dist/client/_nuxt/server-routes.7185e439.js +9 -0
  57. package/dist/client/_nuxt/{settings.e641de98.js → settings.8603972f.js} +1 -1
  58. package/dist/client/_nuxt/state-components.f564bfa7.js +1 -0
  59. package/dist/client/_nuxt/storage.4b5872ff.js +1 -0
  60. package/dist/client/_nuxt/{terminals.a3a9bc56.js → terminals.d263a781.js} +1 -1
  61. package/dist/client/_nuxt/{unocss-runtime.2f120d48.js → unocss-runtime.a821baa9.js} +1 -1
  62. package/dist/client/_nuxt/virtual-files.2fc42163.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 +14 -15
  87. package/dist/client/_nuxt/CodeSnippets.vue.189d2c05.js +0 -1
  88. package/dist/client/_nuxt/NLink.vue.7642253a.js +0 -1
  89. package/dist/client/_nuxt/NTextInput.vue.0f5840ce.js +0 -1
  90. package/dist/client/_nuxt/Navbar.vue.1156f86c.js +0 -1
  91. package/dist/client/_nuxt/NpmVersionCheck.vue.01d3cdf4.js +0 -1
  92. package/dist/client/_nuxt/StateEditor.vue.a4934d8c.js +0 -1
  93. package/dist/client/_nuxt/analyze-build.1e11d4c2.js +0 -1
  94. package/dist/client/_nuxt/assets.4e286b98.js +0 -16
  95. package/dist/client/_nuxt/custom-_name_.4698ded9.js +0 -1
  96. package/dist/client/_nuxt/entry.33b4ceee.js +0 -19
  97. package/dist/client/_nuxt/fuse.esm.88e2763d.js +0 -1
  98. package/dist/client/_nuxt/imports.af078df6.js +0 -1
  99. package/dist/client/_nuxt/modules.1cb9572d.js +0 -4
  100. package/dist/client/_nuxt/open-graph.22edbc56.js +0 -3
  101. package/dist/client/_nuxt/overview.12716b2d.js +0 -1
  102. package/dist/client/_nuxt/pages.56e34b91.js +0 -1
  103. package/dist/client/_nuxt/server-routes.bde5bee5.js +0 -9
  104. package/dist/client/_nuxt/storage.b8b29d67.js +0 -1
  105. package/dist/client/_nuxt/virtual-files.c0c7f5bc.js +0 -1
@@ -0,0 +1 @@
1
+ import{_ as E}from"./NPanelGrids.24e40025.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.34446c1f.js";import{_ as R}from"./LaunchPage.vue.dff3dd39.js";import"./NMarkdown.vue.00fc3014.js";import"./client.d93a636c.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.33b4ceee.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{aW as o,h as s,f as t,Z as a,o as n}from"./entry.34446c1f.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.33b4ceee.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,b7 as c,D as d,y as l,b8 as p,M as b}from"./entry.34446c1f.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};