@nuxt/devtools 0.6.6 → 0.6.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/dist/chunks/module-main.mjs +69 -57
  2. package/dist/chunks/vscode.mjs +1 -1
  3. package/dist/client/200.html +2 -2
  4. package/dist/client/404.html +2 -2
  5. package/dist/client/__blank/index.html +2 -2
  6. package/dist/client/_nuxt/{AuthRequiredPanel.vue.783e1d98.js → AuthRequiredPanel.vue.fc7f2968.js} +1 -1
  7. package/dist/client/_nuxt/{Badge.01153451.js → Badge.e05fc69f.js} +1 -1
  8. package/dist/client/_nuxt/{CodeSnippets.vue.62990bc2.js → CodeSnippets.vue.a1fe908d.js} +1 -1
  9. package/dist/client/_nuxt/{DrawerRight.vue.a92525c1.js → DrawerRight.vue.3adebf89.js} +1 -1
  10. package/dist/client/_nuxt/{DurationDisplay.vue.c3ae9764.js → DurationDisplay.vue.c6aa67b3.js} +1 -1
  11. package/dist/client/_nuxt/{FilepathItem.vue.b4bdb03f.js → FilepathItem.vue.7520a5eb.js} +1 -1
  12. package/dist/client/_nuxt/{HelpFab.vue.a9df2aac.js → HelpFab.vue.6c2e0089.js} +1 -1
  13. package/dist/client/_nuxt/{LaunchPage.vue.8ecfdb82.js → LaunchPage.vue.ace7e996.js} +1 -1
  14. package/dist/client/_nuxt/{NCheckbox.vue.09c2faa0.js → NCheckbox.vue.660c8c34.js} +1 -1
  15. package/dist/client/_nuxt/{NCodeBlock.vue.5e6a2196.js → NCodeBlock.vue.12f6d4d2.js} +1 -1
  16. package/dist/client/_nuxt/NIconButton.vue.9dc5b644.js +1 -0
  17. package/dist/client/_nuxt/{NIconTitle.vue.9b97e25e.js → NIconTitle.vue.0db956c8.js} +1 -1
  18. package/dist/client/_nuxt/{NLink.vue.8c655f8a.js → NLink.vue.f3f95732.js} +1 -1
  19. package/dist/client/_nuxt/{NMarkdown.vue.a51cc795.js → NMarkdown.vue.31d61f61.js} +1 -1
  20. package/dist/client/_nuxt/{NPanelGrids.16564aae.js → NPanelGrids.cfd60e85.js} +1 -1
  21. package/dist/client/_nuxt/{NSectionBlock.722f4ebc.js → NSectionBlock.216523d8.js} +1 -1
  22. package/dist/client/_nuxt/{NSelect.vue.80dc04cd.js → NSelect.vue.38f0d91b.js} +1 -1
  23. package/dist/client/_nuxt/{NSwitch.vue.608eedef.js → NSwitch.vue.4e114eb7.js} +1 -1
  24. package/dist/client/_nuxt/{NTip.vue.0823a0e1.js → NTip.vue.d602d31e.js} +1 -1
  25. package/dist/client/_nuxt/Navbar.vue.72301b0e.js +1 -0
  26. package/dist/client/_nuxt/{PanelLeftRight.vue.17bcbe2c.js → PanelLeftRight.vue.d1539d19.js} +1 -1
  27. package/dist/client/_nuxt/{StateEditor.vue.85e49f31.js → StateEditor.vue.c8fd02b3.js} +1 -1
  28. package/dist/client/_nuxt/{__blank.474106e2.js → __blank.58b4eaa9.js} +1 -1
  29. package/dist/client/_nuxt/{analyze-build.25e4c0e1.js → analyze-build.66f9bc20.js} +1 -1
  30. package/dist/client/_nuxt/{assets.6a9fdb70.js → assets.b60a4d67.js} +1 -1
  31. package/dist/client/_nuxt/{client.853ad100.js → client.1e3208e3.js} +1 -1
  32. package/dist/client/_nuxt/{components.7102fe12.js → components.3a437d73.js} +1 -1
  33. package/dist/client/_nuxt/{custom-_name_.a07051a8.js → custom-_name_.1614dd97.js} +1 -1
  34. package/dist/client/_nuxt/{default.3da0acde.js → default.a69a326f.js} +1 -1
  35. package/dist/client/_nuxt/entry.559460ac.js +21 -0
  36. package/dist/client/_nuxt/entry.e49b0ddd.css +1 -0
  37. package/dist/client/_nuxt/{error-404.c083e948.js → error-404.eb07c617.js} +1 -1
  38. package/dist/client/_nuxt/{error-500.87865939.js → error-500.8214e786.js} +1 -1
  39. package/dist/client/_nuxt/{full.01cd9940.js → full.1f3e7ba7.js} +1 -1
  40. package/dist/client/_nuxt/{hooks.f820d9c5.js → hooks.7a294c4b.js} +1 -1
  41. package/dist/client/_nuxt/{imports.cf6a0be0.js → imports.8b3c700a.js} +1 -1
  42. package/dist/client/_nuxt/{index.bb6f436a.js → index.6a0822c9.js} +1 -1
  43. package/dist/client/_nuxt/{index.d1b4d52b.js → index.98d48447.js} +1 -1
  44. package/dist/client/_nuxt/{json-editor-vue.51bb18e8.js → json-editor-vue.9acffc14.js} +1 -1
  45. package/dist/client/_nuxt/{middleware.e1b5c8c8.js → middleware.c2f916df.js} +1 -1
  46. package/dist/client/_nuxt/{modules.f0ddf45f.js → modules.a1aceff5.js} +1 -1
  47. package/dist/client/_nuxt/{none.0c5c4a11.js → none.bf6672f1.js} +1 -1
  48. package/dist/client/_nuxt/{open-graph.99e6c2ca.js → open-graph.f68f3562.js} +1 -1
  49. package/dist/client/_nuxt/{overview.37671f14.js → overview.9fbd51a4.js} +1 -1
  50. package/dist/client/_nuxt/{pages.cfc87f05.js → pages.8b6a187c.js} +1 -1
  51. package/dist/client/_nuxt/{payload.f2eb3709.js → payload.5851379a.js} +1 -1
  52. package/dist/client/_nuxt/{plugins.3f102534.js → plugins.20750545.js} +1 -1
  53. package/dist/client/_nuxt/{runtime-configs.35ac3b1b.js → runtime-configs.ce330378.js} +1 -1
  54. package/dist/client/_nuxt/server-routes.08ebdd45.js +9 -0
  55. package/dist/client/_nuxt/settings.63ba52d8.js +1 -0
  56. package/dist/client/_nuxt/{state-components.b4d7e657.js → state-components.493c1b8d.js} +1 -1
  57. package/dist/client/_nuxt/{state-modules.d846f6f5.js → state-modules.c72270b1.js} +1 -1
  58. package/dist/client/_nuxt/{storage.5d1c4325.js → storage.d37c76d1.js} +1 -1
  59. package/dist/client/_nuxt/{terminals.78500161.js → terminals.714ad795.js} +1 -1
  60. package/dist/client/_nuxt/{unocss-runtime.0f8c7b1b.js → unocss-runtime.552cd61f.js} +1 -1
  61. package/dist/client/_nuxt/{virtual-files.a7d5699b.js → virtual-files.7bf5357c.js} +1 -1
  62. package/dist/client/index.html +2 -2
  63. package/dist/client/modules/analyze-build/index.html +2 -2
  64. package/dist/client/modules/assets/index.html +2 -2
  65. package/dist/client/modules/components/index.html +2 -2
  66. package/dist/client/modules/hooks/index.html +2 -2
  67. package/dist/client/modules/imports/index.html +2 -2
  68. package/dist/client/modules/middleware/index.html +2 -2
  69. package/dist/client/modules/modules/index.html +2 -2
  70. package/dist/client/modules/open-graph/index.html +2 -2
  71. package/dist/client/modules/overview/index.html +2 -2
  72. package/dist/client/modules/pages/index.html +2 -2
  73. package/dist/client/modules/payload/index.html +2 -2
  74. package/dist/client/modules/plugins/index.html +2 -2
  75. package/dist/client/modules/runtime-configs/index.html +2 -2
  76. package/dist/client/modules/server-routes/index.html +2 -2
  77. package/dist/client/modules/storage/index.html +2 -2
  78. package/dist/client/modules/terminals/index.html +2 -2
  79. package/dist/client/modules/virtual-files/index.html +2 -2
  80. package/dist/client/settings/index.html +2 -2
  81. package/dist/module.json +1 -1
  82. package/dist/module.mjs +1 -1
  83. package/dist/shared/{devtools.7ab40af4.mjs → devtools.ce3f2385.mjs} +21 -1
  84. package/package.json +12 -12
  85. package/dist/client/_nuxt/NIconButton.vue.b41ef4b9.js +0 -1
  86. package/dist/client/_nuxt/Navbar.vue.6fef9034.js +0 -1
  87. package/dist/client/_nuxt/entry.11fe2cd7.js +0 -21
  88. package/dist/client/_nuxt/entry.1e4f7d58.css +0 -1
  89. package/dist/client/_nuxt/server-routes.5ddb6496.js +0 -9
  90. package/dist/client/_nuxt/settings.74004c21.js +0 -1
@@ -1,4 +1,4 @@
1
- import{_ as Z}from"./NIconButton.vue.b41ef4b9.js";import{_ as Y}from"./Navbar.vue.6fef9034.js";import{g as j,r as T,L as U,o,c as l,b as m,q as n,a as e,d as z,F as I,m as O,h as F,w as S,s as N,n as G,M as V,N as H,O as ee,z as X,A as te,P as se,J as ne,j as K,l as y,Q as oe,R as ae,S as ie,t as x,T as le,U as q,V as re,W as ce,X as ue,Y as de,Z as pe,a0 as me,I as fe}from"./entry.11fe2cd7.js";import{_ as _e}from"./NSectionBlock.722f4ebc.js";import{_ as he}from"./FilepathItem.vue.b4bdb03f.js";import{_ as ve}from"./CodeSnippets.vue.62990bc2.js";import{_ as ge}from"./DrawerRight.vue.a92525c1.js";import{D as xe}from"./constants.d7bcda3c.js";import"./NIconTitle.vue.9b97e25e.js";import"./NCodeBlock.vue.5e6a2196.js";import"./client.853ad100.js";const we={key:0,"h-full":"","w-full":"",flex:"","items-center":"","justify-center":""},be={for:"drop-zone-input","text-3xl":""},ye={key:1,relative:"","h-full":"","w-full":"",grid:"~ rows-[max-content_1fr_max-content]"},$e=e("div",{px6:"",py6:""},[e("h1",{"text-2xl":""}," Upload "),e("p",{"text-sm":"",op50:""}," Drag and drop files to upload ")],-1),ke={grid:"~ cols-minmax-8rem","overflow-auto":"",p6:""},Ce={flex:"","items-center":"","justify-center":"","of-hidden":"",rounded:"","rounded-t-lg":"","bg-active":"","object-cover":"",class:"aspect-1/1",border:"~ base"},Pe=["src"],Ae={flex:"~ gap1","items-center":""},Fe={flex:"~ gap-2","items-center":"","justify-center":"",p8:""},De=j({__name:"DropZone",props:{folder:{type:String,required:!0}},emits:["uploaded"],setup($,{emit:t}){const p=$,i=T(!1),w=T(),u=T([]),b=["image","video"];function P(a){w.value=a.target,i.value=!0}function B(a){a.target===w.value&&(i.value=!1)}function E(a){a.preventDefault()}function L(a){a.preventDefault(),g(a.dataTransfer.files)}function g(a){const f=Array.from(a||[]);if(f.length){const _=[],r=u.value.map(c=>c.name);for(const c of f)if(r.includes(c.name)){let h=1;const[C,R]=c.name.split(".");for(;r.includes(`${C} (${h}).${R}`);)h++;const M=`${C}-${h}.${R}`,J=new Blob([c],{type:c.type}),Q=new File([J],M,{lastModified:Date.now()});_.push(Q),r.push(M)}else c.type===""?V({message:"Folders are not supported yet",icon:"carbon:face-dissatisfied",classes:"text-orange"}):b.some(h=>c.type.includes(h))?_.push(c):V({message:`"${c.type}" file type is not allowed`,icon:"carbon:face-dissatisfied",classes:"text-orange"});u.value=[...u.value,..._]}}async function v(){if(H.value||ee.value)return;const a=[];for(const f of u.value){const _=new FileReader;_.readAsDataURL(f);const c=(await new Promise(h=>{_.onload=()=>h(_.result)})).split(";base64,").pop();a.push({name:f.name,data:c})}await X.writeStaticAssets(await te(),[...a],p.folder).then(()=>{t("uploaded"),A(),V({message:"Files uploaded successfully!",icon:"i-carbon:checkmark"})}).catch(f=>{console.error(f),A(),V({message:`Error uploading files: ${f}`,icon:"i-carbon-warning",classes:"text-red"})}),i.value=!1}function s(a){u.value?.splice(a,1)}function d(a){return URL.createObjectURL(a)}function D(a,f){const[_,r]=a.name.split("."),c=f.replace(/\.\w+$/,""),h=`${c}.${r}`;return c.length===0?(alert("File name must be at least 1 characters long"),_):(Object.defineProperty(a,"name",{value:h,writable:!1}),u.value.splice(u.value.indexOf(a),1,a),a)}function k(){u.value=[]}function A(){i.value=!1,k()}return U("dragenter",P),U("dragleave",B),U("dragover",E),U("drop",L),(a,f)=>{const _=Z,r=se,c=ne,h=K;return o(),l("div",{fixed:"","bottom-0":"","left-13":"","right-0":"","top-0":"","z-10":"","backdrop-blur-20":"","transition-all":"",class:G(n(i)?"opacity-100 visible":"opacity-0 invisible")},[m(_,{icon:"carbon-close",absolute:"","right-5":"","top-5":"","z-20":"","text-xl":"",onClick:A}),n(u)?.length?(o(),l("div",ye,[$e,e("div",ke,[(o(!0),l(I,null,O(n(u),(C,R)=>(o(),l("div",{key:C.name,flex:"~ col gap-2",relative:"","h-50":"","w-40":"","items-center":""},[e("div",Ce,[e("img",{"h-full":"","w-full":"","rounded-t-lg":"","object-cover":"",src:d(C)},null,8,Pe)]),e("div",Ae,[m(c,{n:"xs","flex-auto":"","model-value":C.name,"onUpdate:modelValue":M=>D(C,M.target.value)},null,8,["model-value","onUpdate:modelValue"]),m(_,{icon:"carbon-delete","flex-none":"",title:"Remove file",onClick:M=>s(R)},null,8,["onClick"])])]))),128))]),e("div",Fe,[n(u).length?(o(),F(h,{key:0,n:"red",onClick:k},{default:S(()=>[m(r,{icon:"carbon-clean"}),z(" Clear ")]),_:1})):N("",!0),m(h,{disabled:!n(u).length,n:"primary solid",onClick:v},{default:S(()=>[m(r,{icon:"carbon-cloud-upload"}),z(" Upload ")]),_:1},8,["disabled"])])])):(o(),l("div",we,[e("label",be,[m(r,{icon:"carbon-cloud-upload","mr-2":""}),z(" Drop files here or click to select ")]),e("input",{id:"drop-zone-input",type:"file",multiple:"",hidden:"",onChange:f[0]||(f[0]=C=>g(C.target.files))},null,32)]))],2)}}}),Ie=j({__name:"AssetFontPreview",props:{asset:{}},setup($){const t=$,p=y(()=>`devtools-assets-${oe(t.asset)}`);return ae(y(()=>`
1
+ import{_ as Z}from"./NIconButton.vue.9dc5b644.js";import{_ as Y}from"./Navbar.vue.72301b0e.js";import{g as j,r as T,L as U,o,c as l,b as m,q as n,a as e,d as z,F as I,m as O,h as F,w as S,s as N,n as G,M as V,N as H,O as ee,z as X,A as te,P as se,J as ne,j as K,l as y,Q as oe,R as ae,S as ie,t as x,T as le,U as q,V as re,W as ce,X as ue,Y as de,Z as pe,a0 as me,I as fe}from"./entry.559460ac.js";import{_ as _e}from"./NSectionBlock.216523d8.js";import{_ as he}from"./FilepathItem.vue.7520a5eb.js";import{_ as ve}from"./CodeSnippets.vue.a1fe908d.js";import{_ as ge}from"./DrawerRight.vue.3adebf89.js";import{D as xe}from"./constants.d7bcda3c.js";import"./NIconTitle.vue.0db956c8.js";import"./NCodeBlock.vue.12f6d4d2.js";import"./client.1e3208e3.js";const we={key:0,"h-full":"","w-full":"",flex:"","items-center":"","justify-center":""},be={for:"drop-zone-input","text-3xl":""},ye={key:1,relative:"","h-full":"","w-full":"",grid:"~ rows-[max-content_1fr_max-content]"},$e=e("div",{px6:"",py6:""},[e("h1",{"text-2xl":""}," Upload "),e("p",{"text-sm":"",op50:""}," Drag and drop files to upload ")],-1),ke={grid:"~ cols-minmax-8rem","overflow-auto":"",p6:""},Ce={flex:"","items-center":"","justify-center":"","of-hidden":"",rounded:"","rounded-t-lg":"","bg-active":"","object-cover":"",class:"aspect-1/1",border:"~ base"},Pe=["src"],Ae={flex:"~ gap1","items-center":""},Fe={flex:"~ gap-2","items-center":"","justify-center":"",p8:""},De=j({__name:"DropZone",props:{folder:{type:String,required:!0}},emits:["uploaded"],setup($,{emit:t}){const p=$,i=T(!1),w=T(),u=T([]),b=["image","video"];function P(a){w.value=a.target,i.value=!0}function B(a){a.target===w.value&&(i.value=!1)}function E(a){a.preventDefault()}function L(a){a.preventDefault(),g(a.dataTransfer.files)}function g(a){const f=Array.from(a||[]);if(f.length){const _=[],r=u.value.map(c=>c.name);for(const c of f)if(r.includes(c.name)){let h=1;const[C,R]=c.name.split(".");for(;r.includes(`${C} (${h}).${R}`);)h++;const M=`${C}-${h}.${R}`,J=new Blob([c],{type:c.type}),Q=new File([J],M,{lastModified:Date.now()});_.push(Q),r.push(M)}else c.type===""?V({message:"Folders are not supported yet",icon:"carbon:face-dissatisfied",classes:"text-orange"}):b.some(h=>c.type.includes(h))?_.push(c):V({message:`"${c.type}" file type is not allowed`,icon:"carbon:face-dissatisfied",classes:"text-orange"});u.value=[...u.value,..._]}}async function v(){if(H.value||ee.value)return;const a=[];for(const f of u.value){const _=new FileReader;_.readAsDataURL(f);const c=(await new Promise(h=>{_.onload=()=>h(_.result)})).split(";base64,").pop();a.push({name:f.name,data:c})}await X.writeStaticAssets(await te(),[...a],p.folder).then(()=>{t("uploaded"),A(),V({message:"Files uploaded successfully!",icon:"i-carbon:checkmark"})}).catch(f=>{console.error(f),A(),V({message:`Error uploading files: ${f}`,icon:"i-carbon-warning",classes:"text-red"})}),i.value=!1}function s(a){u.value?.splice(a,1)}function d(a){return URL.createObjectURL(a)}function D(a,f){const[_,r]=a.name.split("."),c=f.replace(/\.\w+$/,""),h=`${c}.${r}`;return c.length===0?(alert("File name must be at least 1 characters long"),_):(Object.defineProperty(a,"name",{value:h,writable:!1}),u.value.splice(u.value.indexOf(a),1,a),a)}function k(){u.value=[]}function A(){i.value=!1,k()}return U("dragenter",P),U("dragleave",B),U("dragover",E),U("drop",L),(a,f)=>{const _=Z,r=se,c=ne,h=K;return o(),l("div",{fixed:"","bottom-0":"","left-13":"","right-0":"","top-0":"","z-10":"","backdrop-blur-20":"","transition-all":"",class:G(n(i)?"opacity-100 visible":"opacity-0 invisible")},[m(_,{icon:"carbon-close",absolute:"","right-5":"","top-5":"","z-20":"","text-xl":"",onClick:A}),n(u)?.length?(o(),l("div",ye,[$e,e("div",ke,[(o(!0),l(I,null,O(n(u),(C,R)=>(o(),l("div",{key:C.name,flex:"~ col gap-2",relative:"","h-50":"","w-40":"","items-center":""},[e("div",Ce,[e("img",{"h-full":"","w-full":"","rounded-t-lg":"","object-cover":"",src:d(C)},null,8,Pe)]),e("div",Ae,[m(c,{n:"xs","flex-auto":"","model-value":C.name,"onUpdate:modelValue":M=>D(C,M.target.value)},null,8,["model-value","onUpdate:modelValue"]),m(_,{icon:"carbon-delete","flex-none":"",title:"Remove file",onClick:M=>s(R)},null,8,["onClick"])])]))),128))]),e("div",Fe,[n(u).length?(o(),F(h,{key:0,n:"red",onClick:k},{default:S(()=>[m(r,{icon:"carbon-clean"}),z(" Clear ")]),_:1})):N("",!0),m(h,{disabled:!n(u).length,n:"primary solid",onClick:v},{default:S(()=>[m(r,{icon:"carbon-cloud-upload"}),z(" Upload ")]),_:1},8,["disabled"])])])):(o(),l("div",we,[e("label",be,[m(r,{icon:"carbon-cloud-upload","mr-2":""}),z(" Drop files here or click to select ")]),e("input",{id:"drop-zone-input",type:"file",multiple:"",hidden:"",onChange:f[0]||(f[0]=C=>g(C.target.files))},null,32)]))],2)}}}),Ie=j({__name:"AssetFontPreview",props:{asset:{}},setup($){const t=$,p=y(()=>`devtools-assets-${oe(t.asset)}`);return ae(y(()=>`
2
2
  @font-face {
3
3
  font-family: '${p.value}';
4
4
  src: url('${t.asset.publicPath}');
@@ -1 +1 @@
1
- import{b4 as f,bf as r}from"./entry.11fe2cd7.js";let o;const t=[];function s(n){if(t.push(n),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&t.forEach(e=>e(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(e){e&&t.forEach(i=>i(e))},get(){return o.value},configurable:!0}),()=>{t.splice(t.indexOf(n),1)}}function u(){o||(o=f(),s(n));function n(e){o.value=e,e.host&&e.host.hooks.hook("host:update:reactivity",()=>{r(o)})}return o}const d=u();export{d};
1
+ import{b5 as r,bg as f}from"./entry.559460ac.js";let o;const t=[];function s(n){if(t.push(n),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&t.forEach(e=>e(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(e){e&&t.forEach(i=>i(e))},get(){return o.value},configurable:!0}),()=>{t.splice(t.indexOf(n),1)}}function u(){o||(o=r(),s(n));function n(e){o.value=e,e.host&&e.host.hooks.hook("host:update:reactivity",()=>{f(o)})}return o}const d=u();export{d};
@@ -1,4 +1,4 @@
1
- import{_ as g_}from"./NIconButton.vue.b41ef4b9.js";import{o as fe,c as lt,a as te,d as ja,g as Gi,l as rn,t as ok,q as Z,W as sk,b as Be,h as $t,s as Qt,a1 as Vu,r as Sa,a2 as uk,a3 as lk,V as ck,a4 as hk,a5 as dk,a6 as fk,w as qe,F as Vr,a7 as y_,a8 as vk,I as pi,j as pk,a9 as gk,Z as yk,aa as mk,ab as $k,m as ga,ac as bk,ad as wk}from"./entry.11fe2cd7.js";import{_ as _k}from"./HelpFab.vue.a9df2aac.js";import{u as Ek,a as Sk}from"./state-components.b4d7e657.js";import{_ as Ok}from"./NCheckbox.vue.09c2faa0.js";import{_ as m_}from"./Navbar.vue.6fef9034.js";import{_ as $_}from"./Badge.01153451.js";import{_ as b_}from"./FilepathItem.vue.b4bdb03f.js";import{_ as Tk}from"./DrawerRight.vue.a92525c1.js";import{_ as xk}from"./NSectionBlock.722f4ebc.js";import{_ as Pk}from"./NIconTitle.vue.9b97e25e.js";import{D as jl}from"./constants.d7bcda3c.js";const kk={class:"markdown-body"},Ik=te("h1",null,"Components",-1),Ck=te("p",null,[ja("Vue components under the "),te("code",null,"components/"),ja(" directory are automatically registered and can be used in your templates without importing them.")],-1),Ak=te("p",null,[te("a",{href:"https://nuxt.com/docs/guide/directory-structure/components",target:"_blank",rel:"noopener"},"Learn more on the documentation")],-1),Rk=[Ik,Ck,Ak],Dk={__name:"components",setup(t,{expose:i}){return i({frontmatter:{}}),(r,n)=>(fe(),lt("div",kk,Rk))}},Mk=/\d/,Nk=["-","_","/","."];function Fk(t=""){if(!Mk.test(t))return t.toUpperCase()===t}function Bk(t,i){const e=i??Nk,r=[];if(!t||typeof t!="string")return r;let n="",a,o;for(const s of t){const u=e.includes(s);if(u===!0){r.push(n),n="",a=void 0;continue}const l=Fk(s);if(o===!1){if(a===!1&&l===!0){r.push(n),n=s,a=l;continue}if(a===!0&&l===!1&&n.length>1){const c=n[n.length-1];r.push(n.slice(0,Math.max(0,n.length-1))),n=c+s,a=l;continue}}n+=s,a=l,o=u}return r.push(n),r}function Lk(t){return t?t[0].toUpperCase()+t.slice(1):""}function w_(t){return t?(Array.isArray(t)?t:Bk(t)).map(i=>Lk(i)).join(""):""}const jk={"text-sm":"","font-mono":""},zk=te("span",{mr1:"",op20:""},"<",-1),Hk=te("span",{ml1:"",op20:""},"/>",-1),__=Gi({__name:"ComponentName",props:{component:{}},setup(t){const i=t,e=rn(()=>i.component.pascalName||w_(i.component.name||i.component.__name||i.component.kebabName||""));return(r,n)=>(fe(),lt("code",jk,[zk,ja(ok(Z(e)),1),Hk]))}}),Wk={flex:"~ col gap1","items-start":"","of-hidden":""},Vk={flex:"~ gap2"},E_=Gi({__name:"ComponentDetails",props:{component:{}},setup(t){const i=t,e=rn(()=>i.component.pascalName||w_(i.component.name||i.component.__name||i.component.kebabName||"")),r=rn(()=>i.component.filePath||i.component.file||i.component.__file||""),n=sk();return(a,o)=>{const s=__,u=g_,l=$_,c=b_;return fe(),lt("div",Wk,[te("div",Vk,[Be(s,{component:a.component},null,8,["component"]),Be(u,{title:"Copy name","flex-none":"",icon:"carbon-copy",onClick:o[0]||(o[0]=h=>Z(n)(`<${Z(e)}></${Z(e)}>`))}),a.component.global?(fe(),$t(l,{key:0,"bg-green-400:10":"","text-green-400":"",title:"Registered at runtime as a global component",textContent:"runtime"})):Qt("",!0)]),te("div",null,[Z(r)?(fe(),$t(c,{key:0,filepath:Z(r),"w-full":"","text-sm":"",op25:"","group-hover:op75":""},null,8,["filepath"])):Qt("",!0)]),Vu(a.$slots,"default")])}}});/**
1
+ import{_ as g_}from"./NIconButton.vue.9dc5b644.js";import{o as fe,c as lt,a as te,d as ja,g as Gi,l as rn,t as ok,q as Z,W as sk,b as Be,h as $t,s as Qt,a1 as Vu,r as Sa,a2 as uk,a3 as lk,V as ck,a4 as hk,a5 as dk,a6 as fk,w as qe,F as Vr,a7 as y_,a8 as vk,I as pi,j as pk,a9 as gk,Z as yk,aa as mk,ab as $k,m as ga,ac as bk,ad as wk}from"./entry.559460ac.js";import{_ as _k}from"./HelpFab.vue.6c2e0089.js";import{u as Ek,a as Sk}from"./state-components.493c1b8d.js";import{_ as Ok}from"./NCheckbox.vue.660c8c34.js";import{_ as m_}from"./Navbar.vue.72301b0e.js";import{_ as $_}from"./Badge.e05fc69f.js";import{_ as b_}from"./FilepathItem.vue.7520a5eb.js";import{_ as Tk}from"./DrawerRight.vue.3adebf89.js";import{_ as xk}from"./NSectionBlock.216523d8.js";import{_ as Pk}from"./NIconTitle.vue.0db956c8.js";import{D as jl}from"./constants.d7bcda3c.js";const kk={class:"markdown-body"},Ik=te("h1",null,"Components",-1),Ck=te("p",null,[ja("Vue components under the "),te("code",null,"components/"),ja(" directory are automatically registered and can be used in your templates without importing them.")],-1),Ak=te("p",null,[te("a",{href:"https://nuxt.com/docs/guide/directory-structure/components",target:"_blank",rel:"noopener"},"Learn more on the documentation")],-1),Rk=[Ik,Ck,Ak],Dk={__name:"components",setup(t,{expose:i}){return i({frontmatter:{}}),(r,n)=>(fe(),lt("div",kk,Rk))}},Mk=/\d/,Nk=["-","_","/","."];function Fk(t=""){if(!Mk.test(t))return t.toUpperCase()===t}function Bk(t,i){const e=i??Nk,r=[];if(!t||typeof t!="string")return r;let n="",a,o;for(const s of t){const u=e.includes(s);if(u===!0){r.push(n),n="",a=void 0;continue}const l=Fk(s);if(o===!1){if(a===!1&&l===!0){r.push(n),n=s,a=l;continue}if(a===!0&&l===!1&&n.length>1){const c=n[n.length-1];r.push(n.slice(0,Math.max(0,n.length-1))),n=c+s,a=l;continue}}n+=s,a=l,o=u}return r.push(n),r}function Lk(t){return t?t[0].toUpperCase()+t.slice(1):""}function w_(t){return t?(Array.isArray(t)?t:Bk(t)).map(i=>Lk(i)).join(""):""}const jk={"text-sm":"","font-mono":""},zk=te("span",{mr1:"",op20:""},"<",-1),Hk=te("span",{ml1:"",op20:""},"/>",-1),__=Gi({__name:"ComponentName",props:{component:{}},setup(t){const i=t,e=rn(()=>i.component.pascalName||w_(i.component.name||i.component.__name||i.component.kebabName||""));return(r,n)=>(fe(),lt("code",jk,[zk,ja(ok(Z(e)),1),Hk]))}}),Wk={flex:"~ col gap1","items-start":"","of-hidden":""},Vk={flex:"~ gap2"},E_=Gi({__name:"ComponentDetails",props:{component:{}},setup(t){const i=t,e=rn(()=>i.component.pascalName||w_(i.component.name||i.component.__name||i.component.kebabName||"")),r=rn(()=>i.component.filePath||i.component.file||i.component.__file||""),n=sk();return(a,o)=>{const s=__,u=g_,l=$_,c=b_;return fe(),lt("div",Wk,[te("div",Vk,[Be(s,{component:a.component},null,8,["component"]),Be(u,{title:"Copy name","flex-none":"",icon:"carbon-copy",onClick:o[0]||(o[0]=h=>Z(n)(`<${Z(e)}></${Z(e)}>`))}),a.component.global?(fe(),$t(l,{key:0,"bg-green-400:10":"","text-green-400":"",title:"Registered at runtime as a global component",textContent:"runtime"})):Qt("",!0)]),te("div",null,[Z(r)?(fe(),$t(c,{key:0,filepath:Z(r),"w-full":"","text-sm":"",op25:"","group-hover:op75":""},null,8,["filepath"])):Qt("",!0)]),Vu(a.$slots,"default")])}}});/**
2
2
  * vis-data
3
3
  * http://visjs.org/
4
4
  *
@@ -1 +1 @@
1
- import{_ as E}from"./NPanelGrids.16564aae.js";import{_ as M}from"./AuthRequiredPanel.vue.783e1d98.js";import{g as q,a2 as N,r as x,l as g,ai as V,aj as $,a5 as j,ak as B,al as h,am as I,an as L,c as D,o as a,E as P,D as W,ao as F,ap as C,z as A,q as t,h as l,w as b,s as O,ad as R,F as S,a as c,d as y,t as T,b as U,a8 as z}from"./entry.11fe2cd7.js";import{_ as G}from"./LaunchPage.vue.8ecfdb82.js";import"./NIconButton.vue.b41ef4b9.js";import"./NMarkdown.vue.a51cc795.js";import"./client.853ad100.js";const w=new Map,X=q({__name:"IframeView",props:{tab:{}},setup(k){const m=k,r=N(),u=x(),d=g(()=>m.tab.name),e=x(),o=V($(u));j(()=>{const n=m.tab.view,i=n.persistent!==!1,f=["clipboard-write","clipboard-read"];if(w.get(d.value)&&i)e.value=w.get(d.value),e.value.style.visibility="visible";else{e.value=document.createElement("iframe"),e.value.setAttribute("allow",f.join("; ")),i&&w.set(d.value,e.value),e.value.src=n.src;try{e.value.style.opacity="0.01",e.value.onload=()=>{v(),s(),e.value.style.opacity="1"}}catch{e.value.style.opacity="1"}document.body.appendChild(e.value),B(_)}setTimeout(s,100)}),h(_),h(s),h(v),I(()=>{e.value&&(e.value.style.visibility="hidden")});function s(){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 v(){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:`${o.left}px`,top:`${o.top}px`,width:`${o.width}px`,height:`${o.height}px`,outline:"none"})}return(n,i)=>(a(),D("div",{ref_key:"anchor",ref:u,"h-full":"","w-full":""},null,512))}}),H={flex:"~ col gap2",mxa:"","items-center":""},J=c("div",{"i-carbon-queued":"",mb2:"","text-5xl":"",op50:""},null,-1),K={"text-xl":""},Q={"text-rose":""},Y=c("p",{op50:""}," It might because the module contributing this tab is not installed or enabled ",-1),Z=c("p",{mt8:"","animate-pulse":""}," Redirecting to overview page... ",-1),ce=q({__name:"custom-[name]",setup(k){const m=P(),r=W(),u=g(()=>m.params.name),d=F(),e=g(()=>d.value.find(o=>o.name===u.value));return j(()=>{e.value?e.value.requireAuth&&!C.value&&A.requestForAuth():setTimeout(()=>{e.value||r.push("/modules/overview")},2e3)}),(o,s)=>{const p=E,v=M,_=X,n=G,i=z;return a(),D(S,null,[t(e)?O("",!0):(a(),l(p,{key:0},{default:b(()=>[c("div",H,[J,c("p",K,[y(" Tab "),c("code",Q,T(t(u)),1),y(" not found ")]),Y,Z])]),_:1})),t(e).requireAuth&&!("isDevAuthed"in o?o.isDevAuthed:t(C))?(a(),l(v,{key:1})):t(e).view.type==="iframe"?(a(),l(_,{key:2,tab:t(e)},null,8,["tab"])):t(e).view.type==="vnode"?(a(),l(R(t(e).view.vnode),{key:3})):t(e).view.type==="launch"?(a(),l(n,{key:4,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:s[0]||(s[0]=f=>("rpc"in o?o.rpc:t(A)).customTabAction(t(e).name,f))},null,8,["icon","title","description","actions"])):(a(),l(p,{key:5},{default:b(()=>[U(i,{flex:"~ col","h-full":"","items-center":"","justify-center":""},{default:b(()=>[y(" Unknown tab type "+T(t(e).view),1)]),_:1})]),_:1}))],64)}}});export{ce as default};
1
+ import{_ as E}from"./NPanelGrids.cfd60e85.js";import{_ as M}from"./AuthRequiredPanel.vue.fc7f2968.js";import{g as q,a2 as N,r as x,l as g,ai as V,aj as $,a5 as j,ak as B,al as h,am as I,an as L,c as D,o as a,E as P,D as W,ao as F,ap as C,z as A,q as t,h as l,w as b,s as O,ad as R,F as S,a as c,d as y,t as T,b as U,a8 as z}from"./entry.559460ac.js";import{_ as G}from"./LaunchPage.vue.ace7e996.js";import"./NIconButton.vue.9dc5b644.js";import"./NMarkdown.vue.31d61f61.js";import"./client.1e3208e3.js";const w=new Map,X=q({__name:"IframeView",props:{tab:{}},setup(k){const m=k,r=N(),u=x(),d=g(()=>m.tab.name),e=x(),o=V($(u));j(()=>{const n=m.tab.view,i=n.persistent!==!1,f=["clipboard-write","clipboard-read"];if(w.get(d.value)&&i)e.value=w.get(d.value),e.value.style.visibility="visible";else{e.value=document.createElement("iframe"),e.value.setAttribute("allow",f.join("; ")),i&&w.set(d.value,e.value),e.value.src=n.src;try{e.value.style.opacity="0.01",e.value.onload=()=>{v(),s(),e.value.style.opacity="1"}}catch{e.value.style.opacity="1"}document.body.appendChild(e.value),B(_)}setTimeout(s,100)}),h(_),h(s),h(v),I(()=>{e.value&&(e.value.style.visibility="hidden")});function s(){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 v(){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:`${o.left}px`,top:`${o.top}px`,width:`${o.width}px`,height:`${o.height}px`,outline:"none"})}return(n,i)=>(a(),D("div",{ref_key:"anchor",ref:u,"h-full":"","w-full":""},null,512))}}),H={flex:"~ col gap2",mxa:"","items-center":""},J=c("div",{"i-carbon-queued":"",mb2:"","text-5xl":"",op50:""},null,-1),K={"text-xl":""},Q={"text-rose":""},Y=c("p",{op50:""}," It might because the module contributing this tab is not installed or enabled ",-1),Z=c("p",{mt8:"","animate-pulse":""}," Redirecting to overview page... ",-1),ce=q({__name:"custom-[name]",setup(k){const m=P(),r=W(),u=g(()=>m.params.name),d=F(),e=g(()=>d.value.find(o=>o.name===u.value));return j(()=>{e.value?e.value.requireAuth&&!C.value&&A.requestForAuth():setTimeout(()=>{e.value||r.push("/modules/overview")},2e3)}),(o,s)=>{const p=E,v=M,_=X,n=G,i=z;return a(),D(S,null,[t(e)?O("",!0):(a(),l(p,{key:0},{default:b(()=>[c("div",H,[J,c("p",K,[y(" Tab "),c("code",Q,T(t(u)),1),y(" not found ")]),Y,Z])]),_:1})),t(e).requireAuth&&!("isDevAuthed"in o?o.isDevAuthed:t(C))?(a(),l(v,{key:1})):t(e).view.type==="iframe"?(a(),l(_,{key:2,tab:t(e)},null,8,["tab"])):t(e).view.type==="vnode"?(a(),l(R(t(e).view.vnode),{key:3})):t(e).view.type==="launch"?(a(),l(n,{key:4,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:s[0]||(s[0]=f=>("rpc"in o?o.rpc:t(A)).customTabAction(t(e).name,f))},null,8,["icon","title","description","actions"])):(a(),l(p,{key:5},{default:b(()=>[U(i,{flex:"~ col","h-full":"","items-center":"","justify-center":""},{default:b(()=>[y(" Unknown tab type "+T(t(e).view),1)]),_:1})]),_:1}))],64)}}});export{ce as default};
@@ -1 +1 @@
1
- import{_ as o,o as s,c as t,a,a1 as c}from"./entry.11fe2cd7.js";const n={},r={"h-full":"","of-auto":"","n-panel-grids":""},l={"h-full":"","bg-base":""};function _(e,d){return s(),t("div",r,[a("div",l,[c(e.$slots,"default")])])}const i=o(n,[["render",_]]);export{i as default};
1
+ import{_ as o,o as s,c as t,a,a1 as c}from"./entry.559460ac.js";const n={},r={"h-full":"","of-auto":"","n-panel-grids":""},l={"h-full":"","bg-base":""};function _(e,d){return s(),t("div",r,[a("div",l,[c(e.$slots,"default")])])}const i=o(n,[["render",_]]);export{i as default};