@nuxt/devtools 1.0.7 → 1.0.8
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 +15 -15
- package/dist/client/404.html +15 -15
- package/dist/client/_nuxt/{CodeDiff.vue._dCq5f_z.js → CodeDiff.vue.yvGsYwMX.js} +1 -1
- package/dist/client/_nuxt/{ComposableItem.vue.xjjgcokF.js → ComposableItem.vue.T22_QMe3.js} +1 -1
- package/dist/client/_nuxt/{DataSchemaButton.vue.xvehQ20c.js → DataSchemaButton.vue.kfghTUAM.js} +1 -1
- package/dist/client/_nuxt/{DataSchemaDrawer.IkoxYN9B.js → DataSchemaDrawer.pFnTVL_R.js} +1 -1
- package/dist/client/_nuxt/{DurationDisplay.vue.EcbbfLCJ.js → DurationDisplay.vue.zHxKl3h_.js} +1 -1
- package/dist/client/_nuxt/{FilepathItem.vue.KRS5685n.js → FilepathItem.vue.e1n0RyHZ.js} +1 -1
- package/dist/client/_nuxt/{HelpFab.vue.K4yHYYQx.js → HelpFab.vue.9P-8iMDH.js} +1 -1
- package/dist/client/_nuxt/{LaunchPage.vue.TOWJvQ6t.js → LaunchPage.vue.Mrnd5FUf.js} +1 -1
- package/dist/client/_nuxt/{NBadge.IQAZmm2D.js → NBadge.02P0N0hm.js} +1 -1
- package/dist/client/_nuxt/{NCheckbox.vue._sgKubGr.js → NCheckbox.vue.m1__cenQ.js} +1 -1
- package/dist/client/_nuxt/{NCodeBlock.vue.2w5Cy5b6.js → NCodeBlock.vue.D7jhLEjr.js} +1 -1
- package/dist/client/_nuxt/{NDrawer.vue.16o-RaPU.js → NDrawer.vue.biTr62KW.js} +1 -1
- package/dist/client/_nuxt/{NDropdown.vue.ZtGr97L2.js → NDropdown.vue.sigVLPdp.js} +1 -1
- package/dist/client/_nuxt/{NIconTitle.vue.WxyT9iC2.js → NIconTitle.vue.B_Ui7cce.js} +1 -1
- package/dist/client/_nuxt/{NLink.vue.R78P2sWn.js → NLink.vue.Bj0qXc3J.js} +1 -1
- package/dist/client/_nuxt/{NMarkdown.vue.cV8rBrR_.js → NMarkdown.vue.Ej8wmZFm.js} +1 -1
- package/dist/client/_nuxt/{NNavbar.vue._6IXF0Xt.js → NNavbar.vue.VnwEajb6.js} +1 -1
- package/dist/client/_nuxt/{NSectionBlock.o39x0IHF.js → NSectionBlock.vAf-kGVD.js} +1 -1
- package/dist/client/_nuxt/{NSelect.vue.-sTE6wwQ.js → NSelect.vue.zI1gfDpy.js} +1 -1
- package/dist/client/_nuxt/{NSelectTabs.vue.fSn-iFey.js → NSelectTabs.vue.AydEyuDp.js} +1 -1
- package/dist/client/_nuxt/{NSwitch.vue.hSNKFLMl.js → NSwitch.vue.b9xL28U5.js} +1 -1
- package/dist/client/_nuxt/{StacktraceList.vue.Gb_bhKzx.js → StacktraceList.vue.K3UX7GrW.js} +1 -1
- package/dist/client/_nuxt/{StateEditor.vue.uD82H9Pv.js → StateEditor.vue.XC13TBO8.js} +1 -1
- package/dist/client/_nuxt/{__blank.rg_1bnXo.js → __blank.4nEfHodO.js} +1 -1
- package/dist/client/_nuxt/{analyze-build.JxJ_8lFN.js → analyze-build.PnmanOmc.js} +1 -1
- package/dist/client/_nuxt/{assets.1FyMcY8L.js → assets.4NpI16LC.js} +1 -1
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/6a0559dc-da71-46a5-8a3c-8d631ecd5320.json +1 -0
- package/dist/client/_nuxt/{client.eqvAG3u2.js → client.UdRQ7dYn.js} +1 -1
- package/dist/client/_nuxt/{components.cp8uehQU.js → components.bafJJWkk.js} +1 -1
- package/dist/client/_nuxt/{custom-_name_.djPre3b7.js → custom-_name_.i-QCiHcq.js} +1 -1
- package/dist/client/_nuxt/{default.7wQj6c36.js → default.64CCr6pQ.js} +1 -1
- package/dist/client/_nuxt/{entry.a1BLIhrc.js → entry.Li7bMdxw.js} +5 -5
- package/dist/client/_nuxt/{error-404.3dfc8fFE.js → error-404.uYSk40lm.js} +1 -1
- package/dist/client/_nuxt/{error-500.qvz9zIUY.js → error-500._o_7fJYd.js} +1 -1
- package/dist/client/_nuxt/{error.2PxdKqsT.js → error.U9HBYLgA.js} +1 -1
- package/dist/client/_nuxt/{full.w5ioE28h.js → full.WnKVk-q6.js} +1 -1
- package/dist/client/_nuxt/{hooks.13fp5T8X.js → hooks.5KumR8Qp.js} +1 -1
- package/dist/client/_nuxt/{imports.E-T17-Mp.js → imports.-jRZwNS0.js} +1 -1
- package/dist/client/_nuxt/{index.ctUdIrWg.js → index._ARgFaAV.js} +1 -1
- package/dist/client/_nuxt/{json-editor-vue.C3M8qDH6.js → json-editor-vue.qZEps2wJ.js} +1 -1
- package/dist/client/_nuxt/{modules.z6wgZaun.js → modules.7QVx6VBW.js} +1 -1
- package/dist/client/_nuxt/{none.UJDcJL42.js → none.du_ft3bP.js} +1 -1
- package/dist/client/_nuxt/{open-graph.ovVmSUH6.js → open-graph.ibydGna7.js} +1 -1
- package/dist/client/_nuxt/{overview.RtevshhZ.js → overview.Vfo3spsD.js} +1 -1
- package/dist/client/_nuxt/{pages.jN1YZniN.js → pages.OsyANSwf.js} +1 -1
- package/dist/client/_nuxt/{payload.QEY7GKAn.js → payload.LvslHyQ-.js} +1 -1
- package/dist/client/_nuxt/{plugins.OPV4346K.js → plugins.-waaP_qB.js} +1 -1
- package/dist/client/_nuxt/{runtime-configs.BdJla29K.js → runtime-configs.6C1y42GJ.js} +1 -1
- package/dist/client/_nuxt/{server-routes.7v7M6BNy.js → server-routes.8nS5VL6V.js} +1 -1
- package/dist/client/_nuxt/{settings.yb3IRCgQ.js → settings.Aj2LNb0U.js} +1 -1
- package/dist/client/_nuxt/{state-components.7HYELvqe.js → state-components.PdQ1tKRe.js} +1 -1
- package/dist/client/_nuxt/{state-modules.oo9Oe5GR.js → state-modules.ZsAhN2-A.js} +1 -1
- package/dist/client/_nuxt/{storage-options.fwiCb1uI.js → storage-options.-PhoDnIp.js} +1 -1
- package/dist/client/_nuxt/{storage.DlSn8HWp.js → storage.4TsT27Mw.js} +1 -1
- package/dist/client/_nuxt/{terminals.XRY8ruVV.js → terminals.WAexfEk0.js} +1 -1
- package/dist/client/_nuxt/{timeline.AZ4Ag11k.js → timeline.M76ZIEAr.js} +1 -1
- package/dist/client/_nuxt/{unocss-runtime.NnHejI5X.js → unocss-runtime.PEXBUXPL.js} +1 -1
- package/dist/client/_nuxt/{virtual-files.dM-a5WY-.js → virtual-files.NKByCwiv.js} +1 -1
- package/dist/client/index.html +15 -15
- package/dist/module.json +1 -1
- package/dist/runtime/plugins/view/client.mjs +14 -19
- package/package.json +4 -4
- package/dist/client/_nuxt/builds/meta/08fd0fd8-5cfa-4695-8e27-78457d182dae.json +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as c,r as m,f as o,l as s,p as d,i as a,j as i,aT as u,F as _,n,o as l,aa as v,B as k,_ as g}from"./entry.
|
|
1
|
+
import{d as c,r as m,f as o,l as s,p as d,i as a,j as i,aT as u,F as _,n,o as l,aa as v,B as k,_ as g}from"./entry.Li7bMdxw.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}=k();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,[v(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 w,h as a,j as o,A as y,o as t,i,p as r,t as m,n as l,l as C,m as B,at as V,v as $,F as v,V as P,bH as F,a6 as I,_ as L,ao as T}from"./entry.
|
|
1
|
+
import{d as w,h as a,j as o,A as y,o as t,i,p as r,t as m,n as l,l as C,m as B,at as V,v as $,F as v,V as P,bH as F,a6 as I,_ as L,ao as T}from"./entry.Li7bMdxw.js";import{_ as j}from"./NMarkdown.vue.Ej8wmZFm.js";const A={"text-xl":""},D={flex:"~ gap2 wrap"},M=w({__name:"LaunchPage",props:{name:{},icon:{},title:{},description:{},actions:{}},emits:["action"],setup(_,{emit:p}){const d=_,u=p;function f(e,s){P("launch-page",{pageName:d.name}),e.handle?.(),u("action",s)}return(e,s)=>{const g=F,k=j,h=I,b=L,N=T,x=y;return t(),a(x,null,{default:o(()=>[i(N,{flex:"~ col gap2",mxa:"","min-w-100":"","items-center":"",p6:""},{default:o(()=>[i(g,{mb2:"","text-5xl":"",icon:e.icon||e.icon,title:e.title},null,8,["icon","title"]),r("h1",A,m(e.title),1),e.description?(t(),a(k,{key:0,mb2:"","mt--1":"","text-center":"","text-base":"",op50:"",markdown:e.description},null,8,["markdown"])):l("",!0),r("div",D,[(t(!0),C(v,null,B(e.actions,(n,c)=>(t(),a(b,V({key:c,n:"solid primary",disabled:n.pending,to:n.src,target:n.src?"_blank":void 0},n.attrs,{onClick:E=>f(n,c)}),{default:o(()=>[n.pending?(t(),a(h,{key:0,icon:"carbon-circle-dash","animate-spin":""})):l("",!0),$(" "+m(n.label),1)]),_:2},1040,["disabled","to","target","onClick"]))),128))])]),_:1})]),_:1})}}});export{M as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{q as n,o,l as s,aa as t}from"./entry.
|
|
1
|
+
import{q as n,o,l as s,aa as t}from"./entry.Li7bMdxw.js";const a={},c={class:"n-badge"};function _(e,r){return o(),s("span",c,[t(e.$slots,"default")])}const d=n(a,[["render",_]]);export{d as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as i,a0 as r,o as p,l as b,I as u,bR as h,f as a,p as n,k,ae as m,i as f,aa as v,G as _,a6 as x}from"./entry.
|
|
1
|
+
import{d as i,a0 as r,o as p,l as b,I as u,bR as h,f as a,p as n,k,ae as m,i as f,aa as v,G as _,a6 as x}from"./entry.Li7bMdxw.js";const V=["checked","disabled"],y=["disabled"],B={class:"n-checkbox-box n-checked:n-checkbox-box-checked peer-active:n-active-base peer-focus-visible:n-focus-base n-transition"},w=i({__name:"NCheckbox",props:{modelValue:{type:[Boolean,null],default:!1},disabled:{type:Boolean,default:!1}},setup(c,{emit:t}){const e=r(c,"modelValue",t,{passive:!0});return(o,s)=>{const d=x;return p(),b("label",{class:"n-checkbox hover:n-checkbox-hover select-none items-center n-disabled:n-disabled",checked:a(e)||null,disabled:o.disabled||null},[u(n("input",{"onUpdate:modelValue":s[0]||(s[0]=l=>k(e)?e.value=l:null),type:"checkbox",class:"peer absolute op0",disabled:o.disabled,onKeypress:s[1]||(s[1]=m(l=>e.value=!a(e),["enter"]))},null,40,y),[[h,a(e)]]),n("span",B,[f(d,{class:"n-checkbox-icon scale-0 transform op0 n-transition n-checked:scale-100 n-checked:op100"})]),n("span",{class:_([a(e)?"":"op50","n-transition"])},[v(o.$slots,"default")],2)],8,V)}}});export{w as _};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{d as m}from"./client.
|
|
1
|
+
import{d as m}from"./client.UdRQ7dYn.js";import{d as f,a as k,ay as _,o as n,l as s,G as r,p as t,F as d,m as g,t as h}from"./entry.Li7bMdxw.js";const C=["innerHTML"],y={class:"shiki"},b=["textContent"],v=t("br",null,null,-1),L=f({__name:"NCodeBlock",props:{code:{},lang:{},lines:{type:Boolean,default:!0},transformRendered:{}},emits:["loaded"],setup(a,{emit:c}){const o=a,i=c,l=k(()=>{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",y,[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,b),v],64))),128))])])],2))}});export{L as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as b,r as h,bI as n,aU as g,h as y,j as v,at as l,aT as B,o as i,l as C,i as $,p as k,aa as w,f as o,n as V,_ as N}from"./entry.
|
|
1
|
+
import{d as b,r as h,bI as n,aU as g,h as y,j as v,at as l,aT as B,o as i,l as C,i as $,p as k,aa as w,f as o,n as V,_ as N}from"./entry.Li7bMdxw.js";const _=["border"],x={relative:"","h-full":"","w-full":"","of-auto":""},T=b({__name:"NDrawer",props:{modelValue:{type:Boolean},top:{},left:{},autoClose:{type:Boolean},transition:{default:"right"}},emits:["close"],setup(f,{emit:m}){const e=f,c=m,a=h(),{height:d}=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 u={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(B,l(u[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(),C("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(d)}px`,left:t.transition==="right"&&!o(s)?"auto":`${o(s)}px`}},t.$attrs),[$(p,{absolute:"","right-2":"","top-2":"","z-20":"","text-xl":"",icon:"carbon-close",border:!1,onClick:r[0]||(r[0]=z=>t.$emit("close"))}),k("div",x,[w(t.$slots,"default")])],16,_)):V("",!0)]),_:3},16)}}});export{T as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as i,a0 as p,r as c,aU as u,o as f,l as m,aa as n,i as v,j as _,v as b,f as a,p as k,G as V,_ as B}from"./entry.
|
|
1
|
+
import{d as i,a0 as p,r as c,aU as u,o as f,l as m,aa as n,i as v,j as _,v as b,f as a,p as k,G as V,_ as B}from"./entry.Li7bMdxw.js";const $=i({__name:"NDropdown",props:{modelValue:{type:Boolean},direction:{default:"start"}},setup(r,{emit:l}){const e=p(r,"modelValue",l,{passive:!0}),s=c();return u(s,()=>{e.value=!1}),(o,t)=>{const d=B;return f(),m("div",{ref_key:"el",ref:s,class:"relative"},[n(o.$slots,"trigger",{enabled:a(e),click:()=>e.value=!a(e)},()=>[v(d,{onClick:t[0]||(t[0]=g=>e.value=!a(e))},{default:_(()=>[b(" Dropdown ")]),_:1})]),k("div",{class:V(["absolute z-10 border n-border-base rounded shadow n-transition n-bg-base",[a(e)?"op-100":"op0 pointer-events-none -translate-y-1",o.direction==="end"?"right-0":"left-0"]])},[n(o.$slots,"default")],2)],512)}}});export{$ as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as t,o,l as s,G as a,n,aa as r,p as l,t as i}from"./entry.
|
|
1
|
+
import{d as t,o,l as s,G as a,n,aa as r,p as l,t as i}from"./entry.Li7bMdxw.js";const c={flex:"~ gap-3","items-center":""},u=t({__name:"NIconTitle",props:{icon:{},text:{}},setup(p){return(e,d)=>(o(),s("div",c,[e.icon?(o(),s("div",{key:0,class:a(e.icon)},null,2)):n("",!0),r(e.$slots,"default",{},()=>[l("div",null,i(e.text),1)])]))}});export{u as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as s,a as l,o as a,h as i,j as p,aa as u,l as c,n as _,at as k,x as m}from"./entry.
|
|
1
|
+
import{d as s,a as l,o as a,h as i,j as p,aa as u,l as c,n as _,at as k,x as m}from"./entry.Li7bMdxw.js";const d={key:0,"i-carbon:arrow-up-right":"","translate-y--1":"","text-xs":"",op50:""},g=s({__name:"NLink",props:{to:{},href:{},target:{},underline:{type:Boolean}},setup(o){const t=o,n=l(()=>t.href||t.to);return(e,h)=>{const r=m;return a(),i(r,k(n.value?{href:n.value,target:e.target,rel:e.target==="_blank"?"noopener noreferrer":null}:{},{class:{"n-link n-transition hover:n-link-hover n-link-base":n.value||e.underline}}),{default:p(()=>[u(e.$slots,"default"),n.value&&e.target==="_blank"?(a(),c("div",d)):_("",!0)]),_:3},16,["class"])}}});export{g as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as o}from"./client.
|
|
1
|
+
import{d as o}from"./client.UdRQ7dYn.js";import{d as t,f as e,o as a,h as r,av as s,t as d}from"./entry.Li7bMdxw.js";const i=t({__name:"NMarkdown",props:{markdown:{},tag:{}},setup(m){return(n,l)=>n.markdown&&e(o)?.devtools?.renderMarkdown?(a(),r(s(n.tag||"span"),{key:0,class:"n-markdown",innerHTML:e(o).devtools.renderMarkdown(n.markdown)},null,8,["innerHTML"])):(a(),r(s(n.tag||"span"),{key:1,class:"n-markdown",textContent:d(n.markdown)},null,8,["textContent"]))}});export{i as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as c,l as p,p as d,aa as a,G as s,o,h as i,n as m,X as u}from"./entry.
|
|
1
|
+
import{d as c,l as p,p as d,aa as a,G as s,o,h as i,n as m,X as u}from"./entry.Li7bMdxw.js";const h={flex:"~ gap4","items-center":""},g=c({__name:"NNavbar",props:{search:{},noPadding:{type:Boolean}},emits:["update:search"],setup(f,{emit:n}){const r=n;function t(e){r("update:search",e.target.value)}return(e,v)=>{const l=u;return o(),p("div",{flex:"~ col gap2",border:"b base","flex-1":"","n-navbar-glass":"",class:s([{p4:!e.noPadding}])},[d("div",h,[a(e.$slots,"search",{},()=>[e.search!==void 0?(o(),i(l,{key:0,placeholder:"Search...",icon:"carbon-search",n:"primary","flex-auto":"",class:s({"px-5 py-2":!e.noPadding}),value:e.search,onInput:t},null,8,["class","value"])):m("",!0)]),a(e.$slots,"actions")]),a(e.$slots,"default")],2)}}});export{g as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as g,a0 as y,l as r,p 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,n as d,o as l,v as u,t as v,h as C,y as S,z as I,a6 as N,q as k}from"./entry.
|
|
1
|
+
import{d as g,a0 as y,l as r,p 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,n as d,o as l,v as u,t as v,h as C,y as S,z as I,a6 as N,q as k}from"./entry.Li7bMdxw.js";import{_ as V}from"./NIconTitle.vue.B_Ui7cce.js";const f=t=>(S("data-v-bd17de2b"),t=t(),I(),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=N,_=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=k(j,[["__scopeId","data-v-bd17de2b"]]);export{J as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as p,a0 as m,o,l,aa as n,h as f,n as t,I as b,bS as h,f as v,p as k,t as y,k as V,G as d,a6 as B}from"./entry.
|
|
1
|
+
import{d as p,a0 as m,o,l,aa as n,h as f,n as t,I as b,bS as h,f as v,p as k,t as y,k as V,G as d,a6 as B}from"./entry.Li7bMdxw.js";const S=["disabled"],g={key:0,value:"",disabled:"",hidden:""},C=p({__name:"NSelect",props:{modelValue:{default:void 0},placeholder:{default:""},icon:{default:""},disabled:{type:Boolean,default:!1}},setup(i,{emit:r}){const s=m(i,"modelValue",r,{passive:!0});return(e,a)=>{const c=B;return o(),l("div",{class:d(["n-select flex flex items-center border rounded px-2 py-1 focus-within:n-focus-base focus-within:border-context n-bg-base",e.disabled?"border-gray:10":"n-border-base"])},[n(e.$slots,"icon",{},()=>[e.icon?(o(),f(c,{key:0,icon:e.icon,class:"mr-0.4em text-1.1em op50"},null,8,["icon"])):t("",!0)]),b(k("select",{"onUpdate:modelValue":a[0]||(a[0]=u=>V(s)?s.value=u:null),disabled:e.disabled,class:d(["w-full flex-auto n-bg-base !outline-none",e.disabled?"appearance-none":""])},[e.placeholder?(o(),l("option",g,y(e.placeholder),1)):t("",!0),n(e.$slots,"default")],10,S),[[h,v(s)]])],2)}}});export{C as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as m,a0 as c,o as l,l as t,F as v,m as f,G as d,f as o,p as i,t as _,I as g,aL as y,k as V}from"./entry.
|
|
1
|
+
import{d as m,a0 as c,o as l,l as t,F as v,m as f,G as d,f as o,p as i,t as _,I as g,aL as y,k as V}from"./entry.Li7bMdxw.js";const h={class:"n-select-tabs flex flex-inline flex-wrap items-center border n-border-base rounded n-bg-base"},k=["disabled","title"],x=["disabled","value","title"],D=m({__name:"NSelectTabs",props:{modelValue:{default:void 0},disabled:{type:Boolean,default:!1},options:{}},setup(r,{emit:b}){const a=c(r,"modelValue",b,{passive:!0});return(s,n)=>(l(),t("fieldset",h,[(l(!0),t(v,null,f(s.options,(e,p)=>(l(),t("label",{key:e.label,disabled:s.disabled,class:d(["relative n-border-base hover:n-bg-active px-0.5em py-0.1em",[p?"border-l n-border-base ml--1px":"",e.value===o(a)?"n-bg-active":""]]),title:e.label},[i("div",{class:d([e.value===o(a)?"":"op35"])},_(e.label),3),g(i("input",{"onUpdate:modelValue":n[0]||(n[0]=u=>V(a)?a.value=u:null),type:"radio",disabled:s.disabled,value:e.value,title:e.label,class:"absolute inset-0 op-0.1"},null,8,x),[[y,o(a)]])],10,k))),128))]))}});export{D as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as i,a0 as c,o as r,l as u,I as h,bR as p,f as t,p as l,k as b,ae as m,aa as f}from"./entry.
|
|
1
|
+
import{d as i,a0 as c,o as r,l as u,I as h,bR as p,f as t,p as l,k as b,ae as m,aa as f}from"./entry.Li7bMdxw.js";const v=["checked","disabled"],k=["disabled"],w=l("div",{class:"n-switch-slider n-checked:n-switch-slider-checked peer-active:n-active-base peer-focus-visible:n-focus-base n-transition"},[l("div",{class:"n-checked:n-switch-thumb-checked n-switch-thumb n-transition"})],-1),V=i({__name:"NSwitch",props:{modelValue:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},setup(o,{emit:d}){const e=c(o,"modelValue",d,{passive:!0});return(a,s)=>(r(),u("label",{class:"n-switch n-switch-base hover:n-switch-hover n-disabled:n-disabled",checked:t(e)||null,disabled:a.disabled||null},[h(l("input",{"onUpdate:modelValue":s[0]||(s[0]=n=>b(e)?e.value=n:null),type:"checkbox",class:"peer absolute op0",disabled:a.disabled,onKeypress:s[1]||(s[1]=m(n=>e.value=!t(e),["enter"]))},null,40,k),[[p,t(e)]]),w,f(a.$slots,"default")],8,v))}});export{V as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as p}from"./FilepathItem.vue.
|
|
1
|
+
import{_ as p}from"./FilepathItem.vue.e1n0RyHZ.js";import{d as m,ab as _,l as r,F as s,m as f,o as n,p as o,t as h,h as d,n as k}from"./entry.Li7bMdxw.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 V,a0 as B,ak as _,r as w,bd as O,bk as C,a2 as $,o as i,l as p,p as u,G as c,f as t,t as J,n as l,aa as D,bi as P,bh as R,F as j,I as z,i as F,h as v,at as G,bl as M,k as q,ay as A,_ as E}from"./entry.
|
|
1
|
+
import{d as V,a0 as B,ak as _,r as w,bd as O,bk as C,a2 as $,o as i,l as p,p as u,G as c,f as t,t as J,n as l,aa as D,bi as P,bh as R,F as j,I as z,i as F,h as v,at as G,bl as M,k as q,ay as A,_ as E}from"./entry.Li7bMdxw.js";import{_ as I}from"./DataSchemaButton.vue.kfghTUAM.js";import{q as T}from"./json-editor-vue.qZEps2wJ.js";const U=["open"],Y={flex:"~ gap2","select-none":"","items-center":"",px4:""},W=V({__name:"StateEditor",props:{name:{},open:{type:Boolean},state:{},readonly:{type:Boolean}},emits:["update:open"],setup(b,{emit:g}){const s=b,n=B(s,"open",g,{passive:!0}),k=_(),o=w(),d=O(s.name,"$9Gvv2FGyYa");s.state?o.value=JSON.parse(JSON.stringify(s.state)):(typeof s.state=="number"||typeof s.state!="string")&&(o.value=s.state);const m=C(o,e=>{typeof e!="number"&&typeof e!="string"?f(e,s.state):d.value=e},{deep:!0});function f(e,r){for(const a in e)e[a]===null?r[a]=null:Array.isArray(e[a])?r[a]=e[a].slice():typeof e[a]=="object"?f(e[a],r[a]):r[a]=e[a]}async function h(){m.pause(),o.value=JSON.parse(JSON.stringify(s.state)),await A(),m.resume()}return(e,r)=>{const a=E,S=I,N=$("tooltip");return i(),p("div",{class:"state-editor-details",open:e.name?t(n):!0},[u("div",Y,[e.name?(i(),p("button",{key:0,flex:"~","cursor-pointer":"","items-center":"",class:c(t(n)?"":"op50"),onClick:r[0]||(r[0]=y=>n.value=!t(n))},[u("div",{"i-carbon-chevron-right":"",transition:"",class:c(t(n)?"rotate-90 op0":"")},null,2),u("code",{px3:"",py1:"","font-mono":"",class:c(t(n)?"bg-[#8881] rounded-t":"rounded hover:bg-active")},J(e.name),3)],2)):l("",!0),D(e.$slots,"actions",P(R({isOpen:t(n),name:e.name,state:t(d)}))),t(n)?(i(),p(j,{key:1},[z(F(a,{title:"Refresh View",icon:"carbon-renew",border:!1,onClick:h},null,512),[[N,"Refresh View",void 0,{bottom:!0}]]),t(o)?(i(),v(S,{key:0,getter:()=>({name:e.name,input:JSON.stringify(t(o))})},null,8,["getter"])):l("",!0)],64)):l("",!0)]),t(n)||!e.name?(i(),v(t(T),G({key:0,modelValue:t(o),"onUpdate:modelValue":r[1]||(r[1]=y=>q(o)?o.value=y:null)},e.$attrs,{class:["json-editor-vue",[t(k).value==="dark"?"jse-theme-dark":"",(e.name,"")]],"main-menu-bar":!1,"navigation-bar":!1,"status-bar":!1,"read-only":"readonly"in e?e.readonly:t(M),indentation:2,"tab-size":2}),null,16,["modelValue","class","read-only"])):l("",!0)],8,U)}}});export{W as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as e,l as n,o}from"./entry.
|
|
1
|
+
import{d as e,l as n,o}from"./entry.Li7bMdxw.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};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as P,a as I,r as V,o,l as s,p as e,F as _,m as j,G as S,f as t,t as p,n 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,k as R,X as ae,Y as re,Z as ue,A as de}from"./entry.
|
|
1
|
+
import{d as P,a as I,r as V,o,l as s,p as e,F as _,m as j,G as S,f as t,t as p,n 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,k as R,X as ae,Y as re,Z as ue,A as de}from"./entry.Li7bMdxw.js";import{_ as ce}from"./FilepathItem.vue.e1n0RyHZ.js";import{_ as me}from"./NCodeBlock.vue.D7jhLEjr.js";import{_ as _e}from"./NCheckbox.vue.m1__cenQ.js";import{_ as pe}from"./HelpFab.vue.9P-8iMDH.js";import"./client.UdRQ7dYn.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,4 +1,4 @@
|
|
|
1
|
-
import{d as q,a0 as te,r as j,a1 as J,a2 as ne,l as r,I as X,i as d,f as t,p as e,v as F,F as M,m as Z,h as N,j as x,n as E,G as Q,a3 as pe,a4 as me,V as fe,L as W,M as H,a5 as O,_ as oe,o as s,a6 as le,X as ae,a as S,a7 as ve,a8 as he,a9 as ie,t as P,aa as _e,k as R,b as se,ab as ge,e as xe,ac as be,ad as we,ae as ye,af as $e,Z as ke,ag as Ce,ah as Ve,ai as Pe,aj as Ae}from"./entry.
|
|
1
|
+
import{d as q,a0 as te,r as j,a1 as J,a2 as ne,l as r,I as X,i as d,f as t,p as e,v as F,F as M,m as Z,h as N,j as x,n as E,G as Q,a3 as pe,a4 as me,V as fe,L as W,M as H,a5 as O,_ as oe,o as s,a6 as le,X as ae,a as S,a7 as ve,a8 as he,a9 as ie,t as P,aa as _e,k as R,b as se,ab as ge,e as xe,ac as be,ad as we,ae as ye,af as $e,Z as ke,ag as Ce,ah as Ve,ai as Pe,aj as Ae}from"./entry.Li7bMdxw.js";import{_ as De}from"./NCheckbox.vue.m1__cenQ.js";import{_ as Fe}from"./NDropdown.vue.sigVLPdp.js";import{_ as Ne}from"./NNavbar.vue.VnwEajb6.js";import{_ as Se}from"./NSectionBlock.vAf-kGVD.js";import{_ as Ie}from"./FilepathItem.vue.e1n0RyHZ.js";import{_ as Te,u as Ue}from"./storage-options.-PhoDnIp.js";import{_ as je}from"./NDrawer.vue.biTr62KW.js";import{D as Ee}from"./constants.jFgWOlQV.js";import"./NIconTitle.vue.B_Ui7cce.js";import"./NCodeBlock.vue.D7jhLEjr.js";import"./client.UdRQ7dYn.js";const Le={key:0,"h-full":"","w-full":"",flex:"","items-center":"","justify-center":""},Be={for:"drop-zone-input","text-3xl":"",hover:"text-green cursor-pointer","transition-all":""},Me={key:1,relative:"","h-full":"","w-full":"",grid:"~ rows-[max-content_1fr_max-content]"},ze=e("div",{px6:"",py6:""},[e("h1",{"text-2xl":""}," Upload "),e("p",{"text-sm":"",op50:""}," Drag and drop files to upload ")],-1),Oe={grid:"~ cols-minmax-8rem gap-8","overflow-auto":"",p6:""},Re={flex:"","items-center":"","justify-center":"","of-hidden":"",rounded:"","rounded-t-lg":"","bg-active":"","object-cover":"",class:"aspect-1/1",border:"~ base"},Ke=["src"],Xe={flex:"~ gap1","items-center":""},Ge={flex:"~ gap-2","items-center":"","justify-center":"",p8:""},Ze=q({__name:"AssetDropZone",props:{modelValue:{type:Boolean,required:!0},folder:{type:String,required:!0}},setup(L){const l=L,m=te(l,"modelValue"),C=j(),o=j([]);function f(a){C.value=a.target,m.value=!0}function b(a){a.target===C.value&&(m.value=!1)}function I(a){a.preventDefault()}function A(a){a.preventDefault(),v(a.dataTransfer.files)}function v(a){const _=Array.from(a||[]);if(_.length){const g=[],w=o.value.map(i=>i.name);for(const i of _)if(w.includes(i.name)){let V=1;const[y,T]=i.name.split(".");for(;w.includes(`${y} (${V}).${T}`);)V++;const K=`${y}-${V}.${T}`,c=new Blob([i],{type:i.type}),n=new File([c],K,{lastModified:Date.now()});g.push(n),w.push(K)}else i.type===""&&O({message:"Folders are not supported yet",icon:"carbon:face-dissatisfied",classes:"text-orange"}),g.push(i);o.value=[...o.value,...g]}}async function B(){if(pe.value||me.value)return;fe("assets:upload");const a=[];for(const _ of o.value){const g=new FileReader;g.readAsDataURL(_);const i=(await new Promise(V=>{g.onload=()=>V(g.result)})).split(";base64,").pop();a.push({path:_.name,encoding:"base64",content:i})}await W.writeStaticAssets(await H(),[...a],l.folder).then(()=>{p(),O({message:"Files uploaded successfully!",icon:"i-carbon:checkmark"})}).catch(_=>{p(),O({message:`Error uploading files: ${_?.message??"unknown"}`,icon:"i-carbon-warning",classes:"text-red"})}),m.value=!1}function G(a){o.value?.splice(a,1)}function z(a){return URL.createObjectURL(a)}function h(a,_){const[g,w]=a.name.split("."),i=_.replace(/\.\w+$/,""),V=`${i}.${w}`;return i.length===0?(alert("File name must be at least 1 characters long"),g):(Object.defineProperty(a,"name",{value:V,writable:!1}),o.value.splice(o.value.indexOf(a),1,a),a)}function u(){o.value=[]}function p(){m.value=!1,u()}return J("dragenter",f),J("dragleave",b),J("dragover",I),J("drop",A),(a,_)=>{const g=oe,w=le,i=ae,V=ne("tooltip");return s(),r("div",{fixed:"","bottom-0":"","left-13":"","right-0":"","top-0":"","z-10":"","backdrop-blur-20":"","transition-all":"",class:Q(t(m)?"opacity-100 visible":"opacity-0 invisible")},[X(d(g,{icon:"carbon-close",title:"Close",absolute:"","right-5":"","top-5":"","z-20":"","text-xl":"",border:!1,onClick:p},null,512),[[V,"Close",void 0,{"bottom-end":!0}]]),t(o)?.length?(s(),r("div",Me,[ze,e("div",Oe,[(s(!0),r(M,null,Z(t(o),(y,T)=>(s(),r("div",{key:y.name,flex:"~ col gap-2",relative:"","h-50":"","w-40":"","items-center":""},[e("div",Re,[e("img",{"h-full":"","w-full":"","rounded-t-lg":"","object-cover":"",src:z(y)},null,8,Ke)]),e("div",Xe,[d(i,{n:"xs","h-full":"","flex-auto":"","model-value":y.name,"onUpdate:modelValue":K=>h(y,K.target.value)},null,8,["model-value","onUpdate:modelValue"]),d(g,{n:"red",icon:"carbon-trash-can","h-full":"","flex-none":"",title:"Remove file",onClick:K=>G(T)},null,8,["onClick"])])]))),128))]),e("div",Ge,[t(o).length?(s(),N(g,{key:0,n:"red",onClick:u},{default:x(()=>[d(w,{icon:"carbon-clean"}),F(" Clear ")]),_:1})):E("",!0),d(g,{disabled:!t(o).length,n:"primary solid",onClick:B},{default:x(()=>[d(w,{icon:"carbon-cloud-upload"}),F(" Upload ")]),_:1},8,["disabled"])])])):(s(),r("div",Le,[e("label",Be,[d(w,{icon:"carbon-cloud-upload","mr-2":""}),F(" Drop files here or click to select ")]),e("input",{id:"drop-zone-input",type:"file",multiple:"",hidden:"",onChange:_[0]||(_[0]=y=>v(y.target.files))},null,32)]))],2)}}}),qe=q({__name:"AssetFontPreview",props:{asset:{}},setup(L){const l=L,m=S(()=>`devtools-assets-${ve(l.asset)}`);return he(S(()=>`
|
|
2
2
|
@font-face {
|
|
3
3
|
font-family: '${m.value}';
|
|
4
4
|
src: url('${l.asset.publicPath}');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"
|
|
1
|
+
{"id":"6a0559dc-da71-46a5-8a3c-8d631ecd5320","timestamp":1704990567014}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"id":"6a0559dc-da71-46a5-8a3c-8d631ecd5320","timestamp":1704990567014,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{by as f,bO as r}from"./entry.
|
|
1
|
+
import{by as f,bO as r}from"./entry.Li7bMdxw.js";let o;const n=[];function s(i){if(n.push(i),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&n.forEach(e=>e(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(e){e&&n.forEach(t=>t(e))},get(){return o.value},configurable:!0}),()=>{n.splice(n.indexOf(i),1)}}function u(){o||(o=f(),s(e));function i(){r(o)}function e(t){o.value=t,t.host&&t.host.hooks.hook("host:update:reactivity",i)}return o}const c=u();export{c as d};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{o as ee,l as Ee,p as Q,d as Yi,a as rr,v as Qh,t as al,f as q,e as mT,i as we,h as st,n as lt,F as dr,m as wn,aa as Al,_ as ff,r as bi,ak as bT,al as $T,ab as wT,am as _T,an as ET,w as ST,j as ze,B as l1,ao as OT,k as _n,ap as TT,G as PT,aq as IT,ah as kT,ar as CT,as as xT,at as ts,a6 as AT,au as RT,a2 as DT,av as MT,I as Gv}from"./entry.
|
|
1
|
+
import{o as ee,l as Ee,p as Q,d as Yi,a as rr,v as Qh,t as al,f as q,e as mT,i as we,h as st,n as lt,F as dr,m as wn,aa as Al,_ as ff,r as bi,ak as bT,al as $T,ab as wT,am as _T,an as ET,w as ST,j as ze,B as l1,ao as OT,k as _n,ap as TT,G as PT,aq as IT,ah as kT,ar as CT,as as xT,at as ts,a6 as AT,au as RT,a2 as DT,av as MT,I as Gv}from"./entry.Li7bMdxw.js";import{_ as NT}from"./HelpFab.vue.9P-8iMDH.js";import{u as FT,a as BT}from"./state-components.PdQ1tKRe.js";import{_ as LT}from"./NCheckbox.vue.m1__cenQ.js";import{_ as u1}from"./NNavbar.vue.VnwEajb6.js";import{_ as d1}from"./NBadge.02P0N0hm.js";import{_ as h1}from"./FilepathItem.vue.e1n0RyHZ.js";import{_ as jT}from"./NDrawer.vue.biTr62KW.js";import{_ as zT}from"./NSelectTabs.vue.AydEyuDp.js";import{_ as HT}from"./NSectionBlock.vAf-kGVD.js";import{_ as WT}from"./NIconTitle.vue.B_Ui7cce.js";import{D as Nu}from"./constants.jFgWOlQV.js";const VT={class:"markdown-body"},UT=Q("h1",null,"Components",-1),GT=Q("p",null,"Vue Components allow us to split the UI into independent and reusable pieces, and think about each piece in isolation. This is very similar to how we nest native HTML elements, but Vue implements its own component model that allow us to encapsulate custom content and logic in each component.",-1),KT=Q("p",null,"Components placed in the components/ directory are automatically registered by Nuxt. They can be used in your templates without importing them.",-1),qT=Q("p",null,[Q("a",{href:"https://nuxt.com/docs/guide/directory-structure/components",target:"_blank",rel:"noopener"},"Learn more in the documentation")],-1),YT=[UT,GT,KT,qT],XT={__name:"components",setup(r,{expose:i}){return i({frontmatter:{}}),(t,n)=>(ee(),Ee("div",VT,YT))}},QT=/\d/,JT=["-","_","/","."];function ZT(r=""){if(!QT.test(r))return r!==r.toLowerCase()}function eP(r,i){const e=i??JT,t=[];if(!r||typeof r!="string")return t;let n="",a,o;for(const s of r){const l=e.includes(s);if(l===!0){t.push(n),n="",a=void 0;continue}const u=ZT(s);if(o===!1){if(a===!1&&u===!0){t.push(n),n=s,a=u;continue}if(a===!0&&u===!1&&n.length>1){const d=n.at(-1);t.push(n.slice(0,Math.max(0,n.length-1))),n=d+s,a=u;continue}}n+=s,a=u,o=l}return t.push(n),t}function tP(r){return r?r[0].toUpperCase()+r.slice(1):""}function c1(r,i){return r?(Array.isArray(r)?r:eP(r)).map(e=>tP(i?.normalize?e.toLowerCase():e)).join(""):""}const rP={"text-sm":"","font-mono":""},nP=Q("span",{mr1:"",op20:""},"<",-1),iP=Q("span",{ml1:"",op20:""},"/>",-1),f1=Yi({__name:"ComponentName",props:{component:{}},setup(r){const i=r,e=rr(()=>i.component.pascalName||c1(i.component.name||i.component.__name||i.component.kebabName||""));return(t,n)=>(ee(),Ee("code",rP,[nP,Qh(al(q(e)),1),iP]))}}),aP={flex:"~ col gap1","items-start":"","of-hidden":""},oP={flex:"~ gap2",px3:""},sP={px3:"",pb2:""},lP={key:0,border:"t base","max-h-60":"","w-full":"","of-auto":"",px3:"",py3:""},uP={"text-sm":""},dP={"text-primary":""},hP=Q("span",{op50:""}," references",-1),cP={key:0,flex:"~ col gap-2","items-start":"",pt3:"","text-sm":"",op75:""},fP={key:1,border:"t base","max-h-60":"","w-full":"","of-auto":"",px3:"",py3:""},vP={"text-sm":""},pP={"text-primary":""},gP=Q("span",{op50:""}," dependencies",-1),yP={key:0,flex:"~ col gap-2","items-start":"",pt3:"","text-sm":"",op75:""},v1=Yi({__name:"ComponentDetails",props:{component:{},dependencies:{},dependents:{}},setup(r){const i=r,e=rr(()=>i.component.pascalName||c1(i.component.name||i.component.__name||i.component.kebabName||"")),t=rr(()=>i.component.filePath||i.component.file||i.component.__file||""),n=mT();return(a,o)=>{const s=f1,l=ff,u=d1,d=h1;return ee(),Ee("div",aP,[Q("div",oP,[we(s,{component:a.component},null,8,["component"]),we(l,{title:"Copy name","flex-none":"",icon:"carbon-copy",border:!1,onClick:o[0]||(o[0]=h=>q(n)(`<${q(e)}></${q(e)}>`,"component-name"))}),a.component.global?(ee(),st(u,{key:0,n:"green",title:"Registered at runtime as a global component",textContent:"runtime"})):lt("",!0)]),Q("div",sP,[q(t)?(ee(),st(d,{key:0,filepath:q(t),"w-full":"","text-sm":"",op40:"","group-hover:op75":""},null,8,["filepath"])):lt("",!0)]),a.dependents?(ee(),Ee("div",lP,[Q("div",uP,[Q("strong",dP,al(a.dependents.length),1),hP]),a.dependents.length?(ee(),Ee("div",cP,[(ee(!0),Ee(dr,null,wn(a.dependents,h=>(ee(),st(d,{key:h,filepath:h},null,8,["filepath"]))),128))])):lt("",!0)])):lt("",!0),a.dependencies?(ee(),Ee("div",fP,[Q("div",vP,[Q("strong",pP,al(a.dependencies.length),1),gP]),a.dependencies.length?(ee(),Ee("div",yP,[(ee(!0),Ee(dr,null,wn(a.dependencies,h=>(ee(),st(d,{key:h,filepath:h},null,8,["filepath"]))),128))])):lt("",!0)])):lt("",!0),Al(a.$slots,"default")])}}});/**
|
|
2
2
|
* vis-data
|
|
3
3
|
* http://visjs.org/
|
|
4
4
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as $,ak as q,r as A,a as g,aw as B,ax as D,an as j,ay as E,az as y,aA as M,aB as L,l as N,o as s,aC as P,P as V,aD as I,aE as C,aF as W,f as a,h as l,j as b,av as O,A as R,p as u,v as w,t as T,L as S,i as F,ao as U,aG as G}from"./entry.
|
|
1
|
+
import{d as $,ak as q,r as A,a as g,aw as B,ax as D,an as j,ay as E,az as y,aA as M,aB as L,l as N,o as s,aC as P,P as V,aD as I,aE as C,aF as W,f as a,h as l,j as b,av as O,A as R,p as u,v as w,t as T,L as S,i as F,ao as U,aG as G}from"./entry.Li7bMdxw.js";import{_ as z}from"./LaunchPage.vue.Mrnd5FUf.js";import"./NMarkdown.vue.Ej8wmZFm.js";import"./client.UdRQ7dYn.js";const x=new Map,X=$({__name:"IframeView",props:{tab:{}},setup(f){const m=f,r=q(),v=A(),i=g(()=>m.tab.name),e=A(),t=B(D(v));j(()=>{const n=m.tab.view,c=n.persistent!==!1,h=["clipboard-write","clipboard-read"];if(x.get(i.value)&&c)e.value=x.get(i.value),e.value.style.visibility="visible";else{e.value=document.createElement("iframe"),e.value.setAttribute("allow",h.join("; ")),c&&x.set(i.value,e.value),e.value.src=n.src;try{e.value.style.opacity="0.01",e.value.onload=()=>{d(),o(),e.value.style.opacity="1"}}catch{e.value.style.opacity="1"}document.body.appendChild(e.value),E(_)}setTimeout(o,100)}),y(_),y(o),y(d),M(()=>{e.value&&(e.value.style.visibility="hidden")});function o(){if(!(!e.value||!e.value.contentWindow))try{const n=e.value.contentWindow.document.querySelector("html");n?.classList.toggle("dark",r.value==="dark"),n?.classList.toggle("light",r.value==="dark"),new MutationObserver(()=>{r.value=e.value?.contentWindow?.document.querySelector("html")?.classList.contains("dark")?"dark":"light"}).observe(n,{attributes:!0,attributeFilter:["class"]})}catch{}}const p=L();function d(){if(!(!e.value||!e.value.contentWindow))try{e.value.contentWindow.__NUXT_DEVTOOLS__=p.value}catch{}}function _(){e.value&&Object.assign(e.value.style,{position:"fixed",left:`${t.left}px`,top:`${t.top}px`,width:`${t.width}px`,height:`${t.height}px`,outline:"none"})}return(n,c)=>(s(),N("div",{ref_key:"anchor",ref:v,"h-full":"","w-full":""},null,512))}}),H={flex:"~ col gap2",mxa:"","items-center":""},J=u("div",{"i-carbon-queued":"",mb2:"","text-5xl":"",op50:""},null,-1),K={"text-xl":""},Q={"text-rose":""},Y=u("p",{op50:""}," It might because the module contributing this tab is not installed or enabled ",-1),Z=u("p",{mt8:"","animate-pulse":""}," Redirecting to overview page... ",-1),oe=$({__name:"custom-[name]",props:{name:{}},setup(f){const m=f,r=P(),v=V(),i=g(()=>m.name??r.params.name),e=I(),t=g(()=>e.value.find(o=>o.name===i.value));return j(()=>{t.value?t.value.requireAuth&&!C.value&&W():setTimeout(()=>{t.value||v.push("/modules/overview")},2e3)}),(o,p)=>{const d=R,_=G,n=X,c=z,h=U;return a(t)?a(t).requireAuth&&!("isDevAuthed"in o?o.isDevAuthed:a(C))?(s(),l(_,{key:1})):a(t).view.type==="iframe"?(s(),l(n,{key:2,tab:a(t)},null,8,["tab"])):a(t).view.type==="vnode"?(s(),l(O(a(t).view.vnode),{key:3})):a(t).view.type==="launch"?(s(),l(c,{key:4,name:`custom-${a(t).name}`,icon:a(t).view.icon||a(t).icon,title:a(t).view.title||a(t).title,description:a(t).view.description,actions:a(t).view.actions,onAction:p[0]||(p[0]=k=>("rpc"in o?o.rpc:a(S)).customTabAction(a(t).name,k))},null,8,["name","icon","title","description","actions"])):(s(),l(d,{key:5},{default:b(()=>[F(h,{flex:"~ col","h-full":"","items-center":"","justify-center":""},{default:b(()=>[w(" Unknown tab type "+T(a(t).view),1)]),_:1})]),_:1})):(s(),l(d,{key:0},{default:b(()=>[u("div",H,[J,u("p",K,[w(" Tab "),u("code",Q,T(a(i)),1),w(" not found ")]),Y,Z])]),_:1}))}}});export{oe as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{q as o,l as s,p as t,aa as a,o as n}from"./entry.
|
|
1
|
+
import{q as o,l as s,p as t,aa as a,o as n}from"./entry.Li7bMdxw.js";const r={},c={"h-full":"","of-auto":"","n-panel-grids":""},l={"h-full":"","bg-base":""};function d(e,_){return n(),s("div",c,[t("div",l,[a(e.$slots,"default")])])}const i=o(r,[["render",d]]);export{i as default};
|