@vitejs/devtools-rolldown 0.0.0-alpha.32 → 0.0.0-alpha.33
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/dirs.mjs +1 -3
- package/dist/index.mjs +140 -430
- package/dist/nitro.json +1 -1
- package/dist/public/200.html +1 -1
- package/dist/public/404.html +1 -1
- package/dist/public/_nuxt/5tvbNeKa.js +1 -0
- package/dist/public/_nuxt/BCkes08a.js +1 -0
- package/dist/public/_nuxt/BCt7AJYr2.js +1 -0
- package/dist/public/_nuxt/BLuztO_U.js +1 -0
- package/dist/public/_nuxt/BNP_0CNt2.js +1 -0
- package/dist/public/_nuxt/BcpFGloo.js +1 -0
- package/dist/public/_nuxt/Bf1Vsod8.js +1 -0
- package/dist/public/_nuxt/BpPHJgjs2.js +1 -0
- package/dist/public/_nuxt/Bpe250WO.js +1 -0
- package/dist/public/_nuxt/BvZxqrTM.js +1 -0
- package/dist/public/_nuxt/C0X3s2js.js +1 -0
- package/dist/public/_nuxt/CA89J8qi.js +1 -0
- package/dist/public/_nuxt/CF32XUOn.js +1 -0
- package/dist/public/_nuxt/CHhX9QsC.js +2 -0
- package/dist/public/_nuxt/CPGUpoLC.js +1 -0
- package/dist/public/_nuxt/CPkjYaSh.js +1 -0
- package/dist/public/_nuxt/CbqJqu0C.js +1 -0
- package/dist/public/_nuxt/CeiaCdJS.js +1 -0
- package/dist/public/_nuxt/CrBvhj22.js +1 -0
- package/dist/public/_nuxt/CsiiwekO.js +1 -0
- package/dist/public/_nuxt/CwqxH2u32.js +1 -0
- package/dist/public/_nuxt/CxeKBgeG2.js +1 -0
- package/dist/public/_nuxt/D2T_16Oh.js +1 -0
- package/dist/public/_nuxt/D6dVxvIe.js +1 -0
- package/dist/public/_nuxt/DPYc9JW_.js +1 -0
- package/dist/public/_nuxt/DSkKpnKG.js +1 -0
- package/dist/public/_nuxt/D_QsDu4w2.js +1 -0
- package/dist/public/_nuxt/{DataVirtualList.BMBI8CMU.css → DataVirtualList.lGV_3v2U.css} +1 -1
- package/dist/public/_nuxt/De6hoB0p.js +1 -0
- package/dist/public/_nuxt/Dg1pxj30.js +1 -0
- package/dist/public/_nuxt/F3PiHIWc.js +1 -0
- package/dist/public/_nuxt/FKW482sT.js +1 -0
- package/dist/public/_nuxt/FdBHH-Ya.js +33 -0
- package/dist/public/_nuxt/SPaSZIbm.js +1 -0
- package/dist/public/_nuxt/T6zWo6PM.js +1 -0
- package/dist/public/_nuxt/builds/latest.json +1 -1
- package/dist/public/_nuxt/builds/meta/9cc7d1a5-e72f-46b3-8d66-edb9a68d1a1a.json +1 -0
- package/dist/public/_nuxt/{entry.DQK1Fncc.css → entry.DSzfs26p.css} +1 -1
- package/dist/public/_nuxt/error-404.UDn5o4zm.css +1 -0
- package/dist/public/_nuxt/error-500.B2y7voNR.css +1 -0
- package/dist/public/_nuxt/gtHejcxM.js +3 -0
- package/dist/public/_nuxt/o3Asd-6w.js +1 -0
- package/dist/public/_nuxt/olITPEcD.js +2 -0
- package/dist/public/_nuxt/v2o5fpbj.js +1 -0
- package/dist/public/_nuxt/yUVoggG_.js +1 -0
- package/dist/public/index.html +1 -1
- package/package.json +15 -15
- package/dist/public/_nuxt/6TUvuKw-.js +0 -1
- package/dist/public/_nuxt/B9ATRPQ7.js +0 -1
- package/dist/public/_nuxt/B9O9mwcz.js +0 -1
- package/dist/public/_nuxt/BYYOuuQ8.js +0 -1
- package/dist/public/_nuxt/Bb89bWCj.js +0 -1
- package/dist/public/_nuxt/Bjj8tBzd.js +0 -1
- package/dist/public/_nuxt/BlOp-aa0.js +0 -1
- package/dist/public/_nuxt/By3-Oigm.js +0 -1
- package/dist/public/_nuxt/C3g8Qo0F.js +0 -1
- package/dist/public/_nuxt/C4ZBTBfN.js +0 -1
- package/dist/public/_nuxt/C56jC-Rb.js +0 -1
- package/dist/public/_nuxt/CBrsTh9c.js +0 -1
- package/dist/public/_nuxt/CMcxTY2l.js +0 -1
- package/dist/public/_nuxt/CavFgEiy.js +0 -1
- package/dist/public/_nuxt/Ckamtj1Q.js +0 -1
- package/dist/public/_nuxt/Cs9u2aM3.js +0 -1
- package/dist/public/_nuxt/D1SGgpeJ.js +0 -1
- package/dist/public/_nuxt/D4Jp6GBh.js +0 -1
- package/dist/public/_nuxt/D68gMgDN.js +0 -33
- package/dist/public/_nuxt/D8SB5Fj6.js +0 -1
- package/dist/public/_nuxt/DG5LouYQ.js +0 -1
- package/dist/public/_nuxt/DGPFtmYw.js +0 -1
- package/dist/public/_nuxt/DKKnluDw.js +0 -1
- package/dist/public/_nuxt/DTB_fvd1.js +0 -1
- package/dist/public/_nuxt/Daqw8s3u.js +0 -1
- package/dist/public/_nuxt/DdkVNznP.js +0 -1
- package/dist/public/_nuxt/DicSvcoI.js +0 -2
- package/dist/public/_nuxt/DmCbLhAV.js +0 -1
- package/dist/public/_nuxt/Dy45_BSj.js +0 -1
- package/dist/public/_nuxt/EoT68z9_.js +0 -1
- package/dist/public/_nuxt/OLyU6pOh.js +0 -1
- package/dist/public/_nuxt/Vyw3NrOX.js +0 -1
- package/dist/public/_nuxt/builds/meta/64b3b8a7-2713-4a0b-a273-f1b096d1de48.json +0 -1
- package/dist/public/_nuxt/error-404.2Q-XfgR7.css +0 -1
- package/dist/public/_nuxt/error-500.3QnkDFAn.css +0 -1
- package/dist/public/_nuxt/hK0Xv1bA.js +0 -1
- package/dist/public/_nuxt/vcHT-ufV.js +0 -1
- package/dist/public/_nuxt/zkWX764r.js +0 -4
- /package/dist/public/_nuxt/{C3MbbcWQ.js → BUwCbG2W.js} +0 -0
- /package/dist/public/_nuxt/{2NHbZxRd.js → DoJ6DaKu.js} +0 -0
- /package/dist/public/_nuxt/{BmEqTRfc.js → qIAw3Eg02.js} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{u as e}from"./Bjj8tBzd.js";import{n as t}from"./By3-Oigm.js";import{n,t as r}from"./2NHbZxRd.js";function i(e){let t=e.match(/.*\/node_modules\/(.*)$/)?.[1];if(t)return t}const a=e((e,a)=>{let o=e.replace(/%2F/g,`/`).replace(/\\/g,`/`);if(n(o)||o.match(/^\w+:/)&&!e.match(/^[a-z]:\\/i))return{moduleName:o,path:o};let s=r(o),c=i(o);if(s&&c)return{moduleName:s,path:c};try{let e=t(a,o);return!e.startsWith(`./`)&&!e.startsWith(`../`)&&(e=`./${e}`),e.startsWith(`./.nuxt/`)&&(e=`#build${e.slice(7)}`),{path:e}}catch{return{path:o}}});export{a as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{$ as e,B as t,Ct as n,Dt as r,Et as i,G as a,Gt as o,H as s,Ht as c,It as l,J as u,K as d,Kt as f,Q as p,U as m,Ut as h,Wt as g,Y as _,_t as v,at as y,bt as b,c as x,ct as ee,ht as S,it as C,l as w,mt as T,q as E,ut as D,z as O}from"#entry";import{p as k}from"./vcHT-ufV.js";import{a as A,c as j,i as M,o as N,r as P,s as F,t as I}from"./hK0Xv1bA.js";import{r as L}from"./DicSvcoI.js";var R={"flex-1":``,"w-0":``,"h-full":``},z={key:0,"w-full":``,"overflow-hidden":``,flex:`~ items-center`,border:`~ base rounded`,p1:``,relative:``},B={"overflow-hidden":``,"text-ellipsis":``,pr6:``,"w-0":``,"flex-1":``},V=[`placeholder`],H={class:`p2 w100`,flex:`~ col gap2`},U=e({__name:`PathSelectorItem`,props:C({selector:{},placeholder:{},session:{},data:{default:void 0},emptyStateText:{default:void 0},onClear:{type:Function,default:void 0}},{search:{required:!0},searchModifiers:{}}),emits:C([`clear`],[`update:search`]),setup(e,{emit:n}){let a=n,o=b(e,`search`);return(n,s)=>(D(),_(`div`,R,[e.selector.state.value.selected?(D(),_(`div`,z,[d(`div`,B,[S(n.$slots,`item`)]),d(`button`,{"i-carbon-clean":``,"text-4":``,hover:`op100`,op50:``,title:`Clear`,absolute:``,"right-2":``,onClick:s[0]||=e=>a(`clear`)})])):(D(),E(c(x),{key:1,distance:15,triggers:[`click`],"auto-hide":!1,delay:{show:300,hide:150},class:`h-full`},{popper:i(()=>[d(`div`,H,[e.data?.length?S(n.$slots,`list`,{key:0}):S(n.$slots,`empty`,{key:1})])]),default:i(()=>[r(d(`input`,{"onUpdate:modelValue":s[1]||=e=>o.value=e,py1:``,px4:``,"w-full":``,"h-full":``,border:`~ base rounded-1`,style:{outline:`none`},placeholder:e.placeholder,onBlur:s[2]||=(...e)=>c(w)&&c(w)(...e)},null,40,V),[[t,o.value]])]),_:3}))]))}}),W=Object.assign(U,{__name:`DataPathSelectorItem`});function G(e){let t=l({search:``,selected:null}),n=l(),r=a(e.getModules);function i(t){n.value=k(t,()=>new L(t.value,{includeScore:!0,keys:e.searchKeys||[`id`],ignoreLocation:!0,threshold:.4}))}function o(e){t.value.selected=e.id,t.value.search=``}function s(){t.value.selected=null}return{state:t,modules:r,fuse:n,initSelector:i,select:o,clear:s}}function K(e){let{onToggle:t,dataMap:n,list:r,importIdKey:i}=e,o=l(!1),s=l({start:``,end:``});function c(e){o.value=e??!o.value,t?.(o.value)}function u(e){s.value={start:e.start,end:e.end}}return{pathSelectorVisible:o,togglePathSelector:c,pathNodes:s,selectPathNodes:u,normalizedGraph:a(()=>{let{start:e,end:t}=s.value;if(!e&&!t)return r.value;let a=new Set,o=(e,t,n)=>{let r=[e],i=new Set,o=new Map([[`${e}`,[`${e}`]]]);for(;r.length>0;){let e=r.shift();i.has(e)||(i.add(e),n?e===n&&o.get(e)?.forEach(e=>a.add(e)):a.add(e),(!n||e!==n)&&t(e).forEach(t=>{i.has(`${t}`)||(r.push(`${t}`),n&&o.set(`${t}`,[...o.get(e)||[],`${t}`]))}))}};return e&&t?o(e,e=>n.value.get(e)?.imports.map(e=>e[i])||[],t):e&&o(e,e=>n.value.get(e)?.imports.map(e=>e[i])||[]),r.value.filter(e=>a.has(e.id)).map(t=>t.id===e?{...t,importers:[]}:t)})}}var q={h10:``,px4:``,p1:``,relative:``,flex:`~ gap2 items-center`},J={flex:`~ items-center gap2`,class:`flex-1 h-full`,"min-w-0":``},Y={flex:`~ items-center justify-center`,"w-full":``,"h-20":``},X={italic:``,op50:``},Z=e({__name:`PathSelector`,props:{session:{},data:{},importIdKey:{},searchKeys:{}},emits:[`close`,`select`],setup(e,{emit:t}){let r=e,o=t,s=a(()=>{let e=new Map;return r.data.forEach(t=>{e.set(t.id,t)}),e}),l=G({searchKeys:r.searchKeys,getModules:()=>l.state.value.search?l.fuse.value.value?.search(l.state.value.search).map(e=>e.item)??[]:r.data});l.initSelector(a(()=>r.data));function u(e,t=new Set){if(t.has(e))return[];t.add(e);let n=s.value.get(e);if(!n?.imports?.length)return[];let i=[];for(let e of n.imports){let n=s.value.get(`${e[r.importIdKey]}`);n&&(t.has(n.id)||(i.push(n),i.push(...u(n.id,t))))}return i}let m=G({searchKeys:r.searchKeys,getModules:()=>l.state.value.selected?u(l.state.value.selected):[]});m.initSelector(m.modules);let h=a(()=>m.state.value.search?m.fuse.value.value?.search(m.state.value.search).map(e=>e.item)??[]:m.modules.value);n([()=>l.state.value.selected,()=>m.state.value.selected],()=>{o(`select`,{start:l.state.value.selected??``,end:m.state.value.selected??``})});function g(){o(`select`,{start:``,end:``}),o(`close`)}return(t,n)=>{let r=W;return D(),_(`div`,q,[d(`div`,J,[p(r,{search:c(l).state.value.search,"onUpdate:search":n[0]||=e=>c(l).state.value.search=e,placeholder:`Start`,selector:c(l),session:e.session,data:c(l).modules.value,onClear:n[1]||=()=>{c(l).clear(),c(m).clear()}},{list:i(()=>[S(t.$slots,`list`,{select:c(l).select,data:c(l).modules.value})]),item:i(()=>[S(t.$slots,`item`,{id:c(l).state.value.selected})]),_:3},8,[`search`,`selector`,`session`,`data`]),n[3]||=d(`div`,{class:`i-carbon-arrow-right op50`,"flex-shrink-0":``},null,-1),p(r,{search:c(m).state.value.search,"onUpdate:search":n[2]||=e=>c(m).state.value.search=e,placeholder:`End`,selector:c(m),session:e.session,data:h.value,onClear:c(m).clear},{list:i(()=>[S(t.$slots,`list`,{select:c(m).select,data:h.value})]),item:i(()=>[S(t.$slots,`item`,{id:c(m).state.value.selected})]),empty:i(()=>[d(`div`,Y,[d(`span`,X,f(c(l).state.value.selected?`No modules`:`Select a start module to get end modules`),1)])]),_:3},8,[`search`,`selector`,`session`,`data`,`onClear`])]),p(I,{class:`mr--2`,onClick:g})])}}}),Q=Object.assign(Z,{__name:`DataPathSelector`}),te=e({inheritAttrs:!1,__name:`TimeoutView`,props:{content:{},hideInterval:{default:1500}},setup(e){let t=l(!1),r=null;return n(()=>e.content,()=>{r&&clearTimeout(r),t.value=!0,r=setTimeout(()=>{t.value=!1},e.hideInterval)}),(n,r)=>(D(),E(O,{"enter-active-class":`transition-opacity duration-200 ease-in`,"leave-active-class":`transition-opacity duration-500 ease-out`,"enter-from-class":`opacity-0`,"leave-to-class":`opacity-0`},{default:i(()=>[t.value?(D(),_(`div`,g(y({key:0},n.$attrs)),f(e.content),17)):u(``,!0)]),_:1}))}}),ne=Object.assign(te,{__name:`DisplayTimeoutView`}),re=[`width`,`height`],ie=[`d`],ae={class:`w-4`},oe=[`disabled`,`title`,`onClick`],$={fixed:``,"right-6":``,"bottom-6":``,"z-panel-nav":``,flex:`~ col gap-2 items-center`},se={"w-10":``,flex:`~ items-center justify-center`},ce={"bg-glass":``,"rounded-full":``,border:``,"border-base":``,shadow:``,flex:`~ col gap-1 p1`},le=[`disabled`],ue=[`disabled`],de=[`disabled`],fe=[`disabled`],pe=e({__name:`ModuleGraph`,props:{modules:{},session:{},expandControls:{type:Boolean,default:!0}},setup(e){let t=e,{isFirstCalculateGraph:i,childToParentMap:a,collapsedNodes:l,calculateGraph:f,container:g,width:y,height:b,scale:x,nodes:C,links:w,spacing:E,nodesRefMap:O}=F(),{isGrabbing:k,init:I}=A(),{zoomIn:L,zoomOut:R,ZOOM_MIN:z,ZOOM_MAX:B}=N(),{isGraphNodeToggling:V,toggleNode:H,expandAll:U,collapseAll:W}=j({modules:t.modules});return ee(()=>{I(),n(()=>t.modules,()=>{i.value=!0,l.clear(),a.clear(),f()},{immediate:!0})}),(t,n)=>{let i=ne,a=v(`tooltip`);return D(),_(`div`,{ref_key:`container`,ref:g,"w-full":``,"h-screen":``,"of-scroll":``,relative:``,"select-none":``,class:h(c(k)?`cursor-grabbing`:``)},[d(`div`,{style:o({width:`${c(y)*c(x)}px`,height:`${c(b)*c(x)}px`})},[d(`div`,{flex:`~ items-center justify-center`,style:o({transform:`scale(${c(x)})`,transformOrigin:`0 0`})},[d(`div`,{absolute:``,"left-0":``,"top-0":``,style:o({width:`${c(y)}px`,height:`${c(b)}px`}),class:`bg-dots`},null,4),(D(),_(`svg`,{"pointer-events-none":``,absolute:``,"left-0":``,"top-0":``,"z-graph-link":``,width:c(y),height:c(b)},[d(`g`,null,[(D(!0),_(m,null,T(c(w),e=>(D(),_(m,{key:e.id},[e.target?S(t.$slots,`link`,{key:0,link:e,d:c(P)(e,c(E)),linkClass:c(M)(e)},()=>[(D(),_(`path`,{key:e.id,d:c(P)(e,c(E)),class:h(c(M)(e)),fill:`none`},null,10,ie))]):u(``,!0)],64))),128))])],8,re)),(D(!0),_(m,null,T(c(C),e=>(D(),_(m,{key:e.data.module.id},[e.data.module.id===`~root`?u(``,!0):(D(),_(`div`,{key:0,absolute:``,class:`group z-graph-node flex gap-1 items-center`,style:o({left:`${e.x}px`,top:`${e.y}px`,transform:`translate(-50%, -50%)`})},[d(`div`,{flex:`~ items-center gap-1`,"bg-glass":``,border:`~ base rounded`,class:`group-hover:bg-active block px2 p1`,style:o({minWidth:`${c(c(E).width)}px`,maxWidth:`${c(c(E).width)}px`,maxHeight:`${c(c(E).height)}px`,overflow:`hidden`,transition:`all 0.3s ease`})},[S(t.$slots,`default`,{node:e,nodesRefMap:c(O)})],4),d(`div`,ae,[e.data.hasChildren?(D(),_(`button`,{key:0,"w-4":``,"h-4":``,"rounded-full":``,flex:`items-center justify-center`,"text-xs":``,border:`~ active`,class:h([`flex cursor-pointer z-graph-node-active bg-base`,{"cursor-not-allowed":c(V),"hover:bg-active":!c(V)}]),disabled:c(V),title:e.data.expanded?`Collapse`:`Expand`,onClick:s(t=>c(H)(e.data.module.id),[`stop`])},[d(`div`,{class:h([`text-primary h-4`,[e.data.expanded?`i-ph-minus`:`i-ph-plus`]]),transition:`transform duration-200`},null,2)],10,oe)):u(``,!0)])],4))],64))),128))],4)],4),d(`div`,$,[d(`div`,se,[p(i,{content:`${Math.round(c(x)*100)}%`,class:`text-sm`},null,8,[`content`])]),d(`div`,ce,[e.expandControls?(D(),_(m,{key:0},[r((D(),_(`button`,{"w-10":``,"h-10":``,"rounded-full":``,"hover:bg-active":``,"op-fade":``,"hover:op100":``,flex:`~ items-center justify-center`,disabled:c(V),class:h({"op50 cursor-not-allowed":c(V),"hover:bg-active":!c(V)}),title:`Expand All`,onClick:n[0]||=e=>c(U)()},[...n[4]||=[d(`div`,{class:`i-ph-arrows-out-simple-duotone`},null,-1)]],10,le)),[[a,`Expand All`,void 0,{left:!0}]]),r((D(),_(`button`,{"w-10":``,"h-10":``,"rounded-full":``,"hover:bg-active":``,"op-fade":``,"hover:op100":``,flex:`~ items-center justify-center`,disabled:c(V),class:h({"op50 cursor-not-allowed":c(V),"hover:bg-active":!c(V)}),title:`Collapse All`,onClick:n[1]||=e=>c(W)()},[...n[5]||=[d(`div`,{class:`i-ph-arrows-in-simple-duotone`},null,-1)]],10,ue)),[[a,`Collapse All`,void 0,{left:!0}]]),n[6]||=d(`div`,{border:`t base`,my1:``},null,-1)],64)):u(``,!0),r((D(),_(`button`,{disabled:c(x)>=c(B),"w-10":``,"h-10":``,"rounded-full":``,"hover:bg-active":``,"op-fade":``,"hover:op100":``,"disabled:op20":``,"disabled:bg-none":``,"disabled:cursor-not-allowed":``,flex:`~ items-center justify-center`,title:`Zoom In (Ctrl + =)`,onClick:n[2]||=e=>c(L)()},[...n[7]||=[d(`div`,{"i-ph-magnifying-glass-plus-duotone":``},null,-1)]],8,de)),[[a,`Zoom In (Ctrl + =)`,void 0,{left:!0}]]),r((D(),_(`button`,{disabled:c(x)<=c(z),"w-10":``,"h-10":``,"rounded-full":``,"hover:bg-active":``,"op-fade":``,"hover:op100":``,"disabled:op20":``,"disabled:bg-none":``,"disabled:cursor-not-allowed":``,flex:`~ items-center justify-center`,title:`Zoom Out (Ctrl + -)`,onClick:n[3]||=e=>c(R)()},[...n[8]||=[d(`div`,{"i-ph-magnifying-glass-minus-duotone":``},null,-1)]],8,fe)),[[a,`Zoom Out (Ctrl + -)`,void 0,{left:!0}]])])])],2)}}}),me=Object.assign(pe,{__name:`DisplayModuleGraph`});export{Q as n,K as r,me as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{$ as e,Et as t,G as n,K as r,Kt as i,Ut as a,Y as o,ht as s,q as c,ut as l}from"#entry";function u(e,t){let n=[];return n=e==null?[``,`-`]:e<1?[`<1`,`ms`]:e<1e3?[e.toFixed(0),`ms`]:e<1e3*60?[(e/1e3).toFixed(1),`s`]:[(e/1e3/60).toFixed(1),`min`],t?n.join(` `):n}var d={"ml-0.4":``,"text-xs":``,op75:``},f=e({__name:`DisplayNumberWithUnit`,props:{number:{},unit:{}},setup(e){return(t,n)=>(l(),o(`div`,null,[s(t.$slots,`default`),r(`span`,null,i(e.number),1),r(`span`,d,i(e.unit),1)]))}}),p=e({__name:`DisplayDuration`,props:{duration:{},factor:{default:1},unit:{default:`ms`},color:{type:Boolean,default:!0}},setup(e){let r=e,i=n(()=>{if(r.duration!=null)return r.unit===`ns`?r.duration/1e3:r.duration});function o(e){return!r.color||e==null?``:(e*=r.factor,e<1?`op50`:e>1e4?`color-scale-critical`:e>1e3?`color-scale-high`:e>500?`color-scale-medium`:e>200?`color-scale-low`:`color-scale-neutral`)}let d=n(()=>u(i.value));return(e,n)=>(l(),c(f,{class:a(o(i.value)),number:d.value[0],unit:d.value[1]},{default:t(()=>[s(e.$slots,`default`)]),_:3},8,[`class`,`number`,`unit`]))}});export{u as n,p as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{$ as e,K as t,St as n,Y as r,ht as i,ut as a,wt as o}from"#entry";var s={class:`px4`,flex:`~ col gap2`},c=e({__name:`Treemap`,props:{graph:{},selected:{}},emits:[`select`],setup(e,{emit:c}){let l=e,u=c,d=n(`el`);return o(()=>d.value?.append(l.graph.el)),(n,o)=>(a(),r(`div`,s,[i(n.$slots,`default`,{selected:e.selected,options:e.graph.options,onSelect:o[0]||=e=>u(`select`,e)},()=>[o[1]||=t(`div`,{border:`b base`,py2:``,"min-h-10":``},null,-1)]),t(`div`,{ref_key:`el`,ref:d},null,512)]))}}),l=Object.assign(c,{__name:`ChartTreemap`});export{l as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{$ as e,Ht as t,J as n,Kt as r,Y as i,s as a,ut as o}from"#entry";var s={key:0,"font-mono":``},c=e({__name:`DisplayTimestamp`,props:{timestamp:{}},setup(e){let c=e;return(l,u)=>e.timestamp?(o(),i(`span`,s,r(t(a)(new Date(c.timestamp))),1)):n(``,!0)}});export{c as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{$ as e,G as t,J as n,K as r,Kt as i,Ut as a,Y as o,Z as s,ht as c,ut as l}from"#entry";import{t as u}from"./D04G8HHr.js";import{c as d}from"./vcHT-ufV.js";var f={"text-xs":``,op75:``,"ml-0.4":``},p={key:0,"text-xs":``,ml1:``,"op-fade":``,border:`l base`,pl1:``},m=1024,h=e({__name:`FileSizeBadge`,props:{bytes:{},colorize:{type:Boolean,default:!0},digits:{default:2},percent:{type:Boolean,default:!0},total:{},icon:{},percentRatio:{default:.5}},setup(e){let d=e,h=m**2,g=[[80*m,`color-scale-neutral`],[500*m,`color-scale-low`],[1*h,`color-scale-medium`],[10*h,`color-scale-high`],[20*h,`color-scale-critical`]],_=t(()=>{if(!d.colorize)return g[0];let e=d.bytes||0;for(let[t,n]of g)if(e<t)return n;return g[g.length-1]?.[1]}),v=t(()=>d.total?(d.bytes||0)*100/d.total:0),y=t(()=>u(d.bytes||0,d.digits));return(t,u)=>e.bytes?(l(),o(`div`,{key:0,class:a([_.value,`px-0.4em py-0.2em font-mono line-height-none bg-gray:5 dark:bg-gray:4 flex items-center`])},[e.icon?(l(),o(`div`,{key:0,class:a([e.icon,`mr-1`])},null,2)):n(``,!0),s(` `+i(y.value[0]),1),r(`span`,f,i(y.value[1]),1),c(t.$slots,`after`,{},()=>[e.percent&&v.value>e.percentRatio?(l(),o(`span`,p,i(+v.value.toFixed(1))+`%`,1)):n(``,!0)])],2)):n(``,!0)}}),g=Object.assign(h,{__name:`DisplayFileSizeBadge`});const _=d(`rolldown-devtools-settings`,{codeviewerLineWrap:!1,codeviewerDiffPanelSize:50,flowExpandResolveId:!0,flowExpandTransforms:!0,flowExpandLoads:!0,flowExpandChunks:!0,flowExpandAssets:!0,flowShowAllTransforms:!1,flowShowAllLoads:!1,moduleGraphViewType:`list`,assetViewType:`list`,chartAnimation:!0,moduleDetailsViewType:`flow`,pluginDetailsViewType:`flow`,pluginDetailsTableFields:null,pluginDetailsModuleTypes:null,pluginDetailsDurationSortType:``,pluginDetailSelectedHook:``,chunkViewType:`list`,pluginDetailsShowType:`all`,packageViewType:`table`,packageSizeSortType:``},{mergeDefaults:!0});function v(e){let n=new Map;return new Proxy(e.value,{get(e,r){return n.has(r)||n.set(r,t({get(){return e[r]},set(t){e[r]=t}})),n.get(r)}})}const y=v(_);export{y as n,g as r,_ as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Ct as e,G as t,Nt as n,Pt as r,zt as i}from"#entry";var a=0,o=r(new Map);const s=t(()=>Array.from(o.values()).flat());function c(t){let r=i(t),s=()=>{};function c(e){s();let t=a++;return o.set(t,e),s=()=>{o.delete(t)},t}return e(r,e=>{c(e)},{immediate:!0}),n(()=>{s()}),()=>{s()}}export{c as n,s as t};
|