@nuxt/devtools-nightly 2.3.2-29049464.f919dbc → 2.3.2-29063418.466ae9d
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/module-main.mjs +1 -1
- package/dist/client/200.html +13 -13
- package/dist/client/404.html +13 -13
- package/dist/client/_nuxt/{analyze-build-h372hzhl.js → analyze-build-nxofrn6d.js} +1 -1
- package/dist/client/_nuxt/{assets-hsm22i37.js → assets-ifclpc8y.js} +1 -1
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/a5caea25-4c21-4d1e-8c9c-22c556cc2ef9.json +1 -0
- package/dist/client/_nuxt/{code-diff.vue-j6yb9zng.js → code-diff.vue-grlfak11.js} +1 -1
- package/dist/client/_nuxt/{code-snippets.vue-mrqzps1c.js → code-snippets.vue-eri1dn59.js} +1 -1
- package/dist/client/_nuxt/{components-ffof0q1r.js → components-i63k3f39.js} +1 -1
- package/dist/client/_nuxt/{composable-item.vue-cn7ta8r4.js → composable-item.vue-8ciq4i7e.js} +1 -1
- package/dist/client/_nuxt/{custom-_name_-hqx5k2dc.js → custom-_name_-mxexjazk.js} +1 -1
- package/dist/client/_nuxt/{data-schema-button.vue-gcl1hf1l.js → data-schema-button.vue-odamdtke.js} +1 -1
- package/dist/client/_nuxt/{data-schema-drawer-0twv8244.js → data-schema-drawer-o2ex4xdi.js} +1 -1
- package/dist/client/_nuxt/{debug-jaqs8mxl.js → debug-opg2wdvl.js} +1 -1
- package/dist/client/_nuxt/{default-cpha28l9.js → default-nt2uauk0.js} +1 -1
- package/dist/client/_nuxt/{entry.css-n6hiodwz.css → entry.css-kd26hpr1.css} +1 -1
- package/dist/client/_nuxt/{error-404-irc6oh7d.js → error-404-d4p5c3je.js} +1 -1
- package/dist/client/_nuxt/{error-500-bp37k41y.js → error-500-jnjdfg3f.js} +1 -1
- package/dist/client/_nuxt/{error-ja6yekr9.js → error-cyze2h6r.js} +1 -1
- package/dist/client/_nuxt/{filepath-item.vue-latcxt70.js → filepath-item.vue-h3uqsfei.js} +1 -1
- package/dist/client/_nuxt/{full-j90lq5iw.js → full-eeajg6le.js} +1 -1
- package/dist/client/_nuxt/{help-fab.vue-oku0yt66.js → help-fab.vue-fqlpgaqn.js} +1 -1
- package/dist/client/_nuxt/{hooks-i3nfjpla.js → hooks-h30b1it3.js} +1 -1
- package/dist/client/_nuxt/{imports-fs5eliwq.js → imports-j1fy67ov.js} +1 -1
- package/dist/client/_nuxt/{index-ik8jz9fn.js → index-fynro850.js} +1 -1
- package/dist/client/_nuxt/{cbulnwf4.js → k0fd6dgf.js} +4 -4
- package/dist/client/_nuxt/{launch-page.vue-ji858ejl.js → launch-page.vue-e5oimxcb.js} +1 -1
- package/dist/client/_nuxt/modules-mjo9667y.js +1 -0
- package/dist/client/_nuxt/{nbadge-eref2ecd.js → nbadge-me5yiy1q.js} +1 -1
- package/dist/client/_nuxt/{ncheckbox.vue-hffyw21f.js → ncheckbox.vue-j0uj4n04.js} +1 -1
- package/dist/client/_nuxt/{ndrawer.vue-nvp52lv2.js → ndrawer.vue-cjktwr1e.js} +1 -1
- package/dist/client/_nuxt/{ndropdown.vue-nhhmlgrx.js → ndropdown.vue-hrjof0yg.js} +1 -1
- package/dist/client/_nuxt/{nlink.vue-dygmks1i.js → nlink.vue-guc51q1k.js} +1 -1
- package/dist/client/_nuxt/{nnavbar.vue-g6z7o7a7.js → nnavbar.vue-m1zvooyj.js} +1 -1
- package/dist/client/_nuxt/{none-ibagw3tw.js → none-gsowrom9.js} +1 -1
- package/dist/client/_nuxt/{nsection-block-e266jb65.js → nsection-block-cq5lwq9a.js} +1 -1
- package/dist/client/_nuxt/{nselect-tabs.vue-cg6wk582.js → nselect-tabs.vue-faenzk1c.js} +1 -1
- package/dist/client/_nuxt/{nselect.vue-iftgtkgg.js → nselect.vue-fiimfxcn.js} +1 -1
- package/dist/client/_nuxt/{open-graph-f2dg39ib.js → open-graph-ekgahjs6.js} +1 -1
- package/dist/client/_nuxt/{overview-om2ackqu.js → overview-pal1vmcs.js} +1 -1
- package/dist/client/_nuxt/{pages-c57lii5i.js → pages-b7g0f864.js} +1 -1
- package/dist/client/_nuxt/{payload-bch3mze7.js → payload-eyytjrb5.js} +1 -1
- package/dist/client/_nuxt/{pinia-j2j6geoo.js → pinia-ei4xdvh0.js} +1 -1
- package/dist/client/_nuxt/{plugins-mufhtm2m.js → plugins-mzrcrc69.js} +1 -1
- package/dist/client/_nuxt/{render-tree-gwykt1s1.js → render-tree-j380qqo5.js} +1 -1
- package/dist/client/_nuxt/{runtime-configs-gw9rujw7.js → runtime-configs-e2rjckna.js} +1 -1
- package/dist/client/_nuxt/{server-discovery-bxwzo375.js → server-discovery-g06jkll4.js} +1 -1
- package/dist/client/_nuxt/{server-route-inputs.vue-cialucv5.js → server-route-inputs.vue-lhg07tab.js} +1 -1
- package/dist/client/_nuxt/{server-routes-nev9vbix.js → server-routes-dkldu9lu.js} +1 -1
- package/dist/client/_nuxt/{server-tasks-ct9dyvag.js → server-tasks-d221gaij.js} +1 -1
- package/dist/client/_nuxt/{settings-gqpqrc48.js → settings-jf3tlbtt.js} +1 -1
- package/dist/client/_nuxt/{stacktrace-list.vue-h2nd1sl5.js → stacktrace-list.vue-c4s8wzue.js} +1 -1
- package/dist/client/_nuxt/{state-components-la71a6c0.js → state-components-on94960l.js} +1 -1
- package/dist/client/_nuxt/{state-editor.vue-ei1c3y3v.js → state-editor.vue-fw3l728h.js} +1 -1
- package/dist/client/_nuxt/{state-modules-e4cqrpuu.js → state-modules-ir4od9wq.js} +1 -1
- package/dist/client/_nuxt/{storage-bubugx8q.js → storage-jg8cbf5h.js} +1 -1
- package/dist/client/_nuxt/{terminals-dg2yhvkq.js → terminals-jzmucum8.js} +1 -1
- package/dist/client/_nuxt/{timeline-nhw2s7p4.js → timeline-ji3q5huu.js} +1 -1
- package/dist/client/_nuxt/{virtual-files-o65eg5n8.js → virtual-files-chde1ka4.js} +1 -1
- package/dist/client/_nuxt/{vue-devtools-b65wrkhu.js → vue-devtools-lxnbrkj8.js} +1 -1
- package/dist/client/index.html +13 -13
- package/dist/module.json +1 -1
- package/package.json +4 -4
- package/dist/client/_nuxt/builds/meta/96797ab8-5586-4de4-be62-2490dfe8020a.json +0 -1
- package/dist/client/_nuxt/modules-dj84p8o1.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as a,d as i,e as u}from"./
|
|
1
|
+
import{b as a,d as i,e as u}from"./k0fd6dgf.js";import{O as c,a0 as l,P as e,a7 as r,a2 as d,a1 as p,a8 as f}from"./vendor/json-editor-vue-huf8dypo.js";import"./vendor/unocss-e7oqigho.js";import"./vendor/shiki-jv02kgzv.js";const m={class:"antialiased bg-white dark:bg-black dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-black"},g={class:"max-w-520px text-center z-20"},h=["textContent"],b=["textContent"],x={class:"flex items-center justify-center w-full"},y={__name:"error-404",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:404},statusMessage:{type:String,default:"Not Found"},description:{type:String,default:"Sorry, the page you are looking for could not be found."},backHome:{type:String,default:"Go back home"}},setup(t){const n=t;return i({title:`${n.statusCode} - ${n.statusMessage} | ${n.appName}`,script:[{children:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver((e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)})).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{children:'*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}h1,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(k,o)=>{const s=u;return l(),c("div",m,[o[0]||(o[0]=e("div",{class:"fixed left-0 right-0 spotlight z-10"},null,-1)),e("div",g,[e("h1",{class:"font-medium mb-8 sm:text-10xl text-8xl",textContent:r(t.statusCode)},null,8,h),e("p",{class:"font-light leading-tight mb-16 px-8 sm:px-0 sm:text-4xl text-xl",textContent:r(t.description)},null,8,b),e("div",x,[d(s,{to:"/",class:"cursor-pointer gradient-border px-4 py-2 sm:px-6 sm:py-3 sm:text-xl text-md"},{default:p(()=>[f(r(t.backHome),1)]),_:1})])])])}}},N=a(y,[["__scopeId","data-v-ec44e9eb"]]);export{N as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as s,d as a}from"./
|
|
1
|
+
import{b as s,d as a}from"./k0fd6dgf.js";import{O as i,a0 as u,P as e,a7 as o}from"./vendor/json-editor-vue-huf8dypo.js";import"./vendor/unocss-e7oqigho.js";import"./vendor/shiki-jv02kgzv.js";const l={class:"antialiased bg-white dark:bg-black dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-black"},c={class:"max-w-520px text-center"},d=["textContent"],p=["textContent"],f={__name:"error-500",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:500},statusMessage:{type:String,default:"Server error"},description:{type:String,default:"This page is temporarily unavailable."}},setup(t){const r=t;return a({title:`${r.statusCode} - ${r.statusMessage} | ${r.appName}`,script:[{children:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver((e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)})).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{children:'*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1{font-size:inherit;font-weight:inherit}h1,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(g,n)=>(u(),i("div",l,[n[0]||(n[0]=e("div",{class:"-bottom-1/2 fixed h-1/2 left-0 right-0 spotlight"},null,-1)),e("div",c,[e("h1",{class:"font-medium mb-8 sm:text-10xl text-8xl",textContent:o(t.statusCode)},null,8,d),e("p",{class:"font-light leading-tight mb-16 px-8 sm:px-0 sm:text-4xl text-xl",textContent:o(t.description)},null,8,p)])]))}},y=s(f,[["__scopeId","data-v-a113d221"]]);export{y as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{f as E,q as x}from"./
|
|
1
|
+
import{f as E,q as x}from"./k0fd6dgf.js";import{_ as N}from"./stacktrace-list.vue-c4s8wzue.js";import{q as y,u as v,O as l,a0 as i,a2 as C,P as f,Q as _,a1 as w,a8 as S,a7 as p,R as O}from"./vendor/json-editor-vue-huf8dypo.js";import"./vendor/unocss-e7oqigho.js";import"./vendor/shiki-jv02kgzv.js";import"./filepath-item.vue-h3uqsfei.js";const R=/(^|@)\S+:\d+/,h=/^\s*at .*(\S+:\d+|\(native\))/m,$=/^(eval@)?(\[native code\])?$/;function F(e,a){if(typeof e.stacktrace<"u"||typeof e["opera#sourceloc"]<"u")return T(e);if(e.stack&&e.stack.match(h))return I(e);if(e.stack)return A(e);throw new Error("Cannot parse given Error object")}function m(e){if(!e.includes(":"))return[e,void 0,void 0];const o=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(e.replace(/[()]/g,""));return[o[1],o[2]||void 0,o[3]||void 0]}function d(e,a){return e}function I(e,a){return b(e.stack)}function b(e,a){return d(e.split(`
|
|
2
2
|
`).filter(t=>!!t.match(h))).map(t=>{t.includes("(eval ")&&(t=t.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(,.*$)/g,""));let r=t.replace(/^\s+/,"").replace(/\(eval code/g,"(").replace(/^.*?\s+/,"");const n=r.match(/ (\(.+\)$)/);r=n?r.replace(n[0],""):r;const c=m(n?n[1]:r),s=n&&r||void 0,u=["eval","<anonymous>"].includes(c[0])?void 0:c[0];return{function:s,file:u,line:c[1]?+c[1]:void 0,col:c[2]?+c[2]:void 0,raw:t}})}function A(e,a){return P(e.stack)}function P(e,a){return d(e.split(`
|
|
3
3
|
`).filter(t=>!t.match($))).map(t=>{if(t.includes(" > eval")&&(t=t.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),!t.includes("@")&&!t.includes(":"))return{function:t};{const r=/(([^\n\r"\u2028\u2029]*".[^\n\r"\u2028\u2029]*"[^\n\r@\u2028\u2029]*(?:@[^\n\r"\u2028\u2029]*"[^\n\r@\u2028\u2029]*)*(?:[\n\r\u2028\u2029][^@]*)?)?[^@]*)@/,n=t.match(r),c=n&&n[1]?n[1]:void 0,s=m(t.replace(r,""));return{function:c,file:s[0],line:s[1]?+s[1]:void 0,col:s[2]?+s[2]:void 0,raw:t}}})}function T(e,a){return!e.stacktrace||e.message.includes(`
|
|
4
4
|
`)&&e.message.split(`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{w as k,a as c,A as g,a3 as C}from"./
|
|
1
|
+
import{w as k,a as c,A as g,a3 as C}from"./k0fd6dgf.js";import{q as b,u as B,O as t,a0 as a,P as s,S as N,Q as u,F as l,a8 as d,a7 as r,W as S,v as m}from"./vendor/json-editor-vue-huf8dypo.js";const w={flex:"~ gap-2 items-center",class:"group"},E=["title"],F={key:0,op50:""},I={key:0,flex:"~ gap1",pr2:"",op0:"","group-hover:op100":""},$=b({__name:"FilepathItem",props:{filepath:{},lineBreak:{type:Boolean},subpath:{type:Boolean},override:{}},setup(f){const p=f,v=k(),h=c(),i=g(),n=B(()=>p.filepath&&i.value?C(p.filepath,i.value.rootDir):{path:p.filepath||""});return(e,o)=>(a(),t("span",w,[s("span",{class:S([e.lineBreak?"":"ws-nowrap of-hidden truncate"]),"font-mono":"",title:e.override||e.filepath},[e.override?(a(),t(l,{key:0},[d(r(e.override),1)],64)):n.value.moduleName?(a(),t(l,{key:1},[s("span",null,r(n.value.moduleName),1),e.subpath?(a(),t("span",F,r(n.value.path.slice(n.value.moduleName.length)),1)):u("",!0)],64)):(a(),t(l,{key:2},[d(r(n.value.path),1)],64))],10,E),N(e.$slots,"default"),e.filepath?(a(),t("div",I,[s("button",{"text-sm":"",op40:"",hover:"op100 text-primary",title:"Open in editor",onClick:o[0]||(o[0]=y=>m(v)(e.filepath))},o[2]||(o[2]=[s("div",{"i-carbon-script-reference":""},null,-1)])),s("button",{"text-sm":"",op40:"",hover:"op100 text-primary",title:"Copy path",onClick:o[1]||(o[1]=y=>m(h)(e.filepath))},o[3]||(o[3]=[s("div",{"i-carbon-copy":""},null,-1)]))])):u("",!0)]))}});export{$ as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as t}from"./
|
|
1
|
+
import{b as t}from"./k0fd6dgf.js";import{O as e,a0 as r,S as s}from"./vendor/json-editor-vue-huf8dypo.js";import"./vendor/unocss-e7oqigho.js";import"./vendor/shiki-jv02kgzv.js";const a={},c={"h-full":"","of-auto":""};function n(o,f){return r(),e("div",c,[s(o.$slots,"default")])}const d=t(a,[["render",n]]);export{d as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as f,_ as m}from"./
|
|
1
|
+
import{g as f,_ as m}from"./k0fd6dgf.js";import{q as v,k as c,O as o,Q as s,v as k,a0 as a,F as g,P as r,a2 as l,L as u,a1 as i,S as _}from"./vendor/json-editor-vue-huf8dypo.js";const x={key:0,border:"l base",class:"prose",pos:"fixed bottom-0 right-0 top-0","z-200":"","h-full":"","w-150":"","overflow-auto":"",px8:"",py4:"","bg-base":""},y=v({__name:"HelpFab",setup(w){const t=c(!1),{showHelpButtons:p}=f("ui");return(d,e)=>{const b=m;return k(p)?(a(),o(g,{key:0},[r("button",{pos:"absolute bottom-5 right-5",border:"~ base rounded-full ",flex:"~ items-center justify-center","z-110":"","h-11":"","w-11":"","backdrop-blur-8":"",bg:"bg-base op50!","light:shadow":"",hover:"bg-active",title:"Help",onClick:e[0]||(e[0]=n=>t.value=!t.value)},e[3]||(e[3]=[r("div",{"i-ri:question-mark":""},null,-1)])),l(u,{name:"fade-in"},{default:i(()=>[t.value?(a(),o("div",{key:0,class:"fixed bottom-0 left-0 right-0 top-0 z-100","bg-black:20":"","backdrop-blur-2":"",onClick:e[1]||(e[1]=n=>t.value=!1)})):s("",!0)]),_:1}),l(u,{name:"slide-in"},{default:i(()=>[t.value?(a(),o("div",x,[_(d.$slots,"default"),l(b,{icon:"carbon-close",pos:"absolute top-3 right-3","rounded-full":"","text-xl":"",border:!1,onClick:e[2]||(e[2]=n=>t.value=!1)})])):s("",!0)]),_:3})],64)):s("",!0)}}});export{y as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as S}from"./duration-display.vue-lb5nc1xj.js";import{g as T}from"./color-mt9xuhgy.js";import{q as $,k as H,u as w,O as h,a0 as u,P as o,a8 as l,W as p,F as y,ad as F,a7 as m,U as B,v as k,a2 as _,R as C,Q as N,a1 as f}from"./vendor/json-editor-vue-huf8dypo.js";import{_ as P}from"./nsection-block-
|
|
1
|
+
import{_ as S}from"./duration-display.vue-lb5nc1xj.js";import{g as T}from"./color-mt9xuhgy.js";import{q as $,k as H,u as w,O as h,a0 as u,P as o,a8 as l,W as p,F as y,ad as F,a7 as m,U as B,v as k,a2 as _,R as C,Q as N,a1 as f}from"./vendor/json-editor-vue-huf8dypo.js";import{_ as P}from"./nsection-block-cq5lwq9a.js";import{_ as V}from"./help-fab.vue-fqlpgaqn.js";import{s as D,f as O}from"./k0fd6dgf.js";import"./nicon-title.vue-oyhtd7jm.js";import"./vendor/unocss-e7oqigho.js";import"./vendor/shiki-jv02kgzv.js";const E={"w-full":""},j={border:"b base"},L={"select-none":"","ws-nowrap":"",p1:"","text-right":"","font-bold":""},z={colspan:"2",p1:"",pl5:"","text-left":"","font-bold":""},A={"ws-nowrap":"",p1:"","text-center":"","font-bold":""},R={"ws-nowrap":"",p1:"","text-center":"","font-bold":""},U={"ws-nowrap":"",p1:"","text-right":"","font-bold":""},Y={"w-0":"","ws-nowrap":"","text-center":"","text-sm":"",op25:""},q={"text-sm":""},Q={"ws-nowrap":""},W={"text-sm":""},G={"w-0":"","text-center":"","text-sm":""},J={"w-0":"","text-center":"","text-sm":""},K={"w-0":"","text-right":"","text-sm":""},M=$({__name:"HooksTable",props:{hooks:{}},setup(x){const a=x,r=H("duration"),n=H("asc"),d={duration:(e,t)=>(t.duration??Number.POSITIVE_INFINITY)-(e.duration??Number.POSITIVE_INFINITY),name:(e,t)=>e.name.localeCompare(t.name),listener:(e,t)=>t.listeners-e.listeners,start:(e,t)=>t.start-e.start,executions:(e,t)=>t.executions.length-e.executions.length},g=w(()=>a.hooks.map(e=>e.start).sort((e,t)=>e-t)),b=w(()=>{const e=d[r.value],t=[...a.hooks].sort(e);return n.value==="desc"&&t.reverse(),t});function c(e){const t=e.split(":");return t.length===1?"":`${t[0]}:`}function v(e){const t=e.split(":");return t.length===1?e:t.slice(1).join(":")}function i(e){r.value===e?n.value=n.value==="asc"?"desc":"asc":r.value=e}return(e,t)=>{const I=S;return u(),h("table",E,[o("thead",j,[o("tr",null,[o("th",L,[o("button",{onClick:t[0]||(t[0]=s=>i("start"))},[t[5]||(t[5]=l(" Order ")),o("div",{"ml--1":"","text-xs":"",class:p([r.value==="start"?"op50":"op0",n.value==="asc"?"carbon-arrow-down":"carbon-arrow-up"])},null,2)])]),o("th",z,[o("button",{onClick:t[1]||(t[1]=s=>i("name"))},[t[6]||(t[6]=l(" Hook name ")),o("div",{"ml--1":"","text-xs":"",class:p([r.value==="name"?"op50":"op0",n.value==="asc"?"carbon-arrow-down":"carbon-arrow-up"])},null,2)])]),o("th",A,[o("button",{onClick:t[2]||(t[2]=s=>i("listener"))},[t[7]||(t[7]=l(" Listeners ")),o("div",{"ml--1":"","text-xs":"",class:p([r.value==="listener"?"op50":"op0",n.value==="asc"?"carbon-arrow-down":"carbon-arrow-up"])},null,2)])]),o("th",R,[o("button",{onClick:t[3]||(t[3]=s=>i("executions"))},[t[8]||(t[8]=l(" Executions ")),o("div",{"ml--1":"","text-xs":"",class:p([r.value==="executions"?"op50":"op0",n.value==="asc"?"carbon-arrow-down":"carbon-arrow-up"])},null,2)])]),o("th",U,[o("button",{onClick:t[4]||(t[4]=s=>i("duration"))},[t[9]||(t[9]=l(" Duration ")),o("div",{"ml--1":"","text-xs":"",class:p([r.value==="duration"?"op50":"op0",n.value==="asc"?"carbon-arrow-down":"carbon-arrow-up"])},null,2)])])])]),o("tbody",null,[(u(!0),h(y,null,F(b.value,s=>(u(),h("tr",{key:s.name,border:"b dashed transparent hover:base"},[o("td",Y,m(g.value.indexOf(s.start)),1),o("td",{"w-0":"","ws-nowrap":"","text-right":"",style:B({color:("getHslColorFromStringHash"in e?e.getHslColorFromStringHash:k(T))(c(s.name))})},[o("code",q,m(c(s.name)),1)],4),o("td",Q,[o("code",W,m(v(s.name)),1)]),o("td",G,m(s.listeners),1),o("td",J,m(s.executions.length+1),1),o("td",K,[_(I,{duration:s.duration},null,8,["duration"])])]))),128))])])}}}),X={class:"markdown-body"},Z={__name:"hooks",setup(x,{expose:a}){return a({frontmatter:{}}),(n,d)=>(u(),h("div",X,d[0]||(d[0]=[o("h1",null,"Hooks",-1),o("p",null,[l("Hooks are an advanced API which can be used for module development or other advanced use cases. The hooking API can be used to expand almost every aspect of Nuxt. Under the hood it is powered by "),o("a",{href:"https://github.com/unjs/hookable",target:"_blank",rel:"noopener"},"unjs/hookable"),l(".")],-1),o("p",null,[o("a",{href:"https://nuxt.com/docs/guide/going-further/hooks",target:"_blank",rel:"noopener"},"Learn more about hooks"),l(".")],-1)])))}},ut=$({__name:"hooks",setup(x){const a=D(),r=O(),n=w(()=>r.value?.metrics.clientHooks());return(d,g)=>{const b=M,c=P,v=Z,i=V;return u(),h(y,null,[o("div",null,[n.value?.length?(u(),C(c,{key:0,icon:"carbon-ibm-cloud-direct-link-1-dedicated-hosting",text:"Client Hooks",description:`Total hooks: ${n.value.length}`,padding:"pl4 pr6"},{default:f(()=>[_(b,{hooks:n.value},null,8,["hooks"])]),_:1},8,["description"])):N("",!0),k(a)?.length?(u(),C(c,{key:1,icon:"carbon-ibm-cloud-direct-link-2-dedicated",text:"Server Hooks",description:`Total hooks: ${k(a)?.length}`,padding:"pl4 pr6"},{default:f(()=>[_(b,{hooks:k(a)},null,8,["hooks"])]),_:1},8,["description"])):N("",!0)]),_(i,null,{default:f(()=>[_(v)]),_:1})],64)}}});export{ut as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{V as A,W as T,X as S,A as P,S as j,Y as X,I as Y}from"./
|
|
1
|
+
import{V as A,W as T,X as S,A as P,S as j,Y as X,I as Y}from"./k0fd6dgf.js";import{_ as q}from"./nselect-tabs.vue-faenzk1c.js";import{_ as O}from"./nnavbar.vue-m1zvooyj.js";import{_ as U}from"./filepath-item.vue-h3uqsfei.js";import{_ as Q}from"./composable-item.vue-8ciq4i7e.js";import{q as C,O as u,a0 as a,F as k,ad as M,a2 as c,P as i,R as w,Q as x,v as f,u as _,a7 as R,k as V,a1 as $}from"./vendor/json-editor-vue-huf8dypo.js";import{_ as W}from"./nsection-block-cq5lwq9a.js";import{_ as G}from"./help-fab.vue-fqlpgaqn.js";import{D as B}from"./constants-b32h69zq.js";import"./vendor/unocss-e7oqigho.js";import"./vendor/shiki-jv02kgzv.js";import"./nmarkdown.vue-io3ubke7.js";import"./client-bqg1k5yt.js";import"./index-jc4yj4to.js";import"./nicon-title.vue-oyhtd7jm.js";const J={flex:"~ wrap gap2",p2:"",pl4:""},K=C({__name:"ComposableTree",props:{map:{},root:{},metadata:{}},setup(D){return(r,v)=>{const o=U,e=Q;return a(),u("div",null,[(a(!0),u(k,null,M(r.map.entries(),([l,m])=>(a(),u("div",{key:l},[c(o,{filepath:l,op50:"","hover:underline":""},null,8,["filepath"]),i("div",J,[(a(!0),u(k,null,M(m,g=>(a(),w(e,{key:g.as,item:g,metadata:r.metadata,"is-directive":g.meta?.vueDirective===!0,filepath:l.match(/^[\w@]/)?void 0:l},null,8,["item","metadata","is-directive","filepath"]))),128))])]))),128))])}}}),Z={key:0,flex:"~ col gap-2 items-start"},ee=C({__name:"HelpImportsDirs",setup(D){const r=A();return(v,o)=>{const e=U;return f(r)?.dirs?(a(),u("div",Z,[(a(!0),u(k,null,M(f(r).dirs,l=>(a(),w(e,{key:l,filepath:l,"text-primary":""},null,8,["filepath"]))),128))])):x("",!0)}}}),te={flex:"~ gap-2 wrap",mb6:""},oe=C({__name:"HelpImportsModules",setup(D){const r=A(),v=_(()=>[...new Set(r.value?.imports.map(o=>T(o.from)).filter(o=>!!o&&!S(o)))]);return(o,e)=>(a(),u("div",te,[(a(!0),u(k,null,M(v.value,l=>(a(),u("code",{key:l,rounded:"","bg-primary:5":"",p:"x2 y0.5","text-primary":""},R(l),1))),128))]))}}),se={class:"markdown-body"},ae={__name:"imports",setup(D,{expose:r}){return r({frontmatter:{}}),(o,e)=>{const l=ee,m=oe;return a(),u("div",se,[e[0]||(e[0]=i("h1",null,"Auto imports",-1)),e[1]||(e[1]=i("p",null,"Nuxt auto-imports helper functions, composables and Vue APIs to be used across your application without explicitly importing them. Based on the directory structure, every Nuxt application can also use auto-imports for its own components, composables and plugins. Components, composables or plugins can use these functions.",-1)),e[2]||(e[2]=i("hr",null,null,-1)),e[3]||(e[3]=i("p",null,"According to your config, exports of files under the following folders will be registed as auto-imports entry:",-1)),c(l),e[4]||(e[4]=i("p",null,"Meanwhile, modules could also provide auto-imports for their own components. You have auto-imports from the following modules as well:",-1)),c(m),e[5]||(e[5]=i("hr",null,null,-1)),e[6]||(e[6]=i("p",null,[i("a",{href:"https://nuxt.com/docs/guide/concepts/auto-imports",target:"_blank",rel:"noopener"},"Learn more in the documentation")],-1)),e[7]||(e[7]=i("h2",null,"Directives",-1)),e[8]||(e[8]=i("p",null,"Directives placed in the directives/ directory are automatically registered by Nuxt. They can be used in your templates without importing them.",-1)),e[9]||(e[9]=i("p",null,[i("a",{href:"https://nuxt.com/docs/guide/directory-structure/directives",target:"_blank",rel:"noopener"},"Learn more in the documentation")],-1))])}}},le={key:0,relative:"","h-full":"","of-auto":""},re={key:0,flex:"~ gap-2 items-center lt-sm:col lt-sm:items-start"},$e=C({__name:"imports",setup(D){const r=P(),v=V("all"),o=V("all"),e=V(""),l=A(),m=_(()=>l.value?.metadata),g=_(()=>l.value?.imports.filter(d=>d.as||d.name).sort((d,n)=>(d.as||d.name).localeCompare(n.as||n.name))||[]),z=_(()=>new j(g.value,{keys:["from","as","name"]})),s=_(()=>{const d=new Map,n=new Map,I=new Map;let p=e.value?z.value.search(e.value).map(t=>t.item):g.value;const N=o.value;N==="composables"?p=p.filter(t=>t.meta?.vueDirective!==!0):N==="directives"&&(p=p.filter(t=>t.meta?.vueDirective===!0)),v.value==="using"&&m.value?p=p.filter(t=>(t.as||t.name)in m.value.injectionUsage):v.value==="not-used"&&m.value&&(p=p.filter(t=>!((t.as||t.name)in m.value.injectionUsage)));const h={user:0,lib:0,builtin:0};return p.forEach(t=>{const b=X(t.from)?S(T(t.from))?I:n:d;b.has(t.from)||b.set(t.from,[]),b.get(t.from).push(t),h[b===d?"user":b===n?"lib":"builtin"]++}),{user:d,lib:n,builtin:I,count:h}}),F=_(()=>o.value==="directives"?`${s.value.count.user} directives from ${s.value.user.size} modules`:`${s.value.count.user} composables from ${s.value.user.size} modules`),E=_(()=>o.value==="directives"?`${s.value.count.builtin} directives`:`${s.value.count.builtin} composables`),H=_(()=>o.value==="directives"?`${s.value.count.lib} directives from ${s.value.lib.size} packages`:`${s.value.count.lib} composables from ${s.value.lib.size} packages`);return(d,n)=>{const I=Y,p=q,N=O,h=K,t=W,b=ae,L=G;return a(),u(k,null,[f(r)?(a(),u("div",le,[c(N,{search:e.value,"onUpdate:search":n[2]||(n[2]=y=>e.value=y),pb3:""},{default:$(()=>[m.value?(a(),u("div",re,[c(I,{icon:"carbon-filter",op50:""}),c(p,{modelValue:v.value,"onUpdate:modelValue":n[0]||(n[0]=y=>v.value=y),n:"primary sm",options:[{label:"All",value:"all"},{label:"Using",value:"using"},{label:"Not used",value:"not-used"}]},null,8,["modelValue"]),c(p,{modelValue:o.value,"onUpdate:modelValue":n[1]||(n[1]=y=>o.value=y),n:"primary sm",options:[{label:"All",value:"all"},{label:"Composables",value:"composables"},{label:"Directives",value:"directives"}]},null,8,["modelValue"])])):x("",!0)]),_:1},8,["search"]),s.value.user.size?(a(),w(t,{key:0,open:s.value.count.user<=f(B),icon:o.value==="directives"?"tabler:hexagon-letter-d":"carbon-function",text:`User ${o.value==="directives"?"directives":"composables"}`,description:F.value},{default:$(()=>[c(h,{map:s.value.user,root:f(r).rootDir,metadata:m.value},null,8,["map","root","metadata"])]),_:1},8,["open","icon","text","description"])):x("",!0),s.value.builtin.size?(a(),w(t,{key:1,open:s.value.count.builtin<=f(B),icon:"simple-icons-nuxtdotjs",text:`Built-in ${o.value==="directives"?"directives":"composables"}`,description:E.value},{default:$(()=>[c(h,{map:s.value.builtin,root:f(r).rootDir,metadata:m.value},null,8,["map","root","metadata"])]),_:1},8,["open","text","description"])):x("",!0),s.value.lib.size?(a(),w(t,{key:2,open:s.value.count.lib<=f(B),icon:"carbon-3d-mpr-toggle",text:`${o.value==="directives"?"Directives":"Composables"} from libraries`,description:H.value},{default:$(()=>[c(h,{map:s.value.lib,root:f(r).rootDir,metadata:m.value},null,8,["map","root","metadata"])]),_:1},8,["open","text","description"])):x("",!0)])):x("",!0),c(L,null,{default:$(()=>[c(b)]),_:1})],64)}}});export{$e as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{f as y,g,h as k,_ as N,i as b,t as h,j as w}from"./
|
|
1
|
+
import{f as y,g,h as k,_ as N,i as b,t as h,j as w}from"./k0fd6dgf.js";import{_ as C}from"./nlink.vue-guc51q1k.js";import{_ as V}from"./ncheckbox.vue-j0uj4n04.js";import{q as B,k as L,R as u,a0 as m,a1 as o,P as t,a2 as n,Q as P,a8 as l,v as T}from"./vendor/json-editor-vue-huf8dypo.js";import"./vendor/unocss-e7oqigho.js";import"./vendor/shiki-jv02kgzv.js";const j={flex:"~ auto col gap3","items-center":"","justify-center":"","text-center":""},D={"max-w-190":"","text-lg":""},E={mb6:"",op50:""},F={p4:""},G={flex:"~ col gap-2",mxa:""},R=B({__name:"index",setup(S){const p=y(),s=L(!0),{showPanel:a}=g("ui");function d(){h.value=s.value,w.value=!1}function _(){a.value=!1,p.value.devtools.close()}return($,e)=>{const f=k,r=C,i=N,x=V,v=b;return m(),u(v,{flex:"~ col",relative:"","h-screen":"","w-full":""},{default:o(()=>[t("div",j,[e[7]||(e[7]=t("p",{my2:"","text-3em":"","text-primary":"","font-bold":"","font-stylish":""}," 👋 Hi there, welcome to Nuxt DevTools! ",-1)),t("p",D,[n(f,{"mr-0.5":"","inline-block":"","h-5":"","translate-y--1.1":"","align-mid":""}),e[1]||(e[1]=l(" is a set of visual tools that help you to know your Nuxt app better, and enhance your development experience with Nuxt. Enjoy!")),e[2]||(e[2]=t("br",null,null,-1))]),t("p",E,[e[4]||(e[4]=l(" Learn more at ")),n(r,{href:"https://devtools.nuxt.com/",target:"_blank",rel:"noopener noreferrer",n:"primary"},{default:o(()=>e[3]||(e[3]=[l(" devtools.nuxt.com ")])),_:1})]),n(i,{to:"/modules/overview",n:"lg primary",onClick:d},{default:o(()=>e[5]||(e[5]=[t("span",null,"Get Started",-1)])),_:1}),T(a)!==!1?(m(),u(i,{key:0,n:"borderless orange",onClick:_},{default:o(()=>e[6]||(e[6]=[t("span",null,"Always hide the floating panel",-1)])),_:1})):P("",!0)]),t("div",F,[t("div",G,[n(x,{modelValue:s.value,"onUpdate:modelValue":e[0]||(e[0]=c=>s.value=c),n:"green6"},{default:o(()=>[e[8]||(e[8]=t("span",{op50:""},"Send anonymous statistics, help us improving DevTools",-1)),n(r,{href:"https://github.com/nuxt/devtools#anonymous-usage-analytics",target:"_blank",ml1:"",op35:"",textContent:"Learn more"})]),_:1},8,["modelValue"])])])]),_:1})}}});export{R as default};
|