@nuxt/devtools 1.4.1 → 1.4.2

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 (171) hide show
  1. package/dist/chunks/analyze-build.mjs +1 -1
  2. package/dist/chunks/module-main.mjs +648 -648
  3. package/dist/chunks/vite-inspect.mjs +1 -1
  4. package/dist/chunks/vscode.mjs +15 -15
  5. package/dist/client/200.html +29 -29
  6. package/dist/client/404.html +29 -29
  7. package/dist/client/_nuxt/3LqotSTl.js +1 -0
  8. package/dist/client/_nuxt/52L3kFQK.js +1 -0
  9. package/dist/client/_nuxt/5bRVBCrv.js +1 -0
  10. package/dist/client/_nuxt/Az69hgFj.js +1 -0
  11. package/dist/client/_nuxt/B1ejXUAS.js +1 -0
  12. package/dist/client/_nuxt/{B3uNdhXb.js → B4nba3hY.js} +51 -51
  13. package/dist/client/_nuxt/B6JyyHnR.js +1 -0
  14. package/dist/client/_nuxt/B9vFkdfw.js +1 -0
  15. package/dist/client/_nuxt/BAfkJCOj.js +1 -0
  16. package/dist/client/_nuxt/{Bu2gNcUf.js → BHSU4EaZ.js} +1 -1
  17. package/dist/client/_nuxt/BJHQxsCJ.js +1 -0
  18. package/dist/client/_nuxt/BJJ62LnN.js +1 -0
  19. package/dist/client/_nuxt/BK2fI3On.js +1 -0
  20. package/dist/client/_nuxt/BNEgG9Tt.js +1 -0
  21. package/dist/client/_nuxt/BPCL41ht.js +1 -0
  22. package/dist/client/_nuxt/{C8RrL2-P.js → BYKXQFmR.js} +1 -1
  23. package/dist/client/_nuxt/BiZn8tsj.js +1 -0
  24. package/dist/client/_nuxt/BmDbnW5H.js +1 -0
  25. package/dist/client/_nuxt/BnYPtiAB.js +1 -0
  26. package/dist/client/_nuxt/{CoNBQO3e.js → BpWWOd5v.js} +1 -1
  27. package/dist/client/_nuxt/Bysyzw-g.js +118 -0
  28. package/dist/client/_nuxt/BzRxh9kO.js +1 -0
  29. package/dist/client/_nuxt/C6_7eaNf.js +1 -0
  30. package/dist/client/_nuxt/C6_B1_1h.js +1 -0
  31. package/dist/client/_nuxt/{T8d8zkkH.js → C6gZu76V.js} +1 -1
  32. package/dist/client/_nuxt/C9iVm8DM.js +9 -0
  33. package/dist/client/_nuxt/CDP-pALJ.js +1 -0
  34. package/dist/client/_nuxt/CE5Yv1k8.js +1 -0
  35. package/dist/client/_nuxt/CFA-cGyt.js +30 -0
  36. package/dist/client/_nuxt/CFByhje9.js +1 -0
  37. package/dist/client/_nuxt/{BkwfBuTq.js → CGCqTpKA.js} +1 -1
  38. package/dist/client/_nuxt/{J0gvLlTF.js → CMNERnbt.js} +1 -1
  39. package/dist/client/_nuxt/COjmv9fs.js +1 -0
  40. package/dist/client/_nuxt/CP6X-Nb2.js +3 -0
  41. package/dist/client/_nuxt/{BI3hykgO.js → CQTsRCSt.js} +1 -1
  42. package/dist/client/_nuxt/{B1veJI6T.js → CXTghDHT.js} +1 -1
  43. package/dist/client/_nuxt/CZKrALC4.js +9 -0
  44. package/dist/client/_nuxt/{U0su7k1z.js → C_HkoMG5.js} +1 -1
  45. package/dist/client/_nuxt/CdlRa3-_.js +2 -0
  46. package/dist/client/_nuxt/{BHh_UM9T.js → Ci0JrwP0.js} +1 -1
  47. package/dist/client/_nuxt/CpQX28Pm.js +1 -0
  48. package/dist/client/_nuxt/Cpe0RYoz.js +5 -0
  49. package/dist/client/_nuxt/CtUB4FID.js +1 -0
  50. package/dist/client/_nuxt/CvHWZNAB.js +1 -0
  51. package/dist/client/_nuxt/{BMmGYe_n.js → CzYNa_kd.js} +3 -3
  52. package/dist/client/_nuxt/D4miJ1xw.js +1 -0
  53. package/dist/client/_nuxt/DByNSuIM.js +8 -0
  54. package/dist/client/_nuxt/DDQO9uCK.js +1 -0
  55. package/dist/client/_nuxt/DFUDf3T0.js +1 -0
  56. package/dist/client/_nuxt/{CCfUy938.js → DJDMOkXE.js} +1 -1
  57. package/dist/client/_nuxt/{CO7Eo6nF.js → DK4YETzW.js} +1 -1
  58. package/dist/client/_nuxt/{D4FLysGE.js → DN3C0UJz.js} +1 -1
  59. package/dist/client/_nuxt/DNiICKty.js +3 -0
  60. package/dist/client/_nuxt/DPGeaLSc.js +2 -0
  61. package/dist/client/_nuxt/{C9bF3W-8.js → DUTLobbz.js} +92 -92
  62. package/dist/client/_nuxt/DljFhaqE.js +1 -0
  63. package/dist/client/_nuxt/{Dm9RYIcI.js → DxQMSSvi.js} +1 -1
  64. package/dist/client/_nuxt/DxufXTo6.js +1 -0
  65. package/dist/client/_nuxt/FSSfXIZy.js +1 -0
  66. package/dist/client/_nuxt/HT-8HE-a.js +1 -0
  67. package/dist/client/_nuxt/L1GM70c7.js +1 -0
  68. package/dist/client/_nuxt/O2-hisWU.js +1 -0
  69. package/dist/client/_nuxt/OvqPz-_F.js +1 -0
  70. package/dist/client/_nuxt/WFxqX3Wd.js +1 -0
  71. package/dist/client/_nuxt/XYic6raa.js +1 -0
  72. package/dist/client/_nuxt/{YWCqik9X.js → YcmwJ_aR.js} +27 -27
  73. package/dist/client/_nuxt/ZTJOnUjs.js +1 -0
  74. package/dist/client/_nuxt/builds/latest.json +1 -1
  75. package/dist/client/_nuxt/builds/meta/553e6dd1-1d61-402c-830e-2a99ec46bcef.json +1 -0
  76. package/dist/client/_nuxt/c9Ocm0jZ.js +1 -0
  77. package/dist/client/_nuxt/dPiMYs67.js +1 -0
  78. package/dist/client/_nuxt/entry.DUv7pUjq.css +1 -0
  79. package/dist/client/_nuxt/error-404.BPtGIMAo.css +1 -0
  80. package/dist/client/_nuxt/error-500.WI7ozw6a.css +1 -0
  81. package/dist/client/_nuxt/{CNzQK24q.js → goeoWIau.js} +1 -1
  82. package/dist/client/_nuxt/lRZxrFTT.js +1 -0
  83. package/dist/client/_nuxt/omNoIW9g.js +1 -0
  84. package/dist/client/_nuxt/rc9fNBfM.js +16 -0
  85. package/dist/client/_nuxt/timeline.ygjsvjYU.css +1 -0
  86. package/dist/client/_nuxt/xcveoa5T.js +1 -0
  87. package/dist/client/index.html +29 -29
  88. package/dist/module.json +1 -1
  89. package/dist/runtime/function-metrics-helpers.d.ts +1 -1
  90. package/dist/runtime/function-metrics-helpers.js +1 -1
  91. package/dist/runtime/plugins/view/FrameBox.vue +1 -1
  92. package/dist/runtime/plugins/view/Main.vue +2 -2
  93. package/dist/runtime/plugins/view/client.d.ts +1 -2
  94. package/dist/runtime/plugins/view/client.js +2 -2
  95. package/dist/runtime/plugins/view/state.d.ts +1 -2
  96. package/dist/runtime/plugins/view/utils.d.ts +12 -12
  97. package/dist/runtime/settings.d.ts +1 -1
  98. package/dist/runtime/shared/hooks.d.ts +0 -1
  99. package/dist/runtime/use-nuxt-devtools.d.ts +1 -1
  100. package/dist/runtime/vue-devtools/overlay.js +1 -1
  101. package/package.json +24 -24
  102. package/dist/client/_nuxt/32IlS-eL.js +0 -15
  103. package/dist/client/_nuxt/6ngNN4Yp.js +0 -1
  104. package/dist/client/_nuxt/7oK7PdYH.js +0 -1
  105. package/dist/client/_nuxt/BECRlsCL.js +0 -1
  106. package/dist/client/_nuxt/BKeomq25.js +0 -1
  107. package/dist/client/_nuxt/BKukfVLl.js +0 -1
  108. package/dist/client/_nuxt/BMbUeBqv.js +0 -74
  109. package/dist/client/_nuxt/BOV_C5BD.js +0 -1
  110. package/dist/client/_nuxt/BZfs-ost.js +0 -1
  111. package/dist/client/_nuxt/BiRcA7Ly.js +0 -1
  112. package/dist/client/_nuxt/BiWblMbN.js +0 -505
  113. package/dist/client/_nuxt/BiWf_U1D.js +0 -1
  114. package/dist/client/_nuxt/BopA0WYG.js +0 -1
  115. package/dist/client/_nuxt/Br6ll-O0.js +0 -1
  116. package/dist/client/_nuxt/BsEGx9wN.js +0 -1
  117. package/dist/client/_nuxt/Bxkoe-BC.js +0 -1
  118. package/dist/client/_nuxt/ByTwm2ax.js +0 -1
  119. package/dist/client/_nuxt/C1fpCDlE.js +0 -1
  120. package/dist/client/_nuxt/C2HmjCtb.js +0 -1
  121. package/dist/client/_nuxt/CCJYS4Qc.js +0 -4
  122. package/dist/client/_nuxt/CCXTpRMt.js +0 -1
  123. package/dist/client/_nuxt/CEL3Rl_8.js +0 -1
  124. package/dist/client/_nuxt/CHuuZgn4.js +0 -699
  125. package/dist/client/_nuxt/CIvuwNIv.js +0 -2
  126. package/dist/client/_nuxt/CTKqK4eG.js +0 -2002
  127. package/dist/client/_nuxt/CUZJ8tqD.js +0 -1
  128. package/dist/client/_nuxt/CWDIGLyg.js +0 -1
  129. package/dist/client/_nuxt/C_n3_iyW.js +0 -16
  130. package/dist/client/_nuxt/C_tLznPO.js +0 -43
  131. package/dist/client/_nuxt/CbViG2Xw.js +0 -74
  132. package/dist/client/_nuxt/CbYhyuC0.js +0 -505
  133. package/dist/client/_nuxt/CupVZNk8.js +0 -25
  134. package/dist/client/_nuxt/D4C_EO1O.js +0 -9
  135. package/dist/client/_nuxt/D4V9JMY9.js +0 -1
  136. package/dist/client/_nuxt/D5Dg5B9b.js +0 -1
  137. package/dist/client/_nuxt/D86udNSS.js +0 -1
  138. package/dist/client/_nuxt/DAg81ukK.js +0 -30
  139. package/dist/client/_nuxt/DC8MraHL.js +0 -666
  140. package/dist/client/_nuxt/DDDCUP5E.js +0 -3
  141. package/dist/client/_nuxt/DDMtKJxh.js +0 -1
  142. package/dist/client/_nuxt/DHFOa8tC.js +0 -200
  143. package/dist/client/_nuxt/DHZqFavZ.js +0 -2
  144. package/dist/client/_nuxt/DHsLiygU.js +0 -1
  145. package/dist/client/_nuxt/DJg41Obz.js +0 -1
  146. package/dist/client/_nuxt/DJn5wykB.js +0 -1
  147. package/dist/client/_nuxt/DK4oFTHQ.js +0 -200
  148. package/dist/client/_nuxt/DMjsYTya.js +0 -1
  149. package/dist/client/_nuxt/DOv5BRyJ.js +0 -1
  150. package/dist/client/_nuxt/DajZvwFy.js +0 -1
  151. package/dist/client/_nuxt/Dch3xQiY.js +0 -699
  152. package/dist/client/_nuxt/Di-fSNio.js +0 -1
  153. package/dist/client/_nuxt/DiyNht5f.js +0 -9
  154. package/dist/client/_nuxt/DockxStG.js +0 -1
  155. package/dist/client/_nuxt/DpYuRYxj.js +0 -2072
  156. package/dist/client/_nuxt/DqpvVAaa.js +0 -1
  157. package/dist/client/_nuxt/DrswlxM3.js +0 -1
  158. package/dist/client/_nuxt/DtfHoqTV.js +0 -1
  159. package/dist/client/_nuxt/DvyTQcux.js +0 -1
  160. package/dist/client/_nuxt/L3q7etZW.js +0 -1
  161. package/dist/client/_nuxt/Q9LIRUci.js +0 -25
  162. package/dist/client/_nuxt/QxrU7fRC.js +0 -1
  163. package/dist/client/_nuxt/RBAD4-dW.js +0 -1
  164. package/dist/client/_nuxt/UI0GwUC_.js +0 -1
  165. package/dist/client/_nuxt/_ECCzcZq.js +0 -666
  166. package/dist/client/_nuxt/builds/meta/1766755b-b307-4775-82c4-edb6a4a7e185.json +0 -1
  167. package/dist/client/_nuxt/entry.eFSfOpqI.css +0 -1
  168. package/dist/client/_nuxt/error-404.HYsbWGh9.css +0 -1
  169. package/dist/client/_nuxt/error-500.BwPFg8q2.css +0 -1
  170. package/dist/client/_nuxt/nhLZZe93.js +0 -1
  171. package/dist/client/_nuxt/timeline.BVVcTKn-.css +0 -1
@@ -1 +0,0 @@
1
- var e=Object.freeze({colors:{"activityBar.activeBorder":"#4d9375","activityBar.background":"#121212","activityBar.border":"#191919","activityBar.foreground":"#dbd7caee","activityBar.inactiveForeground":"#dedcd550","activityBarBadge.background":"#bfbaaa","activityBarBadge.foreground":"#121212","badge.background":"#dedcd590","badge.foreground":"#121212","breadcrumb.activeSelectionForeground":"#eeeeee18","breadcrumb.background":"#181818","breadcrumb.focusForeground":"#dbd7caee","breadcrumb.foreground":"#959da5","breadcrumbPicker.background":"#121212","button.background":"#4d9375","button.foreground":"#121212","button.hoverBackground":"#4d9375","checkbox.background":"#181818","checkbox.border":"#2f363d","debugToolBar.background":"#121212",descriptionForeground:"#dedcd590","diffEditor.insertedTextBackground":"#4d937550","diffEditor.removedTextBackground":"#ab595950","dropdown.background":"#121212","dropdown.border":"#191919","dropdown.foreground":"#dbd7caee","dropdown.listBackground":"#181818","editor.background":"#121212","editor.findMatchBackground":"#e6cc7722","editor.findMatchHighlightBackground":"#e6cc7744","editor.focusedStackFrameHighlightBackground":"#b808","editor.foldBackground":"#eeeeee10","editor.foreground":"#dbd7caee","editor.inactiveSelectionBackground":"#eeeeee10","editor.lineHighlightBackground":"#181818","editor.selectionBackground":"#eeeeee18","editor.selectionHighlightBackground":"#eeeeee10","editor.stackFrameHighlightBackground":"#a707","editor.wordHighlightBackground":"#1c6b4805","editor.wordHighlightStrongBackground":"#1c6b4810","editorBracketHighlight.foreground1":"#5eaab5","editorBracketHighlight.foreground2":"#4d9375","editorBracketHighlight.foreground3":"#d4976c","editorBracketHighlight.foreground4":"#d9739f","editorBracketHighlight.foreground5":"#e6cc77","editorBracketHighlight.foreground6":"#6394bf","editorBracketMatch.background":"#4d937520","editorError.foreground":"#cb7676","editorGroup.border":"#191919","editorGroupHeader.tabsBackground":"#121212","editorGroupHeader.tabsBorder":"#191919","editorGutter.addedBackground":"#4d9375","editorGutter.commentRangeForeground":"#dedcd550","editorGutter.deletedBackground":"#cb7676","editorGutter.foldingControlForeground":"#dedcd590","editorGutter.modifiedBackground":"#6394bf","editorHint.foreground":"#4d9375","editorIndentGuide.activeBackground":"#ffffff30","editorIndentGuide.background":"#ffffff15","editorInfo.foreground":"#6394bf","editorInlayHint.background":"#00000000","editorInlayHint.foreground":"#666666","editorLineNumber.activeForeground":"#bfbaaa","editorLineNumber.foreground":"#dedcd550","editorOverviewRuler.border":"#111","editorStickyScroll.background":"#181818","editorStickyScrollHover.background":"#181818","editorWarning.foreground":"#d4976c","editorWhitespace.foreground":"#ffffff15","editorWidget.background":"#121212",errorForeground:"#cb7676",focusBorder:"#00000000",foreground:"#dbd7caee","gitDecoration.addedResourceForeground":"#4d9375","gitDecoration.conflictingResourceForeground":"#d4976c","gitDecoration.deletedResourceForeground":"#cb7676","gitDecoration.ignoredResourceForeground":"#dedcd550","gitDecoration.modifiedResourceForeground":"#6394bf","gitDecoration.submoduleResourceForeground":"#dedcd590","gitDecoration.untrackedResourceForeground":"#5eaab5","input.background":"#181818","input.border":"#191919","input.foreground":"#dbd7caee","input.placeholderForeground":"#dedcd590","inputOption.activeBackground":"#dedcd550","list.activeSelectionBackground":"#181818","list.activeSelectionForeground":"#dbd7caee","list.focusBackground":"#181818","list.highlightForeground":"#4d9375","list.hoverBackground":"#181818","list.hoverForeground":"#dbd7caee","list.inactiveFocusBackground":"#121212","list.inactiveSelectionBackground":"#181818","list.inactiveSelectionForeground":"#dbd7caee","menu.separatorBackground":"#191919","notificationCenterHeader.background":"#121212","notificationCenterHeader.foreground":"#959da5","notifications.background":"#121212","notifications.border":"#191919","notifications.foreground":"#dbd7caee","notificationsErrorIcon.foreground":"#cb7676","notificationsInfoIcon.foreground":"#6394bf","notificationsWarningIcon.foreground":"#d4976c","panel.background":"#121212","panel.border":"#191919","panelInput.border":"#2f363d","panelTitle.activeBorder":"#4d9375","panelTitle.activeForeground":"#dbd7caee","panelTitle.inactiveForeground":"#959da5","peekViewEditor.background":"#121212","peekViewEditor.matchHighlightBackground":"#ffd33d33","peekViewResult.background":"#121212","peekViewResult.matchHighlightBackground":"#ffd33d33","pickerGroup.border":"#191919","pickerGroup.foreground":"#dbd7caee","problemsErrorIcon.foreground":"#cb7676","problemsInfoIcon.foreground":"#6394bf","problemsWarningIcon.foreground":"#d4976c","progressBar.background":"#4d9375","quickInput.background":"#121212","quickInput.foreground":"#dbd7caee","quickInputList.focusBackground":"#181818","scrollbar.shadow":"#0000","scrollbarSlider.activeBackground":"#dedcd550","scrollbarSlider.background":"#dedcd510","scrollbarSlider.hoverBackground":"#dedcd550","settings.headerForeground":"#dbd7caee","settings.modifiedItemIndicator":"#4d9375","sideBar.background":"#121212","sideBar.border":"#191919","sideBar.foreground":"#bfbaaa","sideBarSectionHeader.background":"#121212","sideBarSectionHeader.border":"#191919","sideBarSectionHeader.foreground":"#dbd7caee","sideBarTitle.foreground":"#dbd7caee","statusBar.background":"#121212","statusBar.border":"#191919","statusBar.debuggingBackground":"#181818","statusBar.debuggingForeground":"#bfbaaa","statusBar.foreground":"#bfbaaa","statusBar.noFolderBackground":"#121212","statusBarItem.prominentBackground":"#181818","tab.activeBackground":"#121212","tab.activeBorder":"#191919","tab.activeBorderTop":"#dedcd590","tab.activeForeground":"#dbd7caee","tab.border":"#191919","tab.hoverBackground":"#181818","tab.inactiveBackground":"#121212","tab.inactiveForeground":"#959da5","tab.unfocusedActiveBorder":"#191919","tab.unfocusedActiveBorderTop":"#191919","tab.unfocusedHoverBackground":"#121212","terminal.ansiBlack":"#393a34","terminal.ansiBlue":"#6394bf","terminal.ansiBrightBlack":"#777777","terminal.ansiBrightBlue":"#6394bf","terminal.ansiBrightCyan":"#5eaab5","terminal.ansiBrightGreen":"#4d9375","terminal.ansiBrightMagenta":"#d9739f","terminal.ansiBrightRed":"#cb7676","terminal.ansiBrightWhite":"#ffffff","terminal.ansiBrightYellow":"#e6cc77","terminal.ansiCyan":"#5eaab5","terminal.ansiGreen":"#4d9375","terminal.ansiMagenta":"#d9739f","terminal.ansiRed":"#cb7676","terminal.ansiWhite":"#dbd7ca","terminal.ansiYellow":"#e6cc77","terminal.foreground":"#dbd7caee","terminal.selectionBackground":"#eeeeee18","textBlockQuote.background":"#121212","textBlockQuote.border":"#191919","textCodeBlock.background":"#121212","textLink.activeForeground":"#4d9375","textLink.foreground":"#4d9375","textPreformat.foreground":"#d1d5da","textSeparator.foreground":"#586069","titleBar.activeBackground":"#121212","titleBar.activeForeground":"#bfbaaa","titleBar.border":"#181818","titleBar.inactiveBackground":"#121212","titleBar.inactiveForeground":"#959da5","tree.indentGuidesStroke":"#2f363d","welcomePage.buttonBackground":"#2f363d","welcomePage.buttonHoverBackground":"#444d56"},displayName:"Vitesse Dark",name:"vitesse-dark",semanticHighlighting:!0,semanticTokenColors:{class:"#6872ab",interface:"#5d99a9",namespace:"#db889a",property:"#b8a965",type:"#5d99a9"},tokenColors:[{scope:["comment","punctuation.definition.comment","string.comment"],settings:{foreground:"#758575dd"}},{scope:["delimiter.bracket","delimiter","invalid.illegal.character-not-allowed-here.html","keyword.operator.rest","keyword.operator.spread","keyword.operator.type.annotation","keyword.operator.relational","keyword.operator.assignment","keyword.operator.type","meta.brace","meta.tag.block.any.html","meta.tag.inline.any.html","meta.tag.structure.input.void.html","meta.type.annotation","meta.embedded.block.github-actions-expression","storage.type.function.arrow","meta.objectliteral.ts","punctuation"],settings:{foreground:"#666666"}},{scope:["constant","entity.name.constant","variable.language","meta.definition.variable"],settings:{foreground:"#c99076"}},{scope:["entity","entity.name"],settings:{foreground:"#80a665"}},{scope:"variable.parameter.function",settings:{foreground:"#dbd7caee"}},{scope:["entity.name.tag","tag.html"],settings:{foreground:"#4d9375"}},{scope:"entity.name.function",settings:{foreground:"#80a665"}},{scope:["keyword","storage.type.class.jsdoc"],settings:{foreground:"#4d9375"}},{scope:["storage","storage.type","support.type.builtin","constant.language.undefined","constant.language.null"],settings:{foreground:"#cb7676"}},{scope:["text.html.derivative","storage.modifier.package","storage.modifier.import","storage.type.java"],settings:{foreground:"#dbd7caee"}},{scope:["string","string punctuation.section.embedded source","attribute.value"],settings:{foreground:"#c98a7d"}},{scope:["punctuation.definition.string","punctuation.support.type.property-name"],settings:{foreground:"#c98a7d99"}},{scope:"support",settings:{foreground:"#b8a965"}},{scope:["property","meta.property-name","meta.object-literal.key","entity.name.tag.yaml","attribute.name"],settings:{foreground:"#b8a965"}},{scope:["entity.other.attribute-name","invalid.deprecated.entity.other.attribute-name.html"],settings:{foreground:"#bd976a"}},{scope:["variable","identifier"],settings:{foreground:"#bd976a"}},{scope:["support.type.primitive","entity.name.type"],settings:{foreground:"#5DA994"}},{scope:"namespace",settings:{foreground:"#db889a"}},{scope:["keyword.operator","keyword.operator.assignment.compound","meta.var.expr.ts"],settings:{foreground:"#cb7676"}},{scope:"invalid.broken",settings:{fontStyle:"italic",foreground:"#fdaeb7"}},{scope:"invalid.deprecated",settings:{fontStyle:"italic",foreground:"#fdaeb7"}},{scope:"invalid.illegal",settings:{fontStyle:"italic",foreground:"#fdaeb7"}},{scope:"invalid.unimplemented",settings:{fontStyle:"italic",foreground:"#fdaeb7"}},{scope:"carriage-return",settings:{background:"#f97583",content:"^M",fontStyle:"italic underline",foreground:"#24292e"}},{scope:"message.error",settings:{foreground:"#fdaeb7"}},{scope:"string variable",settings:{foreground:"#c98a7d"}},{scope:["source.regexp","string.regexp"],settings:{foreground:"#c4704f"}},{scope:["string.regexp.character-class","string.regexp constant.character.escape","string.regexp source.ruby.embedded","string.regexp string.regexp.arbitrary-repitition"],settings:{foreground:"#c98a7d"}},{scope:"string.regexp constant.character.escape",settings:{foreground:"#e6cc77"}},{scope:["support.constant"],settings:{foreground:"#c99076"}},{scope:["keyword.operator.quantifier.regexp","constant.numeric","number"],settings:{foreground:"#4C9A91"}},{scope:["keyword.other.unit"],settings:{foreground:"#cb7676"}},{scope:["constant.language.boolean","constant.language"],settings:{foreground:"#4d9375"}},{scope:"meta.module-reference",settings:{foreground:"#4d9375"}},{scope:"punctuation.definition.list.begin.markdown",settings:{foreground:"#d4976c"}},{scope:["markup.heading","markup.heading entity.name"],settings:{fontStyle:"bold",foreground:"#4d9375"}},{scope:"markup.quote",settings:{foreground:"#5d99a9"}},{scope:"markup.italic",settings:{fontStyle:"italic",foreground:"#dbd7caee"}},{scope:"markup.bold",settings:{fontStyle:"bold",foreground:"#dbd7caee"}},{scope:"markup.raw",settings:{foreground:"#4d9375"}},{scope:["markup.deleted","meta.diff.header.from-file","punctuation.definition.deleted"],settings:{background:"#86181d",foreground:"#fdaeb7"}},{scope:["markup.inserted","meta.diff.header.to-file","punctuation.definition.inserted"],settings:{background:"#144620",foreground:"#85e89d"}},{scope:["markup.changed","punctuation.definition.changed"],settings:{background:"#c24e00",foreground:"#ffab70"}},{scope:["markup.ignored","markup.untracked"],settings:{background:"#79b8ff",foreground:"#2f363d"}},{scope:"meta.diff.range",settings:{fontStyle:"bold",foreground:"#b392f0"}},{scope:"meta.diff.header",settings:{foreground:"#79b8ff"}},{scope:"meta.separator",settings:{fontStyle:"bold",foreground:"#79b8ff"}},{scope:"meta.output",settings:{foreground:"#79b8ff"}},{scope:["brackethighlighter.tag","brackethighlighter.curly","brackethighlighter.round","brackethighlighter.square","brackethighlighter.angle","brackethighlighter.quote"],settings:{foreground:"#d1d5da"}},{scope:"brackethighlighter.unmatched",settings:{foreground:"#fdaeb7"}},{scope:["constant.other.reference.link","string.other.link","punctuation.definition.string.begin.markdown","punctuation.definition.string.end.markdown"],settings:{foreground:"#c98a7d"}},{scope:["markup.underline.link.markdown","markup.underline.link.image.markdown"],settings:{fontStyle:"underline",foreground:"#dedcd590"}},{scope:["type.identifier","constant.other.character-class.regexp"],settings:{foreground:"#6872ab"}},{scope:["entity.other.attribute-name.html.vue"],settings:{foreground:"#80a665"}},{scope:["invalid.illegal.unrecognized-tag.html"],settings:{fontStyle:"normal"}}],type:"dark"});export{e as default};
@@ -1 +0,0 @@
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"./C_tLznPO.js";import{_ as z}from"./nhLZZe93.js";import"./CNzQK24q.js";import"./CO7Eo6nF.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 +0,0 @@
1
- import{d as B,r as T,a as k,au as W,f as t,o,m as s,k as e,t as $,h as y,j as x,bj as q,F as v,n as M,p as P,i as h,v as L,G as E,X as A,_ as G,ac as H,bk as j,b5 as X,b6 as J,ab as Q,aq as Y,b7 as Z,as as ee,l as te,ae as oe,L as ne,M as ae}from"./C_tLznPO.js";import{_ as D}from"./D4V9JMY9.js";import{_ as F}from"./BI3hykgO.js";import{_ as se}from"./DqpvVAaa.js";import{_ as re}from"./nhLZZe93.js";import{_ as le}from"./BOV_C5BD.js";import"./B1veJI6T.js";import"./CNzQK24q.js";import"./CO7Eo6nF.js";const ie={block:"","cursor-pointer":""},ue={p2:""},ce=["onSubmit"],de=e("div",{px2:"","text-sm":"",op50:""}," Fill params and navigate: ",-1),pe={flex:"~","items-center":"",p2:"","text-sm":"","font-mono":""},_e={key:1},he=B({__name:"RoutePathItem",props:{route:{}},emits:["navigate"],setup(V,{emit:i}){const d=V,w=i,m=T([]),p=k(()=>{const u=N(d.route.path);return m.value=Array.from({length:u.length},()=>""),u});function N(u){return u.split(/(:\w+[?*]?(?:\(\))?)/).filter(Boolean).map(_=>_[0]===":"?_.replace(/\(\)$/,"?"):_)}const r=k(()=>p.value.map((u,_)=>u[0]===":"?m.value[_]:u).join("").replace(/\/+/g,"/")),n=k(()=>d.route.path.includes(":"));function f(){w("navigate",r.value)}return(u,_)=>{const a=A,l=G,c=W("VDropdown");return t(n)?(o(),y(c,{key:1},{popper:x(({hide:g})=>[e("div",ue,[e("form",{flex:"~ col",onSubmit:q(()=>{f(),g()},["prevent"])},[t(n)?(o(),s(v,{key:0},[de,e("div",pe,[(o(!0),s(v,null,M(t(p),(b,R)=>(o(),s(v,{key:R},[b[0]===":"?(o(),y(a,{key:0,modelValue:t(m)[R],"onUpdate:modelValue":I=>t(m)[R]=I,"w-20":"","n-sm":"",placeholder:b.slice(1)},null,8,["modelValue","onUpdate:modelValue","placeholder"])):(o(),s("span",_e,$(b),1))],64))),128))])],64)):P("",!0),h(l,{type:"submit",block:"",n:"primary"},{default:x(()=>[L(" Navigate ")]),_:1})],40,ce)])]),default:x(()=>[e("code",ie,[(o(!0),s(v,null,M(t(p),(g,b)=>(o(),s("span",{key:b,class:E(g[0]===":"?"text-gray border border-dashed rounded border-gray:50 px1":"")},$(g[0]===":"?g.slice(1):g),3))),128))])]),_:1})):(o(),s("button",{key:0,onClick:f},[e("code",null,$(u.route.path),1)]))}}}),me={"w-full":""},fe=e("thead",{border:"b base"},[e("tr",null,[e("th",{"text-left":""}),e("th",{"text-left":""}," Route Path "),e("th",{"text-left":""}," Name "),e("th",{"text-left":""}," Middleware "),e("th",null," Layout ")])],-1),ge={"w-20":"","pr-1":""},ve={flex:"","items-center":"","justify-end":""},ye={"text-sm":""},be={flex:"inline gap3","items-center":""},xe={op0:"","group-hover:op100":"",flex:"~ gap1"},ke=["onClick"],$e=e("div",{"i-carbon-script-reference":""},null,-1),we=[$e],Ne={"w-0":"","ws-nowrap":"","pr-1":"","text-left":"","text-sm":"","font-mono":"",op50:""},Re={"w-0":"","ws-nowrap":"","pr-1":"","text-center":"","text-sm":"","font-mono":"",op50:""},Ce={"w-0":"","ws-nowrap":"","text-center":"","text-sm":"","font-mono":""},Pe={key:0},Ve=["onClick"],Ie=B({__name:"RoutesTable",props:{pages:{},layouts:{},matched:{},matchedPending:{}},emits:["navigate"],setup(V){const i=V,d=H(),w=j(),m=k(()=>[...i.pages].sort((r,n)=>r.path.localeCompare(n.path)));function p(r){const n=i.layouts.find(f=>f.name===r);n&&d(n.file)}function N(r){if(typeof r=="string")return w.value?.middleware.find(n=>n.name===r)?.path}return(r,n)=>{const f=D,u=he,_=F;return o(),s("div",null,[e("table",me,[fe,e("tbody",null,[(o(!0),s(v,null,M(t(m),a=>(o(),s("tr",{key:a.name,class:"group","h-7":"",border:"b dashed transparent hover:base"},[e("td",ge,[e("div",ve,[r.matched.find(l=>l.name===a.name)?(o(),y(f,{key:0,n:"green",title:"active",textContent:"active"})):r.matchedPending.find(l=>l.name===a.name)?(o(),y(f,{key:1,n:"teal",title:"next",textContent:"next"})):P("",!0)])]),e("td",ye,[e("div",be,[h(u,{route:a,class:E(r.matched.find(l=>l.name===a.name)?"text-primary":r.matchedPending.find(l=>l.name===a.name)?"text-teal":""),onNavigate:n[0]||(n[0]=l=>r.$emit("navigate",l))},null,8,["route","class"]),e("div",xe,[a.file||a.meta?.file?(o(),s("button",{key:0,"text-sm":"",op40:"",hover:"op100 text-primary",title:"Open in editor",onClick:l=>t(d)(a.file||a.meta?.file)},we,8,ke)):P("",!0)])])]),e("td",Ne,$(a.name),1),e("td",Re,[h(_,{filepath:N(a.meta.middleware),override:`${a.meta.middleware||"-"}`},null,8,["filepath","override"])]),e("td",Ce,[a.meta.layout===!1?(o(),s("span",Pe,"-")):a.meta.layout?(o(),s("button",{key:1,onClick:l=>p(a.meta.layout)},$(a.meta.layout),9,Ve)):(o(),s("button",{key:2,"text-sm":"",op15:"",onClick:n[1]||(n[1]=l=>p("default"))}," (default) "))])]))),128))])])])}}}),Le={class:"markdown-body"},Me=e("h1",null,"Pages",-1),Te=e("p",null,[L("Nuxt provides a file-based routing to create routes within your web application using Vue Router under the hood. Pages are Vue components and can have any valid extension that Nuxt supports (by default .vue, .js, .jsx, .mjs, .ts or .tsx). Nuxt will automatically create a route for every page in your "),e("code",null,"~/pages/"),L(" directory.")],-1),Be=e("p",null,[e("a",{href:"https://nuxt.com/docs/getting-started/routing",target:"_blank",rel:"noopener"},"Learn more in the documentation")],-1),Ee=e("hr",null,null,-1),Ae=e("h1",null,"Middlewares",-1),je=e("p",null,"Nuxt provides a customizable route middleware framework that can be used throughout the application. This is ideal for extracting code that needs to run before navigating to a particular route.",-1),De=e("p",null,[e("a",{href:"https://nuxt.com/docs/guide/directory-structure/middleware",target:"_blank",rel:"noopener"},"Learn more in the documentation")],-1),Fe=[Me,Te,Be,Ee,Ae,je,De],Se={__name:"pages",setup(V,{expose:i}){return i({frontmatter:{}}),(w,m)=>(o(),s("div",Le,Fe))}},ze=Se,Ue={key:0,"h-full":"","of-auto":""},Ke={border:"b base",flex:"~ col gap1",px4:"",py3:"","n-navbar-glass":""},Oe=e("span",{op50:""},"Navigate from ",-1),We={"font-mono":""},qe=e("span",{op50:""}," to ",-1),Ge={key:1,op50:""},He=e("span",null,[L("Press "),e("b",{"font-bold":""},"Enter"),L(" to navigate")],-1),Xe={key:0,"text-orange":"",op75:""},Je={key:1,op50:""},Qe={"min-h-14":""},Ye={key:1,class:"py-4 text-center"},Ze=e("span",{op50:""},"No routes matched",-1),et=[Ze],tt={"w-full":""},ot=e("thead",{border:"b base","h-7":""},[e("tr",null,[e("th",{"text-left":""}," Name "),e("th",{"text-left":""}," Path ")])],-1),nt={mr1:""},_t=B({__name:"pages",setup(V){const i=X(),d=J(),w=Q(),m=j(),p=Y(),N=Z(),r=k(()=>m.value?.middleware||[]),n=T(""),f=T(0),u=k(()=>(r.value,n.value,p.value,f.value,i.value?.currentRoute?.value?.path));ee(()=>{d.value&&(n.value=i.value?.currentRoute?.value?.path),i.value?.beforeEach(c=>{n.value=c.fullPath}),i.value?.afterEach(c=>{n.value=c.fullPath})});async function _(){n.value!==i.value?.currentRoute?.value?.path&&i.value.push(n.value||"/")}const a=k(()=>i.value.resolve(n.value||"/").matched);function l(c){i.value.push(c),n.value=c}return(c,g)=>{const b=A,R=Ie,I=se,S=D,z=F,U=re,K=ze,O=le;return o(),s(v,null,[t(w)?.pages&&t(i)?(o(),s("div",Ue,[e("div",Ke,[e("div",null,[t(u)!==t(n)?(o(),s(v,{key:0},[Oe,e("span",We,$(t(u)),1),qe],64)):(o(),s("span",Ge,"Current route"))]),h(b,{modelValue:t(n),"onUpdate:modelValue":g[0]||(g[0]=C=>te(n)?n.value=C:null),"font-mono":"",icon:"carbon-direction-right-01 scale-y--100",class:E(t(u)===t(n)?"":t(a).length?"text-green":"text-orange"),onKeydown:oe(_,["enter"])},null,8,["modelValue","class"]),e("div",null,[t(u)!==t(n)?(o(),s(v,{key:0},[He,t(a).length?P("",!0):(o(),s("span",Xe," (no match)"))],64)):(o(),s("span",Je,"Edit path above to navigate"))])]),h(I,{icon:"carbon-tree-view",text:"Matched Routes",padding:!1},{default:x(()=>[e("div",Qe,[t(a).length?(o(),y(R,{key:0,pages:t(a),layouts:t(p)||[],matched:t(d).matched,"matched-pending":t(a),onNavigate:l},null,8,["pages","layouts","matched","matched-pending"])):(o(),s("div",Ye,et))])]),_:1}),h(I,{icon:"carbon-tree-view-alt",text:"All Routes",description:`${t(N).length} routes registered in your application`,padding:"pr5"},{default:x(()=>[h(R,{pages:t(N),layouts:t(p)||[],matched:t(d).matched,"matched-pending":t(a),onNavigate:l},null,8,["pages","layouts","matched","matched-pending"])]),_:1},8,["description"]),t(r).length?(o(),y(I,{key:0,icon:"carbon:ibm-watson-studio",text:"Middleware",description:`${t(r).length} middleware registered in your application`,padding:"px13"},{default:x(()=>[e("table",tt,[ot,(o(!0),s(v,null,M(t(r),C=>(o(),s("tr",{key:C.path,"h-7":""},[e("td",null,[e("span",nt,$(C.name),1),C.global?(o(),y(S,{key:0,n:"green",title:"Registered at runtime as a global component",textContent:"global"})):P("",!0)]),e("td",null,[h(z,{filepath:C.path},null,8,["filepath"])])]))),128))])]),_:1},8,["description"])):P("",!0)])):(o(),y(U,{key:1,icon:"carbon-tree-view-alt",name:"wizard-pages",title:"Nuxt Routing",description:"Create `./pages/index.vue` to enable routing",actions:[{label:"Learn more",src:"https://nuxt.com/docs/getting-started/routing",attrs:{n:"primary"}},{label:"Enable Routing",async handle(){return("rpc"in c?c.rpc:t(ne)).runWizard(await("ensureDevAuthToken"in c?c.ensureDevAuthToken:t(ae))(),"enablePages")}}]},null,8,["actions"])),h(O,null,{default:x(()=>[h(K)]),_:1})],64)}}});export{_t as default};
@@ -1 +0,0 @@
1
- import{d as g,r as c,h as p,j as t,A as N,o as d,k as e,i as o,v as i,f as u,l as f,p as b,B as k,C as V,D as w,E as C,_ as B}from"./C_tLznPO.js";import{_ as D}from"./Dm9RYIcI.js";import{_ as L}from"./BKeomq25.js";const T={flex:"~ auto col gap3","items-center":"","justify-center":"","text-center":""},j=e("p",{my2:"","text-3em":"","text-primary":"","font-bold":"","font-stylish":""}," 👋 Hi there, welcome to Nuxt DevTools! ",-1),E={"max-w-190":"","text-lg":""},P=e("br",null,null,-1),S={mb6:"",op50:""},U=e("span",null,"Get Started",-1),$={p4:""},F={flex:"~ col gap-2",mxa:""},G=e("span",{op50:""},"Show floating panel from now on",-1),A=e("span",{op50:""},"Send anonymous statistics, help us improving DevTools",-1),z=g({__name:"index",setup(H){const n=c(!0),s=c(!0),{showPanel:l}=k();function h(){V.value=n.value,l.value==null&&s.value&&(l.value=!0),w.value=!1}return(I,a)=>{const x=C,_=D,v=B,m=L,y=N;return d(),p(y,{flex:"~ col",relative:"","h-screen":"","w-full":""},{default:t(()=>[e("div",T,[j,e("p",E,[o(x,{"mr-0.5":"","inline-block":"","h-5":"","translate-y--1.1":"","align-mid":""}),i(" is a set of visual tools that help you to know your Nuxt app better, and enhance your development experience with Nuxt. Enjoy!"),P]),e("p",S,[i(" Learn more at "),o(_,{href:"https://devtools.nuxt.com/",target:"_blank",rel:"noopener noreferrer",n:"primary"},{default:t(()=>[i(" devtools.nuxt.com ")]),_:1})]),o(v,{to:"/modules/overview",n:"lg primary",onClick:h},{default:t(()=>[U]),_:1})]),e("div",$,[e("div",F,[u(l)==null?(d(),p(m,{key:0,modelValue:u(s),"onUpdate:modelValue":a[0]||(a[0]=r=>f(s)?s.value=r:null),n:"green6"},{default:t(()=>[G]),_:1},8,["modelValue"])):b("",!0),o(m,{modelValue:u(n),"onUpdate:modelValue":a[1]||(a[1]=r=>f(n)?n.value=r:null),n:"green6"},{default:t(()=>[A,o(_,{href:"https://github.com/nuxt/devtools#anonymous-usage-analytics",target:"_blank",ml1:"",op35:"",textContent:"Learn more"})]),_:1},8,["modelValue"])])])]),_:1})}}});export{z as default};
@@ -1,4 +0,0 @@
1
- import{_ as W}from"./CIvuwNIv.js";import{d as A,a as B,r as J,as as V,bY as Y,o as Z,h as k,f as G}from"./C_tLznPO.js";function C(){}C.prototype={diff:function(e,o){var r,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},t=u.callback;typeof u=="function"&&(t=u,u={}),this.options=u;var f=this;function i(c){return t?(setTimeout(function(){t(void 0,c)},0),!0):c}e=this.castInput(e),o=this.castInput(o),e=this.removeEmpty(this.tokenize(e)),o=this.removeEmpty(this.tokenize(o));var s=o.length,l=e.length,d=1,p=s+l;u.maxEditLength&&(p=Math.min(p,u.maxEditLength));var m=(r=u.timeout)!==null&&r!==void 0?r:1/0,h=Date.now()+m,a=[{oldPos:-1,lastComponent:void 0}],v=this.extractCommon(a[0],o,e,0);if(a[0].oldPos+1>=l&&v+1>=s)return i([{value:this.join(o),count:o.length}]);var g=-1/0,L=1/0;function $(){for(var c=Math.max(g,-d);c<=Math.min(L,d);c+=2){var y=void 0,x=a[c-1],D=a[c+1];x&&(a[c-1]=void 0);var E=!1;if(D){var M=D.oldPos-c;E=D&&0<=M&&M<s}var O=x&&x.oldPos+1<l;if(!E&&!O){a[c]=void 0;continue}if(!O||E&&x.oldPos+1<D.oldPos?y=f.addToPath(D,!0,void 0,0):y=f.addToPath(x,void 0,!0,1),v=f.extractCommon(y,o,e,c),y.oldPos+1>=l&&v+1>=s)return i(H(f,y.lastComponent,o,e,f.useLongestToken));a[c]=y,y.oldPos+1>=l&&(L=Math.min(L,c-1)),v+1>=s&&(g=Math.max(g,c+1))}d++}if(t)(function c(){setTimeout(function(){if(d>p||Date.now()>h)return t();$()||c()},0)})();else for(;d<=p&&Date.now()<=h;){var q=$();if(q)return q}},addToPath:function(e,o,r,u){var t=e.lastComponent;return t&&t.added===o&&t.removed===r?{oldPos:e.oldPos+u,lastComponent:{count:t.count+1,added:o,removed:r,previousComponent:t.previousComponent}}:{oldPos:e.oldPos+u,lastComponent:{count:1,added:o,removed:r,previousComponent:t}}},extractCommon:function(e,o,r,u){for(var t=o.length,f=r.length,i=e.oldPos,s=i-u,l=0;s+1<t&&i+1<f&&this.equals(o[s+1],r[i+1]);)s++,i++,l++;return l&&(e.lastComponent={count:l,previousComponent:e.lastComponent}),e.oldPos=i,s},equals:function(e,o){return this.options.comparator?this.options.comparator(e,o):e===o||this.options.ignoreCase&&e.toLowerCase()===o.toLowerCase()},removeEmpty:function(e){for(var o=[],r=0;r<e.length;r++)e[r]&&o.push(e[r]);return o},castInput:function(e){return e},tokenize:function(e){return e.split("")},join:function(e){return e.join("")}};function H(n,e,o,r,u){for(var t=[],f;e;)t.push(e),f=e.previousComponent,delete e.previousComponent,e=f;t.reverse();for(var i=0,s=t.length,l=0,d=0;i<s;i++){var p=t[i];if(p.removed){if(p.value=n.join(r.slice(d,d+p.count)),d+=p.count,i&&t[i-1].added){var h=t[i-1];t[i-1]=t[i],t[i]=h}}else{if(!p.added&&u){var m=o.slice(l,l+p.count);m=m.map(function(v,g){var L=r[d+g];return L.length>v.length?L:v}),p.value=n.join(m)}else p.value=n.join(o.slice(l,l+p.count));l+=p.count,p.added||(d+=p.count)}}var a=t[s-1];return s>1&&typeof a.value=="string"&&(a.added||a.removed)&&n.equals("",a.value)&&(t[s-2].value+=a.value,t.pop()),t}var R=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,F=/\S/,N=new C;N.equals=function(n,e){return this.options.ignoreCase&&(n=n.toLowerCase(),e=e.toLowerCase()),n===e||this.options.ignoreWhitespace&&!F.test(n)&&!F.test(e)};N.tokenize=function(n){for(var e=n.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/),o=0;o<e.length-1;o++)!e[o+1]&&e[o+2]&&R.test(e[o])&&R.test(e[o+2])&&(e[o]+=e[o+2],e.splice(o+1,2),o--);return e};var I=new C;I.tokenize=function(n){this.options.stripTrailingCr&&(n=n.replace(/\r\n/g,`
2
- `));var e=[],o=n.split(/(\n|\r\n)/);o[o.length-1]||o.pop();for(var r=0;r<o.length;r++){var u=o[r];r%2&&!this.options.newlineIsToken?e[e.length-1]+=u:(this.options.ignoreWhitespace&&(u=u.trim()),e.push(u))}return e};function Q(n,e,o){return I.diff(n,e,o)}var U=new C;U.tokenize=function(n){return n.split(/(\S.+?[.!?])(?=\s+|$)/)};var X=new C;X.tokenize=function(n){return n.split(/([{}:;,]|\s+)/)};function w(n){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(e){return typeof e}:w=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w(n)}var K=Object.prototype.toString,T=new C;T.useLongestToken=!0;T.tokenize=I.tokenize;T.castInput=function(n){var e=this.options,o=e.undefinedReplacement,r=e.stringifyReplacer,u=r===void 0?function(t,f){return typeof f>"u"?o:f}:r;return typeof n=="string"?n:JSON.stringify(z(n,null,null,u),u," ")};T.equals=function(n,e){return C.prototype.equals.call(T,n.replace(/,([\r\n])/g,"$1"),e.replace(/,([\r\n])/g,"$1"))};function z(n,e,o,r,u){e=e||[],o=o||[],r&&(n=r(u,n));var t;for(t=0;t<e.length;t+=1)if(e[t]===n)return o[t];var f;if(K.call(n)==="[object Array]"){for(e.push(n),f=new Array(n.length),o.push(f),t=0;t<n.length;t+=1)f[t]=z(n[t],e,o,r,u);return e.pop(),o.pop(),f}if(n&&n.toJSON&&(n=n.toJSON()),w(n)==="object"&&n!==null){e.push(n),f={},o.push(f);var i=[],s;for(s in n)n.hasOwnProperty(s)&&i.push(s);for(i.sort(),t=0;t<i.length;t+=1)s=i[t],f[s]=z(n[s],e,o,r,s);e.pop(),o.pop()}else f=n;return f}var _=new C;_.tokenize=function(n){return n.slice()};_.join=_.removeEmpty=function(n){return n};const b=A({__name:"CodeDiff",props:{from:{},to:{},lang:{}},setup(n){const e=n;function o(i,s){const l=Q(i.trim(),s.trim()),d=[],p=[],m=[];for(const h of l){const a=h.value.trimEnd().split(`
3
- `);for(const v of a)h.added?(d.push(m.length),m.push(v)):(h.removed&&p.push(m.length),m.push(v))}return{added:d,removed:p,result:m.join(`
4
- `)}}const r=B(()=>o(e.from,e.to));function u(i){let s=0;return i.replace(/class="shiki/,'class="shiki diff').replace(/class="line"/g,l=>(s++,r.value.added.includes(s-1)?'class="line line-added"':r.value.removed.includes(s-1)?'class="line line-removed"':l))}const t=J();V(f);function f(){const i=Y(t);i&&i.querySelector(".line-added,.line-removed")?.scrollIntoView()}return(i,s)=>{const l=W;return Z(),k(l,{ref_key:"elRef",ref:t,code:G(r).result,lang:i.lang,"transform-rendered":u,onLoaded:f},null,8,["code","lang"])}}});export{b as _};
@@ -1 +0,0 @@
1
- import{d as O,ao as ae,bS as oe,P as se,r as U,Q as E,bT as F,aE as le,w as re,aD as ue,a1 as ie,a as de,L as f,M as h,f as t,o as l,h as _,j as u,k as r,i as c,l as M,m as i,F as x,n as A,t as k,G as R,ae as L,v as d,p as z,ay as ce,I as pe,bj as _e,af as me,bU as G,_ as fe,X as ve,a6 as ye,at as ge,A as he,U as ke,aK as be}from"./C_tLznPO.js";import{_ as xe}from"./BiRcA7Ly.js";import{_ as we}from"./Dm9RYIcI.js";import{_ as Ce}from"./BI3hykgO.js";import{e as Ke}from"./B3uNdhXb.js";const Se={class:"h-[48px] flex items-center justify-between gap1 px-3"},Ve={class:"w-full text-sm"},$e=["value"],Ne=["onClick"],Ie=r("div",{"x-divider":""},null,-1),je={key:0,"h-full":"","of-hidden":"",flex:"~ col"},De={border:"b base",class:"h-[49px] flex flex-none items-center justify-between px-4 text-sm"},Ue={class:"flex items-center gap-4"},Me={key:1},Ae=["onKeyup"],Le=r("br",null,null,-1),Be={key:0,op50:""},Pe={key:1},Te=r("code",null,"nitro.storage",-1),qe=r("br",null,null,-1),Ee={"font-bold":""},Fe=r("br",null,null,-1),Re={"text-sm":""},ze=r("br",null,null,-1),Ge=O({__name:"StorageDetails",async setup(Q){let p,g;const w=ae(),C=oe(),K=se(),b=U(""),v=U(""),s=E("storage:current",""),e=U(),y=E("storage:file:state",""),{data:S}=([p,g]=F(()=>G("storageMounts",()=>f.getStorageMounts())),p=await p,g(),p),{data:V,refresh:B}=([p,g]=F(async()=>G("storageKeys",async()=>s.value?await f.getStorageKeys(s.value):[])),p=await p,g(),p),W=C.hook("storage:key:update",async(n,a)=>{if(!(!s.value||n.split(":")[0]!==s.value)&&(await B(),y.value===n)){if(a==="remove")return K.replace({query:{storage:s.value}});await N(y.value)}});le(W),re(s,()=>{B(),y.value=""}),ue(async()=>{if(!y.value){e.value=null;return}N(y.value)}),ie("keydown",n=>{n.key==="s"&&(n.ctrlKey||n.metaKey)&&(I(),n.preventDefault())});function $(n){return n.replace(`${s.value}:`,"")}const X=de(()=>V.value?V.value.filter(n=>n.includes(b.value)):[]);async function N(n){const a=await f.getStorageItem(await h(),n);e.value={key:n,updatedKey:$(n),editingKey:!1,content:a,updatedContent:a}}async function H(){if(!v.value||!s.value)return;const n=`${s.value}:${v.value}`;V.value?.includes(n)||await f.setStorageItem(await h(),n,""),K.replace({query:{storage:s.value,key:n}}),v.value=""}async function I(){e.value&&(await f.setStorageItem(await h(),e.value.key,e.value.updatedContent),await N(e.value.key))}async function J(){!e.value||!s.value||(await f.removeStorageItem(await h(),e.value.key),e.value=null)}async function Y(){if(!e.value||!s.value)return;const n=`${s.value}:${e.value.updatedKey}`,a=await h();await f.setStorageItem(a,n,e.value.updatedContent),await f.removeStorageItem(a,e.value.key),K.replace({query:{storage:s.value,key:n}})}return(n,a)=>{const j=fe,Z=xe,D=ve,ee=ye,P=we,T=ge,q=he,te=ke,ne=Ce;return t(s)?(l(),_(te,{key:0,"storage-key":"tab-storage"},{left:u(()=>[r("div",Se,[c(j,{icon:"carbon-chevron-left","ml--1":"",border:!1,onClick:a[0]||(a[0]=o=>s.value="")}),r("div",Ve,[c(Z,{modelValue:t(s),"onUpdate:modelValue":a[1]||(a[1]=o=>M(s)?s.value=o:null),n:"primary",icon:"carbon-data-base"},{default:u(()=>[(l(!0),i(x,null,A(t(S),(o,m)=>(l(),i("option",{key:m,value:m},k(m),9,$e))),128))]),_:1},8,["modelValue"])])]),c(D,{modelValue:t(b),"onUpdate:modelValue":a[2]||(a[2]=o=>M(b)?b.value=o:null),icon:"carbon-search",placeholder:"Search...",n:"primary sm",border:"y x-none base! rounded-0",class:"w-full py2 ring-0!"},null,8,["modelValue"]),(l(!0),i(x,null,A(t(X),o=>(l(),i(x,{key:o},[r("button",{block:"","w-full":"",truncate:"",px2:"",py1:"","text-start":"","text-sm":"","font-mono":"",class:R(o===t(e)?.key?"text-primary n-bg-active":"text-secondary hover:n-bg-hover"),onClick:m=>y.value=o},k($(o)),11,Ne),Ie],64))),128)),c(D,{modelValue:t(v),"onUpdate:modelValue":a[3]||(a[3]=o=>M(v)?v.value=o:null),icon:"carbon-add",placeholder:"key",n:"sm",border:"t-none x-none base! rounded-0",class:"w-full py2 font-mono ring-0!",onKeyup:L(H,["enter"])},null,8,["modelValue"])]),right:u(()=>[t(e)?.key?(l(),i("div",je,[r("div",De,[r("div",Ue,[t(e).editingKey?(l(),_(D,{key:0,modelValue:t(e).updatedKey,"onUpdate:modelValue":a[4]||(a[4]=o=>t(e).updatedKey=o),onKeyup:L(Y,["enter"])},null,8,["modelValue"])):(l(),i("code",Me,[d(k($(t(e).key))+" ",1),c(ee,{icon:"carbon-edit",class:"cursor-pointer op50 hover:op100",onClick:a[5]||(a[5]=o=>t(e).editingKey=!0)})])),t(e).editingKey?z("",!0):(l(),_(j,{key:2,n:"green xs",disabled:t(e).content===t(e).updatedContent,class:R({"border-green":t(e).content!==t(e).updatedContent}),onClick:I},{default:u(()=>[d(" Save ")]),_:1},8,["disabled","class"]))]),r("div",null,[c(j,{n:"red xs",onClick:J},{default:u(()=>[d(" Delete ")]),_:1})])]),typeof t(e).content=="object"?(l(),_(t(Ke),ce({key:0,modelValue:t(e).updatedContent,"onUpdate:modelValue":a[6]||(a[6]=o=>t(e).updatedContent=o),class:[[t(w)==="dark"?"jse-theme-dark":"light"],"json-editor-vue h-full of-auto text-sm outline-none"]},n.$attrs,{mode:"text","navigation-bar":!1,indentation:2,"tab-size":2}),null,16,["modelValue","class"])):pe((l(),i("textarea",{key:1,"onUpdate:modelValue":a[7]||(a[7]=o=>t(e).updatedContent=o),placeholder:"Item value...",class:"h-full of-auto p-4 text-sm font-mono outline-none",onKeyup:L(_e(I,["ctrl"]),["enter"])},null,40,Ae)),[[me,t(e).updatedContent]])])):(l(),_(q,{key:1},{default:u(()=>[c(T,{px6:"",py4:""},{default:u(()=>[d(" Select one key to start."),Le,d("Learn more about "),c(P,{href:"https://nitro.unjs.io/guide/storage",n:"orange",target:"_blank"},{default:u(()=>[d(" Nitro storage ")]),_:1})]),_:1})]),_:1}))]),_:1})):(l(),_(q,{key:1},{default:u(()=>[Object.keys(t(S)).length?(l(),i("p",Be," Select one storage to start: ")):(l(),i("p",Pe,[d(" No custom storage defined in "),Te,d("."),qe,d(" Learn more about "),c(P,{href:"https://nitro.unjs.io/guide/storage",n:"orange",target:"_blank"},{default:u(()=>[d(" Nitro storage ")]),_:1})])),(l(!0),i(x,null,A(t(S),(o,m)=>(l(),_(T,{key:m,"min-w-80":"","cursor-pointer":"","p-4":"","text-left":"",hover:"border-green",onClick:Oe=>s.value=m},{default:u(()=>[r("span",Ee,k(m),1),Fe,r("span",Re,k(o.driver)+" driver",1),ze,o.base?(l(),_(ne,{key:0,"text-xs":"",filepath:o.base},null,8,["filepath"])):z("",!0)]),_:2},1032,["onClick"]))),128))]),_:1}))}}}),Ye=O({__name:"storage",setup(Q){return(p,g)=>{const w=Ge,C=be;return l(),_(C,null,{default:u(()=>[c(w)]),_:1})}}});export{Ye as default};
@@ -1 +0,0 @@
1
- import{_ as x}from"./DJn5wykB.js";import{d as $,o as e,m as r,F as b,n as B,h as f,j as a,aa as w,ay as F,k as S,am as O,a as k,a2 as V,f as o,i as n,p as u,v as j,I as E,_ as P}from"./C_tLznPO.js";import{_ as R}from"./DqpvVAaa.js";import{_ as A}from"./BOV_C5BD.js";import"./BkwfBuTq.js";import"./B3uNdhXb.js";import"./B1veJI6T.js";const G={key:0,flex:"~ col gap-1"},H={key:1,mt2:"",px4:"",italic:"",op35:""},K=$({__name:"StateGroup",props:{state:{},revision:{},prefix:{default:""}},setup(m){return(t,s)=>{const c=x;return e(),r("div",null,[t.state&&Object.keys(t.state).length>0?(e(),r("div",G,[(e(!0),r(b,null,B(t.state,(l,i)=>(e(),f(c,{key:i,revision:t.revision,state:l,name:i.startsWith(t.prefix)?i.slice(t.prefix.length):i},{actions:a(_=>[w(t.$slots,"actions",F({ref_for:!0},_))]),_:2},1032,["revision","state","name"]))),128))])):(e(),r("div",H," No data "))])}}}),T={class:"markdown-body"},I=S("h1",null,"State & Async Data",-1),L=S("p",null,"// TODO",-1),W=[I,L],q={__name:"payload",setup(m,{expose:t}){return t({frontmatter:{}}),(c,l)=>(e(),r("div",T,W))}},z=q,J={key:0},ot=$({__name:"payload",setup(m){const t=O(),s=k(()=>t.value?.nuxt.payload),c=k(()=>t.value?.revision.value);async function l(i){await t.value?.nuxt.hooks.callHookParallel("app:data:refresh",i)}return(i,_)=>{const v=K,d=R,h=P,g=x,D=z,C=A,N=V("tooltip");return e(),r(b,null,[o(t)?(e(),r("div",J,[n(d,{icon:"carbon-data-set",text:"State",description:"Keyed state from `useState`",padding:!1},{default:a(()=>[n(v,{state:o(s).state,revision:o(c),prefix:"$s"},null,8,["state","revision"])]),_:1}),n(d,{icon:"carbon-data-blob",text:"Data",description:"Keyed state from `useAsyncData`",padding:!1},{actions:a(()=>[n(h,{n:"xs primary","self-start":"",icon:"i-carbon-recycle",onClick:_[0]||(_[0]=y=>l())},{default:a(()=>[j(" Re-fetch all data ")]),_:1})]),default:a(()=>[n(v,{state:o(s).data,revision:o(c)},{actions:a(({isOpen:y,name:p})=>[y&&p?E((e(),f(h,{key:0,title:`Re-fetch '${p}'`,icon:"carbon-recycle",border:!1,onClick:M=>l([p])},null,8,["title","onClick"])),[[N,`Re-fetch '${p}'`,void 0,{bottom:!0}]]):u("",!0)]),_:1},8,["state","revision"])]),_:1}),o(s).functions&&Object.keys(o(s).functions).length?(e(),f(d,{key:0,icon:"carbon-function",text:"Functions",description:"State for functions"},{default:a(()=>[n(g,{"ml--6":"",state:o(s).functions,revision:o(c)},null,8,["state","revision"])]),_:1})):u("",!0)])):u("",!0),n(C,null,{default:a(()=>[n(D)]),_:1})],64)}}});export{ot as default};