@nuxt/devtools 4.0.0-alpha.17 → 4.0.0-alpha.18
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/_nuxt/{CodeDiff-DgjeLx6z.js.map.json → CodeDiff-C5IA82Lq.js.map.json} +1 -1
- package/dist/_nuxt/{CodeSnippets-CgfcaS4Z.js.map.json → CodeSnippets-iUZQ267m.js.map.json} +1 -1
- package/dist/_nuxt/{ComposableItem-BWQR7_fI.js.map.json → ComposableItem-K51Uhl0G.js.map.json} +1 -1
- package/dist/_nuxt/{DataSchemaButton-CqEfc2TV.js.map.json → DataSchemaButton-DdHHdnES.js.map.json} +1 -1
- package/dist/_nuxt/{DataSchemaDrawer-Xj8YzNJN.js.map.json → DataSchemaDrawer-2qqeTeF6.js.map.json} +1 -1
- package/dist/_nuxt/{FilepathItem-D75bkTSa.js.map.json → FilepathItem-D6jrZnIo.js.map.json} +1 -1
- package/dist/_nuxt/{HelpFab-CH7NlsDf.js.map.json → HelpFab-xcWoP6o_.js.map.json} +1 -1
- package/dist/_nuxt/{LaunchPage-ByG-3KVi.js.map.json → LaunchPage-DVRrHA9i.js.map.json} +1 -1
- package/dist/_nuxt/{NCheckbox-OMIu_LTG.js.map.json → NCheckbox-Cq1GuyrF.js.map.json} +1 -1
- package/dist/_nuxt/{NDrawer-C6Opm19C.js.map.json → NDrawer-C_ZAB3z9.js.map.json} +1 -1
- package/dist/_nuxt/{NDropdown-DseEG3tA.js.map.json → NDropdown-CzJi2B9y.js.map.json} +1 -1
- package/dist/_nuxt/NIcon-B-t2-q1r.js.map.json +1 -0
- package/dist/_nuxt/{NLink-Rsxlt1NN.js.map.json → NLink-DIWpT2C-.js.map.json} +1 -1
- package/dist/_nuxt/{NNavbar-CS-Z1Cle.js.map.json → NNavbar-BShfBHAc.js.map.json} +1 -1
- package/dist/_nuxt/{NSectionBlock-C7kcMkbf.js.map.json → NSectionBlock-Cm4pPEIM.js.map.json} +1 -1
- package/dist/_nuxt/{NSelect-geGP1eOG.js.map.json → NSelect-9Nk3v_sQ.js.map.json} +1 -1
- package/dist/_nuxt/{NSelectTabs-nUMnNQy-.js.map.json → NSelectTabs-D8amX2yN.js.map.json} +1 -1
- package/dist/_nuxt/{NSplitPane-Bh0o_t5e.js.map.json → NSplitPane-CWyIovAp.js.map.json} +1 -1
- package/dist/_nuxt/{NTip-DRnTpLjG.js.map.json → NTip-BVi1j0Ir.js.map.json} +1 -1
- package/dist/_nuxt/{ServerRouteInputs-BhIrPxPN.js.map.json → ServerRouteInputs-lclUilqu.js.map.json} +1 -1
- package/dist/_nuxt/{StacktraceList-B-ehJIQ-.js.map.json → StacktraceList-BUhKgrAv.js.map.json} +1 -1
- package/dist/_nuxt/{StateEditor-Yqdbqk_c.js.map.json → StateEditor-D_NCPzZq.js.map.json} +1 -1
- package/dist/_nuxt/{__blank-BM2yOFO6.js.map.json → __blank-BgoalQAL.js.map.json} +1 -1
- package/dist/_nuxt/{analyze-build-Cemp_oBq.js.map.json → analyze-build-DSk_N3wx.js.map.json} +1 -1
- package/dist/_nuxt/assets-6seYEHqs.js.map.json +1 -0
- package/dist/_nuxt/{components-BJnHweOE.js.map.json → components-CTVOL1-D.js.map.json} +1 -1
- package/dist/_nuxt/custom-_name_-DRWuAoZa.js.map.json +1 -0
- package/dist/_nuxt/{debug-BcJZ8M6i.js.map.json → debug-CpWOyAbK.js.map.json} +1 -1
- package/dist/_nuxt/entry-uV9FV_26.js.map.json +1 -0
- package/dist/_nuxt/{error-404-dySA7T2P.js.map.json → error-404-BN7jSsJU.js.map.json} +1 -1
- package/dist/_nuxt/{error-500-2Ody89Er.js.map.json → error-500-CX60RT79.js.map.json} +1 -1
- package/dist/_nuxt/{error-hGc4cWUU.js.map.json → error-YOq9ydYM.js.map.json} +1 -1
- package/dist/_nuxt/{head-BTCtirw3.js.map.json → head-Q3WHkZN-.js.map.json} +1 -1
- package/dist/_nuxt/{hooks-BVzlIVXR.js.map.json → hooks-Dfejz2-5.js.map.json} +1 -1
- package/dist/_nuxt/{imports-B3k4BZF7.js.map.json → imports-CCepJr4G.js.map.json} +1 -1
- package/dist/_nuxt/{modules-Ck915TxZ.js.map.json → modules-CDEu6e8J.js.map.json} +1 -1
- package/dist/_nuxt/nuxt-B-ZgUV2U.js.map.json +1 -0
- package/dist/_nuxt/{nuxt-link-C-BBeF5l.js.map.json → nuxt-link-X36zPJaC.js.map.json} +1 -1
- package/dist/_nuxt/{open-graph-ll_bjX_m.js.map.json → open-graph-RnltEfE1.js.map.json} +1 -1
- package/dist/_nuxt/overview-0981_RjH.js.map.json +1 -0
- package/dist/_nuxt/{pages-BddDWJsZ.js.map.json → pages-BJY0ZMcV.js.map.json} +1 -1
- package/dist/_nuxt/{pages-CrUWMxGz.js.map.json → pages-Dv_rq-A5.js.map.json} +1 -1
- package/dist/_nuxt/{pages-DWELoQlh.js.map.json → pages-c-R2EyNA.js.map.json} +1 -1
- package/dist/_nuxt/{payload-29bFuqLh.js.map.json → payload-EEc-a5Rs.js.map.json} +1 -1
- package/dist/_nuxt/{plugins-fmmRaH-S.js.map.json → plugins-DBU4EaVz.js.map.json} +1 -1
- package/dist/_nuxt/{ready-BQ1fhXgL.js.map.json → ready-B0tgRAWs.js.map.json} +1 -1
- package/dist/_nuxt/{runtime-configs-iL68LNkj.js.map.json → runtime-configs-eyjqyWy0.js.map.json} +1 -1
- package/dist/_nuxt/server-routes-CmFWvg0q.js.map.json +1 -0
- package/dist/_nuxt/server-tasks-y13wW_sS.js.map.json +1 -0
- package/dist/_nuxt/{settings-Qa45tU8e.js.map.json → settings-CQHWdQH5.js.map.json} +1 -1
- package/dist/_nuxt/{state-components-CksF081b.js.map.json → state-components-BtOK14JS.js.map.json} +1 -1
- package/dist/_nuxt/state-modules-B1t4RCwZ.js.map.json +1 -0
- package/dist/_nuxt/{state-tabs-m1o-BX5R.js.map.json → state-tabs-DgyOko_b.js.map.json} +1 -1
- package/dist/_nuxt/storage-CL3RFmxG.js.map.json +1 -0
- package/dist/_nuxt/{timeline-Dukbqafi.js.map.json → timeline-CrhB_ydt.js.map.json} +1 -1
- package/dist/_nuxt/utils-DdQYVRed.js.map.json +1 -0
- package/dist/_nuxt/{virtual-files-BQJM45QE.js.map.json → virtual-files-WqYqMpE0.js.map.json} +1 -1
- package/dist/_nuxt/virtual_nuxt_node_modules_.cache_nuxt_.nuxt_fetch.server-pxhz0pzP.js.map.json +1 -0
- package/dist/chunks/module-main.mjs +59 -40
- package/dist/index.mjs.map.json +1 -1
- package/dist/module.json +1 -1
- package/dist/runtime/shared/hooks.d.ts +10 -2
- package/dist/server.mjs.map.json +1 -1
- package/package.json +20 -20
- package/dist/_nuxt/AuthRequiredPanel-znjaI7oT.js.map.json +0 -1
- package/dist/_nuxt/NIcon-cjduOh_B.js.map.json +0 -1
- package/dist/_nuxt/assets-rTFAaows.js.map.json +0 -1
- package/dist/_nuxt/custom-_name_-DI8dnRDD.js.map.json +0 -1
- package/dist/_nuxt/entry-DZwY6FLS.js.map.json +0 -1
- package/dist/_nuxt/nuxt-C5VITehY.js.map.json +0 -1
- package/dist/_nuxt/overview-CyqDmfdE.js.map.json +0 -1
- package/dist/_nuxt/server-routes-Dy5_Ljmu.js.map.json +0 -1
- package/dist/_nuxt/server-tasks-CD-7IPFD.js.map.json +0 -1
- package/dist/_nuxt/state-modules-CyH4hWeN.js.map.json +0 -1
- package/dist/_nuxt/storage-BylO3p9r.js.map.json +0 -1
- package/dist/_nuxt/utils-BfB0tRbX.js.map.json +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"debug-BcJZ8M6i.js","mappings":";;;;;;;;;;;;AASA,IAAA,2DAA4B,8BAAiB;CAC3C,QAAQ;CACR,mBAAmB;CACnB,OAAO,EACL,MAAM,CAAC,EACT;CACA,MAAM,SAAc;EAEtB,MAAM,QAAQ;EAEd,MAAM,QAAQ,eAAe;GAG3B,OAAO;IAAE,OAFU,0BAA0B,MAAM,MAAM,IAAI,EAE7C;IAAY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OAAO,GACjB,MAAM,OAAO,eAAgB,WAAY,EAAE,IAAI,GAAG,GAAG,MAAM,CAAC,EAAE,mHAAmH;QAC5K;IACL,MAAM,OAAO,eAAgB,MAAM,EAAE,EAAE;IACvC,MAAM,mBAAoB,0BAA0B;KAClD,MAAM;KACN,MAAM;KACN,aAAa;IACf,GAAG;KACD,SAAS,SAAU,GAAG,OAAO,SAAS,aAAa;MACjD,IAAI,OACF,MAAM,mBAAoB,oCAA4B,EACpD,2BAA2B,MAAO,OAAO,CAAC,CAAC,yBAAyB,CAAC,EACvE,GAAG,MAAM,SAAS,QAAQ,CAAC;WAE3B,OAAO,CACL,YAAa,oCAA4B,EACvC,2BAA2B,MAAO,OAAO,CAAC,CAAC,yBAAyB,CAAC,EACvE,GAAG,MAAM,GAAG,CAAC,yBAAyB,CAAC,CACzC;KAEJ,CAAC;KACD,GAAG;IACL,GAAG,OAAO,CAAC;IACX,MAAM,QAAQ;GAChB;EACF;CACA;AAEA,CAAC","names":[],"sources":["../../../../../../../../../../devtools-ui-kit/src/components/NBadgeHashed.vue?vue&type=script&setup=true&lang.ts","../../../../../../../../../../devtools-ui-kit/src/components/NBadgeHashed.vue","../../../../../../../../components/DebugModuleMutationRecords.vue?vue&type=script&setup=true&lang.ts","../../../../../../../../components/DebugModuleMutationRecords.vue","../../../../../../../../pages/modules/debug.vue?vue&type=script&setup=true&lang.ts","../../../../../../../../pages/modules/debug.vue"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withCtx as _withCtx, toDisplayString as _toDisplayString, renderSlot as _renderSlot, createTextVNode as _createTextVNode, mergeProps as _mergeProps } from \"vue\"\nimport { ssrRenderSlot as _ssrRenderSlot, ssrRenderComponent as _ssrRenderComponent, ssrInterpolate as _ssrInterpolate } from \"vue/server-renderer\"\n\nimport { computed } from 'vue'\nimport { getHslColorFromStringHash } from '../composables/color'\nimport NBadge from './NBadge.vue'\n\n\nexport default /*@__PURE__*/_defineComponent({\n __name: 'NBadgeHashed',\n __ssrInlineRender: true,\n props: {\n text: {}\n },\n setup(__props: any) {\n\nconst props = __props\n\nconst color = computed(() => {\n const foreground = getHslColorFromStringHash(props.text, 50, 60)\n const background = getHslColorFromStringHash(props.text, 50, 60, 0.05)\n return { color: foreground, background }\n})\n\nreturn (_ctx: any,_push: any,_parent: any,_attrs: any) => {\n _push(_ssrRenderComponent(NBadge, _mergeProps({ style: color.value }, _attrs), {\n default: _withCtx((_, _push, _parent, _scopeId) => {\n if (_push) {\n _push(`${_ssrInterpolate(__props.text)}`)\n _ssrRenderSlot(_ctx.$slots, \"default\", {}, null, _push, _parent, _scopeId)\n } else {\n return [\n _createTextVNode(_toDisplayString(__props.text), 1),\n _renderSlot(_ctx.$slots, \"default\")\n ]\n }\n }),\n _: 3\n }, _parent))\n}\n}\n\n})","<script setup lang=\"ts\">\nimport { computed } from 'vue'\nimport { getHslColorFromStringHash } from '../composables/color'\nimport NBadge from './NBadge.vue'\n\nconst props = defineProps<{\n text: string\n}>()\n\nconst color = computed(() => {\n const foreground = getHslColorFromStringHash(props.text, 50, 60)\n const background = getHslColorFromStringHash(props.text, 50, 60, 0.05)\n return { color: foreground, background }\n})\n</script>\n\n<template>\n <NBadge :style=\"color\">\n {{ text }}<slot />\n </NBadge>\n</template>\n","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode } from \"vue\"\nimport { ssrRenderComponent as _ssrRenderComponent, ssrInterpolate as _ssrInterpolate, ssrRenderList as _ssrRenderList } from \"vue/server-renderer\"\n\nimport type { ServerDebugModuleMutationRecord } from '@nuxt/devtools-kit/types'\nimport { computed, ref } from 'vue'\n\n\nexport default /*@__PURE__*/_defineComponent({\n __name: 'DebugModuleMutationRecords',\n __ssrInlineRender: true,\n props: {\n moduleMutationRecords: {}\n },\n setup(__props: any) {\n\nconst props = __props\n\nconst WINDOWS_DRIVE_RE = /^[a-z]:[\\\\/]/i\n\nfunction isPath(path: string) {\n return path.startsWith('/') || path.match(WINDOWS_DRIVE_RE)\n}\n\n// const search = ref('')\nconst showBuiltin = ref(false)\nconst showTemplates = ref(false)\nconst showTranspile = ref(false)\nconst showPlugins = ref(false)\nconst showEmptyInitial = ref(false)\nconst moduleFilter = ref('')\n\nconst items = computed(() => {\n let arr = props.moduleMutationRecords\n if (!showBuiltin.value) {\n arr = arr.filter(i => !i.name.startsWith('nuxt:') && i.name !== '@nuxt/devtools')\n }\n if (!showTemplates.value) {\n arr = arr.filter(i => i.keys.join('.') !== 'build.templates')\n }\n if (!showTranspile.value) {\n arr = arr.filter(i => i.keys.join('.') !== 'build.transpile')\n }\n if (!showPlugins.value) {\n arr = arr.filter(i => i.keys.join('.') !== 'plugins')\n }\n if (!showEmptyInitial.value) {\n arr = arr.filter(i => i.method || (i.value !== '[]' && i.value !== '{}'))\n }\n if (moduleFilter.value) {\n arr = arr.filter(i => i.name === moduleFilter.value)\n }\n return arr\n})\n\nreturn (_ctx: any,_push: any,_parent: any,_attrs: any) => {\n const _component_NCheckbox = _resolveComponent(\"NCheckbox\")!\n const _component_NBadgeHashed = _resolveComponent(\"NBadgeHashed\")!\n const _component_NButton = _resolveComponent(\"NButton\")!\n const _component_FilepathItem = _resolveComponent(\"FilepathItem\")!\n const _component_NCodeBlock = _resolveComponent(\"NCodeBlock\")!\n\n _push(`<!--[--><div flex=\"~ gap-2 col\" mb4><div flex=\"~ gap-3 items-center\">`)\n _push(_ssrRenderComponent(_component_NCheckbox, {\n modelValue: showBuiltin.value,\n \"onUpdate:modelValue\": ($event: any) => ((showBuiltin).value = $event),\n n: \"primary\"\n }, {\n default: _withCtx((_, _push, _parent, _scopeId) => {\n if (_push) {\n _push(`<span ws-nowrap op75${_scopeId}>Builtin Modules</span>`)\n } else {\n return [\n _createVNode(\"span\", {\n \"ws-nowrap\": \"\",\n op75: \"\"\n }, \"Builtin Modules\")\n ]\n }\n }),\n _: 1\n }, _parent))\n _push(_ssrRenderComponent(_component_NCheckbox, {\n modelValue: showTemplates.value,\n \"onUpdate:modelValue\": ($event: any) => ((showTemplates).value = $event),\n n: \"primary\"\n }, {\n default: _withCtx((_, _push, _parent, _scopeId) => {\n if (_push) {\n _push(`<span ws-nowrap op75${_scopeId}>Templates</span>`)\n } else {\n return [\n _createVNode(\"span\", {\n \"ws-nowrap\": \"\",\n op75: \"\"\n }, \"Templates\")\n ]\n }\n }),\n _: 1\n }, _parent))\n _push(_ssrRenderComponent(_component_NCheckbox, {\n modelValue: showTranspile.value,\n \"onUpdate:modelValue\": ($event: any) => ((showTranspile).value = $event),\n n: \"primary\"\n }, {\n default: _withCtx((_, _push, _parent, _scopeId) => {\n if (_push) {\n _push(`<span ws-nowrap op75${_scopeId}>Transpile</span>`)\n } else {\n return [\n _createVNode(\"span\", {\n \"ws-nowrap\": \"\",\n op75: \"\"\n }, \"Transpile\")\n ]\n }\n }),\n _: 1\n }, _parent))\n _push(_ssrRenderComponent(_component_NCheckbox, {\n modelValue: showPlugins.value,\n \"onUpdate:modelValue\": ($event: any) => ((showPlugins).value = $event),\n n: \"primary\"\n }, {\n default: _withCtx((_, _push, _parent, _scopeId) => {\n if (_push) {\n _push(`<span ws-nowrap op75${_scopeId}>Plugins</span>`)\n } else {\n return [\n _createVNode(\"span\", {\n \"ws-nowrap\": \"\",\n op75: \"\"\n }, \"Plugins\")\n ]\n }\n }),\n _: 1\n }, _parent))\n _push(_ssrRenderComponent(_component_NCheckbox, {\n modelValue: showEmptyInitial.value,\n \"onUpdate:modelValue\": ($event: any) => ((showEmptyInitial).value = $event),\n n: \"primary\"\n }, {\n default: _withCtx((_, _push, _parent, _scopeId) => {\n if (_push) {\n _push(`<span ws-nowrap op75${_scopeId}>Empty Initial</span>`)\n } else {\n return [\n _createVNode(\"span\", {\n \"ws-nowrap\": \"\",\n op75: \"\"\n }, \"Empty Initial\")\n ]\n }\n }),\n _: 1\n }, _parent))\n if (moduleFilter.value) {\n _push(`<div flex=\"~ gap-1\" items-center p1 border=\"~ base rounded\">`)\n _push(_ssrRenderComponent(_component_NBadgeHashed, {\n \"font-mono\": \"\",\n text: moduleFilter.value\n }, null, _parent))\n _push(_ssrRenderComponent(_component_NButton, {\n icon: \"carbon-close\",\n border: false,\n onClick: ($event: any) => (moduleFilter.value = '')\n }, null, _parent))\n _push(`</div>`)\n } else {\n _push(`<!---->`)\n }\n _push(`</div></div><table max-w-full of-auto><thead border=\"b base\"><tr><th ws-nowrap p1 text-center font-bold> Index </th><th ws-nowrap p1 text-center font-bold> Module </th><th ws-nowrap p1 text-center font-bold> Key Path </th><th ws-nowrap p1 text-center font-bold> Method </th><th ws-nowrap p1 text-center font-bold> Value </th></tr></thead><tbody><!--[-->`)\n _ssrRenderList(items.value, (record) => {\n _push(`<tr border=\"b dashed transparent hover:base\"><td text-center op50><div>${_ssrInterpolate(__props.moduleMutationRecords.indexOf(record) + 1)}</div></td><td>`)\n if (record.name && isPath(record.name)) {\n _push(_ssrRenderComponent(_component_FilepathItem, {\n filepath: record.name\n }, null, _parent))\n } else {\n _push(_ssrRenderComponent(_component_NBadgeHashed, {\n role: \"button\",\n \"font-mono\": \"\",\n text: record.name,\n onClick: ($event: any) => (moduleFilter.value = record.name)\n }, null, _parent))\n }\n _push(`</td><td><code flex=\"~\" px4><!--[-->`)\n _ssrRenderList(record.keys, (key, idy) => {\n _push(`<!--[--><span>${_ssrInterpolate(key)}</span>`)\n if (idy < record.keys.length - 1) {\n _push(`<span op50> . </span>`)\n } else {\n _push(`<!---->`)\n }\n _push(`<!--]-->`)\n })\n _push(`<!--]--></code></td><td px2 text-center>`)\n _push(_ssrRenderComponent(_component_NBadgeHashed, {\n \"font-mono\": \"\",\n text: record.method || '=',\n class: record.method ? '' : 'saturate-0'\n }, null, _parent))\n _push(`</td><td of-auto>`)\n _push(_ssrRenderComponent(_component_NCodeBlock, {\n code: String(record.value),\n lang: \"ts\",\n \"grammar-context-code\": \"let a = \",\n \"ws-normal\": \"\",\n \"break-all\": \"\",\n py1: \"\",\n lines: false,\n inline: true\n }, null, _parent))\n _push(`</td></tr>`)\n })\n _push(`<!--]--></tbody></table><!--]-->`)\n}\n}\n\n})","<script setup lang=\"ts\">\nimport type { ServerDebugModuleMutationRecord } from '@nuxt/devtools-kit/types'\nimport { computed, ref } from 'vue'\n\nconst props = defineProps<{\n moduleMutationRecords: ServerDebugModuleMutationRecord[]\n}>()\n\nconst WINDOWS_DRIVE_RE = /^[a-z]:[\\\\/]/i\n\nfunction isPath(path: string) {\n return path.startsWith('/') || path.match(WINDOWS_DRIVE_RE)\n}\n\n// const search = ref('')\nconst showBuiltin = ref(false)\nconst showTemplates = ref(false)\nconst showTranspile = ref(false)\nconst showPlugins = ref(false)\nconst showEmptyInitial = ref(false)\nconst moduleFilter = ref('')\n\nconst items = computed(() => {\n let arr = props.moduleMutationRecords\n if (!showBuiltin.value) {\n arr = arr.filter(i => !i.name.startsWith('nuxt:') && i.name !== '@nuxt/devtools')\n }\n if (!showTemplates.value) {\n arr = arr.filter(i => i.keys.join('.') !== 'build.templates')\n }\n if (!showTranspile.value) {\n arr = arr.filter(i => i.keys.join('.') !== 'build.transpile')\n }\n if (!showPlugins.value) {\n arr = arr.filter(i => i.keys.join('.') !== 'plugins')\n }\n if (!showEmptyInitial.value) {\n arr = arr.filter(i => i.method || (i.value !== '[]' && i.value !== '{}'))\n }\n if (moduleFilter.value) {\n arr = arr.filter(i => i.name === moduleFilter.value)\n }\n return arr\n})\n</script>\n\n<template>\n <div flex=\"~ gap-2 col\" mb4>\n <!-- <NTextInput v-model=\"search\" placeholder=\"Search\" w-full /> -->\n <div flex=\"~ gap-3 items-center\">\n <NCheckbox v-model=\"showBuiltin\" n=\"primary\">\n <span ws-nowrap op75>Builtin Modules</span>\n </NCheckbox>\n <NCheckbox v-model=\"showTemplates\" n=\"primary\">\n <span ws-nowrap op75>Templates</span>\n </NCheckbox>\n <NCheckbox v-model=\"showTranspile\" n=\"primary\">\n <span ws-nowrap op75>Transpile</span>\n </NCheckbox>\n <NCheckbox v-model=\"showPlugins\" n=\"primary\">\n <span ws-nowrap op75>Plugins</span>\n </NCheckbox>\n <NCheckbox v-model=\"showEmptyInitial\" n=\"primary\">\n <span ws-nowrap op75>Empty Initial</span>\n </NCheckbox>\n <div v-if=\"moduleFilter\" flex=\"~ gap-1\" items-center p1 border=\"~ base rounded\">\n <NBadgeHashed font-mono :text=\"moduleFilter\" />\n <NButton icon=\"carbon-close\" :border=\"false\" @click=\"moduleFilter = ''\" />\n </div>\n </div>\n </div>\n <table max-w-full of-auto>\n <thead border=\"b base\">\n <tr>\n <th ws-nowrap p1 text-center font-bold>\n Index\n </th>\n <th ws-nowrap p1 text-center font-bold>\n Module\n </th>\n <th ws-nowrap p1 text-center font-bold>\n Key Path\n </th>\n <th ws-nowrap p1 text-center font-bold>\n Method\n </th>\n <th ws-nowrap p1 text-center font-bold>\n Value\n </th>\n </tr>\n </thead>\n <tbody>\n <tr\n v-for=\"record of items\"\n :key=\"moduleMutationRecords.indexOf(record)\"\n border=\"b dashed transparent hover:base\"\n >\n <td text-center op50>\n <div>{{ moduleMutationRecords.indexOf(record) + 1 }}</div>\n </td>\n <td>\n <FilepathItem v-if=\"record.name && isPath(record.name)\" :filepath=\"record.name\" />\n <NBadgeHashed\n v-else\n role=\"button\" font-mono\n :text=\"record.name\"\n @click=\"moduleFilter = record.name\"\n />\n </td>\n <td>\n <code flex=\"~\" px4>\n <template v-for=\"key, idy of record.keys\" :key=\"idy\">\n <span>{{ key }}</span>\n <span v-if=\"idy < record.keys.length - 1\" op50>\n .\n </span>\n </template>\n </code>\n </td>\n <td px2 text-center>\n <NBadgeHashed font-mono :text=\"record.method || '='\" :class=\"record.method ? '' : 'saturate-0'\" />\n </td>\n <td of-auto>\n <NCodeBlock\n :code=\"String(record.value)\"\n lang=\"ts\"\n grammar-context-code=\"let a = \"\n ws-normal break-all py1\n :lines=\"false\" :inline=\"true\"\n />\n </td>\n </tr>\n </tbody>\n </table>\n</template>\n","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, mergeProps as _mergeProps, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode } from \"vue\"\nimport { ssrRenderAttrs as _ssrRenderAttrs, ssrRenderComponent as _ssrRenderComponent } from \"vue/server-renderer\"\n\nimport { definePageMeta } from '#imports'\nimport DebugModuleMutationRecords from '~/components/DebugModuleMutationRecords.vue'\nimport { useServerDebugContext } from '~/composables/state'\n\n\nexport default /*@__PURE__*/_defineComponent({\n __name: 'debug',\n __ssrInlineRender: true,\n setup(__props) {\n\ndefinePageMeta({\n icon: 'i-carbon-debug',\n title: 'Debug',\n category: 'advanced',\n})\n\nconst context = useServerDebugContext()\n\nreturn (_ctx: any,_push: any,_parent: any,_attrs: any) => {\n const _component_NSectionBlock = _resolveComponent(\"NSectionBlock\")!\n\n if (!_unref(context)) {\n _push(`<div${_ssrRenderAttrs(_mergeProps({ p6: \"\" }, _attrs))}><div>No Debug Context Found</div><div>Set \\`debug: true\\` in your nuxt.config.ts to enable this panel</div></div>`)\n } else {\n _push(`<div${_ssrRenderAttrs(_attrs)}>`)\n _push(_ssrRenderComponent(_component_NSectionBlock, {\n icon: \"carbon-container-image-push-pull\",\n text: \"Module Mutation Records\",\n description: \"Records of module mutations to nuxt options\"\n }, {\n default: _withCtx((_, _push, _parent, _scopeId) => {\n if (_push) {\n _push(_ssrRenderComponent(DebugModuleMutationRecords, {\n \"module-mutation-records\": _unref(context).moduleMutationRecords || []\n }, null, _parent, _scopeId))\n } else {\n return [\n _createVNode(DebugModuleMutationRecords, {\n \"module-mutation-records\": _unref(context).moduleMutationRecords || []\n }, null, 8, [\"module-mutation-records\"])\n ]\n }\n }),\n _: 1\n }, _parent))\n _push(`</div>`)\n }\n}\n}\n\n})","<script setup lang=\"ts\">\nimport { definePageMeta } from '#imports'\nimport DebugModuleMutationRecords from '~/components/DebugModuleMutationRecords.vue'\nimport { useServerDebugContext } from '~/composables/state'\n\ndefinePageMeta({\n icon: 'i-carbon-debug',\n title: 'Debug',\n category: 'advanced',\n})\n\nconst context = useServerDebugContext()\n</script>\n\n<template>\n <div v-if=\"!context\" p6>\n <div>No Debug Context Found</div>\n <div>Set `debug: true` in your nuxt.config.ts to enable this panel</div>\n </div>\n <div v-else>\n <NSectionBlock\n icon=\"carbon-container-image-push-pull\"\n text=\"Module Mutation Records\"\n description=\"Records of module mutations to nuxt options\"\n >\n <DebugModuleMutationRecords\n :module-mutation-records=\"context.moduleMutationRecords || []\"\n />\n </NSectionBlock>\n </div>\n</template>\n"],"version":3}
|
|
1
|
+
{"file":"debug-CpWOyAbK.js","mappings":";;;;;;;;;;;;AASA,IAAA,2DAA4B,8BAAiB;CAC3C,QAAQ;CACR,mBAAmB;CACnB,OAAO,EACL,MAAM,CAAC,EACT;CACA,MAAM,SAAc;EAEtB,MAAM,QAAQ;EAEd,MAAM,QAAQ,eAAe;GAG3B,OAAO;IAAE,OAFU,0BAA0B,MAAM,MAAM,IAAI,EAE7C;IAAY,YADT,0BAA0B,MAAM,MAAM,IAAI,IAAI,GACrC;GAAW;EACzC,CAAC;EAED,QAAQ,MAAU,OAAW,SAAa,WAAgB;GACxD,MAAM,mBAAoB,gBAAQ,WAAY,EAAE,OAAO,MAAM,MAAM,GAAG,MAAM,GAAG;IAC7E,SAAS,SAAU,GAAG,OAAO,SAAS,aAAa;KACjD,IAAI,OAAO;MACT,MAAM,GAAG,eAAgB,QAAQ,IAAI,GAAG;MACxC,cAAe,KAAK,QAAQ,WAAW,CAAC,GAAG,MAAM,OAAO,SAAS,QAAQ;KAC3E,OACE,OAAO,CACL,gBAAiB,gBAAiB,QAAQ,IAAI,GAAG,CAAC,GAClD,WAAY,KAAK,QAAQ,SAAS,CACpC;IAEJ,CAAC;IACD,GAAG;GACL,GAAG,OAAO,CAAC;EACb;CACA;AAEA,CAAC;;;;;;;;;;;;AEnCD,IAAA,yEAA4B,8BAAiB;CAC3C,QAAQ;CACR,mBAAmB;CACnB,OAAO,EACL,uBAAuB,CAAC,EAC1B;CACA,MAAM,SAAc;EAEtB,MA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ashed.vue?vue&type=script&setup=true&lang.ts","../../../../../../../../../../devtools-ui-kit/src/components/NBadgeHashed.vue","../../../../../../../../components/DebugModuleMutationRecords.vue?vue&type=script&setup=true&lang.ts","../../../../../../../../components/DebugModuleMutationRecords.vue","../../../../../../../../pages/modules/debug.vue?vue&type=script&setup=true&lang.ts","../../../../../../../../pages/modules/debug.vue"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withCtx as _withCtx, toDisplayString as _toDisplayString, renderSlot as _renderSlot, createTextVNode as _createTextVNode, mergeProps as _mergeProps } from \"vue\"\nimport { ssrRenderSlot as _ssrRenderSlot, ssrRenderComponent as _ssrRenderComponent, ssrInterpolate as _ssrInterpolate } from \"vue/server-renderer\"\n\nimport { computed } from 'vue'\nimport { getHslColorFromStringHash } from '../composables/color'\nimport NBadge from './NBadge.vue'\n\n\nexport default /*@__PURE__*/_defineComponent({\n __name: 'NBadgeHashed',\n __ssrInlineRender: true,\n props: {\n text: {}\n },\n setup(__props: any) {\n\nconst props = __props\n\nconst color = computed(() => {\n const foreground = getHslColorFromStringHash(props.text, 50, 60)\n const background = getHslColorFromStringHash(props.text, 50, 60, 0.05)\n return { color: foreground, background }\n})\n\nreturn (_ctx: any,_push: any,_parent: any,_attrs: any) => {\n _push(_ssrRenderComponent(NBadge, _mergeProps({ style: color.value }, _attrs), {\n default: _withCtx((_, _push, _parent, _scopeId) => {\n if (_push) {\n _push(`${_ssrInterpolate(__props.text)}`)\n _ssrRenderSlot(_ctx.$slots, \"default\", {}, null, _push, _parent, _scopeId)\n } else {\n return [\n _createTextVNode(_toDisplayString(__props.text), 1),\n _renderSlot(_ctx.$slots, \"default\")\n ]\n }\n }),\n _: 3\n }, _parent))\n}\n}\n\n})","<script setup lang=\"ts\">\nimport { computed } from 'vue'\nimport { getHslColorFromStringHash } from '../composables/color'\nimport NBadge from './NBadge.vue'\n\nconst props = defineProps<{\n text: string\n}>()\n\nconst color = computed(() => {\n const foreground = getHslColorFromStringHash(props.text, 50, 60)\n const background = getHslColorFromStringHash(props.text, 50, 60, 0.05)\n return { color: foreground, background }\n})\n</script>\n\n<template>\n <NBadge :style=\"color\">\n {{ text }}<slot />\n </NBadge>\n</template>\n","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode } from \"vue\"\nimport { ssrRenderComponent as _ssrRenderComponent, ssrInterpolate as _ssrInterpolate, ssrRenderList as _ssrRenderList } from \"vue/server-renderer\"\n\nimport type { ServerDebugModuleMutationRecord } from '@nuxt/devtools-kit/types'\nimport { computed, ref } from 'vue'\n\n\nexport default /*@__PURE__*/_defineComponent({\n __name: 'DebugModuleMutationRecords',\n __ssrInlineRender: true,\n props: {\n moduleMutationRecords: {}\n },\n setup(__props: any) {\n\nconst props = __props\n\nconst WINDOWS_DRIVE_RE = /^[a-z]:[\\\\/]/i\n\nfunction isPath(path: string) {\n return path.startsWith('/') || path.match(WINDOWS_DRIVE_RE)\n}\n\n// const search = ref('')\nconst showBuiltin = ref(false)\nconst showTemplates = ref(false)\nconst showTranspile = ref(false)\nconst showPlugins = ref(false)\nconst showEmptyInitial = ref(false)\nconst moduleFilter = ref('')\n\nconst items = computed(() => {\n let arr = props.moduleMutationRecords\n if (!showBuiltin.value) {\n arr = arr.filter(i => !i.name.startsWith('nuxt:') && i.name !== '@nuxt/devtools')\n }\n if (!showTemplates.value) {\n arr = arr.filter(i => i.keys.join('.') !== 'build.templates')\n }\n if (!showTranspile.value) {\n arr = arr.filter(i => i.keys.join('.') !== 'build.transpile')\n }\n if (!showPlugins.value) {\n arr = arr.filter(i => i.keys.join('.') !== 'plugins')\n }\n if (!showEmptyInitial.value) {\n arr = arr.filter(i => i.method || (i.value !== '[]' && i.value !== '{}'))\n }\n if (moduleFilter.value) {\n arr = arr.filter(i => i.name === moduleFilter.value)\n }\n return arr\n})\n\nreturn (_ctx: any,_push: any,_parent: any,_attrs: any) => {\n const _component_NCheckbox = _resolveComponent(\"NCheckbox\")!\n const _component_NBadgeHashed = _resolveComponent(\"NBadgeHashed\")!\n const _component_NButton = _resolveComponent(\"NButton\")!\n const _component_FilepathItem = _resolveComponent(\"FilepathItem\")!\n const _component_NCodeBlock = _resolveComponent(\"NCodeBlock\")!\n\n _push(`<!--[--><div flex=\"~ gap-2 col\" mb4><div flex=\"~ gap-3 items-center\">`)\n _push(_ssrRenderComponent(_component_NCheckbox, {\n modelValue: showBuiltin.value,\n \"onUpdate:modelValue\": ($event: any) => ((showBuiltin).value = $event),\n n: \"primary\"\n }, {\n default: _withCtx((_, _push, _parent, _scopeId) => {\n if (_push) {\n _push(`<span ws-nowrap op75${_scopeId}>Builtin Modules</span>`)\n } else {\n return [\n _createVNode(\"span\", {\n \"ws-nowrap\": \"\",\n op75: \"\"\n }, \"Builtin Modules\")\n ]\n }\n }),\n _: 1\n }, _parent))\n _push(_ssrRenderComponent(_component_NCheckbox, {\n modelValue: showTemplates.value,\n \"onUpdate:modelValue\": ($event: any) => ((showTemplates).value = $event),\n n: \"primary\"\n }, {\n default: _withCtx((_, _push, _parent, _scopeId) => {\n if (_push) {\n _push(`<span ws-nowrap op75${_scopeId}>Templates</span>`)\n } else {\n return [\n _createVNode(\"span\", {\n \"ws-nowrap\": \"\",\n op75: \"\"\n }, \"Templates\")\n ]\n }\n }),\n _: 1\n }, _parent))\n _push(_ssrRenderComponent(_component_NCheckbox, {\n modelValue: showTranspile.value,\n \"onUpdate:modelValue\": ($event: any) => ((showTranspile).value = $event),\n n: \"primary\"\n }, {\n default: _withCtx((_, _push, _parent, _scopeId) => {\n if (_push) {\n _push(`<span ws-nowrap op75${_scopeId}>Transpile</span>`)\n } else {\n return [\n _createVNode(\"span\", {\n \"ws-nowrap\": \"\",\n op75: \"\"\n }, \"Transpile\")\n ]\n }\n }),\n _: 1\n }, _parent))\n _push(_ssrRenderComponent(_component_NCheckbox, {\n modelValue: showPlugins.value,\n \"onUpdate:modelValue\": ($event: any) => ((showPlugins).value = $event),\n n: \"primary\"\n }, {\n default: _withCtx((_, _push, _parent, _scopeId) => {\n if (_push) {\n _push(`<span ws-nowrap op75${_scopeId}>Plugins</span>`)\n } else {\n return [\n _createVNode(\"span\", {\n \"ws-nowrap\": \"\",\n op75: \"\"\n }, \"Plugins\")\n ]\n }\n }),\n _: 1\n }, _parent))\n _push(_ssrRenderComponent(_component_NCheckbox, {\n modelValue: showEmptyInitial.value,\n \"onUpdate:modelValue\": ($event: any) => ((showEmptyInitial).value = $event),\n n: \"primary\"\n }, {\n default: _withCtx((_, _push, _parent, _scopeId) => {\n if (_push) {\n _push(`<span ws-nowrap op75${_scopeId}>Empty Initial</span>`)\n } else {\n return [\n _createVNode(\"span\", {\n \"ws-nowrap\": \"\",\n op75: \"\"\n }, \"Empty Initial\")\n ]\n }\n }),\n _: 1\n }, _parent))\n if (moduleFilter.value) {\n _push(`<div flex=\"~ gap-1\" items-center p1 border=\"~ base rounded\">`)\n _push(_ssrRenderComponent(_component_NBadgeHashed, {\n \"font-mono\": \"\",\n text: moduleFilter.value\n }, null, _parent))\n _push(_ssrRenderComponent(_component_NButton, {\n icon: \"carbon-close\",\n border: false,\n onClick: ($event: any) => (moduleFilter.value = '')\n }, null, _parent))\n _push(`</div>`)\n } else {\n _push(`<!---->`)\n }\n _push(`</div></div><table max-w-full of-auto><thead border=\"b base\"><tr><th ws-nowrap p1 text-center font-bold> Index </th><th ws-nowrap p1 text-center font-bold> Module </th><th ws-nowrap p1 text-center font-bold> Key Path </th><th ws-nowrap p1 text-center font-bold> Method </th><th ws-nowrap p1 text-center font-bold> Value </th></tr></thead><tbody><!--[-->`)\n _ssrRenderList(items.value, (record) => {\n _push(`<tr border=\"b dashed transparent hover:base\"><td text-center op50><div>${_ssrInterpolate(__props.moduleMutationRecords.indexOf(record) + 1)}</div></td><td>`)\n if (record.name && isPath(record.name)) {\n _push(_ssrRenderComponent(_component_FilepathItem, {\n filepath: record.name\n }, null, _parent))\n } else {\n _push(_ssrRenderComponent(_component_NBadgeHashed, {\n role: \"button\",\n \"font-mono\": \"\",\n text: record.name,\n onClick: ($event: any) => (moduleFilter.value = record.name)\n }, null, _parent))\n }\n _push(`</td><td><code flex=\"~\" px4><!--[-->`)\n _ssrRenderList(record.keys, (key, idy) => {\n _push(`<!--[--><span>${_ssrInterpolate(key)}</span>`)\n if (idy < record.keys.length - 1) {\n _push(`<span op50> . </span>`)\n } else {\n _push(`<!---->`)\n }\n _push(`<!--]-->`)\n })\n _push(`<!--]--></code></td><td px2 text-center>`)\n _push(_ssrRenderComponent(_component_NBadgeHashed, {\n \"font-mono\": \"\",\n text: record.method || '=',\n class: record.method ? '' : 'saturate-0'\n }, null, _parent))\n _push(`</td><td of-auto>`)\n _push(_ssrRenderComponent(_component_NCodeBlock, {\n code: String(record.value),\n lang: \"ts\",\n \"grammar-context-code\": \"let a = \",\n \"ws-normal\": \"\",\n \"break-all\": \"\",\n py1: \"\",\n lines: false,\n inline: true\n }, null, _parent))\n _push(`</td></tr>`)\n })\n _push(`<!--]--></tbody></table><!--]-->`)\n}\n}\n\n})","<script setup lang=\"ts\">\nimport type { ServerDebugModuleMutationRecord } from '@nuxt/devtools-kit/types'\nimport { computed, ref } from 'vue'\n\nconst props = defineProps<{\n moduleMutationRecords: ServerDebugModuleMutationRecord[]\n}>()\n\nconst WINDOWS_DRIVE_RE = /^[a-z]:[\\\\/]/i\n\nfunction isPath(path: string) {\n return path.startsWith('/') || path.match(WINDOWS_DRIVE_RE)\n}\n\n// const search = ref('')\nconst showBuiltin = ref(false)\nconst showTemplates = ref(false)\nconst showTranspile = ref(false)\nconst showPlugins = ref(false)\nconst showEmptyInitial = ref(false)\nconst moduleFilter = ref('')\n\nconst items = computed(() => {\n let arr = props.moduleMutationRecords\n if (!showBuiltin.value) {\n arr = arr.filter(i => !i.name.startsWith('nuxt:') && i.name !== '@nuxt/devtools')\n }\n if (!showTemplates.value) {\n arr = arr.filter(i => i.keys.join('.') !== 'build.templates')\n }\n if (!showTranspile.value) {\n arr = arr.filter(i => i.keys.join('.') !== 'build.transpile')\n }\n if (!showPlugins.value) {\n arr = arr.filter(i => i.keys.join('.') !== 'plugins')\n }\n if (!showEmptyInitial.value) {\n arr = arr.filter(i => i.method || (i.value !== '[]' && i.value !== '{}'))\n }\n if (moduleFilter.value) {\n arr = arr.filter(i => i.name === moduleFilter.value)\n }\n return arr\n})\n</script>\n\n<template>\n <div flex=\"~ gap-2 col\" mb4>\n <!-- <NTextInput v-model=\"search\" placeholder=\"Search\" w-full /> -->\n <div flex=\"~ gap-3 items-center\">\n <NCheckbox v-model=\"showBuiltin\" n=\"primary\">\n <span ws-nowrap op75>Builtin Modules</span>\n </NCheckbox>\n <NCheckbox v-model=\"showTemplates\" n=\"primary\">\n <span ws-nowrap op75>Templates</span>\n </NCheckbox>\n <NCheckbox v-model=\"showTranspile\" n=\"primary\">\n <span ws-nowrap op75>Transpile</span>\n </NCheckbox>\n <NCheckbox v-model=\"showPlugins\" n=\"primary\">\n <span ws-nowrap op75>Plugins</span>\n </NCheckbox>\n <NCheckbox v-model=\"showEmptyInitial\" n=\"primary\">\n <span ws-nowrap op75>Empty Initial</span>\n </NCheckbox>\n <div v-if=\"moduleFilter\" flex=\"~ gap-1\" items-center p1 border=\"~ base rounded\">\n <NBadgeHashed font-mono :text=\"moduleFilter\" />\n <NButton icon=\"carbon-close\" :border=\"false\" @click=\"moduleFilter = ''\" />\n </div>\n </div>\n </div>\n <table max-w-full of-auto>\n <thead border=\"b base\">\n <tr>\n <th ws-nowrap p1 text-center font-bold>\n Index\n </th>\n <th ws-nowrap p1 text-center font-bold>\n Module\n </th>\n <th ws-nowrap p1 text-center font-bold>\n Key Path\n </th>\n <th ws-nowrap p1 text-center font-bold>\n Method\n </th>\n <th ws-nowrap p1 text-center font-bold>\n Value\n </th>\n </tr>\n </thead>\n <tbody>\n <tr\n v-for=\"record of items\"\n :key=\"moduleMutationRecords.indexOf(record)\"\n border=\"b dashed transparent hover:base\"\n >\n <td text-center op50>\n <div>{{ moduleMutationRecords.indexOf(record) + 1 }}</div>\n </td>\n <td>\n <FilepathItem v-if=\"record.name && isPath(record.name)\" :filepath=\"record.name\" />\n <NBadgeHashed\n v-else\n role=\"button\" font-mono\n :text=\"record.name\"\n @click=\"moduleFilter = record.name\"\n />\n </td>\n <td>\n <code flex=\"~\" px4>\n <template v-for=\"key, idy of record.keys\" :key=\"idy\">\n <span>{{ key }}</span>\n <span v-if=\"idy < record.keys.length - 1\" op50>\n .\n </span>\n </template>\n </code>\n </td>\n <td px2 text-center>\n <NBadgeHashed font-mono :text=\"record.method || '='\" :class=\"record.method ? '' : 'saturate-0'\" />\n </td>\n <td of-auto>\n <NCodeBlock\n :code=\"String(record.value)\"\n lang=\"ts\"\n grammar-context-code=\"let a = \"\n ws-normal break-all py1\n :lines=\"false\" :inline=\"true\"\n />\n </td>\n </tr>\n </tbody>\n </table>\n</template>\n","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, mergeProps as _mergeProps, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode } from \"vue\"\nimport { ssrRenderAttrs as _ssrRenderAttrs, ssrRenderComponent as _ssrRenderComponent } from \"vue/server-renderer\"\n\nimport { definePageMeta } from '#imports'\nimport DebugModuleMutationRecords from '~/components/DebugModuleMutationRecords.vue'\nimport { useServerDebugContext } from '~/composables/state'\n\n\nexport default /*@__PURE__*/_defineComponent({\n __name: 'debug',\n __ssrInlineRender: true,\n setup(__props) {\n\ndefinePageMeta({\n icon: 'i-carbon-debug',\n title: 'Debug',\n category: 'advanced',\n})\n\nconst context = useServerDebugContext()\n\nreturn (_ctx: any,_push: any,_parent: any,_attrs: any) => {\n const _component_NSectionBlock = _resolveComponent(\"NSectionBlock\")!\n\n if (!_unref(context)) {\n _push(`<div${_ssrRenderAttrs(_mergeProps({ p6: \"\" }, _attrs))}><div>No Debug Context Found</div><div>Set \\`debug: true\\` in your nuxt.config.ts to enable this panel</div></div>`)\n } else {\n _push(`<div${_ssrRenderAttrs(_attrs)}>`)\n _push(_ssrRenderComponent(_component_NSectionBlock, {\n icon: \"carbon-container-image-push-pull\",\n text: \"Module Mutation Records\",\n description: \"Records of module mutations to nuxt options\"\n }, {\n default: _withCtx((_, _push, _parent, _scopeId) => {\n if (_push) {\n _push(_ssrRenderComponent(DebugModuleMutationRecords, {\n \"module-mutation-records\": _unref(context).moduleMutationRecords || []\n }, null, _parent, _scopeId))\n } else {\n return [\n _createVNode(DebugModuleMutationRecords, {\n \"module-mutation-records\": _unref(context).moduleMutationRecords || []\n }, null, 8, [\"module-mutation-records\"])\n ]\n }\n }),\n _: 1\n }, _parent))\n _push(`</div>`)\n }\n}\n}\n\n})","<script setup lang=\"ts\">\nimport { definePageMeta } from '#imports'\nimport DebugModuleMutationRecords from '~/components/DebugModuleMutationRecords.vue'\nimport { useServerDebugContext } from '~/composables/state'\n\ndefinePageMeta({\n icon: 'i-carbon-debug',\n title: 'Debug',\n category: 'advanced',\n})\n\nconst context = useServerDebugContext()\n</script>\n\n<template>\n <div v-if=\"!context\" p6>\n <div>No Debug Context Found</div>\n <div>Set `debug: true` in your nuxt.config.ts to enable this panel</div>\n </div>\n <div v-else>\n <NSectionBlock\n icon=\"carbon-container-image-push-pull\"\n text=\"Module Mutation Records\"\n description=\"Records of module mutations to nuxt options\"\n >\n <DebugModuleMutationRecords\n :module-mutation-records=\"context.moduleMutationRecords || []\"\n />\n </NSectionBlock>\n </div>\n</template>\n"],"version":3}
|