@nuxt/devtools 1.0.2 → 1.0.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 (120) hide show
  1. package/README.md +2 -1
  2. package/dist/chunks/module-main.mjs +145 -103
  3. package/dist/chunks/vscode.mjs +5 -5
  4. package/dist/client/200.html +35 -35
  5. package/dist/client/404.html +35 -35
  6. package/dist/client/_nuxt/{CodeDiff.vue.495a2700.js → CodeDiff.vue.d8722166.js} +2 -2
  7. package/dist/client/_nuxt/{ComposableItem.vue.09c56ec4.js → ComposableItem.vue.a0062ecc.js} +1 -1
  8. package/dist/client/_nuxt/{DataSchemaButton.vue.058ff215.js → DataSchemaButton.vue.baec9a00.js} +1 -1
  9. package/dist/client/_nuxt/{DataSchemaDrawer.d62bbda3.js → DataSchemaDrawer.b2c7e5f0.js} +3 -3
  10. package/dist/client/_nuxt/{DurationDisplay.vue.e7d2f90b.js → DurationDisplay.vue.75bf04c2.js} +1 -1
  11. package/dist/client/_nuxt/{FilepathItem.vue.feb8a13c.js → FilepathItem.vue.7a091e26.js} +1 -1
  12. package/dist/client/_nuxt/{HelpFab.vue.70bfd8f0.js → HelpFab.vue.07720a44.js} +1 -1
  13. package/dist/client/_nuxt/LaunchPage.vue.51fc4c47.js +1 -0
  14. package/dist/client/_nuxt/NBadge.ce033599.js +1 -0
  15. package/dist/client/_nuxt/NCheckbox.vue.0f5a8440.js +1 -0
  16. package/dist/client/_nuxt/{NCodeBlock.vue.c114d969.js → NCodeBlock.vue.4697f7e4.js} +2 -2
  17. package/dist/client/_nuxt/{NDrawer.vue.4bcebe5d.js → NDrawer.vue.4b4bd813.js} +1 -1
  18. package/dist/client/_nuxt/NDropdown.vue.ddbb4404.js +1 -0
  19. package/dist/client/_nuxt/{NIconTitle.vue.dcd70230.js → NIconTitle.vue.8be5866f.js} +1 -1
  20. package/dist/client/_nuxt/{NLink.vue.353afc82.js → NLink.vue.99516332.js} +1 -1
  21. package/dist/client/_nuxt/{NMarkdown.vue.4e215b1f.js → NMarkdown.vue.d386a844.js} +1 -1
  22. package/dist/client/_nuxt/{NNavbar.vue.29f03776.js → NNavbar.vue.a82b9c01.js} +1 -1
  23. package/dist/client/_nuxt/NSectionBlock.1609c1ec.js +1 -0
  24. package/dist/client/_nuxt/NSelect.vue.7cf27fe7.js +1 -0
  25. package/dist/client/_nuxt/NSelectTabs.vue.8f4924f6.js +1 -0
  26. package/dist/client/_nuxt/NSwitch.vue.6fd7c26d.js +1 -0
  27. package/dist/client/_nuxt/StacktraceList.vue.a2e4171d.js +1 -0
  28. package/dist/client/_nuxt/StateEditor.vue.777f604e.js +1 -0
  29. package/dist/client/_nuxt/{__blank.961dc152.js → __blank.2e21a1a7.js} +1 -1
  30. package/dist/client/_nuxt/analyze-build.371a5734.js +1 -0
  31. package/dist/client/_nuxt/assets.439f186c.js +16 -0
  32. package/dist/client/_nuxt/builds/latest.json +1 -1
  33. package/dist/client/_nuxt/builds/meta/f35e8543-749e-4b65-87f9-0ac9fa3dd3ab.json +1 -0
  34. package/dist/client/_nuxt/{client.4841a079.js → client.bd4053bc.js} +1 -1
  35. package/dist/client/_nuxt/{components.3821affe.js → components.ccf2fad3.js} +5 -5
  36. package/dist/client/_nuxt/{custom-_name_.45e0e481.js → custom-_name_.b0891a20.js} +1 -1
  37. package/dist/client/_nuxt/{default.551695d6.js → default.97700872.js} +1 -1
  38. package/dist/client/_nuxt/{entry.aa8c94e8.css → entry.2732f55b.css} +1 -1
  39. package/dist/client/_nuxt/entry.35c58391.js +27 -0
  40. package/dist/client/_nuxt/{error-404.c4b39504.js → error-404.576aef72.js} +1 -1
  41. package/dist/client/_nuxt/{error-500.4029de92.js → error-500.61e43a5a.js} +1 -1
  42. package/dist/client/_nuxt/error.82c66fee.js +9 -0
  43. package/dist/client/_nuxt/full.72d92407.js +1 -0
  44. package/dist/client/_nuxt/{hooks.ad652487.js → hooks.889b91ae.js} +1 -1
  45. package/dist/client/_nuxt/{imports.779c7207.js → imports.8a1177ed.js} +1 -1
  46. package/dist/client/_nuxt/{index.07112662.js → index.0214b01d.js} +1 -1
  47. package/dist/client/_nuxt/{index.8874e47c.js → index.11f08f78.js} +1 -1
  48. package/dist/client/_nuxt/{json-editor-vue.b1851782.js → json-editor-vue.24ac60a9.js} +1 -1
  49. package/dist/client/_nuxt/modules.0ea1264b.js +2 -0
  50. package/dist/client/_nuxt/{none.48f4e2a5.js → none.9d86a5c5.js} +1 -1
  51. package/dist/client/_nuxt/{open-graph.545307be.js → open-graph.ce924f19.js} +2 -2
  52. package/dist/client/_nuxt/overview.811117a6.js +1 -0
  53. package/dist/client/_nuxt/{pages.065c5174.js → pages.f870c402.js} +1 -1
  54. package/dist/client/_nuxt/{payload.f3ad6ba9.js → payload.ae9699f5.js} +1 -1
  55. package/dist/client/_nuxt/{plugins.97361fa6.js → plugins.a8eafa2c.js} +1 -1
  56. package/dist/client/_nuxt/{runtime-configs.04157e18.js → runtime-configs.344cb73a.js} +1 -1
  57. package/dist/client/_nuxt/server-routes.d5948352.js +9 -0
  58. package/dist/client/_nuxt/settings.a887e1c0.js +1 -0
  59. package/dist/client/_nuxt/{state-components.9496e3b2.js → state-components.295d8108.js} +1 -1
  60. package/dist/client/_nuxt/state-modules.a1a00874.js +1 -0
  61. package/dist/client/_nuxt/storage-options.835c9b2d.js +1 -0
  62. package/dist/client/_nuxt/storage.d4c1d127.js +1 -0
  63. package/dist/client/_nuxt/{terminals.ad730beb.js → terminals.3c6722c6.js} +1 -1
  64. package/dist/client/_nuxt/timeline.cebcddc5.js +29 -0
  65. package/dist/client/_nuxt/unocss-runtime.eab56c8d.js +2 -0
  66. package/dist/client/_nuxt/virtual-files.33dacdaf.js +1 -0
  67. package/dist/client/index.html +35 -35
  68. package/dist/module.json +1 -1
  69. package/dist/module.mjs +1 -1
  70. package/dist/runtime/plugins/devtools.client.mjs +2 -2
  71. package/dist/runtime/plugins/view/FrameBox.vue +1 -1
  72. package/dist/runtime/plugins/view/Main.vue +2 -0
  73. package/dist/runtime/plugins/view/client.mjs +3 -2
  74. package/dist/shared/devtools.371fa152.mjs +111 -0
  75. package/package.json +25 -25
  76. package/dist/client/__blank/index.html +0 -42
  77. package/dist/client/_nuxt/LaunchPage.vue.68d99ad2.js +0 -1
  78. package/dist/client/_nuxt/NBadge.b912de36.js +0 -1
  79. package/dist/client/_nuxt/NCheckbox.vue.a65a9466.js +0 -1
  80. package/dist/client/_nuxt/NDropdown.vue.32f13066.js +0 -1
  81. package/dist/client/_nuxt/NSectionBlock.56f7fa97.js +0 -1
  82. package/dist/client/_nuxt/NSelect.vue.d4b5d548.js +0 -1
  83. package/dist/client/_nuxt/NSelectTabs.vue.f4ae464e.js +0 -1
  84. package/dist/client/_nuxt/NSwitch.vue.95382b67.js +0 -1
  85. package/dist/client/_nuxt/NTip.vue.fbfe6de9.js +0 -1
  86. package/dist/client/_nuxt/StateEditor.vue.9d7dcb3f.js +0 -1
  87. package/dist/client/_nuxt/analyze-build.29ca822b.js +0 -1
  88. package/dist/client/_nuxt/assets.5182b2b7.js +0 -16
  89. package/dist/client/_nuxt/builds/meta/9c2bc90a-5134-40c2-becb-286bd0304a77.json +0 -1
  90. package/dist/client/_nuxt/entry.5d59ff5c.js +0 -27
  91. package/dist/client/_nuxt/full.b09bb7d2.js +0 -1
  92. package/dist/client/_nuxt/modules.53d23733.js +0 -2
  93. package/dist/client/_nuxt/overview.60692331.js +0 -1
  94. package/dist/client/_nuxt/server-routes.631067b9.js +0 -9
  95. package/dist/client/_nuxt/settings.72bdb2b5.js +0 -1
  96. package/dist/client/_nuxt/state-modules.3599ee72.js +0 -1
  97. package/dist/client/_nuxt/storage-options.5fca38da.js +0 -1
  98. package/dist/client/_nuxt/storage.be53a14a.js +0 -1
  99. package/dist/client/_nuxt/timeline.b8cc1d67.js +0 -29
  100. package/dist/client/_nuxt/unocss-runtime.55c74b5c.js +0 -2
  101. package/dist/client/_nuxt/virtual-files.7fd05201.js +0 -1
  102. package/dist/client/modules/analyze-build/index.html +0 -42
  103. package/dist/client/modules/assets/index.html +0 -42
  104. package/dist/client/modules/components/index.html +0 -42
  105. package/dist/client/modules/hooks/index.html +0 -42
  106. package/dist/client/modules/imports/index.html +0 -42
  107. package/dist/client/modules/modules/index.html +0 -42
  108. package/dist/client/modules/open-graph/index.html +0 -42
  109. package/dist/client/modules/overview/index.html +0 -42
  110. package/dist/client/modules/pages/index.html +0 -42
  111. package/dist/client/modules/payload/index.html +0 -42
  112. package/dist/client/modules/plugins/index.html +0 -42
  113. package/dist/client/modules/runtime-configs/index.html +0 -42
  114. package/dist/client/modules/server-routes/index.html +0 -42
  115. package/dist/client/modules/storage/index.html +0 -42
  116. package/dist/client/modules/terminals/index.html +0 -42
  117. package/dist/client/modules/timeline/index.html +0 -42
  118. package/dist/client/modules/virtual-files/index.html +0 -42
  119. package/dist/client/settings/index.html +0 -42
  120. package/dist/shared/devtools.ca660ec5.mjs +0 -114
@@ -1 +1 @@
1
- import{d as $,ai as q,r as A,a as g,au as B,av as D,al as j,aw as E,ax as y,ay as M,az as N,m as V,o as s,aA as I,O as L,aB as O,aC as C,aD as P,f as a,h as l,j as b,at as W,A as R,k as u,v as w,t as T,K as S,i as U,am as F,aE as z}from"./entry.5d59ff5c.js";import{_ as G}from"./LaunchPage.vue.68d99ad2.js";import"./NMarkdown.vue.4e215b1f.js";import"./client.4841a079.js";const x=new Map,K=$({__name:"IframeView",props:{tab:{}},setup(f){const m=f,r=q(),v=A(),i=g(()=>m.tab.name),e=A(),t=B(D(v));j(()=>{const n=m.tab.view,c=n.persistent!==!1,h=["clipboard-write","clipboard-read"];if(x.get(i.value)&&c)e.value=x.get(i.value),e.value.style.visibility="visible";else{e.value=document.createElement("iframe"),e.value.setAttribute("allow",h.join("; ")),c&&x.set(i.value,e.value),e.value.src=n.src;try{e.value.style.opacity="0.01",e.value.onload=()=>{d(),o(),e.value.style.opacity="1"}}catch{e.value.style.opacity="1"}document.body.appendChild(e.value),E(_)}setTimeout(o,100)}),y(_),y(o),y(d),M(()=>{e.value&&(e.value.style.visibility="hidden")});function o(){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 p=N();function d(){if(!(!e.value||!e.value.contentWindow))try{e.value.contentWindow.__NUXT_DEVTOOLS__=p.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,c)=>(s(),V("div",{ref_key:"anchor",ref:v,"h-full":"","w-full":""},null,512))}}),X={flex:"~ col gap2",mxa:"","items-center":""},H=u("div",{"i-carbon-queued":"",mb2:"","text-5xl":"",op50:""},null,-1),J={"text-xl":""},Q={"text-rose":""},Y=u("p",{op50:""}," It might because the module contributing this tab is not installed or enabled ",-1),Z=u("p",{mt8:"","animate-pulse":""}," Redirecting to overview page... ",-1),oe=$({__name:"custom-[name]",props:{name:{}},setup(f){const m=f,r=I(),v=L(),i=g(()=>m.name??r.params.name),e=O(),t=g(()=>e.value.find(o=>o.name===i.value));return j(()=>{t.value?t.value.requireAuth&&!C.value&&P():setTimeout(()=>{t.value||v.push("/modules/overview")},2e3)}),(o,p)=>{const d=R,_=z,n=K,c=G,h=F;return a(t)?a(t).requireAuth&&!("isDevAuthed"in o?o.isDevAuthed:a(C))?(s(),l(_,{key:1})):a(t).view.type==="iframe"?(s(),l(n,{key:2,tab:a(t)},null,8,["tab"])):a(t).view.type==="vnode"?(s(),l(W(a(t).view.vnode),{key:3})):a(t).view.type==="launch"?(s(),l(c,{key:4,name:`custom-${a(t).name}`,icon:a(t).view.icon||a(t).icon,title:a(t).view.title||a(t).title,description:a(t).view.description,actions:a(t).view.actions,onAction:p[0]||(p[0]=k=>("rpc"in o?o.rpc:a(S)).customTabAction(a(t).name,k))},null,8,["name","icon","title","description","actions"])):(s(),l(d,{key:5},{default:b(()=>[U(h,{flex:"~ col","h-full":"","items-center":"","justify-center":""},{default:b(()=>[w(" Unknown tab type "+T(a(t).view),1)]),_:1})]),_:1})):(s(),l(d,{key:0},{default:b(()=>[u("div",X,[H,u("p",J,[w(" Tab "),u("code",Q,T(a(i)),1),w(" not found ")]),Y,Z])]),_:1}))}}});export{oe as default};
1
+ import{d as $,ak as q,r as A,a as x,aw as B,ax as D,an as j,ay as E,az as y,aA as M,aB as L,m as N,o as s,aC as P,P as V,aD as I,aE as C,aF as W,f as a,h as l,j as b,av as O,A as R,k as u,v as w,t as T,L as S,i as F,ao as U,aG as G}from"./entry.35c58391.js";import{_ as z}from"./LaunchPage.vue.51fc4c47.js";import"./NMarkdown.vue.d386a844.js";import"./client.bd4053bc.js";const k=new Map,X=$({__name:"IframeView",props:{tab:{}},setup(f){const m=f,r=q(),v=A(),i=x(()=>m.tab.name),e=A(),t=B(D(v));j(()=>{const n=m.tab.view,c=n.persistent!==!1,h=["clipboard-write","clipboard-read"];if(k.get(i.value)&&c)e.value=k.get(i.value),e.value.style.visibility="visible";else{e.value=document.createElement("iframe"),e.value.setAttribute("allow",h.join("; ")),c&&k.set(i.value,e.value),e.value.src=n.src;try{e.value.style.opacity="0.01",e.value.onload=()=>{d(),o(),e.value.style.opacity="1"}}catch{e.value.style.opacity="1"}document.body.appendChild(e.value),E(_)}setTimeout(o,100)}),y(_),y(o),y(d),M(()=>{e.value&&(e.value.style.visibility="hidden")});function o(){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 p=L();function d(){if(!(!e.value||!e.value.contentWindow))try{e.value.contentWindow.__NUXT_DEVTOOLS__=p.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,c)=>(s(),N("div",{ref_key:"anchor",ref:v,"h-full":"","w-full":""},null,512))}}),H={flex:"~ col gap2",mxa:"","items-center":""},J=u("div",{"i-carbon-queued":"",mb2:"","text-5xl":"",op50:""},null,-1),K={"text-xl":""},Q={"text-rose":""},Y=u("p",{op50:""}," It might because the module contributing this tab is not installed or enabled ",-1),Z=u("p",{mt8:"","animate-pulse":""}," Redirecting to overview page... ",-1),oe=$({__name:"custom-[name]",props:{name:{}},setup(f){const m=f,r=P(),v=V(),i=x(()=>m.name??r.params.name),e=I(),t=x(()=>e.value.find(o=>o.name===i.value));return j(()=>{t.value?t.value.requireAuth&&!C.value&&W():setTimeout(()=>{t.value||v.push("/modules/overview")},2e3)}),(o,p)=>{const d=R,_=G,n=X,c=z,h=U;return a(t)?a(t).requireAuth&&!("isDevAuthed"in o?o.isDevAuthed:a(C))?(s(),l(_,{key:1})):a(t).view.type==="iframe"?(s(),l(n,{key:2,tab:a(t)},null,8,["tab"])):a(t).view.type==="vnode"?(s(),l(O(a(t).view.vnode),{key:3})):a(t).view.type==="launch"?(s(),l(c,{key:4,name:`custom-${a(t).name}`,icon:a(t).view.icon||a(t).icon,title:a(t).view.title||a(t).title,description:a(t).view.description,actions:a(t).view.actions,onAction:p[0]||(p[0]=g=>("rpc"in o?o.rpc:a(S)).customTabAction(a(t).name,g))},null,8,["name","icon","title","description","actions"])):(s(),l(d,{key:5},{default:b(()=>[F(h,{flex:"~ col","h-full":"","items-center":"","justify-center":""},{default:b(()=>[w(" Unknown tab type "+T(a(t).view),1)]),_:1})]),_:1})):(s(),l(d,{key:0},{default:b(()=>[u("div",H,[J,u("p",K,[w(" Tab "),u("code",Q,T(a(i)),1),w(" not found ")]),Y,Z])]),_:1}))}}});export{oe as default};
@@ -1 +1 @@
1
- import{q as o,m as s,k as t,a8 as a,o as n}from"./entry.5d59ff5c.js";const r={},c={"h-full":"","of-auto":"","n-panel-grids":""},l={"h-full":"","bg-base":""};function d(e,_){return n(),s("div",c,[t("div",l,[a(e.$slots,"default")])])}const i=o(r,[["render",d]]);export{i as default};
1
+ import{q as o,m as s,k as t,aa as a,o as n}from"./entry.35c58391.js";const r={},c={"h-full":"","of-auto":"","n-panel-grids":""},l={"h-full":"","bg-base":""};function d(e,_){return n(),s("div",c,[t("div",l,[a(e.$slots,"default")])])}const i=o(r,[["render",d]]);export{i as default};