vite-plugin-vue-devtools 1.0.0-beta.6 → 1.0.0-rc.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.
Files changed (44) hide show
  1. package/client.d.ts +10 -0
  2. package/dist/client/assets/DrawerRight.vue_vue_type_script_setup_true_lang-f3b99e51.js +81 -0
  3. package/dist/client/assets/{Icon.vue_vue_type_script_setup_true_lang-42453be7.js → Icon.vue_vue_type_script_setup_true_lang-97c3d5f5.js} +1 -1
  4. package/dist/client/assets/{IconButton.vue_vue_type_script_setup_true_lang-8063c2e3.js → IconButton.vue_vue_type_script_setup_true_lang-81ff118b.js} +2 -2
  5. package/dist/client/assets/{IconTitle.vue_vue_type_script_setup_true_lang-95697eb1.js → IconTitle.vue_vue_type_script_setup_true_lang-71d65897.js} +1 -1
  6. package/dist/client/assets/{IframeView.vue_vue_type_script_setup_true_lang-836c5cd5.js → IframeView.vue_vue_type_script_setup_true_lang-f8581632.js} +1 -1
  7. package/dist/client/assets/{PanelGrids-af6ac273.js → PanelGrids-9b1737bf.js} +1 -1
  8. package/dist/client/assets/{SectionBlock-11fb6759.js → SectionBlock-c6b654ee.js} +3 -3
  9. package/dist/client/assets/{StateFields.vue_vue_type_script_setup_true_lang-515d2258.js → StateFields.vue_vue_type_script_setup_true_lang-14c58c4a.js} +4 -4
  10. package/dist/client/assets/{Switch.vue_vue_type_script_setup_true_lang-49ef28fb.js → Switch.vue_vue_type_script_setup_true_lang-9ca7d77b.js} +2 -2
  11. package/dist/client/assets/{TextInput.vue_vue_type_script_setup_true_lang-f355dba7.js → TextInput.vue_vue_type_script_setup_true_lang-0e3abe17.js} +2 -2
  12. package/dist/client/assets/{__eyedropper-aed1abff.js → __eyedropper-1f0dacf9.js} +3 -3
  13. package/dist/client/assets/{assets-605cda13.js → assets-e4cc2910.js} +250 -124
  14. package/dist/client/assets/component-docs-a715a4ed.js +196 -0
  15. package/dist/client/assets/{components-5139145c.js → components-992ca52a.js} +133 -41
  16. package/dist/client/assets/{data-11305302.js → data-9b4ec124.js} +19 -16
  17. package/dist/client/assets/{documentations-b22293ea.js → documentations-68a7dfd6.js} +3 -8
  18. package/dist/client/assets/{graph-a939edc1.js → graph-a7a8a235.js} +3 -3
  19. package/dist/client/assets/{index-d86d34d2.js → index-1492f621.js} +1 -1
  20. package/dist/client/assets/index-4490b2f3.css +480 -0
  21. package/dist/client/assets/{index-0d3cfdfe.js → index-889cc607.js} +287 -142
  22. package/dist/client/assets/{inspect-1988ecdb.js → inspect-f106f4d5.js} +2 -2
  23. package/dist/client/assets/{component-docs-1d6e7d19.js → jse-theme-dark-4f3f2034.js} +2 -194
  24. package/dist/client/assets/{npm-a87c1ac2.js → npm-e1ff330c.js} +28 -14
  25. package/dist/client/assets/{overview-94eae2c3.js → overview-25e5292f.js} +4 -4
  26. package/dist/client/assets/pages-7ec27b16.js +562 -0
  27. package/dist/client/assets/{pinia-cc40f56e.js → pinia-ef702857.js} +6 -6
  28. package/dist/client/assets/rerender-trace-3afd48a1.css +14 -0
  29. package/dist/client/assets/{rerender-trace-5bcf9999.js → rerender-trace-7f6b7111.js} +5 -5
  30. package/dist/client/assets/{routes-649f3db1.js → routes-8f44e4e7.js} +7 -7
  31. package/dist/client/assets/{settings-af9ac9a6.js → settings-97fecf00.js} +51 -14
  32. package/dist/client/assets/{splitpanes.es-71749aba.js → splitpanes.es-92597b34.js} +1 -1
  33. package/dist/client/assets/{timeline-391f073c.js → timeline-f92ab33a.js} +7 -7
  34. package/dist/client/index.html +2 -2
  35. package/dist/vite.cjs +33 -2
  36. package/dist/vite.mjs +33 -2
  37. package/package.json +9 -9
  38. package/src/views/FrameBox.vue +23 -4
  39. package/src/views/Main.vue +50 -22
  40. package/src/views/composables.ts +106 -2
  41. package/dist/client/assets/index-7afcaa3d.css +0 -480
  42. package/dist/client/assets/pages-de260610.js +0 -320
  43. package/dist/client/assets/rerender-trace-0675adcd.css +0 -14
  44. /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-81ff118b.js';
2
+ import { v as defineComponent, a$ as ref, cE 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-889cc607.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-0d3cfdfe.js';
1
+ import { v as defineComponent, o as openBlock, e as createElementBlock, q as normalizeClass } from './index-889cc607.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-42453be7.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-0d3cfdfe.js';
1
+ import { _ as _sfc_main$1 } from './Icon.vue_vue_type_script_setup_true_lang-97c3d5f5.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-889cc607.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-0d3cfdfe.js';
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-889cc607.js';
2
2
 
3
3
  const _hoisted_1 = {
4
4
  flex: "~ gap-3",
@@ -1,4 +1,4 @@
1
- import { v as defineComponent, cp 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-0d3cfdfe.js';
1
+ import { v as defineComponent, ca as useColorMode, a$ as ref, a1 as computed, aZ as reactive, cs 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-889cc607.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-0d3cfdfe.js';
1
+ import { bJ as _export_sfc, o as openBlock, e as createElementBlock, f as renderSlot } from './index-889cc607.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-95697eb1.js';
2
- import { _ as _sfc_main$2 } from './Icon.vue_vue_type_script_setup_true_lang-42453be7.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-0d3cfdfe.js';
1
+ import { _ as _sfc_main$1 } from './IconTitle.vue_vue_type_script_setup_true_lang-71d65897.js';
2
+ import { _ as _sfc_main$2 } from './Icon.vue_vue_type_script_setup_true_lang-97c3d5f5.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-889cc607.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-42453be7.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-0d3cfdfe.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-d86d34d2.js';
4
- import { _ as _sfc_main$4 } from './IconButton.vue_vue_type_script_setup_true_lang-8063c2e3.js';
1
+ import { _ as _sfc_main$3 } from './Icon.vue_vue_type_script_setup_true_lang-97c3d5f5.js';
2
+ import { v as defineComponent, o as openBlock, c as createBlock, q as normalizeClass, aC as isRef, bd as toRaw, a1 as computed, cw as useCopy, r as resolveComponent, e as createElementBlock, i as renderList, z as unref, cx as nanoid, x as createBaseVNode, y as toDisplayString, g as createCommentVNode, F as Fragment, a$ as ref, cy as useNotification, u as createVNode, bG as withModifiers, d as withDirectives, bv as vShow } from './index-889cc607.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-1492f621.js';
4
+ import { _ as _sfc_main$4 } from './IconButton.vue_vue_type_script_setup_true_lang-81ff118b.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-42453be7.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-0d3cfdfe.js';
1
+ import { _ as _sfc_main$2 } from './Icon.vue_vue_type_script_setup_true_lang-97c3d5f5.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-889cc607.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-42453be7.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-0d3cfdfe.js';
1
+ import { _ as _sfc_main$1 } from './Icon.vue_vue_type_script_setup_true_lang-97c3d5f5.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-889cc607.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-af6ac273.js';
2
- import { v as defineComponent, cD as useRouter, a$ as ref, a1 as computed, cu as useCopy, cf 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-0d3cfdfe.js';
3
- import { h as checkIsSecurityContext } from './index-d86d34d2.js';
1
+ import { _ as __unplugin_components_0 } from './PanelGrids-9b1737bf.js';
2
+ import { v as defineComponent, cF as useRouter, a$ as ref, a1 as computed, cw as useCopy, cj 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-889cc607.js';
3
+ import { h as checkIsSecurityContext } from './index-1492f621.js';
4
4
 
5
5
  const _hoisted_1 = {
6
6
  key: 0