@vitejs/devtools 0.0.0-alpha.32 → 0.0.0-alpha.34

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 (35) hide show
  1. package/dist/{DockIcon-DC06YRV1.js → DockIcon-LqhTiyo7.js} +11 -14
  2. package/dist/DockStandalone-D15T7P8h.js +82 -0
  3. package/dist/FloatingElements-DiZY-fXn.js +988 -0
  4. package/dist/{ViewBuiltinLogs-BpU8wNYx.js → ViewBuiltinLogs-DAC3EpNy.js} +3 -5
  5. package/dist/{ViewBuiltinTerminals-1w0Jz6t0.js → ViewBuiltinTerminals-CaCzY10v.js} +5 -11
  6. package/dist/cli-commands-B8AbW52w.js +178 -0
  7. package/dist/cli-commands.js +3 -67
  8. package/dist/cli.js +3 -5
  9. package/dist/client/inject.js +40 -19
  10. package/dist/client/standalone/assets/DockStandalone-Be2ebLC6.js +8 -0
  11. package/dist/client/standalone/assets/ViewBuiltinLogs-gqCacjSC.js +1 -0
  12. package/dist/client/standalone/assets/{ViewBuiltinTerminals-BfkQ4Bsj.js → ViewBuiltinTerminals-EMrVQ_he.js} +2 -2
  13. package/dist/client/standalone/assets/_plugin-vue_export-helper-DdUndd8v.js +1 -0
  14. package/dist/client/standalone/assets/index-CkMgpkZF.css +1 -0
  15. package/dist/client/standalone/assets/index-xigFHEkA.js +4 -0
  16. package/dist/client/standalone/index.html +3 -2
  17. package/dist/client/webcomponents.d.ts +20329 -145
  18. package/dist/client/webcomponents.js +79 -985
  19. package/dist/config.js +2 -8
  20. package/dist/dirs.js +1 -3
  21. package/dist/{dist-B1eLoAag.js → dist-CnHQWaMb.js} +11 -50
  22. package/dist/{export-helper-DjM8b2QE.js → export-helper-DOmNQzh6.js} +1 -2
  23. package/dist/index.d.ts +5 -5
  24. package/dist/index.js +2 -3
  25. package/dist/plugins-tIIgS7bh.js +1911 -0
  26. package/dist/popup-CqYAUdYG.js +366 -0
  27. package/dist/utils--qjmgani.js +6 -0
  28. package/dist/{vue.runtime.esm-bundler-CHmRsJSH.js → vue.runtime.esm-bundler-Bou7Nbd4.js} +135 -115
  29. package/package.json +34 -16
  30. package/dist/client/standalone/assets/ViewBuiltinLogs-D_1j1vpl.js +0 -1
  31. package/dist/client/standalone/assets/index-DWcF5wcd.js +0 -2
  32. package/dist/client/standalone/assets/index-DzhHPm4X.css +0 -1
  33. package/dist/docks-BVWse3rL.js +0 -131
  34. package/dist/plugins-CM-4geJK.js +0 -3040
  35. package/dist/standalone-CfUW6ZhV.js +0 -34
package/dist/config.js CHANGED
@@ -1,9 +1,4 @@
1
- //#region src/node/utils.ts
2
- function isObject(value) {
3
- return Object.prototype.toString.call(value) === "[object Object]";
4
- }
5
-
6
- //#endregion
1
+ import { t as isObject } from "./utils--qjmgani.js";
7
2
  //#region src/node/config.ts
8
3
  function normalizeDevToolsConfig(config, host) {
9
4
  return {
@@ -15,6 +10,5 @@ function normalizeDevToolsConfig(config, host) {
15
10
  }
16
11
  };
17
12
  }
18
-
19
13
  //#endregion
20
- export { normalizeDevToolsConfig };
14
+ export { normalizeDevToolsConfig };
package/dist/dirs.js CHANGED
@@ -1,9 +1,7 @@
1
1
  import { join } from "node:path";
2
2
  import { fileURLToPath } from "node:url";
3
-
4
3
  //#region src/dirs.ts
5
4
  const dirDist = fileURLToPath(new URL("../dist", import.meta.url));
6
5
  const dirClientStandalone = join(dirDist, "client/standalone");
7
-
8
6
  //#endregion
9
- export { dirClientStandalone, dirDist };
7
+ export { dirClientStandalone, dirDist };
@@ -1,6 +1,5 @@
1
- import { B as toRef$1, F as onScopeDispose, H as toValue, L as readonly, M as customRef, N as getCurrentScope, O as watch, R as ref, S as onMounted, U as unref, _ as getCurrentInstance, b as inject, k as watchEffect, s as computed, x as nextTick, y as hasInjectionContext, z as shallowRef } from "./vue.runtime.esm-bundler-CHmRsJSH.js";
2
-
3
- //#region ../../node_modules/.pnpm/@vueuse+shared@14.2.1_vue@3.5.28_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.js
1
+ import { B as toRef$1, F as onScopeDispose, H as toValue, L as readonly, M as customRef, N as getCurrentScope, O as watch, R as ref, S as onMounted, U as unref, _ as getCurrentInstance, b as inject, k as watchEffect, s as computed, x as nextTick, y as hasInjectionContext, z as shallowRef } from "./vue.runtime.esm-bundler-Bou7Nbd4.js";
2
+ //#region ../../node_modules/.pnpm/@vueuse+shared@14.2.1_vue@3.5.30_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.js
4
3
  /**
5
4
  * Call onScopeDispose() if it's inside an effect scope lifecycle, if not, do nothing
6
5
  *
@@ -35,7 +34,7 @@ const injectLocal = (...args) => {
35
34
  return inject(...args);
36
35
  };
37
36
  const isClient = typeof window !== "undefined" && typeof document !== "undefined";
38
- const isWorker = typeof WorkerGlobalScope !== "undefined" && globalThis instanceof WorkerGlobalScope;
37
+ typeof WorkerGlobalScope !== "undefined" && globalThis instanceof WorkerGlobalScope;
39
38
  const notNullish = (val) => val != null;
40
39
  const toString = Object.prototype.toString;
41
40
  const isObject = (val) => toString.call(val) === "[object Object]";
@@ -153,9 +152,9 @@ function cacheStringFunction(fn) {
153
152
  });
154
153
  }
155
154
  const hyphenateRE = /\B([A-Z])/g;
156
- const hyphenate = cacheStringFunction((str) => str.replace(hyphenateRE, "-$1").toLowerCase());
155
+ cacheStringFunction((str) => str.replace(hyphenateRE, "-$1").toLowerCase());
157
156
  const camelizeRE = /-(\w)/g;
158
- const camelize = cacheStringFunction((str) => {
157
+ cacheStringFunction((str) => {
159
158
  return str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : "");
160
159
  });
161
160
  function getLifeCycleTarget(target) {
@@ -224,13 +223,12 @@ function watchImmediate(source, cb, options) {
224
223
  immediate: true
225
224
  });
226
225
  }
227
-
228
226
  //#endregion
229
- //#region ../../node_modules/.pnpm/@vueuse+core@14.2.1_vue@3.5.28_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.js
227
+ //#region ../../node_modules/.pnpm/@vueuse+core@14.2.1_vue@3.5.30_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.js
230
228
  const defaultWindow = isClient ? window : void 0;
231
- const defaultDocument = isClient ? window.document : void 0;
232
- const defaultNavigator = isClient ? window.navigator : void 0;
233
- const defaultLocation = isClient ? window.location : void 0;
229
+ isClient && window.document;
230
+ isClient && window.navigator;
231
+ isClient && window.location;
234
232
  /**
235
233
  * Get the dom element of a ref of element or Vue component instance
236
234
  *
@@ -835,43 +833,7 @@ function useScreenSafeArea() {
835
833
  function getValue(position) {
836
834
  return getComputedStyle(document.documentElement).getPropertyValue(position);
837
835
  }
838
- const DEFAULT_UNITS = [
839
- {
840
- max: 6e4,
841
- value: 1e3,
842
- name: "second"
843
- },
844
- {
845
- max: 276e4,
846
- value: 6e4,
847
- name: "minute"
848
- },
849
- {
850
- max: 72e6,
851
- value: 36e5,
852
- name: "hour"
853
- },
854
- {
855
- max: 5184e5,
856
- value: 864e5,
857
- name: "day"
858
- },
859
- {
860
- max: 24192e5,
861
- value: 6048e5,
862
- name: "week"
863
- },
864
- {
865
- max: 28512e6,
866
- value: 2592e6,
867
- name: "month"
868
- },
869
- {
870
- max: Number.POSITIVE_INFINITY,
871
- value: 31536e6,
872
- name: "year"
873
- }
874
- ];
836
+ Number.POSITIVE_INFINITY;
875
837
  /**
876
838
  * Reactive window size.
877
839
  *
@@ -911,6 +873,5 @@ function useWindowSize(options = {}) {
911
873
  height
912
874
  };
913
875
  }
914
-
915
876
  //#endregion
916
- export { useScreenSafeArea as a, watchDebounced as c, useLocalStorage as i, watchImmediate as l, useElementBounding as n, useWindowSize as o, useEventListener as r, useDebounceFn as s, onClickOutside as t };
877
+ export { useScreenSafeArea as a, watchDebounced as c, useLocalStorage as i, watchImmediate as l, useElementBounding as n, useWindowSize as o, useEventListener as r, useDebounceFn as s, onClickOutside as t };
@@ -4,6 +4,5 @@ var export_helper_default = (sfc, props) => {
4
4
  for (const [key, val] of props) target[key] = val;
5
5
  return target;
6
6
  };
7
-
8
7
  //#endregion
9
- export { export_helper_default as t };
8
+ export { export_helper_default as t };
package/dist/index.d.ts CHANGED
@@ -103,11 +103,11 @@ declare const builtinRpcDeclarations: readonly [{
103
103
  cacheable?: boolean;
104
104
  args?: undefined;
105
105
  returns?: undefined;
106
- setup?: ((context: _vitejs_devtools_kit0.DevToolsNodeContext) => _vitejs_devtools_rpc0.Thenable<_vitejs_devtools_rpc0.RpcFunctionSetupResult<[key: string], Promise<any>>>) | undefined;
107
- handler?: ((key: string) => Promise<any>) | undefined;
108
- dump?: _vitejs_devtools_rpc0.RpcDump<[key: string], Promise<any>, _vitejs_devtools_kit0.DevToolsNodeContext> | undefined;
109
- __resolved?: _vitejs_devtools_rpc0.RpcFunctionSetupResult<[key: string], Promise<any>> | undefined;
110
- __promise?: _vitejs_devtools_rpc0.Thenable<_vitejs_devtools_rpc0.RpcFunctionSetupResult<[key: string], Promise<any>>> | undefined;
106
+ setup?: ((context: _vitejs_devtools_kit0.DevToolsNodeContext) => _vitejs_devtools_rpc0.Thenable<_vitejs_devtools_rpc0.RpcFunctionSetupResult<[string], Promise<any>>>) | undefined;
107
+ handler?: ((args_0: string) => Promise<any>) | undefined;
108
+ dump?: _vitejs_devtools_rpc0.RpcDump<[string], Promise<any>, _vitejs_devtools_kit0.DevToolsNodeContext> | undefined;
109
+ __resolved?: _vitejs_devtools_rpc0.RpcFunctionSetupResult<[string], Promise<any>> | undefined;
110
+ __promise?: _vitejs_devtools_rpc0.Thenable<_vitejs_devtools_rpc0.RpcFunctionSetupResult<[string], Promise<any>>> | undefined;
111
111
  }, {
112
112
  name: "devtoolskit:internal:rpc:server-state:patch";
113
113
  type?: "query" | undefined;
package/dist/index.js CHANGED
@@ -1,3 +1,2 @@
1
- import { a as createDevToolsContext, n as createDevToolsMiddleware, t as DevTools } from "./plugins-CM-4geJK.js";
2
-
3
- export { DevTools, createDevToolsContext, createDevToolsMiddleware };
1
+ import { a as createDevToolsContext, r as createDevToolsMiddleware, t as DevTools } from "./plugins-tIIgS7bh.js";
2
+ export { DevTools, createDevToolsContext, createDevToolsMiddleware };