@nuxt/devtools 2.0.0-beta.7 → 2.0.0

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.
Files changed (75) hide show
  1. package/dist/chunks/module-main.mjs +1 -1
  2. package/dist/chunks/vue-devtools.mjs +3 -3
  3. package/dist/client/200.html +14 -14
  4. package/dist/client/404.html +14 -14
  5. package/dist/client/_nuxt/__blank-lg13rweu.js +1 -0
  6. package/dist/client/_nuxt/{analyze-build-hln29g2i.js → analyze-build-dswniyeh.js} +1 -1
  7. package/dist/client/_nuxt/{assets-b6uq8g4q.js → assets-d2wlrwj5.js} +1 -1
  8. package/dist/client/_nuxt/builds/latest.json +1 -1
  9. package/dist/client/_nuxt/builds/meta/d7fd3832-7caa-4509-b853-415d3c160ceb.json +1 -0
  10. package/dist/client/_nuxt/{code-diff.vue-l6vwnnx9.js → code-diff.vue-dnq2h1u9.js} +1 -1
  11. package/dist/client/_nuxt/{code-snippets.vue-itd505en.js → code-snippets.vue-j2rf4gq2.js} +1 -1
  12. package/dist/client/_nuxt/components-cr6la0jc.js +1 -0
  13. package/dist/client/_nuxt/composable-item.vue-nkul53a1.js +1 -0
  14. package/dist/client/_nuxt/{custom-_name_-dvf8mod6.js → custom-_name_-dwpm6y1k.js} +1 -1
  15. package/dist/client/_nuxt/{data-schema-button.vue-chmssum7.js → data-schema-button.vue-hqqx4i1r.js} +1 -1
  16. package/dist/client/_nuxt/{data-schema-drawer-ae0s9izl.js → data-schema-drawer-h37seqpj.js} +1 -1
  17. package/dist/client/_nuxt/{default-fhkw3irs.js → default-err1p5vu.js} +1 -1
  18. package/dist/client/_nuxt/{hjpmj1xu.js → ebt3cj6n.js} +5 -5
  19. package/dist/client/_nuxt/entry.css-mj1nvcy6.css +1 -0
  20. package/dist/client/_nuxt/{error-404-eboai2a4.js → error-404-gd4k7ljf.js} +1 -1
  21. package/dist/client/_nuxt/{error-500-kvham2jx.js → error-500-acaymbms.js} +1 -1
  22. package/dist/client/_nuxt/{error-emnwkrjd.js → error-c99pd47j.js} +1 -1
  23. package/dist/client/_nuxt/{filepath-item.vue-bisii3l4.js → filepath-item.vue-ci7z8yh9.js} +1 -1
  24. package/dist/client/_nuxt/{full-lzp51slp.js → full-hh52dt43.js} +1 -1
  25. package/dist/client/_nuxt/{help-fab.vue-jkf9agm3.js → help-fab.vue-jfmsun8j.js} +1 -1
  26. package/dist/client/_nuxt/{hooks-dwvu2u7q.js → hooks-ih7mpu9m.js} +1 -1
  27. package/dist/client/_nuxt/imports-pa9o9gy7.js +1 -0
  28. package/dist/client/_nuxt/{index-codugfas.js → index-b0inf0b1.js} +1 -1
  29. package/dist/client/_nuxt/{index-o0lbgjvm.js → index-fcdkwnzi.js} +1 -1
  30. package/dist/client/_nuxt/index-obsucz0g.js +1 -0
  31. package/dist/client/_nuxt/{launch-page.vue-6pn8vnpe.js → launch-page.vue-kt4750to.js} +1 -1
  32. package/dist/client/_nuxt/{modules-hxnj5jth.js → modules-n2gurld7.js} +1 -1
  33. package/dist/client/_nuxt/{nbadge-pfavq5ao.js → nbadge-hx8q1ml8.js} +1 -1
  34. package/dist/client/_nuxt/{ncheckbox.vue-gfdtqnpm.js → ncheckbox.vue-ny9mboxw.js} +1 -1
  35. package/dist/client/_nuxt/{ndrawer.vue-c5d7jii6.js → ndrawer.vue-dan2xl77.js} +1 -1
  36. package/dist/client/_nuxt/{ndropdown.vue-o80xuhl9.js → ndropdown.vue-ky50hs20.js} +1 -1
  37. package/dist/client/_nuxt/{nlink.vue-jqcqrruu.js → nlink.vue-ck043kl6.js} +1 -1
  38. package/dist/client/_nuxt/{nnavbar.vue-dbvriqjm.js → nnavbar.vue-jas2jnez.js} +1 -1
  39. package/dist/client/_nuxt/{none-by6k7p34.js → none-dli6w9ti.js} +1 -1
  40. package/dist/client/_nuxt/{nsection-block-padrvv1c.js → nsection-block-h1gauc17.js} +1 -1
  41. package/dist/client/_nuxt/{nselect-tabs.vue-el7lub08.js → nselect-tabs.vue-osip56xu.js} +1 -1
  42. package/dist/client/_nuxt/{nselect.vue-dxksqbxz.js → nselect.vue-o0k1l9g8.js} +1 -1
  43. package/dist/client/_nuxt/{open-graph-mfgex6v6.js → open-graph-gt5upzf3.js} +1 -1
  44. package/dist/client/_nuxt/overview-ie3okhgw.js +1 -0
  45. package/dist/client/_nuxt/{pages-gkjutz4r.js → pages-eh09e5pf.js} +1 -1
  46. package/dist/client/_nuxt/{payload-ea8d0krx.js → payload-mkny1tm5.js} +1 -1
  47. package/dist/client/_nuxt/{pinia-nqtom0ao.js → pinia-bnsnnkci.js} +1 -1
  48. package/dist/client/_nuxt/{plugins-h6j0tuq2.js → plugins-gtlc1x83.js} +1 -1
  49. package/dist/client/_nuxt/{render-tree-jy6tezjo.js → render-tree-t4au4qai.js} +1 -1
  50. package/dist/client/_nuxt/{runtime-configs-cs4asm90.js → runtime-configs-3blc3z3w.js} +1 -1
  51. package/dist/client/_nuxt/{server-discovery-bl7z7nb1.js → server-discovery-bbthi13e.js} +1 -1
  52. package/dist/client/_nuxt/{server-route-inputs.vue-mu2fane3.js → server-route-inputs.vue-emwjkvdf.js} +1 -1
  53. package/dist/client/_nuxt/{server-routes-mxasuxos.js → server-routes-jt78ozjb.js} +1 -1
  54. package/dist/client/_nuxt/{server-tasks-f00daaf8.js → server-tasks-e4n3a8e4.js} +1 -1
  55. package/dist/client/_nuxt/{settings-kwdictg4.js → settings-nhpano1u.js} +1 -1
  56. package/dist/client/_nuxt/{stacktrace-list.vue-f9r30ugc.js → stacktrace-list.vue-cgyq8j5q.js} +1 -1
  57. package/dist/client/_nuxt/{state-components-d4iulvg3.js → state-components-bl8ndmfx.js} +1 -1
  58. package/dist/client/_nuxt/{state-editor.vue-o88ak5ml.js → state-editor.vue-kg8q7nng.js} +1 -1
  59. package/dist/client/_nuxt/{state-modules-h52b8di8.js → state-modules-gsjoppg4.js} +1 -1
  60. package/dist/client/_nuxt/{storage-eynssv88.js → storage-lumi6wjg.js} +1 -1
  61. package/dist/client/_nuxt/{terminals-5bmriywh.js → terminals-lgt62s8g.js} +1 -1
  62. package/dist/client/_nuxt/timeline-eln3mo5n.js +31 -0
  63. package/dist/client/_nuxt/vendor/{shiki-ja073547.js → shiki-bpva4tco.js} +1 -1
  64. package/dist/client/_nuxt/{virtual-files-nnwwbhtv.js → virtual-files-ecvlvl51.js} +1 -1
  65. package/dist/client/index.html +14 -14
  66. package/dist/module.json +1 -1
  67. package/package.json +8 -8
  68. package/dist/client/_nuxt/__blank-fuqjhiyy.js +0 -1
  69. package/dist/client/_nuxt/builds/meta/a2070649-1b94-4b72-833e-c8b7aebeedfd.json +0 -1
  70. package/dist/client/_nuxt/components-ex1azxgr.js +0 -1
  71. package/dist/client/_nuxt/composable-item.vue-g0zoeh4b.js +0 -1
  72. package/dist/client/_nuxt/entry.css-gcfkqtar.css +0 -1
  73. package/dist/client/_nuxt/imports-n2wrqcb0.js +0 -1
  74. package/dist/client/_nuxt/overview-mb2zzitf.js +0 -1
  75. package/dist/client/_nuxt/timeline-iaxiq1nj.js +0 -31
@@ -1 +1 @@
1
- import{_ as V}from"./nnavbar.vue-dbvriqjm.js";import{_ as D}from"./ncode-block.vue-dt6krs6h.js";import{bm as B,bn as S,O as P,w as j,V as U,h as W}from"./hjpmj1xu.js";import{U as i,W as c,X as a,p as E,f as m,w as I,q as _,a3 as l,a2 as u,F as d,ae as q,a8 as v,a0 as z,P as G}from"./vendor/json-editor-vue-kcahofzr.js";import{_ as H}from"./help-fab.vue-jkf9agm3.js";import"./client-kpmlv67d.js";import"./vendor/unocss-mstcul8h.js";import"./vendor/shiki-ja073547.js";const L={class:"markdown-body"},O={__name:"virtual-files",setup(h,{expose:r}){return r({frontmatter:{}}),(p,o)=>(i(),c("div",L,o[0]||(o[0]=[a("h1",null,"Virtual Files",-1),a("p",null,"Virtual files are generated on the fly to support the conventions of the framework, and to provide a better developer experience.",-1)])))}},R=["onClick"],X={key:0,"h-full":"","of-hidden":"",flex:"~ col"},A={border:"b base","flex-none":"",px4:"",py2:"","text-sm":"",op75:""},oe=E({__name:"virtual-files",setup(h){const r=m(""),n=B(),p=S(),o=m();I(()=>{if(!p.value)return;const e=`/_vfs.json/${encodeURIComponent(p.value)}`;fetch(e,{headers:{accept:"application/json"}}).then(t=>t.json()).then(t=>o.value=t.current)});function x(e){if(n.value?.rootDir)return e.startsWith(n.value?.rootDir)?e.slice(n.value.rootDir.length):e}const f=_(()=>n.value?n.value.entries.filter(e=>!e.id.startsWith(`${n.value?.rootDir||""}/.nuxt/`)).sort((e,t)=>e.id.localeCompare(t.id)):[]),b=_(()=>new P(f.value,{keys:["id","path"]})),k=_(()=>r.value?b.value.search(r.value).map(e=>e.item):f.value);return(e,t)=>{const y=V,g=D,C=U,F=W,$=j,w=O,N=H;return i(),c(d,null,[l($,{class:"virtual-files","storage-key":"tab-virtual-files"},{left:u(()=>[l(y,{search:r.value,"onUpdate:search":t[0]||(t[0]=s=>r.value=s),"no-padding":"",p3:""},null,8,["search"]),(i(!0),c(d,null,q(k.value,s=>(i(),c(d,{key:s.id},[a("button",{block:"","w-full":"","select-none":"",truncate:"",px2:"",py1:"","text-start":"","text-sm":"","font-mono":"",class:z(s.id===o.value?.id?"text-primary n-bg-active":"text-secondary hover:n-bg-hover"),onClick:J=>p.value=s.id},v(x(s.id)),11,R),t[1]||(t[1]=a("div",{"x-divider":""},null,-1))],64))),128))]),right:u(()=>[o.value?.content?(i(),c("div",X,[a("div",A,[a("code",null,v(o.value.id),1)]),l(g,{"h-full":"","of-auto":"","text-sm":"",code:o.value.content,lang:"typescript"},null,8,["code"])])):(i(),G(F,{key:1},{default:u(()=>[l(C,{px6:"",py2:""},{default:u(()=>t[2]||(t[2]=[a("span",{op75:""},"Select a file to start",-1)])),_:1})]),_:1}))]),_:1}),l(N,null,{default:u(()=>[l(w)]),_:1})],64)}}});export{oe as default};
1
+ import{_ as V}from"./nnavbar.vue-jas2jnez.js";import{_ as D}from"./ncode-block.vue-dt6krs6h.js";import{bm as B,bn as S,O as P,w as j,V as U,h as W}from"./ebt3cj6n.js";import{U as i,W as c,X as a,p as E,f as m,w as I,q as _,a3 as l,a2 as u,F as d,ae as q,a8 as v,a0 as z,P as G}from"./vendor/json-editor-vue-kcahofzr.js";import{_ as H}from"./help-fab.vue-jfmsun8j.js";import"./client-kpmlv67d.js";import"./vendor/unocss-mstcul8h.js";import"./vendor/shiki-bpva4tco.js";const L={class:"markdown-body"},O={__name:"virtual-files",setup(h,{expose:r}){return r({frontmatter:{}}),(p,o)=>(i(),c("div",L,o[0]||(o[0]=[a("h1",null,"Virtual Files",-1),a("p",null,"Virtual files are generated on the fly to support the conventions of the framework, and to provide a better developer experience.",-1)])))}},R=["onClick"],X={key:0,"h-full":"","of-hidden":"",flex:"~ col"},A={border:"b base","flex-none":"",px4:"",py2:"","text-sm":"",op75:""},oe=E({__name:"virtual-files",setup(h){const r=m(""),n=B(),p=S(),o=m();I(()=>{if(!p.value)return;const e=`/_vfs.json/${encodeURIComponent(p.value)}`;fetch(e,{headers:{accept:"application/json"}}).then(t=>t.json()).then(t=>o.value=t.current)});function x(e){if(n.value?.rootDir)return e.startsWith(n.value?.rootDir)?e.slice(n.value.rootDir.length):e}const f=_(()=>n.value?n.value.entries.filter(e=>!e.id.startsWith(`${n.value?.rootDir||""}/.nuxt/`)).sort((e,t)=>e.id.localeCompare(t.id)):[]),b=_(()=>new P(f.value,{keys:["id","path"]})),k=_(()=>r.value?b.value.search(r.value).map(e=>e.item):f.value);return(e,t)=>{const y=V,g=D,C=U,F=W,$=j,w=O,N=H;return i(),c(d,null,[l($,{class:"virtual-files","storage-key":"tab-virtual-files"},{left:u(()=>[l(y,{search:r.value,"onUpdate:search":t[0]||(t[0]=s=>r.value=s),"no-padding":"",p3:""},null,8,["search"]),(i(!0),c(d,null,q(k.value,s=>(i(),c(d,{key:s.id},[a("button",{block:"","w-full":"","select-none":"",truncate:"",px2:"",py1:"","text-start":"","text-sm":"","font-mono":"",class:z(s.id===o.value?.id?"text-primary n-bg-active":"text-secondary hover:n-bg-hover"),onClick:J=>p.value=s.id},v(x(s.id)),11,R),t[1]||(t[1]=a("div",{"x-divider":""},null,-1))],64))),128))]),right:u(()=>[o.value?.content?(i(),c("div",X,[a("div",A,[a("code",null,v(o.value.id),1)]),l(g,{"h-full":"","of-auto":"","text-sm":"",code:o.value.content,lang:"typescript"},null,8,["code"])])):(i(),G(F,{key:1},{default:u(()=>[l(C,{px6:"",py2:""},{default:u(()=>t[2]||(t[2]=[a("span",{op75:""},"Select a file to start",-1)])),_:1})]),_:1}))]),_:1}),l(N,null,{default:u(()=>[l(w)]),_:1})],64)}}});export{oe as default};
@@ -1,29 +1,29 @@
1
1
  <!DOCTYPE html><html data-capo=""><head><meta charset="utf-8">
2
2
  <meta name="viewport" content="width=device-width, initial-scale=1">
3
- <link rel="stylesheet" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/entry.css-gcfkqtar.css" crossorigin>
3
+ <link rel="stylesheet" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/entry.css-mj1nvcy6.css" crossorigin>
4
4
  <link rel="stylesheet" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/json-editor-vue.css-mqq5uooj.css" crossorigin>
5
5
  <link rel="stylesheet" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/unocss.css-mhvipxpl.css" crossorigin>
6
- <link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/hjpmj1xu.js">
6
+ <link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/ebt3cj6n.js">
7
7
  <link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/json-editor-vue-kcahofzr.js">
8
8
  <link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/unocss-mstcul8h.js">
9
- <link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/shiki-ja073547.js">
9
+ <link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/shiki-bpva4tco.js">
10
10
  <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/markdown-it-fvu08dbs.js">
11
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/default-fhkw3irs.js">
12
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/full-lzp51slp.js">
13
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/none-by6k7p34.js">
11
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/default-err1p5vu.js">
12
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/full-hh52dt43.js">
13
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/none-dli6w9ti.js">
14
14
  <link rel="prefetch" as="style" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/ncode-block.css-lvdc77tw.css">
15
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/data-schema-drawer-ae0s9izl.js">
16
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/nselect.vue-dxksqbxz.js">
15
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/data-schema-drawer-h37seqpj.js">
16
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/nselect.vue-o0k1l9g8.js">
17
17
  <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/nswitch.vue-iu20lc9i.js">
18
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/ndropdown.vue-o80xuhl9.js">
18
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/ndropdown.vue-ky50hs20.js">
19
19
  <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/ncode-block.vue-dt6krs6h.js">
20
20
  <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/client-kpmlv67d.js">
21
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/ndrawer.vue-c5d7jii6.js">
21
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/ndrawer.vue-dan2xl77.js">
22
22
  <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/quicktype-core-lnbp3n5r.js">
23
23
  <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/unocss-runtime-cb61k1ql.js">
24
24
  <link rel="prefetch" as="style" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-404.css-fwe7gpvk.css">
25
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-404-eboai2a4.js">
25
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-404-gd4k7ljf.js">
26
26
  <link rel="prefetch" as="style" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-500.css-djemplc9.css">
27
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-500-kvham2jx.js">
28
- <script type="module" src="/__NUXT_DEVTOOLS_BASE__/_nuxt/hjpmj1xu.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1738744653212,false]</script>
29
- <script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__NUXT_DEVTOOLS_BASE__/",buildId:"a2070649-1b94-4b72-833e-c8b7aebeedfd",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
27
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-500-acaymbms.js">
28
+ <script type="module" src="/__NUXT_DEVTOOLS_BASE__/_nuxt/ebt3cj6n.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1738845229873,false]</script>
29
+ <script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__NUXT_DEVTOOLS_BASE__/",buildId:"d7fd3832-7caa-4509-b853-415d3c160ceb",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nuxt/devtools",
3
3
  "configKey": "devtools",
4
- "version": "2.0.0-beta.7",
4
+ "version": "2.0.0",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "0.8.4",
7
7
  "unbuild": "3.3.1"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nuxt/devtools",
3
3
  "type": "module",
4
- "version": "2.0.0-beta.7",
4
+ "version": "2.0.0",
5
5
  "description": "The Nuxt DevTools gives you insights and transparency about your Nuxt App.",
6
6
  "license": "MIT",
7
7
  "homepage": "https://devtools.nuxt.com",
@@ -40,7 +40,7 @@
40
40
  "destr": "^2.0.3",
41
41
  "error-stack-parser-es": "^1.0.5",
42
42
  "execa": "^9.5.2",
43
- "fast-npm-meta": "^0.2.2",
43
+ "fast-npm-meta": "^0.3.0",
44
44
  "get-port-please": "^3.1.2",
45
45
  "hookable": "^5.5.3",
46
46
  "image-meta": "^0.2.1",
@@ -62,8 +62,8 @@
62
62
  "vite-plugin-vue-inspector": "^5.3.1",
63
63
  "which": "^5.0.0",
64
64
  "ws": "^8.18.0",
65
- "@nuxt/devtools-wizard": "2.0.0-beta.7",
66
- "@nuxt/devtools-kit": "2.0.0-beta.7"
65
+ "@nuxt/devtools-kit": "2.0.0",
66
+ "@nuxt/devtools-wizard": "2.0.0"
67
67
  },
68
68
  "devDependencies": {
69
69
  "@antfu/utils": "^8.1.0",
@@ -78,7 +78,7 @@
78
78
  "@nuxt/content": "^2.13.4",
79
79
  "@nuxt/test-utils": "^3.15.4",
80
80
  "@parcel/watcher": "^2.5.1",
81
- "@shikijs/langs-precompiled": "^2.3.0",
81
+ "@shikijs/langs-precompiled": "^2.3.1",
82
82
  "@types/markdown-it-link-attributes": "^3.0.5",
83
83
  "@unocss/nuxt": "^65.4.3",
84
84
  "@unocss/preset-icons": "^65.4.3",
@@ -103,8 +103,8 @@
103
103
  "ofetch": "^1.4.1",
104
104
  "quicktype-core": "22.0.0",
105
105
  "scule": "^1.3.0",
106
- "shiki": "^2.3.0",
107
- "shiki-codegen": "^2.3.0",
106
+ "shiki": "^2.3.1",
107
+ "shiki-codegen": "^2.3.1",
108
108
  "theme-vitesse": "^0.8.3",
109
109
  "unimport": "^4.0.0",
110
110
  "unocss": "^65.4.3",
@@ -114,7 +114,7 @@
114
114
  "vis-network": "^9.1.9",
115
115
  "vue-tsc": "^2.2.0",
116
116
  "vue-virtual-scroller": "^2.0.0-beta.8",
117
- "@nuxt/devtools": "2.0.0-beta.7"
117
+ "@nuxt/devtools": "2.0.0"
118
118
  },
119
119
  "scripts": {
120
120
  "build": "pnpm dev:prepare && pnpm build:module && pnpm build:discovery && pnpm build:client",
@@ -1 +0,0 @@
1
- import"./hjpmj1xu.js";import{p as e,W as t,U as o}from"./vendor/json-editor-vue-kcahofzr.js";import"./vendor/unocss-mstcul8h.js";import"./vendor/shiki-ja073547.js";const n={"h-screen":"","w-screen":"","bg-black":""},i=e({__name:"__blank",setup(r){return(c,s)=>(o(),t("div",n))}});export{i as default};
@@ -1 +0,0 @@
1
- {"id":"a2070649-1b94-4b72-833e-c8b7aebeedfd","timestamp":1738744617769,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}
@@ -1 +0,0 @@
1
- import{a as ie,_ as q,R as pe,S as re,K as ue,T as de,g as Z,U as me,V as ce,W as fe,O as ve,X as _e,Y as he,H as be,f as ge}from"./hjpmj1xu.js";import{U as t,W as _,X as n,p as R,q as S,a9 as X,a8 as W,a3 as v,u as N,P as x,Z as C,F as T,ae as L,Y as H,f as M,m as ye,z as we,j as xe,a2 as b,A,V as Ce,a0 as ke,a4 as E,ag as $e,aa as Ne,ab as K}from"./vendor/json-editor-vue-kcahofzr.js";import{_ as Ve}from"./help-fab.vue-jkf9agm3.js";import{_ as Se}from"./ncheckbox.vue-gfdtqnpm.js";import{_ as J}from"./nnavbar.vue-dbvriqjm.js";import{_ as Q}from"./nbadge-pfavq5ao.js";import{_ as ee}from"./filepath-item.vue-bisii3l4.js";import{_ as Pe}from"./ndrawer.vue-c5d7jii6.js";import{N as De}from"./vendor/vis-fzckz0r6.js";import{_ as Te}from"./nselect-tabs.vue-el7lub08.js";import{_ as Ue}from"./nsection-block-padrvv1c.js";import{_ as Be}from"./nicon-title.vue-hzhi6u0u.js";import{D as O}from"./constants-b32h69zq.js";import{u as Le,a as Me}from"./state-components-d4iulvg3.js";import"./vendor/unocss-mstcul8h.js";import"./vendor/shiki-ja073547.js";const Re={class:"markdown-body"},Ie={__name:"components",setup(r,{expose:s}){return s({frontmatter:{}}),(a,i)=>(t(),_("div",Re,i[0]||(i[0]=[n("h1",null,"Components",-1),n("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),n("p",null,"Components placed in the components/ directory are automatically registered by Nuxt. They can be used in your templates without importing them.",-1),n("p",null,[n("a",{href:"https://nuxt.com/docs/guide/directory-structure/components",target:"_blank",rel:"noopener"},"Learn more in the documentation")],-1)])))}},Fe=/\d/,Ge=["-","_","/","."];function Ae(r=""){if(!Fe.test(r))return r!==r.toLowerCase()}function ze(r,s){const m=Ge,a=[];if(!r||typeof r!="string")return a;let i="",o,p;for(const c of r){const u=m.includes(c);if(u===!0){a.push(i),i="",o=void 0;continue}const f=Ae(c);if(p===!1){if(o===!1&&f===!0){a.push(i),i=c,o=f;continue}if(o===!0&&f===!1&&i.length>1){const g=i.at(-1);a.push(i.slice(0,Math.max(0,i.length-1))),i=g+c,o=f;continue}}i+=c,o=f,p=u}return a.push(i),a}function Ee(r){return r?r[0].toUpperCase()+r.slice(1):""}function ne(r,s){return r?(Array.isArray(r)?r:ze(r)).map(m=>Ee(m)).join(""):""}const We={"text-sm":"","font-mono":""},oe=R({__name:"ComponentName",props:{component:{}},setup(r){const s=r,m=S(()=>s.component.pascalName||ne(s.component.name||s.component.__name||s.component.kebabName||""));return(a,i)=>(t(),_("code",We,[i[0]||(i[0]=n("span",{mr1:"",op20:""},"<",-1)),X(W(m.value),1),i[1]||(i[1]=n("span",{ml1:"",op20:""},"/>",-1))]))}}),He={flex:"~ col gap1","items-start":"","of-hidden":""},je={flex:"~ gap2",px3:""},Oe={px3:"",pb2:""},Xe={key:0,border:"t base","max-h-60":"","w-full":"","of-auto":"",px3:"",py3:""},qe={"text-sm":""},Ye={"text-primary":""},Ke={key:0,flex:"~ col gap-2","items-start":"",pt3:"","text-sm":"",op75:""},Ze={key:1,border:"t base","max-h-60":"","w-full":"","of-auto":"",px3:"",py3:""},Je={"text-sm":""},Qe={"text-primary":""},en={key:0,flex:"~ col gap-2","items-start":"",pt3:"","text-sm":"",op75:""},te=R({__name:"ComponentDetails",props:{component:{},dependencies:{},dependents:{}},setup(r){const s=r,m=S(()=>s.component.pascalName||ne(s.component.name||s.component.__name||s.component.kebabName||"")),a=S(()=>s.component.filePath||s.component.file||s.component.__file||""),i=ie();return(o,p)=>{const c=oe,u=q,f=Q,g=ee;return t(),_("div",He,[n("div",je,[v(c,{component:o.component},null,8,["component"]),v(u,{title:"Copy name","flex-none":"",icon:"carbon-copy",border:!1,onClick:p[0]||(p[0]=h=>N(i)(`<${m.value}></${m.value}>`,"component-name"))}),o.component.global?(t(),x(f,{key:0,n:"green",title:"Registered at runtime as a global component",textContent:"runtime"})):C("",!0)]),n("div",Oe,[a.value?(t(),x(g,{key:0,filepath:a.value,"w-full":"","text-sm":"",op40:"","group-hover:op75":""},null,8,["filepath"])):C("",!0)]),o.dependents?(t(),_("div",Xe,[n("div",qe,[n("strong",Ye,W(o.dependents.length),1),p[1]||(p[1]=n("span",{op50:""}," references",-1))]),o.dependents.length?(t(),_("div",Ke,[(t(!0),_(T,null,L(o.dependents,h=>(t(),x(g,{key:h,filepath:h},null,8,["filepath"]))),128))])):C("",!0)])):C("",!0),o.dependencies?(t(),_("div",Ze,[n("div",Je,[n("strong",Qe,W(o.dependencies.length),1),p[2]||(p[2]=n("span",{op50:""}," dependencies",-1))]),o.dependencies.length?(t(),_("div",en,[(t(!0),_(T,null,L(o.dependencies,h=>(t(),x(g,{key:h,filepath:h},null,8,["filepath"]))),128))])):C("",!0)])):C("",!0),H(o.$slots,"default")])}}}),nn={flex:"~ gap-x-3 gap-y-1 wrap","w-full":""},on={relative:"","h-full":"","w-full":""},tn={key:0,py4:"",pt4:"",flex:"~ col"},sn={border:"t base",p4:""},ln=R({__name:"ComponentsGraph",props:{components:{},relationships:{}},setup(r){const s=r,m=M(),a=M(),i=pe(),o=ye(),p=re(),c=ue(),u=de(),{componentsGraphShowNodeModules:f,componentsGraphShowGlobalComponents:g,componentsGraphShowPages:h,componentsGraphShowLayouts:V,componentsGraphShowWorkspace:y}=Z("ui"),k=M(),d=M(""),I=me(d,300),F=S(()=>{const P=s.relationships||[];if(k.value){let e=function($){!$||l.has($)||(l.add($),$.deps.forEach(U=>{e(P.find(B=>B.id===U))}))};const l=new Set;return e(k.value),Array.from(l)}return P}),z=S(()=>{const P=F.value.map(l=>{const $=s.components.find(G=>G.filePath===l.id),U=p.value?.find(G=>G.file===l.id),B=u.value?.find(G=>G.file===l.id),j=l.id.replace(/\?.*$/,"").replace(/#.*$/,""),D=l.id.includes("/node_modules/")?"lib":$?$.global?"global":"user":B?"layout":U?"page":"unknown";if(!f.value&&D==="lib"||!h.value&&D==="page"||!V.value&&D==="layout"||!y.value&&D==="user"&&c.value&&!l.id.startsWith(c.value.rootDir)||!g.value&&D==="global")return null;const w=D==="layout"?"hexagon":D==="page"?"square":"dot",Y=I.value&&!l.id.toLowerCase().includes(I.value.toLowerCase());return{id:l.id,label:j.split("/").splice(-1)[0].replace(/\.\w+$/,""),group:D,shape:w,size:15+Math.min(l.deps.length/2,8),font:{color:Y?"#8885":i.value==="dark"?"white":"black"},color:Y?"#8885":k.value?.id===l.id?"#82c742":void 0,extra:{id:l.id,component:$,page:U,layout:B,relationship:l}}}).filter(l=>!!l),e=F.value.flatMap(l=>l.deps.map($=>({from:l.id,to:$,arrows:{to:{enabled:!0,scaleFactor:.8}}})));return{nodes:P,edges:e}}),se=S(()=>o.value?.component?s.relationships?.find(e=>e.id===o.value?.component?.filePath)?.deps?.map(e=>s.relationships?.find(l=>l.id===e)?.id).filter(Boolean):[]),le=S(()=>o.value?.component?s.relationships?.filter(e=>e.deps.includes(o.value.component.filePath))?.map(e=>s.relationships?.find(l=>l.id===e.id)?.id).filter(Boolean):[]);we(()=>{const P={nodes:{shape:"dot",size:16},physics:{repulsion:{centralGravity:.7,springLength:100,springConstant:.01},maxVelocity:146,solver:"forceAtlas2Based",timestep:.35,stabilization:{enabled:!0,iterations:200}},groups:{user:{color:"#42b883"},unknown:{color:"#b86542"},lib:{color:"#b4b842"},page:{color:"#42b2b8"},layout:{color:"#4256b8"}}},e=new De(m.value,z.value,P);e.on("click",l=>{const $=l.nodes?.[0],U=z.value.nodes?.find(B=>B.id===$)?.extra;U&&(o.value=U)}),xe(z,()=>{e.setData(z.value)})});function ae(){k.value=o.value?.relationship,o.value=void 0}return(P,e)=>{const l=Se,$=J,U=ce,B=te,j=q,D=Pe;return t(),_(T,null,[v($,{ref_key:"navbar",ref:a,search:d.value,"onUpdate:search":e[6]||(e[6]=w=>d.value=w),absolute:"","left-0":"","right-0":"","top-0":""},{actions:b(()=>[n("div",nn,[v(l,{modelValue:N(h),"onUpdate:modelValue":e[0]||(e[0]=w=>A(h)?h.value=w:null),n:"primary sm"},{default:b(()=>e[9]||(e[9]=[n("span",{op75:""},"Show pages",-1)])),_:1},8,["modelValue"]),v(l,{modelValue:N(V),"onUpdate:modelValue":e[1]||(e[1]=w=>A(V)?V.value=w:null),n:"primary sm"},{default:b(()=>e[10]||(e[10]=[n("span",{op75:""},"Show layouts",-1)])),_:1},8,["modelValue"]),v(l,{modelValue:N(y),"onUpdate:modelValue":e[2]||(e[2]=w=>A(y)?y.value=w:null),n:"primary sm"},{default:b(()=>e[11]||(e[11]=[n("span",{op75:""},"Show workspace",-1)])),_:1},8,["modelValue"]),v(l,{modelValue:N(f),"onUpdate:modelValue":e[3]||(e[3]=w=>A(f)?f.value=w:null),n:"primary sm"},{default:b(()=>e[12]||(e[12]=[n("span",{op75:""},"Show node_modules",-1)])),_:1},8,["modelValue"]),v(l,{modelValue:N(g),"onUpdate:modelValue":e[4]||(e[4]=w=>A(g)?g.value=w:null),n:"primary sm"},{default:b(()=>e[13]||(e[13]=[n("span",{op75:""},"Show global components",-1)])),_:1},8,["modelValue"])]),k.value?(t(),_("button",{key:0,flex:"~ gap-1","flex-none":"","items-center":"","rounded-full":"","bg-gray:20":"",py1:"",pl3:"",pr2:"","text-xs":"",op50:"","hover:op100":"",onClick:e[5]||(e[5]=w=>k.value=void 0)},e[14]||(e[14]=[X(" Clear filter "),n("div",{"i-carbon-close":""},null,-1)]))):C("",!0),e[15]||(e[15]=n("div",{"flex-auto":""},null,-1)),H(P.$slots,"default")]),_:3},8,["search"]),n("div",on,[n("div",{ref_key:"container",ref:m,"h-full":"","w-full":""},null,512),v(U,{absolute:"","bottom-3":"","left-3":"","border-0":"",p2:"",px3:"","text-sm":"","n-glass-effect":""},{default:b(()=>e[16]||(e[16]=[n("div",{grid:"~ cols-[20px_1fr] items-center gap-y-1"},[n("div",{"h-3":"","w-3":"","rounded-full":"","bg-hex-42b883":""}),n("div",{op50:""}," Component "),n("div",{"h-3":"","w-3":"","rounded-full":"","bg-hex-97c2fc":""}),n("div",{op50:""}," Global Component "),n("div",{"h-3":"","w-3":"","bg-hex-42b2b8":""}),n("div",{op50:""}," Page "),n("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 726 628","ml--1px":"","h-3":""},[n("path",{fill:"#4256b8","stroke-width":"4",d:"M723 314 543 625.8H183L3 314 183 2.2h360L723 314z"})]),n("div",{op50:""}," Layout "),n("div",{"h-3":"","w-3":"","rounded-full":"","bg-hex-b4b842":""}),n("div",{op50:""}," Library Component "),n("div",{"h-3":"","w-3":"","rounded-full":"","bg-hex-b86542":""}),n("div",{op50:""}," Unknown ")],-1)])),_:1}),v(D,{"model-value":!!(o.value&&o.value.component),top:a.value,border:"t l base","w-80":"",onClose:e[8]||(e[8]=w=>o.value=void 0)},{default:b(()=>[o.value&&o.value.component?(t(),_("div",tn,[v(B,{component:o.value.component,dependencies:se.value,dependents:le.value},null,8,["component","dependencies","dependents"]),n("div",sn,[v(j,{n:"primary solid",onClick:e[7]||(e[7]=w=>ae())},{default:b(()=>e[17]||(e[17]=[X(" Filter to this component ")])),_:1})])])):C("",!0)]),_:1},8,["model-value","top"])])],64)}}}),an={hover:"bg-active",class:"group",flex:"~ gap2","w-full":"","items-center":"",rounded:"",px2:"",py1:""},pn={key:0,"ml--1":"","text-primary":""},rn=R({__name:"ComponentItem",props:{component:{},dependencies:{},dependents:{}},setup(r){const s=r,m=S(()=>s.component.filePath||s.component.file||s.component.__file||"");return(a,i)=>{const o=oe,p=te,c=Ce("VDropdown"),u=Q,f=ee;return t(),_("div",an,[v(c,null,{popper:b(()=>[v(p,{component:a.component,dependencies:a.dependencies,dependents:a.dependents,"w-100":"",pt4:""},null,8,["component","dependencies","dependents"])]),default:b(()=>[n("button",{"hover:text-primary":"",class:ke(a.dependents&&a.dependents.length===0?"op50":"")},[v(o,{component:a.component},null,8,["component"])],2)]),_:1}),a.dependents?.length?(t(),_("sup",pn," x"+W(a.dependents?.length),1)):C("",!0),a.component.global?(t(),x(u,{key:1,n:"green",title:"Registered at runtime as a global component",textContent:"runtime"})):C("",!0),H(a.$slots,"default"),m.value?(t(),x(f,{key:2,filepath:m.value,"text-sm":"",op25:"","group-hover:op75":""},null,8,["filepath"])):C("",!0)])}}}),un={flex:"~ gap-2 items-center"},dn={pl4:""},mn=R({__name:"ComponentsList",props:{components:{},relationships:{}},setup(r){const s=r,m=M(""),a=M("all"),i=S(()=>{const c=s.components.map(u=>fe(u,s.relationships));return a.value==="using"?c.filter(u=>u.dependents?.length):a.value==="not-used"?c.filter(u=>!u.dependents?.length):c}),o=S(()=>new ve(i.value,{keys:["component.pascalName","component.filePath","component.kebabName"]})),p=S(()=>{const c=[],u=new Map,f=[],g=[],h={user:0,lib:0,builtin:0,runtime:0};return(m.value?o.value.search(m.value).map(y=>y.item):i.value).forEach(y=>{const k=y.component;if(k.filePath&&_e(k.filePath)){const d=he(k.filePath);if(!d)return;d==="nuxt"?(f.push(y),h.builtin++):(u.has(d)||u.set(d,[]),u.get(d).push(y),h.lib++)}else k.global&&!k.filePath?(g.push(y),h.runtime++):(c.push(y),h.user++)}),{count:h,user:c,builtin:f,lib:u,runtime:g}});return(c,u)=>{const f=be,g=Te,h=J,V=rn,y=Ue,k=Be;return t(),_(T,null,[v(h,{search:m.value,"onUpdate:search":u[1]||(u[1]=d=>m.value=d),pb3:""},{actions:b(()=>[H(c.$slots,"default")]),default:b(()=>[n("div",un,[v(f,{icon:"carbon-filter",op50:""}),v(g,{modelValue:a.value,"onUpdate:modelValue":u[0]||(u[0]=d=>a.value=d),n:"primary sm",options:[{label:"All",value:"all"},{label:"Using",value:"using"},{label:"Not used",value:"not-used"}]},null,8,["modelValue"])])]),_:3},8,["search"]),p.value.user.length?(t(),x(y,{key:0,icon:"carbon-nominal",text:"User components",open:p.value.user.length<=N(O),description:`Total components: ${p.value.count.user}`},{default:b(()=>[(t(!0),_(T,null,L(p.value.user,d=>(t(),x(V,E({key:d.component.filePath,ref_for:!0},d),null,16))),128))]),_:1},8,["open","description"])):C("",!0),p.value.runtime.length?(t(),x(y,{key:1,icon:"carbon-load-balancer-global",open:p.value.runtime.length<=N(O),text:"Runtime components",description:`Total components: ${p.value.count.runtime}`},{default:b(()=>[(t(!0),_(T,null,L(p.value.runtime,d=>(t(),x(V,E({key:d.component.filePath,ref_for:!0},d),null,16))),128))]),_:1},8,["open","description"])):C("",!0),p.value.builtin.length?(t(),x(y,{key:2,icon:"simple-icons-nuxtdotjs",text:"Built-in components",description:`Total components: ${p.value.count.builtin}`},{default:b(()=>[(t(!0),_(T,null,L(p.value.builtin,d=>(t(),x(V,E({key:d.component.filePath,ref_for:!0},d),null,16))),128))]),_:1},8,["description"])):C("",!0),p.value.lib.size?(t(),x(y,{key:3,open:p.value.count.lib<=N(O),icon:"carbon-3d-mpr-toggle",text:"Components from libraries",description:`${p.value.count.lib} components from ${p.value.lib.size} packages`},{default:b(()=>[(t(!0),_(T,null,L(p.value.lib.entries(),([d,I])=>(t(),_("div",{key:d,"ml-2":""},[v(k,{text:`${d} (${I.length})`,py1:"",op50:""},null,8,["text"]),n("div",dn,[(t(!0),_(T,null,L(I,F=>(t(),x(V,E({key:F.component.filePath,ref_for:!0},F),null,16))),128))])]))),128))]),_:1},8,["open","description"])):C("",!0)],64)}}}),cn={relative:"","h-full":"","of-auto":""},fn={"flex-none":"",flex:"~ gap3"},Tn=R({__name:"components",setup(r){const s=ge(),m=Le(),a=Me(),{componentsView:i}=Z("ui");function o(){s.value?.inspector?.instance&&s.value.inspector.enable()}function p(){i.value=i.value==="list"?"graph":"list"}return(c,u)=>{const f=q,g=Ie,h=Ve,V=$e("tooltip");return t(),_(T,null,[n("div",cn,[(t(),x(Ne(N(i)==="list"?mn:ln),{components:N(m),relationships:N(a)},{default:b(()=>[n("div",fn,[K(v(f,{"text-lg":"",border:!1,icon:N(i)==="graph"?"i-carbon-list":"i-carbon-network-4",title:"Toggle view",onClick:p},null,8,["icon"]),[[V,"Toggle View",void 0,{"bottom-end":!0}]]),N(s)?.inspector?.instance?K((t(),x(f,{key:0,"text-lg":"",border:!1,icon:"i-tabler-focus-2",title:"Inspect Vue components",onClick:o},null,512)),[[V,"Inspect Vue components",void 0,{"bottom-end":!0}]]):C("",!0)])]),_:1},8,["components","relationships"]))]),v(h,null,{default:b(()=>[v(g)]),_:1})],64)}}});export{Tn as default};
@@ -1 +0,0 @@
1
- import{_ as B}from"./nmarkdown.vue-jpbjhala.js";import{a as I,L as U,_ as D}from"./hjpmj1xu.js";import{_ as $}from"./filepath-item.vue-bisii3l4.js";import{C as y}from"./constants-b32h69zq.js";import{p as E,q as l,V as F,U as s,P as r,a2 as i,X as o,Z as u,a3 as j,u as x,a9 as d,W as c,F as k,a8 as v,ae as L,a0 as S}from"./vendor/json-editor-vue-kcahofzr.js";const W={"hover:text-primary":""},q={key:0,"text-primary":""},z={"max-w-100":""},M={px4:"",py3:"","text-sm":""},O={flex:"~ gap2",n:"primary xs"},P={border:"t base","max-h-60":"","of-auto":"",px4:"",py3:""},T={"text-sm":""},X={"text-primary":""},Z={flex:"~ col gap-2","items-start":"",pt3:"","text-sm":"",op75:""},A={key:1,"text-sm":"",op50:""},R=E({__name:"ComposableItem",props:{item:{},metadata:{},filepath:{},counter:{type:Boolean,default:!0},classes:{default:"px2 py1 text-sm bg-gray:5 "}},setup(b){const t=b,g=I(),C=U(),m=l(()=>t.item.as||t.item.name),n=l(()=>t.metadata?.injectionUsage?.[m.value]?.count||0),h=l(()=>(t.metadata?.injectionUsage?.[m.value]?.moduleIds||[]).filter(a=>!a.endsWith("?macro=true"))),_=l(()=>t.item.meta?.docsUrl?t.item.meta.docsUrl:["nuxt","#app","nuxt3"].includes(t.item.from)?y.nuxt[t.item.name]:t.item.from==="vue"?y.vue[t.item.name]:null);return(a,e)=>{const w=B,f=D,N=$,V=F("VDropdown");return s(),r(V,{disabled:!t.metadata},{popper:i(()=>[o("div",z,[o("div",M,[a.item.meta?.description?(s(),r(w,{key:0,tag:"div",pb3:"","text-sm":"",markdown:a.item.meta.description},null,8,["markdown"])):u("",!0),o("div",O,[j(f,{icon:"carbon-copy",onClick:e[0]||(e[0]=p=>x(g)(m.value,"imports-name"))},{default:i(()=>e[2]||(e[2]=[d(" Copy ")])),_:1}),a.filepath?(s(),r(f,{key:0,icon:"carbon-code",onClick:e[1]||(e[1]=p=>a.filepath&&x(C)(a.filepath))},{default:i(()=>e[3]||(e[3]=[d(" Source ")])),_:1})):u("",!0),_.value?(s(),r(f,{key:1,icon:"carbon-catalog",to:_.value,target:"_blank"},{default:i(()=>e[4]||(e[4]=[d(" Docs ")])),_:1},8,["to"])):u("",!0)])]),o("div",P,[n.value?(s(),c(k,{key:0},[o("div",T,[e[5]||(e[5]=o("span",{op50:""},"It has been referenced ",-1)),o("strong",X,v(n.value),1),e[6]||(e[6]=o("span",{op50:""}," times by:",-1))]),o("div",Z,[(s(!0),c(k,null,L(h.value,p=>(s(),r(N,{key:p,filepath:p},null,8,["filepath"]))),128))])],64)):(s(),c("div",A," Not in use via auto import. "))])])]),default:i(()=>[o("button",W,[o("code",{rounded:"","font-mono":"",class:S([a.metadata&&!n.value?"op30 hover:op100":"",a.classes])},[d(v(m.value)+" ",1),n.value&&a.counter?(s(),c("sup",q,"x"+v(n.value),1)):u("",!0)],2)])]),_:1},8,["disabled"])}}});export{R as _};