@nuxt/devtools 1.3.7 → 1.3.9
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 +480 -12
- package/dist/chunks/vscode.mjs +1 -1
- package/dist/client/200.html +18 -18
- package/dist/client/404.html +18 -18
- package/dist/client/_nuxt/{BQl-tQOv.js → -vLCBS-N.js} +1 -1
- package/dist/client/_nuxt/{CZ3tPvoZ.js → 2LcXl48m.js} +1 -1
- package/dist/client/_nuxt/{-7tQh8ue.js → 2e6xxFgg.js} +1 -1
- package/dist/client/_nuxt/{CfJ91qCF.js → 9vVlwvR0.js} +2 -2
- package/dist/client/_nuxt/A4w2ZRz2.js +1 -0
- package/dist/client/_nuxt/{By9REDlT.js → B3Xn0-WD.js} +1 -1
- package/dist/client/_nuxt/{CRBEBDvl.js → B3xdBQzM.js} +1 -1
- package/dist/client/_nuxt/B6E6ObS_.js +8 -0
- package/dist/client/_nuxt/{Dflne9qt.js → BEWN4pmm.js} +1 -1
- package/dist/client/_nuxt/BHNRcs4v.js +1 -0
- package/dist/client/_nuxt/{BpkW35lO.js → BJnuIykn.js} +1 -1
- package/dist/client/_nuxt/BMkcc7VF.js +1 -0
- package/dist/client/_nuxt/{DgiutZgW.js → BfZiPQjx.js} +1 -1
- package/dist/client/_nuxt/{tRGVf0Jt.js → BgkXDMve.js} +1 -1
- package/dist/client/_nuxt/{CZQflZba.js → BgweL_3l.js} +1 -1
- package/dist/client/_nuxt/{WGK50LCp.js → BiD_nEzt.js} +1 -1
- package/dist/client/_nuxt/Bjf-a2fi.js +1 -0
- package/dist/client/_nuxt/Bmn7JOho.js +1 -0
- package/dist/client/_nuxt/Bsa9pMTD.js +15 -0
- package/dist/client/_nuxt/{DCLVSMnX.js → C0RAjPaQ.js} +1 -1
- package/dist/client/_nuxt/{99S8uY5k.js → C5ufIXkV.js} +1 -1
- package/dist/client/_nuxt/{0DKPJLdZ.js → C8cCu25J.js} +1 -1
- package/dist/client/_nuxt/{YOyY9aeM.js → C8k43jHS.js} +1 -1
- package/dist/client/_nuxt/{Bus6nM-z.js → CDN3PKDC.js} +1 -1
- package/dist/client/_nuxt/{GiZoEwQH.js → CG8l32IX.js} +1 -1
- package/dist/client/_nuxt/{PiOA0xLD.js → CHDbzgkk.js} +1 -1
- package/dist/client/_nuxt/CHVLsZmm.js +1 -0
- package/dist/client/_nuxt/{CKZ42KS2.js → CSiYmMfO.js} +2 -2
- package/dist/client/_nuxt/{JYG5gMLr.js → CVc_vzB8.js} +2 -2
- package/dist/client/_nuxt/CVnen6aX.js +1 -0
- package/dist/client/_nuxt/{CN5QdCF_.js → CeCFyH2L.js} +1 -1
- package/dist/client/_nuxt/{NWgDy8rj.js → Cfh5adMM.js} +1 -1
- package/dist/client/_nuxt/{iHPNd0oS.js → CktVnUy9.js} +1 -1
- package/dist/client/_nuxt/{BP18yFEx.js → Ctb-QkcA.js} +1 -1
- package/dist/client/_nuxt/{DALAf-yd.js → D8-i-l8m.js} +1 -1
- package/dist/client/_nuxt/{BzGSKhkq.js → DCIux9Jq.js} +1 -1
- package/dist/client/_nuxt/{DRptvKkQ.js → DDT2yUXF.js} +31 -31
- package/dist/client/_nuxt/{DEFgdXN8.js → DL9aipy8.js} +1 -1
- package/dist/client/_nuxt/{Dn64Kuww.js → DMEbMliD.js} +1 -1
- package/dist/client/_nuxt/DMp3ub-8.js +1 -0
- package/dist/client/_nuxt/{Syz7eBvK.js → DMviwfII.js} +1 -1
- package/dist/client/_nuxt/{CAFgyn5d.js → DbOyCHOq.js} +1 -1
- package/dist/client/_nuxt/{BzkN-UyG.js → Dcjed-xK.js} +3 -3
- package/dist/client/_nuxt/{oBHhz7g1.js → DeJGQFsa.js} +1 -1
- package/dist/client/_nuxt/{C6wwj7pE.js → Diu0Y0PU.js} +2 -2
- package/dist/client/_nuxt/{VV6dbUWb.js → DkQfqnYF.js} +51 -51
- package/dist/client/_nuxt/{Dkcrxbkn.js → Dp08BkoM.js} +1 -1
- package/dist/client/_nuxt/{Defveh6H.js → H8p8AdfC.js} +1 -1
- package/dist/client/_nuxt/{DtMLpJCs.js → JOMs3kJS.js} +95 -95
- package/dist/client/_nuxt/{H8AztYTG.js → OAG_rOo8.js} +1 -1
- package/dist/client/_nuxt/QIDSXraL.js +1 -0
- package/dist/client/_nuxt/ZTrlmdYI.js +1 -0
- package/dist/client/_nuxt/{DJinuH1o.js → b-sJbkBg.js} +1 -1
- package/dist/client/_nuxt/{BkolCBD4.js → brJlGqJM.js} +1 -1
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/a9356a90-0031-4b93-8375-47585faa7c3c.json +1 -0
- package/dist/client/_nuxt/{Bh1omw2R.js → dyz0QDHl.js} +1 -1
- package/dist/client/_nuxt/eUQ_X7Id.js +43 -0
- package/dist/client/_nuxt/error-404.D-YMsRWn.css +1 -0
- package/dist/client/_nuxt/error-500.B8squ7MD.css +1 -0
- package/dist/client/_nuxt/nbOvh45q.js +1 -0
- package/dist/client/_nuxt/{BaLIfrmo.js → pOm0j4bx.js} +1 -1
- package/dist/client/_nuxt/qnM-VzkH.js +9 -0
- package/dist/client/_nuxt/{CaJqtG8l.js → s01ATyxb.js} +1 -1
- package/dist/client/_nuxt/s9jguXLC.js +9 -0
- package/dist/client/_nuxt/{DrwtQkzw.js → tIa4hiZQ.js} +1 -1
- package/dist/client/_nuxt/terminals.BIEho_Pa.css +1 -0
- package/dist/client/_nuxt/{BLAdP9Oz.js → xORP-8Ow.js} +1 -1
- package/dist/client/index.html +18 -18
- package/dist/module.json +1 -1
- package/dist/runtime/plugins/view/Main.vue +1 -1
- package/dist/runtime/plugins/view/client.mjs +4 -2
- package/package.json +13 -14
- package/dist/client/_nuxt/BMyxYGQm.js +0 -1
- package/dist/client/_nuxt/BZUqxYL0.js +0 -1
- package/dist/client/_nuxt/Bllu6NyJ.js +0 -1
- package/dist/client/_nuxt/Bwt-Gbvc.js +0 -1
- package/dist/client/_nuxt/CLQMbejQ.js +0 -1
- package/dist/client/_nuxt/CS0gb7jX.js +0 -1
- package/dist/client/_nuxt/DFF-wSSt.js +0 -8
- package/dist/client/_nuxt/DK_JXXAF.js +0 -43
- package/dist/client/_nuxt/DNkCGu9V.js +0 -1
- package/dist/client/_nuxt/DPOdNjjh.js +0 -1
- package/dist/client/_nuxt/Dmr9BwAJ.js +0 -15
- package/dist/client/_nuxt/DwnntITU.js +0 -9
- package/dist/client/_nuxt/Dxm8HtZr.js +0 -1
- package/dist/client/_nuxt/TIMkSDoD.js +0 -9
- package/dist/client/_nuxt/VtGdE5E6.js +0 -1
- package/dist/client/_nuxt/builds/meta/3221e7ca-ad23-40c3-8243-9520a1ede2e4.json +0 -1
- package/dist/client/_nuxt/dsru6oeh.js +0 -1
- package/dist/client/_nuxt/error-404.CSBAyIwS.css +0 -1
- package/dist/client/_nuxt/error-500.DL0jmuMi.css +0 -1
- package/dist/client/_nuxt/terminals.dNTO8Cf0.css +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{q as o,s,o as a,m as i,k as e,t as r,y as u,z as l}from"./DK_JXXAF.js";const c=t=>(u("data-v-b7e7159e"),t=t(),l(),t),d={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},p=c(()=>e("div",{class:"fixed -bottom-1/2 left-0 right-0 h-1/2 spotlight"},null,-1)),h={class:"max-w-520px text-center"},b=["textContent"],g=["textContent"],f={__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 n=t;return s({title:`${n.statusCode} - ${n.statusMessage} | ${n.appName}`,script:[],style:[{children:'*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:var(--un-default-border-color, #e5e7eb)}:before,:after{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}h1{font-size:inherit;font-weight:inherit}h1,p{margin:0}*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(m,x)=>(a(),i("div",d,[p,e("div",h,[e("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:r(t.statusCode)},null,8,b),e("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:r(t.description)},null,8,g)])]))}},k=o(f,[["__scopeId","data-v-b7e7159e"]]);export{k as default};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import{d as x,am as y,a as _,m as d,f as i,i as N,j as C,k as m,t as p,p as h,h as w,Y as S,o as l,v as $}from"./DK_JXXAF.js";import{_ as O}from"./By9REDlT.js";import"./Bus6nM-z.js";const R=/(^|@)\S+:\d+/,k=/^\s*at .*(\S+:\d+|\(native\))/m,A=/^(eval@)?(\[native code])?$/;function F(e,t){if(typeof e.stacktrace<"u"||typeof e["opera#sourceloc"]<"u")return P(e,t);if(e.stack&&e.stack.match(k))return I(e,t);if(e.stack)return T(e,t);throw new Error("Cannot parse given Error object")}function v(e){if(!e.includes(":"))return[e,void 0,void 0];const s=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(e.replace(/[()]/g,""));return[s[1],s[2]||void 0,s[3]||void 0]}function f(e,t){return t&&t.slice!=null?Array.isArray(t.slice)?e.slice(t.slice[0],t.slice[1]):e.slice(0,t.slice):e}function I(e,t){return b(e.stack,t)}function b(e,t){return f(e.split(`
|
|
2
|
-
`).filter(n=>!!n.match(k)),t).map(n=>{n.includes("(eval ")&&(n=n.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(,.*$)/g,""));let r=n.replace(/^\s+/,"").replace(/\(eval code/g,"(").replace(/^.*?\s+/,"");const c=r.match(/ (\(.+\)$)/);r=c?r.replace(c[0],""):r;const o=v(c?c[1]:r),a=c&&r||void 0,u=["eval","<anonymous>"].includes(o[0])?void 0:o[0];return{function:a,file:u,line:o[1]?+o[1]:void 0,col:o[2]?+o[2]:void 0,raw:n}})}function T(e,t){return V(e.stack,t)}function V(e,t){return f(e.split(`
|
|
3
|
-
`).filter(n=>!n.match(A)),t).map(n=>{if(n.includes(" > eval")&&(n=n.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),!n.includes("@")&&!n.includes(":"))return{function:n};{const r=/((.*".+"[^@]*)?[^@]*)(?:@)/,c=n.match(r),o=c&&c[1]?c[1]:void 0,a=v(n.replace(r,""));return{function:o,file:a[0],line:a[1]?+a[1]:void 0,col:a[2]?+a[2]:void 0,raw:n}}})}function P(e,t){return!e.stacktrace||e.message.includes(`
|
|
4
|
-
`)&&e.message.split(`
|
|
5
|
-
`).length>e.stacktrace.split(`
|
|
6
|
-
`).length?B(e):e.stack?X(e,t):L(e)}function B(e,t){const s=/Line (\d+).*script (?:in )?(\S+)/i,n=e.message.split(`
|
|
7
|
-
`),r=[];for(let c=2,o=n.length;c<o;c+=2){const a=s.exec(n[c]);a&&r.push({file:a[2],line:+a[1],raw:n[c]})}return f(r,t)}function L(e,t){const s=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,n=e.stacktrace.split(`
|
|
8
|
-
`),r=[];for(let c=0,o=n.length;c<o;c+=2){const a=s.exec(n[c]);a&&r.push({function:a[3]||void 0,file:a[2],line:a[1]?+a[1]:void 0,raw:n[c]})}return f(r,t)}function X(e,t){return f(e.stack.split(`
|
|
9
|
-
`).filter(n=>!!n.match(R)&&!n.match(/^Error created at/)),t).map(n=>{const r=n.split("@"),c=v(r.pop()),o=r.shift()||"",a=o.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^)]*\)/g,"")||void 0;let u;o.match(/\(([^)]*)\)/)&&(u=o.replace(/^[^(]+\(([^)]*)\)$/,"$1"));const E=u===void 0||u==="[arguments not available]"?void 0:u.split(",");return{function:a,args:E,file:c[0],line:c[1]?+c[1]:void 0,col:c[2]?+c[2]:void 0,raw:n}})}function D(e){return e.map(t=>({functionName:t.function,args:t.args,fileName:t.file,lineNumber:t.line,columnNumber:t.col,source:t.raw}))}function g(e,t){return D(F(e,t))}const G={p6:""},M={key:0},j={"text-6xl":""},K={key:0,op75:""},z={my4:"","text-xl":"","text-red":""},H={key:1,"of-auto":"",rounded:"","bg-active":"",p2:""},U=m("div",{px1:"",op50:""}," Stacktrace ",-1),W=["textContent"],Y={key:1,op50:""},Z=x({__name:"error",setup(e){const t=y(),s=_(()=>{const r=t.value?.nuxt?.payload?.error;return r&&(console.error("[Nuxt DevTools] Error in payload:"),console.error(r),console.error({...r})),r}),n=_(()=>{if(!s.value?.stack)return[];try{return s.value.stack.startsWith("<pre>")?g({stack:s.value.stack.replace(/<.*?>/g,"")}):g(s.value)}catch(r){return console.error(r),[]}});return(r,c)=>{const o=S,a=O;return l(),d("div",G,[i(s)?(l(),d("div",M,[N(o,{n:"red",icon:"i-carbon-warning-alt-filled",mb5:""},{default:C(()=>[$(" Error occurred in this page ")]),_:1}),m("div",j,p(i(s).statusCode||"Client Error"),1),i(s).statusMessage?(l(),d("div",K,p(i(s).statusMessage),1)):h("",!0),m("div",z,p(i(s).message||i(s).description||"Unknown error"),1),i(n).length||i(s).stack?(l(),d("div",H,[U,i(n).length?(l(),w(a,{key:0,px2:"",stacktrace:i(n)},null,8,["stacktrace"])):(l(),d("pre",{key:1,textContent:p(i(s).stack)},null,8,W))])):h("",!0)])):(l(),d("div",Y," No error "))])}}});export{Z as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{q as s,s as a,o as i,m as u,k as e,t as o,i as c,j as d,v as l,x as p,y as f,z as h}from"./DK_JXXAF.js";const g=t=>(f("data-v-398f7cf4"),t=t(),h(),t),b={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},x=g(()=>e("div",{class:"fixed left-0 right-0 spotlight z-10"},null,-1)),m={class:"max-w-520px text-center z-20"},y=["textContent"],k=["textContent"],_={class:"w-full flex items-center justify-center"},w={__name:"error-404",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:404},statusMessage:{type:String,default:"Not Found"},description:{type:String,default:"Sorry, the page you are looking for could not be found."},backHome:{type:String,default:"Go back home"}},setup(t){const n=t;return a({title:`${n.statusCode} - ${n.statusMessage} | ${n.appName}`,script:[],style:[{children:'*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:var(--un-default-border-color, #e5e7eb)}:before,:after{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}h1{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}h1,p{margin:0}*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(z,v)=>{const r=p;return i(),u("div",b,[x,e("div",m,[e("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:o(t.statusCode)},null,8,y),e("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:o(t.description)},null,8,k),e("div",_,[c(r,{to:"/",class:"gradient-border text-md sm:text-xl py-2 px-4 sm:py-3 sm:px-6 cursor-pointer"},{default:d(()=>[l(o(t.backHome),1)]),_:1})])])])}}},C=s(w,[["__scopeId","data-v-398f7cf4"]]);export{C as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"id":"3221e7ca-ad23-40c3-8243-9520a1ede2e4","timestamp":1719480558176,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as P,a as I,r as V,o,m as s,k as e,F as _,n as j,G as S,f as t,t as p,p as b,H as U,i as u,j as r,v as f,I as A,J as D,K as X,L as F,M as E,_ as G,N as q,O as ee,P as ne,Q as te,R as oe,S as le,U as ie,V as se,W as C,h as z,l as R,X as ae,Y as re,Z as ue,A as de}from"./DK_JXXAF.js";import{_ as ce}from"./Bus6nM-z.js";import{_ as me}from"./BP18yFEx.js";import{_ as _e}from"./iHPNd0oS.js";import{_ as pe}from"./tRGVf0Jt.js";import"./BZUqxYL0.js";const fe={"h-full":"",grid:"~ rows-[max-content_1fr]"},ve={flex:"~ wrap","w-full":""},he=["onClick"],ye=e("div",{border:"b base","flex-auto":""},null,-1),be={key:0,flex:"~ col gap-4 items-center justify-center",p4:""},$e=e("div",{"flex-auto":""},null,-1),ge={grid:"~ cols-[30px_1fr] gap-x-2 gap-y-3 items-center justify-center","w-100":""},xe=e("div",{"i-carbon-commit":"","text-xl":""},null,-1),we=e("div",{"text-sm":"",op50:""}," Name ",-1),ze=e("div",{"i-carbon-time":"","text-xl":""},null,-1),Be=e("div",{"text-sm":"",op50:""}," Build duration ",-1),Ce=e("div",{"i-carbon-cics-program":"","text-xl":""},null,-1),ke=e("div",{"text-sm":"",op50:""}," Client bundle size ",-1),Ne=e("div",{"i-carbon-bare-metal-server":"","text-xl":""},null,-1),Te=e("div",{"text-sm":"",op50:""}," Nitro bundle size ",-1),Ae=e("div",{"i-carbon-edge-node":"","text-xl":""},null,-1),De=e("div",{"text-sm":"",op50:""}," Built ",-1),Ie=e("div",{"i-carbon:folder-parent":"","text-xl":""},null,-1),Ve=e("div",{"text-sm":"",op50:""}," Report Path ",-1),Se=e("div",{"flex-auto":""},null,-1),Fe=P({__name:"BuildAnalyzeDetails",props:{current:{},prev:{}},setup(k){const v=k,g=`${X().app.baseURL}/__nuxt_devtools__/analyze/`.replace(/\/+/g,"/"),x=I(()=>{const n=[{name:"Overview",id:"overview"}];return v.current.features.bundleClient&&n.push({name:"Client Bundle",id:"bundle-client"}),v.current.features.bundleNitro&&n.push({name:"Nitro Bundle",id:"bundle-nitro"}),v.current.features.viteInspect&&n.push({name:"Vite Inspect",id:"vite-inspect"}),n}),i=V(x.value[0]);function h(n){return n<1024?`${n}B`:n<1024*1024?`${(n/1024).toFixed(1)}KB`:n<1024*1024*1024?`${(n/1024/1024).toFixed(1)}MB`:`${(n/1024/1024/1024).toFixed(1)}GB`}function d(n){return`${((n.endTime-n.startTime)/1e3).toFixed(1)}s`}async function N(n){return F.clearAnalyzeBuilds(await E(),[n])}return(n,c)=>{const B=ce,T=G;return o(),s("div",fe,[e("div",ve,[(o(!0),s(_,null,j(t(x),(l,m)=>(o(),s("button",{key:m,px4:"",py2:"",border:"r base",hover:"bg-active",class:S(l.id===t(i).id?"":"border-b"),onClick:w=>i.value=l},[e("div",{class:S(l.id===t(i).id?"":"op30")},p(l.name),3)],10,he))),128)),ye]),t(i).id==="overview"?(o(),s("div",be,[$e,e("div",ge,[xe,e("div",null,[we,e("div",null,p(n.current.name),1)]),ze,e("div",null,[Be,e("div",null,p(d(n.current)),1)]),n.current.size?.clientBundle?(o(),s(_,{key:0},[Ce,e("div",null,[ke,e("div",null,p(h(n.current.size.clientBundle)),1)])],64)):b("",!0),n.current.size.nitroBundle?(o(),s(_,{key:1},[Ne,e("div",null,[Te,e("div",null,p(h(n.current.size.nitroBundle)),1)])],64)):b("",!0),Ae,e("div",null,[De,e("div",null,p(t(U)(new Date(n.current.endTime))),1)]),Ie,e("div",null,[Ve,u(B,{filepath:n.current.analyzeDir},null,8,["filepath"])])]),Se,u(T,{n:"rose",icon:"carbon-delete",onClick:c[0]||(c[0]=l=>N(n.current.name))},{default:r(()=>[f(" Delete this report ")]),_:1})])):b("",!0),c._lazyshow1||t(i).id==="bundle-client"?(c._lazyshow1=!0,o(),s(_,null,[A(e("iframe",{src:`${t(g)}${n.current.slug}/client.html`,"h-full":"","w-full":""},null,8,["src"]),[[D,t(i).id==="bundle-client"]])],64)):b("v-show-if",!0),c._lazyshow2||t(i).id==="bundle-nitro"?(c._lazyshow2=!0,o(),s(_,null,[A(e("iframe",{src:`${t(g)}${n.current.slug}/nitro.html`,"h-full":"","w-full":""},null,8,["src"]),[[D,t(i).id==="bundle-nitro"]])],64)):b("v-show-if",!0),c._lazyshow3||t(i).id==="vite-inspect"?(c._lazyshow3=!0,o(),s(_,null,[A(e("iframe",{src:`${t(g)}${n.current.slug}/.vite-inspect/`,"h-full":"","w-full":""},null,8,["src"]),[[D,t(i).id==="vite-inspect"]])],64)):b("v-show-if",!0)])}}}),Re={class:"markdown-body"},Pe=e("h1",null,"Build Analyze",-1),je=e("p",null,[f("DevTools provides a build analyze tool to help you understand the size of your app in production. Whenever you start a new build, it runs the command "),e("code",null,"nuxt build --analyze"),f(" and present the output data directly in DevTools for easy browsing and comparing.")],-1),Ue=[Pe,je],Ee={__name:"analyze-build",setup(k,{expose:v}){return v({frontmatter:{}}),(g,x)=>(o(),s("div",Re,Ue))}},Ge={flex:"~ col"},Le=["onClick"],Oe={flex:"~ gap-1 items-center wrap","w-full":"","text-sm":"",op60:""},He=e("div",{"i-carbon-time":""},null,-1),Ke=e("div",{"flex-auto":""},null,-1),Me=e("div",{"x-divider":""},null,-1),We={flex:"~ items-center justify-center wrap",p4:""},Ye={flex:"~ col gap-1","w-250":"",p4:""},Ze=e("h3",{class:"text-lg font-medium leading-6",mb2:""}," Start analyze build? ",-1),Je=e("p",{op50:""}," Enter the name of the build: ",-1),Qe=e("div",{my3:"","x-divider":""},null,-1),Xe=e("p",{op50:""}," The following command will be executed in your terminal: ",-1),qe={flex:"~ gap-3",mt2:"","justify-end":""},an=P({__name:"analyze-build",setup(k){const v=q(),$=ee(),g=ne(),x=te("analyze-build:slug",""),i=I(()=>$.value?.builds.find(l=>l.slug===x.value)??$.value?.builds[0]),h=V(!1),d=V(""),N=I(()=>$.value?.builds.some(l=>l.name===d.value.trim()));async function n(){d.value=await F.generateAnalyzeBuildName(),await v.start()&&(se("analyze-build:start"),C.value={name:d.value,processId:await F.startAnalyzeBuild(await E(),d.value)},h.value&&B())}const c=oe();function B(){C.value?.processId&&(c.value=C.value.processId,g.push("/modules/terminals"))}function T(l){return`${((l.endTime-l.startTime)/1e3).toFixed(1)}s`}return le(()=>[{id:"action:analyze-build: start",title:"Start a new analyze build",icon:"i-carbon-edge-node",action:n}]),(l,m)=>{const w=G,L=Fe,O=de,H=ie,K=ae,M=re,W=me,Y=_e,Z=ue,J=Ee,Q=pe;return o(),s(_,null,[u(H,{"left-size":30},{left:r(()=>[e("div",Ge,[(o(!0),s(_,null,j(t($)?.builds,a=>(o(),s(_,{key:a.slug},[e("button",{flex:"~ col gap1","hover:bg-active":"",p3:"",class:S(a.slug===t(i)?.slug?"text-primary bg-active":""),onClick:y=>x.value=a.slug},[e("code",null,p(a.name),1),e("div",Oe,[He,e("span",null,p(T(a)),1),Ke,e("span",null,p(t(U)(new Date(a.endTime))),1)])],10,Le),Me],64))),128)),e("div",We,[("processAnalyzeBuildInfo"in l?l.processAnalyzeBuildInfo:t(C))?(o(),z(w,{key:1,n:"primary",icon:"carbon-circle-dash animate-spin",onClick:m[1]||(m[1]=a=>B())},{default:r(()=>[f(" Building... ")]),_:1})):(o(),z(w,{key:0,n:"primary",icon:"carbon-edge-node",onClick:m[0]||(m[0]=a=>n())},{default:r(()=>[f(" Start a new build ")]),_:1}))])])]),right:r(()=>[t(i)?(o(),z(L,{key:0,current:t(i)},null,8,["current"])):(o(),z(O,{key:1}))]),_:1}),u(t(v),null,{default:r(({resolve:a})=>[u(Z,{"model-value":!0,onClose:y=>a(!1)},{default:r(()=>[e("div",Ye,[Ze,Je,u(K,{modelValue:t(d),"onUpdate:modelValue":m[2]||(m[2]=y=>R(d)?d.value=y:null),placeholder:"Build name"},null,8,["modelValue"]),t(N)?(o(),z(M,{key:0,"n-orange":""},{default:r(()=>[f(" A build with the same name already exists, continue would overrides the previous build result. ")]),_:1})):b("",!0),Qe,Xe,u(W,{code:`npx nuxi analyze --no-serve --name=${t(d)}`,lang:"bash",px4:"",py2:"",border:"~ base rounded",lines:!1},null,8,["code"]),u(Y,{modelValue:t(h),"onUpdate:modelValue":m[3]||(m[3]=y=>R(h)?h.value=y:null),mt2:"",n:"primary"},{default:r(()=>[f(" Navigate to terminal ")]),_:1},8,["modelValue"]),e("div",qe,[u(w,{onClick:y=>a(!1)},{default:r(()=>[f(" Cancel ")]),_:2},1032,["onClick"]),u(w,{n:"solid primary",onClick:y=>a(!0)},{default:r(()=>[f(" Start ")]),_:2},1032,["onClick"])])])]),_:2},1032,["onClose"])]),_:1}),u(Q,null,{default:r(()=>[u(J)]),_:1})],64)}}});export{an as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.spotlight[data-v-398f7cf4]{background:linear-gradient(45deg,#00dc82,#36e4da 50%,#0047e1);bottom:-30vh;filter:blur(20vh);height:40vh}.gradient-border[data-v-398f7cf4]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:.5rem;position:relative}@media (prefers-color-scheme:light){.gradient-border[data-v-398f7cf4]{background-color:#ffffff4d}.gradient-border[data-v-398f7cf4]:before{background:linear-gradient(90deg,#e2e2e2,#e2e2e2 25%,#00dc82,#36e4da 75%,#0047e1)}}@media (prefers-color-scheme:dark){.gradient-border[data-v-398f7cf4]{background-color:#1414144d}.gradient-border[data-v-398f7cf4]:before{background:linear-gradient(90deg,#303030,#303030 25%,#00dc82,#36e4da 75%,#0047e1)}}.gradient-border[data-v-398f7cf4]:before{background-size:400% auto;border-radius:.5rem;content:"";inset:0;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;opacity:.5;padding:2px;position:absolute;transition:background-position .3s ease-in-out,opacity .2s ease-in-out;width:100%}.gradient-border[data-v-398f7cf4]:hover:before{background-position:-50% 0;opacity:1}.fixed[data-v-398f7cf4]{position:fixed}.left-0[data-v-398f7cf4]{left:0}.right-0[data-v-398f7cf4]{right:0}.z-10[data-v-398f7cf4]{z-index:10}.z-20[data-v-398f7cf4]{z-index:20}.grid[data-v-398f7cf4]{display:grid}.mb-16[data-v-398f7cf4]{margin-bottom:4rem}.mb-8[data-v-398f7cf4]{margin-bottom:2rem}.max-w-520px[data-v-398f7cf4]{max-width:520px}.min-h-screen[data-v-398f7cf4]{min-height:100vh}.w-full[data-v-398f7cf4]{width:100%}.flex[data-v-398f7cf4]{display:flex}.cursor-pointer[data-v-398f7cf4]{cursor:pointer}.place-content-center[data-v-398f7cf4]{place-content:center}.items-center[data-v-398f7cf4]{align-items:center}.justify-center[data-v-398f7cf4]{justify-content:center}.overflow-hidden[data-v-398f7cf4]{overflow:hidden}.bg-white[data-v-398f7cf4]{--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity))}.px-4[data-v-398f7cf4]{padding-left:1rem;padding-right:1rem}.px-8[data-v-398f7cf4]{padding-left:2rem;padding-right:2rem}.py-2[data-v-398f7cf4]{padding-bottom:.5rem;padding-top:.5rem}.text-center[data-v-398f7cf4]{text-align:center}.text-8xl[data-v-398f7cf4]{font-size:6rem;line-height:1}.text-xl[data-v-398f7cf4]{font-size:1.25rem;line-height:1.75rem}.text-black[data-v-398f7cf4]{--un-text-opacity:1;color:rgb(0 0 0/var(--un-text-opacity))}.font-light[data-v-398f7cf4]{font-weight:300}.font-medium[data-v-398f7cf4]{font-weight:500}.leading-tight[data-v-398f7cf4]{line-height:1.25}.font-sans[data-v-398f7cf4]{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}.antialiased[data-v-398f7cf4]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){.dark\:bg-black[data-v-398f7cf4]{--un-bg-opacity:1;background-color:rgb(0 0 0/var(--un-bg-opacity))}.dark\:text-white[data-v-398f7cf4]{--un-text-opacity:1;color:rgb(255 255 255/var(--un-text-opacity))}}@media (min-width:640px){.sm\:px-0[data-v-398f7cf4]{padding-left:0;padding-right:0}.sm\:px-6[data-v-398f7cf4]{padding-left:1.5rem;padding-right:1.5rem}.sm\:py-3[data-v-398f7cf4]{padding-bottom:.75rem;padding-top:.75rem}.sm\:text-4xl[data-v-398f7cf4]{font-size:2.25rem;line-height:2.5rem}.sm\:text-xl[data-v-398f7cf4]{font-size:1.25rem;line-height:1.75rem}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.spotlight[data-v-b7e7159e]{background:linear-gradient(45deg,#00dc82,#36e4da 50%,#0047e1);filter:blur(20vh)}.fixed[data-v-b7e7159e]{position:fixed}.-bottom-1\/2[data-v-b7e7159e]{bottom:-50%}.left-0[data-v-b7e7159e]{left:0}.right-0[data-v-b7e7159e]{right:0}.grid[data-v-b7e7159e]{display:grid}.mb-16[data-v-b7e7159e]{margin-bottom:4rem}.mb-8[data-v-b7e7159e]{margin-bottom:2rem}.h-1\/2[data-v-b7e7159e]{height:50%}.max-w-520px[data-v-b7e7159e]{max-width:520px}.min-h-screen[data-v-b7e7159e]{min-height:100vh}.place-content-center[data-v-b7e7159e]{place-content:center}.overflow-hidden[data-v-b7e7159e]{overflow:hidden}.bg-white[data-v-b7e7159e]{--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity))}.px-8[data-v-b7e7159e]{padding-left:2rem;padding-right:2rem}.text-center[data-v-b7e7159e]{text-align:center}.text-8xl[data-v-b7e7159e]{font-size:6rem;line-height:1}.text-xl[data-v-b7e7159e]{font-size:1.25rem;line-height:1.75rem}.text-black[data-v-b7e7159e]{--un-text-opacity:1;color:rgb(0 0 0/var(--un-text-opacity))}.font-light[data-v-b7e7159e]{font-weight:300}.font-medium[data-v-b7e7159e]{font-weight:500}.leading-tight[data-v-b7e7159e]{line-height:1.25}.font-sans[data-v-b7e7159e]{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}.antialiased[data-v-b7e7159e]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){.dark\:bg-black[data-v-b7e7159e]{--un-bg-opacity:1;background-color:rgb(0 0 0/var(--un-bg-opacity))}.dark\:text-white[data-v-b7e7159e]{--un-text-opacity:1;color:rgb(255 255 255/var(--un-text-opacity))}}@media (min-width:640px){.sm\:px-0[data-v-b7e7159e]{padding-left:0;padding-right:0}.sm\:text-4xl[data-v-b7e7159e]{font-size:2.25rem;line-height:2.5rem}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.xterm{cursor:text;position:relative;-moz-user-select:none;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{border:0;height:0;left:-9999em;margin:0;opacity:0;overflow:hidden;padding:0;position:absolute;resize:none;top:0;white-space:nowrap;width:0;z-index:-5}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;cursor:default;inset:0;overflow-y:scroll;position:absolute}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{left:0;position:absolute;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;left:-9999em;line-height:normal;position:absolute;top:0;visibility:hidden}.xterm.enable-mouse-events{cursor:default}.xterm .xterm-cursor-pointer,.xterm.xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility,.xterm .xterm-message{color:transparent;inset:0;pointer-events:none;position:absolute;z-index:10}.xterm .live-region{height:1px;left:-9999px;overflow:hidden;position:absolute;width:1px}.xterm-dim{opacity:1!important}.xterm-underline-1{text-decoration:underline}.xterm-underline-2{-webkit-text-decoration:double underline;text-decoration:double underline}.xterm-underline-3{-webkit-text-decoration:wavy underline;text-decoration:wavy underline}.xterm-underline-4{-webkit-text-decoration:dotted underline;text-decoration:dotted underline}.xterm-underline-5{-webkit-text-decoration:dashed underline;text-decoration:dashed underline}.xterm-overline{text-decoration:overline}.xterm-overline.xterm-underline-1{text-decoration:overline underline}.xterm-overline.xterm-underline-2{-webkit-text-decoration:overline double underline;text-decoration:overline double underline}.xterm-overline.xterm-underline-3{-webkit-text-decoration:overline wavy underline;text-decoration:overline wavy underline}.xterm-overline.xterm-underline-4{-webkit-text-decoration:overline dotted underline;text-decoration:overline dotted underline}.xterm-overline.xterm-underline-5{-webkit-text-decoration:overline dashed underline;text-decoration:overline dashed underline}.xterm-strikethrough{text-decoration:line-through}.xterm-screen .xterm-decoration-container .xterm-decoration{position:absolute;z-index:6}.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer{z-index:7}.xterm-decoration-overview-ruler{pointer-events:none;position:absolute;right:0;top:0;z-index:8}.xterm-decoration-top{position:relative;z-index:2}.xterm{padding-left:1rem;padding-right:1rem}
|