@nuxt/devtools 0.8.2 → 0.8.3
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/analyze-build.mjs +38 -6
- package/dist/chunks/module-main.mjs +1 -1
- package/dist/client/200.html +31 -31
- package/dist/client/404.html +31 -31
- package/dist/client/__blank/index.html +31 -31
- package/dist/client/_nuxt/{Badge.3c6fa035.js → Badge.efa8b534.js} +1 -1
- package/dist/client/_nuxt/{CodeDiff.vue.7a519a6d.js → CodeDiff.vue.52d6bbaa.js} +1 -1
- package/dist/client/_nuxt/{ComposableItem.vue.ffcca591.js → ComposableItem.vue.1525d3d2.js} +1 -1
- package/dist/client/_nuxt/{DataSchemaButton.vue.9ced8093.js → DataSchemaButton.vue.dabda5da.js} +1 -1
- package/dist/client/_nuxt/{DataSchemaDrawer.6edfca87.js → DataSchemaDrawer.345f79f6.js} +2 -2
- package/dist/client/_nuxt/{DrawerRight.vue.8980fc15.js → DrawerRight.vue.e75b5510.js} +1 -1
- package/dist/client/_nuxt/{DurationDisplay.vue.dca5d690.js → DurationDisplay.vue.73c682ac.js} +1 -1
- package/dist/client/_nuxt/{FilepathItem.vue.222c7a36.js → FilepathItem.vue.253590ec.js} +1 -1
- package/dist/client/_nuxt/{HelpFab.vue.6da14cd2.js → HelpFab.vue.b3c1cf3a.js} +1 -1
- package/dist/client/_nuxt/{LaunchPage.vue.ded97a46.js → LaunchPage.vue.45c2e269.js} +1 -1
- package/dist/client/_nuxt/{NCheckbox.vue.d47be8e5.js → NCheckbox.vue.e6a37232.js} +1 -1
- package/dist/client/_nuxt/{NCodeBlock.vue.cd0d52ca.js → NCodeBlock.vue.28dd841e.js} +1 -1
- package/dist/client/_nuxt/{NDropdown.vue.3bf5669f.js → NDropdown.vue.36b68b91.js} +1 -1
- package/dist/client/_nuxt/{NIconTitle.vue.590f73cc.js → NIconTitle.vue.635c5682.js} +1 -1
- package/dist/client/_nuxt/{NLink.vue.2bd59538.js → NLink.vue.19da93af.js} +1 -1
- package/dist/client/_nuxt/{NMarkdown.vue.0929ffc5.js → NMarkdown.vue.283d6615.js} +1 -1
- package/dist/client/_nuxt/{NSectionBlock.2eb550f4.js → NSectionBlock.e780f891.js} +1 -1
- package/dist/client/_nuxt/{NSelect.vue.120a17c7.js → NSelect.vue.60befa30.js} +1 -1
- package/dist/client/_nuxt/{NSelectTabs.vue.15ded4ea.js → NSelectTabs.vue.1cae281d.js} +1 -1
- package/dist/client/_nuxt/{NSwitch.vue.00f0a211.js → NSwitch.vue.eb1bdf97.js} +1 -1
- package/dist/client/_nuxt/{NTip.vue.b82daf5f.js → NTip.vue.eef318b6.js} +1 -1
- package/dist/client/_nuxt/{Navbar.vue.454bbdad.js → Navbar.vue.d85c454f.js} +1 -1
- package/dist/client/_nuxt/{StateEditor.vue.fb44992d.js → StateEditor.vue.83907c9e.js} +1 -1
- package/dist/client/_nuxt/{__blank.ed5e6688.js → __blank.fd22bfe8.js} +1 -1
- package/dist/client/_nuxt/{analyze-build.a348d54f.js → analyze-build.3961243f.js} +1 -1
- package/dist/client/_nuxt/{assets.9cc20f0c.js → assets.22c374b3.js} +1 -1
- package/dist/client/_nuxt/{client.ecec2ff5.js → client.766a1bb7.js} +1 -1
- package/dist/client/_nuxt/{components.eb546fab.js → components.f4ae9003.js} +1 -1
- package/dist/client/_nuxt/{css.5abce139.js → css.a67813b3.js} +12 -8
- package/dist/client/_nuxt/{custom-_name_.405b1822.js → custom-_name_.4e0a3203.js} +1 -1
- package/dist/client/_nuxt/{default.d9ec755b.js → default.7b425b73.js} +1 -1
- package/dist/client/_nuxt/entry.13b4d578.css +1 -0
- package/dist/client/_nuxt/entry.2f74e286.js +27 -0
- package/dist/client/_nuxt/{error-404.27f7c5ed.js → error-404.9d0e04bf.js} +1 -1
- package/dist/client/_nuxt/{error-500.6459d9b0.js → error-500.10115977.js} +1 -1
- package/dist/client/_nuxt/{full.ff28afbd.js → full.4288bf38.js} +1 -1
- package/dist/client/_nuxt/{hooks.a92c198c.js → hooks.1d6c1af1.js} +1 -1
- package/dist/client/_nuxt/{html.66e44e78.js → html.af01869e.js} +1 -1
- package/dist/client/_nuxt/{imports.af43913a.js → imports.39a7562f.js} +1 -1
- package/dist/client/_nuxt/{index.475555a9.js → index.14b447a4.js} +1 -1
- package/dist/client/_nuxt/{index.9d25c8b5.js → index.94061115.js} +1 -1
- package/dist/client/_nuxt/{javascript.ddb4c460.js → javascript.b7d6d348.js} +7 -7
- package/dist/client/_nuxt/{json-editor-vue.28570b6b.js → json-editor-vue.87488a70.js} +53 -53
- package/dist/client/_nuxt/{middleware.17de3e64.js → middleware.66f1417a.js} +1 -1
- package/dist/client/_nuxt/{modules.d2b55e3a.js → modules.3b512e2b.js} +1 -1
- package/dist/client/_nuxt/{none.60868d86.js → none.d43da723.js} +1 -1
- package/dist/client/_nuxt/{open-graph.b86b82fa.js → open-graph.c7507223.js} +1 -1
- package/dist/client/_nuxt/{overview.5b1b22e6.js → overview.dae47b2d.js} +1 -1
- package/dist/client/_nuxt/{pages.7ce7ead1.js → pages.0902f86b.js} +1 -1
- package/dist/client/_nuxt/{payload.95a96cbc.js → payload.7de203b9.js} +1 -1
- package/dist/client/_nuxt/{plugins.19d4d843.js → plugins.30d46375.js} +1 -1
- package/dist/client/_nuxt/{runtime-configs.ccb12a0d.js → runtime-configs.a32dc753.js} +1 -1
- package/dist/client/_nuxt/{server-routes.7cc44fc0.js → server-routes.7e333622.js} +1 -1
- package/dist/client/_nuxt/{settings.105e88e7.js → settings.5586d729.js} +1 -1
- package/dist/client/_nuxt/shellscript.9d056341.js +4 -0
- package/dist/client/_nuxt/{state-components.f27756f9.js → state-components.7549d0ff.js} +1 -1
- package/dist/client/_nuxt/{state-modules.4d65021c.js → state-modules.a4af1949.js} +1 -1
- package/dist/client/_nuxt/{storage-options.f78173e7.js → storage-options.0b849b9a.js} +1 -1
- package/dist/client/_nuxt/{storage.38ee52e0.js → storage.6d27a7d0.js} +1 -1
- package/dist/client/_nuxt/{terminals.6138e467.js → terminals.2f1b22dc.js} +1 -1
- package/dist/client/_nuxt/{timeline.aeb379fb.js → timeline.849dbd44.js} +1 -1
- package/dist/client/_nuxt/{typescript.3ef79501.js → typescript.24e7badf.js} +7 -7
- package/dist/client/_nuxt/unocss-runtime.e58f9c20.js +2 -0
- package/dist/client/_nuxt/{virtual-files.c0236487.js → virtual-files.d393fac8.js} +1 -1
- package/dist/client/_nuxt/{vue-html.b80b464f.js → vue-html.0806679f.js} +1 -1
- package/dist/client/_nuxt/{vue.5b4e1de3.js → vue.24311fdc.js} +18 -18
- package/dist/client/index.html +31 -31
- package/dist/client/modules/analyze-build/index.html +31 -31
- package/dist/client/modules/assets/index.html +31 -31
- package/dist/client/modules/components/index.html +31 -31
- package/dist/client/modules/hooks/index.html +31 -31
- package/dist/client/modules/imports/index.html +31 -31
- package/dist/client/modules/middleware/index.html +31 -31
- package/dist/client/modules/modules/index.html +31 -31
- package/dist/client/modules/open-graph/index.html +31 -31
- package/dist/client/modules/overview/index.html +31 -31
- package/dist/client/modules/pages/index.html +31 -31
- package/dist/client/modules/payload/index.html +31 -31
- package/dist/client/modules/plugins/index.html +31 -31
- package/dist/client/modules/runtime-configs/index.html +31 -31
- package/dist/client/modules/server-routes/index.html +31 -31
- package/dist/client/modules/storage/index.html +31 -31
- package/dist/client/modules/terminals/index.html +31 -31
- package/dist/client/modules/timeline/index.html +31 -31
- package/dist/client/modules/virtual-files/index.html +31 -31
- package/dist/client/settings/index.html +31 -31
- package/dist/dirs.d.mts +7 -0
- package/dist/module.d.mts +9 -0
- package/dist/module.d.ts +1 -1
- package/dist/module.json +1 -1
- package/dist/runtime/plugins/view/client.mjs +1 -1
- package/dist/shared/devtools.2a48a9e5.d.ts +62 -0
- package/dist/types.d.mts +42 -0
- package/dist/types.d.ts +2 -2
- package/package.json +27 -28
- package/dist/client/_nuxt/entry.102d44fe.js +0 -27
- package/dist/client/_nuxt/entry.a2a7b315.css +0 -1
- package/dist/client/_nuxt/shellscript.3d8bff4d.js +0 -4
- package/dist/client/_nuxt/unocss-runtime.50cd6f0c.js +0 -2
- /package/dist/{global-2a48a9e5.d.ts → shared/devtools.2a48a9e5.d.mts} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as i,a4 as c,o as r,m as u,H as h,bC as p,f as l,k as t,l as b,aa as f,a5 as v}from"./entry.
|
|
1
|
+
import{d as i,a4 as c,o as r,m as u,H as h,bC as p,f as l,k as t,l as b,aa as f,a5 as v}from"./entry.2f74e286.js";const k=["checked","disabled"],m=["disabled"],w=t("div",{class:"n-switch-slider n-checked:n-switch-slider-checked peer-active:n-active-base peer-focus-visible:n-focus-base n-transition"},[t("div",{class:"n-checked:n-switch-thumb-checked n-switch-thumb n-transition"})],-1),B=i({__name:"NSwitch",props:{modelValue:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},setup(d,{emit:o}){const e=c(d,"modelValue",o,{passive:!0});return(a,s)=>(r(),u("label",{class:"n-switch n-switch-base hover:n-switch-hover n-disabled:n-disabled",checked:l(e)||null,disabled:a.disabled||null},[h(t("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]=f(n=>e.value=!l(e),["enter"]))},null,40,m),[[p,l(e)]]),w,v(a.$slots,"default")],8,k))}});export{B as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as a,o,m as c,a5 as n,h as t,p as i,k as r,a0 as p}from"./entry.
|
|
1
|
+
import{d as a,o,m as c,a5 as n,h as t,p as i,k as r,a0 as p}from"./entry.2f74e286.js";const l={class:"n-tip n-tip-base"},u=a({__name:"NTip",props:{icon:{}},setup(m){return(e,_)=>{const s=p;return o(),c("div",l,[n(e.$slots,"icon",{},()=>[e.icon?(o(),t(s,{key:0,icon:e.icon,class:"n-tip-icon"},null,8,["icon"])):i("",!0)]),r("div",null,[n(e.$slots,"default")])])}}});export{u as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as r,m as c,k as d,a5 as s,E as n,o as i,i as p,U as u}from"./entry.
|
|
1
|
+
import{d as r,m as c,k as d,a5 as s,E as n,o as i,i as p,U as u}from"./entry.2f74e286.js";const f={flex:"~ gap4","items-center":""},g=r({__name:"Navbar",props:{search:{type:String,default:void 0},noPadding:{type:Boolean,default:!1}},emits:["update:search"],setup(a,{emit:t}){function o(e){t("update:search",e.target.value)}return(e,m)=>{const l=u;return i(),c("div",{flex:"~ col gap2",border:"b base","flex-1":"","navbar-glass":"",class:n([{p4:!a.noPadding}])},[d("div",f,[s(e.$slots,"search",{},()=>[p(l,{placeholder:"Search...",icon:"carbon-search",n:"primary","flex-auto":"",class:n({"px-5 py-2":!a.noPadding}),value:a.search,onInput:o},null,8,["class","value"])]),s(e.$slots,"actions")]),s(e.$slots,"default")],2)}}});export{g as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as V,a4 as B,af as _,r as w,b5 as O,b9 as C,a9 as $,o as i,m as p,k as u,E as c,f as a,t as J,p as l,a5 as R,aQ as D,aR as P,F as j,H as z,i as E,h as v,ap as F,ba as M,l as U,au as A,_ as G}from"./entry.
|
|
1
|
+
import{d as V,a4 as B,af as _,r as w,b5 as O,b9 as C,a9 as $,o as i,m as p,k as u,E as c,f as a,t as J,p as l,a5 as R,aQ as D,aR as P,F as j,H as z,i as E,h as v,ap as F,ba as M,l as U,au as A,_ as G}from"./entry.2f74e286.js";import{_ as H}from"./DataSchemaButton.vue.dabda5da.js";import{U as I}from"./json-editor-vue.87488a70.js";const Q=["open"],T={flex:"~ gap2","select-none":"","items-center":"",px4:""},L=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 t in e)e[t]===null?r[t]=null:Array.isArray(e[t])?r[t]=e[t].slice():typeof e[t]=="object"?f(e[t],r[t]):r[t]=e[t]}async function h(){m.pause(),o.value=JSON.parse(JSON.stringify(s.state)),await A(),m.resume()}return(e,r)=>{const t=G,S=H,N=$("tooltip");return i(),p("div",{class:"state-editor-details",open:e.name?a(n):!0},[u("div",T,[e.name?(i(),p("button",{key:0,flex:"~","cursor-pointer":"","items-center":"",class:c(a(n)?"":"op50"),onClick:r[0]||(r[0]=y=>n.value=!a(n))},[u("div",{"i-carbon-chevron-right":"",transition:"",class:c(a(n)?"rotate-90 op0":"")},null,2),u("code",{px3:"",py1:"","font-mono":"",class:c(a(n)?"bg-[#8881] rounded-t":"rounded hover:bg-active")},J(e.name),3)],2)):l("",!0),R(e.$slots,"actions",D(P({isOpen:a(n),name:e.name,state:a(d)}))),a(n)?(i(),p(j,{key:1},[z(E(t,{title:"Refresh View",icon:"carbon-renew",onClick:h},null,512),[[N,"Refresh View",void 0,{bottom:!0}]]),a(o)?(i(),v(S,{key:0,getter:()=>({name:e.name,input:JSON.stringify(a(o))})},null,8,["getter"])):l("",!0)],64)):l("",!0)]),a(n)||!e.name?(i(),v(a(I),F({key:0,modelValue:a(o),"onUpdate:modelValue":r[1]||(r[1]=y=>U(o)?o.value=y:null)},e.$attrs,{class:["json-editor-vue",[a(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:a(M),indentation:2,"tab-size":2}),null,16,["modelValue","class","read-only"])):l("",!0)],8,Q)}}});export{L as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as n,h as o,j as t,A as _,o as s,k as a}from"./entry.
|
|
1
|
+
import{d as n,h as o,j as t,A as _,o as s,k as a}from"./entry.2f74e286.js";const c=a("div",null," Your App ",-1),u=n({__name:"__blank",setup(r){return(p,d)=>{const e=_;return s(),o(e,{"h-screen":"","w-screen":"",px5:""},{default:t(()=>[c]),_:1})}}});export{u as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as j,a as V,r as F,o,m as i,k as e,F as c,n as E,E as S,f as n,t as m,p as b,G,i as r,j as a,v as _,H as A,I as D,J as P,K as L,C as U,L as X,M as ee,N as te,O as ne,P as oe,Q as le,R as ie,S as k,h as w,l as R,U as se,V as ae,A as re}from"./entry.
|
|
1
|
+
import{d as j,a as V,r as F,o,m as i,k as e,F as c,n as E,E as S,f as n,t as m,p as b,G,i as r,j as a,v as _,H as A,I as D,J as P,K as L,C as U,L as X,M as ee,N as te,O as ne,P as oe,Q as le,R as ie,S as k,h as w,l as R,U as se,V as ae,A as re}from"./entry.2f74e286.js";import{_ as ue}from"./FilepathItem.vue.253590ec.js";import{_ as de}from"./NTip.vue.eef318b6.js";import{_ as ce}from"./NCodeBlock.vue.28dd841e.js";import{_ as me}from"./NCheckbox.vue.e6a37232.js";import{_ as _e}from"./HelpFab.vue.b3c1cf3a.js";import"./client.766a1bb7.js";const pe={"h-full":"",grid:"~ rows-[max-content_1fr]"},fe={flex:"~ wrap","w-full":""},ve=["onClick"],he=e("div",{border:"b base","flex-auto":""},null,-1),ye={key:0,flex:"~ col gap-4 items-center justify-center",p4:""},be=e("div",{"flex-auto":""},null,-1),$e={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),ge=e("div",{"text-sm":"",op50:""}," Name ",-1),we=e("div",{"i-carbon-time":"","text-xl":""},null,-1),ze=e("div",{"text-sm":"",op50:""}," Build duration ",-1),Be=e("div",{"i-carbon-cics-program":"","text-xl":""},null,-1),ke=e("div",{"text-sm":"",op50:""}," Client bundle size ",-1),Ce=e("div",{"i-carbon-bare-metal-server":"","text-xl":""},null,-1),Ne=e("div",{"text-sm":"",op50:""}," Nitro bundle size ",-1),Te=e("div",{"i-carbon-edge-node":"","text-xl":""},null,-1),Ae=e("div",{"text-sm":"",op50:""}," Built ",-1),De=e("div",{"i-carbon:folder-parent":"","text-xl":""},null,-1),Ie=e("div",{"text-sm":"",op50:""}," Report Path ",-1),Ve=e("div",{"flex-auto":""},null,-1),I="/__nuxt_devtools__/analyze/",Fe=j({__name:"BuildAnalyzeDetails",props:{current:{},prev:{}},setup(C){const p=C,f=V(()=>{const t=[{name:"Overview",id:"overview"}];return p.current.features.bundleClient&&t.push({name:"Client Bundle",id:"bundle-client"}),p.current.features.bundleNitro&&t.push({name:"Nitro Bundle",id:"bundle-nitro"}),p.current.features.viteInspect&&t.push({name:"Vite Inspect",id:"vite-inspect"}),t}),l=F(f.value[0]);function $(t){return t<1024?`${t}B`:t<1024*1024?`${(t/1024).toFixed(1)}KB`:t<1024*1024*1024?`${(t/1024/1024).toFixed(1)}MB`:`${(t/1024/1024/1024).toFixed(1)}GB`}function g(t){return`${((t.endTime-t.startTime)/1e3).toFixed(1)}s`}async function x(t){return P.clearAnalyzeBuilds(await L(),[t])}return(t,u)=>{const z=ue,N=U;return o(),i("div",pe,[e("div",fe,[(o(!0),i(c,null,E(n(f),(v,T)=>(o(),i("button",{key:T,px4:"",py2:"",border:"r base",hover:"bg-active",class:S(v.id===n(l).id?"":"border-b"),onClick:d=>l.value=v},[e("div",{class:S(v.id===n(l).id?"":"op30")},m(v.name),3)],10,ve))),128)),he]),n(l).id==="overview"?(o(),i("div",ye,[be,e("div",$e,[xe,e("div",null,[ge,e("div",null,m(t.current.name),1)]),we,e("div",null,[ze,e("div",null,m(g(t.current)),1)]),t.current.size?.clientBundle?(o(),i(c,{key:0},[Be,e("div",null,[ke,e("div",null,m($(t.current.size.clientBundle)),1)])],64)):b("",!0),t.current.size.nitroBundle?(o(),i(c,{key:1},[Ce,e("div",null,[Ne,e("div",null,m($(t.current.size.nitroBundle)),1)])],64)):b("",!0),Te,e("div",null,[Ae,e("div",null,m(n(G)(new Date(t.current.endTime))),1)]),De,e("div",null,[Ie,r(z,{filepath:t.current.analyzeDir},null,8,["filepath"])])]),Ve,r(N,{n:"rose",icon:"carbon-delete",onClick:u[0]||(u[0]=v=>x(t.current.name))},{default:a(()=>[_(" Delete this report ")]),_:1})])):b("",!0),u._lazyshow1||n(l).id==="bundle-client"?(u._lazyshow1=!0,o(),i(c,null,[A(e("iframe",{src:`${I}${t.current.slug}/client.html`,"h-full":"","w-full":""},null,8,["src"]),[[D,n(l).id==="bundle-client"]])],64)):b("v-show-if",!0),u._lazyshow2||n(l).id==="bundle-nitro"?(u._lazyshow2=!0,o(),i(c,null,[A(e("iframe",{src:`${I}${t.current.slug}/nitro.html`,"h-full":"","w-full":""},null,8,["src"]),[[D,n(l).id==="bundle-nitro"]])],64)):b("v-show-if",!0),u._lazyshow3||n(l).id==="vite-inspect"?(u._lazyshow3=!0,o(),i(c,null,[A(e("iframe",{src:`${I}${t.current.slug}/.vite-inspect/`,"h-full":"","w-full":""},null,8,["src"]),[[D,n(l).id==="vite-inspect"]])],64)):b("v-show-if",!0)])}}}),Se={class:"markdown-body"},Pe=e("h1",null,"Build Analyze",-1),Re=e("p",null,[_("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"),_(" and present the output data directly in DevTools for easy browsing and comparing.")],-1),je=[Pe,Re],Ee={__name:"analyze-build",setup(C,{expose:p}){return p({frontmatter:{}}),(l,$)=>(o(),i("div",Se,je))}},Ge={flex:"~ col"},Le=["onClick"],Ue={flex:"~ gap-1 items-center wrap","w-full":"","text-sm":"",op60:""},Oe=e("div",{"i-carbon-time":""},null,-1),He=e("div",{"flex-auto":""},null,-1),Ke=e("div",{"x-divider":""},null,-1),Me={flex:"~ items-center justify-center wrap",p4:""},Je={flex:"~ col gap-1","w-250":"",p4:""},Qe=e("h3",{class:"text-lg font-medium leading-6",mb2:""}," Start analyze build? ",-1),We=e("p",{op50:""}," Enter the name of the build: ",-1),Ye=e("div",{my3:"","x-divider":""},null,-1),Ze=e("p",{op50:""}," The following command will be executed in your terminal: ",-1),qe={flex:"~ gap-3",mt2:"","justify-end":""},st=j({__name:"analyze-build",setup(C){const p=X(),f=ee(),l=te(),$=ne("analyze-build:slug",""),g=V(()=>f.value?.builds.find(d=>d.slug===$.value)??f.value?.builds[0]),x=F(!1),t=F(""),u=V(()=>f.value?.builds.some(d=>d.name===t.value.trim()));async function z(){t.value=await P.generateAnalyzeBuildName(),await p.start()&&(k.value={name:t.value,processId:await P.startAnalyzeBuild(await L(),t.value)},x.value&&v())}const N=oe();function v(){k.value?.processId&&(N.value=k.value.processId,l.push("/modules/terminals"))}function T(d){return`${((d.endTime-d.startTime)/1e3).toFixed(1)}s`}return le(()=>[{id:"action:analyze-build: start",title:"Start a new analyze build",icon:"i-carbon-edge-node",action:z}]),(d,h)=>{const B=U,O=Fe,H=re,K=ie,M=se,J=de,Q=ce,W=me,Y=ae,Z=Ee,q=_e;return o(),i(c,null,[r(K,{"left-size":30},{left:a(()=>[e("div",Ge,[(o(!0),i(c,null,E(n(f)?.builds,s=>(o(),i(c,{key:s.slug},[e("button",{flex:"~ col gap1","hover:bg-active":"",p3:"",class:S(s.slug===n(g)?.slug?"text-primary bg-active":""),onClick:y=>$.value=s.slug},[e("code",null,m(s.name),1),e("div",Ue,[Oe,e("span",null,m(T(s)),1),He,e("span",null,m(n(G)(new Date(s.endTime))),1)])],10,Le),Ke],64))),128)),e("div",Me,[("processAnalyzeBuildInfo"in d?d.processAnalyzeBuildInfo:n(k))?(o(),w(B,{key:1,n:"primary",icon:"carbon-circle-dash animate-spin",onClick:h[1]||(h[1]=s=>v())},{default:a(()=>[_(" Building... ")]),_:1})):(o(),w(B,{key:0,n:"primary",icon:"carbon-edge-node",onClick:h[0]||(h[0]=s=>z())},{default:a(()=>[_(" Start a new build ")]),_:1}))])])]),right:a(()=>[n(g)?(o(),w(O,{key:0,current:n(g)},null,8,["current"])):(o(),w(H,{key:1}))]),_:1}),r(n(p),null,{default:a(({resolve:s})=>[r(Y,{"model-value":!0,onClose:y=>s(!1)},{default:a(()=>[e("div",Je,[Qe,We,r(M,{modelValue:n(t),"onUpdate:modelValue":h[2]||(h[2]=y=>R(t)?t.value=y:null),placeholder:"Build name"},null,8,["modelValue"]),n(u)?(o(),w(J,{key:0,"n-orange":""},{default:a(()=>[_(" A build with the same name already exists, continue would overrides the previous build result. ")]),_:1})):b("",!0),Ye,Ze,r(Q,{code:`npx nuxi analyze --no-serve --name=${n(t)}`,lang:"bash",px4:"",py2:"",border:"~ base rounded",lines:!1},null,8,["code"]),r(W,{modelValue:n(x),"onUpdate:modelValue":h[3]||(h[3]=y=>R(x)?x.value=y:null),mt2:"",n:"primary"},{default:a(()=>[_(" Navigate to terminal ")]),_:1},8,["modelValue"]),e("div",qe,[r(B,{onClick:y=>s(!1)},{default:a(()=>[_(" Cancel ")]),_:2},1032,["onClick"]),r(B,{n:"solid primary",onClick:y=>s(!0)},{default:a(()=>[_(" Start ")]),_:2},1032,["onClick"])])])]),_:2},1032,["onClose"])]),_:1}),r(q,null,{default:a(()=>[r(Z)]),_:1})],64)}}});export{st as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as X,r as N,W as q,o as s,m as c,i as d,f as t,k as e,v as k,F as L,n as G,h as F,j as x,p as S,E as H,X as U,Y as me,Z as fe,J as Z,K as J,_ as te,a0 as oe,U as se,C as ae,a as A,a1 as ve,a2 as he,a3 as le,t as V,a4 as ie,a5 as _e,l as R,a6 as ge,b as ne,a7 as xe,e as be,a8 as we,a9 as re,H as W,aa as ye,ab as $e,V as ke,ac as Ce,ad as Pe,ae as Ae}from"./entry.
|
|
1
|
+
import{d as X,r as N,W as q,o as s,m as c,i as d,f as t,k as e,v as k,F as L,n as G,h as F,j as x,p as S,E as H,X as U,Y as me,Z as fe,J as Z,K as J,_ as te,a0 as oe,U as se,C as ae,a as A,a1 as ve,a2 as he,a3 as le,t as V,a4 as ie,a5 as _e,l as R,a6 as ge,b as ne,a7 as xe,e as be,a8 as we,a9 as re,H as W,aa as ye,ab as $e,V as ke,ac as Ce,ad as Pe,ae as Ae}from"./entry.2f74e286.js";import{_ as De}from"./Navbar.vue.d85c454f.js";import{_ as Ve}from"./NSectionBlock.e780f891.js";import{_ as Ne}from"./FilepathItem.vue.253590ec.js";import{_ as Fe,u as Ie}from"./storage-options.0b849b9a.js";import{_ as Se}from"./DrawerRight.vue.e75b5510.js";import{D as Te}from"./constants.4e5eba24.js";import"./NIconTitle.vue.635c5682.js";import"./NCodeBlock.vue.28dd841e.js";import"./client.766a1bb7.js";const je={key:0,"h-full":"","w-full":"",flex:"","items-center":"","justify-center":""},Ee={for:"drop-zone-input","text-3xl":""},Ue={key:1,relative:"","h-full":"","w-full":"",grid:"~ rows-[max-content_1fr_max-content]"},Be=e("div",{px6:"",py6:""},[e("h1",{"text-2xl":""}," Upload "),e("p",{"text-sm":"",op50:""}," Drag and drop files to upload ")],-1),Le={grid:"~ cols-minmax-8rem","overflow-auto":"",p6:""},ze={flex:"","items-center":"","justify-center":"","of-hidden":"",rounded:"","rounded-t-lg":"","bg-active":"","object-cover":"",class:"aspect-1/1",border:"~ base"},Me=["src"],Oe={flex:"~ gap1","items-center":""},Re={flex:"~ gap-2","items-center":"","justify-center":"",p8:""},Ke=X({__name:"DropZone",props:{folder:{type:String,required:!0}},setup(T){const a=T,p=N(!1),n=N(),m=N([]),v=["image","video"];function D(i){n.value=i.target,p.value=!0}function u(i){i.target===n.value&&(p.value=!1)}function C(i){i.preventDefault()}function K(i){i.preventDefault(),B(i.dataTransfer.files)}function B(i){const g=Array.from(i||[]);if(g.length){const _=[],P=m.value.map(f=>f.name);for(const f of g)if(P.includes(f.name)){let r=1;const[y,l]=f.name.split(".");for(;P.includes(`${y} (${r}).${l}`);)r++;const o=`${y}-${r}.${l}`,M=new Blob([f],{type:f.type}),O=new File([M],o,{lastModified:Date.now()});_.push(O),P.push(o)}else f.type===""?U({message:"Folders are not supported yet",icon:"carbon:face-dissatisfied",classes:"text-orange"}):v.some(r=>f.type.includes(r))?_.push(f):U({message:`"${f.type}" file type is not allowed`,icon:"carbon:face-dissatisfied",classes:"text-orange"});m.value=[...m.value,..._]}}async function b(){if(me.value||fe.value)return;const i=[];for(const g of m.value){const _=new FileReader;_.readAsDataURL(g);const f=(await new Promise(r=>{_.onload=()=>r(_.result)})).split(";base64,").pop();i.push({path:g.name,encoding:"base64",content:f})}await Z.writeStaticAssets(await J(),[...i],a.folder).then(()=>{j(),U({message:"Files uploaded successfully!",icon:"i-carbon:checkmark"})}).catch(g=>{console.error(g),j(),U({message:`Error uploading files: ${g}`,icon:"i-carbon-warning",classes:"text-red"})}),p.value=!1}function h(i){m.value?.splice(i,1)}function w(i){return URL.createObjectURL(i)}function z(i,g){const[_,P]=i.name.split("."),f=g.replace(/\.\w+$/,""),r=`${f}.${P}`;return f.length===0?(alert("File name must be at least 1 characters long"),_):(Object.defineProperty(i,"name",{value:r,writable:!1}),m.value.splice(m.value.indexOf(i),1,i),i)}function I(){m.value=[]}function j(){p.value=!1,I()}return q("dragenter",D),q("dragleave",u),q("dragover",C),q("drop",K),(i,g)=>{const _=te,P=oe,f=se,r=ae;return s(),c("div",{fixed:"","bottom-0":"","left-13":"","right-0":"","top-0":"","z-10":"","backdrop-blur-20":"","transition-all":"",class:H(t(p)?"opacity-100 visible":"opacity-0 invisible")},[d(_,{icon:"carbon-close",absolute:"","right-5":"","top-5":"","z-20":"","text-xl":"",onClick:j}),t(m)?.length?(s(),c("div",Ue,[Be,e("div",Le,[(s(!0),c(L,null,G(t(m),(y,l)=>(s(),c("div",{key:y.name,flex:"~ col gap-2",relative:"","h-50":"","w-40":"","items-center":""},[e("div",ze,[e("img",{"h-full":"","w-full":"","rounded-t-lg":"","object-cover":"",src:w(y)},null,8,Me)]),e("div",Oe,[d(f,{n:"xs","flex-auto":"","model-value":y.name,"onUpdate:modelValue":o=>z(y,o.target.value)},null,8,["model-value","onUpdate:modelValue"]),d(_,{icon:"carbon-delete","flex-none":"",title:"Remove file",onClick:o=>h(l)},null,8,["onClick"])])]))),128))]),e("div",Re,[t(m).length?(s(),F(r,{key:0,n:"red",onClick:I},{default:x(()=>[d(P,{icon:"carbon-clean"}),k(" Clear ")]),_:1})):S("",!0),d(r,{disabled:!t(m).length,n:"primary solid",onClick:b},{default:x(()=>[d(P,{icon:"carbon-cloud-upload"}),k(" Upload ")]),_:1},8,["disabled"])])])):(s(),c("div",je,[e("label",Ee,[d(P,{icon:"carbon-cloud-upload","mr-2":""}),k(" Drop files here or click to select ")]),e("input",{id:"drop-zone-input",type:"file",multiple:"",hidden:"",onChange:g[0]||(g[0]=y=>B(y.target.files))},null,32)]))],2)}}}),Xe=X({__name:"AssetFontPreview",props:{asset:{}},setup(T){const a=T,p=A(()=>`devtools-assets-${ve(a.asset)}`);return he(A(()=>`
|
|
2
2
|
@font-face {
|
|
3
3
|
font-family: '${p.value}';
|
|
4
4
|
src: url('${a.asset.publicPath}');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{bk as f,bz as r}from"./entry.
|
|
1
|
+
import{bk as f,bz as r}from"./entry.2f74e286.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 te,m as Pe,k as Z,v as ja,d as qi,a as Zt,t as du,f as X,e as lk,i as Te,h as lt,p as ct,F as cr,n as _n,a5 as Gu,_ as $_,r as mi,af as ck,ag as hk,a7 as dk,ah as fk,ai as vk,w as pk,j as Ge,aj as b_,ak as gk,l as En,C as yk,al as mk,E as $k,am as bk,ad as wk,an as _k,ao as Ek,ap as us,a0 as Sk,aq as Ok,a9 as Tk,ar as xk,H as Ry}from"./entry.
|
|
1
|
+
import{o as te,m as Pe,k as Z,v as ja,d as qi,a as Zt,t as du,f as X,e as lk,i as Te,h as lt,p as ct,F as cr,n as _n,a5 as Gu,_ as $_,r as mi,af as ck,ag as hk,a7 as dk,ah as fk,ai as vk,w as pk,j as Ge,aj as b_,ak as gk,l as En,C as yk,al as mk,E as $k,am as bk,ad as wk,an as _k,ao as Ek,ap as us,a0 as Sk,aq as Ok,a9 as Tk,ar as xk,H as Ry}from"./entry.2f74e286.js";import{_ as Pk}from"./HelpFab.vue.b3c1cf3a.js";import{u as kk,a as Ik}from"./state-components.7549d0ff.js";import{_ as Ck}from"./NCheckbox.vue.e6a37232.js";import{_ as w_}from"./Navbar.vue.d85c454f.js";import{_ as __}from"./Badge.efa8b534.js";import{_ as E_}from"./FilepathItem.vue.253590ec.js";import{_ as Ak}from"./DrawerRight.vue.e75b5510.js";import{_ as Rk}from"./NSelectTabs.vue.1cae281d.js";import{_ as Dk}from"./NSectionBlock.e780f891.js";import{_ as Mk}from"./NIconTitle.vue.635c5682.js";import{D as Hl}from"./constants.4e5eba24.js";const Nk={class:"markdown-body"},Fk=Z("h1",null,"Components",-1),Bk=Z("p",null,[ja("Vue components under the "),Z("code",null,"components/"),ja(" directory are automatically registered and can be used in your templates without importing them.")],-1),Lk=Z("p",null,[Z("a",{href:"https://nuxt.com/docs/guide/directory-structure/components",target:"_blank",rel:"noopener"},"Learn more on the documentation")],-1),jk=[Fk,Bk,Lk],zk={__name:"components",setup(t,{expose:i}){return i({frontmatter:{}}),(r,n)=>(te(),Pe("div",Nk,jk))}},Hk=/\d/,Wk=["-","_","/","."];function Vk(t=""){if(!Hk.test(t))return t.toUpperCase()===t}function Uk(t,i){const e=i??Wk,r=[];if(!t||typeof t!="string")return r;let n="",a,o;for(const s of t){const u=e.includes(s);if(u===!0){r.push(n),n="",a=void 0;continue}const l=Vk(s);if(o===!1){if(a===!1&&l===!0){r.push(n),n=s,a=l;continue}if(a===!0&&l===!1&&n.length>1){const c=n[n.length-1];r.push(n.slice(0,Math.max(0,n.length-1))),n=c+s,a=l;continue}}n+=s,a=l,o=u}return r.push(n),r}function Gk(t){return t?t[0].toUpperCase()+t.slice(1):""}function S_(t){return t?(Array.isArray(t)?t:Uk(t)).map(i=>Gk(i)).join(""):""}const Kk={"text-sm":"","font-mono":""},qk=Z("span",{mr1:"",op20:""},"<",-1),Yk=Z("span",{ml1:"",op20:""},"/>",-1),O_=qi({__name:"ComponentName",props:{component:{}},setup(t){const i=t,e=Zt(()=>i.component.pascalName||S_(i.component.name||i.component.__name||i.component.kebabName||""));return(r,n)=>(te(),Pe("code",Kk,[qk,ja(du(X(e)),1),Yk]))}}),Xk={flex:"~ col gap1","items-start":"","of-hidden":""},Qk={flex:"~ gap2",px3:""},Zk={px3:"",pb2:""},Jk={key:0,border:"t base","max-h-60":"","w-full":"","of-auto":"",px3:"",py3:""},eI={"text-sm":""},tI={"text-primary":""},rI=Z("span",{op50:""}," references",-1),nI={key:0,flex:"~ col gap-2","items-start":"",pt3:"","text-sm":"",op75:""},iI={key:1,border:"t base","max-h-60":"","w-full":"","of-auto":"",px3:"",py3:""},aI={"text-sm":""},oI={"text-primary":""},sI=Z("span",{op50:""}," dependencies",-1),uI={key:0,flex:"~ col gap-2","items-start":"",pt3:"","text-sm":"",op75:""},T_=qi({__name:"ComponentDetails",props:{component:{},dependencies:{},dependents:{}},setup(t){const i=t,e=Zt(()=>i.component.pascalName||S_(i.component.name||i.component.__name||i.component.kebabName||"")),r=Zt(()=>i.component.filePath||i.component.file||i.component.__file||""),n=lk();return(a,o)=>{const s=O_,u=$_,l=__,c=E_;return te(),Pe("div",Xk,[Z("div",Qk,[Te(s,{component:a.component},null,8,["component"]),Te(u,{title:"Copy name","flex-none":"",icon:"carbon-copy",onClick:o[0]||(o[0]=h=>X(n)(`<${X(e)}></${X(e)}>`))}),a.component.global?(te(),lt(l,{key:0,"bg-green-400:10":"","text-green-400":"",title:"Registered at runtime as a global component",textContent:"runtime"})):ct("",!0)]),Z("div",Zk,[X(r)?(te(),lt(c,{key:0,filepath:X(r),"w-full":"","text-sm":"",op40:"","group-hover:op75":""},null,8,["filepath"])):ct("",!0)]),a.dependents?(te(),Pe("div",Jk,[Z("div",eI,[Z("strong",tI,du(a.dependents.length),1),rI]),a.dependents.length?(te(),Pe("div",nI,[(te(!0),Pe(cr,null,_n(a.dependents,h=>(te(),lt(c,{key:h,filepath:h},null,8,["filepath"]))),128))])):ct("",!0)])):ct("",!0),a.dependencies?(te(),Pe("div",iI,[Z("div",aI,[Z("strong",oI,du(a.dependencies.length),1),sI]),a.dependencies.length?(te(),Pe("div",uI,[(te(!0),Pe(cr,null,_n(a.dependencies,h=>(te(),lt(c,{key:h,filepath:h},null,8,["filepath"]))),128))])):ct("",!0)])):ct("",!0),Gu(a.$slots,"default")])}}});/**
|
|
2
2
|
* vis-data
|
|
3
3
|
* http://visjs.org/
|
|
4
4
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e=Object.freeze({information_for_contributors:["This file has been converted from https://github.com/microsoft/vscode-css/blob/master/grammars/css.cson","If you want to provide a fix or improvement, please create a pull request against the original repository.","Once accepted there, we are happy to receive an update request."],version:"https://github.com/microsoft/vscode-css/commit/
|
|
1
|
+
const e=Object.freeze({information_for_contributors:["This file has been converted from https://github.com/microsoft/vscode-css/blob/master/grammars/css.cson","If you want to provide a fix or improvement, please create a pull request against the original repository.","Once accepted there, we are happy to receive an update request."],version:"https://github.com/microsoft/vscode-css/commit/3bd00206f6b0d16eb2eba53fb886462eb8c58baa",name:"css",scopeName:"source.css",patterns:[{include:"#comment-block"},{include:"#escapes"},{include:"#combinators"},{include:"#selector"},{include:"#at-rules"},{include:"#rule-list"}],repository:{"at-rules":{patterns:[{begin:"\\A(?:\\xEF\\xBB\\xBF)?(?i:(?=\\s*@charset\\b))",end:";|(?=$)",endCaptures:{0:{name:"punctuation.terminator.rule.css"}},name:"meta.at-rule.charset.css",patterns:[{captures:{1:{name:"invalid.illegal.not-lowercase.charset.css"},2:{name:"invalid.illegal.leading-whitespace.charset.css"},3:{name:"invalid.illegal.no-whitespace.charset.css"},4:{name:"invalid.illegal.whitespace.charset.css"},5:{name:"invalid.illegal.not-double-quoted.charset.css"},6:{name:"invalid.illegal.unclosed-string.charset.css"},7:{name:"invalid.illegal.unexpected-characters.charset.css"}},match:`(?x) # Possible errors:
|
|
2
2
|
\\G
|
|
3
3
|
((?!@charset)@\\w+) # Not lowercase (@charset is case-sensitive)
|
|
4
4
|
|
|
|
@@ -68,18 +68,19 @@ const e=Object.freeze({information_for_contributors:["This file has been convert
|
|
|
68
68
|
(?: [-a-zA-Z_] | [^\\x00-\\x7F] ) # First letter
|
|
69
69
|
(?: [-a-zA-Z0-9_] | [^\\x00-\\x7F] # Remainder of identifier
|
|
70
70
|
| \\\\(?:[0-9a-fA-F]{1,6}|.)
|
|
71
|
-
)*`,name:"variable.font-feature.css"},{include:"#rule-list-innards"}]}]},functions:{patterns:[{begin:"(?i)(?<![\\w-])(calc)(\\()",beginCaptures:{1:{name:"support.function.calc.css"},2:{name:"punctuation.section.function.begin.bracket.round.css"}},end:"\\)",endCaptures:{0:{name:"punctuation.section.function.end.bracket.round.css"}},name:"meta.function.calc.css",patterns:[{match:"[*/]|(?<=\\s|^)[-+](?=\\s|$)",name:"keyword.operator.arithmetic.css"},{include:"#property-values"}]},{begin:"(?i)(?<![\\w-])(rgba?|hsla?|hwb|lab|lch)(\\()",beginCaptures:{1:{name:"support.function.misc.css"},2:{name:"punctuation.section.function.begin.bracket.round.css"}},end:"\\)",endCaptures:{0:{name:"punctuation.section.function.end.bracket.round.css"}},name:"meta.function.color.css",patterns:[{include:"#property-values"}]},{begin:`(?xi) (?<![\\w-])
|
|
71
|
+
)*`,name:"variable.font-feature.css"},{include:"#rule-list-innards"}]}]},functions:{patterns:[{begin:"(?i)(?<![\\w-])(calc)(\\()",beginCaptures:{1:{name:"support.function.calc.css"},2:{name:"punctuation.section.function.begin.bracket.round.css"}},end:"\\)",endCaptures:{0:{name:"punctuation.section.function.end.bracket.round.css"}},name:"meta.function.calc.css",patterns:[{match:"[*/]|(?<=\\s|^)[-+](?=\\s|$)",name:"keyword.operator.arithmetic.css"},{include:"#property-values"}]},{begin:"(?i)(?<![\\w-])(rgba?|rgb|hsla?|hsl|hwb|lab|oklab|lch|oklch|color)(\\()",beginCaptures:{1:{name:"support.function.misc.css"},2:{name:"punctuation.section.function.begin.bracket.round.css"}},end:"\\)",endCaptures:{0:{name:"punctuation.section.function.end.bracket.round.css"}},name:"meta.function.color.css",patterns:[{include:"#property-values"}]},{begin:`(?xi) (?<![\\w-])
|
|
72
72
|
(
|
|
73
73
|
(?:-webkit-|-moz-|-o-)? # Accept prefixed/historical variants
|
|
74
74
|
(?:repeating-)? # "Repeating"-type gradient
|
|
75
75
|
(?:linear|radial|conic) # Shape
|
|
76
76
|
-gradient
|
|
77
77
|
)
|
|
78
|
-
(\\()`,beginCaptures:{1:{name:"support.function.gradient.css"},2:{name:"punctuation.section.function.begin.bracket.round.css"}},end:"\\)",endCaptures:{0:{name:"punctuation.section.function.end.bracket.round.css"}},name:"meta.function.gradient.css",patterns:[{match:"(?i)(?<![\\w-])(from|to|at)(?![\\w-])",name:"keyword.operator.gradient.css"},{include:"#property-values"}]},{begin:"(?i)(?<![\\w-])(-webkit-gradient)(\\()",beginCaptures:{1:{name:"invalid.deprecated.gradient.function.css"},2:{name:"punctuation.section.function.begin.bracket.round.css"}},end:"\\)",endCaptures:{0:{name:"punctuation.section.function.end.bracket.round.css"}},name:"meta.function.gradient.invalid.deprecated.gradient.css",patterns:[{begin:"(?i)(?<![\\w-])(from|to|color-stop)(\\()",beginCaptures:{1:{name:"invalid.deprecated.function.css"},2:{name:"punctuation.section.function.begin.bracket.round.css"}},end:"\\)",endCaptures:{0:{name:"punctuation.section.function.end.bracket.round.css"}},patterns:[{include:"#property-values"}]},{include:"#property-values"}]},{begin:`(?xi) (?<![\\w-])
|
|
78
|
+
(\\()`,beginCaptures:{1:{name:"support.function.gradient.css"},2:{name:"punctuation.section.function.begin.bracket.round.css"}},end:"\\)",endCaptures:{0:{name:"punctuation.section.function.end.bracket.round.css"}},name:"meta.function.gradient.css",patterns:[{match:"(?i)(?<![\\w-])(from|to|at|in|hue)(?![\\w-])",name:"keyword.operator.gradient.css"},{include:"#property-values"}]},{begin:"(?i)(?<![\\w-])(-webkit-gradient)(\\()",beginCaptures:{1:{name:"invalid.deprecated.gradient.function.css"},2:{name:"punctuation.section.function.begin.bracket.round.css"}},end:"\\)",endCaptures:{0:{name:"punctuation.section.function.end.bracket.round.css"}},name:"meta.function.gradient.invalid.deprecated.gradient.css",patterns:[{begin:"(?i)(?<![\\w-])(from|to|color-stop)(\\()",beginCaptures:{1:{name:"invalid.deprecated.function.css"},2:{name:"punctuation.section.function.begin.bracket.round.css"}},end:"\\)",endCaptures:{0:{name:"punctuation.section.function.end.bracket.round.css"}},patterns:[{include:"#property-values"}]},{include:"#property-values"}]},{begin:`(?xi) (?<![\\w-])
|
|
79
79
|
(annotation|attr|blur|brightness|character-variant|clamp|contrast|counters?
|
|
80
|
-
|cross-fade|drop-shadow|element|fit-content|format|grayscale|hue-rotate
|
|
80
|
+
|cross-fade|drop-shadow|element|fit-content|format|grayscale|hue-rotate|color-mix
|
|
81
81
|
|image-set|invert|local|max|min|minmax|opacity|ornaments|repeat|saturate|sepia
|
|
82
|
-
|styleset|stylistic|swash|symbols
|
|
82
|
+
|styleset|stylistic|swash|symbols
|
|
83
|
+
|cos|sin|tan|acos|asin|atan|atan2|hypot|sqrt|pow|log|exp|abs|sign)
|
|
83
84
|
(\\()`,beginCaptures:{1:{name:"support.function.misc.css"},2:{name:"punctuation.section.function.begin.bracket.round.css"}},end:"\\)",endCaptures:{0:{name:"punctuation.section.function.end.bracket.round.css"}},name:"meta.function.misc.css",patterns:[{match:`(?i)(?<=[,\\s"]|\\*/|^)\\d+x(?=[\\s,"')]|/\\*|$)`,name:"constant.numeric.other.density.css"},{include:"#property-values"},{match:`[^'"),\\s]+`,name:"variable.parameter.misc.css"}]},{begin:"(?i)(?<![\\w-])(circle|ellipse|inset|polygon|rect)(\\()",beginCaptures:{1:{name:"support.function.shape.css"},2:{name:"punctuation.section.function.begin.bracket.round.css"}},end:"\\)",endCaptures:{0:{name:"punctuation.section.function.end.bracket.round.css"}},name:"meta.function.shape.css",patterns:[{match:"(?i)(?<=\\s|^|\\*/)(at|round)(?=\\s|/\\*|$)",name:"keyword.operator.shape.css"},{include:"#property-values"}]},{begin:"(?i)(?<![\\w-])(cubic-bezier|steps)(\\()",beginCaptures:{1:{name:"support.function.timing-function.css"},2:{name:"punctuation.section.function.begin.bracket.round.css"}},end:"\\)",endCaptures:{0:{name:"punctuation.section.function.end.bracket.round.css"}},name:"meta.function.timing-function.css",patterns:[{match:"(?i)(?<![\\w-])(start|end)(?=\\s*\\)|$)",name:"support.constant.step-direction.css"},{include:"#property-values"}]},{begin:`(?xi) (?<![\\w-])
|
|
84
85
|
( (?:translate|scale|rotate)(?:[XYZ]|3D)?
|
|
85
86
|
| matrix(?:3D)?
|
|
@@ -197,8 +198,11 @@ const e=Object.freeze({information_for_contributors:["This file has been convert
|
|
|
197
198
|
| ( deg|grad|rad|turn # - Angle
|
|
198
199
|
| Hz|kHz # - Frequency
|
|
199
200
|
| ch|cm|em|ex|fr|in|mm|mozmm| # - Length
|
|
200
|
-
pc|pt|px|q|rem|
|
|
201
|
-
vw
|
|
201
|
+
pc|pt|px|q|rem|rch|rex|rlh|
|
|
202
|
+
ic|ric|rcap|vh|vw|vb|vi|svh|
|
|
203
|
+
svw|svb|svi|dvh|dvw|dvb|dvi|
|
|
204
|
+
lvh|lvw|lvb|lvi|vmax|vmin|
|
|
205
|
+
cqw|cqi|cqh|cqb|cqmin|cqmax
|
|
202
206
|
| dpi|dpcm|dppx # - Resolution
|
|
203
207
|
| s|ms # - Time
|
|
204
208
|
)
|
|
@@ -291,7 +295,7 @@ const e=Object.freeze({information_for_contributors:["This file has been convert
|
|
|
291
295
|
| scrollbar-color|scrollbar-gutter|scrollbar-width|shape-image-threshold|shape-margin|shape-outside|shape-rendering|size
|
|
292
296
|
| speak-as|src|stop-color|stop-opacity|stroke|stroke-dasharray|stroke-dashoffset|stroke-linecap|stroke-linejoin|stroke-miterlimit
|
|
293
297
|
| stroke-opacity|stroke-width|suffix|symbols|system|tab-size|table-layout|text-align|text-align-last|text-anchor|text-combine-upright
|
|
294
|
-
| text-decoration|text-decoration-color|text-decoration-line|text-decoration-skip|text-decoration-skip-ink|text-decoration-style
|
|
298
|
+
| text-decoration|text-decoration-color|text-decoration-line|text-decoration-skip|text-decoration-skip-ink|text-decoration-style|text-decoration-thickness
|
|
295
299
|
| text-emphasis|text-emphasis-color|text-emphasis-position|text-emphasis-style|text-indent|text-justify|text-orientation
|
|
296
300
|
| text-overflow|text-rendering|text-shadow|text-size-adjust|text-transform|text-underline-offset|text-underline-position|top|touch-action|transform
|
|
297
301
|
| transform-box|transform-origin|transform-style|transition|transition-delay|transition-duration|transition-property|transition-timing-function
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as j,af as M,r as A,a as k,as as V,at as $,ai as q,au as D,av as y,aw as E,ax as I,m as B,o as s,ay as L,N as P,az as W,aA as C,J as T,f as a,h as c,j as b,p as F,ar as O,F as R,A as S,k as u,v as w,t as N,i as U,ak as z,aB as G}from"./entry.
|
|
1
|
+
import{d as j,af as M,r as A,a as k,as as V,at as $,ai as q,au as D,av as y,aw as E,ax as I,m as B,o as s,ay as L,N as P,az as W,aA as C,J as T,f as a,h as c,j as b,p as F,ar as O,F as R,A as S,k as u,v as w,t as N,i as U,ak as z,aB as G}from"./entry.2f74e286.js";import{_ as J}from"./LaunchPage.vue.45c2e269.js";import"./NMarkdown.vue.283d6615.js";import"./client.766a1bb7.js";const g=new Map,X=j({__name:"IframeView",props:{tab:{}},setup(_){const m=_,r=M(),v=A(),i=k(()=>m.tab.name),e=A(),t=V($(v));q(()=>{const n=m.tab.view,l=n.persistent!==!1,h=["clipboard-write","clipboard-read"];if(g.get(i.value)&&l)e.value=g.get(i.value),e.value.style.visibility="visible";else{e.value=document.createElement("iframe"),e.value.setAttribute("allow",h.join("; ")),l&&g.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),D(f)}setTimeout(o,100)}),y(f),y(o),y(d),E(()=>{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=I();function d(){if(!(!e.value||!e.value.contentWindow))try{e.value.contentWindow.__NUXT_DEVTOOLS__=p.value}catch{}}function f(){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,l)=>(s(),B("div",{ref_key:"anchor",ref:v,"h-full":"","w-full":""},null,512))}}),H={flex:"~ col gap2",mxa:"","items-center":""},K=u("div",{"i-carbon-queued":"",mb2:"","text-5xl":"",op50:""},null,-1),Q={"text-xl":""},Y={"text-rose":""},Z=u("p",{op50:""}," It might because the module contributing this tab is not installed or enabled ",-1),ee=u("p",{mt8:"","animate-pulse":""}," Redirecting to overview page... ",-1),se=j({__name:"custom-[name]",props:{name:{}},setup(_){const m=_,r=L(),v=P(),i=k(()=>m.name??r.params.name),e=W(),t=k(()=>e.value.find(o=>o.name===i.value));return q(()=>{t.value?t.value.requireAuth&&!C.value&&T.requestForAuth():setTimeout(()=>{t.value||v.push("/modules/overview")},2e3)}),(o,p)=>{const d=S,f=G,n=X,l=J,h=z;return s(),B(R,null,[a(t)?F("",!0):(s(),c(d,{key:0},{default:b(()=>[u("div",H,[K,u("p",Q,[w(" Tab "),u("code",Y,N(a(i)),1),w(" not found ")]),Z,ee])]),_:1})),a(t).requireAuth&&!("isDevAuthed"in o?o.isDevAuthed:a(C))?(s(),c(f,{key:1})):a(t).view.type==="iframe"?(s(),c(n,{key:2,tab:a(t)},null,8,["tab"])):a(t).view.type==="vnode"?(s(),c(O(a(t).view.vnode),{key:3})):a(t).view.type==="launch"?(s(),c(l,{key:4,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]=x=>("rpc"in o?o.rpc:a(T)).customTabAction(a(t).name,x))},null,8,["icon","title","description","actions"])):(s(),c(d,{key:5},{default:b(()=>[U(h,{flex:"~ col","h-full":"","items-center":"","justify-center":""},{default:b(()=>[w(" Unknown tab type "+N(a(t).view),1)]),_:1})]),_:1}))],64)}}});export{se as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{q as o,m as s,k as t,a5 as a,o as n}from"./entry.
|
|
1
|
+
import{q as o,m as s,k as t,a5 as a,o as n}from"./entry.2f74e286.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};
|