@vitejs/devtools 0.0.0-alpha.31 → 0.0.0-alpha.33
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/{DockIcon-BfVdt_M0.js → DockIcon-BxTh1m5v.js} +11 -14
- package/dist/{ViewBuiltinLogs-C8wFxIxg.js → ViewBuiltinLogs-BwyIDX5w.js} +3 -5
- package/dist/{ViewBuiltinTerminals-CrBOq_Ni.js → ViewBuiltinTerminals-yFL0jGW0.js} +5 -11
- package/dist/cli-commands-BRi5CDUR.js +94 -0
- package/dist/cli-commands.js +3 -67
- package/dist/cli.js +3 -5
- package/dist/client/inject.js +6 -9
- package/dist/client/standalone/assets/ViewBuiltinLogs-B6YocKEt.js +1 -0
- package/dist/client/standalone/assets/{ViewBuiltinTerminals-B9l9XmES.js → ViewBuiltinTerminals-BoJR1xWn.js} +2 -2
- package/dist/client/standalone/assets/_plugin-vue_export-helper-DCOpKI5t.js +1 -0
- package/dist/client/standalone/assets/index-7t5UlDkF.css +1 -0
- package/dist/client/standalone/assets/index-BmL7atlP.js +3 -0
- package/dist/client/standalone/index.html +3 -2
- package/dist/client/webcomponents.d.ts +4 -4
- package/dist/client/webcomponents.js +163 -80
- package/dist/config.js +1 -3
- package/dist/dirs.js +1 -3
- package/dist/{dist-BpFPAu5f.js → dist-C5wFunwn.js} +11 -50
- package/dist/{docks-CYaKLVhQ.js → docks-YFmtkjZj.js} +2 -6
- package/dist/{export-helper-DjM8b2QE.js → export-helper-C1Zyf6xf.js} +1 -2
- package/dist/index.js +2 -3
- package/dist/plugins-C3h3TsXX.js +1870 -0
- package/dist/{vue.runtime.esm-bundler-DL0i8o0W.js → vue.runtime.esm-bundler-DL9ItCI-.js} +141 -117
- package/package.json +16 -16
- package/dist/client/standalone/assets/ViewBuiltinLogs-CYvdMq-7.js +0 -1
- package/dist/client/standalone/assets/index-DWC0UjCz.js +0 -2
- package/dist/client/standalone/assets/index-DzhHPm4X.css +0 -1
- package/dist/plugins-BbzqUdpu.js +0 -3038
- package/dist/standalone-DVh1a9tu.js +0 -34
package/dist/config.js
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
function isObject(value) {
|
|
3
3
|
return Object.prototype.toString.call(value) === "[object Object]";
|
|
4
4
|
}
|
|
5
|
-
|
|
6
5
|
//#endregion
|
|
7
6
|
//#region src/node/config.ts
|
|
8
7
|
function normalizeDevToolsConfig(config, host) {
|
|
@@ -15,6 +14,5 @@ function normalizeDevToolsConfig(config, host) {
|
|
|
15
14
|
}
|
|
16
15
|
};
|
|
17
16
|
}
|
|
18
|
-
|
|
19
17
|
//#endregion
|
|
20
|
-
export { normalizeDevToolsConfig };
|
|
18
|
+
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-
|
|
2
|
-
|
|
3
|
-
//#region ../../node_modules/.pnpm/@vueuse+shared@14.2.0_vue@3.5.27_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-DL9ItCI-.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/@vueuse+shared@14.2.1_vue@3.5.29_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
|
-
|
|
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
|
-
|
|
155
|
+
cacheStringFunction((str) => str.replace(hyphenateRE, "-$1").toLowerCase());
|
|
157
156
|
const camelizeRE = /-(\w)/g;
|
|
158
|
-
|
|
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.
|
|
227
|
+
//#region ../../node_modules/.pnpm/@vueuse+core@14.2.1_vue@3.5.29_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.js
|
|
230
228
|
const defaultWindow = isClient ? window : void 0;
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
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
|
-
|
|
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 };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { I as reactive, O as watch, P as markRaw, z as shallowRef } from "./vue.runtime.esm-bundler-
|
|
1
|
+
import { I as reactive, O as watch, P as markRaw, z as shallowRef } from "./vue.runtime.esm-bundler-DL9ItCI-.js";
|
|
2
2
|
import { createEventEmitter } from "@vitejs/devtools-kit/utils/events";
|
|
3
|
-
|
|
4
3
|
//#region src/client/webcomponents/constants.ts
|
|
5
4
|
const BUILTIN_ENTRY_CLIENT_AUTH_NOTICE = Object.freeze({
|
|
6
5
|
type: "~builtin",
|
|
@@ -18,7 +17,6 @@ const DEFAULT_CATEGORIES_ORDER = {
|
|
|
18
17
|
"advanced": 400,
|
|
19
18
|
"~builtin": 1e3
|
|
20
19
|
};
|
|
21
|
-
|
|
22
20
|
//#endregion
|
|
23
21
|
//#region src/client/webcomponents/state/dock-settings.ts
|
|
24
22
|
/**
|
|
@@ -77,7 +75,6 @@ function docksSplitGroupsWithCapacity(groups, capacity) {
|
|
|
77
75
|
overflow
|
|
78
76
|
};
|
|
79
77
|
}
|
|
80
|
-
|
|
81
78
|
//#endregion
|
|
82
79
|
//#region src/client/webcomponents/state/docks.ts
|
|
83
80
|
function DEFAULT_DOCK_PANEL_STORE() {
|
|
@@ -126,6 +123,5 @@ async function useDocksEntries(rpc) {
|
|
|
126
123
|
_docksEntriesRef = sharedStateToRef(await rpc.sharedState.get("devtoolskit:internal:docks", { initialValue: [] }));
|
|
127
124
|
return _docksEntriesRef;
|
|
128
125
|
}
|
|
129
|
-
|
|
130
126
|
//#endregion
|
|
131
|
-
export { docksGroupByCategories as a, BUILTIN_ENTRY_CLIENT_AUTH_NOTICE as c, useDocksEntries as i, createDockEntryState as n, docksSplitGroupsWithCapacity as o, sharedStateToRef as r, BUILTIN_ENTRIES as s, DEFAULT_DOCK_PANEL_STORE as t };
|
|
127
|
+
export { docksGroupByCategories as a, BUILTIN_ENTRY_CLIENT_AUTH_NOTICE as c, useDocksEntries as i, createDockEntryState as n, docksSplitGroupsWithCapacity as o, sharedStateToRef as r, BUILTIN_ENTRIES as s, DEFAULT_DOCK_PANEL_STORE as t };
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
export { DevTools, createDevToolsContext, createDevToolsMiddleware };
|
|
1
|
+
import { i as createDevToolsContext, n as createDevToolsMiddleware, t as DevTools } from "./plugins-C3h3TsXX.js";
|
|
2
|
+
export { DevTools, createDevToolsContext, createDevToolsMiddleware };
|