@nuxt/devtools 4.0.0-alpha.7 → 4.0.0-alpha.8
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/analyze-build.mjs +32 -0
- package/dist/chunks/module-main.mjs +610 -302
- package/dist/chunks/timeline.mjs +2 -2
- package/dist/chunks/vite-inspect.mjs +75 -39
- package/dist/chunks/vscode.mjs +6 -7
- package/dist/client/200.html +1 -1
- package/dist/client/404.html +1 -1
- package/dist/client/_nuxt/__blank-mr7fdmv7.js +1 -0
- package/dist/client/_nuxt/analyze-build-nemej5kd.js +1 -0
- package/dist/client/_nuxt/assets-cl372mus.js +6 -0
- package/dist/client/_nuxt/{auth-required-panel-gwrodxrm.js → auth-required-panel-gdnspumn.js} +1 -1
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/9ec1ff21-8126-4e86-bc50-039a1d3867c9.json +1 -0
- package/dist/client/_nuxt/{client-jwk7bkap.js → client-ngo84kjy.js} +1 -1
- package/dist/client/_nuxt/{code-diff-d1bf4mlz.js → code-diff-lkyoam09.js} +3 -3
- package/dist/client/_nuxt/code-snippets-hxwvpad4.js +1 -0
- package/dist/client/_nuxt/components-f9ckplr6.js +1 -0
- package/dist/client/_nuxt/composable-item-kchrxdzu.js +1 -0
- package/dist/client/_nuxt/composables-in7qtp0e.js +1 -0
- package/dist/client/_nuxt/custom-_name_-i8pdh231.js +1 -0
- package/dist/client/_nuxt/data-schema-button-jy2w2afg.js +1 -0
- package/dist/client/_nuxt/{data-schema-drawer-5ccj6aug.js → data-schema-drawer-liuhj385.js} +2 -2
- package/dist/client/_nuxt/debug-inf9k7rz.js +1 -0
- package/dist/client/_nuxt/{default-ibmlv6hu.js → default-dgqm22gk.js} +1 -1
- package/dist/client/_nuxt/dist-cwkxp5t4.js +1 -0
- package/dist/client/_nuxt/dist-das2ggjj.js +1 -0
- package/dist/client/_nuxt/dist-hhnji3pn.js +1 -0
- package/dist/client/_nuxt/{duration-display-cfe3xsok.js → duration-display-m84jv0cg.js} +1 -1
- package/dist/client/_nuxt/entry.css-ivisc4pv.css +1 -0
- package/dist/client/_nuxt/error-404-eoz73pl9.js +1 -0
- package/dist/client/_nuxt/error-404.css-i7pin5fo.css +1 -0
- package/dist/client/_nuxt/error-500-h0agvsjp.js +1 -0
- package/dist/client/_nuxt/error-500.css-4ikva5xr.css +1 -0
- package/dist/client/_nuxt/error-h5jfp4d9.js +9 -0
- package/dist/client/_nuxt/{filepath-item-calgslzq.js → filepath-item-b7ye3und.js} +1 -1
- package/dist/client/_nuxt/full-bc145h1r.js +1 -0
- package/dist/client/_nuxt/{help-fab-ietvwhig.js → help-fab-l6k9jkcj.js} +1 -1
- package/dist/client/_nuxt/hooks-ce5n3mpx.js +1 -0
- package/dist/client/_nuxt/iefeupks.js +4 -0
- package/dist/client/_nuxt/imports-ib3kw7ns.js +1 -0
- package/dist/client/_nuxt/launch-page-f3nbtoc4.js +1 -0
- package/dist/client/_nuxt/modules-gf4tkhai.js +1 -0
- package/dist/client/_nuxt/nbadge-254fd0s4.js +1 -0
- package/dist/client/_nuxt/{ncheckbox-gl62y715.js → ncheckbox-jr3c6e4e.js} +1 -1
- package/dist/client/_nuxt/ncode-block-jv3jk7c5.js +2 -0
- package/dist/client/_nuxt/{ndrawer-evv584t1.js → ndrawer-myfvks89.js} +1 -1
- package/dist/client/_nuxt/{ndropdown-dqqc8bnq.js → ndropdown-jnrvla1s.js} +1 -1
- package/dist/client/_nuxt/{nicon-title-f3ho3hah.js → nicon-title-66kg2f9l.js} +1 -1
- package/dist/client/_nuxt/{nlink-endeyoly.js → nlink-gej31v24.js} +1 -1
- package/dist/client/_nuxt/{nmarkdown-iw4stzqp.js → nmarkdown-nskcr8pg.js} +1 -1
- package/dist/client/_nuxt/{nnavbar-n8fcnalx.js → nnavbar-bvq6rk5u.js} +1 -1
- package/dist/client/_nuxt/none-fcxnfo1z.js +1 -0
- package/dist/client/_nuxt/{nsection-block-n5u7wj9x.js → nsection-block-illvvuef.js} +1 -1
- package/dist/client/_nuxt/{nselect-kdzalcm2.js → nselect-hlo7a40m.js} +1 -1
- package/dist/client/_nuxt/nselect-tabs-f47fcdsg.js +1 -0
- package/dist/client/_nuxt/nswitch-iey7gi9t.js +1 -0
- package/dist/client/_nuxt/{ntip-m8x8y44j.js → ntip-kpuxzuo5.js} +1 -1
- package/dist/client/_nuxt/nuxt-hqfu72u1.js +2 -0
- package/dist/client/_nuxt/open-graph-m35euip2.js +3 -0
- package/dist/client/_nuxt/overview-egkv3tit.js +1 -0
- package/dist/client/_nuxt/pages-ddqyzugj.js +1 -0
- package/dist/client/_nuxt/pages-n0i7aw4m.js +1 -0
- package/dist/client/_nuxt/payload-d6h8l8l2.js +1 -0
- package/dist/client/_nuxt/pinia-dl2li4zl.js +1 -0
- package/dist/client/_nuxt/plugins-nhvbpqrg.js +1 -0
- package/dist/client/_nuxt/ready-if1s6ugr.js +1 -0
- package/dist/client/_nuxt/render-tree-h0xpx3p4.js +1 -0
- package/dist/client/_nuxt/rpc-jaaujnev.js +1 -0
- package/dist/client/_nuxt/runtime-configs-o91gwu2q.js +1 -0
- package/dist/client/_nuxt/server-route-inputs-ej6h9rh8.js +1 -0
- package/dist/client/_nuxt/server-routes-ocltmxje.js +7 -0
- package/dist/client/_nuxt/server-tasks-hhkstkby.js +1 -0
- package/dist/client/_nuxt/settings-i2ld0c8q.js +1 -0
- package/dist/client/_nuxt/stacktrace-list-epxhdumx.js +1 -0
- package/dist/client/_nuxt/{state-components-eaw2evd3.js → state-components-eipbhsbn.js} +1 -1
- package/dist/client/_nuxt/{state-editor-jm35t8p1.js → state-editor-ogobz58w.js} +1 -1
- package/dist/client/_nuxt/state-modules-egymhwqw.js +1 -0
- package/dist/client/_nuxt/storage-cciny388.js +1 -0
- package/dist/client/_nuxt/storage-options-g42elkwy.js +1 -0
- package/dist/client/_nuxt/timeline-oese6i7t.js +31 -0
- package/dist/client/_nuxt/{unocss-runtime-kfral2d7.js → unocss-runtime-dh4insrr.js} +1 -1
- package/dist/client/_nuxt/utils-h3uzf8s7.js +2 -0
- package/dist/client/_nuxt/vendor/json-editor-vue-c7zwcfg4.js +3861 -0
- package/dist/client/_nuxt/vendor/{markdown-it-gg8o3tmh.js → markdown-it-cx0uvu2o.js} +1 -1
- package/dist/client/_nuxt/vendor/{quicktype-core-ozubcbyl.js → quicktype-core-otmjigaj.js} +65 -65
- package/dist/client/_nuxt/vendor/shiki-mgsi4s2l.js +153 -0
- package/dist/client/_nuxt/vendor/unocss-maavuy8p.js +3 -0
- package/dist/client/_nuxt/virtual-files-pd2s0ff2.js +1 -0
- package/dist/client/_nuxt/vue-devtools-bxffe3ae.js +4 -0
- package/dist/client/_nuxt/vue-router-mro49nyg.js +1 -0
- package/dist/client/index.html +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/plugins/view/client.js +15 -0
- package/dist/shared/devtools.B9TxdMuu.mjs +119 -0
- package/dist/types.d.mts +1 -5
- package/dist/webcomponents/index.mjs +1 -1
- package/package.json +45 -49
- package/.discoveryrc.cjs +0 -13
- package/dist/client/_nuxt/__blank-ekrx7eve.js +0 -1
- package/dist/client/_nuxt/analyze-build-gtjxxh9s.js +0 -1
- package/dist/client/_nuxt/assets-fxuoynew.js +0 -6
- package/dist/client/_nuxt/builds/meta/23fee0aa-9df9-4da8-b519-ce0799e7da4e.json +0 -1
- package/dist/client/_nuxt/code-snippets-nodldh90.js +0 -1
- package/dist/client/_nuxt/components-ibu6c1zd.js +0 -1
- package/dist/client/_nuxt/composable-item-lb3qexrh.js +0 -1
- package/dist/client/_nuxt/custom-_name_-dt22ybu3.js +0 -1
- package/dist/client/_nuxt/data-schema-button-m4wb470q.js +0 -1
- package/dist/client/_nuxt/debug-nxl66qh3.js +0 -1
- package/dist/client/_nuxt/dist-nsuzcp77.js +0 -1
- package/dist/client/_nuxt/entry.css-m21ytcnz.css +0 -1
- package/dist/client/_nuxt/error-404-izmgsqlm.js +0 -1
- package/dist/client/_nuxt/error-404.css-l9jcssuy.css +0 -1
- package/dist/client/_nuxt/error-500-fejd4grh.js +0 -1
- package/dist/client/_nuxt/error-500.css-he4ew8b1.css +0 -1
- package/dist/client/_nuxt/error-mm873c55.js +0 -9
- package/dist/client/_nuxt/full-pesi6bu3.js +0 -1
- package/dist/client/_nuxt/hooks-mqgelnks.js +0 -1
- package/dist/client/_nuxt/imports-bofdhcsr.js +0 -1
- package/dist/client/_nuxt/launch-page-i8mgxym7.js +0 -1
- package/dist/client/_nuxt/modules-b6uha2ss.js +0 -1
- package/dist/client/_nuxt/nbadge-ft1i3ddy.js +0 -1
- package/dist/client/_nuxt/ncode-block-ksrq5ppu.js +0 -2
- package/dist/client/_nuxt/none-gr24yqiq.js +0 -1
- package/dist/client/_nuxt/nselect-tabs-e440xayq.js +0 -1
- package/dist/client/_nuxt/nswitch-pdw73751.js +0 -1
- package/dist/client/_nuxt/nuxt-kphganvs.js +0 -1
- package/dist/client/_nuxt/o7y7c26x.js +0 -4
- package/dist/client/_nuxt/open-graph-mtq8qyx5.js +0 -3
- package/dist/client/_nuxt/overview-idjgy9u4.js +0 -1
- package/dist/client/_nuxt/pages-g3tcvbsn.js +0 -1
- package/dist/client/_nuxt/pages-lk0hxlsc.js +0 -1
- package/dist/client/_nuxt/payload-ovd8emqe.js +0 -1
- package/dist/client/_nuxt/pinia-e6em75yg.js +0 -1
- package/dist/client/_nuxt/plugins-ojph2z4c.js +0 -1
- package/dist/client/_nuxt/ready-b5u27bv4.js +0 -1
- package/dist/client/_nuxt/render-tree-iwtso0n9.js +0 -1
- package/dist/client/_nuxt/rpc-ewzip6fb.js +0 -4
- package/dist/client/_nuxt/runtime-configs-gyhmrfcz.js +0 -1
- package/dist/client/_nuxt/server-discovery-cfu428ir.js +0 -1
- package/dist/client/_nuxt/server-route-inputs-hhxdu10p.js +0 -1
- package/dist/client/_nuxt/server-routes-efc7olve.js +0 -7
- package/dist/client/_nuxt/server-tasks-o59rfww6.js +0 -1
- package/dist/client/_nuxt/settings-c6tbo50r.js +0 -1
- package/dist/client/_nuxt/stacktrace-list-c5b46nul.js +0 -1
- package/dist/client/_nuxt/state-modules-oox7nhib.js +0 -1
- package/dist/client/_nuxt/storage-fdd2zc94.js +0 -1
- package/dist/client/_nuxt/storage-options-ho965h55.js +0 -1
- package/dist/client/_nuxt/terminals-b8awmi75.js +0 -1
- package/dist/client/_nuxt/terminals.css-mejv43xm.css +0 -1
- package/dist/client/_nuxt/timeline-nsh72kov.js +0 -31
- package/dist/client/_nuxt/utils-hgmynvjd.js +0 -2
- package/dist/client/_nuxt/vendor/json-editor-vue-mkw4apmc.js +0 -3869
- package/dist/client/_nuxt/vendor/shiki-c7z35hpo.js +0 -293
- package/dist/client/_nuxt/vendor/unocss-lkro8gbr.js +0 -3
- package/dist/client/_nuxt/vendor/xterm-eb5atty5.js +0 -36
- package/dist/client/_nuxt/vendor/xterm.css-j9zpjwmg.css +0 -1
- package/dist/client/_nuxt/virtual-files-met9zkti.js +0 -1
- package/dist/client/_nuxt/vue-devtools-bl144b70.js +0 -4
- package/dist/client/_nuxt/vue-router-cnnrtyb0.js +0 -1
- package/dist/client/discovery/index.html +0 -611
- package/dist/shared/devtools.nEotcg1R.mjs +0 -113
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e}from"./rolldown-runtime-imbltlrc.js";import{d as t,p as n,t as r}from"./dist-cwkxp5t4.js";var i=class extends Error{constructor(e,t){super(e,t),this.name=`FetchError`,t?.cause&&!this.cause&&(this.cause=t.cause)}};function a(e){let t=e.error?.message||e.error?.toString()||``,n=e.request?.method||e.options?.method||`GET`,r=e.request?.url||String(e.request)||`/`,a=new i(`${`[${n}] ${JSON.stringify(r)}`}: ${e.response?`${e.response.status} ${e.response.statusText}`:`<no response>`}${t?` ${t}`:``}`,e.error?{cause:e.error}:void 0);for(let t of[`request`,`options`,`response`])Object.defineProperty(a,t,{get(){return e[t]}});for(let[t,n]of[[`data`,`_data`],[`status`,`status`],[`statusCode`,`status`],[`statusText`,`statusText`],[`statusMessage`,`statusText`]])Object.defineProperty(a,t,{get(){return e.response&&e.response[n]}});return a}var o=new Set(Object.freeze([`PATCH`,`POST`,`PUT`,`DELETE`]));function s(e=`GET`){return o.has(e.toUpperCase())}function c(e){if(e===void 0)return!1;let t=typeof e;return t===`string`||t===`number`||t===`boolean`||t===null?!0:t===`object`?Array.isArray(e)?!0:e.buffer||e instanceof FormData||e instanceof URLSearchParams?!1:e.constructor&&e.constructor.name===`Object`||typeof e.toJSON==`function`:!1}var l=new Set([`image/svg`,`application/xml`,`application/xhtml`,`application/html`]),u=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function d(e=``){if(!e)return`json`;let t=e.split(`;`).shift()||``;return u.test(t)?`json`:t===`text/event-stream`?`stream`:l.has(t)||t.startsWith(`text/`)?`text`:`blob`}function f(e,t,n,r){let i=p(t?.headers??e?.headers,n?.headers,r),a;return(n?.query||n?.params||t?.params||t?.query)&&(a={...n?.params,...n?.query,...t?.params,...t?.query}),{...n,...t,query:a,params:a,headers:i}}function p(e,t,n){if(!t)return new n(e);let r=new n(t);if(e)for(let[t,i]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))r.set(t,i);return r}async function m(e,t){if(t)if(Array.isArray(t))for(let n of t)await n(e);else await t(e)}var h=new Set([408,409,425,429,500,502,503,504]),g=new Set([101,204,205,304]);function _(e={}){let{fetch:i=globalThis.fetch,Headers:o=globalThis.Headers,AbortController:l=globalThis.AbortController}=e;async function u(e){let t=e.error&&e.error.name===`AbortError`&&!e.options.timeout||!1;if(e.options.retry!==!1&&!t){let t;t=typeof e.options.retry==`number`?e.options.retry:+!s(e.options.method);let n=e.response&&e.response.status||500;if(t>0&&(Array.isArray(e.options.retryStatusCodes)?e.options.retryStatusCodes.includes(n):h.has(n))){let n=typeof e.options.retryDelay==`function`?e.options.retryDelay(e):e.options.retryDelay||0;return n>0&&await new Promise(e=>setTimeout(e,n)),p(e.request,{...e.options,retry:t-1})}}let n=a(e);throw Error.captureStackTrace&&Error.captureStackTrace(n,p),n}let p=async function(a,p={}){let h={request:a,options:f(a,p,e.defaults,o),response:void 0,error:void 0};if(h.options.method&&(h.options.method=h.options.method.toUpperCase()),h.options.onRequest&&(await m(h,h.options.onRequest),h.options.headers instanceof o||(h.options.headers=new o(h.options.headers||{}))),typeof h.request==`string`&&(h.options.baseURL&&(h.request=t(h.request,h.options.baseURL)),h.options.query&&(h.request=n(h.request,h.options.query),delete h.options.query),`query`in h.options&&delete h.options.query,`params`in h.options&&delete h.options.params),h.options.body&&s(h.options.method))if(c(h.options.body)){let e=h.options.headers.get(`content-type`);typeof h.options.body!=`string`&&(h.options.body=e===`application/x-www-form-urlencoded`?new URLSearchParams(h.options.body).toString():JSON.stringify(h.options.body)),e||h.options.headers.set(`content-type`,`application/json`),h.options.headers.has(`accept`)||h.options.headers.set(`accept`,`application/json`)}else (`pipeTo`in h.options.body&&typeof h.options.body.pipeTo==`function`||typeof h.options.body.pipe==`function`)&&(`duplex`in h.options||(h.options.duplex=`half`));let _;if(!h.options.signal&&h.options.timeout){let e=new l;_=setTimeout(()=>{let t=Error(`[TimeoutError]: The operation was aborted due to timeout`);t.name=`TimeoutError`,t.code=23,e.abort(t)},h.options.timeout),h.options.signal=e.signal}try{h.response=await i(h.request,h.options)}catch(e){return h.error=e,h.options.onRequestError&&await m(h,h.options.onRequestError),await u(h)}finally{_&&clearTimeout(_)}if((h.response.body||h.response._bodyInit)&&!g.has(h.response.status)&&h.options.method!==`HEAD`){let e=(h.options.parseResponse?`json`:h.options.responseType)||d(h.response.headers.get(`content-type`)||``);switch(e){case`json`:{let e=await h.response.text(),t=h.options.parseResponse||r;h.response._data=t(e);break}case`stream`:h.response._data=h.response.body||h.response._bodyInit;break;default:h.response._data=await h.response[e]()}}return h.options.onResponse&&await m(h,h.options.onResponse),!h.options.ignoreResponseError&&h.response.status>=400&&h.response.status<600?(h.options.onResponseError&&await m(h,h.options.onResponseError),await u(h)):h.response},v=async function(e,t){return(await p(e,t))._data};return v.raw=p,v.native=(...e)=>i(...e),v.create=(t={},n={})=>_({...e,...n,defaults:{...e.defaults,...n.defaults,...t}}),v}var v=e({$fetch:()=>w,AbortController:()=>S,Headers:()=>x,createFetch:()=>_,fetch:()=>b,ofetch:()=>C}),y=(function(){if(typeof globalThis<`u`)return globalThis;if(typeof self<`u`)return self;if(typeof window<`u`)return window;if(typeof global<`u`)return global;throw Error(`unable to locate global object`)})(),b=y.fetch?(...e)=>y.fetch(...e):()=>Promise.reject(Error(`[ofetch] global.fetch is not supported!`)),x=y.Headers,S=y.AbortController,C=_({fetch:b,Headers:x,AbortController:S}),w=C;export{v as n,w as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{S as e,T as t,
|
|
1
|
+
import{S as e,T as t,W as n,X as r,Zt as i,_ as a,en as o,m as s,p as c}from"./vendor/json-editor-vue-c7zwcfg4.js";var l={"ml-1":``,"text-xs":``,op50:``},u=Object.assign(t({__name:`DurationDisplay`,props:{duration:{},factor:{default:1},color:{type:Boolean,default:!0}},setup(t){let u=t;function d(e){return u.color?e?(e*=u.factor,e<.5?`text-gray:50`:e>1e3?`text-red-400`:e>500?`text-orange-400`:e>200?`text-yellow-400`:``):`text-gray-400`:``}let f=c(()=>!u.duration||u.duration<1?[`<1`,`ms`]:u.duration<1e3?[u.duration.toFixed(0),`ms`]:u.duration<1e3*60?[(u.duration/1e3).toFixed(1),`s`]:[(u.duration/1e3/60).toFixed(1),`min`]);return(c,u)=>(n(),a(`div`,{class:i(d(t.duration))},[r(c.$slots,`before`),e(` `+o(f.value[0]),1),s(`span`,l,o(f.value[1]),1),r(c.$slots,`after`)],2))}}),{__name:`DurationDisplay`});export{u as t};
|