@nuxt/devtools 1.3.9 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/module-main.mjs +13 -12
- package/dist/chunks/vscode.mjs +2 -2
- package/dist/chunks/vue-devtools.mjs +1 -1
- package/dist/client/200.html +25 -25
- package/dist/client/404.html +25 -25
- package/dist/client/_nuxt/{BgweL_3l.js → 2WsLw058.js} +1 -1
- package/dist/client/_nuxt/{B3xdBQzM.js → A56qLMdk.js} +1 -1
- package/dist/client/_nuxt/{C0RAjPaQ.js → AIZ3trgN.js} +1 -1
- package/dist/client/_nuxt/{Ctb-QkcA.js → B2aNs1qV.js} +2 -2
- package/dist/client/_nuxt/{DCIux9Jq.js → B6H_wowy.js} +1 -1
- package/dist/client/_nuxt/{xORP-8Ow.js → BAJXKRnU.js} +1 -1
- package/dist/client/_nuxt/{CG8l32IX.js → BD_-z3C6.js} +1 -1
- package/dist/client/_nuxt/{BiD_nEzt.js → BF2Zv_ac.js} +1 -1
- package/dist/client/_nuxt/{CDN3PKDC.js → BFisL5PK.js} +1 -1
- package/dist/client/_nuxt/BLmvGqlk.js +1 -0
- package/dist/client/_nuxt/{2LcXl48m.js → BNFg_2hU.js} +1 -1
- package/dist/client/_nuxt/{2e6xxFgg.js → BQnF4QpF.js} +1 -1
- package/dist/client/_nuxt/{b-sJbkBg.js → BRmBiXYU.js} +1 -1
- package/dist/client/_nuxt/{CVnen6aX.js → BTojbgVV.js} +1 -1
- package/dist/client/_nuxt/BYelj_cE.js +1 -0
- package/dist/client/_nuxt/BZflAdyk.js +43 -0
- package/dist/client/_nuxt/{CeCFyH2L.js → Bb8Qkg2j.js} +1 -1
- package/dist/client/_nuxt/{CVc_vzB8.js → BcmtLNjB.js} +1 -1
- package/dist/client/_nuxt/{CHDbzgkk.js → BgwfQLiC.js} +1 -1
- package/dist/client/_nuxt/{DeJGQFsa.js → BhPGnnSc.js} +1 -1
- package/dist/client/_nuxt/{Bmn7JOho.js → Bn9bQn_0.js} +1 -1
- package/dist/client/_nuxt/{tIa4hiZQ.js → BtVX2hui.js} +1 -1
- package/dist/client/_nuxt/BwlD2UKZ.js +1 -0
- package/dist/client/_nuxt/{Bsa9pMTD.js → By8bKr-N.js} +3 -3
- package/dist/client/_nuxt/{DuFGBY9A.js → C8RrL2-P.js} +1 -1
- package/dist/client/_nuxt/{C5ufIXkV.js → CD1NqIIM.js} +1 -1
- package/dist/client/_nuxt/{DMp3ub-8.js → CGrOFGU2.js} +1 -1
- package/dist/client/_nuxt/{DkQfqnYF.js → CHRohc05.js} +9 -9
- package/dist/client/_nuxt/{QIDSXraL.js → CKMxd-JB.js} +1 -1
- package/dist/client/_nuxt/{H8p8AdfC.js → CROnmYq8.js} +1 -1
- package/dist/client/_nuxt/{Diu0Y0PU.js → CSdo01uo.js} +2 -2
- package/dist/client/_nuxt/{A4w2ZRz2.js → CTgwY-nX.js} +1 -1
- package/dist/client/_nuxt/{B3Xn0-WD.js → C_QixTwI.js} +1 -1
- package/dist/client/_nuxt/{CHVLsZmm.js → CbWJw1kk.js} +1 -1
- package/dist/client/_nuxt/CmukqgDs.js +1 -0
- package/dist/client/_nuxt/{BJnuIykn.js → CqEMLpLr.js} +1 -1
- package/dist/client/_nuxt/D43mkQK_.js +1 -0
- package/dist/client/_nuxt/DEF_vpGm.js +16 -0
- package/dist/client/_nuxt/{C5gCGmDW.js → DK4oFTHQ.js} +1 -1
- package/dist/client/_nuxt/{JOMs3kJS.js → DKNVc3Pf.js} +114 -114
- package/dist/client/_nuxt/{D8-i-l8m.js → DLUNO0Xm.js} +1 -1
- package/dist/client/_nuxt/{brJlGqJM.js → DLu2RzFt.js} +1 -1
- package/dist/client/_nuxt/{OAG_rOo8.js → DO36ltOt.js} +1 -1
- package/dist/client/_nuxt/{H6yjxI9R.js → DOv5BRyJ.js} +1 -1
- package/dist/client/_nuxt/{ZTrlmdYI.js → DQZBaF2J.js} +1 -1
- package/dist/client/_nuxt/DTOtwcdp.js +98 -0
- package/dist/client/_nuxt/{nbOvh45q.js → DWfDPvkq.js} +1 -1
- package/dist/client/_nuxt/{qnM-VzkH.js → Das97jHp.js} +1 -1
- package/dist/client/_nuxt/{Cfh5adMM.js → DeV-19Y9.js} +1 -1
- package/dist/client/_nuxt/{dyz0QDHl.js → DjP2QASF.js} +1 -1
- package/dist/client/_nuxt/DnvoyAD8.js +1 -0
- package/dist/client/_nuxt/{ix9IAXj6.js → DpYuRYxj.js} +92 -22
- package/dist/client/_nuxt/Dru2Tyw8.js +2 -0
- package/dist/client/_nuxt/{-vLCBS-N.js → DwafjdGG.js} +1 -1
- package/dist/client/_nuxt/DxBIjTmI.js +9 -0
- package/dist/client/_nuxt/{s01ATyxb.js → DyhAO93-.js} +1 -1
- package/dist/client/_nuxt/{CSiYmMfO.js → GjTC5NxA.js} +8 -8
- package/dist/client/_nuxt/{C8k43jHS.js → L-yiqDbL.js} +1 -1
- package/dist/client/_nuxt/{pOm0j4bx.js → SOK9_XgA.js} +1 -1
- package/dist/client/_nuxt/{Dcjed-xK.js → Sexyi49-.js} +3 -3
- package/dist/client/_nuxt/{BgkXDMve.js → T04KvlgM.js} +1 -1
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/4dfa6860-b8c0-4ad3-a283-0de7e742bb5a.json +1 -0
- package/dist/client/_nuxt/{DL9aipy8.js → dYpGFgFL.js} +1 -1
- package/dist/client/_nuxt/dnEdyJOX.js +9 -0
- package/dist/client/_nuxt/entry.Gpl6Gx6M.css +1 -0
- package/dist/client/_nuxt/error-404.4OGL5unG.css +1 -0
- package/dist/client/_nuxt/error-500.CVlaxm9G.css +1 -0
- package/dist/client/_nuxt/{DMviwfII.js → lc4WPc7a.js} +1 -1
- package/dist/client/_nuxt/{BEWN4pmm.js → sdlgwPR1.js} +1 -1
- package/dist/client/_nuxt/timeline.BVVcTKn-.css +1 -0
- package/dist/client/_nuxt/{BfZiPQjx.js → vukXLwum.js} +1 -1
- package/dist/client/_nuxt/{Bjf-a2fi.js → wDknflE0.js} +1 -1
- package/dist/client/_nuxt/{CktVnUy9.js → x4RoSwOc.js} +1 -1
- package/dist/client/index.html +25 -25
- package/dist/module.d.mts +1 -1
- package/dist/module.d.ts +1 -1
- package/dist/module.json +2 -2
- package/dist/runtime/auth/index.html +2 -12
- package/dist/runtime/function-metrics-helpers.d.ts +1 -1
- package/dist/runtime/{function-metrics-helpers.mjs → function-metrics-helpers.js} +2 -2
- package/dist/runtime/plugins/{devtools.client.mjs → devtools.client.js} +2 -2
- package/dist/runtime/plugins/view/FrameBox.vue +5 -49
- package/dist/runtime/plugins/view/Main.vue +2 -148
- package/dist/runtime/plugins/view/client.d.ts +1 -1
- package/dist/runtime/plugins/view/{client.mjs → client.js} +5 -5
- package/dist/runtime/plugins/view/state.d.ts +1 -1
- package/dist/runtime/plugins/view/{state.mjs → state.js} +1 -1
- package/dist/runtime/plugins/view/{utils.mjs → utils.js} +10 -6
- package/dist/runtime/settings.d.ts +1 -1
- package/dist/runtime/shared/hooks.d.ts +1 -1
- package/dist/runtime/use-nuxt-devtools.d.ts +1 -1
- package/package.json +36 -36
- package/dist/client/_nuxt/9vVlwvR0.js +0 -9
- package/dist/client/_nuxt/BHNRcs4v.js +0 -1
- package/dist/client/_nuxt/BMkcc7VF.js +0 -1
- package/dist/client/_nuxt/C8cCu25J.js +0 -1
- package/dist/client/_nuxt/C9duD8Qg.js +0 -1
- package/dist/client/_nuxt/CZLRDnsa.js +0 -1
- package/dist/client/_nuxt/DDT2yUXF.js +0 -98
- package/dist/client/_nuxt/DMEbMliD.js +0 -1
- package/dist/client/_nuxt/DbOyCHOq.js +0 -16
- package/dist/client/_nuxt/Dp08BkoM.js +0 -2
- package/dist/client/_nuxt/builds/meta/a9356a90-0031-4b93-8375-47585faa7c3c.json +0 -1
- package/dist/client/_nuxt/eUQ_X7Id.js +0 -43
- package/dist/client/_nuxt/entry.hxdKUDpu.css +0 -1
- package/dist/client/_nuxt/error-404.D-YMsRWn.css +0 -1
- package/dist/client/_nuxt/error-500.B8squ7MD.css +0 -1
- package/dist/client/_nuxt/s9jguXLC.js +0 -9
- package/dist/client/_nuxt/timeline.DvDJbalt.css +0 -1
- /package/dist/runtime/nitro/{inline.mjs → inline.js} +0 -0
- /package/dist/runtime/plugins/{devtools.server.mjs → devtools.server.js} +0 -0
- /package/dist/runtime/{settings.mjs → settings.js} +0 -0
- /package/dist/runtime/shared/{hooks.mjs → hooks.js} +0 -0
- /package/dist/runtime/{use-nuxt-devtools.mjs → use-nuxt-devtools.js} +0 -0
- /package/dist/runtime/vue-devtools/{overlay.d.mts → overlay.d.ts} +0 -0
- /package/dist/runtime/vue-devtools/{overlay.mjs → overlay.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import t from"./
|
|
1
|
+
import t from"./DpYuRYxj.js";import e from"./Dch3xQiY.js";import"./CbViG2Xw.js";import"./CbYhyuC0.js";import"./DC8MraHL.js";import"./CupVZNk8.js";import"./DK4oFTHQ.js";const n=Object.freeze({displayName:"Vue HTML",fileTypes:[],name:"vue-html",patterns:[{include:"source.vue#vue-interpolations"},{begin:"(<)([A-Z][a-zA-Z0-9:-]*)(?=[^>]*></\\2>)",beginCaptures:{1:{name:"punctuation.definition.tag.begin.html"},2:{name:"support.class.component.html"}},end:"(>)(<)(/)(\\2)(>)",endCaptures:{1:{name:"punctuation.definition.tag.end.html"},2:{name:"punctuation.definition.tag.begin.html meta.scope.between-tag-pair.html"},3:{name:"punctuation.definition.tag.begin.html"},4:{name:"support.class.component.html"},5:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.any.html",patterns:[{include:"#tag-stuff"}]},{begin:"(<)([a-z][a-zA-Z0-9:-]*)(?=[^>]*></\\2>)",beginCaptures:{1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.html"}},end:"(>)(<)(/)(\\2)(>)",endCaptures:{1:{name:"punctuation.definition.tag.end.html"},2:{name:"punctuation.definition.tag.begin.html meta.scope.between-tag-pair.html"},3:{name:"punctuation.definition.tag.begin.html"},4:{name:"entity.name.tag.html"},5:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.any.html",patterns:[{include:"#tag-stuff"}]},{begin:"(<\\?)(xml)",captures:{1:{name:"punctuation.definition.tag.html"},2:{name:"entity.name.tag.xml.html"}},end:"(\\?>)",name:"meta.tag.preprocessor.xml.html",patterns:[{include:"#tag-generic-attribute"},{include:"#string-double-quoted"},{include:"#string-single-quoted"}]},{begin:"<!--",captures:{0:{name:"punctuation.definition.comment.html"}},end:"-->",name:"comment.block.html"},{begin:"<!",captures:{0:{name:"punctuation.definition.tag.html"}},end:">",name:"meta.tag.sgml.html",patterns:[{begin:"(?i:DOCTYPE)",captures:{1:{name:"entity.name.tag.doctype.html"}},end:"(?=>)",name:"meta.tag.sgml.doctype.html",patterns:[{match:'"[^">]*"',name:"string.quoted.double.doctype.identifiers-and-DTDs.html"}]},{begin:"\\[CDATA\\[",end:"]](?=>)",name:"constant.other.inline-data.html"},{match:"(\\s*)(?!--|>)\\S(\\s*)",name:"invalid.illegal.bad-comments-or-CDATA.html"}]},{begin:"(</?)([A-Z][a-zA-Z0-9:-]*\\b)",beginCaptures:{1:{name:"punctuation.definition.tag.begin.html"},2:{name:"support.class.component.html"}},end:"(>)",endCaptures:{1:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.block.any.html",patterns:[{include:"#tag-stuff"}]},{begin:"(</?)([a-z][a-zA-Z0-9:-]*\\b)",beginCaptures:{1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.block.any.html"}},end:"(>)",endCaptures:{1:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.block.any.html",patterns:[{include:"#tag-stuff"}]},{begin:"(</?)((?i:body|head|html)\\b)",captures:{1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.structure.any.html"}},end:"(>)",endCaptures:{1:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.structure.any.html",patterns:[{include:"#tag-stuff"}]},{begin:"(</?)((?i:address|blockquote|dd|div|dl|dt|fieldset|form|frame|frameset|h1|h2|h3|h4|h5|h6|iframe|noframes|object|ol|p|ul|applet|center|dir|hr|menu|pre)(?!-)\\b)",beginCaptures:{1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.block.any.html"}},end:"(>)",endCaptures:{1:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.block.any.html",patterns:[{include:"#tag-stuff"}]},{begin:"(</?)((?i:a|abbr|acronym|area|b|base|basefont|bdo|big|br|button|caption|cite|code|col|colgroup|del|dfn|em|font|head|html|i|img|input|ins|isindex|kbd|label|legend|li|link|map|meta|noscript|optgroup|option|param|q|s|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|u|var)(?!-)\\b)",beginCaptures:{1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.inline.any.html"}},end:"(/?>)",endCaptures:{1:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.inline.any.html",patterns:[{include:"#tag-stuff"}]},{begin:"(</?)([a-zA-Z0-9:-]+)",beginCaptures:{1:{name:"punctuation.definition.tag.begin.html"},2:{name:"entity.name.tag.other.html"}},end:"(/?>)",endCaptures:{1:{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.other.html",patterns:[{include:"#tag-stuff"}]},{include:"#entities"},{match:"<>",name:"invalid.illegal.incomplete.html"},{match:"<",name:"invalid.illegal.bad-angle-bracket.html"}],repository:{entities:{patterns:[{captures:{1:{name:"punctuation.definition.entity.html"},3:{name:"punctuation.definition.entity.html"}},match:"(&)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)",name:"constant.character.entity.html"},{match:"&",name:"invalid.illegal.bad-ampersand.html"}]},"string-double-quoted":{begin:'"',beginCaptures:{0:{name:"punctuation.definition.string.begin.html"}},end:'"',endCaptures:{0:{name:"punctuation.definition.string.end.html"}},name:"string.quoted.double.html",patterns:[{include:"source.vue#vue-interpolations"},{include:"#entities"}]},"string-single-quoted":{begin:"'",beginCaptures:{0:{name:"punctuation.definition.string.begin.html"}},end:"'",endCaptures:{0:{name:"punctuation.definition.string.end.html"}},name:"string.quoted.single.html",patterns:[{include:"source.vue#vue-interpolations"},{include:"#entities"}]},"tag-generic-attribute":{match:"(?<=[^=])\\b([a-zA-Z0-9:\\-_]+)",name:"entity.other.attribute-name.html"},"tag-id-attribute":{begin:"\\b(id)\\b\\s*(=)",captures:{1:{name:"entity.other.attribute-name.id.html"},2:{name:"punctuation.separator.key-value.html"}},end:`(?!\\G)(?<='|"|[^\\s<>/])`,name:"meta.attribute-with-value.id.html",patterns:[{begin:'"',beginCaptures:{0:{name:"punctuation.definition.string.begin.html"}},contentName:"meta.toc-list.id.html",end:'"',endCaptures:{0:{name:"punctuation.definition.string.end.html"}},name:"string.quoted.double.html",patterns:[{include:"source.vue#vue-interpolations"},{include:"#entities"}]},{begin:"'",beginCaptures:{0:{name:"punctuation.definition.string.begin.html"}},contentName:"meta.toc-list.id.html",end:"'",endCaptures:{0:{name:"punctuation.definition.string.end.html"}},name:"string.quoted.single.html",patterns:[{include:"source.vue#vue-interpolations"},{include:"#entities"}]},{captures:{0:{name:"meta.toc-list.id.html"}},match:`(?<==)(?:[^\\s<>/'"]|/(?!>))+`,name:"string.unquoted.html"}]},"tag-stuff":{patterns:[{include:"#vue-directives"},{include:"#tag-id-attribute"},{include:"#tag-generic-attribute"},{include:"#string-double-quoted"},{include:"#string-single-quoted"},{include:"#unquoted-attribute"}]},"unquoted-attribute":{match:`(?<==)(?:[^\\s<>/'"]|/(?!>))+`,name:"string.unquoted.html"},"vue-directives":{begin:"(?:\\b(v-)|(:|@|#))([a-zA-Z0-9\\-_]+)(?:\\:([a-zA-Z\\-_]+))?(?:\\.([a-zA-Z\\-_]+))*\\s*(=)",captures:{1:{name:"entity.other.attribute-name.html"},2:{name:"punctuation.separator.key-value.html"},3:{name:"entity.other.attribute-name.html"},4:{name:"entity.other.attribute-name.html"},5:{name:"entity.other.attribute-name.html"},6:{name:"punctuation.separator.key-value.html"}},end:"(?<='|\")|(?=[\\s<>`])",name:"meta.directive.vue",patterns:[{begin:"`",beginCaptures:{0:{name:"punctuation.definition.string.begin.html"}},end:"`",endCaptures:{0:{name:"punctuation.definition.string.end.html"}},name:"source.directive.vue",patterns:[{include:"source.js#expression"}]},{begin:'"',beginCaptures:{0:{name:"punctuation.definition.string.begin.html"}},end:'"',endCaptures:{0:{name:"punctuation.definition.string.end.html"}},name:"source.directive.vue",patterns:[{include:"source.js#expression"}]},{begin:"'",beginCaptures:{0:{name:"punctuation.definition.string.begin.html"}},end:"'",endCaptures:{0:{name:"punctuation.definition.string.end.html"}},name:"source.directive.vue",patterns:[{include:"source.js#expression"}]}]}},scopeName:"text.html.vue-html",embeddedLangs:["vue","javascript"]});var s=[...t,...e,n];export{s as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as D,ao as j,r as A,a as
|
|
1
|
+
import{d as D,ao as j,r as A,a as x,aA as q,aB as B,as as $,aC as E,aD as b,aE as M,aF as N,m as I,o as s,aG as L,P,aH as V,aI as C,aJ as W,f as a,h as c,j as y,az as O,A as R,k as u,v as w,t as T,L as S,i as F,at as U,aK as G}from"./BZflAdyk.js";import{_ as z}from"./CmukqgDs.js";import"./BRmBiXYU.js";import"./CTgwY-nX.js";const g=new Map,H=D({__name:"IframeView",props:{tab:{}},setup(f){const m=f,r=j(),v=A(),i=x(()=>m.tab.name),e=A(),t=q(B(v));$(()=>{const o=m.tab.view,l=o.persistent!==!1,h=["clipboard-write","clipboard-read"];if(g.get(i.value)&&l)e.value=g.get(i.value),e.value.style.visibility="visible";else{e.value=document.createElement("iframe"),e.value.setAttribute("allow",h.join("; ")),e.value.setAttribute("aria-label","Nuxt Devtools"),l&&g.set(i.value,e.value),e.value.src=o.src;try{e.value.style.opacity="0.01",e.value.onload=()=>{d(),n(),e.value.style.opacity="1"}}catch{e.value.style.opacity="1"}document.body.appendChild(e.value),E(_)}setTimeout(n,100)}),b(_),b(n),b(d),M(()=>{e.value&&(e.value.style.visibility="hidden")});function n(){if(!(!e.value||!e.value.contentWindow))try{const o=e.value.contentWindow.document.querySelector("html");o?.classList.toggle("dark",r.value==="dark"),o?.classList.toggle("light",r.value==="dark"),new MutationObserver(()=>{r.value=e.value?.contentWindow?.document.querySelector("html")?.classList.contains("dark")?"dark":"light"}).observe(o,{attributes:!0,attributeFilter:["class"]})}catch{}}const p=N();function d(){if(!(!e.value||!e.value.contentWindow))try{e.value.contentWindow.__NUXT_DEVTOOLS__=p.value}catch{}}function _(){e.value&&Object.assign(e.value.style,{position:"fixed",left:`${t.left}px`,top:`${t.top}px`,width:`${t.width}px`,height:`${t.height}px`,outline:"none"})}return(o,l)=>(s(),I("div",{ref_key:"anchor",ref:v,"h-full":"","w-full":""},null,512))}}),J={flex:"~ col gap2",mxa:"","items-center":""},K=u("div",{"i-carbon-queued":"",mb2:"","text-5xl":"",op50:""},null,-1),X={"text-xl":""},Q={"text-rose":""},Y=u("p",{op50:""}," It might because the module contributing this tab is not installed or enabled ",-1),Z=u("p",{mt8:"","animate-pulse":""}," Redirecting to overview page... ",-1),ne=D({__name:"custom-[name]",props:{name:{}},setup(f){const m=f,r=L(),v=P(),i=x(()=>m.name??r.params.name),e=V(),t=x(()=>e.value.find(n=>n.name===i.value));return $(()=>{t.value?t.value.requireAuth&&!C.value&&W():setTimeout(()=>{t.value||v.push("/modules/overview")},2e3)}),(n,p)=>{const d=R,_=G,o=H,l=z,h=U;return a(t)?a(t).requireAuth&&!("isDevAuthed"in n?n.isDevAuthed:a(C))?(s(),c(_,{key:1})):a(t).view.type==="iframe"?(s(),c(o,{key:2,tab:a(t)},null,8,["tab"])):a(t).view.type==="vnode"?(s(),c(O(a(t).view.vnode),{key:3})):a(t).view.type==="launch"?(s(),c(l,{key:4,name:`custom-${a(t).name}`,icon:a(t).view.icon||a(t).icon,title:a(t).view.title||a(t).title,description:a(t).view.description,actions:a(t).view.actions,onAction:p[0]||(p[0]=k=>("rpc"in n?n.rpc:a(S)).customTabAction(a(t).name,k))},null,8,["name","icon","title","description","actions"])):(s(),c(d,{key:5},{default:y(()=>[F(h,{flex:"~ col","h-full":"","items-center":"","justify-center":""},{default:y(()=>[w(" Unknown tab type "+T(a(t).view),1)]),_:1})]),_:1})):(s(),c(d,{key:0},{default:y(()=>[u("div",J,[K,u("p",X,[w(" Tab "),u("code",Q,T(a(i)),1),w(" not found ")]),Y,Z])]),_:1}))}}});export{ne as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as x}from"./
|
|
1
|
+
import{_ as x}from"./wDknflE0.js";import{_ as y}from"./BgwfQLiC.js";import{o as l,m as p,k as n,v as d,d as b,am as C,bG as k,a as u,f as t,i as e,j as a,p as w,F as N}from"./BZflAdyk.js";import{_ as R}from"./T04KvlgM.js";import"./A56qLMdk.js";import"./CHRohc05.js";import"./L-yiqDbL.js";const T={class:"markdown-body"},B=n("h1",null,"Runtime Configs",-1),V=n("p",null,"Nuxt provides a runtime config API to expose configuration within your application and server routes, with the ability to update it at runtime by setting environment variables.",-1),$=n("p",null,[d("In Nuxt DevTools, the editor allows you to edit the runtime config temporarily to see how the changes affect your application. To update them, you might want to update your "),n("code",null,"nuxt.config.js"),d(" file, or check more details in the documentation.")],-1),D=n("p",null,[n("a",{href:"https://nuxt.com/docs/guide/going-further/runtime-config",target:"_blank",rel:"noopener"},"Learn more in the documentation")],-1),F=[B,V,$,D],P={__name:"runtime-configs",setup(f,{expose:o}){return o({frontmatter:{}}),(m,i)=>(l(),p("div",T,F))}},S=P,j={key:0},J=b({__name:"runtime-configs",setup(f){const o=C(),_=k(),m=u(()=>o.value?.nuxt.payload),i=u(()=>o.value?.revision.value),g=u(()=>{const s={..._.value};return delete s.public,delete s.app,s});return(s,A)=>{const r=x,c=y,h=S,v=R;return l(),p(N,null,[t(o)?(l(),p("div",j,[e(c,{icon:"carbon-settings-services",text:"App Config",padding:!1},{default:a(()=>[e(r,{state:t(o).app.appConfig,revision:t(i)},null,8,["state","revision"])]),_:1}),e(c,{icon:"carbon-settings",text:"Public Runtime Config",padding:!1},{default:a(()=>[e(r,{state:t(m).config?.public,revision:t(i)},null,8,["state","revision"])]),_:1}),e(c,{icon:"i-carbon-code-signing-service",text:"Private Runtime Config",open:!1,padding:!1,description:"These values are not exposed to the client. Readonly in the DevTools."},{default:a(()=>[e(r,{state:t(g),revision:t(i),readonly:""},null,8,["state","revision"])]),_:1})])):w("",!0),e(v,null,{default:a(()=>[e(h)]),_:1})],64)}}});export{J as default};
|