@nuxt/devtools-nightly 2.6.4-29305197.39a0677 → 2.6.4-29306513.191eb3f

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 (67) hide show
  1. package/dist/chunks/module-main.mjs +12 -8
  2. package/dist/client/200.html +14 -14
  3. package/dist/client/404.html +14 -14
  4. package/dist/client/_nuxt/{analyze-build-h6dkidx5.js → analyze-build-ft3kpcd5.js} +1 -1
  5. package/dist/client/_nuxt/{assets-oe58zq0u.js → assets-pat0uc3w.js} +1 -1
  6. package/dist/client/_nuxt/builds/latest.json +1 -1
  7. package/dist/client/_nuxt/builds/meta/1f0ae555-a170-400c-8656-5cf6eec98dd6.json +1 -0
  8. package/dist/client/_nuxt/{code-diff.vue-jy5btphl.js → code-diff.vue-fmgit1aj.js} +1 -1
  9. package/dist/client/_nuxt/{code-snippets.vue-2de0d1wh.js → code-snippets.vue-5c2tahkc.js} +1 -1
  10. package/dist/client/_nuxt/{components-kyf9xy2m.js → components-iuf9kqg3.js} +1 -1
  11. package/dist/client/_nuxt/{composable-item.vue-lyurctn1.js → composable-item.vue-beavixq6.js} +1 -1
  12. package/dist/client/_nuxt/{custom-_name_-f0z5z5zf.js → custom-_name_-ge1ocu03.js} +1 -1
  13. package/dist/client/_nuxt/{data-schema-button.vue-gj32e65l.js → data-schema-button.vue-dz5piwln.js} +1 -1
  14. package/dist/client/_nuxt/{data-schema-drawer-ikpfkbri.js → data-schema-drawer-j1y9fp7p.js} +1 -1
  15. package/dist/client/_nuxt/{debug-iof3atod.js → debug-jbn44yev.js} +1 -1
  16. package/dist/client/_nuxt/{default-ck8sdk8k.js → default-odev28ew.js} +1 -1
  17. package/dist/client/_nuxt/{error-404-k23mnnj8.js → error-404-oelc3qou.js} +1 -1
  18. package/dist/client/_nuxt/{error-500-ow1tk67n.js → error-500-j68urc68.js} +1 -1
  19. package/dist/client/_nuxt/{error-ego8bzbx.js → error-ll6aerlx.js} +1 -1
  20. package/dist/client/_nuxt/{filepath-item.vue-jvnnqntk.js → filepath-item.vue-n7b93wy4.js} +1 -1
  21. package/dist/client/_nuxt/{full-iirjyjb5.js → full-gq9l0ieo.js} +1 -1
  22. package/dist/client/_nuxt/{help-fab.vue-iiy912yv.js → help-fab.vue-mwdblncq.js} +1 -1
  23. package/dist/client/_nuxt/{hooks-da40i97a.js → hooks-hd3ypgub.js} +1 -1
  24. package/dist/client/_nuxt/hs6ae4p2.js +15 -0
  25. package/dist/client/_nuxt/{imports-g8mxyxsz.js → imports-duhs514u.js} +1 -1
  26. package/dist/client/_nuxt/{index-jpk6gpmk.js → index-lx9jai0d.js} +1 -1
  27. package/dist/client/_nuxt/{launch-page.vue-ej8n1nol.js → launch-page.vue-bvgamakp.js} +1 -1
  28. package/dist/client/_nuxt/{modules-d9zqk5n1.js → modules-e9cq3jh1.js} +1 -1
  29. package/dist/client/_nuxt/{nbadge-la51ie4t.js → nbadge-d6brs4zg.js} +1 -1
  30. package/dist/client/_nuxt/{ncheckbox.vue-no3437wc.js → ncheckbox.vue-mo220dhc.js} +1 -1
  31. package/dist/client/_nuxt/{ndrawer.vue-mok9ppy7.js → ndrawer.vue-b01b5g5i.js} +1 -1
  32. package/dist/client/_nuxt/{ndropdown.vue-o8t9ic70.js → ndropdown.vue-ha3s0x39.js} +1 -1
  33. package/dist/client/_nuxt/{nlink.vue-ehelr39g.js → nlink.vue-kezgtrlw.js} +1 -1
  34. package/dist/client/_nuxt/{nnavbar.vue-cybpsded.js → nnavbar.vue-nv72k25d.js} +1 -1
  35. package/dist/client/_nuxt/{none-f0zl4gad.js → none-n1iann31.js} +1 -1
  36. package/dist/client/_nuxt/{nsection-block-ddplx9pl.js → nsection-block-fspnxznm.js} +1 -1
  37. package/dist/client/_nuxt/{nselect-tabs.vue-hiwwt2n0.js → nselect-tabs.vue-f27x6oqp.js} +1 -1
  38. package/dist/client/_nuxt/{nselect.vue-la95si0f.js → nselect.vue-cfmo4u6n.js} +1 -1
  39. package/dist/client/_nuxt/{open-graph-hwba5o86.js → open-graph-oyukhoor.js} +1 -1
  40. package/dist/client/_nuxt/{overview-oqtc1aqt.js → overview-m34vmtte.js} +1 -1
  41. package/dist/client/_nuxt/{pages-eenpqko4.js → pages-js3zolvc.js} +1 -1
  42. package/dist/client/_nuxt/{payload-mzuxzjh9.js → payload-mwgoml4r.js} +1 -1
  43. package/dist/client/_nuxt/{pinia-ijohlgiz.js → pinia-frf2aev6.js} +1 -1
  44. package/dist/client/_nuxt/{plugins-hyjhe79v.js → plugins-lihonnsr.js} +1 -1
  45. package/dist/client/_nuxt/{render-tree-dr6gtec2.js → render-tree-i5elf6l2.js} +1 -1
  46. package/dist/client/_nuxt/{runtime-configs-pahcy1o7.js → runtime-configs-l21kqjmn.js} +1 -1
  47. package/dist/client/_nuxt/{server-discovery-b8na9z7g.js → server-discovery-b8uhgdax.js} +1 -1
  48. package/dist/client/_nuxt/{server-route-inputs.vue-g0p9q870.js → server-route-inputs.vue-m260q44i.js} +1 -1
  49. package/dist/client/_nuxt/{server-routes-mtcko0mi.js → server-routes-pc0hx9q2.js} +1 -1
  50. package/dist/client/_nuxt/{server-tasks-bll6cjth.js → server-tasks-e9h8x4cv.js} +1 -1
  51. package/dist/client/_nuxt/{settings-dmjruw7n.js → settings-ipevxwrt.js} +1 -1
  52. package/dist/client/_nuxt/{stacktrace-list.vue-g3i6ukg0.js → stacktrace-list.vue-eubi1x23.js} +1 -1
  53. package/dist/client/_nuxt/{state-components-hm1fypou.js → state-components-meetzj1u.js} +1 -1
  54. package/dist/client/_nuxt/{state-editor.vue-k2eynukh.js → state-editor.vue-clts0gs9.js} +1 -1
  55. package/dist/client/_nuxt/{state-modules-frr7rpga.js → state-modules-euy6snoi.js} +1 -1
  56. package/dist/client/_nuxt/{storage-m0qelhs8.js → storage-kdzqrvzw.js} +1 -1
  57. package/dist/client/_nuxt/{terminals-f4z14c3b.js → terminals-jnsu6tpx.js} +1 -1
  58. package/dist/client/_nuxt/{timeline-n9pyujb3.js → timeline-ily71ilk.js} +1 -1
  59. package/dist/client/_nuxt/{unocss-runtime-eoln527w.js → unocss-runtime-ki0tp9n5.js} +1 -1
  60. package/dist/client/_nuxt/vendor/{unocss-klvjhln7.js → unocss-luu5tsl0.js} +2 -2
  61. package/dist/client/_nuxt/{virtual-files-gffuaqhw.js → virtual-files-odz3be3b.js} +1 -1
  62. package/dist/client/_nuxt/{vue-devtools-fv9dekm9.js → vue-devtools-gauukhnp.js} +1 -1
  63. package/dist/client/index.html +14 -14
  64. package/dist/module.json +1 -1
  65. package/package.json +4 -4
  66. package/dist/client/_nuxt/builds/meta/3619e6f2-9c27-4c4b-aada-2143e7348fa8.json +0 -1
  67. package/dist/client/_nuxt/dv0e79gh.js +0 -15
@@ -1 +1 @@
1
- import{b as s,d as a}from"./dv0e79gh.js";import{J as i,$ as u,a0 as e,a8 as o}from"./vendor/json-editor-vue-nstwj98r.js";import"./vendor/shiki-jxvjmls6.js";import"./vendor/unocss-klvjhln7.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:[{innerHTML:`!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:[{innerHTML:'*,: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-19a29d15"]]);export{y as default};
1
+ import{b as s,d as a}from"./hs6ae4p2.js";import{J as i,$ as u,a0 as e,a8 as o}from"./vendor/json-editor-vue-nstwj98r.js";import"./vendor/shiki-jxvjmls6.js";import"./vendor/unocss-luu5tsl0.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:[{innerHTML:`!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:[{innerHTML:'*,: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-19a29d15"]]);export{y as default};
@@ -1,4 +1,4 @@
1
- import{f as E,q as x}from"./dv0e79gh.js";import{_ as N}from"./stacktrace-list.vue-g3i6ukg0.js";import{p as y,q as v,J as l,$ as i,X as C,a0 as f,a1 as _,V as w,ab as S,a8 as p,U as $}from"./vendor/json-editor-vue-nstwj98r.js";import"./vendor/shiki-jxvjmls6.js";import"./vendor/unocss-klvjhln7.js";import"./filepath-item.vue-jvnnqntk.js";const O=/(^|@)\S+:\d+/,h=/^\s*at .*(\S+:\d+|\(native\))/m,R=/^(eval@)?(\[native code\])?$/;function b(e,a){if(typeof e.stacktrace<"u"||typeof e["opera#sourceloc"]<"u")return T(e);if(e.stack&&e.stack.match(h))return F(e);if(e.stack)return V(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 F(e,a){return I(e.stack)}function I(e,a){return d(e.split(`
1
+ import{f as E,q as x}from"./hs6ae4p2.js";import{_ as N}from"./stacktrace-list.vue-eubi1x23.js";import{p as y,q as v,J as l,$ as i,X as C,a0 as f,a1 as _,V as w,ab as S,a8 as p,U as $}from"./vendor/json-editor-vue-nstwj98r.js";import"./vendor/shiki-jxvjmls6.js";import"./vendor/unocss-luu5tsl0.js";import"./filepath-item.vue-n7b93wy4.js";const O=/(^|@)\S+:\d+/,h=/^\s*at .*(\S+:\d+|\(native\))/m,R=/^(eval@)?(\[native code\])?$/;function b(e,a){if(typeof e.stacktrace<"u"||typeof e["opera#sourceloc"]<"u")return T(e);if(e.stack&&e.stack.match(h))return F(e);if(e.stack)return V(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 F(e,a){return I(e.stack)}function I(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 V(e,a){return A(e.stack)}function A(e,a){return d(e.split(`
3
3
  `).filter(t=>!t.match(R))).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 b}from"./dv0e79gh.js";import{p as C,q as B,J as t,$ as a,a0 as s,W as N,a1 as u,F as l,ab as d,a8 as r,a4 as $,u as m}from"./vendor/json-editor-vue-nstwj98r.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":""},D=C({__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?b(p.filepath,i.value.rootDir):{path:p.filepath||""});return(e,o)=>(a(),t("span",w,[s("span",{class:$([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{D as _};
1
+ import{w as k,a as c,A as g,a3 as b}from"./hs6ae4p2.js";import{p as C,q as B,J as t,$ as a,a0 as s,W as N,a1 as u,F as l,ab as d,a8 as r,a4 as $,u as m}from"./vendor/json-editor-vue-nstwj98r.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":""},D=C({__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?b(p.filepath,i.value.rootDir):{path:p.filepath||""});return(e,o)=>(a(),t("span",w,[s("span",{class:$([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{D as _};
@@ -1 +1 @@
1
- import{b as t}from"./dv0e79gh.js";import{J as e,$ as r,W as s}from"./vendor/json-editor-vue-nstwj98r.js";import"./vendor/shiki-jxvjmls6.js";import"./vendor/unocss-klvjhln7.js";const c={},n={"h-full":"","of-auto":""};function a(o,f){return r(),e("div",n,[s(o.$slots,"default")])}const d=t(c,[["render",a]]);export{d as default};
1
+ import{b as t}from"./hs6ae4p2.js";import{J as e,$ as r,W as s}from"./vendor/json-editor-vue-nstwj98r.js";import"./vendor/shiki-jxvjmls6.js";import"./vendor/unocss-luu5tsl0.js";const c={},n={"h-full":"","of-auto":""};function a(o,f){return r(),e("div",n,[s(o.$slots,"default")])}const d=t(c,[["render",a]]);export{d as default};
@@ -1 +1 @@
1
- import{g as f,_ as m}from"./dv0e79gh.js";import{p as v,k as c,J as o,a1 as s,u as k,$ as a,F as g,a0 as r,X as l,H as u,V as i,W as _}from"./vendor/json-editor-vue-nstwj98r.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":"","bg-base":"",px8:"",py4:""},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
+ import{g as f,_ as m}from"./hs6ae4p2.js";import{p as v,k as c,J as o,a1 as s,u as k,$ as a,F as g,a0 as r,X as l,H as u,V as i,W as _}from"./vendor/json-editor-vue-nstwj98r.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":"","bg-base":"",px8:"",py4:""},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-l0zz5iex.js";import{g as T}from"./color-mt9xuhgy.js";import{p as $,k as H,q as w,J as h,$ as u,a0 as o,ab as l,a4 as p,F as y,ag as F,a8 as m,a2 as V,u as k,X as _,U as C,a1 as N,V as f}from"./vendor/json-editor-vue-nstwj98r.js";import{_ as B}from"./nsection-block-ddplx9pl.js";import{_ as D}from"./help-fab.vue-iiy912yv.js";import{s as P,f as E}from"./dv0e79gh.js";import"./nicon-title.vue-mr03t3pg.js";import"./vendor/shiki-jxvjmls6.js";import"./vendor/unocss-klvjhln7.js";const O={"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":""},U={"ws-nowrap":"",p1:"","text-center":"","font-bold":""},Y={"ws-nowrap":"",p1:"","text-right":"","font-bold":""},q={"w-0":"","ws-nowrap":"","text-center":"","text-sm":"",op25:""},J={"text-sm":""},R={"ws-nowrap":""},X={"text-sm":""},G={"w-0":"","text-center":"","text-sm":""},K={"w-0":"","text-center":"","text-sm":""},M={"w-0":"","text-right":"","text-sm":""},Q=$({__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",O,[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 ",-1)),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 ",-1)),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 ",-1)),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",U,[o("button",{onClick:t[3]||(t[3]=s=>i("executions"))},[t[8]||(t[8]=l(" Executions ",-1)),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",Y,[o("button",{onClick:t[4]||(t[4]=s=>i("duration"))},[t[9]||(t[9]=l(" Duration ",-1)),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",q,m(g.value.indexOf(s.start)),1),o("td",{"w-0":"","ws-nowrap":"","text-right":"",style:V({color:("getHslColorFromStringHash"in e?e.getHslColorFromStringHash:k(T))(c(s.name))})},[o("code",J,m(c(s.name)),1)],4),o("td",R,[o("code",X,m(v(s.name)),1)]),o("td",G,m(s.listeners),1),o("td",K,m(s.executions.length+1),1),o("td",M,[_(I,{duration:s.duration},null,8,["duration"])])]))),128))])])}}}),W={class:"markdown-body"},Z={__name:"hooks",setup(x,{expose:a}){return a({frontmatter:{}}),(n,d)=>(u(),h("div",W,[...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=P(),r=E(),n=w(()=>r.value?.metrics.clientHooks());return(d,g)=>{const b=Q,c=B,v=Z,i=D;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
+ import{_ as S}from"./duration-display.vue-l0zz5iex.js";import{g as T}from"./color-mt9xuhgy.js";import{p as $,k as H,q as w,J as h,$ as u,a0 as o,ab as l,a4 as p,F as y,ag as F,a8 as m,a2 as V,u as k,X as _,U as C,a1 as N,V as f}from"./vendor/json-editor-vue-nstwj98r.js";import{_ as B}from"./nsection-block-fspnxznm.js";import{_ as D}from"./help-fab.vue-mwdblncq.js";import{s as P,f as E}from"./hs6ae4p2.js";import"./nicon-title.vue-mr03t3pg.js";import"./vendor/shiki-jxvjmls6.js";import"./vendor/unocss-luu5tsl0.js";const O={"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":""},U={"ws-nowrap":"",p1:"","text-center":"","font-bold":""},Y={"ws-nowrap":"",p1:"","text-right":"","font-bold":""},q={"w-0":"","ws-nowrap":"","text-center":"","text-sm":"",op25:""},J={"text-sm":""},R={"ws-nowrap":""},X={"text-sm":""},G={"w-0":"","text-center":"","text-sm":""},K={"w-0":"","text-center":"","text-sm":""},M={"w-0":"","text-right":"","text-sm":""},Q=$({__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",O,[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 ",-1)),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 ",-1)),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 ",-1)),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",U,[o("button",{onClick:t[3]||(t[3]=s=>i("executions"))},[t[8]||(t[8]=l(" Executions ",-1)),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",Y,[o("button",{onClick:t[4]||(t[4]=s=>i("duration"))},[t[9]||(t[9]=l(" Duration ",-1)),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",q,m(g.value.indexOf(s.start)),1),o("td",{"w-0":"","ws-nowrap":"","text-right":"",style:V({color:("getHslColorFromStringHash"in e?e.getHslColorFromStringHash:k(T))(c(s.name))})},[o("code",J,m(c(s.name)),1)],4),o("td",R,[o("code",X,m(v(s.name)),1)]),o("td",G,m(s.listeners),1),o("td",K,m(s.executions.length+1),1),o("td",M,[_(I,{duration:s.duration},null,8,["duration"])])]))),128))])])}}}),W={class:"markdown-body"},Z={__name:"hooks",setup(x,{expose:a}){return a({frontmatter:{}}),(n,d)=>(u(),h("div",W,[...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=P(),r=E(),n=w(()=>r.value?.metrics.clientHooks());return(d,g)=>{const b=Q,c=B,v=Z,i=D;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};