vite-plugin-vue-devtools 1.0.0-beta.6 → 1.0.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client.d.ts +10 -0
- package/dist/client/assets/DrawerRight.vue_vue_type_script_setup_true_lang-1c7d425a.js +81 -0
- package/dist/client/assets/{Icon.vue_vue_type_script_setup_true_lang-42453be7.js → Icon.vue_vue_type_script_setup_true_lang-9de05d3b.js} +1 -1
- package/dist/client/assets/{IconButton.vue_vue_type_script_setup_true_lang-8063c2e3.js → IconButton.vue_vue_type_script_setup_true_lang-622357e4.js} +2 -2
- package/dist/client/assets/{IconTitle.vue_vue_type_script_setup_true_lang-95697eb1.js → IconTitle.vue_vue_type_script_setup_true_lang-bcafabb3.js} +1 -1
- package/dist/client/assets/{IframeView.vue_vue_type_script_setup_true_lang-836c5cd5.js → IframeView.vue_vue_type_script_setup_true_lang-b73dcd77.js} +1 -1
- package/dist/client/assets/{PanelGrids-af6ac273.js → PanelGrids-c56fbbf0.js} +1 -1
- package/dist/client/assets/{SectionBlock-11fb6759.js → SectionBlock-9ede7475.js} +3 -3
- package/dist/client/assets/{StateFields.vue_vue_type_script_setup_true_lang-515d2258.js → StateFields.vue_vue_type_script_setup_true_lang-161af888.js} +4 -4
- package/dist/client/assets/{Switch.vue_vue_type_script_setup_true_lang-49ef28fb.js → Switch.vue_vue_type_script_setup_true_lang-748b1466.js} +2 -2
- package/dist/client/assets/{TextInput.vue_vue_type_script_setup_true_lang-f355dba7.js → TextInput.vue_vue_type_script_setup_true_lang-d27ac230.js} +2 -2
- package/dist/client/assets/{__eyedropper-aed1abff.js → __eyedropper-b5ed0401.js} +3 -3
- package/dist/client/assets/{assets-605cda13.js → assets-89b84b37.js} +250 -124
- package/dist/client/assets/component-docs-6e4ea513.js +196 -0
- package/dist/client/assets/{components-5139145c.js → components-2c9b75a9.js} +9 -9
- package/dist/client/assets/{data-11305302.js → data-81561f44.js} +1 -1
- package/dist/client/assets/{documentations-b22293ea.js → documentations-a46fb478.js} +3 -8
- package/dist/client/assets/{graph-a939edc1.js → graph-be701e92.js} +3 -3
- package/dist/client/assets/{index-0d3cfdfe.js → index-2db58fe3.js} +265 -132
- package/dist/client/assets/{index-d86d34d2.js → index-4023636e.js} +1 -1
- package/dist/client/assets/index-676da66b.css +480 -0
- package/dist/client/assets/{inspect-1988ecdb.js → inspect-da0c5569.js} +2 -2
- package/dist/client/assets/{component-docs-1d6e7d19.js → jse-theme-dark-240b48cd.js} +2 -194
- package/dist/client/assets/{npm-a87c1ac2.js → npm-a20081f9.js} +5 -5
- package/dist/client/assets/{overview-94eae2c3.js → overview-77b33c1a.js} +4 -4
- package/dist/client/assets/{pages-de260610.js → pages-bb7b4a52.js} +101 -13
- package/dist/client/assets/{pinia-cc40f56e.js → pinia-a88c92af.js} +6 -6
- package/dist/client/assets/{rerender-trace-5bcf9999.js → rerender-trace-d5598a03.js} +2 -2
- package/dist/client/assets/{routes-649f3db1.js → routes-678fe5ea.js} +7 -7
- package/dist/client/assets/{settings-af9ac9a6.js → settings-26a733d8.js} +51 -14
- package/dist/client/assets/{splitpanes.es-71749aba.js → splitpanes.es-25f54bfc.js} +1 -1
- package/dist/client/assets/{timeline-391f073c.js → timeline-1fccb3ee.js} +7 -7
- package/dist/client/index.html +2 -2
- package/dist/vite.cjs +33 -2
- package/dist/vite.mjs +33 -2
- package/package.json +8 -8
- package/src/views/FrameBox.vue +23 -4
- package/src/views/Main.vue +47 -21
- package/src/views/composables.ts +59 -1
- package/dist/client/assets/index-7afcaa3d.css +0 -480
- /package/dist/client/assets/{component-docs-351d62d5.css → jse-theme-dark-351d62d5.css} +0 -0
package/client.d.ts
CHANGED
|
@@ -37,11 +37,14 @@ declare interface RPCFunctions {
|
|
|
37
37
|
staticAssets(): Promise<AssetInfo[]>
|
|
38
38
|
getImageMeta(path: string): Promise<ImageMeta | undefined>
|
|
39
39
|
getTextAssetContent(path: string): Promise<string | undefined>
|
|
40
|
+
deleteStaticAsset(path: string): Promise<string | undefined>
|
|
41
|
+
renameStaticAsset(oldPath: string, newPath: string): Promise<string | undefined>
|
|
40
42
|
getPackages(): Promise<Record<string, Omit<PackageMeta, 'name'>>>
|
|
41
43
|
getVueSFCList(): Promise<string[]>
|
|
42
44
|
getComponentInfo(filename: string): Promise<Record<string, unknown>>
|
|
43
45
|
onTerminalData(_: { id?: string; data: string }): void
|
|
44
46
|
onTerminalExit(_: { id?: string; data?: string }): void
|
|
47
|
+
onFileWatch(_: { event: string; path: string }): void
|
|
45
48
|
installPackage(packages: string[], options?: ExecNpmScriptOptions): Promise<void>
|
|
46
49
|
uninstallPackage(packages: string[], options?: ExecNpmScriptOptions): Promise<void>
|
|
47
50
|
root(): string
|
|
@@ -53,3 +56,10 @@ declare interface PackageMeta {
|
|
|
53
56
|
version: string
|
|
54
57
|
name: string
|
|
55
58
|
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* - `xs` for functions that should only be available in the small view mode, e.g. `__EyeDropper`
|
|
62
|
+
* - `default` is the default view mode
|
|
63
|
+
* - `fullscreen` for fullscreen the whole devtool
|
|
64
|
+
*/
|
|
65
|
+
declare type ViewMode = 'xs' | 'default' | 'fullscreen'
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { _ as _sfc_main$1 } from './IconButton.vue_vue_type_script_setup_true_lang-622357e4.js';
|
|
2
|
+
import { v as defineComponent, a$ as ref, cC as useElementSize, cD as onClickOutside, o as openBlock, c as createBlock, h as withCtx, e as createElementBlock, u as createVNode, x as createBaseVNode, f as renderSlot, k as mergeProps, z as unref, g as createCommentVNode, P as Transition } from './index-2db58fe3.js';
|
|
3
|
+
|
|
4
|
+
const _hoisted_1 = {
|
|
5
|
+
relative: "",
|
|
6
|
+
"h-full": "",
|
|
7
|
+
"w-full": "",
|
|
8
|
+
"of-auto": ""
|
|
9
|
+
};
|
|
10
|
+
const __default__ = {
|
|
11
|
+
inheritAttrs: false
|
|
12
|
+
};
|
|
13
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
14
|
+
...__default__,
|
|
15
|
+
__name: "DrawerRight",
|
|
16
|
+
props: {
|
|
17
|
+
modelValue: { type: Boolean },
|
|
18
|
+
navbar: {},
|
|
19
|
+
autoClose: { type: Boolean }
|
|
20
|
+
},
|
|
21
|
+
emits: ["close"],
|
|
22
|
+
setup(__props, { emit }) {
|
|
23
|
+
const props = __props;
|
|
24
|
+
const el = ref();
|
|
25
|
+
const { height: top } = useElementSize(() => props.navbar, void 0, { box: "border-box" });
|
|
26
|
+
onClickOutside(el, () => {
|
|
27
|
+
if (props.modelValue && props.autoClose)
|
|
28
|
+
emit("close");
|
|
29
|
+
}, {
|
|
30
|
+
ignore: ["a", "button", "summary", '[role="dialog"]']
|
|
31
|
+
});
|
|
32
|
+
return (_ctx, _cache) => {
|
|
33
|
+
const _component_VDIconButton = _sfc_main$1;
|
|
34
|
+
return openBlock(), createBlock(Transition, {
|
|
35
|
+
"enter-active-class": "duration-200 ease-in",
|
|
36
|
+
"enter-from-class": "transform translate-x-1/1",
|
|
37
|
+
"enter-to-class": "opacity-100",
|
|
38
|
+
"leave-active-class": "duration-200 ease-out",
|
|
39
|
+
"leave-from-class": "opacity-100",
|
|
40
|
+
"leave-to-class": "transform translate-x-1/1"
|
|
41
|
+
}, {
|
|
42
|
+
default: withCtx(() => [
|
|
43
|
+
_ctx.modelValue ? (openBlock(), createElementBlock("div", mergeProps({
|
|
44
|
+
key: 0,
|
|
45
|
+
ref_key: "el",
|
|
46
|
+
ref: el,
|
|
47
|
+
border: "l base",
|
|
48
|
+
flex: "~ col gap-1",
|
|
49
|
+
absolute: "",
|
|
50
|
+
"bottom-0": "",
|
|
51
|
+
"right-0": "",
|
|
52
|
+
"z-10": "",
|
|
53
|
+
"z-20": "",
|
|
54
|
+
"of-auto": "",
|
|
55
|
+
"text-sm": "",
|
|
56
|
+
"glass-effect": "",
|
|
57
|
+
style: { top: `${unref(top)}px` }
|
|
58
|
+
}, _ctx.$attrs), [
|
|
59
|
+
createVNode(_component_VDIconButton, {
|
|
60
|
+
absolute: "",
|
|
61
|
+
"right-2": "",
|
|
62
|
+
"top-2": "",
|
|
63
|
+
"z-20": "",
|
|
64
|
+
"text-xl": "",
|
|
65
|
+
icon: "carbon-close",
|
|
66
|
+
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close"))
|
|
67
|
+
}),
|
|
68
|
+
createBaseVNode("div", _hoisted_1, [
|
|
69
|
+
renderSlot(_ctx.$slots, "default")
|
|
70
|
+
])
|
|
71
|
+
], 16)) : createCommentVNode("", true)
|
|
72
|
+
]),
|
|
73
|
+
_: 3
|
|
74
|
+
});
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
|
|
79
|
+
/* Injected with object hook! */
|
|
80
|
+
|
|
81
|
+
export { _sfc_main as _ };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { v as defineComponent, o as openBlock, e as createElementBlock, q as normalizeClass } from './index-
|
|
1
|
+
import { v as defineComponent, o as openBlock, e as createElementBlock, q as normalizeClass } from './index-2db58fe3.js';
|
|
2
2
|
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "Icon",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as _sfc_main$1 } from './Icon.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { v as defineComponent, o as openBlock, c as createBlock, h as withCtx, u as createVNode, k as mergeProps, j as resolveDynamicComponent } from './index-
|
|
1
|
+
import { _ as _sfc_main$1 } from './Icon.vue_vue_type_script_setup_true_lang-9de05d3b.js';
|
|
2
|
+
import { v as defineComponent, o as openBlock, c as createBlock, h as withCtx, u as createVNode, k as mergeProps, j as resolveDynamicComponent } from './index-2db58fe3.js';
|
|
3
3
|
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "IconButton",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { v as defineComponent, o as openBlock, e as createElementBlock, q as normalizeClass, g as createCommentVNode, f as renderSlot, x as createBaseVNode, y as toDisplayString } from './index-
|
|
1
|
+
import { v as defineComponent, o as openBlock, e as createElementBlock, q as normalizeClass, g as createCommentVNode, f as renderSlot, x as createBaseVNode, y as toDisplayString } from './index-2db58fe3.js';
|
|
2
2
|
|
|
3
3
|
const _hoisted_1 = {
|
|
4
4
|
flex: "~ gap-3",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { v as defineComponent,
|
|
1
|
+
import { v as defineComponent, ca as useColorMode, a$ as ref, a1 as computed, aZ as reactive, cq as useElementBounding, aP as onMounted, n as nextTick, bz as watchEffect, aU as onUnmounted, o as openBlock, e as createElementBlock, z as unref, g as createCommentVNode, x as createBaseVNode } from './index-2db58fe3.js';
|
|
2
2
|
|
|
3
3
|
const _hoisted_1 = {
|
|
4
4
|
key: 0,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bJ as _export_sfc, o as openBlock, e as createElementBlock, f as renderSlot } from './index-
|
|
1
|
+
import { bJ as _export_sfc, o as openBlock, e as createElementBlock, f as renderSlot } from './index-2db58fe3.js';
|
|
2
2
|
|
|
3
3
|
/* unplugin-vue-components disabled */const _sfc_main = {};
|
|
4
4
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as _sfc_main$1 } from './IconTitle.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { _ as _sfc_main$2 } from './Icon.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { v as defineComponent, bK as useVModel, b as resolveDirective, o as openBlock, e as createElementBlock, x as createBaseVNode, q as normalizeClass, u as createVNode, h as withCtx, f as renderSlot, g as createCommentVNode, c as createBlock, z as unref, d as withDirectives, F as Fragment, a9 as createTextVNode, y as toDisplayString, p as pushScopeId, a as popScopeId, bJ as _export_sfc } from './index-
|
|
1
|
+
import { _ as _sfc_main$1 } from './IconTitle.vue_vue_type_script_setup_true_lang-bcafabb3.js';
|
|
2
|
+
import { _ as _sfc_main$2 } from './Icon.vue_vue_type_script_setup_true_lang-9de05d3b.js';
|
|
3
|
+
import { v as defineComponent, bK as useVModel, b as resolveDirective, o as openBlock, e as createElementBlock, x as createBaseVNode, q as normalizeClass, u as createVNode, h as withCtx, f as renderSlot, g as createCommentVNode, c as createBlock, z as unref, d as withDirectives, F as Fragment, a9 as createTextVNode, y as toDisplayString, p as pushScopeId, a as popScopeId, bJ as _export_sfc } from './index-2db58fe3.js';
|
|
4
4
|
|
|
5
5
|
const _withScopeId = (n) => (pushScopeId("data-v-e966339e"), n = n(), popScopeId(), n);
|
|
6
6
|
const _hoisted_1 = ["open"];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as _sfc_main$3 } from './Icon.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { v as defineComponent, o as openBlock, c as createBlock, q as normalizeClass, aC as isRef, bd as toRaw, a1 as computed, cu as useCopy, r as resolveComponent, e as createElementBlock, i as renderList, z as unref, cv as nanoid, x as createBaseVNode, y as toDisplayString, g as createCommentVNode, F as Fragment, a$ as ref, cw as useNotification, u as createVNode, bG as withModifiers, d as withDirectives, bv as vShow } from './index-
|
|
3
|
-
import { a as isComputed, b as isArray, c as isMap, d as isSet, e as isRegExp, t as toRawType, f as isPlainObject, g as escape } from './index-
|
|
4
|
-
import { _ as _sfc_main$4 } from './IconButton.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _ as _sfc_main$3 } from './Icon.vue_vue_type_script_setup_true_lang-9de05d3b.js';
|
|
2
|
+
import { v as defineComponent, o as openBlock, c as createBlock, q as normalizeClass, aC as isRef, bd as toRaw, a1 as computed, cu as useCopy, r as resolveComponent, e as createElementBlock, i as renderList, z as unref, cv as nanoid, x as createBaseVNode, y as toDisplayString, g as createCommentVNode, F as Fragment, a$ as ref, cw as useNotification, u as createVNode, bG as withModifiers, d as withDirectives, bv as vShow } from './index-2db58fe3.js';
|
|
3
|
+
import { a as isComputed, b as isArray, c as isMap, d as isSet, e as isRegExp, t as toRawType, f as isPlainObject, g as escape } from './index-4023636e.js';
|
|
4
|
+
import { _ as _sfc_main$4 } from './IconButton.vue_vue_type_script_setup_true_lang-622357e4.js';
|
|
5
5
|
|
|
6
6
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
7
7
|
__name: "ExpandIcon",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as _sfc_main$2 } from './Icon.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { v as defineComponent, bK as useVModel, o as openBlock, e as createElementBlock, f as renderSlot, d as withDirectives, bt as vModelSelect, z as unref, x as createBaseVNode, y as toDisplayString, g as createCommentVNode, aC as isRef, c as createBlock, bq as vModelCheckbox, bE as withKeys } from './index-
|
|
1
|
+
import { _ as _sfc_main$2 } from './Icon.vue_vue_type_script_setup_true_lang-9de05d3b.js';
|
|
2
|
+
import { v as defineComponent, bK as useVModel, o as openBlock, e as createElementBlock, f as renderSlot, d as withDirectives, bt as vModelSelect, z as unref, x as createBaseVNode, y as toDisplayString, g as createCommentVNode, aC as isRef, c as createBlock, bq as vModelCheckbox, bE as withKeys } from './index-2db58fe3.js';
|
|
3
3
|
|
|
4
4
|
const _hoisted_1$1 = { class: "n-text-input flex flex items-center border n-border-base rounded px-2 py-1 focus-within:n-focus-base focus-within:border-context n-bg-base" };
|
|
5
5
|
const _hoisted_2$1 = ["disabled"];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as _sfc_main$1 } from './Icon.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { v as defineComponent, bK as useVModel, o as openBlock, e as createElementBlock, f as renderSlot, d as withDirectives, br as vModelDynamic, z as unref, x as createBaseVNode, k as mergeProps, aC as isRef, c as createBlock, g as createCommentVNode } from './index-
|
|
1
|
+
import { _ as _sfc_main$1 } from './Icon.vue_vue_type_script_setup_true_lang-9de05d3b.js';
|
|
2
|
+
import { v as defineComponent, bK as useVModel, o as openBlock, e as createElementBlock, f as renderSlot, d as withDirectives, br as vModelDynamic, z as unref, x as createBaseVNode, k as mergeProps, aC as isRef, c as createBlock, g as createCommentVNode } from './index-2db58fe3.js';
|
|
3
3
|
|
|
4
4
|
const _hoisted_1 = { class: "n-text-input flex flex items-center border n-border-base rounded py-1 pl-1 pr-2 focus-within:n-focus-base focus-within:border-context n-bg-base" };
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as __unplugin_components_0 } from './PanelGrids-
|
|
2
|
-
import { v as defineComponent,
|
|
3
|
-
import { h as checkIsSecurityContext } from './index-
|
|
1
|
+
import { _ as __unplugin_components_0 } from './PanelGrids-c56fbbf0.js';
|
|
2
|
+
import { v as defineComponent, cE as useRouter, a$ as ref, a1 as computed, cu as useCopy, cg as useEventListener, aP as onMounted, o as openBlock, c as createBlock, h as withCtx, x as createBaseVNode, z as unref, e as createElementBlock, l as normalizeStyle, a9 as createTextVNode, y as toDisplayString, c5 as useDevToolsClient, bX as useFrameState, u as createVNode } from './index-2db58fe3.js';
|
|
3
|
+
import { h as checkIsSecurityContext } from './index-4023636e.js';
|
|
4
4
|
|
|
5
5
|
const _hoisted_1 = {
|
|
6
6
|
key: 0
|