@vue/devtools-electron 8.0.2 → 8.0.3
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/IconTitle.vue_vue_type_script_setup_true_lang-DLtdfn-T.js +25 -0
- package/client/{SectionBlock-xKhegVP9.js → SectionBlock-cb4DPSS8.js} +32 -32
- package/client/assets-DrHz0toh.js +1049 -0
- package/client/{components-BrOQ-ofv.js → components-D9oYqSOd.js} +3 -3
- package/client/{custom-inspector-tab-view-CkdhUYIP.js → custom-inspector-tab-view-BXQti9hQ.js} +3 -3
- package/client/{custom-tab-view-B5kvwrLc.js → custom-tab-view-vRg-h0gX.js} +3 -3
- package/client/devtools-panel.css +1 -1
- package/client/devtools-panel.js +1 -1
- package/client/{graph-CFurbIKf.js → graph-DAdoYvsj.js} +24166 -23913
- package/client/{index-i0Vo12ev.js → index-e6Cke-ty.js} +15848 -16028
- package/client/{overview-BJSdT74g.js → overview-DoRkU2w7.js} +2 -2
- package/client/{pages-IcPQYatG.js → pages-D6NTK9Y9.js} +128 -128
- package/client/pinia-CcHBChl0.js +11 -0
- package/client/{router-Dw9ZK4h3.js → router-CPCI84Qu.js} +1 -1
- package/client/{settings-kuD3Maam.js → settings-DEG_TfAU.js} +11 -11
- package/client/{timeline-BeMBNQIL.js → timeline-nZEynGnP.js} +38 -38
- package/dist/cli.cjs +4 -4
- package/dist/cli.mjs +4 -4
- package/dist/devtools.js +286 -311
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/user-app.cjs +1 -1
- package/dist/user-app.iife.js +55 -55
- package/dist/user-app.js +1 -1
- package/package.json +7 -8
- package/client/IconTitle.vue_vue_type_script_setup_true_lang-Dw_OETO7.js +0 -25
- package/client/assets-_5Yea5Fb.js +0 -1049
- package/client/pinia-DKTNMgsj.js +0 -11
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as A, ag as V, i as
|
|
1
|
+
import { d as A, ag as V, i as c, Y as I, ah as D, ai as U, aj as j, c as o, o as l, b as i, a as N, u as e, T as L, ak as R, s, al as $, F, v as P, g as w, n as W, H as q, t as z, E as H, W as K, q as h, am as O, a7 as Y, w as E, ae as G, e as J, an as Q, z as M, af as C, ao as X } from "./index-e6Cke-ty.js";
|
|
2
2
|
const Z = {
|
|
3
3
|
"h-full": "",
|
|
4
4
|
flex: "",
|
|
@@ -16,7 +16,7 @@ const Z = {
|
|
|
16
16
|
}, oe = {
|
|
17
17
|
key: 1,
|
|
18
18
|
class: "recording-btn bg-black op70 dark:bg-white hover:op100"
|
|
19
|
-
}, ne = { class: "flex items-center gap1" }, se = { class: "p2" }, ie = ["onClick"], re = ["onClick"],
|
|
19
|
+
}, ne = { class: "flex items-center gap1" }, se = { class: "p2" }, ie = ["onClick"], re = ["onClick"], ce = /* @__PURE__ */ A({
|
|
20
20
|
__name: "TimelineLayers",
|
|
21
21
|
props: /* @__PURE__ */ V({
|
|
22
22
|
data: {}
|
|
@@ -25,21 +25,21 @@ const Z = {
|
|
|
25
25
|
modelModifiers: {}
|
|
26
26
|
}),
|
|
27
27
|
emits: /* @__PURE__ */ V(["select", "clear"], ["update:modelValue"]),
|
|
28
|
-
setup(
|
|
29
|
-
const m = y, f = I(),
|
|
30
|
-
|
|
31
|
-
const
|
|
28
|
+
setup(S, { emit: y }) {
|
|
29
|
+
const m = y, f = I(), d = c(() => f.timelineLayersState.value.recordingState), r = c(() => f.timelineLayersState.value), b = c(() => d.value ? "Stop recording" : "Start recording"), { colorMode: x } = D();
|
|
30
|
+
c(() => x.value === "dark");
|
|
31
|
+
const g = U(S, "modelValue");
|
|
32
32
|
function u(a) {
|
|
33
|
-
|
|
33
|
+
g.value = a, m("select", a), w.value.updateTimelineLayersState({
|
|
34
34
|
selected: a
|
|
35
35
|
});
|
|
36
36
|
}
|
|
37
37
|
j(() => r.value.selected, (a) => {
|
|
38
|
-
|
|
38
|
+
g.value = a;
|
|
39
39
|
}, {
|
|
40
40
|
immediate: !0
|
|
41
41
|
});
|
|
42
|
-
function
|
|
42
|
+
function _(a) {
|
|
43
43
|
return {
|
|
44
44
|
mouse: r.value.mouseEventEnabled,
|
|
45
45
|
keyboard: r.value.keyboardEventEnabled,
|
|
@@ -49,10 +49,10 @@ const Z = {
|
|
|
49
49
|
}
|
|
50
50
|
function p() {
|
|
51
51
|
w.value.updateTimelineLayersState({
|
|
52
|
-
recordingState: !
|
|
52
|
+
recordingState: !d.value
|
|
53
53
|
});
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function T(a) {
|
|
56
56
|
const v = {
|
|
57
57
|
mouse: "mouseEventEnabled",
|
|
58
58
|
keyboard: "keyboardEventEnabled",
|
|
@@ -60,27 +60,27 @@ const Z = {
|
|
|
60
60
|
performance: "performanceEventEnabled"
|
|
61
61
|
}[a];
|
|
62
62
|
w.value.updateTimelineLayersState({
|
|
63
|
-
[v]: !
|
|
63
|
+
[v]: !_(a)
|
|
64
64
|
});
|
|
65
65
|
}
|
|
66
66
|
return (a, v) => (l(), o("div", Z, [
|
|
67
67
|
i("div", ee, [
|
|
68
|
-
e(
|
|
68
|
+
e(d) ? N("", !0) : (l(), o("span", te, "Not recording")),
|
|
69
69
|
i("div", ae, [
|
|
70
|
-
|
|
70
|
+
L((l(), o("div", {
|
|
71
71
|
class: "flex items-center gap1",
|
|
72
72
|
onClick: p
|
|
73
73
|
}, [
|
|
74
|
-
e(
|
|
74
|
+
e(d) ? (l(), o("span", le)) : (l(), o("span", oe))
|
|
75
75
|
])), [
|
|
76
76
|
[
|
|
77
|
-
e(
|
|
77
|
+
e(R),
|
|
78
78
|
{ content: e(b) },
|
|
79
79
|
void 0,
|
|
80
80
|
{ "bottom-end": !0 }
|
|
81
81
|
]
|
|
82
82
|
]),
|
|
83
|
-
|
|
83
|
+
L((l(), o("div", {
|
|
84
84
|
class: "flex items-center gap1",
|
|
85
85
|
onClick: v[0] || (v[0] = (t) => m("clear"))
|
|
86
86
|
}, [
|
|
@@ -93,13 +93,13 @@ const Z = {
|
|
|
93
93
|
})
|
|
94
94
|
])), [
|
|
95
95
|
[
|
|
96
|
-
e(
|
|
96
|
+
e(R),
|
|
97
97
|
{ content: "Clear all timelines" },
|
|
98
98
|
void 0,
|
|
99
99
|
{ "bottom-end": !0 }
|
|
100
100
|
]
|
|
101
101
|
]),
|
|
102
|
-
|
|
102
|
+
L((l(), o("div", ne, [
|
|
103
103
|
s(e($), {
|
|
104
104
|
name: "baseline-tips-and-updates",
|
|
105
105
|
"cursor-pointer": "",
|
|
@@ -109,7 +109,7 @@ const Z = {
|
|
|
109
109
|
})
|
|
110
110
|
])), [
|
|
111
111
|
[
|
|
112
|
-
e(
|
|
112
|
+
e(R),
|
|
113
113
|
{ content: "<p style='width: 285px'>Timeline events can cause significant performance overhead in large applications, so we recommend enabling it only when needed and on-demand. </p>", html: !0 },
|
|
114
114
|
void 0,
|
|
115
115
|
{ "bottom-end": !0 }
|
|
@@ -118,39 +118,39 @@ const Z = {
|
|
|
118
118
|
])
|
|
119
119
|
]),
|
|
120
120
|
i("ul", se, [
|
|
121
|
-
(l(!0), o(F, null, P(
|
|
121
|
+
(l(!0), o(F, null, P(S.data, (t) => (l(), o("li", {
|
|
122
122
|
key: t.id,
|
|
123
|
-
class:
|
|
123
|
+
class: W(["group relative selectable-item", { active: t.id === g.value, op60: !_(t.id) }]),
|
|
124
124
|
onClick: (n) => u(t.id)
|
|
125
125
|
}, [
|
|
126
126
|
q(z(t.label) + " ", 1),
|
|
127
127
|
i("span", {
|
|
128
128
|
class: "absolute right-2 rounded-1 bg-primary-500 px1 text-3 text-white op0 [.active_&]:bg-primary-400 [.active_&]:dark:bg-gray-600 group-hover:op80 hover:op100!",
|
|
129
|
-
onClick: H((n) =>
|
|
130
|
-
}, z(
|
|
129
|
+
onClick: H((n) => T(t.id), ["stop"])
|
|
130
|
+
}, z(_(t.id) ? "Disable" : "Enable"), 9, re)
|
|
131
131
|
], 10, ie))), 128))
|
|
132
132
|
])
|
|
133
133
|
]));
|
|
134
134
|
}
|
|
135
|
-
}),
|
|
135
|
+
}), de = /* @__PURE__ */ K(ce, [["__scopeId", "data-v-ba7472d9"]]), ue = { class: "h-full w-full" }, pe = { class: "no-scrollbar h-full flex select-none gap-2 overflow-scroll" }, ve = { class: "h-full flex flex-col" }, me = { class: "no-scrollbar h-full flex select-none gap-2 overflow-scroll" }, fe = { class: "h-full flex flex-col p2" }, ge = /* @__PURE__ */ A({
|
|
136
136
|
__name: "timeline",
|
|
137
|
-
setup(
|
|
138
|
-
const y = h(), m = h(), f = h(!1), { width:
|
|
137
|
+
setup(S) {
|
|
138
|
+
const y = h(), m = h(), f = h(!1), { width: d } = O(m), r = c(() => f.value ? d.value < 700 : !1), b = I(), x = c(() => b.appRecords.value.map((t) => ({
|
|
139
139
|
label: t.name + (t.version ? ` (${t.version})` : ""),
|
|
140
140
|
value: t.id
|
|
141
|
-
}))),
|
|
141
|
+
}))), g = c(() => x.value.map((t) => ({
|
|
142
142
|
label: t.label,
|
|
143
143
|
id: t.value
|
|
144
144
|
}))), u = h(b.activeAppRecordId.value);
|
|
145
145
|
Y(() => {
|
|
146
146
|
u.value = b.activeAppRecordId.value;
|
|
147
147
|
});
|
|
148
|
-
function
|
|
148
|
+
function _(t) {
|
|
149
149
|
w.value.toggleApp(t).then(() => {
|
|
150
150
|
a();
|
|
151
151
|
});
|
|
152
152
|
}
|
|
153
|
-
const p = h(""),
|
|
153
|
+
const p = h(""), T = [
|
|
154
154
|
{
|
|
155
155
|
label: "Mouse",
|
|
156
156
|
id: "mouse"
|
|
@@ -175,7 +175,7 @@ const Z = {
|
|
|
175
175
|
a();
|
|
176
176
|
}
|
|
177
177
|
return (t, n) => {
|
|
178
|
-
const B =
|
|
178
|
+
const B = de;
|
|
179
179
|
return l(), o("div", ue, [
|
|
180
180
|
s(e(G), {
|
|
181
181
|
ref_key: "splitpanesRef",
|
|
@@ -185,7 +185,7 @@ const Z = {
|
|
|
185
185
|
onReady: n[2] || (n[2] = (k) => f.value = !0)
|
|
186
186
|
}, {
|
|
187
187
|
default: E(() => [
|
|
188
|
-
e(x).length > 1 ? (l(), J(e(
|
|
188
|
+
e(x).length > 1 ? (l(), J(e(C), {
|
|
189
189
|
key: 0,
|
|
190
190
|
border: "base h-full",
|
|
191
191
|
size: "20"
|
|
@@ -195,15 +195,15 @@ const Z = {
|
|
|
195
195
|
s(e(Q), {
|
|
196
196
|
modelValue: e(u),
|
|
197
197
|
"onUpdate:modelValue": n[0] || (n[0] = (k) => M(u) ? u.value = k : null),
|
|
198
|
-
data: e(
|
|
198
|
+
data: e(g),
|
|
199
199
|
class: "w-full",
|
|
200
|
-
onSelect:
|
|
200
|
+
onSelect: _
|
|
201
201
|
}, null, 8, ["modelValue", "data"])
|
|
202
202
|
])
|
|
203
203
|
]),
|
|
204
204
|
_: 1
|
|
205
205
|
})) : N("", !0),
|
|
206
|
-
s(e(
|
|
206
|
+
s(e(C), {
|
|
207
207
|
border: "base",
|
|
208
208
|
"h-full": ""
|
|
209
209
|
}, {
|
|
@@ -213,7 +213,7 @@ const Z = {
|
|
|
213
213
|
s(B, {
|
|
214
214
|
modelValue: e(p),
|
|
215
215
|
"onUpdate:modelValue": n[1] || (n[1] = (k) => M(p) ? p.value = k : null),
|
|
216
|
-
data:
|
|
216
|
+
data: T,
|
|
217
217
|
class: "w-full",
|
|
218
218
|
onSelect: v,
|
|
219
219
|
onClear: a
|
|
@@ -223,7 +223,7 @@ const Z = {
|
|
|
223
223
|
]),
|
|
224
224
|
_: 1
|
|
225
225
|
}),
|
|
226
|
-
s(e(
|
|
226
|
+
s(e(C), {
|
|
227
227
|
relative: "",
|
|
228
228
|
"h-full": "",
|
|
229
229
|
size: "65"
|
|
@@ -251,5 +251,5 @@ const Z = {
|
|
|
251
251
|
}
|
|
252
252
|
});
|
|
253
253
|
export {
|
|
254
|
-
|
|
254
|
+
ge as default
|
|
255
255
|
};
|
package/dist/cli.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
const node_child_process = require('node:child_process');
|
|
3
4
|
const electron = require('electron');
|
|
4
|
-
const execa = require('execa');
|
|
5
5
|
const pathe = require('pathe');
|
|
6
6
|
|
|
7
7
|
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
|
|
@@ -11,8 +11,8 @@ const electron__default = /*#__PURE__*/_interopDefaultCompat(electron);
|
|
|
11
11
|
|
|
12
12
|
const appPath = decodeURIComponent(pathe.resolve(new URL("../dist/app.cjs", (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('cli.cjs', document.baseURI).href))).pathname));
|
|
13
13
|
const argv = process.argv.slice(2);
|
|
14
|
-
const result =
|
|
14
|
+
const result = node_child_process.spawnSync(electron__default, [appPath].concat(argv), {
|
|
15
15
|
stdio: "inherit",
|
|
16
|
-
|
|
16
|
+
shell: process.platform === "win32"
|
|
17
17
|
});
|
|
18
|
-
process.exit(result.
|
|
18
|
+
process.exit(result.status ?? 0);
|
package/dist/cli.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import { spawnSync } from 'node:child_process';
|
|
1
2
|
import electron from 'electron';
|
|
2
|
-
import { execaSync } from 'execa';
|
|
3
3
|
import { resolve } from 'pathe';
|
|
4
4
|
|
|
5
5
|
const appPath = decodeURIComponent(resolve(new URL("../dist/app.cjs", import.meta.url).pathname));
|
|
6
6
|
const argv = process.argv.slice(2);
|
|
7
|
-
const result =
|
|
7
|
+
const result = spawnSync(electron, [appPath].concat(argv), {
|
|
8
8
|
stdio: "inherit",
|
|
9
|
-
|
|
9
|
+
shell: process.platform === "win32"
|
|
10
10
|
});
|
|
11
|
-
process.exit(result.
|
|
11
|
+
process.exit(result.status ?? 0);
|