@nuxt/devtools 0.8.2 → 0.8.4
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/README.md +4 -4
- package/dist/chunks/analyze-build.mjs +38 -6
- package/dist/chunks/module-main.mjs +2 -2
- package/dist/chunks/vscode.mjs +1 -1
- package/dist/client/200.html +31 -31
- package/dist/client/404.html +31 -31
- package/dist/client/__blank/index.html +31 -31
- package/dist/client/_nuxt/{Badge.3c6fa035.js → Badge.a4bd58d4.js} +1 -1
- package/dist/client/_nuxt/{CodeDiff.vue.7a519a6d.js → CodeDiff.vue.a8c9e639.js} +1 -1
- package/dist/client/_nuxt/{ComposableItem.vue.ffcca591.js → ComposableItem.vue.bd112256.js} +1 -1
- package/dist/client/_nuxt/{DataSchemaButton.vue.9ced8093.js → DataSchemaButton.vue.fbb61806.js} +1 -1
- package/dist/client/_nuxt/{DataSchemaDrawer.6edfca87.js → DataSchemaDrawer.f84a2081.js} +7 -6
- package/dist/client/_nuxt/{DrawerRight.vue.8980fc15.js → DrawerRight.vue.b9dc765f.js} +1 -1
- package/dist/client/_nuxt/{DurationDisplay.vue.dca5d690.js → DurationDisplay.vue.1f34b658.js} +1 -1
- package/dist/client/_nuxt/{FilepathItem.vue.222c7a36.js → FilepathItem.vue.a4d269b8.js} +1 -1
- package/dist/client/_nuxt/{HelpFab.vue.6da14cd2.js → HelpFab.vue.c0c3f8e6.js} +1 -1
- package/dist/client/_nuxt/{LaunchPage.vue.ded97a46.js → LaunchPage.vue.012ddba7.js} +1 -1
- package/dist/client/_nuxt/NCheckbox.vue.0e359f85.js +1 -0
- package/dist/client/_nuxt/{NCodeBlock.vue.cd0d52ca.js → NCodeBlock.vue.01eb6d1c.js} +1 -1
- package/dist/client/_nuxt/{NDropdown.vue.3bf5669f.js → NDropdown.vue.b3117df4.js} +1 -1
- package/dist/client/_nuxt/{NIconTitle.vue.590f73cc.js → NIconTitle.vue.79485c3a.js} +1 -1
- package/dist/client/_nuxt/{NLink.vue.2bd59538.js → NLink.vue.6dc3b4af.js} +1 -1
- package/dist/client/_nuxt/{NMarkdown.vue.0929ffc5.js → NMarkdown.vue.7a10e6e6.js} +1 -1
- package/dist/client/_nuxt/{NSectionBlock.2eb550f4.js → NSectionBlock.2d8e1431.js} +1 -1
- package/dist/client/_nuxt/{NSelect.vue.120a17c7.js → NSelect.vue.9cac29ef.js} +1 -1
- package/dist/client/_nuxt/{NSelectTabs.vue.15ded4ea.js → NSelectTabs.vue.72adf277.js} +1 -1
- package/dist/client/_nuxt/{NSwitch.vue.00f0a211.js → NSwitch.vue.67a4fdb0.js} +1 -1
- package/dist/client/_nuxt/{NTip.vue.b82daf5f.js → NTip.vue.d505e897.js} +1 -1
- package/dist/client/_nuxt/{Navbar.vue.454bbdad.js → Navbar.vue.8dc15d25.js} +1 -1
- package/dist/client/_nuxt/{StateEditor.vue.fb44992d.js → StateEditor.vue.2463efc9.js} +1 -1
- package/dist/client/_nuxt/{__blank.ed5e6688.js → __blank.20eb2cab.js} +1 -1
- package/dist/client/_nuxt/{analyze-build.a348d54f.js → analyze-build.423f57eb.js} +1 -1
- package/dist/client/_nuxt/{assets.9cc20f0c.js → assets.dc245910.js} +1 -1
- package/dist/client/_nuxt/{client.ecec2ff5.js → client.c59e50d6.js} +1 -1
- package/dist/client/_nuxt/components.31c6fd6f.js +98 -0
- package/dist/client/_nuxt/{css.5abce139.js → css.a67813b3.js} +12 -8
- package/dist/client/_nuxt/{custom-_name_.405b1822.js → custom-_name_.9b02fa14.js} +1 -1
- package/dist/client/_nuxt/{default.d9ec755b.js → default.30ac8af4.js} +1 -1
- package/dist/client/_nuxt/entry.05b33d7f.js +27 -0
- package/dist/client/_nuxt/entry.79095383.css +1 -0
- package/dist/client/_nuxt/{error-404.27f7c5ed.js → error-404.5c6d1cc1.js} +1 -1
- package/dist/client/_nuxt/{error-500.6459d9b0.js → error-500.b5b10475.js} +1 -1
- package/dist/client/_nuxt/{full.ff28afbd.js → full.03097bfb.js} +1 -1
- package/dist/client/_nuxt/{hooks.a92c198c.js → hooks.d674696d.js} +1 -1
- package/dist/client/_nuxt/{html.66e44e78.js → html.af01869e.js} +1 -1
- package/dist/client/_nuxt/{imports.af43913a.js → imports.b827859f.js} +1 -1
- package/dist/client/_nuxt/{index.9d25c8b5.js → index.b2055c8f.js} +1 -1
- package/dist/client/_nuxt/{index.475555a9.js → index.b5454355.js} +1 -1
- package/dist/client/_nuxt/{javascript.ddb4c460.js → javascript.b7d6d348.js} +7 -7
- package/dist/client/_nuxt/json-editor-vue.1bc58c26.js +129 -0
- package/dist/client/_nuxt/{middleware.17de3e64.js → middleware.434dc02a.js} +1 -1
- package/dist/client/_nuxt/{modules.d2b55e3a.js → modules.7dc02a95.js} +1 -1
- package/dist/client/_nuxt/{none.60868d86.js → none.2b3e8ddc.js} +1 -1
- package/dist/client/_nuxt/{open-graph.b86b82fa.js → open-graph.693bd031.js} +1 -1
- package/dist/client/_nuxt/{overview.5b1b22e6.js → overview.f2e48477.js} +1 -1
- package/dist/client/_nuxt/{pages.7ce7ead1.js → pages.745a0630.js} +1 -1
- package/dist/client/_nuxt/{payload.95a96cbc.js → payload.897ca8fa.js} +1 -1
- package/dist/client/_nuxt/{plugins.19d4d843.js → plugins.cd2e64ba.js} +1 -1
- package/dist/client/_nuxt/{runtime-configs.ccb12a0d.js → runtime-configs.1f844468.js} +1 -1
- package/dist/client/_nuxt/{server-routes.7cc44fc0.js → server-routes.91c861d0.js} +1 -1
- package/dist/client/_nuxt/settings.367ae337.js +1 -0
- package/dist/client/_nuxt/shellscript.9d056341.js +4 -0
- package/dist/client/_nuxt/{state-components.f27756f9.js → state-components.a223a28c.js} +1 -1
- package/dist/client/_nuxt/{state-modules.4d65021c.js → state-modules.c0927595.js} +1 -1
- package/dist/client/_nuxt/{storage-options.f78173e7.js → storage-options.8fdc9b2a.js} +1 -1
- package/dist/client/_nuxt/{storage.38ee52e0.js → storage.76034502.js} +1 -1
- package/dist/client/_nuxt/terminals.cb4eb909.js +9 -0
- package/dist/client/_nuxt/timeline.60d410a7.js +29 -0
- package/dist/client/_nuxt/{typescript.3ef79501.js → typescript.24e7badf.js} +7 -7
- package/dist/client/_nuxt/unocss-runtime.68d64d4a.js +2 -0
- package/dist/client/_nuxt/{virtual-files.c0236487.js → virtual-files.829bd209.js} +1 -1
- package/dist/client/_nuxt/{vue-html.b80b464f.js → vue-html.0806679f.js} +1 -1
- package/dist/client/_nuxt/{vue.5b4e1de3.js → vue.24311fdc.js} +18 -18
- package/dist/client/index.html +31 -31
- package/dist/client/modules/analyze-build/index.html +31 -31
- package/dist/client/modules/assets/index.html +31 -31
- package/dist/client/modules/components/index.html +31 -31
- package/dist/client/modules/hooks/index.html +31 -31
- package/dist/client/modules/imports/index.html +31 -31
- package/dist/client/modules/middleware/index.html +31 -31
- package/dist/client/modules/modules/index.html +31 -31
- package/dist/client/modules/open-graph/index.html +31 -31
- package/dist/client/modules/overview/index.html +31 -31
- package/dist/client/modules/pages/index.html +31 -31
- package/dist/client/modules/payload/index.html +31 -31
- package/dist/client/modules/plugins/index.html +31 -31
- package/dist/client/modules/runtime-configs/index.html +31 -31
- package/dist/client/modules/server-routes/index.html +31 -31
- package/dist/client/modules/storage/index.html +31 -31
- package/dist/client/modules/terminals/index.html +31 -31
- package/dist/client/modules/timeline/index.html +31 -31
- package/dist/client/modules/virtual-files/index.html +31 -31
- package/dist/client/settings/index.html +31 -31
- package/dist/dirs.d.mts +7 -0
- package/dist/module.d.mts +9 -0
- package/dist/module.d.ts +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/plugins/view/client.mjs +2 -1
- package/dist/shared/devtools.2a48a9e5.d.ts +62 -0
- package/dist/shared/{devtools.6d7e3a3a.mjs → devtools.4169e037.mjs} +3 -1
- package/dist/types.d.mts +42 -0
- package/dist/types.d.ts +2 -2
- package/package.json +40 -41
- package/dist/client/_nuxt/NCheckbox.vue.d47be8e5.js +0 -1
- package/dist/client/_nuxt/components.eb546fab.js +0 -99
- package/dist/client/_nuxt/entry.102d44fe.js +0 -27
- package/dist/client/_nuxt/entry.a2a7b315.css +0 -1
- package/dist/client/_nuxt/json-editor-vue.28570b6b.js +0 -130
- package/dist/client/_nuxt/settings.105e88e7.js +0 -1
- package/dist/client/_nuxt/shellscript.3d8bff4d.js +0 -4
- package/dist/client/_nuxt/terminals.6138e467.js +0 -9
- package/dist/client/_nuxt/timeline.aeb379fb.js +0 -57
- package/dist/client/_nuxt/unocss-runtime.50cd6f0c.js +0 -2
- /package/dist/{global-2a48a9e5.d.ts → shared/devtools.2a48a9e5.d.mts} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e=Object.freeze({information_for_contributors:["This file has been converted from https://github.com/microsoft/vscode-css/blob/master/grammars/css.cson","If you want to provide a fix or improvement, please create a pull request against the original repository.","Once accepted there, we are happy to receive an update request."],version:"https://github.com/microsoft/vscode-css/commit/
|
|
1
|
+
const e=Object.freeze({information_for_contributors:["This file has been converted from https://github.com/microsoft/vscode-css/blob/master/grammars/css.cson","If you want to provide a fix or improvement, please create a pull request against the original repository.","Once accepted there, we are happy to receive an update request."],version:"https://github.com/microsoft/vscode-css/commit/3bd00206f6b0d16eb2eba53fb886462eb8c58baa",name:"css",scopeName:"source.css",patterns:[{include:"#comment-block"},{include:"#escapes"},{include:"#combinators"},{include:"#selector"},{include:"#at-rules"},{include:"#rule-list"}],repository:{"at-rules":{patterns:[{begin:"\\A(?:\\xEF\\xBB\\xBF)?(?i:(?=\\s*@charset\\b))",end:";|(?=$)",endCaptures:{0:{name:"punctuation.terminator.rule.css"}},name:"meta.at-rule.charset.css",patterns:[{captures:{1:{name:"invalid.illegal.not-lowercase.charset.css"},2:{name:"invalid.illegal.leading-whitespace.charset.css"},3:{name:"invalid.illegal.no-whitespace.charset.css"},4:{name:"invalid.illegal.whitespace.charset.css"},5:{name:"invalid.illegal.not-double-quoted.charset.css"},6:{name:"invalid.illegal.unclosed-string.charset.css"},7:{name:"invalid.illegal.unexpected-characters.charset.css"}},match:`(?x) # Possible errors:
|
|
2
2
|
\\G
|
|
3
3
|
((?!@charset)@\\w+) # Not lowercase (@charset is case-sensitive)
|
|
4
4
|
|
|
|
@@ -68,18 +68,19 @@ const e=Object.freeze({information_for_contributors:["This file has been convert
|
|
|
68
68
|
(?: [-a-zA-Z_] | [^\\x00-\\x7F] ) # First letter
|
|
69
69
|
(?: [-a-zA-Z0-9_] | [^\\x00-\\x7F] # Remainder of identifier
|
|
70
70
|
| \\\\(?:[0-9a-fA-F]{1,6}|.)
|
|
71
|
-
)*`,name:"variable.font-feature.css"},{include:"#rule-list-innards"}]}]},functions:{patterns:[{begin:"(?i)(?<![\\w-])(calc)(\\()",beginCaptures:{1:{name:"support.function.calc.css"},2:{name:"punctuation.section.function.begin.bracket.round.css"}},end:"\\)",endCaptures:{0:{name:"punctuation.section.function.end.bracket.round.css"}},name:"meta.function.calc.css",patterns:[{match:"[*/]|(?<=\\s|^)[-+](?=\\s|$)",name:"keyword.operator.arithmetic.css"},{include:"#property-values"}]},{begin:"(?i)(?<![\\w-])(rgba?|hsla?|hwb|lab|lch)(\\()",beginCaptures:{1:{name:"support.function.misc.css"},2:{name:"punctuation.section.function.begin.bracket.round.css"}},end:"\\)",endCaptures:{0:{name:"punctuation.section.function.end.bracket.round.css"}},name:"meta.function.color.css",patterns:[{include:"#property-values"}]},{begin:`(?xi) (?<![\\w-])
|
|
71
|
+
)*`,name:"variable.font-feature.css"},{include:"#rule-list-innards"}]}]},functions:{patterns:[{begin:"(?i)(?<![\\w-])(calc)(\\()",beginCaptures:{1:{name:"support.function.calc.css"},2:{name:"punctuation.section.function.begin.bracket.round.css"}},end:"\\)",endCaptures:{0:{name:"punctuation.section.function.end.bracket.round.css"}},name:"meta.function.calc.css",patterns:[{match:"[*/]|(?<=\\s|^)[-+](?=\\s|$)",name:"keyword.operator.arithmetic.css"},{include:"#property-values"}]},{begin:"(?i)(?<![\\w-])(rgba?|rgb|hsla?|hsl|hwb|lab|oklab|lch|oklch|color)(\\()",beginCaptures:{1:{name:"support.function.misc.css"},2:{name:"punctuation.section.function.begin.bracket.round.css"}},end:"\\)",endCaptures:{0:{name:"punctuation.section.function.end.bracket.round.css"}},name:"meta.function.color.css",patterns:[{include:"#property-values"}]},{begin:`(?xi) (?<![\\w-])
|
|
72
72
|
(
|
|
73
73
|
(?:-webkit-|-moz-|-o-)? # Accept prefixed/historical variants
|
|
74
74
|
(?:repeating-)? # "Repeating"-type gradient
|
|
75
75
|
(?:linear|radial|conic) # Shape
|
|
76
76
|
-gradient
|
|
77
77
|
)
|
|
78
|
-
(\\()`,beginCaptures:{1:{name:"support.function.gradient.css"},2:{name:"punctuation.section.function.begin.bracket.round.css"}},end:"\\)",endCaptures:{0:{name:"punctuation.section.function.end.bracket.round.css"}},name:"meta.function.gradient.css",patterns:[{match:"(?i)(?<![\\w-])(from|to|at)(?![\\w-])",name:"keyword.operator.gradient.css"},{include:"#property-values"}]},{begin:"(?i)(?<![\\w-])(-webkit-gradient)(\\()",beginCaptures:{1:{name:"invalid.deprecated.gradient.function.css"},2:{name:"punctuation.section.function.begin.bracket.round.css"}},end:"\\)",endCaptures:{0:{name:"punctuation.section.function.end.bracket.round.css"}},name:"meta.function.gradient.invalid.deprecated.gradient.css",patterns:[{begin:"(?i)(?<![\\w-])(from|to|color-stop)(\\()",beginCaptures:{1:{name:"invalid.deprecated.function.css"},2:{name:"punctuation.section.function.begin.bracket.round.css"}},end:"\\)",endCaptures:{0:{name:"punctuation.section.function.end.bracket.round.css"}},patterns:[{include:"#property-values"}]},{include:"#property-values"}]},{begin:`(?xi) (?<![\\w-])
|
|
78
|
+
(\\()`,beginCaptures:{1:{name:"support.function.gradient.css"},2:{name:"punctuation.section.function.begin.bracket.round.css"}},end:"\\)",endCaptures:{0:{name:"punctuation.section.function.end.bracket.round.css"}},name:"meta.function.gradient.css",patterns:[{match:"(?i)(?<![\\w-])(from|to|at|in|hue)(?![\\w-])",name:"keyword.operator.gradient.css"},{include:"#property-values"}]},{begin:"(?i)(?<![\\w-])(-webkit-gradient)(\\()",beginCaptures:{1:{name:"invalid.deprecated.gradient.function.css"},2:{name:"punctuation.section.function.begin.bracket.round.css"}},end:"\\)",endCaptures:{0:{name:"punctuation.section.function.end.bracket.round.css"}},name:"meta.function.gradient.invalid.deprecated.gradient.css",patterns:[{begin:"(?i)(?<![\\w-])(from|to|color-stop)(\\()",beginCaptures:{1:{name:"invalid.deprecated.function.css"},2:{name:"punctuation.section.function.begin.bracket.round.css"}},end:"\\)",endCaptures:{0:{name:"punctuation.section.function.end.bracket.round.css"}},patterns:[{include:"#property-values"}]},{include:"#property-values"}]},{begin:`(?xi) (?<![\\w-])
|
|
79
79
|
(annotation|attr|blur|brightness|character-variant|clamp|contrast|counters?
|
|
80
|
-
|cross-fade|drop-shadow|element|fit-content|format|grayscale|hue-rotate
|
|
80
|
+
|cross-fade|drop-shadow|element|fit-content|format|grayscale|hue-rotate|color-mix
|
|
81
81
|
|image-set|invert|local|max|min|minmax|opacity|ornaments|repeat|saturate|sepia
|
|
82
|
-
|styleset|stylistic|swash|symbols
|
|
82
|
+
|styleset|stylistic|swash|symbols
|
|
83
|
+
|cos|sin|tan|acos|asin|atan|atan2|hypot|sqrt|pow|log|exp|abs|sign)
|
|
83
84
|
(\\()`,beginCaptures:{1:{name:"support.function.misc.css"},2:{name:"punctuation.section.function.begin.bracket.round.css"}},end:"\\)",endCaptures:{0:{name:"punctuation.section.function.end.bracket.round.css"}},name:"meta.function.misc.css",patterns:[{match:`(?i)(?<=[,\\s"]|\\*/|^)\\d+x(?=[\\s,"')]|/\\*|$)`,name:"constant.numeric.other.density.css"},{include:"#property-values"},{match:`[^'"),\\s]+`,name:"variable.parameter.misc.css"}]},{begin:"(?i)(?<![\\w-])(circle|ellipse|inset|polygon|rect)(\\()",beginCaptures:{1:{name:"support.function.shape.css"},2:{name:"punctuation.section.function.begin.bracket.round.css"}},end:"\\)",endCaptures:{0:{name:"punctuation.section.function.end.bracket.round.css"}},name:"meta.function.shape.css",patterns:[{match:"(?i)(?<=\\s|^|\\*/)(at|round)(?=\\s|/\\*|$)",name:"keyword.operator.shape.css"},{include:"#property-values"}]},{begin:"(?i)(?<![\\w-])(cubic-bezier|steps)(\\()",beginCaptures:{1:{name:"support.function.timing-function.css"},2:{name:"punctuation.section.function.begin.bracket.round.css"}},end:"\\)",endCaptures:{0:{name:"punctuation.section.function.end.bracket.round.css"}},name:"meta.function.timing-function.css",patterns:[{match:"(?i)(?<![\\w-])(start|end)(?=\\s*\\)|$)",name:"support.constant.step-direction.css"},{include:"#property-values"}]},{begin:`(?xi) (?<![\\w-])
|
|
84
85
|
( (?:translate|scale|rotate)(?:[XYZ]|3D)?
|
|
85
86
|
| matrix(?:3D)?
|
|
@@ -197,8 +198,11 @@ const e=Object.freeze({information_for_contributors:["This file has been convert
|
|
|
197
198
|
| ( deg|grad|rad|turn # - Angle
|
|
198
199
|
| Hz|kHz # - Frequency
|
|
199
200
|
| ch|cm|em|ex|fr|in|mm|mozmm| # - Length
|
|
200
|
-
pc|pt|px|q|rem|
|
|
201
|
-
vw
|
|
201
|
+
pc|pt|px|q|rem|rch|rex|rlh|
|
|
202
|
+
ic|ric|rcap|vh|vw|vb|vi|svh|
|
|
203
|
+
svw|svb|svi|dvh|dvw|dvb|dvi|
|
|
204
|
+
lvh|lvw|lvb|lvi|vmax|vmin|
|
|
205
|
+
cqw|cqi|cqh|cqb|cqmin|cqmax
|
|
202
206
|
| dpi|dpcm|dppx # - Resolution
|
|
203
207
|
| s|ms # - Time
|
|
204
208
|
)
|
|
@@ -291,7 +295,7 @@ const e=Object.freeze({information_for_contributors:["This file has been convert
|
|
|
291
295
|
| scrollbar-color|scrollbar-gutter|scrollbar-width|shape-image-threshold|shape-margin|shape-outside|shape-rendering|size
|
|
292
296
|
| speak-as|src|stop-color|stop-opacity|stroke|stroke-dasharray|stroke-dashoffset|stroke-linecap|stroke-linejoin|stroke-miterlimit
|
|
293
297
|
| stroke-opacity|stroke-width|suffix|symbols|system|tab-size|table-layout|text-align|text-align-last|text-anchor|text-combine-upright
|
|
294
|
-
| text-decoration|text-decoration-color|text-decoration-line|text-decoration-skip|text-decoration-skip-ink|text-decoration-style
|
|
298
|
+
| text-decoration|text-decoration-color|text-decoration-line|text-decoration-skip|text-decoration-skip-ink|text-decoration-style|text-decoration-thickness
|
|
295
299
|
| text-emphasis|text-emphasis-color|text-emphasis-position|text-emphasis-style|text-indent|text-justify|text-orientation
|
|
296
300
|
| text-overflow|text-rendering|text-shadow|text-size-adjust|text-transform|text-underline-offset|text-underline-position|top|touch-action|transform
|
|
297
301
|
| transform-box|transform-origin|transform-style|transition|transition-delay|transition-duration|transition-property|transition-timing-function
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as j,af as M,r as A,a as k,as as V,at as $,ai as q,au as D,av as y,aw as E,ax as I,m as B,o as s,ay as L,N as P,az as W,aA as C,J as T,f as a,h as c,j as b,p as F,ar as O,F as R,A as S,k as u,v as w,t as N,i as U,ak as z,aB as G}from"./entry.
|
|
1
|
+
import{d as j,af as M,r as A,a as k,as as V,at as $,ai as q,au as D,av as y,aw as E,ax as I,m as B,o as s,ay as L,N as P,az as W,aA as C,J as T,f as a,h as c,j as b,p as F,ar as O,F as R,A as S,k as u,v as w,t as N,i as U,ak as z,aB as G}from"./entry.05b33d7f.js";import{_ as J}from"./LaunchPage.vue.012ddba7.js";import"./NMarkdown.vue.7a10e6e6.js";import"./client.c59e50d6.js";const g=new Map,X=j({__name:"IframeView",props:{tab:{}},setup(_){const m=_,r=M(),v=A(),i=k(()=>m.tab.name),e=A(),t=V($(v));q(()=>{const n=m.tab.view,l=n.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("; ")),l&&g.set(i.value,e.value),e.value.src=n.src;try{e.value.style.opacity="0.01",e.value.onload=()=>{d(),o(),e.value.style.opacity="1"}}catch{e.value.style.opacity="1"}document.body.appendChild(e.value),D(f)}setTimeout(o,100)}),y(f),y(o),y(d),E(()=>{e.value&&(e.value.style.visibility="hidden")});function o(){if(!(!e.value||!e.value.contentWindow))try{const n=e.value.contentWindow.document.querySelector("html");n?.classList.toggle("dark",r.value==="dark"),n?.classList.toggle("light",r.value==="dark"),new MutationObserver(()=>{r.value=e.value?.contentWindow?.document.querySelector("html")?.classList.contains("dark")?"dark":"light"}).observe(n,{attributes:!0,attributeFilter:["class"]})}catch{}}const p=I();function d(){if(!(!e.value||!e.value.contentWindow))try{e.value.contentWindow.__NUXT_DEVTOOLS__=p.value}catch{}}function f(){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(n,l)=>(s(),B("div",{ref_key:"anchor",ref:v,"h-full":"","w-full":""},null,512))}}),H={flex:"~ col gap2",mxa:"","items-center":""},K=u("div",{"i-carbon-queued":"",mb2:"","text-5xl":"",op50:""},null,-1),Q={"text-xl":""},Y={"text-rose":""},Z=u("p",{op50:""}," It might because the module contributing this tab is not installed or enabled ",-1),ee=u("p",{mt8:"","animate-pulse":""}," Redirecting to overview page... ",-1),se=j({__name:"custom-[name]",props:{name:{}},setup(_){const m=_,r=L(),v=P(),i=k(()=>m.name??r.params.name),e=W(),t=k(()=>e.value.find(o=>o.name===i.value));return q(()=>{t.value?t.value.requireAuth&&!C.value&&T.requestForAuth():setTimeout(()=>{t.value||v.push("/modules/overview")},2e3)}),(o,p)=>{const d=S,f=G,n=X,l=J,h=z;return s(),B(R,null,[a(t)?F("",!0):(s(),c(d,{key:0},{default:b(()=>[u("div",H,[K,u("p",Q,[w(" Tab "),u("code",Y,N(a(i)),1),w(" not found ")]),Z,ee])]),_:1})),a(t).requireAuth&&!("isDevAuthed"in o?o.isDevAuthed:a(C))?(s(),c(f,{key:1})):a(t).view.type==="iframe"?(s(),c(n,{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,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]=x=>("rpc"in o?o.rpc:a(T)).customTabAction(a(t).name,x))},null,8,["icon","title","description","actions"])):(s(),c(d,{key:5},{default:b(()=>[U(h,{flex:"~ col","h-full":"","items-center":"","justify-center":""},{default:b(()=>[w(" Unknown tab type "+N(a(t).view),1)]),_:1})]),_:1}))],64)}}});export{se as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{q as o,m as s,k as t,a5 as a,o as n}from"./entry.
|
|
1
|
+
import{q as o,m as s,k as t,a5 as a,o as n}from"./entry.05b33d7f.js";const r={},c={"h-full":"","of-auto":"","n-panel-grids":""},l={"h-full":"","bg-base":""};function d(e,_){return n(),s("div",c,[t("div",l,[a(e.$slots,"default")])])}const i=o(r,[["render",d]]);export{i as default};
|