vite-plugin-vue-devtools 7.0.26 → 7.1.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.
Files changed (29) hide show
  1. package/client/assets/css-CAzixsid-BiWblMbN.js +505 -0
  2. package/client/assets/diff-Bo5iyMQ2-DvyTQcux.js +1 -0
  3. package/client/assets/html-BZB5lEhh-ZkrgDCHn.js +74 -0
  4. package/client/assets/index-C2_QBMsw.js +1104 -0
  5. package/client/assets/index-CbOp_fgc.css +1 -0
  6. package/client/assets/javascript-DqVBMyXe-Dch3xQiY.js +699 -0
  7. package/client/assets/json-B12k4-6m-CupVZNk8.js +25 -0
  8. package/client/assets/shellscript-DQ1J75ow-D4k753MY.js +1 -0
  9. package/client/assets/typescript-AEg-ehu7-DC8MraHL.js +666 -0
  10. package/client/assets/{unocss-runtime-COcjrKyN.js → unocss-runtime-pCzu9suo.js} +2 -2
  11. package/client/assets/{vitesse-dark-DggdVF2v.js → vitesse-dark-CQ1WWl9n.js} +1 -1
  12. package/client/assets/vitesse-dark-DX6gc1PC-CQ1WWl9n.js +1 -0
  13. package/client/assets/{vitesse-light-A1WiD9SJ.js → vitesse-light-BQX_J3vG-DaCkt_J7.js} +1 -1
  14. package/client/assets/vitesse-light-DaCkt_J7.js +1 -0
  15. package/client/assets/vue-CSiwUDF5-BenY5O_m.js +2002 -0
  16. package/client/assets/vue-html-D0BKftsE-DYUd3QbO.js +1 -0
  17. package/client/assets/yaml-PGla5xPP-DHFOa8tC.js +200 -0
  18. package/client/index.html +2 -2
  19. package/dist/vite.cjs +6551 -5589
  20. package/dist/vite.d.cts +2 -0
  21. package/dist/vite.d.mts +49 -0
  22. package/dist/vite.d.ts +2 -0
  23. package/dist/vite.mjs +6529 -5584
  24. package/package.json +8 -8
  25. package/src/overlay/devtools-overlay.css +1 -1
  26. package/src/overlay/devtools-overlay.js +4 -4
  27. package/src/overlay.js +9 -4
  28. package/client/assets/index-D4yfbSKS.css +0 -1
  29. package/client/assets/index-MOiccYc6.js +0 -1096
package/dist/vite.d.cts CHANGED
@@ -27,12 +27,14 @@ interface VitePluginVueDevToolsOptions {
27
27
  /**
28
28
  * Customize openInEditor host (e.g. http://localhost:3000)
29
29
  * @default false
30
+ * @deprecated This option is deprecated and removed in 7.1.0. The plugin now automatically detects the correct host.
30
31
  */
31
32
  openInEditorHost?: string | false;
32
33
  /**
33
34
  * DevTools client host (e.g. http://localhost:3000)
34
35
  * useful for projects that use a reverse proxy
35
36
  * @default false
37
+ * @deprecated This option is deprecated and removed in 7.1.0. The plugin now automatically detects the correct host.
36
38
  */
37
39
  clientHost?: string | false;
38
40
  /**
@@ -0,0 +1,49 @@
1
+ import { ResolvedConfig, ViteDevServer, PluginOption } from 'vite';
2
+ import { VitePluginInspectorOptions } from 'vite-plugin-vue-inspector';
3
+ import { ViteInspectAPI } from 'vite-plugin-inspect';
4
+
5
+ declare function getViteConfig(config: ResolvedConfig, pluginOptions: any): void;
6
+
7
+ declare function setupGraphModule(options: {
8
+ rpc: ViteInspectAPI['rpc'];
9
+ server: ViteDevServer;
10
+ }): void;
11
+
12
+ declare function setupAssetsModule(options: {
13
+ rpc: ViteInspectAPI['rpc'];
14
+ server: ViteDevServer;
15
+ config: ResolvedConfig;
16
+ }): void;
17
+
18
+ interface VitePluginVueDevToolsOptions {
19
+ /**
20
+ * append an import to the module id ending with `appendTo` instead of adding a script into body
21
+ * useful for projects that do not use html file as an entry
22
+ *
23
+ * WARNING: only set this if you know exactly what it does.
24
+ * @default ''
25
+ */
26
+ appendTo?: string | RegExp;
27
+ /**
28
+ * Customize openInEditor host (e.g. http://localhost:3000)
29
+ * @default false
30
+ * @deprecated This option is deprecated and removed in 7.1.0. The plugin now automatically detects the correct host.
31
+ */
32
+ openInEditorHost?: string | false;
33
+ /**
34
+ * DevTools client host (e.g. http://localhost:3000)
35
+ * useful for projects that use a reverse proxy
36
+ * @default false
37
+ * @deprecated This option is deprecated and removed in 7.1.0. The plugin now automatically detects the correct host.
38
+ */
39
+ clientHost?: string | false;
40
+ /**
41
+ * Enable Vue Component Inspector
42
+ *
43
+ * @default true
44
+ */
45
+ componentInspector?: boolean | VitePluginInspectorOptions;
46
+ }
47
+ declare function VitePluginVueDevTools(options?: VitePluginVueDevToolsOptions): PluginOption;
48
+
49
+ export { type VitePluginVueDevToolsOptions, VitePluginVueDevTools as default, getViteConfig, setupAssetsModule, setupGraphModule };
package/dist/vite.d.ts CHANGED
@@ -27,12 +27,14 @@ interface VitePluginVueDevToolsOptions {
27
27
  /**
28
28
  * Customize openInEditor host (e.g. http://localhost:3000)
29
29
  * @default false
30
+ * @deprecated This option is deprecated and removed in 7.1.0. The plugin now automatically detects the correct host.
30
31
  */
31
32
  openInEditorHost?: string | false;
32
33
  /**
33
34
  * DevTools client host (e.g. http://localhost:3000)
34
35
  * useful for projects that use a reverse proxy
35
36
  * @default false
37
+ * @deprecated This option is deprecated and removed in 7.1.0. The plugin now automatically detects the correct host.
36
38
  */
37
39
  clientHost?: string | false;
38
40
  /**