@nuxt/devtools 1.0.0-beta.1 → 1.0.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (126) hide show
  1. package/README.md +19 -3
  2. package/dist/chunks/module-main.mjs +31 -15
  3. package/dist/chunks/vscode.mjs +1 -1
  4. package/dist/client/200.html +24 -24
  5. package/dist/client/404.html +24 -24
  6. package/dist/client/{modules/middleware → __blank}/index.html +24 -24
  7. package/dist/client/_nuxt/{CodeDiff.vue.09a831fc.js → CodeDiff.vue.4fcef1e4.js} +1 -1
  8. package/dist/client/_nuxt/{ComposableItem.vue.770ce9d1.js → ComposableItem.vue.b4d03c6d.js} +1 -1
  9. package/dist/client/_nuxt/{DataSchemaButton.vue.65a9244c.js → DataSchemaButton.vue.18fef0d4.js} +1 -1
  10. package/dist/client/_nuxt/{DataSchemaDrawer.939e0d36.js → DataSchemaDrawer.714650a4.js} +1 -1
  11. package/dist/client/_nuxt/{DurationDisplay.vue.3abddd08.js → DurationDisplay.vue.dd0f91f1.js} +1 -1
  12. package/dist/client/_nuxt/{FilepathItem.vue.66158bcd.js → FilepathItem.vue.a1b71b8d.js} +1 -1
  13. package/dist/client/_nuxt/{HelpFab.vue.074157ff.js → HelpFab.vue.f0924b60.js} +1 -1
  14. package/dist/client/_nuxt/LaunchPage.vue.c617b6d5.js +1 -0
  15. package/dist/client/_nuxt/{NBadge.532c6829.js → NBadge.ff27dca2.js} +1 -1
  16. package/dist/client/_nuxt/NCheckbox.vue.b56304c9.js +1 -0
  17. package/dist/client/_nuxt/{NCodeBlock.vue.d4a74ca4.js → NCodeBlock.vue.9ce69690.js} +2 -2
  18. package/dist/client/_nuxt/{NDrawer.vue.f03c3dec.js → NDrawer.vue.2b176b54.js} +1 -1
  19. package/dist/client/_nuxt/NDropdown.vue.e90fcd0b.js +1 -0
  20. package/dist/client/_nuxt/{NIconTitle.vue.5caf9fc5.js → NIconTitle.vue.7b846ffe.js} +1 -1
  21. package/dist/client/_nuxt/{NLink.vue.c05eef3c.js → NLink.vue.9859bf11.js} +1 -1
  22. package/dist/client/_nuxt/{NMarkdown.vue.52b3ce56.js → NMarkdown.vue.79860402.js} +1 -1
  23. package/dist/client/_nuxt/NNavbar.vue.737ef1b1.js +1 -0
  24. package/dist/client/_nuxt/NSectionBlock.acf7c6ed.js +1 -0
  25. package/dist/client/_nuxt/NSelect.vue.04805728.js +1 -0
  26. package/dist/client/_nuxt/NSelectTabs.vue.626ecbdd.js +1 -0
  27. package/dist/client/_nuxt/NSwitch.vue.ff927669.js +1 -0
  28. package/dist/client/_nuxt/{NTip.vue.7a94f00d.js → NTip.vue.c98a31a2.js} +1 -1
  29. package/dist/client/_nuxt/StateEditor.vue.1c34496c.js +1 -0
  30. package/dist/client/_nuxt/__blank.eaeade3a.js +1 -0
  31. package/dist/client/_nuxt/{analyze-build.2cdd206f.js → analyze-build.92ac65df.js} +1 -1
  32. package/dist/client/_nuxt/assets.c6f47fab.js +16 -0
  33. package/dist/client/_nuxt/client.17f79a3c.js +1 -0
  34. package/dist/client/_nuxt/components.80a04311.js +98 -0
  35. package/dist/client/_nuxt/{constants.4e5eba24.js → constants.2cc6e981.js} +1 -1
  36. package/dist/client/_nuxt/{css.a67813b3.js → css.f61fd02b.js} +3 -3
  37. package/dist/client/_nuxt/custom-_name_.b17c1362.js +1 -0
  38. package/dist/client/_nuxt/{default.de670135.js → default.201686e7.js} +1 -1
  39. package/dist/client/_nuxt/entry.909ad6c7.js +27 -0
  40. package/dist/client/_nuxt/entry.aac067b6.css +1 -0
  41. package/dist/client/_nuxt/{error-404.b43ed6fa.js → error-404.18967c67.js} +1 -1
  42. package/dist/client/_nuxt/{error-500.9a32d319.js → error-500.dcd91098.js} +1 -1
  43. package/dist/client/_nuxt/{full.44b6f3d9.js → full.a9db422e.js} +1 -1
  44. package/dist/client/_nuxt/{hooks.85310903.js → hooks.ad5f725f.js} +1 -1
  45. package/dist/client/_nuxt/{html.af01869e.js → html.14085b69.js} +1 -1
  46. package/dist/client/_nuxt/{imports.3e92b5b9.js → imports.468b0281.js} +1 -1
  47. package/dist/client/_nuxt/index.86b321d0.js +1 -0
  48. package/dist/client/_nuxt/{index.370f8c55.js → index.dacd63c3.js} +1 -1
  49. package/dist/client/_nuxt/{json-editor-vue.724e0801.js → json-editor-vue.8a771ed0.js} +2 -2
  50. package/dist/client/_nuxt/modules.dc1dbdef.js +2 -0
  51. package/dist/client/_nuxt/{none.06949a5f.js → none.37b64ac4.js} +1 -1
  52. package/dist/client/_nuxt/open-graph.03011848.js +3 -0
  53. package/dist/client/_nuxt/open-graph.484b1a77.css +1 -0
  54. package/dist/client/_nuxt/overview.acf4105d.js +1 -0
  55. package/dist/client/_nuxt/pages.061895e9.js +1 -0
  56. package/dist/client/_nuxt/payload.b7f38f74.js +1 -0
  57. package/dist/client/_nuxt/{plugins.f261769b.js → plugins.59bd86e7.js} +1 -1
  58. package/dist/client/_nuxt/{runtime-configs.a5615107.js → runtime-configs.aaa20729.js} +1 -1
  59. package/dist/client/_nuxt/server-routes.c8d34f99.js +9 -0
  60. package/dist/client/_nuxt/settings.12ae4ad7.js +1 -0
  61. package/dist/client/_nuxt/shellscript.e25d1410.js +4 -0
  62. package/dist/client/_nuxt/{state-components.1d5849c5.js → state-components.a78445e5.js} +1 -1
  63. package/dist/client/_nuxt/state-modules.199ca5da.js +1 -0
  64. package/dist/client/_nuxt/storage-options.aeaf572e.js +1 -0
  65. package/dist/client/_nuxt/{storage.cb6d643c.js → storage.f2e2d671.js} +1 -1
  66. package/dist/client/_nuxt/{terminals.06dde221.js → terminals.091a556d.js} +1 -1
  67. package/dist/client/_nuxt/timeline.1210bb98.js +29 -0
  68. package/dist/client/_nuxt/{unocss-runtime.1dfe0ac4.js → unocss-runtime.c55f86fd.js} +1 -1
  69. package/dist/client/_nuxt/virtual-files.7767a81f.js +1 -0
  70. package/dist/client/_nuxt/{vitesse-dark.ab479e3d.js → vitesse-dark.ff0e7dcb.js} +1 -1
  71. package/dist/client/_nuxt/{vitesse-light.696edcfd.js → vitesse-light.c6996724.js} +1 -1
  72. package/dist/client/_nuxt/{vue-html.0806679f.js → vue-html.88dda4a8.js} +1 -1
  73. package/dist/client/_nuxt/{vue.24311fdc.js → vue.7ad3b25a.js} +3 -3
  74. package/dist/client/index.html +24 -24
  75. package/dist/client/modules/analyze-build/index.html +24 -24
  76. package/dist/client/modules/assets/index.html +24 -24
  77. package/dist/client/modules/components/index.html +24 -24
  78. package/dist/client/modules/hooks/index.html +24 -24
  79. package/dist/client/modules/imports/index.html +24 -24
  80. package/dist/client/modules/modules/index.html +24 -24
  81. package/dist/client/modules/open-graph/index.html +24 -24
  82. package/dist/client/modules/overview/index.html +24 -24
  83. package/dist/client/modules/pages/index.html +24 -24
  84. package/dist/client/modules/payload/index.html +24 -24
  85. package/dist/client/modules/plugins/index.html +24 -24
  86. package/dist/client/modules/runtime-configs/index.html +24 -24
  87. package/dist/client/modules/server-routes/index.html +24 -24
  88. package/dist/client/modules/storage/index.html +24 -24
  89. package/dist/client/modules/terminals/index.html +24 -24
  90. package/dist/client/modules/timeline/index.html +24 -24
  91. package/dist/client/modules/virtual-files/index.html +24 -24
  92. package/dist/client/settings/index.html +24 -24
  93. package/dist/module.json +1 -1
  94. package/dist/module.mjs +1 -1
  95. package/dist/runtime/plugins/view/client.mjs +1 -1
  96. package/dist/shared/{devtools.d18bab28.mjs → devtools.ca660ec5.mjs} +31 -1
  97. package/package.json +11 -11
  98. package/dist/client/_nuxt/LaunchPage.vue.20d8d836.js +0 -1
  99. package/dist/client/_nuxt/NCheckbox.vue.83a6e70e.js +0 -1
  100. package/dist/client/_nuxt/NDropdown.vue.885f70c3.js +0 -1
  101. package/dist/client/_nuxt/NNavbar.vue.0f176f87.js +0 -1
  102. package/dist/client/_nuxt/NSectionBlock.43816001.js +0 -1
  103. package/dist/client/_nuxt/NSelect.vue.dcac9c73.js +0 -1
  104. package/dist/client/_nuxt/NSelectTabs.vue.411a7347.js +0 -1
  105. package/dist/client/_nuxt/NSwitch.vue.aacb5de3.js +0 -1
  106. package/dist/client/_nuxt/StateEditor.vue.e862f0c1.js +0 -1
  107. package/dist/client/_nuxt/assets.41fcf77e.js +0 -16
  108. package/dist/client/_nuxt/client.ab169146.js +0 -1
  109. package/dist/client/_nuxt/components.81bb7f4d.js +0 -98
  110. package/dist/client/_nuxt/custom-_name_.3060f125.js +0 -1
  111. package/dist/client/_nuxt/entry.9effa704.js +0 -27
  112. package/dist/client/_nuxt/entry.ebd8706b.css +0 -1
  113. package/dist/client/_nuxt/index.780a9ee0.js +0 -1
  114. package/dist/client/_nuxt/middleware.44a34c7b.js +0 -1
  115. package/dist/client/_nuxt/modules.24081f84.js +0 -2
  116. package/dist/client/_nuxt/open-graph.6cf823d3.js +0 -3
  117. package/dist/client/_nuxt/overview.86a88207.js +0 -1
  118. package/dist/client/_nuxt/pages.23eb0566.js +0 -1
  119. package/dist/client/_nuxt/payload.1baa204b.js +0 -1
  120. package/dist/client/_nuxt/server-routes.2022f4ba.js +0 -9
  121. package/dist/client/_nuxt/settings.ab7b45b3.js +0 -1
  122. package/dist/client/_nuxt/shellscript.9d056341.js +0 -4
  123. package/dist/client/_nuxt/state-modules.78318316.js +0 -1
  124. package/dist/client/_nuxt/storage-options.8ca9ecbc.js +0 -1
  125. package/dist/client/_nuxt/timeline.5add59be.js +0 -29
  126. package/dist/client/_nuxt/virtual-files.804fdba7.js +0 -1
@@ -1 +1 @@
1
- const t=35,e={nuxt:{useAppConfig:"https://nuxt.com/docs/api/composables/use-app-config",useAsyncData:"https://nuxt.com/docs/api/composables/use-async-data",useCookie:"https://nuxt.com/docs/api/composables/use-cookie",useError:"https://nuxt.com/docs/api/composables/use-error",useFetch:"https://nuxt.com/docs/api/composables/use-fetch",useHead:"https://nuxt.com/docs/api/composables/use-head",useHeadSafe:"https://nuxt.com/docs/api/composables/use-head-safe",useLazyAsyncData:"https://nuxt.com/docs/api/composables/use-lazy-async-data",useLazyFetch:"https://nuxt.com/docs/api/composables/use-lazy-fetch",useNuxtApp:"https://nuxt.com/docs/api/composables/use-nuxt-app",useRoute:"https://nuxt.com/docs/api/composables/use-route",useRouter:"https://nuxt.com/docs/api/composables/use-router",useRuntimeConfig:"https://nuxt.com/docs/api/composables/use-runtime-config",useState:"https://nuxt.com/docs/api/composables/use-state",$fetch:"https://nuxt.com/docs/api/utils/dollarfetch",abortNavigation:"https://nuxt.com/docs/api/utils/abort-navigation",createError:"https://nuxt.com/docs/api/utils/create-error",defineNuxtComponent:"https://nuxt.com/docs/api/utils/define-nuxt-component",definePageMeta:"https://nuxt.com/docs/api/utils/define-page-meta",navigateTo:"https://nuxt.com/docs/api/utils/navigate-to#navigateto",onBeforeRouteLeave:"https://nuxt.com/docs/api/utils/on-before-route-leave",onBeforeRouteUpdate:"https://nuxt.com/docs/api/utils/on-before-route-update",updateAppConfig:"https://nuxt.com/docs/api/utils/update-app-config"},vue:{ref:"https://vuejs.org/api/reactivity-core.html#ref",computed:"https://vuejs.org/api/reactivity-core.html#computed",reactive:"https://vuejs.org/api/reactivity-core.html#reactive",watch:"https://vuejs.org/api/reactivity-core.html#watch",watchEffect:"https://vuejs.org/api/reactivity-core.html#watcheffect",watchPostEffect:"https://vuejs.org/api/reactivity-core.html#watchposteffect",watchSyncEffect:"https://vuejs.org/api/reactivity-core.html#watchsynceffect",onMounted:"https://vuejs.org/api/composition-api-lifecycle.html#onmounted",onUnmounted:"https://vuejs.org/api/composition-api-lifecycle.html#onunmounted",onActivated:"https://vuejs.org/api/composition-api-lifecycle.html#onactivated",onDeactivated:"https://vuejs.org/api/composition-api-lifecycle.html#ondeactivated",onBeforeMount:"https://vuejs.org/api/composition-api-lifecycle.html#onbeforemount",onBeforeUnmount:"https://vuejs.org/api/composition-api-lifecycle.html#onbeforeunmount",onUpdated:"https://vuejs.org/api/composition-api-lifecycle.html#onupdated",onBeforeUpdate:"https://vuejs.org/api/composition-api-lifecycle.html#onbeforeupdate",nextTick:"https://vuejs.org/api/general.html#nexttick"}},o={snippet:"i-carbon-code",headers:"i-carbon-html-reference",cookies:"i-carbon-cookie",params:"i-carbon-text-selection",query:"i-carbon-help",body:"i-carbon-document"};export{e as C,t as D,o as S};
1
+ const t=50,e={nuxt:{useAppConfig:"https://nuxt.com/docs/api/composables/use-app-config",useAsyncData:"https://nuxt.com/docs/api/composables/use-async-data",useCookie:"https://nuxt.com/docs/api/composables/use-cookie",useError:"https://nuxt.com/docs/api/composables/use-error",useFetch:"https://nuxt.com/docs/api/composables/use-fetch",useHead:"https://nuxt.com/docs/api/composables/use-head",useHeadSafe:"https://nuxt.com/docs/api/composables/use-head-safe",useLazyAsyncData:"https://nuxt.com/docs/api/composables/use-lazy-async-data",useLazyFetch:"https://nuxt.com/docs/api/composables/use-lazy-fetch",useNuxtApp:"https://nuxt.com/docs/api/composables/use-nuxt-app",useRoute:"https://nuxt.com/docs/api/composables/use-route",useRouter:"https://nuxt.com/docs/api/composables/use-router",useRuntimeConfig:"https://nuxt.com/docs/api/composables/use-runtime-config",useState:"https://nuxt.com/docs/api/composables/use-state",$fetch:"https://nuxt.com/docs/api/utils/dollarfetch",abortNavigation:"https://nuxt.com/docs/api/utils/abort-navigation",createError:"https://nuxt.com/docs/api/utils/create-error",defineNuxtComponent:"https://nuxt.com/docs/api/utils/define-nuxt-component",definePageMeta:"https://nuxt.com/docs/api/utils/define-page-meta",navigateTo:"https://nuxt.com/docs/api/utils/navigate-to#navigateto",onBeforeRouteLeave:"https://nuxt.com/docs/api/utils/on-before-route-leave",onBeforeRouteUpdate:"https://nuxt.com/docs/api/utils/on-before-route-update",updateAppConfig:"https://nuxt.com/docs/api/utils/update-app-config"},vue:{ref:"https://vuejs.org/api/reactivity-core.html#ref",computed:"https://vuejs.org/api/reactivity-core.html#computed",reactive:"https://vuejs.org/api/reactivity-core.html#reactive",watch:"https://vuejs.org/api/reactivity-core.html#watch",watchEffect:"https://vuejs.org/api/reactivity-core.html#watcheffect",watchPostEffect:"https://vuejs.org/api/reactivity-core.html#watchposteffect",watchSyncEffect:"https://vuejs.org/api/reactivity-core.html#watchsynceffect",onMounted:"https://vuejs.org/api/composition-api-lifecycle.html#onmounted",onUnmounted:"https://vuejs.org/api/composition-api-lifecycle.html#onunmounted",onActivated:"https://vuejs.org/api/composition-api-lifecycle.html#onactivated",onDeactivated:"https://vuejs.org/api/composition-api-lifecycle.html#ondeactivated",onBeforeMount:"https://vuejs.org/api/composition-api-lifecycle.html#onbeforemount",onBeforeUnmount:"https://vuejs.org/api/composition-api-lifecycle.html#onbeforeunmount",onUpdated:"https://vuejs.org/api/composition-api-lifecycle.html#onupdated",onBeforeUpdate:"https://vuejs.org/api/composition-api-lifecycle.html#onbeforeupdate",nextTick:"https://vuejs.org/api/general.html#nexttick"}},o={snippet:"i-carbon-code",headers:"i-carbon-html-reference",cookies:"i-carbon-cookie",params:"i-carbon-text-selection",query:"i-carbon-help",body:"i-carbon-document"};export{e as C,t as D,o as S};
@@ -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/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:
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/c216f777497265700ff336f739328e5197e012cd",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
  |
@@ -209,7 +209,7 @@ const e=Object.freeze({information_for_contributors:["This file has been convert
209
209
  \\b # Boundary checking intentionally lax to
210
210
  )? # facilitate embedding in CSS-like grammars`,name:"constant.numeric.css"}]},"property-keywords":{patterns:[{match:`(?xi) (?<![\\w-])
211
211
  (above|absolute|active|add|additive|after-edge|alias|all|all-petite-caps|all-scroll|all-small-caps|alpha|alphabetic|alternate|alternate-reverse
212
- |always|antialiased|auto|auto-pos|available|avoid|avoid-column|avoid-page|avoid-region|backwards|balance|baseline|before-edge|below|bevel
212
+ |always|antialiased|auto|auto-fill|auto-fit|auto-pos|available|avoid|avoid-column|avoid-page|avoid-region|backwards|balance|baseline|before-edge|below|bevel
213
213
  |bidi-override|blink|block|block-axis|block-start|block-end|bold|bolder|border|border-box|both|bottom|bottom-outside|break-all|break-word|bullets
214
214
  |butt|capitalize|caption|cell|center|central|char|circle|clip|clone|close-quote|closest-corner|closest-side|col-resize|collapse|color|color-burn
215
215
  |color-dodge|column|column-reverse|common-ligatures|compact|condensed|contain|content|content-box|contents|context-menu|contextual|copy|cover
@@ -265,7 +265,7 @@ const e=Object.freeze({information_for_contributors:["This file has been convert
265
265
  | border-start-start-radius|border-style|border-top|border-top-color|border-top-left-radius|border-top-right-radius|border-top-style
266
266
  | border-top-width|border-width|bottom|box-decoration-break|box-shadow|box-sizing|break-after|break-before|break-inside|caption-side
267
267
  | caret-color|clear|clip|clip-path|clip-rule|color|color-adjust|color-interpolation-filters|color-scheme|column-count|column-fill|column-gap
268
- | column-rule|column-rule-color|column-rule-style|column-rule-width|column-span|column-width|columns|contain|content|counter-increment
268
+ | column-rule|column-rule-color|column-rule-style|column-rule-width|column-span|column-width|columns|contain|container|container-name|container-type|content|counter-increment
269
269
  | counter-reset|cursor|direction|display|empty-cells|enable-background|fallback|fill|fill-opacity|fill-rule|filter|flex|flex-basis
270
270
  | flex-direction|flex-flow|flex-grow|flex-shrink|flex-wrap|float|flood-color|flood-opacity|font|font-display|font-family
271
271
  | font-feature-settings|font-kerning|font-language-override|font-optical-sizing|font-size|font-size-adjust|font-stretch
@@ -0,0 +1 @@
1
+ import{d as $,ai as q,r as A,a as g,au as B,av as D,al as j,aw as E,ax as y,ay as M,az as N,m as V,o as s,aA as I,O as L,aB as O,aC as C,aD as P,f as a,h as l,j as b,at as W,A as R,k as u,v as w,t as T,K as S,i as U,am as F,aE as z}from"./entry.909ad6c7.js";import{_ as G}from"./LaunchPage.vue.c617b6d5.js";import"./NMarkdown.vue.79860402.js";import"./client.17f79a3c.js";const x=new Map,K=$({__name:"IframeView",props:{tab:{}},setup(f){const m=f,r=q(),v=A(),i=g(()=>m.tab.name),e=A(),t=B(D(v));j(()=>{const n=m.tab.view,c=n.persistent!==!1,h=["clipboard-write","clipboard-read"];if(x.get(i.value)&&c)e.value=x.get(i.value),e.value.style.visibility="visible";else{e.value=document.createElement("iframe"),e.value.setAttribute("allow",h.join("; ")),c&&x.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),E(_)}setTimeout(o,100)}),y(_),y(o),y(d),M(()=>{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=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(n,c)=>(s(),V("div",{ref_key:"anchor",ref:v,"h-full":"","w-full":""},null,512))}}),X={flex:"~ col gap2",mxa:"","items-center":""},H=u("div",{"i-carbon-queued":"",mb2:"","text-5xl":"",op50:""},null,-1),J={"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),oe=$({__name:"custom-[name]",props:{name:{}},setup(f){const m=f,r=I(),v=L(),i=g(()=>m.name??r.params.name),e=O(),t=g(()=>e.value.find(o=>o.name===i.value));return j(()=>{t.value?t.value.requireAuth&&!C.value&&P():setTimeout(()=>{t.value||v.push("/modules/overview")},2e3)}),(o,p)=>{const d=R,_=z,n=K,c=G,h=F;return a(t)?a(t).requireAuth&&!("isDevAuthed"in o?o.isDevAuthed:a(C))?(s(),l(_,{key:1})):a(t).view.type==="iframe"?(s(),l(n,{key:2,tab:a(t)},null,8,["tab"])):a(t).view.type==="vnode"?(s(),l(W(a(t).view.vnode),{key:3})):a(t).view.type==="launch"?(s(),l(c,{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 o?o.rpc:a(S)).customTabAction(a(t).name,k))},null,8,["name","icon","title","description","actions"])):(s(),l(d,{key:5},{default:b(()=>[U(h,{flex:"~ col","h-full":"","items-center":"","justify-center":""},{default:b(()=>[w(" Unknown tab type "+T(a(t).view),1)]),_:1})]),_:1})):(s(),l(d,{key:0},{default:b(()=>[u("div",X,[H,u("p",J,[w(" Tab "),u("code",Q,T(a(i)),1),w(" not found ")]),Y,Z])]),_:1}))}}});export{oe as default};
@@ -1 +1 @@
1
- import{q as o,m as s,k as t,a7 as a,o as n}from"./entry.9effa704.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};
1
+ import{q as o,m as s,k as t,a8 as a,o as n}from"./entry.909ad6c7.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};