@nuxt/devtools 1.1.1 → 1.1.2
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 +2 -2
- package/dist/client/200.html +15 -15
- package/dist/client/404.html +15 -15
- package/dist/client/_nuxt/{C54XRc8l.js → 05eipVqs.js} +1 -1
- package/dist/client/_nuxt/{Z8_3SdCx.js → 35i4wAMX.js} +1 -1
- package/dist/client/_nuxt/{C_MnmfmV.js → 5522rDXy.js} +1 -1
- package/dist/client/_nuxt/{C3QlK_7B.js → 8hufx-0P.js} +1 -1
- package/dist/client/_nuxt/{BkuzPiAP.js → B60kQZgx.js} +1 -1
- package/dist/client/_nuxt/{CtdhE1f3.js → BAEd9nCl.js} +1 -1
- package/dist/client/_nuxt/{D89IPr06.js → BDkh8QK0.js} +1 -1
- package/dist/client/_nuxt/{DDNphti6.js → BGCrOz4e.js} +1 -1
- package/dist/client/_nuxt/{DN9uS3r9.js → BH9eSsM3.js} +1 -1
- package/dist/client/_nuxt/{CXHl10-y.js → BMO0AzJa.js} +1 -1
- package/dist/client/_nuxt/{DdbkFw3c.js → BRRmM0xY.js} +1 -1
- package/dist/client/_nuxt/{D4f0f7UU.js → BUzRqhRD.js} +1 -1
- package/dist/client/_nuxt/{Elk39DYk.js → BahhYg3z.js} +1 -1
- package/dist/client/_nuxt/{CB59kvvk.js → BoIcwzHe.js} +1 -1
- package/dist/client/_nuxt/{BOnTdqFq.js → BrR1uaPL.js} +1 -1
- package/dist/client/_nuxt/{DZNF9_Ts.js → Btmz1I6b.js} +1 -1
- package/dist/client/_nuxt/{CXNvZAmn.js → BxIo2FZE.js} +1 -1
- package/dist/client/_nuxt/{BIG-xU8F.js → By0eb6Ij.js} +1 -1
- package/dist/client/_nuxt/{DwPRkQcZ.js → BzBCjr50.js} +1 -1
- package/dist/client/_nuxt/{C9nlvRuE.js → C4lFqnv_.js} +1 -1
- package/dist/client/_nuxt/{DBpZLuBg.js → C5LAasJC.js} +1 -1
- package/dist/client/_nuxt/{BnqTDRTQ.js → CCI8m-9C.js} +1 -1
- package/dist/client/_nuxt/{CwIrUz6t.js → CHNBAloE.js} +1 -1
- package/dist/client/_nuxt/{CrUxNsPP.js → CKob1_mL.js} +1 -1
- package/dist/client/_nuxt/{LysmJLvR.js → CSNWMf2X.js} +1 -1
- package/dist/client/_nuxt/{CD_YezWg.js → CSZoFkhp.js} +1 -1
- package/dist/client/_nuxt/{DW-UQrvA.js → CT68Z8ay.js} +1 -1
- package/dist/client/_nuxt/{Ba4DdyWR.js → CUP8SSIE.js} +1 -1
- package/dist/client/_nuxt/{QRQ0ln8W.js → CX13B-L1.js} +1 -1
- package/dist/client/_nuxt/{BZ4OC5-6.js → ChFyfSj-.js} +1 -1
- package/dist/client/_nuxt/{DDu9F5dm.js → CoG0T9C_.js} +1 -1
- package/dist/client/_nuxt/{8EggbMwu.js → Coo9jkJv.js} +1 -1
- package/dist/client/_nuxt/{CMLG2-wm.js → CsaIzWXD.js} +1 -1
- package/dist/client/_nuxt/{BMDCUlkj.js → Cumeyj8G.js} +1 -1
- package/dist/client/_nuxt/{e8Aij11V.js → CvdRAF54.js} +1 -1
- package/dist/client/_nuxt/{D_qxg9CZ.js → CvkvF8B0.js} +1 -1
- package/dist/client/_nuxt/{DE14FQNr.js → CyFpVQ5f.js} +1 -1
- package/dist/client/_nuxt/{CY8m9THH.js → CzbknTwr.js} +1 -1
- package/dist/client/_nuxt/{vzR1DB7b.js → D-O8rTjO.js} +1 -1
- package/dist/client/_nuxt/{CyGasit_.js → D3a_2Jhy.js} +1 -1
- package/dist/client/_nuxt/{z8NVlzAs.js → D5qO0ocA.js} +1 -1
- package/dist/client/_nuxt/{CtILACI6.js → DBwX64I2.js} +5 -5
- package/dist/client/_nuxt/{CXiebJPP.js → DDzYLyiY.js} +1 -1
- package/dist/client/_nuxt/{hRYdrzP_.js → DOhD0XD4.js} +1 -1
- package/dist/client/_nuxt/{2bKi2e5w.js → DWmRbhwd.js} +1 -1
- package/dist/client/_nuxt/{BEjaWloH.js → Df-7Z7ap.js} +1 -1
- package/dist/client/_nuxt/{Buf8bEqg.js → Dg4ajmlB.js} +1 -1
- package/dist/client/_nuxt/{ChqQx1p4.js → DictM9hy.js} +1 -1
- package/dist/client/_nuxt/{BDWyeyq_.js → DkJgRml6.js} +1 -1
- package/dist/client/_nuxt/{DEHAvi9d.js → DohjUBb1.js} +1 -1
- package/dist/client/_nuxt/{Bdtkoq5_.js → DsMIOSL0.js} +1 -1
- package/dist/client/_nuxt/{BgkphNq2.js → Dt-wn2qS.js} +1 -1
- package/dist/client/_nuxt/{DnXIYXpO.js → Dy0bGpwB.js} +1 -1
- package/dist/client/_nuxt/{BZ5b_UHE.js → H39NmHRU.js} +1 -1
- package/dist/client/_nuxt/{C6khTLBN.js → RobKPY4N.js} +1 -1
- package/dist/client/_nuxt/{DRyh6x-M.js → RreOIvUw.js} +1 -1
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/5301e8c6-9a1e-46bd-a583-33279d289002.json +1 -0
- package/dist/client/_nuxt/{B9hwBRIe.js → jdRwaW7t.js} +1 -1
- package/dist/client/_nuxt/{tH7Oq52e.js → r3xdub1V.js} +1 -1
- package/dist/client/_nuxt/{9xk-6Ftp.js → stCFyAu4.js} +1 -1
- package/dist/client/_nuxt/{ud_P3M-F.js → vOpv7-NV.js} +1 -1
- package/dist/client/index.html +15 -15
- package/dist/module.json +1 -1
- package/package.json +4 -4
- package/dist/client/_nuxt/builds/meta/ca0a12b4-0fff-4e13-ae05-41075030e4de.json +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as b,r as h,bY as n,aV as g,h as y,j as v,au as l,aU as k,o as i,m as B,i as C,k as $,aa as V,f as o,p as w,_ as N}from"./
|
|
1
|
+
import{d as b,r as h,bY as n,aV as g,h as y,j as v,au as l,aU as k,o as i,m as B,i as C,k as $,aa as V,f as o,p as w,_ as N}from"./DBwX64I2.js";const _=["border"],x={relative:"","h-full":"","w-full":"","of-auto":""},E=b({__name:"NDrawer",props:{modelValue:{type:Boolean},top:{},left:{},autoClose:{type:Boolean},transition:{default:"right"}},emits:["close"],setup(m,{emit:f}){const e=m,c=f,a=h(),{height:u}=n(()=>e.top,void 0,{box:"border-box"}),s=typeof e.left=="string"&&e.left.startsWith("#")?document.querySelector(e.left)?.getBoundingClientRect().width:n(()=>e.left,void 0,{box:"border-box"}).width;g(a,()=>{e.modelValue&&e.autoClose&&c("close")},{ignore:["a","button","summary",'[role="dialog"]']});const d={right:{"enter-from-class":"transform translate-x-1/1","leave-to-class":"transform translate-x-1/1"},top:{"enter-from-class":"transform translate-y--1/1","leave-to-class":"transform translate-y--1/1"},bottom:{"enter-from-class":"transform translate-y-1/1","leave-to-class":"transform translate-y-1/1"}};return(t,r)=>{const p=N;return i(),y(k,l(d[t.transition],{"enter-active-class":"duration-200 ease-in","enter-to-class":"opacity-100","leave-active-class":"duration-200 ease-out","leave-from-class":"opacity-100"}),{default:v(()=>[t.modelValue?(i(),B("div",l({key:0,ref_key:"el",ref:a,border:`${t.transition==="right"?"l":t.transition==="bottom"?"t":"b"} base`,flex:"~ col gap-1",class:{"right-0":t.transition==="right"||t.transition==="bottom"},absolute:"","bottom-0":"","z-10":"","z-20":"","of-auto":"","text-sm":"","n-glass-effect":"",style:{top:t.transition==="bottom"?"auto":`${o(u)}px`,left:t.transition==="right"&&!o(s)?"auto":`${o(s)}px`}},t.$attrs),[C(p,{absolute:"","right-2":"","top-2":"","z-20":"","text-xl":"",icon:"carbon-close",border:!1,onClick:r[0]||(r[0]=z=>t.$emit("close"))}),$("div",x,[V(t.$slots,"default")])],16,_)):w("",!0)]),_:3},16)}}});export{E as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as T,o as s,m as i,F as M,n as w,i as p,k as _,h as I,aK as k,f as e,p as b,a as g,at as C,aL as L,t as X,ab as U,r as D,ah as z,as as H,j as v,l as N,a6 as j}from"./
|
|
1
|
+
import{d as T,o as s,m as i,F as M,n as w,i as p,k as _,h as I,aK as k,f as e,p as b,a as g,at as C,aL as L,t as X,ab as U,r as D,ah as z,as as H,j as v,l as N,a6 as j}from"./DBwX64I2.js";import{_ as P}from"./CKob1_mL.js";import{_ as K}from"./BoIcwzHe.js";import{_ as B}from"./BrR1uaPL.js";import{_ as R}from"./BRRmM0xY.js";import{_ as Y}from"./RreOIvUw.js";import{_ as q}from"./stCFyAu4.js";import{D as E}from"./BcJws1i5.js";import"./DWmRbhwd.js";import"./CvkvF8B0.js";import"./BzBCjr50.js";const G={flex:"~ wrap gap2",p2:"",pl4:""},J=T({__name:"ComposableTree",props:{map:{},root:{},metadata:{}},setup(y){return(r,m)=>{const a=B,d=R;return s(),i("div",null,[(s(!0),i(M,null,w(r.map.entries(),([o,h])=>(s(),i("div",{key:o},[p(a,{filepath:o,op50:"","hover:underline":""},null,8,["filepath"]),_("div",G,[(s(!0),i(M,null,w(h,$=>(s(),I(d,{key:$.as,item:$,metadata:r.metadata,filepath:o.match(/^[\w@]/)?void 0:o},null,8,["item","metadata","filepath"]))),128))])]))),128))])}}}),O={key:0,flex:"~ col gap-2 items-start"},Q=T({__name:"HelpImportsDirs",setup(y){const r=k();return(m,a)=>{const d=B;return e(r)?.dirs?(s(),i("div",O,[(s(!0),i(M,null,w(e(r).dirs,o=>(s(),I(d,{key:o,filepath:o,"text-primary":""},null,8,["filepath"]))),128))])):b("",!0)}}}),W={flex:"~ gap-2 wrap",mb6:""},Z=T({__name:"HelpImportsModules",setup(y){const r=k(),m=g(()=>[...new Set(r.value?.imports.map(a=>C(a.from)).filter(a=>!!a&&!L(a)))]);return(a,d)=>(s(),i("div",W,[(s(!0),i(M,null,w(e(m),o=>(s(),i("code",{key:o,rounded:"","bg-primary:5":"",p:"x2 y0.5","text-primary":""},X(o),1))),128))]))}}),ee={class:"markdown-body"},oe=_("h1",null,"Auto imports",-1),te=_("p",null,"Nuxt auto-imports helper functions, composables and Vue APIs to be used 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.",-1),se=_("hr",null,null,-1),ne=_("p",null,"According to your config, exports of files under the following folders will be registed as auto-imports entry:",-1),ae=_("p",null,"Meanwhile, modules could also provide auto-imports for their own components. You have auto-imports from the following modules as well:",-1),re=_("hr",null,null,-1),le=_("p",null,[_("a",{href:"https://nuxt.com/docs/guide/concepts/auto-imports",target:"_blank",rel:"noopener"},"Learn more in the documentation")],-1),ie={__name:"imports",setup(y,{expose:r}){return r({frontmatter:{}}),(a,d)=>{const o=Q,h=Z;return s(),i("div",ee,[oe,te,se,ne,p(o),ae,p(h),re,le])}}},ue={key:0,relative:"","h-full":"","of-auto":""},pe={key:0,flex:"~ gap-2 items-center"},ye=T({__name:"imports",setup(y){const r=U(),m=D("all"),a=D(""),d=k(),o=g(()=>d.value?.metadata),h=g(()=>d.value?.imports.filter(n=>n.as||n.name).sort((n,u)=>(n.as||n.name).localeCompare(u.as||u.name))||[]),$=g(()=>new z(h.value,{keys:["from","as","name"]})),l=g(()=>{const n=new Map,u=new Map,A=new Map;let f=a.value?$.value.search(a.value).map(t=>t.item):h.value;m.value==="using"&&o.value?f=f.filter(t=>(t.as||t.name)in o.value.injectionUsage):m.value==="not-used"&&o.value&&(f=f.filter(t=>!((t.as||t.name)in o.value.injectionUsage)));const S={user:0,lib:0,builtin:0};return f.forEach(t=>{const c=H(t.from)?L(C(t.from))?A:u:n;c.has(t.from)||c.set(t.from,[]),c.get(t.from).push(t),S[c===n?"user":c===u?"lib":"builtin"]++}),{user:n,lib:u,builtin:A,count:S}});return(n,u)=>{const A=j,f=P,S=K,t=J,c=Y,F=ie,V=q;return s(),i(M,null,[e(r)?(s(),i("div",ue,[p(S,{search:e(a),"onUpdate:search":u[1]||(u[1]=x=>N(a)?a.value=x:null),pb3:""},{default:v(()=>[e(o)?(s(),i("div",pe,[p(A,{icon:"carbon-filter",op50:""}),p(f,{modelValue:e(m),"onUpdate:modelValue":u[0]||(u[0]=x=>N(m)?m.value=x:null),n:"primary sm",options:[{label:"All",value:"all"},{label:"Using",value:"using"},{label:"Not used",value:"not-used"}]},null,8,["modelValue"])])):b("",!0)]),_:1},8,["search"]),e(l).user.size?(s(),I(c,{key:0,open:e(l).count.user<=("DETAILS_MAX_ITEMS"in n?n.DETAILS_MAX_ITEMS:e(E)),icon:"carbon-function",text:"User composables",description:`${e(l).count.user} composables from ${e(l).user.size} modules`},{default:v(()=>[p(t,{map:e(l).user,root:e(r).rootDir,metadata:e(o)},null,8,["map","root","metadata"])]),_:1},8,["open","description"])):b("",!0),e(l).builtin.size?(s(),I(c,{key:1,open:e(l).count.builtin<=("DETAILS_MAX_ITEMS"in n?n.DETAILS_MAX_ITEMS:e(E)),icon:"simple-icons-nuxtdotjs",text:"Built-in composables",description:`${e(l).count.builtin} composables`},{default:v(()=>[p(t,{map:e(l).builtin,root:e(r).rootDir,metadata:e(o)},null,8,["map","root","metadata"])]),_:1},8,["open","description"])):b("",!0),e(l).lib.size?(s(),I(c,{key:2,open:e(l).count.lib<=("DETAILS_MAX_ITEMS"in n?n.DETAILS_MAX_ITEMS:e(E)),icon:"carbon-3d-mpr-toggle",text:"Composables from libraries",description:`${e(l).count.lib} composables from ${e(l).lib.size} packages`},{default:v(()=>[p(t,{map:e(l).lib,root:e(r).rootDir,metadata:e(o)},null,8,["map","root","metadata"])]),_:1},8,["open","description"])):b("",!0)])):b("",!0),p(V,null,{default:v(()=>[p(F)]),_:1})],64)}}});export{ye as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as I}from"./
|
|
1
|
+
import{_ as I}from"./BahhYg3z.js";import{d as O,a0 as R,a as N,w as T,o as s,m as t,F as f,n as k,aa as b,f as r,h as p,p as y,G as v,i as m,j as V,k as S,t as A,v as C,X as E,a6 as L,_ as z}from"./DBwX64I2.js";import{_ as G}from"./C5LAasJC.js";const K={p4:"",flex:"~ col gap-4"},M={key:1,ml2:"",flex:""},X=["value"],q={key:0,flex:"","gap-4":""},H=S("div",{"flex-auto":""},null,-1),Y=O({__name:"ServerRouteInputs",props:{modelValue:{},keys:{default:()=>[]},default:{default:()=>({})},disabled:{type:Boolean,default:!1}},setup(U,{emit:w}){const g=U,u=R(g,"modelValue",w,{passive:!0}),$=N(()=>[...g.keys,"active","key","value","type"]),B=N(()=>{const a={};for(const e of $.value)a[e]=g.default[e]||"";return a}),j=["string","number","boolean","file","date","time","datetime-local"];function D(a,e){const d=e.target;if(d.files&&d.files[0]){const i=d.files[0],c=new FileReader;c.readAsDataURL(i),c.onload=()=>{u.value[a].value=c.result}}}return T(()=>u,a=>{a.value.forEach(e=>{if(e.type==="number"&&typeof e.value!="number"){const d=Number.parseFloat(e.value);e.value=Number.isNaN(d)?0:d}else e.type==="boolean"&&typeof e.value!="boolean"?e.value=!0:e.type==="file"&&typeof e.value!="object"?e.value="":e.type==="date"&&typeof e.value=="string"&&!e.value.match(/^\d{4}-\d{2}-\d{2}$/)?e.value=new Date().toISOString().slice(0,10):e.type==="time"&&typeof e.value=="string"&&!e.value.match(/^\d{2}:\d{2}$/)?e.value=new Date().toISOString().slice(11,16):e.type==="datetime-local"&&typeof e.value=="string"&&!e.value.match(/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/)?e.value=new Date().toISOString().slice(0,16):e.type==="string"&&(e.value=e.value.toString())})},{deep:!0,immediate:!0,flush:"sync"}),(a,e)=>{const d=I,i=E,c=G,F=L,_=z;return s(),t("div",K,[(s(!0),t(f,null,k(r(u),(l,h)=>(s(),t("div",{key:h,flex:"~ gap-2","justify-around":""},[b(a.$slots,"input",{item:l}),(s(!0),t(f,null,k(r($),n=>(s(),t(f,{key:n},[l.type!==null&&n==="active"?(s(),p(d,{key:0,modelValue:l[n],"onUpdate:modelValue":o=>l[n]=o,n:"sm primary",disabled:a.disabled},null,8,["modelValue","onUpdate:modelValue","disabled"])):y("",!0),l.type!==null&&n==="key"?(s(),p(i,{key:1,modelValue:l[n],"onUpdate:modelValue":o=>l[n]=o,placeholder:n,"flex-1":"","font-mono":"",n:"sm primary",disabled:a.disabled,class:v(a.disabled?"op50":"")},null,8,["modelValue","onUpdate:modelValue","placeholder","disabled","class"])):n==="value"?(s(),t(f,{key:2},[l.type==="file"?(s(),p(i,{key:0,type:"file",disabled:a.disabled,class:v(a.disabled?"op75":""),onChange:o=>D(h,o)},null,8,["disabled","class","onChange"])):l.type==="boolean"?(s(),t("div",M,[m(d,{modelValue:l.value,"onUpdate:modelValue":o=>l.value=o,placeholder:"Value",n:"green lg",disabled:a.disabled},null,8,["modelValue","onUpdate:modelValue","disabled"])])):(s(),p(i,{key:2,modelValue:l.value,"onUpdate:modelValue":o=>l.value=o,type:l.type,placeholder:"Value","flex-1":"","font-mono":"",n:"sm primary",disabled:a.disabled,class:v(a.disabled?"op75":"")},null,8,["modelValue","onUpdate:modelValue","type","disabled","class"]))],64)):n==="type"?(s(),p(c,{key:3,modelValue:l.type,"onUpdate:modelValue":o=>l.type=o,n:"sm green",class:v(a.disabled?"op75":""),disabled:a.disabled},{default:V(()=>[(s(),t(f,null,k(j,o=>S("option",{key:o,value:o},A(o),9,X)),64))]),_:2},1032,["modelValue","onUpdate:modelValue","class","disabled"])):y("",!0)],64))),128)),b(a.$slots,"input-actions",{},()=>[m(_,{n:"red",disabled:a.disabled,class:v(a.disabled?"op0!":""),onClick:n=>r(u).splice(h,1)},{default:V(()=>[m(F,{icon:"carbon:trash-can"})]),_:2},1032,["disabled","class","onClick"])])]))),128)),a.disabled?y("",!0):(s(),t("div",q,[b(a.$slots,"actions",{params:r(u)},()=>[m(_,{icon:"carbon-add",n:"sm primary",my1:"","px-3":"",onClick:e[0]||(e[0]=l=>r(u).push({...r(B)}))},{default:V(()=>[C(" Add ")]),_:1}),H,r(u).length?(s(),p(_,{key:0,icon:"carbon-trash-can",n:"sm red",my1:"","px-3":"",onClick:e[1]||(e[1]=l=>u.value=[])},{default:V(()=>[C(" Remove All ")]),_:1})):y("",!0)])])),b(a.$slots,"default")])}}});export{Y as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{q as i,s as a,o as r,m as n,k as e,t as s,y as l,z as d}from"./
|
|
1
|
+
import{q as i,s as a,o as r,m as n,k as e,t as s,y as l,z as d}from"./DBwX64I2.js";const c=t=>(l("data-v-a83eb86a"),t=t(),d(),t),p={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},h=c(()=>e("div",{class:"fixed -bottom-1/2 left-0 right-0 h-1/2 spotlight"},null,-1)),f={class:"max-w-520px text-center"},m=["textContent"],g=["textContent"],b={__name:"error-500",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:500},statusMessage:{type:String,default:"Server error"},description:{type:String,default:"This page is temporarily unavailable."}},setup(t){const o=t;return a({title:`${o.statusCode} - ${o.statusMessage} | ${o.appName}`,script:[],style:[{children:'*,:before,:after{-webkit-box-sizing:border-box;box-sizing:border-box;border-width:0;border-style:solid;border-color:#e0e0e0}*{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(14, 165, 233, .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000}:root{-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{margin:0;font-family:inherit;line-height:inherit}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5}h1,p{margin:0}h1{font-size:inherit;font-weight:inherit}'}]}),(x,u)=>(r(),n("div",p,[h,e("div",f,[e("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:s(t.statusCode)},null,8,m),e("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:s(t.description)},null,8,g)])]))}},y=i(b,[["__scopeId","data-v-a83eb86a"]]);export{y as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{d as m}from"./
|
|
1
|
+
import{d as m}from"./CvkvF8B0.js";import{d as k,a as f,az as _,o as n,m as s,G as r,k as t,F as d,n as g,t as h}from"./DBwX64I2.js";const C=["innerHTML"],b={class:"shiki"},v=["textContent"],y=t("br",null,null,-1),L=k({__name:"NCodeBlock",props:{code:{},lang:{},lines:{type:Boolean,default:!0},transformRendered:{}},emits:["loaded"],setup(a,{emit:c}){const o=a,i=c,l=f(()=>{const e=o.lang==="text"?{code:o.code,supported:!1}:m.value?.devtools.renderCodeHighlight(o.code,o.lang)||{code:o.code,supported:!1};return e.supported&&o.transformRendered&&(e.code=o.transformRendered(e.code)),e.supported&&_(()=>i("loaded")),e});return(e,B)=>e.lang&&l.value.supported?(n(),s("pre",{key:0,class:r(["n-code-block",e.lines?"n-code-block-lines":""]),innerHTML:l.value.code},null,10,C)):(n(),s("pre",{key:1,class:r(["n-code-block",e.lines?"n-code-block-lines":""])},[t("pre",b,[t("code",null,[(n(!0),s(d,null,g(e.code.split(`
|
|
2
2
|
`),(p,u)=>(n(),s(d,{key:u},[t("span",{class:"line",textContent:h(p)},null,8,v),y],64))),128))])])],2))}});export{L as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as g,a0 as y,m as r,k as o,G as n,i as b,j as $,f as i,F as c,I as w,J as B,aa as s,p as d,o as l,v as u,t as v,h as C,y as S,z as k,a6 as I,q as N}from"./
|
|
1
|
+
import{d as g,a0 as y,m as r,k as o,G as n,i as b,j as $,f as i,F as c,I as w,J as B,aa as s,p as d,o as l,v as u,t as v,h as C,y as S,z as k,a6 as I,q as N}from"./DBwX64I2.js";import{_ as V}from"./BzBCjr50.js";const f=t=>(S("data-v-bd17de2b"),t=t(),k(),t),x=["open"],z={"text-base":""},T={key:0,"text-sm":"",op50:""},D=f(()=>o("div",{class:"flex-auto"},null,-1)),F=f(()=>o("div",{class:"x-divider"},null,-1)),j=g({__name:"NSectionBlock",props:{icon:{},text:{},description:{},containerClass:{default:""},headerClass:{},collapse:{type:Boolean,default:!0},open:{type:Boolean,default:!0},padding:{type:[Boolean,String],default:!0}},setup(t){const a=y(t,"open",void 0,{passive:!0});function m(e){a.value=e.target.open}return(e,p)=>{const h=I,_=V;return l(),r(c,null,[o("details",{open:i(a),onToggle:m},[o("summary",{class:n(["cursor-pointer select-none hover:bg-active p4",e.collapse?"":"pointer-events-none"])},[b(_,{icon:e.icon,text:e.text,"text-xl":"",transition:"",class:n([i(a)?"op100":"op60",e.headerClass])},{default:$(()=>[o("div",null,[o("div",z,[s(e.$slots,"text",{},()=>[u(v(e.text),1)],!0)]),e.description||e.$slots.description?(l(),r("div",T,[s(e.$slots,"description",{},()=>[u(v(e.description),1)],!0)])):d("",!0)]),D,s(e.$slots,"actions",{},void 0,!0),e.collapse?(l(),C(h,{key:0,icon:"carbon-chevron-down",class:"chevron","cursor-pointer":"","place-self-start":"","text-base":"",op75:"",transition:"","duration-500":""})):d("",!0)]),_:3},8,["icon","text","class"])],2),p._lazyshow1||i(a)?(p._lazyshow1=!0,l(),r(c,null,[w(o("div",{class:n(["flex flex-col flex-gap2 pb6 pt2",typeof e.padding=="string"?e.padding:e.padding?"px4":""])},[s(e.$slots,"details",{},void 0,!0),o("div",{class:n([e.containerClass,"mt1"])},[s(e.$slots,"default",{},void 0,!0)],2),s(e.$slots,"footer",{},void 0,!0)],2),[[B,i(a)]])],64)):d("v-show-if",!0)],40,x),F],64)}}}),J=N(j,[["__scopeId","data-v-bd17de2b"]]);export{J as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"
|
|
1
|
+
{"id":"5301e8c6-9a1e-46bd-a583-33279d289002","timestamp":1711028586773}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"id":"5301e8c6-9a1e-46bd-a583-33279d289002","timestamp":1711028586773,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as v}from"./
|
|
1
|
+
import{_ as v}from"./DictM9hy.js";import{_ as x}from"./RreOIvUw.js";import{o as r,m as u,k as e,v as m,d as y,av as C,bC as b,a as d,f as i,i as t,j as a,p as k,F as w}from"./DBwX64I2.js";import{_ as N}from"./stCFyAu4.js";import"./CzbknTwr.js";import"./D-O8rTjO.js";import"./BzBCjr50.js";const R={class:"markdown-body"},T=e("h1",null,"Runtime Configs",-1),B=e("p",null,"Nuxt provides a runtime config API to expose configuration within your application and server routes, with the ability to update it at runtime by setting environment variables.",-1),V=e("p",null,[m("In Nuxt DevTools, the editor allows you to edit the runtime config temporarily to see how the changes affect your application. To update them, you might want to update your "),e("code",null,"nuxt.config.js"),m(" file, or check more details in the documentation.")],-1),$=e("p",null,[e("a",{href:"https://nuxt.com/docs/guide/going-further/runtime-config",target:"_blank",rel:"noopener"},"Learn more in the documentation")],-1),D=[T,B,V,$],F={__name:"runtime-configs",setup(f,{expose:o}){return o({frontmatter:{}}),(p,_)=>(r(),u("div",R,D))}},P={key:0},z=y({__name:"runtime-configs",setup(f){const o=C(),l=b(),p=d(()=>o.value?.nuxt.payload),_=d(()=>{const n={...l.value};return delete n.public,delete n.app,n});return(n,S)=>{const s=v,c=x,g=F,h=N;return r(),u(w,null,[i(o)?(r(),u("div",P,[t(c,{icon:"carbon-settings-services",text:"App Config",padding:!1},{default:a(()=>[t(s,{state:i(o).app.appConfig},null,8,["state"])]),_:1}),t(c,{icon:"carbon-settings",text:"Public Runtime Config",padding:!1},{default:a(()=>[t(s,{state:i(p).config?.public},null,8,["state"])]),_:1}),t(c,{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:a(()=>[t(s,{state:i(_),readonly:""},null,8,["state"])]),_:1})])):k("",!0),t(h,null,{default:a(()=>[t(g)]),_:1})],64)}}});export{z as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as p}from"./
|
|
1
|
+
import{_ as p}from"./BrR1uaPL.js";import{d as m,ab as _,m as r,F as s,n as f,o as n,k as o,t as h,h as d,p as k}from"./DBwX64I2.js";const g={mt2:"",grid:"~ cols-[max-content_1fr] gap-x-4","font-mono":""},x={"text-right":""},N={"ws-nowrap":""},y=m({__name:"StacktraceList",props:{stacktrace:{}},setup($){const i=_();function c(a){try{let t=new URL(a).pathname;return t.startsWith("/_nuxt/")&&(t=t.slice(6)),t.startsWith("/@id/virtual:nuxt:")?`#build/${t.split("/.nuxt/")[1]}`.replace(/\.m?js$/,""):t.includes("/@fs/")?`/${t.split("/@fs/")[1]}`:(i.value?.rootDir||"")+t}catch{return a}}return(a,t)=>{const l=p;return n(),r("div",g,[(n(!0),r(s,null,f(a.stacktrace,(e,u)=>(n(),r(s,{key:u},[o("div",x,h(e.functionName||"(anonymous)"),1),o("div",N,[e.fileName?(n(),d(l,{key:0,filepath:`${c(e.fileName)}:${e.lineNumber}:${e.columnNumber}`,subpath:""},null,8,["filepath"])):k("",!0)])],64))),128))])}}});export{y as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as c,r as m,f as o,m as s,k as d,i as a,j as i,aU as u,F as _,p as n,o as l,aa as k,B as v,_ as g}from"./
|
|
1
|
+
import{d as c,r as m,f as o,m as s,k as d,i as a,j as i,aU as u,F as _,p as n,o as l,aa as k,B as v,_ as g}from"./DBwX64I2.js";const h=d("div",{"i-ri:question-mark":""},null,-1),x=[h],w={key:0,border:"l base",class:"prose",pos:"fixed bottom-0 right-0 top-0","z-200":"","h-full":"","w-150":"","overflow-auto":"",px8:"",py4:"","bg-base":""},y=c({__name:"HelpFab",setup(B){const e=m(!1),{showHelpButtons:p}=v();return(b,t)=>{const f=g;return o(p)?(l(),s(_,{key:0},[d("button",{pos:"absolute bottom-5 right-5",border:"~ base rounded-full ",flex:"~ items-center justify-center","z-110":"","h-11":"","w-11":"","backdrop-blur-8":"",bg:"bg-base op50!","light:shadow":"",hover:"bg-active",title:"Help",onClick:t[0]||(t[0]=r=>e.value=!o(e))},x),a(u,{name:"fade-in"},{default:i(()=>[o(e)?(l(),s("div",{key:0,class:"fixed bottom-0 left-0 right-0 top-0 z-100","bg-black:20":"","backdrop-blur-2":"",onClick:t[1]||(t[1]=r=>e.value=!1)})):n("",!0)]),_:1}),a(u,{name:"slide-in"},{default:i(()=>[o(e)?(l(),s("div",w,[k(b.$slots,"default"),a(f,{icon:"carbon-close",pos:"absolute top-3 right-3","rounded-full":"","text-xl":"",border:!1,onClick:t[2]||(t[2]=r=>e.value=!1)})])):n("",!0)]),_:3})],64)):n("",!0)}}});export{y as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as e,m as n,o}from"./
|
|
1
|
+
import{d as e,m as n,o}from"./DBwX64I2.js";const t={"h-screen":"","w-screen":"","bg-black":""},r=e({__name:"__blank",setup(c){return(s,_)=>(o(),n("div",t))}});export{r as default};
|
package/dist/client/index.html
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<!DOCTYPE html><html><head><meta charset="utf-8">
|
|
2
2
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
3
3
|
<link rel="stylesheet" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/entry.C4Fmc-BV.css">
|
|
4
|
-
<link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
4
|
+
<link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/DBwX64I2.js">
|
|
5
5
|
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/Blr6EMNg.js">
|
|
6
6
|
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/DggdVF2v.js">
|
|
7
7
|
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/A1WiD9SJ.js">
|
|
@@ -16,23 +16,23 @@
|
|
|
16
16
|
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/DvyTQcux.js">
|
|
17
17
|
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/BVYSsK7b.js">
|
|
18
18
|
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/CsTmP73Z.js">
|
|
19
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
20
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
21
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
19
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/BMO0AzJa.js">
|
|
20
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/BH9eSsM3.js">
|
|
21
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/CoG0T9C_.js">
|
|
22
22
|
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/D5r6TWiw.js">
|
|
23
23
|
<link rel="prefetch" as="style" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/NCodeBlock.Bcfh0aRP.css">
|
|
24
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
25
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
26
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
27
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
28
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
29
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
30
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
31
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
24
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/DohjUBb1.js">
|
|
25
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/C5LAasJC.js">
|
|
26
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/Coo9jkJv.js">
|
|
27
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/CX13B-L1.js">
|
|
28
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/RobKPY4N.js">
|
|
29
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/CvkvF8B0.js">
|
|
30
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/DsMIOSL0.js">
|
|
31
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/05eipVqs.js">
|
|
32
32
|
<link rel="prefetch" as="style" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-404.CbfoPaOP.css">
|
|
33
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
33
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/CUP8SSIE.js">
|
|
34
34
|
<link rel="prefetch" as="style" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-500.CgCLIzMa.css">
|
|
35
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
36
|
-
<script type="module" src="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
35
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/H39NmHRU.js">
|
|
36
|
+
<script type="module" src="/__NUXT_DEVTOOLS_BASE__/_nuxt/DBwX64I2.js" crossorigin></script><script>"use strict";(()=>{const a=window,e=document.documentElement,c=window.localStorage,d=["dark","light"],n=c&&c.getItem&&c.getItem("nuxt-color-mode")||"system";let l=n==="system"?f():n;const i=e.getAttribute("data-color-mode-forced");i&&(l=i),r(l),a["__NUXT_COLOR_MODE__"]={preference:n,value:l,getColorScheme:f,addColorScheme:r,removeColorScheme:u};function r(o){const t=""+o+"",s="";e.classList?e.classList.add(t):e.className+=" "+t,s&&e.setAttribute("data-"+s,o)}function u(o){const t=""+o+"",s="";e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp(t,"g"),""),s&&e.removeAttribute("data-"+s)}function m(o){return a.matchMedia("(prefers-color-scheme"+o+")")}function f(){if(a.matchMedia&&m("").media!=="not all"){for(const o of d)if(m(":"+o).matches)return o}return"light"}})();
|
|
37
37
|
</script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" id="__NUXT_DATA__" data-ssr="false">[{"_errors":1,"serverRendered":2,"data":3,"state":4,"once":5},{},false,{},{},["Set"]]</script>
|
|
38
38
|
<script>window.__NUXT__={};window.__NUXT__.config={public:{fixture4:"public runtime config from nuxt.config.ts"},app:{baseURL:"/__NUXT_DEVTOOLS_BASE__/",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
|
package/dist/module.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/devtools",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.2",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://devtools.nuxt.com",
|
|
7
7
|
"repository": {
|
|
@@ -70,8 +70,8 @@
|
|
|
70
70
|
"vite-plugin-vue-inspector": "^4.0.2",
|
|
71
71
|
"which": "^3.0.1",
|
|
72
72
|
"ws": "^8.16.0",
|
|
73
|
-
"@nuxt/devtools-kit": "1.1.
|
|
74
|
-
"@nuxt/devtools-wizard": "1.1.
|
|
73
|
+
"@nuxt/devtools-kit": "1.1.2",
|
|
74
|
+
"@nuxt/devtools-wizard": "1.1.2"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
77
|
"@iconify-json/bxl": "^1.1.10",
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"vue-virtual-scroller": "2.0.0-beta.8",
|
|
116
116
|
"xterm": "^5.3.0",
|
|
117
117
|
"xterm-addon-fit": "^0.8.0",
|
|
118
|
-
"@nuxt/devtools": "1.1.
|
|
118
|
+
"@nuxt/devtools": "1.1.2"
|
|
119
119
|
},
|
|
120
120
|
"scripts": {
|
|
121
121
|
"build": "pnpm dev:prepare && pnpm build:module && pnpm build:client && esno scripts/prepare.ts",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"id":"ca0a12b4-0fff-4e13-ae05-41075030e4de","timestamp":1710963413490,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}
|