@nuxt/devtools 0.4.4 → 0.4.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.
- package/dist/chunks/module-main.mjs +1 -1
- package/dist/client/200.html +2 -2
- package/dist/client/404.html +2 -2
- package/dist/client/__inspecting/index.html +2 -2
- package/dist/client/_nuxt/Badge.49aad048.js +1 -0
- package/dist/client/_nuxt/CodeSnippets.vue.473c040b.js +1 -0
- package/dist/client/_nuxt/DrawerRight.vue.606d00e1.js +1 -0
- package/dist/client/_nuxt/DurationDisplay.vue.3073b599.js +1 -0
- package/dist/client/_nuxt/FilepathItem.vue.b3314ab3.js +1 -0
- package/dist/client/_nuxt/HelpFab.vue.665e0424.js +1 -0
- package/dist/client/_nuxt/LaunchPage.vue.8bbdc3aa.js +1 -0
- package/dist/client/_nuxt/NCheckbox.vue.efe5a5b6.js +1 -0
- package/dist/client/_nuxt/NCodeBlock.vue.f20ad1f9.js +2 -0
- package/dist/client/_nuxt/NIconButton.vue.43ec44ac.js +1 -0
- package/dist/client/_nuxt/{NIconTitle.vue.321882c6.js → NIconTitle.vue.2336a153.js} +1 -1
- package/dist/client/_nuxt/{NMarkdown.vue.f4e94eed.js → NMarkdown.vue.8693e3ae.js} +1 -1
- package/dist/client/_nuxt/NPanelGrids.0426d51d.js +1 -0
- package/dist/client/_nuxt/NSectionBlock.bd642c42.js +1 -0
- package/dist/client/_nuxt/NSelect.vue.9f52b6f9.js +1 -0
- package/dist/client/_nuxt/NSwitch.vue.60cb8df3.js +1 -0
- package/dist/client/_nuxt/NTextInput.vue.361fd6cd.js +1 -0
- package/dist/client/_nuxt/NpmVersionCheck.vue.9f35f1dc.js +1 -0
- package/dist/client/_nuxt/NuxtLogo.ef2174f9.js +1 -0
- package/dist/client/_nuxt/PanelLeftRight.vue.583d184f.js +1 -0
- package/dist/client/_nuxt/StateEditor.vue.1d137e38.js +1 -0
- package/dist/client/_nuxt/__inspecting.84bde860.js +1 -0
- package/dist/client/_nuxt/{assets.5336bd04.js → assets.076b9c16.js} +3 -3
- package/dist/client/_nuxt/components.02471781.js +1 -0
- package/dist/client/_nuxt/{constants.126da185.js → constants.d7bcda3c.js} +1 -1
- package/dist/client/_nuxt/custom-_name_.5bebb320.js +1 -0
- package/dist/client/_nuxt/default.8e9da065.js +1 -0
- package/dist/client/_nuxt/editor.ff73b8b7.js +1 -0
- package/dist/client/_nuxt/{entry.cefe3147.js → entry.902f663c.js} +107 -107
- package/dist/client/_nuxt/entry.cda5cdff.css +32 -0
- package/dist/client/_nuxt/error-404.4d9e4ae0.js +1 -0
- package/dist/client/_nuxt/error-500.7154a75a.js +1 -0
- package/dist/client/_nuxt/{error-component.b49d59e8.js → error-component.23a1e788.js} +2 -2
- package/dist/client/_nuxt/full.a10d4dcd.js +1 -0
- package/dist/client/_nuxt/{fuse.esm.dae60b17.js → fuse.esm.e5f0aacd.js} +1 -1
- package/dist/client/_nuxt/hooks.80ca9780.js +1 -0
- package/dist/client/_nuxt/imports.1b2f6f12.js +1 -0
- package/dist/client/_nuxt/index.10027c98.js +1 -0
- package/dist/client/_nuxt/{index.840dc95c.js → index.ce8efa93.js} +6 -6
- package/dist/client/_nuxt/{middleware.901ba296.js → middleware.8af00f99.js} +1 -1
- package/dist/client/_nuxt/modules.d83f8f78.js +1 -0
- package/dist/client/_nuxt/none.69d08df4.js +1 -0
- package/dist/client/_nuxt/overview.fc3bd21f.js +1 -0
- package/dist/client/_nuxt/pages.6ecfcd29.js +1 -0
- package/dist/client/_nuxt/payload.42332653.js +1 -0
- package/dist/client/_nuxt/plugins.2d433e66.js +1 -0
- package/dist/client/_nuxt/runtime-configs.1cc6d705.js +1 -0
- package/dist/client/_nuxt/{server-routes.5d9da777.js → server-routes.436b8d89.js} +2 -2
- package/dist/client/_nuxt/settings.661215f6.js +1 -0
- package/dist/client/_nuxt/storage.50e9d190.js +1 -0
- package/dist/client/_nuxt/terminals.80be701c.js +1 -0
- package/dist/client/_nuxt/{unocss-runtime.bf627221.js → unocss-runtime.a5456e46.js} +1 -1
- package/dist/client/_nuxt/virtual-files.82f29e98.js +1 -0
- package/dist/client/index.html +2 -2
- package/dist/client/modules/assets/index.html +2 -2
- package/dist/client/modules/components/index.html +2 -2
- package/dist/client/modules/hooks/index.html +2 -2
- package/dist/client/modules/imports/index.html +2 -2
- package/dist/client/modules/middleware/index.html +2 -2
- package/dist/client/modules/modules/index.html +2 -2
- package/dist/client/modules/overview/index.html +2 -2
- package/dist/client/modules/pages/index.html +2 -2
- package/dist/client/modules/payload/index.html +2 -2
- package/dist/client/modules/plugins/index.html +2 -2
- package/dist/client/modules/runtime-configs/index.html +2 -2
- package/dist/client/modules/server-routes/index.html +2 -2
- package/dist/client/modules/storage/index.html +2 -2
- package/dist/client/modules/terminals/index.html +2 -2
- package/dist/client/modules/virtual-files/index.html +2 -2
- package/dist/client/settings/index.html +2 -2
- package/dist/module.json +1 -1
- package/package.json +7 -4
- package/dist/client/_nuxt/Badge.0c2ba14d.js +0 -1
- package/dist/client/_nuxt/CodeSnippets.vue.246adc67.js +0 -1
- package/dist/client/_nuxt/ContentDoc.16c5984a.js +0 -1
- package/dist/client/_nuxt/ContentList.89c59146.js +0 -1
- package/dist/client/_nuxt/ContentNavigation.8a10a134.js +0 -1
- package/dist/client/_nuxt/ContentQuery.117fabd3.js +0 -1
- package/dist/client/_nuxt/ContentRenderer.914f3a38.js +0 -1
- package/dist/client/_nuxt/ContentRendererMarkdown.fd0df501.js +0 -1
- package/dist/client/_nuxt/ContentSlot.1f87440b.js +0 -1
- package/dist/client/_nuxt/DocumentDrivenEmpty.3cbfc9a3.js +0 -1
- package/dist/client/_nuxt/DocumentDrivenNotFound.744ab959.js +0 -1
- package/dist/client/_nuxt/DrawerRight.vue.0cd41196.js +0 -1
- package/dist/client/_nuxt/DurationDisplay.vue.0d861fe1.js +0 -1
- package/dist/client/_nuxt/FilepathItem.vue.64e00c09.js +0 -1
- package/dist/client/_nuxt/HelpFab.vue.8f58b14e.js +0 -1
- package/dist/client/_nuxt/HelpImportsDirs.d13cb77d.js +0 -1
- package/dist/client/_nuxt/HelpImportsModules.0357ca53.js +0 -1
- package/dist/client/_nuxt/HelpTip.5b4ceadc.js +0 -1
- package/dist/client/_nuxt/HelpTip.vue.ea6b0f55.js +0 -1
- package/dist/client/_nuxt/HelpTipPerformance.6ea06c19.js +0 -1
- package/dist/client/_nuxt/LaunchPage.vue.453bd3ae.js +0 -1
- package/dist/client/_nuxt/Markdown.242967cb.js +0 -1
- package/dist/client/_nuxt/NCheckbox.vue.93b3bec2.js +0 -1
- package/dist/client/_nuxt/NCodeBlock.vue.da19eaf4.js +0 -2
- package/dist/client/_nuxt/NIconButton.vue.b4278b36.js +0 -1
- package/dist/client/_nuxt/NPanelGrids.a0c996c3.js +0 -1
- package/dist/client/_nuxt/NSectionBlock.53fae3a6.js +0 -1
- package/dist/client/_nuxt/NSelect.vue.67595372.js +0 -1
- package/dist/client/_nuxt/NSwitch.vue.8577379b.js +0 -1
- package/dist/client/_nuxt/NTextInput.vue.c65cc1e4.js +0 -1
- package/dist/client/_nuxt/NpmVersionCheck.vue.2810bb88.js +0 -1
- package/dist/client/_nuxt/NuxtLogo.a6b7ebcc.js +0 -1
- package/dist/client/_nuxt/PanelLeftRight.vue.a115e8d3.js +0 -1
- package/dist/client/_nuxt/ProseA.a471b674.js +0 -1
- package/dist/client/_nuxt/ProseBlockquote.aa4b332f.js +0 -1
- package/dist/client/_nuxt/ProseCode.090fc27a.js +0 -1
- package/dist/client/_nuxt/ProseCodeInline.9997b45e.js +0 -1
- package/dist/client/_nuxt/ProseEm.c33573e1.js +0 -1
- package/dist/client/_nuxt/ProseH1.5a84caee.js +0 -1
- package/dist/client/_nuxt/ProseH2.e16731e2.js +0 -1
- package/dist/client/_nuxt/ProseH3.7fd4f252.js +0 -1
- package/dist/client/_nuxt/ProseH4.727675aa.js +0 -1
- package/dist/client/_nuxt/ProseH5.61f1037b.js +0 -1
- package/dist/client/_nuxt/ProseH6.6c1be9fd.js +0 -1
- package/dist/client/_nuxt/ProseHr.f82e71cd.js +0 -1
- package/dist/client/_nuxt/ProseImg.2f67758f.js +0 -1
- package/dist/client/_nuxt/ProseLi.8dff4df1.js +0 -1
- package/dist/client/_nuxt/ProseOl.4b9af098.js +0 -1
- package/dist/client/_nuxt/ProseP.03062ef9.js +0 -1
- package/dist/client/_nuxt/ProseStrong.e20e175b.js +0 -1
- package/dist/client/_nuxt/ProseTable.a819c70b.js +0 -1
- package/dist/client/_nuxt/ProseTbody.e0143690.js +0 -1
- package/dist/client/_nuxt/ProseTd.da17cdf5.js +0 -1
- package/dist/client/_nuxt/ProseTh.f1f2176c.js +0 -1
- package/dist/client/_nuxt/ProseThead.d8777ee6.js +0 -1
- package/dist/client/_nuxt/ProseTr.db9c20a2.js +0 -1
- package/dist/client/_nuxt/ProseUl.613e2640.js +0 -1
- package/dist/client/_nuxt/StateEditor.vue.d274c06c.js +0 -1
- package/dist/client/_nuxt/__inspecting.cb51497e.js +0 -1
- package/dist/client/_nuxt/_commonjsHelpers.87174ba5.js +0 -1
- package/dist/client/_nuxt/client-db.a04e1eda.js +0 -1
- package/dist/client/_nuxt/components.a77abd82.js +0 -1
- package/dist/client/_nuxt/custom-_name_.d515746e.js +0 -1
- package/dist/client/_nuxt/default.9728844a.js +0 -1
- package/dist/client/_nuxt/editor.e9c81b63.js +0 -1
- package/dist/client/_nuxt/entry.c396e258.css +0 -32
- package/dist/client/_nuxt/error-404.8472f8a8.js +0 -1
- package/dist/client/_nuxt/error-500.d5f3c7ae.js +0 -1
- package/dist/client/_nuxt/full.a88c8cad.js +0 -1
- package/dist/client/_nuxt/hooks.6fc67d6d.js +0 -1
- package/dist/client/_nuxt/imports.3b7c1f0c.js +0 -1
- package/dist/client/_nuxt/index.687801a0.js +0 -1
- package/dist/client/_nuxt/index.a6ef77ff.js +0 -1
- package/dist/client/_nuxt/modules.0557ab86.js +0 -1
- package/dist/client/_nuxt/none.48e51402.js +0 -1
- package/dist/client/_nuxt/overview.a8b663e6.js +0 -1
- package/dist/client/_nuxt/pages.0b2af782.js +0 -1
- package/dist/client/_nuxt/payload.043a33c6.js +0 -1
- package/dist/client/_nuxt/plugins.0227817e.js +0 -1
- package/dist/client/_nuxt/preview.485816aa.js +0 -1
- package/dist/client/_nuxt/query.851664d2.js +0 -1
- package/dist/client/_nuxt/runtime-configs.06de9352.js +0 -1
- package/dist/client/_nuxt/settings.d459c303.js +0 -1
- package/dist/client/_nuxt/storage.8085fbb3.js +0 -1
- package/dist/client/_nuxt/terminals.163374b6.js +0 -1
- package/dist/client/_nuxt/utils.e5367885.js +0 -1
- package/dist/client/_nuxt/virtual-files.2262e9f9.js +0 -1
- package/dist/client/api/_content/cache.1682819066298.json +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as L}from"./NTextInput.vue.c65cc1e4.js";import{_ as F}from"./Badge.0c2ba14d.js";import{a as T,V as M,h as b,aV as j,Y as z,u as n,o,e as a,m as e,t as k,c as g,w as C,aW as Y,F as _,r as P,f as v,l as h,N as B,O as E,a6 as H,aX as A,aY as X,aZ as Z,L as q,au as G,av as J,a_ as Q,a$ as S,x as ee,af as te,aD as ne,S as oe}from"./entry.cefe3147.js";import{_ as D}from"./FilepathItem.vue.64e00c09.js";import{u as ae}from"./editor.e9c81b63.js";import{_ as se}from"./NSectionBlock.53fae3a6.js";import{_ as re}from"./LaunchPage.vue.453bd3ae.js";import{_ as le}from"./HelpFab.vue.8f58b14e.js";import"./NIconTitle.vue.321882c6.js";import"./NMarkdown.vue.f4e94eed.js";import"./NPanelGrids.a0c996c3.js";import"./ContentRenderer.914f3a38.js";import"./ContentRendererMarkdown.fd0df501.js";import"./index.a6ef77ff.js";import"./preview.485816aa.js";import"./NIconButton.vue.b4278b36.js";import"./query.851664d2.js";import"./utils.e5367885.js";const ie={block:"","cursor-pointer":""},ue={p2:""},ce=["onSubmit"],de=e("div",{px2:"","text-sm":"",op50:""}," Fill params and navigate: ",-1),pe={flex:"~","items-center":"",p2:"","font-mono":"","text-sm":""},me={key:1},he=T({__name:"RoutePathItem",props:{route:null},emits:["navigate"],setup(m,{emit:c}){const i=m,f=M([]),y=b(()=>{const s=j(i.route.path);return f.value=Array.from({length:s.length},()=>""),s}),w=b(()=>y.value.map((s,l)=>s[0]===":"?f.value[l]:s).join("").replace(/\/+/g,"/")),x=b(()=>i.route.path.includes(":"));function u(){c("navigate",w.value)}return(s,l)=>{const N=L,p=H,r=z("VDropdown");return n(x)?(o(),g(r,{key:1},{popper:C(({hide:t})=>[e("div",ue,[e("form",{flex:"~ col",onSubmit:Y(()=>{u(),t()},["prevent"])},[n(x)?(o(),a(_,{key:0},[de,e("div",pe,[(o(!0),a(_,null,P(n(y),(d,R)=>(o(),a(_,{key:R},[d[0]===":"?(o(),g(N,{key:0,modelValue:n(f)[R],"onUpdate:modelValue":V=>n(f)[R]=V,"w-20":"","n-sm":"",placeholder:d.slice(1)},null,8,["modelValue","onUpdate:modelValue","placeholder"])):(o(),a("span",me,k(d),1))],64))),128))])],64)):v("",!0),h(p,{block:"",n:"primary"},{default:C(()=>[B(" Navigate ")]),_:1})],40,ce)])]),default:C(()=>[e("code",ie,[(o(!0),a(_,null,P(n(y),(t,d)=>(o(),a("span",{key:d,class:E(t[0]===":"?"text-gray border border-dashed rounded border-gray:50 px1":"")},k(t[0]===":"?t.slice(1):t),3))),128))])]),_:1})):(o(),a("button",{key:0,onClick:u},[e("code",null,k(m.route.path),1)]))}}}),_e={"w-full":""},fe=e("thead",{border:"b base"},[e("tr",null,[e("th",{"text-left":""}),e("th",{"text-left":""}," Route Path "),e("th",{"text-left":""}," Name "),e("th",{"text-left":""}," Middleware "),e("th",null," Layout ")])],-1),ge={"w-20":"","pr-1":""},ve={flex:"","items-center":"","justify-end":""},ye={"text-sm":""},xe={flex:"inline gap3","items-center":""},be={op0:"","group-hover:op100":"",flex:"~ gap1"},ke=["onClick"],we=e("div",{"i-carbon-script-reference":""},null,-1),$e=[we],Ce={"w-0":"","ws-nowrap":"","pr-1":"","text-left":"","font-mono":"","text-sm":"",op50:""},Ne={"w-0":"","ws-nowrap":"","pr-1":"","text-center":"","font-mono":"","text-sm":"",op50:""},Re={"w-0":"","ws-nowrap":"","text-center":"","font-mono":"","text-sm":""},Ve={key:0},Pe=["onClick"],Ie=T({__name:"RoutesTable",props:{pages:null,layouts:null,matched:null,matchedPending:null},emits:["navigate"],setup(m){const c=m,i=ae(),f=A(),y=b(()=>[...c.pages].sort((u,s)=>u.path.localeCompare(s.path)));function w(u){const s=c.layouts.find(l=>l.name===u);s&&i(s.file)}function x(u){if(typeof u=="string")return f.value?.middleware.find(s=>s.name===u)?.path}return(u,s)=>{const l=F,N=he,p=D;return o(),a("div",null,[e("table",_e,[fe,e("tbody",null,[(o(!0),a(_,null,P(n(y),r=>(o(),a("tr",{key:r.name,class:"group","h-7":"",border:"b dashed transparent hover:base"},[e("td",ge,[e("div",ve,[m.matched.find(t=>t.name===r.name)?(o(),g(l,{key:0,"bg-green-400:10":"","text-green-400":"",title:"active",textContent:"active"})):v("",!0),m.matchedPending.find(t=>t.name===r.name)?(o(),g(l,{key:1,"bg-teal-400:10":"","text-teal-400":"",title:"next",textContent:"next"})):v("",!0)])]),e("td",ye,[e("div",xe,[h(N,{route:r,class:E(m.matched.find(t=>t.name===r.name)?"text-primary":m.matchedPending.find(t=>t.name===r.name)?"text-teal":""),onNavigate:s[0]||(s[0]=t=>u.$emit("navigate",t))},null,8,["route","class"]),e("div",be,[r.file||r.meta?.file?(o(),a("button",{key:0,"text-sm":"",op40:"",hover:"op100 text-primary",title:"Open in editor",onClick:t=>n(i)(r.file||r.meta?.file)},$e,8,ke)):v("",!0)])])]),e("td",Ce,k(r.name),1),e("td",Ne,[h(p,{filepath:x(r.meta.middleware),override:`${r.meta.middleware||"-"}`},null,8,["filepath","override"])]),e("td",Re,[r.meta.layout===!1?(o(),a("span",Ve,"-")):r.meta.layout?(o(),a("button",{key:1,onClick:t=>w(r.meta.layout)},k(r.meta.layout),9,Pe)):(o(),a("button",{key:2,"text-sm":"",op15:"",onClick:s[1]||(s[1]=t=>w("default"))}," (default) "))])]))),128))])])])}}}),Be={key:0,"h-full":"","of-auto":""},Te={border:"b base",flex:"~ col gap1",px4:"",py3:"","navbar-glass":""},Ee=e("span",{op50:""},"Navigate from ",-1),Se={"font-mono":""},Le=e("span",{op50:""}," to ",-1),Fe={key:1,op50:""},Me=e("span",null,[B("Press "),e("b",{"font-bold":""},"Enter"),B(" to navigate")],-1),Ae={key:0,"text-orange":"",op75:""},De={key:1,op50:""},Ke={"w-full":""},Oe=e("thead",{border:"b base","h-7":""},[e("tr",null,[e("th",{"text-left":""}," Name "),e("th",{"text-left":""}," Path ")])],-1),Ue={mr1:""},lt=T({__name:"pages",setup(m){const c=X(),i=Z(),f=q(),y=A(),w=G(),x=J(),u=b(()=>(c.value?.getRoutes()||[]).map(t=>Q(t,["path","name","meta","props","children"])).map(t=>({...w.value?.find(d=>d.name&&d.name===t.name),...t}))),s=b(()=>y.value?.middleware||[]),l=M("");S(i).toBeTruthy().then(t=>{l.value=t.path}),S(c).toBeTruthy().then(t=>{t.afterEach(()=>{ee(()=>{l.value=i.value.path})})});async function N(){l.value!==i.value.path&&c.value.push(l.value||"/")}const p=b(()=>l.value===i.value.path?[]:c.value.resolve(l.value||"/").matched);function r(t){c.value.push(t)}return(t,d)=>{const R=L,V=Ie,I=se,K=F,O=D,U=re,W=le;return o(),a(_,null,[n(f)?.pages&&n(c)?(o(),a("div",Be,[e("div",Te,[e("div",null,[n(i).path!==n(l)?(o(),a(_,{key:0},[Ee,e("span",Se,k(n(i).path),1),Le],64)):(o(),a("span",Fe,"Current route"))]),h(R,{modelValue:n(l),"onUpdate:modelValue":d[0]||(d[0]=$=>te(l)?l.value=$:null),"font-mono":"",icon:"carbon-direction-right-01 scale-y--100",class:E(n(i).path===n(l)?"":n(p).length?"text-green":"text-orange"),onKeydown:ne(N,["enter"])},null,8,["modelValue","class","onKeydown"]),e("div",null,[n(i).path!==n(l)?(o(),a(_,{key:0},[Me,n(p).length?v("",!0):(o(),a("span",Ae," (no match)"))],64)):(o(),a("span",De,"Edit path above to navigate"))])]),n(p).length?(o(),g(I,{key:0,icon:"carbon-tree-view",text:"Matched Routes",padding:!1},{default:C(()=>[h(V,{pages:n(p),layouts:n(x)||[],matched:[],"matched-pending":n(p),onNavigate:r},null,8,["pages","layouts","matched-pending"])]),_:1})):v("",!0),h(I,{icon:"carbon-tree-view-alt",text:"All Routes",description:`${n(u).length} routes registered in your application`,padding:"pr5"},{default:C(()=>[h(V,{pages:n(u),layouts:n(x)||[],matched:n(i).matched,"matched-pending":n(p),onNavigate:r},null,8,["pages","layouts","matched","matched-pending"])]),_:1},8,["description"]),n(s).length?(o(),g(I,{key:1,icon:"carbon:ibm-watson-studio",text:"Middleware",description:`${n(s).length} middleware registered in your application`,padding:"px13"},{default:C(()=>[e("table",Ke,[Oe,(o(!0),a(_,null,P(n(s),$=>(o(),a("tr",{key:$.path,"h-7":""},[e("td",null,[e("span",Ue,k($.name),1),$.global?(o(),g(K,{key:0,"bg-green-400:10":"","text-green-400":"",title:"Registered at runtime as a global component",textContent:"global"})):v("",!0)]),e("td",null,[h(O,{filepath:$.path},null,8,["filepath"])])]))),128))])]),_:1},8,["description"])):v("",!0)])):(o(),g(U,{key:1,icon:"carbon-tree-view-alt",title:"Nuxt Routing",description:"Create `./pages/index.vue` to enable routing",actions:[{label:"Learn more",src:"https://nuxt.com/docs/getting-started/routing",attrs:{n:"primary"}},{label:"Enable Routing",handle(){return("rpc"in t?t.rpc:n(oe)).runWizard("enablePages")}}]},null,8,["actions"])),h(W,{path:"/pages"})],64)}}});export{lt as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as h}from"./StateEditor.vue.d274c06c.js";import{a as y,o as t,e as r,F as k,r as S,c as f,w as o,p as N,n as C,g as B,a3 as F,h as w,u as c,l as a,f as d,N as D,a6 as E}from"./entry.cefe3147.js";import{_ as P}from"./NSectionBlock.53fae3a6.js";import{_ as R}from"./NIconButton.vue.b4278b36.js";import{_ as V}from"./HelpFab.vue.8f58b14e.js";import"./NIconTitle.vue.321882c6.js";import"./ContentRenderer.914f3a38.js";import"./ContentRendererMarkdown.fd0df501.js";import"./index.a6ef77ff.js";import"./preview.485816aa.js";import"./query.851664d2.js";import"./utils.e5367885.js";const j={key:0,flex:"~ col gap-1"},G={key:1,mt2:"",px4:"",italic:"",op35:""},H=y({__name:"StateGroup",props:{state:null,prefix:{default:""}},setup(n){return(i,s)=>{const l=h;return t(),r("div",null,[n.state&&Object.keys(n.state).length>0?(t(),r("div",j,[(t(!0),r(k,null,S(n.state,(p,e)=>(t(),f(l,{key:e,state:p,name:e.startsWith(n.prefix)?e.slice(n.prefix.length):e},{actions:o(u=>[N(i.$slots,"actions",C(B(u)))]),_:2},1032,["state","name"]))),128))])):(t(),r("div",G," No data "))])}}}),K={key:0},Y=y({__name:"payload",setup(n){const i=F(),s=w(()=>i.value?.nuxt.payload);async function l(p){await i.value?.nuxt.hooks.callHookParallel("app:data:refresh",p)}return(p,e)=>{const u=H,m=P,$=E,b=R,g=h,v=V;return t(),r(k,null,[c(i)?(t(),r("div",K,[a(m,{icon:"carbon-data-set",text:"State",description:"Keyed state from `useState`",padding:!1},{default:o(()=>[a(u,{state:c(s).state,prefix:"$s"},null,8,["state"])]),_:1}),a(m,{icon:"carbon-data-blob",text:"Data",description:"Keyed state from `useAsyncData`",padding:!1},{actions:o(()=>[a($,{n:"xs primary","self-start":"",icon:"i-carbon-recycle",onClick:e[0]||(e[0]=x=>l())},{default:o(()=>[D(" Re-fetch all data ")]),_:1})]),default:o(()=>[a(u,{state:c(s).data},{actions:o(({isOpen:x,name:_})=>[x&&_?(t(),f(b,{key:0,title:`Re-fetch '${_}'`,icon:"carbon-recycle",onClick:O=>l([_])},null,8,["title","onClick"])):d("",!0)]),_:1},8,["state"])]),_:1}),c(s).functions&&Object.keys(c(s).functions).length?(t(),f(m,{key:0,icon:"carbon-function",text:"Functions",description:"State for functions (experimental)"},{default:o(()=>[a(g,{"ml--6":"",state:c(s).functions},null,8,["state"])]),_:1})):d("",!0)])):d("",!0),a(v,{path:"/payload"})],64)}}});export{Y as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as P}from"./FilepathItem.vue.64e00c09.js";import{_ as B}from"./Badge.0c2ba14d.js";import{_ as b}from"./DurationDisplay.vue.0d861fe1.js";import{a as C,L as k,h as x,M as D,o as n,e as d,m as l,t as M,l as g,u as a,c,f as u,a3 as F,w as N,F as y,r as S,O as w}from"./entry.cefe3147.js";import{_ as E}from"./NSectionBlock.53fae3a6.js";import{_ as I}from"./HelpFab.vue.8f58b14e.js";import"./editor.e9c81b63.js";import"./NIconTitle.vue.321882c6.js";import"./ContentRenderer.914f3a38.js";import"./ContentRendererMarkdown.fd0df501.js";import"./index.a6ef77ff.js";import"./preview.485816aa.js";import"./NIconButton.vue.b4278b36.js";import"./query.851664d2.js";import"./utils.e5367885.js";const T={flex:"~ gap2","items-center":""},V={w8:"","text-right":"","text-sm":"",op25:""},W={key:0,"flex-auto":"","text-right":""},L=C({__name:"PluginItem",props:{plugin:null,index:null},setup(o){const s=o,m=k(),p=x(()=>D(s.plugin.src,m.value?.rootDir||"").path);return(f,i)=>{const r=P,t=B,e=b;return n(),d("div",T,[l("div",V,M(o.index),1),g(r,{filepath:s.plugin.src,subpath:!0},null,8,["filepath"]),l("div",null,[a(p).startsWith("#")?(n(),c(t,{key:0,"bg-rose-400:10":"","text-rose":"",textContent:"virtual"})):a(p).startsWith(".")?u("",!0):(n(),c(t,{key:1,"bg-gray-400:10":"","text-gray":"",textContent:"module"})),o.plugin.mode==="server"?(n(),c(t,{key:2,"bg-teal-400:10":"","text-teal-400":"",textContent:"server"})):u("",!0),o.plugin.mode==="client"?(n(),c(t,{key:3,"bg-orange-400:10":"","text-orange-400":"",textContent:"client"})):u("",!0)]),o.plugin.metric?.duration!=null?(n(),d("div",W,[g(e,{duration:o.plugin.metric?.duration,factor:10},null,8,["duration"])])):u("",!0)])}}}),j={pt4:""},z={class:"text-sm",flex:"~ gap-1 items-center justify-end","mt-3":""},H=l("div",{"i-carbon-timer":"","text-lg":"",op75:""},null,-1),O=l("span",{op50:""},"Total execution time:",-1),st=C({__name:"plugins",setup(o){const s=k(),m=F(),p=x(()=>{const i=s.value?.plugins||[],r=m.value?.getClientPluginMetrics()||[];return i.map(t=>{const e=typeof t=="string"?{src:t}:t;return{...e,metric:r.find(_=>_.src===e.src||_.src.startsWith(e.src))}})}),f=x(()=>{const i=m.value?.getClientPluginMetrics()||[],r=Math.min(...i.map(e=>e.start));return Math.max(...i.map(e=>e.end))-r});return(i,r)=>{const t=L,e=b,_=E,$=I;return n(),d(y,null,[a(s)?(n(),c(_,{key:0,icon:"carbon-plug",text:"Plugins",description:`Total plugins: ${a(s).plugins.length}`},{default:N(()=>[l("div",j,[(n(!0),d(y,null,S(a(p),(h,v)=>(n(),c(t,{key:h.src,plugin:h,index:v+1,"ml--4":"","border-base":"",py2:"",class:w(v?"border-t":"")},null,8,["plugin","index","class"]))),128)),l("div",z,[H,O,g(e,{duration:a(f),factor:10},null,8,["duration"])])])]),_:1},8,["description"])):u("",!0),g($,{path:"/plugins"})],64)}}});export{st as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{V as m,s as v,W as g,v as d}from"./entry.cefe3147.js";const h=decodeURIComponent,S=encodeURIComponent,y=/; */,p=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function k(t,o){if(typeof t!="string")throw new TypeError("argument str must be a string");let i={},e=o||{},n=t.split(y),a=e.decode||h;for(let r=0;r<n.length;r++){let s=n[r],l=s.indexOf("=");if(l<0)continue;let f=s.substr(0,l).trim(),c=s.substr(++l,s.length).trim();c[0]=='"'&&(c=c.slice(1,-1)),i[f]==null&&(i[f]=T(c,a))}return i}function w(t,o,i){let e=i||{},n=e.encode||S;if(typeof n!="function")throw new TypeError("option encode is invalid");if(!p.test(t))throw new TypeError("argument name is invalid");let a=n(o);if(a&&!p.test(a))throw new TypeError("argument val is invalid");let r=t+"="+a;if(e.maxAge!=null){let s=e.maxAge-0;if(isNaN(s)||!isFinite(s))throw new TypeError("option maxAge is invalid");r+="; Max-Age="+Math.floor(s)}if(e.domain){if(!p.test(e.domain))throw new TypeError("option domain is invalid");r+="; Domain="+e.domain}if(e.path){if(!p.test(e.path))throw new TypeError("option path is invalid");r+="; Path="+e.path}if(e.expires){if(typeof e.expires.toUTCString!="function")throw new TypeError("option expires is invalid");r+="; Expires="+e.expires.toUTCString()}if(e.httpOnly&&(r+="; HttpOnly"),e.secure&&(r+="; Secure"),e.sameSite)switch(typeof e.sameSite=="string"?e.sameSite.toLowerCase():e.sameSite){case!0:r+="; SameSite=Strict";break;case"lax":r+="; SameSite=Lax";break;case"strict":r+="; SameSite=Strict";break;case"none":r+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return r}function T(t,o){try{return o(t)}catch{return t}}const x={path:"/",watch:!0,decode:t=>g(decodeURIComponent(t)),encode:t=>encodeURIComponent(typeof t=="string"?t:JSON.stringify(t))};function u(t,o){const i={...x,...o},e=C(i)||{},n=m(e[t]??i.default?.());{const a=()=>{b(t,n.value,i)};i.watch?v(n,a,{deep:i.watch!=="shallow"}):a()}return n}function C(t={}){return k(document.cookie,t)}function E(t,o,i={}){return o==null?w(t,o,{...i,maxAge:-1}):w(t,o,i)}function b(t,o,i={}){document.cookie=E(t,o,i)}const R=()=>({isEnabled:()=>{const e=d().query;return Object.prototype.hasOwnProperty.call(e,"preview")&&!e.preview?!1:!!(e.preview||u("previewToken").value||sessionStorage.getItem("previewToken"))},getPreviewToken:()=>u("previewToken").value||sessionStorage.getItem("previewToken")||void 0,setPreviewToken:e=>{u("previewToken").value=e,d().query.preview=e||"",e?sessionStorage.setItem("previewToken",e):sessionStorage.removeItem("previewToken"),window.location.reload()}});export{R as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{z as h,a0 as g,a1 as d,a2 as _,D as p,_ as $}from"./entry.cefe3147.js";import{w as f,s as P}from"./utils.e5367885.js";import{u as E}from"./preview.485816aa.js";const l=(r,e)=>e.split(".").reduce((t,s)=>t&&t[s],r),y=(r,e)=>Object.keys(r).filter(e).reduce((t,s)=>Object.assign(t,{[s]:r[s]}),{}),L=r=>e=>Array.isArray(e)?e.map(t=>r(t)):r(e),w=r=>{const e=[],t=[];for(const s of r)["$","_"].includes(s)?e.push(s):t.push(s);return{prefixes:e,properties:t}},R=(r=[])=>e=>{if(r.length===0||!e)return e;const{prefixes:t,properties:s}=w(r);return y(e,n=>!s.includes(n)&&!t.includes(n[0]))},q=(r=[])=>e=>{if(r.length===0||!e)return e;const{prefixes:t,properties:s}=w(r);return y(e,n=>s.includes(n)||t.includes(n[0]))},D=(r,e)=>{const t=new Intl.Collator(e.$locale,{numeric:e.$numeric,caseFirst:e.$caseFirst,sensitivity:e.$sensitivity}),s=Object.keys(e).filter(n=>!n.startsWith("$"));for(const n of s)r=r.sort((o,i)=>{const c=[l(o,n),l(i,n)].map(u=>{if(u!==null)return u instanceof Date?u.toISOString():u});return e[n]===-1&&c.reverse(),t.compare(c[0],c[1])});return r},j=(r,e="Expected an array")=>{if(!Array.isArray(r))throw new TypeError(e)},a=r=>Array.isArray(r)?r:r?[r]:[],S=["sort","where","only","without"],x=(r,e)=>{const t={...e};for(const o of S)t[o]&&(t[o]=a(t[o]));const s=(o,i=c=>c)=>(...c)=>(t[o]=i(...c),n),n={params:()=>({...t,...t.where?{where:[...a(t.where)]}:{},...t.sort?{sort:[...a(t.sort)]}:{}}),only:s("only",a),without:s("without",a),where:s("where",o=>[...a(t.where),...a(o)]),sort:s("sort",o=>[...a(t.sort),...a(o)]),limit:s("limit",o=>parseInt(String(o),10)),skip:s("skip",o=>parseInt(String(o),10)),find:()=>r(n),findOne:()=>(t.first=!0,r(n)),findSurround:(o,i)=>(t.surround={query:o,...i},r(n)),locale:o=>n.where({_locale:o})};return n};function m(r){return JSON.stringify(r,k)}function k(r,e){return e instanceof RegExp?`--REGEX ${e.toString()}`:e}const A=r=>{let e=m(r);return e=typeof Buffer<"u"?Buffer.from(e).toString("base64"):btoa(e),e=e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),(e.match(/.{1,100}/g)||[]).join("/")},C=()=>async r=>{const{content:e}=h().public,t=r.params(),s=e.experimental.stripQueryParameters?f(`/query/${`${p(t)}.${e.integrity}`}/${A(t)}.json`):f(`/query/${p(t)}.${e.integrity}.json`);if(P())return(await $(()=>import("./client-db.a04e1eda.js"),["./client-db.a04e1eda.js","./entry.cefe3147.js","./entry.c396e258.css","./index.a6ef77ff.js","./_commonjsHelpers.87174ba5.js","./preview.485816aa.js","./utils.e5367885.js"],import.meta.url).then(i=>i.useContentDatabase())).fetch(r);const n=await $fetch(s,{method:"GET",responseType:"json",params:e.experimental.stripQueryParameters?void 0:{_params:m(t),previewToken:E().getPreviewToken()}});if(typeof n=="string"&&n.startsWith("<!DOCTYPE html>"))throw new Error("Not found");return n};function B(r,...e){const{content:t}=h().public,s=x(C(),typeof r!="string"?r:{});let n;typeof r=="string"&&(n=g(d(r,...e)));const o=s.params;return s.params=()=>{const i=o();return n&&(i.where=i.where||[],i.first&&(i.where||[]).length===0?i.where.push({_path:_(n)}):i.where.push({_path:new RegExp(`^${n.replace(/[-[\]{}()*+.,^$\s/]/g,"\\$&")}`)})),i.sort?.length||(i.sort=[{_file:1,$numeric:!0}]),t.locales.length&&(i.where?.find(u=>u._locale)?._locale||(i.where=i.where||[],i.where.push({_locale:t.defaultLocale}))),i},s}export{j as a,a as b,L as c,q as d,A as e,x as f,l as g,m as j,B as q,D as s,R as w};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as f}from"./StateEditor.vue.d274c06c.js";import{_ as d}from"./NSectionBlock.53fae3a6.js";import{_ as g}from"./HelpFab.vue.8f58b14e.js";import{a as C,a3 as v,L as x,h as r,o as c,e as p,u as o,l as e,w as s,f as h,F as b}from"./entry.cefe3147.js";import"./NIconButton.vue.b4278b36.js";import"./NIconTitle.vue.321882c6.js";import"./ContentRenderer.914f3a38.js";import"./ContentRendererMarkdown.fd0df501.js";import"./index.a6ef77ff.js";import"./preview.485816aa.js";import"./query.851664d2.js";import"./utils.e5367885.js";const y={key:0},H=C({__name:"runtime-configs",setup(k){const n=v(),l=x(),m=r(()=>n.value?.nuxt.payload),u=r(()=>{const t={...l.value?.runtimeConfig};return delete t.public,delete t.app,t});return(t,B)=>{const a=f,i=d,_=g;return c(),p(b,null,[o(n)?(c(),p("div",y,[e(i,{icon:"carbon-settings-services",text:"App Config",padding:!1},{default:s(()=>[e(a,{state:o(n).appConfig},null,8,["state"])]),_:1}),e(i,{icon:"carbon-settings",text:"Public Runtime Config",padding:!1},{default:s(()=>[e(a,{state:o(m).config?.public},null,8,["state"])]),_:1}),e(i,{icon:"i-carbon-code-signing-service",text:"Private Runtime Config",open:!1,padding:!1,description:"These values are not exposed to the client. Readonly in the DevTools."},{default:s(()=>[e(a,{state:o(u),readonly:""},null,8,["state"])]),_:1})])):h("",!0),e(_,{path:"/runtime-configs"})],64)}}});export{H as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as F}from"./NIconTitle.vue.321882c6.js";import{_ as O}from"./NSwitch.vue.8577379b.js";import{a as j,bc as I,o as i,e as u,l as a,m as e,F as m,r as V,u as s,w as n,af as f,az as L,bd as E,O as T,t as g,c as H,f as A,N as K,aK as R,a6 as q}from"./entry.cefe3147.js";import{_ as G}from"./NSelect.vue.67595372.js";import{_ as J}from"./NCheckbox.vue.93b3bec2.js";const M={px6:"",py6:""},P={grid:"~ md:cols-2 gap-x-10 gap-y-3","max-w-300":""},Q={flex:"~ col gap-1",py3:""},W=e("h3",{mb1:"","text-lg":""}," Tabs ",-1),X={flex:"~ gap-2","flex-auto":"","items-center":"","justify-start":""},Y={capitalize:"",op75:""},Z={flex:"~ col gap-1",border:"~ base rounded",py3:"",pl4:"",pr2:""},ee={py3:"",flex:"~ col gap-1",border:"b base"},oe=e("h3",{mb1:"","text-lg":""}," Appearance ",-1),te=e("div",{"carbon-sun":"","dark:carbon-moon":"","translate-y--1px":""},null,-1),le={py3:"",flex:"~ col gap-1",border:"b base"},ae=e("h3",{mb1:"","text-lg":""}," UI Scale ",-1),se=["value"],ne={py3:"",flex:"~ col gap-1"},ie=e("h3",{mb1:"","text-lg":""}," Features ",-1),de=e("span",null,"Close DevTools when clicking outside",-1),ue=e("span",null,"Show experimental features",-1),re=e("span",null,"Show help buttons",-1),ve=j({__name:"settings",setup(ce){const{interactionCloseOnOutsideClick:v,showExperimentalFeatures:x,showHelpButtons:h,scale:y,hiddenTabs:r,hiddenTabCategories:c}=L(),C=[["Tiny",12/15],["Small",14/15],["Normal",1],["Large",16/15],["Huge",18/15]],N=I(!1);function w(d,t){t?r.value=r.value.filter(p=>p!==d):r.value.push(d)}function S(d,t){t?c.value=c.value.filter(p=>p!==d):c.value.push(d)}return(d,t)=>{const p=F,k=O,U=R,$=q,B=E,D=G,b=J;return i(),u("div",M,[a(p,{class:"mb-5 text-xl op75",icon:"i-carbon-settings-adjust",text:"DevTools Settings"}),e("div",P,[e("div",Q,[W,(i(!0),u(m,null,V(s(N),([o,_])=>(i(),u(m,{key:o},[_.length?(i(),u("div",{key:0,flex:"~ col gap-1","mx--1":"",class:T(s(c).includes(o)?"op50 grayscale":""),"pt-2":""},[a(k,{flex:"~ row-reverse",px2:"",py1:"","n-lime":"","model-value":!s(c).includes(o),"onUpdate:modelValue":l=>S(o,l)},{default:n(()=>[e("div",X,[e("span",Y,g(o),1)])]),_:2},1032,["model-value","onUpdate:modelValue"]),e("div",Z,[(i(!0),u(m,null,V(_,l=>(i(),H(k,{key:l.name,flex:"~ row-reverse",py1:"","n-primary":"","model-value":!s(r).includes(l.name),"onUpdate:modelValue":z=>w(l.name,z)},{default:n(()=>[e("div",{flex:"~ gap-2","flex-auto":"","items-center":"","justify-start":"",class:T(s(r).includes(l.name)?"op25":"")},[a(U,{"text-xl":"",icon:l.icon,title:l.title},null,8,["icon","title"]),e("span",null,g(l.title),1)],2)]),_:2},1032,["model-value","onUpdate:modelValue"]))),128))])],2)):A("",!0)],64))),128))]),e("div",null,[e("div",ee,[oe,e("div",null,[a(B,null,{default:n(({toggle:o,isDark:_})=>[a($,{n:"primary",onClick:l=>o()},{default:n(()=>[te,K(" "+g(_.value?"Dark":"Light"),1)]),_:2},1032,["onClick"])]),_:1})])]),e("div",le,[ae,a(D,{modelValue:s(y),"onUpdate:modelValue":t[0]||(t[0]=o=>f(y)?y.value=o:null),n:"primary"},{default:n(()=>[(i(),u(m,null,V(C,o=>e("option",{key:o[0],value:o[1]},g(o[0]),9,se)),64))]),_:1},8,["modelValue"])]),e("div",ne,[ie,a(b,{modelValue:s(v),"onUpdate:modelValue":t[1]||(t[1]=o=>f(v)?v.value=o:null),"n-primary":""},{default:n(()=>[de]),_:1},8,["modelValue"]),a(b,{modelValue:s(x),"onUpdate:modelValue":t[2]||(t[2]=o=>f(x)?x.value=o:null),"n-primary":""},{default:n(()=>[ue]),_:1},8,["modelValue"]),a(b,{modelValue:s(h),"onUpdate:modelValue":t[3]||(t[3]=o=>f(h)?h.value=o:null),"n-primary":""},{default:n(()=>[re]),_:1},8,["modelValue"])])])])])}}});export{ve as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as re}from"./NIconButton.vue.b4278b36.js";import{_ as le}from"./NSelect.vue.67595372.js";import{_ as ue}from"./NTextInput.vue.c65cc1e4.js";import{a as z,o as r,c as m,w as l,p as ie,ao as G,P as de,u as t,I as W,aO as ce,R as pe,V as I,h as j,v as P,aM as E,aG as me,s as _e,ar as fe,a4 as ye,S as _,H as F,m as u,l as c,e as p,r as q,t as g,F as x,af as L,N as d,O,aD as U,f as T,b1 as ve,ah as ge,b8 as he,aW as ke,q as be,a6 as xe,aJ as we}from"./entry.cefe3147.js";import{_ as Ce}from"./NPanelGrids.a0c996c3.js";import{_ as Ke}from"./PanelLeftRight.vue.a115e8d3.js";import{_ as Ne}from"./FilepathItem.vue.64e00c09.js";import"./editor.e9c81b63.js";const Ve=z({__name:"NLink",props:{to:null,href:null,target:null},setup(w){return(i,v)=>(r(),m(de(w.href||w.target?"a":t(W)),G(i.$props,{class:"n-link hover:n-link-hover n-transition n-link-base"}),{default:l(()=>[ie(i.$slots,"default")]),_:3},16))}}),$e={class:"h-[48px] flex items-center justify-between gap1 px-3"},Se={class:"w-full text-sm"},Ie=["value"],je=u("div",{"x-divider":""},null,-1),qe={key:0,"h-full":"","of-hidden":"",flex:"~ col"},Le={border:"b base",class:"h-[49px] flex flex-none items-center justify-between px-4 text-sm"},Ue={class:"flex items-center gap-4"},De={key:1},Me=["onKeyup"],Be=u("br",null,null,-1),Re={key:0,op50:""},Ae={key:1},Pe=u("code",null,"nitro.storage",-1),Ee=u("br",null,null,-1),Fe={"font-bold":""},Oe=u("br",null,null,-1),Te={"text-sm":""},ze=u("br",null,null,-1),tt=z({__name:"storage",async setup(w){let i,v;const H=ce(),h=pe(),k=I(""),y=I(""),a=j({get(){return P().query?.storage},set(n){h.replace({query:{storage:n}})}}),e=I(),b=j(()=>P().query?.key),{data:C}=([i,v]=E(()=>F("storageMounts",()=>_.getStorageMounts())),i=await i,v(),i),{data:K,refresh:D}=([i,v]=E(async()=>F("storageKeys",async()=>a.value?await _.getStorageKeys(a.value):[])),i=await i,v(),i),J=H.hook("storage:key:update",async(n,s)=>{if(!(!a.value||n.split(":")[0]!==a.value)&&(await D(),b.value===n)){if(s==="remove")return h.replace({query:{storage:a.value}});await V(b.value)}});me(J),_e(a,D),fe(async()=>{if(!b.value){e.value=null;return}V(b.value)}),ye("keydown",n=>{n.key==="s"&&(n.ctrlKey||n.metaKey)&&($(),n.preventDefault())});function N(n){return n.replace(`${a.value}:`,"")}const Q=j(()=>K.value?K.value.filter(n=>n.includes(k.value)):[]);async function V(n){const s=await _.getStorageItem(n);e.value={key:n,updatedKey:N(n),editingKey:!1,content:s,updatedContent:s}}async function X(){if(!y.value||!a.value)return;const n=`${a.value}:${y.value}`;K.value?.includes(n)||await _.setStorageItem(n,""),h.replace({query:{storage:a.value,key:n}}),y.value=""}async function $(){e.value&&(await _.setStorageItem(e.value.key,e.value.updatedContent),await V(e.value.key))}async function Y(){!e.value||!a.value||(await _.removeStorageItem(e.value.key),e.value=null)}async function Z(){if(!e.value||!a.value)return;const n=`${a.value}:${e.value.updatedKey}`;await _.setStorageItem(n,e.value.updatedContent),await _.removeStorageItem(e.value.key),h.replace({query:{storage:a.value,key:n}})}return(n,s)=>{const ee=re,te=le,S=ue,ne=W,oe=be,M=xe,B=Ve,R=we,A=Ce,ae=Ke,se=Ne;return t(a)?(r(),m(ae,{key:0,"storage-key":"tab-storage"},{left:l(()=>[u("div",$e,[c(ee,{icon:"carbon-chevron-left","ml--1":"",onClick:s[0]||(s[0]=o=>a.value="")}),u("div",Se,[c(te,{modelValue:t(a),"onUpdate:modelValue":s[1]||(s[1]=o=>L(a)?a.value=o:null),n:"primary",icon:"carbon-data-base"},{default:l(()=>[(r(!0),p(x,null,q(t(C),(o,f)=>(r(),p("option",{key:f,value:f},g(f),9,Ie))),128))]),_:1},8,["modelValue"])])]),c(S,{modelValue:t(k),"onUpdate:modelValue":s[2]||(s[2]=o=>L(k)?k.value=o:null),icon:"carbon-search",placeholder:"Search...",n:"primary sm",border:"y x-none base! rounded-0",class:"w-full py2 ring-0!"},null,8,["modelValue"]),(r(!0),p(x,null,q(t(Q),o=>(r(),p(x,{key:o},[c(ne,{block:"",truncate:"",px2:"",py1:"","font-mono":"","text-sm":"",to:{query:{key:o,storage:t(a)}},class:O(o===t(e)?.key?"text-primary n-bg-active":"text-secondary hover:n-bg-hover")},{default:l(()=>[d(g(N(o)),1)]),_:2},1032,["to","class"]),je],64))),128)),c(S,{modelValue:t(y),"onUpdate:modelValue":s[3]||(s[3]=o=>L(y)?y.value=o:null),icon:"carbon-add",placeholder:"key",n:"sm",border:"t-none x-none base! rounded-0",class:"w-full py2 font-mono ring-0!",onKeyup:U(X,["enter"])},null,8,["modelValue","onKeyup"])]),right:l(()=>[t(e)?.key?(r(),p("div",qe,[u("div",Le,[u("div",Ue,[t(e).editingKey?(r(),m(S,{key:0,modelValue:t(e).updatedKey,"onUpdate:modelValue":s[4]||(s[4]=o=>t(e).updatedKey=o),onKeyup:U(Z,["enter"])},null,8,["modelValue","onKeyup"])):(r(),p("code",De,[d(g(N(t(e).key))+" ",1),c(oe,{icon:"carbon-edit",class:"cursor-pointer op50 hover:op100",onClick:s[5]||(s[5]=o=>t(e).editingKey=!0)})])),t(e).editingKey?T("",!0):(r(),m(M,{key:2,n:"green xs",disabled:t(e).content===t(e).updatedContent,class:O({"border-green":t(e).content!==t(e).updatedContent}),onClick:$},{default:l(()=>[d(" Save ")]),_:1},8,["disabled","class"]))]),u("div",null,[c(M,{n:"red xs",onClick:Y},{default:l(()=>[d(" Delete ")]),_:1})])]),typeof t(e).content=="object"?(r(),m(t(ve),G({key:0,modelValue:t(e).updatedContent,"onUpdate:modelValue":s[6]||(s[6]=o=>t(e).updatedContent=o),class:[[n.$colorMode.value==="dark"?"jse-theme-dark":"light"],"json-editor-vue h-full of-auto text-sm outline-none"]},n.$attrs,{mode:"text","navigation-bar":!1,indentation:2,"tab-size":2}),null,16,["modelValue","class"])):ge((r(),p("textarea",{key:1,"onUpdate:modelValue":s[7]||(s[7]=o=>t(e).updatedContent=o),placeholder:"Item value...",class:"h-full of-auto p-4 font-mono text-sm outline-none",onKeyup:U(ke($,["ctrl"]),["enter"])},null,40,Me)),[[he,t(e).updatedContent]])])):(r(),m(A,{key:1},{default:l(()=>[c(R,{px6:"",py4:""},{default:l(()=>[d(" Select one key to start."),Be,d("Learn more about "),c(B,{href:"https://nitro.unjs.io/guide/introduction/storage",n:"orange",target:"_blank"},{default:l(()=>[d(" Nitro storage ")]),_:1})]),_:1})]),_:1}))]),_:1})):(r(),m(A,{key:1},{default:l(()=>[Object.keys(t(C)).length?(r(),p("p",Re," Select one storage to start: ")):(r(),p("p",Ae,[d(" No custom storage defined in "),Pe,d("."),Ee,d(" Learn more about "),c(B,{href:"https://nitro.unjs.io/guide/storage",n:"orange",target:"_blank"},{default:l(()=>[d(" Nitro storage ")]),_:1})])),(r(!0),p(x,null,q(t(C),(o,f)=>(r(),m(R,{key:f,"min-w-80":"","cursor-pointer":"","p-4":"","text-left":"",hover:"border-green",onClick:Ge=>a.value=f},{default:l(()=>[u("span",Fe,g(f),1),Oe,u("span",Te,g(o.driver)+" driver",1),ze,o.base?(r(),m(se,{key:0,"text-xs":"",filepath:o.base},null,8,["filepath"])):T("",!0)]),_:2},1032,["onClick"]))),128))]),_:1}))}}});export{tt as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as T,V as y,aO as $,ax as A,b9 as R,ba as V,a4 as B,S as f,o,e as _,m as c,l as E,u as e,c as m,f as x,t as k,F as g,bb as I,v as q,R as F,h as L,ar as M,r as z,N as w,w as D,O as h,aW as O,q as S,I as U}from"./entry.cefe3147.js";import{_ as C}from"./NIconButton.vue.b4278b36.js";const j={border:"t base",flex:"~ gap-2","items-center":"",p2:""},W={"text-sm":"",op50:""},G=T({__name:"TerminalView",props:{id:null},setup(p){const a=p,d=y(),v=$(),n=y();let s;A(async()=>{s=new R.Terminal({convertEol:!0,cols:80,screenReaderMode:!0});const t=new V.FitAddon;s.loadAddon(t),s.open(d.value),t.fit(),B(window,"resize",()=>{t.fit()}),n.value=await f.getTerminalDetail(a.id),n.value?.buffer&&s.write(n.value.buffer),v.hook("devtools:terminal:data",({id:i,data:l})=>{i===a.id&&s.write(l)})});function u(){f.runTerminalAction(a.id,"clear"),s?.clear()}return(t,i)=>{const l=C;return o(),_(g,null,[c("div",{ref_key:"container",ref:d,"h-full":"","w-full":"","of-auto":"","bg-black":""},null,512),c("div",j,[E(l,{title:"Clear",icon:"i-carbon-clean",onClick:i[0]||(i[0]=b=>u())}),e(n)?.restartable?(o(),m(l,{key:0,title:"Restart",icon:"carbon-renew",onClick:i[1]||(i[1]=b=>("rpc"in t?t.rpc:e(f)).runTerminalAction(p.id,"restart"))})):x("",!0),e(n)?.terminatable?(o(),m(l,{key:1,title:"Terminate",icon:"carbon-delete",onClick:i[2]||(i[2]=b=>("rpc"in t?t.rpc:e(f)).runTerminalAction(p.id,"terminate"))})):x("",!0),c("span",W,k(e(n)?.description),1)])],64)}}}),H={key:0,"h-full":"","w-full":"","of-hidden":"",grid:"~ rows-[max-content_1fr_max-content]"},J={flex:"~",border:"b base","flex-1":"","items-center":"","navbar-glass":""},K={key:1,p10:""},P={key:1,"h-full":"",flex:"","items-center":"","justify-center":""},Q=c("em",{op50:""},"No terminal attached",-1),X=[Q],ne=T({__name:"terminals",setup(p){const a=I(),d=q(),v=F(),n=L(()=>{const u=d.query.id;return a.value?.find(t=>t.id===u)});function s(u){f.runTerminalAction(u,"remove"),v.replace("/modules/terminals")}return M(()=>{!d.query.id&&a.value?.length&&v.replace(`/modules/terminals?id=${encodeURIComponent(a.value[0].id)}`)}),(u,t)=>{const i=S,l=C,b=U,N=G;return e(a)?.length?(o(),_("div",H,[c("div",J,[(o(!0),_(g,null,z(e(a),r=>(o(),m(b,{key:r.id,border:"r base",flex:"~ gap-2","items-center":"",px3:"",py2:"",class:h(r.id===e(n)?.id?"bg-active":""),to:`/modules/terminals?id=${encodeURIComponent(r.id)}`},{default:D(()=>[r.icon?(o(),m(i,{key:0,icon:r.icon},null,8,["icon"])):x("",!0),c("span",{class:h(r.id===e(n)?.id?"":"op50")},k(r.name)+k(r.isTerminated?" (terminated)":""),3),r.isTerminated?(o(),m(l,{key:1,icon:"carbon-close","mx--2":"",onClick:O(Y=>s(r.id),["stop"])},null,8,["onClick"])):x("",!0)]),_:2},1032,["class","to"]))),128))]),e(n)?(o(),m(N,{id:e(n).id,key:e(n).id},null,8,["id"])):(o(),_("div",K,[w(" Terminal "),c("code",null,k(e(d).query.id),1),w(" not found ")]))])):(o(),_("div",P,X))}}});export{ne as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{K as o,z as a}from"./entry.cefe3147.js";import{u as p}from"./preview.485816aa.js";const y=["p","h1","h2","h3","h4","h5","h6","li"];function i(r,t){return r.type===t||typeof r.type=="object"&&r.type.tag===t||r.tag===t}function c(r){return i(r,"text")||typeof r.children=="string"}function l(r){return Array.isArray(r.children)||typeof r.children=="string"?r.children:typeof r.children?.default=="function"?r.children.default():[]}function u(r){if(!r)return"";if(Array.isArray(r))return r.map(u).join("");if(c(r))return r.children||r.value;const t=l(r);return Array.isArray(t)?t.map(u).join(""):""}function s(r,t=["p"]){if(Array.isArray(r))return r.flatMap(n=>s(n,t));let e=r;return t.some(n=>n==="*"||i(r,n))&&(e=l(r)||r,!Array.isArray(e)&&y.some(n=>i(r,n))&&(e=[e])),e}function f(r,t=["p"]){return r=Array.isArray(r)?r:[r],t.length?r.flatMap(e=>f(s(e,[t[0]]),t.slice(1))).filter(e=>!(c(e)&&u(e).trim()==="")):r}const w=r=>o(r,a().public.content.api.baseURL),A=()=>({unwrap:s,flatUnwrap:f}),b=()=>{throw console.warn("useContent is only accessible when you are using `documentDriven` mode."),console.warn("Learn more by visiting: https://content.nuxtjs.org/guide/writing/document-driven"),new Error("useContent is only accessible when you are using `documentDriven` mode.")},C=()=>{const{experimental:r}=a().public.content;return r.clientDB?!0:p().isEnabled()};export{A as a,C as s,b as u,w};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{F as D,_ as R}from"./fuse.esm.dae60b17.js";import{a as V,V as v,Q as w,h as u,v as I,ar as S,o as l,e as _,l as s,w as c,F as p,u as a,af as L,r as P,O as U,N as j,t as h,m,c as E,I as W,aJ as q}from"./entry.cefe3147.js";import{_ as z}from"./NCodeBlock.vue.da19eaf4.js";import{_ as G}from"./NPanelGrids.a0c996c3.js";import{_ as H}from"./PanelLeftRight.vue.a115e8d3.js";import{_ as J}from"./HelpFab.vue.8f58b14e.js";import"./NTextInput.vue.c65cc1e4.js";import"./ContentRenderer.914f3a38.js";import"./ContentRendererMarkdown.fd0df501.js";import"./index.a6ef77ff.js";import"./preview.485816aa.js";import"./NIconButton.vue.b4278b36.js";import"./query.851664d2.js";import"./utils.e5367885.js";const O=m("div",{"x-divider":""},null,-1),Q={key:0,"h-full":"","of-hidden":"",flex:"~ col"},T={border:"b base","flex-none":"",px4:"",py2:"","text-sm":"",op75:""},A=m("span",{op75:""},"Select a file to start",-1),ue=V({__name:"virtual-files",setup(K){const r=v(""),o=w(),d=u(()=>I().query?.id),i=v();S(()=>{if(!d.value)return;const e=`/_vfs.json/${encodeURIComponent(d.value)}`;fetch(e).then(t=>t.json()).then(t=>i.value=t.current)});function x(e){if(o.value?.rootDir)return e.startsWith(o.value?.rootDir)?e.slice(o.value.rootDir.length):e}const f=u(()=>o.value?o.value.entries.filter(e=>!e.id.startsWith(`${o.value?.rootDir||""}/.nuxt/`)).sort((e,t)=>e.id.localeCompare(t.id)):[]),y=u(()=>new D(f.value,{keys:["id","path"]})),g=u(()=>r.value?y.value.search(r.value).map(e=>e.item):f.value);return(e,t)=>{const k=R,b=W,N=z,C=q,F=G,$=H,B=J;return l(),_(p,null,[s($,{class:"virtual-files","storage-key":"tab-virtual-files"},{left:c(()=>[s(k,{search:a(r),"onUpdate:search":t[0]||(t[0]=n=>L(r)?r.value=n:null),"no-padding":"",p3:""},null,8,["search"]),(l(!0),_(p,null,P(a(g),n=>(l(),_(p,{key:n.id},[s(b,{block:"","select-none":"",truncate:"",px2:"",py1:"","font-mono":"","text-sm":"",to:`/modules/virtual-files?id=${encodeURIComponent(n.id)}`,class:U(n.id===a(i)?.id?"text-primary n-bg-active":"text-secondary hover:n-bg-hover")},{default:c(()=>[j(h(x(n.id)),1)]),_:2},1032,["to","class"]),O],64))),128))]),right:c(()=>[a(i)?.content?(l(),_("div",Q,[m("div",T,[m("code",null,h(a(i).id),1)]),s(N,{"h-full":"","of-auto":"","text-sm":"",code:a(i).content,lang:"typescript"},null,8,["code"])])):(l(),E(F,{key:1},{default:c(()=>[s(C,{px6:"",py2:""},{default:c(()=>[A]),_:1})]),_:1}))]),_:1}),s(B,{path:"/virtual-files"})],64)}}});export{ue as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"generatedAt":1682819079106,"generateTime":43,"contents":[{"_path":"/components","_dir":"","_draft":false,"_partial":false,"_locale":"","_empty":false,"title":"Components","description":"Vue components under the components/ directory are automatically registered and can be used in your templates without importing them.","body":{"type":"root","children":[{"type":"element","tag":"h1","props":{"id":"components"},"children":[{"type":"text","value":"Components"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Vue components under the "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"components/"}]},{"type":"text","value":" directory are automatically registered and can be used in your templates without importing them."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"a","props":{"href":"https://nuxt.com/docs/guide/directory-structure/components","rel":["nofollow"]},"children":[{"type":"text","value":"Learn more on the documentation"}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[]}},"_type":"markdown","_id":"content:components.md","_source":"content","_file":"components.md","_extension":"md"},{"_path":"/hooks","_dir":"","_draft":false,"_partial":false,"_locale":"","_empty":false,"title":"Hooks","description":"Hooks are an advanced API mainly for module authors or advanced use cases. The hooking system to expand almost every aspect of Nuxt. It's powered by unjs/hookable.","body":{"type":"root","children":[{"type":"element","tag":"h1","props":{"id":"hooks"},"children":[{"type":"text","value":"Hooks"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Hooks are an advanced API mainly for module authors or advanced use cases. The hooking system to expand almost every aspect of Nuxt. It's powered by "},{"type":"element","tag":"a","props":{"href":"https://github.com/unjs/hookable","rel":["nofollow"]},"children":[{"type":"text","value":"unjs/hookable"}]},{"type":"text","value":"."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"a","props":{"href":"https://nuxt.com/docs/guide/going-further/hooks","rel":["nofollow"]},"children":[{"type":"text","value":"Learn more about hooks"}]},{"type":"text","value":"."}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[]}},"_type":"markdown","_id":"content:hooks.md","_source":"content","_file":"hooks.md","_extension":"md"},{"_path":"/imports","_dir":"","_draft":false,"_partial":false,"_locale":"","_empty":false,"title":"Auto imports","description":"Nuxt auto-imports helper functions, composables and Vue APIs to use 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.","body":{"type":"root","children":[{"type":"element","tag":"h1","props":{"id":"auto-imports"},"children":[{"type":"text","value":"Auto imports"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Nuxt auto-imports helper functions, composables and Vue APIs to use 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."}]},{"type":"element","tag":"hr","props":{},"children":[]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"According to your config, exports of files under the following folders will be registed as auto-imports entry:"}]},{"type":"element","tag":"help-imports-dirs","props":{},"children":[]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Meanwhile, modules could also provide auto-imports for their own components. You have auto-imports from the following modules as well:"}]},{"type":"element","tag":"help-imports-modules","props":{},"children":[]},{"type":"element","tag":"hr","props":{},"children":[]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"a","props":{"href":"https://nuxt.com/docs/guide/concepts/auto-imports","rel":["nofollow"]},"children":[{"type":"text","value":"Learn more on the documentation"}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[]}},"_type":"markdown","_id":"content:imports.md","_source":"content","_file":"imports.md","_extension":"md"},{"_path":"/modules","_dir":"","_draft":false,"_partial":false,"_locale":"","_empty":false,"title":"Modules","description":"Nuxt provides a module system to extend the framework core and simplify integrations. You don't need to develop everything from scratch or maintain boilerplate if there is already a Nuxt module for it. Adding Nuxt modules is possible using nuxt.config.","body":{"type":"root","children":[{"type":"element","tag":"h1","props":{"id":"modules"},"children":[{"type":"text","value":"Modules"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Nuxt provides a module system to extend the framework core and simplify integrations. You don't need to develop everything from scratch or maintain boilerplate if there is already a Nuxt module for it. Adding Nuxt modules is possible using "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"nuxt.config"}]},{"type":"text","value":"."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"a","props":{"href":"https://nuxt.com/docs/guide/concepts/modules","rel":["nofollow"]},"children":[{"type":"text","value":"Learn more on the documentation"}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[]}},"_type":"markdown","_id":"content:modules.md","_source":"content","_file":"modules.md","_extension":"md"},{"_path":"/pages","_dir":"","_draft":false,"_partial":false,"_locale":"","_empty":false,"title":"Pages","description":"One core feature of Nuxt is the file system router. Every Vue file inside the pages/ directory creates a corresponding URL (or route) that displays the contents of the file. By using dynamic imports for each page, Nuxt leverages code-splitting to ship the minimum amount of JavaScript for the requested route.","body":{"type":"root","children":[{"type":"element","tag":"h1","props":{"id":"pages"},"children":[{"type":"text","value":"Pages"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"One core feature of Nuxt is the file system router. Every Vue file inside the "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"pages/"}]},{"type":"text","value":" directory creates a corresponding URL (or route) that displays the contents of the file. By using dynamic imports for each page, Nuxt leverages code-splitting to ship the minimum amount of JavaScript for the requested route."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"a","props":{"href":"https://nuxt.com/docs/getting-started/routing","rel":["nofollow"]},"children":[{"type":"text","value":"Learn more on the documentation"}]}]},{"type":"element","tag":"hr","props":{},"children":[]},{"type":"element","tag":"h1","props":{"id":"middlewares"},"children":[{"type":"text","value":"Middlewares"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Nuxt provides a customizable route middleware framework you can use throughout your application, ideal for extracting code that you want to run before navigating to a particular route."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"a","props":{"href":"https://nuxt.com/docs/guide/directory-structure/middleware","rel":["nofollow"]},"children":[{"type":"text","value":"Learn more on the documentation"}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[]}},"_type":"markdown","_id":"content:pages.md","_source":"content","_file":"pages.md","_extension":"md"},{"_path":"/payload","_dir":"","_draft":false,"_partial":false,"_locale":"","_empty":false,"title":"State & Async Data","description":"// TODO","body":{"type":"root","children":[{"type":"element","tag":"h1","props":{"id":"state-async-data"},"children":[{"type":"text","value":"State & Async Data"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"// TODO"}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[]}},"_type":"markdown","_id":"content:payload.md","_source":"content","_file":"payload.md","_extension":"md"},{"_path":"/plugins","_dir":"","_draft":false,"_partial":false,"_locale":"","_empty":false,"title":"Plugins","description":"Nuxt plugins allows you to extend the functionality of Nuxt runtime and the Vue instance. You can add plugins to the plugins/ directory and they will be automatically imported and registered.","body":{"type":"root","children":[{"type":"element","tag":"h1","props":{"id":"plugins"},"children":[{"type":"text","value":"Plugins"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Nuxt plugins allows you to extend the functionality of Nuxt runtime and the Vue instance. You can add plugins to the "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"plugins/"}]},{"type":"text","value":" directory and they will be automatically imported and registered."}]},{"type":"element","tag":"help-tip-performance","props":{},"children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Plugins runs before your application at runtime, the time each plugin cost will directly affect your application's initial loading time."}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"a","props":{"href":"https://nuxt.com/docs/guide/directory-structure/plugins","rel":["nofollow"]},"children":[{"type":"text","value":"Learn more on the documentation"}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[]}},"_type":"markdown","_id":"content:plugins.md","_source":"content","_file":"plugins.md","_extension":"md"},{"_path":"/runtime-configs","_dir":"","_draft":false,"_partial":false,"_locale":"","_empty":false,"title":"Runtime Configs","description":"// TODO:","body":{"type":"root","children":[{"type":"element","tag":"h1","props":{"id":"runtime-configs"},"children":[{"type":"text","value":"Runtime Configs"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"// TODO:"}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[]}},"_type":"markdown","_id":"content:runtime-configs.md","_source":"content","_file":"runtime-configs.md","_extension":"md"},{"_path":"/virtual-files","_dir":"","_draft":false,"_partial":false,"_locale":"","_empty":false,"title":"Virtual Files","description":"Virtual files are generated on the fly to support the conventions of the framework, and to provide a better developer experience.","body":{"type":"root","children":[{"type":"element","tag":"h1","props":{"id":"virtual-files"},"children":[{"type":"text","value":"Virtual Files"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Virtual files are generated on the fly to support the conventions of the framework, and to provide a better developer experience."}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[]}},"_type":"markdown","_id":"content:virtual-files.md","_source":"content","_file":"virtual-files.md","_extension":"md"}],"navigation":[{"title":"Components","_path":"/components"},{"title":"Hooks","_path":"/hooks"},{"title":"Auto imports","_path":"/imports"},{"title":"Modules","_path":"/modules"},{"title":"Pages","_path":"/pages"},{"title":"State & Async Data","_path":"/payload"},{"title":"Plugins","_path":"/plugins"},{"title":"Runtime Configs","_path":"/runtime-configs"},{"title":"Virtual Files","_path":"/virtual-files"}]}
|