@vue/devtools-electron 8.0.7 → 8.1.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.
@@ -1,4 +1,4 @@
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-unERAPcu.js";
1
+ import { d as M, ag as V, i as f, Y as I, ah as D, ai as U, aj as j, c as n, o as l, b as d, a as N, u as e, T as L, ak as R, s as r, al as $, F, v as P, h as E, n as W, H as q, t as z, E as H, W as K, q as h, am as Y, a7 as G, x as k, ae as J, e as O, an as Q, A, af as C, ao as X } from "./index-BMNNx3yZ.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"], ce = /* @__PURE__ */ A({
19
+ }, ne = { class: "flex items-center gap1" }, se = { class: "p2" }, ie = ["onClick"], re = ["onClick"], de = /* @__PURE__ */ M({
20
20
  __name: "TimelineLayers",
21
21
  props: /* @__PURE__ */ V({
22
22
  data: {}
@@ -25,66 +25,66 @@ const Z = {
25
25
  modelModifiers: {}
26
26
  }),
27
27
  emits: /* @__PURE__ */ V(["select", "clear"], ["update:modelValue"]),
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
- function u(a) {
33
- g.value = a, m("select", a), w.value.updateTimelineLayersState({
34
- selected: a
28
+ setup(w, { emit: y }) {
29
+ const b = y, _ = I(), u = f(() => _.timelineLayersState.value.recordingState), c = f(() => _.timelineLayersState.value), g = f(() => u.value ? "Stop recording" : "Start recording");
30
+ D();
31
+ const p = U(w, "modelValue");
32
+ function S(t) {
33
+ p.value = t, b("select", t), E.value.updateTimelineLayersState({
34
+ selected: t
35
35
  });
36
36
  }
37
- j(() => r.value.selected, (a) => {
38
- g.value = a;
37
+ j(() => c.value.selected, (t) => {
38
+ p.value = t;
39
39
  }, {
40
40
  immediate: !0
41
41
  });
42
- function _(a) {
42
+ function s(t) {
43
43
  return {
44
- mouse: r.value.mouseEventEnabled,
45
- keyboard: r.value.keyboardEventEnabled,
46
- "component-event": r.value.componentEventEnabled,
47
- performance: r.value.performanceEventEnabled
48
- }[a];
44
+ mouse: c.value.mouseEventEnabled,
45
+ keyboard: c.value.keyboardEventEnabled,
46
+ "component-event": c.value.componentEventEnabled,
47
+ performance: c.value.performanceEventEnabled
48
+ }[t];
49
49
  }
50
- function p() {
51
- w.value.updateTimelineLayersState({
52
- recordingState: !d.value
50
+ function T() {
51
+ E.value.updateTimelineLayersState({
52
+ recordingState: !u.value
53
53
  });
54
54
  }
55
- function T(a) {
56
- const v = {
55
+ function v(t) {
56
+ const i = {
57
57
  mouse: "mouseEventEnabled",
58
58
  keyboard: "keyboardEventEnabled",
59
59
  "component-event": "componentEventEnabled",
60
60
  performance: "performanceEventEnabled"
61
- }[a];
62
- w.value.updateTimelineLayersState({
63
- [v]: !_(a)
61
+ }[t];
62
+ E.value.updateTimelineLayersState({
63
+ [i]: !s(t)
64
64
  });
65
65
  }
66
- return (a, v) => (l(), o("div", Z, [
67
- i("div", ee, [
68
- e(d) ? N("", !0) : (l(), o("span", te, "Not recording")),
69
- i("div", ae, [
70
- L((l(), o("div", {
66
+ return (t, i) => (l(), n("div", Z, [
67
+ d("div", ee, [
68
+ e(u) ? N("", !0) : (l(), n("span", te, "Not recording")),
69
+ d("div", ae, [
70
+ L((l(), n("div", {
71
71
  class: "flex items-center gap1",
72
- onClick: p
72
+ onClick: T
73
73
  }, [
74
- e(d) ? (l(), o("span", le)) : (l(), o("span", oe))
74
+ e(u) ? (l(), n("span", le)) : (l(), n("span", oe))
75
75
  ])), [
76
76
  [
77
77
  e(R),
78
- { content: e(b) },
78
+ { content: e(g) },
79
79
  void 0,
80
80
  { "bottom-end": !0 }
81
81
  ]
82
82
  ]),
83
- L((l(), o("div", {
83
+ L((l(), n("div", {
84
84
  class: "flex items-center gap1",
85
- onClick: v[0] || (v[0] = (t) => m("clear"))
85
+ onClick: i[0] || (i[0] = (o) => b("clear"))
86
86
  }, [
87
- s(e($), {
87
+ r(e($), {
88
88
  name: "baseline-delete",
89
89
  "cursor-pointer": "",
90
90
  "text-xl": "",
@@ -99,8 +99,8 @@ const Z = {
99
99
  { "bottom-end": !0 }
100
100
  ]
101
101
  ]),
102
- L((l(), o("div", ne, [
103
- s(e($), {
102
+ L((l(), n("div", ne, [
103
+ r(e($), {
104
104
  name: "baseline-tips-and-updates",
105
105
  "cursor-pointer": "",
106
106
  "text-xl": "",
@@ -117,40 +117,40 @@ const Z = {
117
117
  ])
118
118
  ])
119
119
  ]),
120
- i("ul", se, [
121
- (l(!0), o(F, null, P(S.data, (t) => (l(), o("li", {
122
- key: t.id,
123
- class: W(["group relative selectable-item", { active: t.id === g.value, op60: !_(t.id) }]),
124
- onClick: (n) => u(t.id)
120
+ d("ul", se, [
121
+ (l(!0), n(F, null, P(w.data, (o) => (l(), n("li", {
122
+ key: o.id,
123
+ class: W(["group relative selectable-item", { active: o.id === p.value, op60: !s(o.id) }]),
124
+ onClick: (a) => S(o.id)
125
125
  }, [
126
- q(z(t.label) + " ", 1),
127
- i("span", {
126
+ q(z(o.label) + " ", 1),
127
+ d("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) => T(t.id), ["stop"])
130
- }, z(_(t.id) ? "Disable" : "Enable"), 9, re)
129
+ onClick: H((a) => v(o.id), ["stop"])
130
+ }, z(s(o.id) ? "Disable" : "Enable"), 9, re)
131
131
  ], 10, ie))), 128))
132
132
  ])
133
133
  ]));
134
134
  }
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({
135
+ }), ce = /* @__PURE__ */ K(de, [["__scopeId", "data-v-95cda1e2"]]), 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" }, _e = /* @__PURE__ */ M({
136
136
  __name: "timeline",
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
- label: t.name + (t.version ? ` (${t.version})` : ""),
140
- value: t.id
141
- }))), g = c(() => x.value.map((t) => ({
142
- label: t.label,
143
- id: t.value
144
- }))), u = h(b.activeAppRecordId.value);
145
- Y(() => {
146
- u.value = b.activeAppRecordId.value;
137
+ setup(w) {
138
+ const y = h(), b = h(), _ = h(!1), { width: u } = Y(b), c = f(() => _.value ? u.value < 700 : !1), g = I(), p = f(() => g.appRecords.value.map((a) => ({
139
+ label: a.name + (a.version ? ` (${a.version})` : ""),
140
+ value: a.id
141
+ }))), S = f(() => p.value.map((a) => ({
142
+ label: a.label,
143
+ id: a.value
144
+ }))), s = h(g.activeAppRecordId.value);
145
+ G(() => {
146
+ s.value = g.activeAppRecordId.value;
147
147
  });
148
- function _(t) {
149
- w.value.toggleApp(t).then(() => {
150
- a();
148
+ function T(a) {
149
+ E.value.toggleApp(a).then(() => {
150
+ i();
151
151
  });
152
152
  }
153
- const p = h(""), T = [
153
+ const v = h(""), t = [
154
154
  {
155
155
  label: "Mouse",
156
156
  id: "mouse"
@@ -168,72 +168,72 @@ const Z = {
168
168
  id: "performance"
169
169
  }
170
170
  ];
171
- function a() {
171
+ function i() {
172
172
  y.value?.clear();
173
173
  }
174
- function v() {
175
- a();
174
+ function o() {
175
+ i();
176
176
  }
177
- return (t, n) => {
178
- const B = de;
179
- return l(), o("div", ue, [
180
- s(e(G), {
177
+ return (a, m) => {
178
+ const B = ce;
179
+ return l(), n("div", ue, [
180
+ r(e(J), {
181
181
  ref_key: "splitpanesRef",
182
- ref: m,
182
+ ref: b,
183
183
  class: "flex-1 overflow-auto",
184
- horizontal: e(r),
185
- onReady: n[2] || (n[2] = (k) => f.value = !0)
184
+ horizontal: e(c),
185
+ onReady: m[2] || (m[2] = (x) => _.value = !0)
186
186
  }, {
187
- default: E(() => [
188
- e(x).length > 1 ? (l(), J(e(C), {
187
+ default: k(() => [
188
+ e(p).length > 1 ? (l(), O(e(C), {
189
189
  key: 0,
190
190
  border: "base h-full",
191
191
  size: "20"
192
192
  }, {
193
- default: E(() => [
194
- i("div", pe, [
195
- s(e(Q), {
196
- modelValue: e(u),
197
- "onUpdate:modelValue": n[0] || (n[0] = (k) => M(u) ? u.value = k : null),
198
- data: e(g),
193
+ default: k(() => [
194
+ d("div", pe, [
195
+ r(e(Q), {
196
+ modelValue: e(s),
197
+ "onUpdate:modelValue": m[0] || (m[0] = (x) => A(s) ? s.value = x : null),
198
+ data: e(S),
199
199
  class: "w-full",
200
- onSelect: _
200
+ onSelect: T
201
201
  }, null, 8, ["modelValue", "data"])
202
202
  ])
203
203
  ]),
204
204
  _: 1
205
205
  })) : N("", !0),
206
- s(e(C), {
206
+ r(e(C), {
207
207
  border: "base",
208
208
  "h-full": ""
209
209
  }, {
210
- default: E(() => [
211
- i("div", ve, [
212
- i("div", me, [
213
- s(B, {
214
- modelValue: e(p),
215
- "onUpdate:modelValue": n[1] || (n[1] = (k) => M(p) ? p.value = k : null),
216
- data: T,
210
+ default: k(() => [
211
+ d("div", ve, [
212
+ d("div", me, [
213
+ r(B, {
214
+ modelValue: e(v),
215
+ "onUpdate:modelValue": m[1] || (m[1] = (x) => A(v) ? v.value = x : null),
216
+ data: t,
217
217
  class: "w-full",
218
- onSelect: v,
219
- onClear: a
218
+ onSelect: o,
219
+ onClear: i
220
220
  }, null, 8, ["modelValue"])
221
221
  ])
222
222
  ])
223
223
  ]),
224
224
  _: 1
225
225
  }),
226
- s(e(C), {
226
+ r(e(C), {
227
227
  relative: "",
228
228
  "h-full": "",
229
229
  size: "65"
230
230
  }, {
231
- default: E(() => [
232
- i("div", fe, [
233
- s(e(X), {
231
+ default: k(() => [
232
+ d("div", fe, [
233
+ r(e(X), {
234
234
  ref_key: "timelineRef",
235
235
  ref: y,
236
- "layer-ids": [e(p)],
236
+ "layer-ids": [e(v)],
237
237
  "header-visible": !1,
238
238
  "doc-link": "",
239
239
  "plugin-id": "",
@@ -251,5 +251,5 @@ const Z = {
251
251
  }
252
252
  });
253
253
  export {
254
- ge as default
254
+ _e as default
255
255
  };