@nuxt/devtools 0.5.5 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/module-main.mjs +145 -35
- package/dist/chunks/vscode.mjs +5 -2
- package/dist/client/200.html +2 -2
- package/dist/client/404.html +2 -2
- package/dist/client/__blank/index.html +7 -0
- package/dist/client/_nuxt/AuthRequiredPanel.vue.19da182f.js +1 -0
- package/dist/client/_nuxt/{Badge.e58c5f84.js → Badge.067326d6.js} +1 -1
- package/dist/client/_nuxt/CodeSnippets.vue.2f33c6d1.js +1 -0
- package/dist/client/_nuxt/DrawerRight.vue.aa1fd47b.js +1 -0
- package/dist/client/_nuxt/DurationDisplay.vue.4afc40a4.js +1 -0
- package/dist/client/_nuxt/FilepathItem.vue.3587ec1f.js +1 -0
- package/dist/client/_nuxt/{HelpFab.vue.044c905c.js → HelpFab.vue.dbb954dd.js} +1 -1
- package/dist/client/_nuxt/LaunchPage.vue.f137554e.js +1 -0
- package/dist/client/_nuxt/NCheckbox.vue.060051ad.js +1 -0
- package/dist/client/_nuxt/NCodeBlock.vue.e44529a6.js +2 -0
- package/dist/client/_nuxt/NIconButton.vue.ac7efd0c.js +1 -0
- package/dist/client/_nuxt/NIconTitle.vue.ace3a05a.js +1 -0
- package/dist/client/_nuxt/NLink.vue.372e1ca0.js +1 -0
- package/dist/client/_nuxt/NMarkdown.vue.9f252ec4.js +1 -0
- package/dist/client/_nuxt/{NPanelGrids.923427b0.js → NPanelGrids.54ee09bc.js} +1 -1
- package/dist/client/_nuxt/NSectionBlock.012f83f1.css +1 -0
- package/dist/client/_nuxt/NSectionBlock.9cbe0175.js +1 -0
- package/dist/client/_nuxt/NSelect.vue.3956d7b1.js +1 -0
- package/dist/client/_nuxt/NSwitch.vue.f0f70131.js +1 -0
- package/dist/client/_nuxt/NTip.vue.f50fcd60.js +1 -0
- package/dist/client/_nuxt/{Navbar.vue.1eab843e.js → Navbar.vue.bd98686f.js} +1 -1
- package/dist/client/_nuxt/NpmVersionCheck.vue.78bff2df.js +1 -0
- package/dist/client/_nuxt/{PanelLeftRight.vue.5807516f.js → PanelLeftRight.vue.8031c7d4.js} +1 -1
- package/dist/client/_nuxt/StateEditor.vue.4439d43c.js +1 -0
- package/dist/client/_nuxt/__blank.944beb26.js +1 -0
- package/dist/client/_nuxt/analyze-build.fd781999.js +1 -0
- package/dist/client/_nuxt/assets.f876e2b9.js +16 -0
- package/dist/client/_nuxt/{client.4ef5790f.js → client.d6464981.js} +1 -1
- package/dist/client/_nuxt/{components.1cc22fdb.js → components.d23cd7b8.js} +27 -27
- package/dist/client/_nuxt/custom-_name_.3701152b.js +1 -0
- package/dist/client/_nuxt/{default.2805e636.js → default.809c6e7c.js} +1 -1
- package/dist/client/_nuxt/editor.aee50e2c.js +1 -0
- package/dist/client/_nuxt/entry.717f6486.css +1 -0
- package/dist/client/_nuxt/entry.a0dd6aac.js +19 -0
- package/dist/client/_nuxt/{error-404.61da4836.js → error-404.d560629e.js} +1 -1
- package/dist/client/_nuxt/{error-500.68195134.js → error-500.d7ca8dd1.js} +1 -1
- package/dist/client/_nuxt/{error-component.db5245e7.js → error-component.15e0d602.js} +2 -2
- package/dist/client/_nuxt/{full.cfa15ba5.js → full.76363f3f.js} +1 -1
- package/dist/client/_nuxt/hooks.3a3b761d.js +1 -0
- package/dist/client/_nuxt/imports.e0b9437d.js +1 -0
- package/dist/client/_nuxt/{index.e17aa9ce.js → index.25d3cd66.js} +1 -1
- package/dist/client/_nuxt/{index.476fd219.js → index.d7252ef5.js} +1 -1
- package/dist/client/_nuxt/json-editor-vue.b8dc29b2.js +137 -0
- package/dist/client/_nuxt/{middleware.10bb56a6.js → middleware.cbbbe53d.js} +1 -1
- package/dist/client/_nuxt/modules.092674af.js +4 -0
- package/dist/client/_nuxt/{none.a68953c7.js → none.0a084ac9.js} +1 -1
- package/dist/client/_nuxt/nuxt-docs.100caa70.js +1 -0
- package/dist/client/_nuxt/open-graph.3563ee56.js +3 -0
- package/dist/client/_nuxt/overview.e4073f57.js +1 -0
- package/dist/client/_nuxt/pages.e4cfc065.js +1 -0
- package/dist/client/_nuxt/payload.0be0c356.js +1 -0
- package/dist/client/_nuxt/plugins.88ff2e07.js +1 -0
- package/dist/client/_nuxt/runtime-configs.7810c90a.js +1 -0
- package/dist/client/_nuxt/server-routes.911ca1ca.js +9 -0
- package/dist/client/_nuxt/settings.80338150.js +1 -0
- package/dist/client/_nuxt/state-components.3e562e84.js +1 -0
- package/dist/client/_nuxt/storage.4d3f94ab.js +1 -0
- package/dist/client/_nuxt/terminals.e433a70a.js +1 -0
- package/dist/client/_nuxt/{unocss-runtime.7eface6f.js → unocss-runtime.9d0d2556.js} +2 -2
- package/dist/client/_nuxt/{virtual-files.3e66a8af.js → virtual-files.ae241a9c.js} +1 -1
- package/dist/client/index.html +2 -2
- package/dist/client/modules/analyze-build/index.html +2 -2
- package/dist/client/modules/assets/index.html +2 -2
- package/dist/client/modules/components/index.html +2 -2
- package/dist/client/modules/hooks/index.html +2 -2
- package/dist/client/modules/imports/index.html +2 -2
- package/dist/client/modules/middleware/index.html +2 -2
- package/dist/client/modules/modules/index.html +2 -2
- package/dist/client/modules/open-graph/index.html +2 -2
- package/dist/client/modules/overview/index.html +2 -2
- package/dist/client/modules/pages/index.html +2 -2
- package/dist/client/modules/payload/index.html +2 -2
- package/dist/client/modules/plugins/index.html +2 -2
- package/dist/client/modules/runtime-configs/index.html +2 -2
- package/dist/client/modules/server-routes/index.html +2 -2
- package/dist/client/modules/storage/index.html +2 -2
- package/dist/client/modules/terminals/index.html +2 -2
- package/dist/client/modules/virtual-files/index.html +2 -2
- package/dist/client/settings/index.html +2 -2
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/auth/index.html +71 -0
- package/dist/runtime/nitro/inline.d.ts +3 -0
- package/dist/runtime/nitro/inline.mjs +6 -0
- package/dist/runtime/plugins/devtools.client.d.ts +8 -0
- package/dist/runtime/plugins/devtools.client.mjs +73 -8
- package/dist/runtime/plugins/devtools.server.d.ts +2 -0
- package/dist/runtime/plugins/devtools.server.mjs +8 -0
- package/dist/runtime/plugins/view/Frame.vue +31 -228
- package/dist/runtime/plugins/view/FrameBox.vue +167 -0
- package/dist/runtime/plugins/view/Main.vue +360 -0
- package/dist/runtime/plugins/view/client.d.ts +3 -0
- package/dist/runtime/plugins/view/client.mjs +45 -0
- package/dist/runtime/plugins/view/state.d.ts +2 -3
- package/dist/runtime/plugins/view/state.mjs +12 -9
- package/dist/runtime/plugins/view/utils.d.ts +1 -0
- package/dist/runtime/plugins/view/utils.mjs +9 -0
- package/dist/shared/{devtools.345c630c.mjs → devtools.7ab40af4.mjs} +3 -1
- package/dist/types.d.ts +1 -1
- package/package.json +30 -29
- package/dist/client/__inspecting/index.html +0 -7
- package/dist/client/_nuxt/CodeSnippets.vue.22b03a10.js +0 -1
- package/dist/client/_nuxt/DrawerRight.vue.58044cee.js +0 -1
- package/dist/client/_nuxt/DurationDisplay.vue.0d87f5bf.js +0 -1
- package/dist/client/_nuxt/FilepathItem.vue.063a2cdd.js +0 -1
- package/dist/client/_nuxt/LaunchPage.vue.59383ce6.js +0 -1
- package/dist/client/_nuxt/NCheckbox.vue.f53d5fde.js +0 -1
- package/dist/client/_nuxt/NCodeBlock.vue.e2044e41.js +0 -2
- package/dist/client/_nuxt/NIconButton.vue.6924c323.js +0 -1
- package/dist/client/_nuxt/NIconTitle.vue.19793f87.js +0 -1
- package/dist/client/_nuxt/NLink.vue.dddf8805.js +0 -1
- package/dist/client/_nuxt/NMarkdown.vue.2a7f337d.js +0 -1
- package/dist/client/_nuxt/NSectionBlock.2937e558.js +0 -1
- package/dist/client/_nuxt/NSectionBlock.63c19da9.css +0 -1
- package/dist/client/_nuxt/NSelect.vue.6bc1e782.js +0 -1
- package/dist/client/_nuxt/NSwitch.vue.e15ba847.js +0 -1
- package/dist/client/_nuxt/NTip.vue.16191ba5.js +0 -1
- package/dist/client/_nuxt/NpmVersionCheck.vue.47b612aa.js +0 -1
- package/dist/client/_nuxt/StateEditor.vue.d28666b8.js +0 -1
- package/dist/client/_nuxt/__inspecting.324d8c7c.js +0 -1
- package/dist/client/_nuxt/analyze-build.9257b30a.js +0 -1
- package/dist/client/_nuxt/assets.c3e8e0f3.js +0 -16
- package/dist/client/_nuxt/custom-_name_.e1ada273.js +0 -1
- package/dist/client/_nuxt/editor.721868d4.js +0 -1
- package/dist/client/_nuxt/entry.bf8a0e33.css +0 -1
- package/dist/client/_nuxt/entry.f02d2ccc.js +0 -19
- package/dist/client/_nuxt/hooks.a0b5858b.js +0 -1
- package/dist/client/_nuxt/imports.c13274b4.js +0 -1
- package/dist/client/_nuxt/json-editor-vue.3c153669.js +0 -137
- package/dist/client/_nuxt/modules.41d22931.js +0 -4
- package/dist/client/_nuxt/open-graph.87c9ce95.js +0 -3
- package/dist/client/_nuxt/overview.e078ddfd.js +0 -1
- package/dist/client/_nuxt/pages.2011bfab.js +0 -1
- package/dist/client/_nuxt/payload.aa12c647.js +0 -1
- package/dist/client/_nuxt/plugins.2722f367.js +0 -1
- package/dist/client/_nuxt/runtime-configs.1c597722.js +0 -1
- package/dist/client/_nuxt/server-routes.be515b73.js +0 -9
- package/dist/client/_nuxt/settings.bdc2ea51.js +0 -1
- package/dist/client/_nuxt/state-components.97be2043.js +0 -1
- package/dist/client/_nuxt/storage.b1a77fa3.js +0 -1
- package/dist/client/_nuxt/terminals.ce48c24d.js +0 -9
- package/dist/client/_nuxt/terminals.d1dcf297.css +0 -32
- package/dist/runtime/plugins/view/Container.vue +0 -97
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2014 The xterm.js authors. All rights reserved.
|
|
3
|
-
* Copyright (c) 2012-2013, Christopher Jeffrey (MIT License)
|
|
4
|
-
* https://github.com/chjj/term.js
|
|
5
|
-
* @license MIT
|
|
6
|
-
*
|
|
7
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
9
|
-
* in the Software without restriction, including without limitation the rights
|
|
10
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
12
|
-
* furnished to do so, subject to the following conditions:
|
|
13
|
-
*
|
|
14
|
-
* The above copyright notice and this permission notice shall be included in
|
|
15
|
-
* all copies or substantial portions of the Software.
|
|
16
|
-
*
|
|
17
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
23
|
-
* THE SOFTWARE.
|
|
24
|
-
*
|
|
25
|
-
* Originally forked from (with the author's permission):
|
|
26
|
-
* Fabrice Bellard's javascript vt100 for jslinux:
|
|
27
|
-
* http://bellard.org/jslinux/
|
|
28
|
-
* Copyright (c) 2011 Fabrice Bellard
|
|
29
|
-
* The original design remains. The terminal itself
|
|
30
|
-
* has been extended to include xterm CSI codes, among
|
|
31
|
-
* other features.
|
|
32
|
-
*/.xterm{cursor:text;position:relative;-moz-user-select:none;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{border:0;height:0;left:-9999em;margin:0;opacity:0;overflow:hidden;padding:0;position:absolute;resize:none;top:0;white-space:nowrap;width:0;z-index:-5}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;cursor:default;inset:0;overflow-y:scroll;position:absolute}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{left:0;position:absolute;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;left:-9999em;line-height:normal;position:absolute;top:0;visibility:hidden}.xterm.enable-mouse-events{cursor:default}.xterm .xterm-cursor-pointer,.xterm.xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility,.xterm .xterm-message{bottom:0;color:transparent;left:0;position:absolute;top:0;z-index:10}.xterm .live-region{height:1px;left:-9999px;overflow:hidden;position:absolute;width:1px}.xterm-dim{opacity:.5}.xterm-underline-1{text-decoration:underline}.xterm-underline-2{-webkit-text-decoration:double underline;text-decoration:double underline}.xterm-underline-3{-webkit-text-decoration:wavy underline;text-decoration:wavy underline}.xterm-underline-4{-webkit-text-decoration:dotted underline;text-decoration:dotted underline}.xterm-underline-5{-webkit-text-decoration:dashed underline;text-decoration:dashed underline}.xterm-strikethrough{text-decoration:line-through}.xterm-screen .xterm-decoration-container .xterm-decoration{position:absolute;z-index:6}.xterm-decoration-overview-ruler{pointer-events:none;position:absolute;right:0;top:0;z-index:7}.xterm-decoration-top{position:relative;z-index:2}.xterm{padding-left:1rem;padding-right:1rem}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import type { PropType } from 'vue'
|
|
3
|
-
import { computed, ref, watch } from 'vue'
|
|
4
|
-
import type { NuxtDevtoolsHostClient } from '../../../types'
|
|
5
|
-
import { state, togglePanel } from './state'
|
|
6
|
-
import Frame from './Frame.vue'
|
|
7
|
-
|
|
8
|
-
defineProps({
|
|
9
|
-
client: Object as PropType<NuxtDevtoolsHostClient>,
|
|
10
|
-
})
|
|
11
|
-
|
|
12
|
-
const initialized = ref(state.value.open)
|
|
13
|
-
if (!initialized.value) {
|
|
14
|
-
watch(() => state.value.open, (open) => {
|
|
15
|
-
if (open)
|
|
16
|
-
initialized.value = open
|
|
17
|
-
})
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
const isOpen = computed(() => state.value.open)
|
|
21
|
-
|
|
22
|
-
function getToggleButtonPosition() {
|
|
23
|
-
if (state.value.position === 'left') {
|
|
24
|
-
return {
|
|
25
|
-
'left': '-8px',
|
|
26
|
-
'top': 'calc(50% - 25px)',
|
|
27
|
-
'height': '35px',
|
|
28
|
-
'width': '35px',
|
|
29
|
-
'borderRadius': '0 100px 100px 0',
|
|
30
|
-
'--hover-translate': 'translateX(3px)',
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
if (state.value.position === 'right') {
|
|
34
|
-
return {
|
|
35
|
-
'right': '-8px',
|
|
36
|
-
'top': 'calc(50% - 25px)',
|
|
37
|
-
'height': '35px',
|
|
38
|
-
'width': '35px',
|
|
39
|
-
'borderRadius': '100px 0 0 100px',
|
|
40
|
-
'--hover-translate': 'translateX(-3px)',
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
if (state.value.position === 'top') {
|
|
44
|
-
return {
|
|
45
|
-
'top': '-3px',
|
|
46
|
-
'left': 'calc(50% - 25px)',
|
|
47
|
-
'borderRadius': '0 0 100px 100px',
|
|
48
|
-
'height': '30px',
|
|
49
|
-
'width': '40px',
|
|
50
|
-
'--hover-translate': 'translate(0, 3px)',
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
'bottom': '-5px',
|
|
55
|
-
'left': 'calc(50% - 25px)',
|
|
56
|
-
'borderRadius': '100px 100px 0 0',
|
|
57
|
-
'height': '30px',
|
|
58
|
-
'width': '40px',
|
|
59
|
-
'--hover-translate': 'translate(0, -3px)',
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
</script>
|
|
63
|
-
|
|
64
|
-
<template>
|
|
65
|
-
<Frame v-if="initialized" :client="client" />
|
|
66
|
-
<button class="nuxt-devtools-toggle" aria-label="Toggle devtools panel" :aria-expanded="isOpen" :style="getToggleButtonPosition()" @click="togglePanel()">
|
|
67
|
-
<svg viewBox="0 0 324 324" fill="none" xmlns="http://www.w3.org/2000/svg" style="margin-top:-3px">
|
|
68
|
-
<path d="M181.767 270H302.211C306.037 270 309.795 269.003 313.108 267.107C316.421 265.211 319.172 262.484 321.084 259.2C322.996 255.915 324.002 252.19 324 248.399C323.998 244.607 322.989 240.883 321.074 237.601L240.187 98.7439C238.275 95.4607 235.525 92.7342 232.213 90.8385C228.901 88.9429 225.143 87.9449 221.318 87.9449C217.494 87.9449 213.736 88.9429 210.424 90.8385C207.112 92.7342 204.361 95.4607 202.449 98.7439L181.767 134.272L141.329 64.7975C139.416 61.5145 136.664 58.7884 133.351 56.8931C130.038 54.9978 126.28 54 122.454 54C118.629 54 114.871 54.9978 111.558 56.8931C108.245 58.7884 105.493 61.5145 103.58 64.7975L2.92554 237.601C1.01067 240.883 0.00166657 244.607 2.06272e-06 248.399C-0.00166244 252.19 1.00407 255.915 2.91605 259.2C4.82803 262.484 7.57884 265.211 10.8918 267.107C14.2047 269.003 17.963 270 21.7886 270H97.3936C127.349 270 149.44 256.959 164.641 231.517L201.546 168.172L221.313 134.272L280.637 236.1H201.546L181.767 270ZM96.1611 236.065L43.3984 236.054L122.49 100.291L161.953 168.172L135.531 213.543C125.436 230.051 113.968 236.065 96.1611 236.065Z" fill="#00DC82" />
|
|
69
|
-
</svg>
|
|
70
|
-
</button>
|
|
71
|
-
</template>
|
|
72
|
-
|
|
73
|
-
<style scoped>
|
|
74
|
-
.nuxt-devtools-toggle {
|
|
75
|
-
position: fixed;
|
|
76
|
-
background: #0C0C0C;
|
|
77
|
-
border: 1px solid rgba(125,125,125,0.2);
|
|
78
|
-
box-shadow: 3px 5px 10px rgba(0,0,0,0.1);
|
|
79
|
-
z-index: 2147483645;
|
|
80
|
-
cursor: pointer;
|
|
81
|
-
opacity: 0.8;
|
|
82
|
-
padding: 0;
|
|
83
|
-
align-items: center;
|
|
84
|
-
transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.nuxt-devtools-toggle:hover {
|
|
88
|
-
transform: var(--hover-translate);
|
|
89
|
-
opacity: 1;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.nuxt-devtools-toggle svg {
|
|
93
|
-
width: 20px;
|
|
94
|
-
height: 20px;
|
|
95
|
-
margin: auto;
|
|
96
|
-
}
|
|
97
|
-
</style>
|