@vue/devtools-electron 8.0.0 → 8.0.2

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,5 +1,5 @@
1
- import { d as ee, j as le, k as P, l as te, q as B, s as oe, i as ne, c as m, w as a, b as l, F as x, x as E, u as t, a as _, y as d, z as U, M as $, A as p, B as se, C as ae, o as r, e as j, t as I, D as F, n as O, _ as ie, E as z, G as ue, H as R, I as h, J as V, K as de } from "./index-1gPbFyyc.js";
2
- import { _ as re } from "./IconTitle.vue_vue_type_script_setup_true_lang-BUuVJmL3.js";
1
+ import { d as ee, j as le, k as B, l as te, m as E, p as oe, i as ne, c as m, q as a, b as l, F as x, s as $, u as t, a as U, w as d, v as I, M as j, y as p, z as se, A as ae, o as r, e as F, t as O, B as R, n as z, D as ie, E as D, G as ue, H as h, I as H, J as V, K as de } from "./index-i0Vo12ev.js";
2
+ import { _ as re } from "./IconTitle.vue_vue_type_script_setup_true_lang-Dw_OETO7.js";
3
3
  const pe = {
4
4
  "h-full": "",
5
5
  "w-full": "",
@@ -24,10 +24,10 @@ const pe = {
24
24
  "justify-start": "",
25
25
  "pr-4": "",
26
26
  "text-sm": ""
27
- }, ce = ["onClick"], be = ["onClick"], ye = ["onClick"], Ve = { flex: "~ col gap-2" }, ke = { flex: "~ gap2" }, Ce = { class: "flex items-center gap2 text-sm" }, we = { class: "flex items-center gap2 text-sm" }, Se = { class: "flex items-center gap2 text-sm" }, Te = { class: "flex items-center gap2 text-sm" }, _e = { flex: "~ gap-2" }, ze = /* @__PURE__ */ ee({
27
+ }, ce = ["onClick"], be = ["onClick"], ye = ["onClick"], Ve = { flex: "~ col gap-2" }, ke = { flex: "~ gap2" }, we = { class: "flex items-center gap2 text-sm" }, Ce = { class: "flex items-center gap2 text-sm" }, Se = { class: "flex items-center gap2 text-sm" }, Te = { class: "flex items-center gap2 text-sm" }, Ue = { flex: "~ gap-2" }, De = /* @__PURE__ */ ee({
28
28
  __name: "settings",
29
- setup(Ue) {
30
- const { categorizedTabs: H } = le(), D = ae(), q = D === "iframe" || D === "separate-window", { scale: k, interactionCloseOnOutsideClick: C, showPanel: w, minimizePanelInteractive: g, expandSidebar: S, scrollableSidebar: T, reduceMotion: G } = P(te(B)), J = [
29
+ setup(Ie) {
30
+ const { categorizedTabs: _ } = le(), A = ae(), q = A === "iframe" || A === "separate-window", { scale: k, interactionCloseOnOutsideClick: w, showPanel: C, minimizePanelInteractive: g, expandSidebar: S, scrollableSidebar: T, reduceMotion: G } = B(te(E)), J = [
31
31
  ["Tiny", 12 / 15],
32
32
  ["Small", 14 / 15],
33
33
  ["Normal", 1],
@@ -40,7 +40,7 @@ const pe = {
40
40
  ["5s", 5e3],
41
41
  ["10s", 1e4],
42
42
  ["Never", -1]
43
- ], { hiddenTabCategories: c, hiddenTabs: b, pinnedTabs: i } = P(B.value.tabSettings);
43
+ ], { hiddenTabCategories: c, hiddenTabs: b, pinnedTabs: i } = B(E.value.tabSettings);
44
44
  function Q(s, e) {
45
45
  e ? b.value = b.value.filter((u) => u !== s) : b.value.push(s);
46
46
  }
@@ -50,7 +50,7 @@ const pe = {
50
50
  function X(s) {
51
51
  i.value.includes(s) ? i.value = i.value.filter((e) => e !== s) : i.value.push(s);
52
52
  }
53
- function A(s, e) {
53
+ function L(s, e) {
54
54
  const u = i.value.indexOf(s);
55
55
  if (u === -1)
56
56
  return;
@@ -64,7 +64,7 @@ const pe = {
64
64
  async function Y() {
65
65
  de(), window.location.reload();
66
66
  }
67
- const L = K.map(([s, e]) => ({ label: s, value: e })), Z = ne(() => `${L.find((e) => e.value === g.value)?.label ?? "Select..."}`);
67
+ const M = K.map(([s, e]) => ({ label: s, value: e })), Z = ne(() => `${M.find((e) => e.value === g.value)?.label ?? "Select..."}`);
68
68
  return (s, e) => {
69
69
  const u = re, v = ie;
70
70
  return r(), m("div", pe, [
@@ -76,22 +76,22 @@ const pe = {
76
76
  l("div", me, [
77
77
  l("div", ve, [
78
78
  e[12] || (e[12] = l("h3", { "text-lg": "" }, " Tabs ", -1)),
79
- (r(!0), m(x, null, E(t(H), ([{ name: o, hidden: f }, M]) => (r(), m(x, { key: o }, [
80
- M.length ? (r(), j(t(U), {
79
+ (r(!0), m(x, null, $(t(_), ([{ name: o, hidden: f }, N]) => (r(), m(x, { key: o }, [
80
+ N.length ? (r(), F(t(I), {
81
81
  key: 0,
82
82
  p3: "",
83
83
  flex: "~ col gap-1",
84
- class: O(f ? "op50 grayscale" : "")
84
+ class: z(f ? "op50 grayscale" : "")
85
85
  }, {
86
86
  default: d(() => [
87
- a(t(F), {
87
+ a(t(R), {
88
88
  "model-value": !t(c).includes(o),
89
89
  class: "row-reverse flex py1 pl2 pr1 hover:bg-active",
90
90
  "onUpdate:modelValue": (n) => W(o, n)
91
91
  }, {
92
92
  default: d(() => [
93
93
  l("div", fe, [
94
- l("span", xe, I(o), 1)
94
+ l("span", xe, O(o), 1)
95
95
  ])
96
96
  ]),
97
97
  _: 2
@@ -103,11 +103,11 @@ const pe = {
103
103
  border: "b base",
104
104
  op75: ""
105
105
  }, null, -1)),
106
- (r(!0), m(x, null, E(M, (n) => (r(), j(t(F), {
106
+ (r(!0), m(x, null, $(N, (n) => (r(), F(t(R), {
107
107
  key: n.name,
108
- class: O(["row-reverse n-primary flex py1 pl2 pr1 hover:bg-active", n.hidden ? "op35" : ""]),
108
+ class: z(["row-reverse n-primary flex py1 pl2 pr1 hover:bg-active", n.hidden ? "op35" : ""]),
109
109
  "model-value": !t(b).includes(n.name),
110
- "onUpdate:modelValue": (N) => Q(n.name, N)
110
+ "onUpdate:modelValue": (P) => Q(n.name, P)
111
111
  }, {
112
112
  default: d(() => [
113
113
  l("div", ge, [
@@ -117,32 +117,32 @@ const pe = {
117
117
  fallback: n.fallbackIcon,
118
118
  title: n.title
119
119
  }, null, 8, ["icon", "fallback", "title"]),
120
- l("span", null, I(n.title), 1),
120
+ l("span", null, O(n.title), 1),
121
121
  e[10] || (e[10] = l("div", { "flex-auto": "" }, null, -1)),
122
122
  t(i).includes(n.name) ? (r(), m(x, { key: 0 }, [
123
123
  l("button", {
124
124
  class: "flex items-center px1 py1 text-sm op65 hover:bg-active hover:op100",
125
- onClick: z(() => {
126
- t(i).indexOf(n.name) !== 0 && A(n.name, -1);
125
+ onClick: D(() => {
126
+ t(i).indexOf(n.name) !== 0 && L(n.name, -1);
127
127
  }, ["stop"])
128
- }, e[8] || (e[8] = [
128
+ }, [...e[8] || (e[8] = [
129
129
  l("div", { class: "i-carbon-caret-up" }, null, -1)
130
- ]), 8, ce),
130
+ ])], 8, ce),
131
131
  l("button", {
132
132
  class: "flex items-center px1 py1 text-sm op65 hover:bg-active hover:op100",
133
- onClick: z(() => {
134
- t(i).indexOf(n.name) !== t(i).length - 1 && A(n.name, 1);
133
+ onClick: D(() => {
134
+ t(i).indexOf(n.name) !== t(i).length - 1 && L(n.name, 1);
135
135
  }, ["stop"])
136
- }, e[9] || (e[9] = [
136
+ }, [...e[9] || (e[9] = [
137
137
  l("div", { class: "i-carbon-caret-down" }, null, -1)
138
- ]), 8, be)
139
- ], 64)) : _("", !0),
138
+ ])], 8, be)
139
+ ], 64)) : U("", !0),
140
140
  l("button", {
141
141
  class: "flex items-center px1 py1 text-sm op65 hover:bg-active hover:op100",
142
- onClick: z((N) => X(n.name), ["stop"])
142
+ onClick: D((P) => X(n.name), ["stop"])
143
143
  }, [
144
144
  l("div", {
145
- class: O(t(i).includes(n.name) ? " i-carbon-pin-filled rotate--45" : " i-carbon-pin op45")
145
+ class: z(t(i).includes(n.name) ? " i-carbon-pin-filled rotate--45" : " i-carbon-pin op45")
146
146
  }, null, 2)
147
147
  ], 8, ye)
148
148
  ])
@@ -150,14 +150,13 @@ const pe = {
150
150
  _: 2
151
151
  }, 1032, ["model-value", "class", "onUpdate:modelValue"]))), 128))
152
152
  ]),
153
- _: 2,
154
- __: [11]
155
- }, 1032, ["class"])) : _("", !0)
153
+ _: 2
154
+ }, 1032, ["class"])) : U("", !0)
156
155
  ], 64))), 128))
157
156
  ]),
158
157
  l("div", Ve, [
159
158
  e[25] || (e[25] = l("h3", { "text-lg": "" }, " Appearance ", -1)),
160
- a(t(U), {
159
+ a(t(I), {
161
160
  p4: "",
162
161
  flex: "~ col gap-2"
163
162
  }, {
@@ -167,7 +166,7 @@ const pe = {
167
166
  animation: !t(G)
168
167
  }, {
169
168
  default: d(({ isDark: o, toggle: f }) => [
170
- a(t($), {
169
+ a(t(j), {
171
170
  outlined: "",
172
171
  type: "primary",
173
172
  onClick: f
@@ -178,10 +177,9 @@ const pe = {
178
177
  "dark:i-carbon-moon": "",
179
178
  "translate-y--1px": ""
180
179
  }, null, -1)),
181
- R(" " + I(o ? "Dark" : "Light"), 1)
180
+ h(" " + O(o ? "Dark" : "Light"), 1)
182
181
  ]),
183
- _: 2,
184
- __: [13]
182
+ _: 2
185
183
  }, 1032, ["onClick"])
186
184
  ]),
187
185
  _: 1
@@ -196,7 +194,7 @@ const pe = {
196
194
  }, null, -1)),
197
195
  e[17] || (e[17] = l("p", null, "UI Scale", -1)),
198
196
  l("div", null, [
199
- a(t(h), {
197
+ a(t(H), {
200
198
  modelValue: t(k),
201
199
  "onUpdate:modelValue": e[0] || (e[0] = (o) => p(k) ? k.value = o : null),
202
200
  options: J.map(([o, f]) => ({ label: o, value: f })),
@@ -210,14 +208,14 @@ const pe = {
210
208
  border: "b base",
211
209
  op75: ""
212
210
  }, null, -1)),
213
- l("div", Ce, [
211
+ l("div", we, [
214
212
  a(t(V), {
215
213
  modelValue: t(S),
216
214
  "onUpdate:modelValue": e[1] || (e[1] = (o) => p(S) ? S.value = o : null)
217
215
  }, null, 8, ["modelValue"]),
218
216
  e[14] || (e[14] = l("span", { op75: "" }, "Expand Sidebar", -1))
219
217
  ]),
220
- l("div", we, [
218
+ l("div", Ce, [
221
219
  a(t(V), {
222
220
  modelValue: t(T),
223
221
  "onUpdate:modelValue": e[2] || (e[2] = (o) => p(T) ? T.value = o : null)
@@ -225,30 +223,29 @@ const pe = {
225
223
  e[15] || (e[15] = l("span", { op75: "" }, "Scrollable Sidebar", -1))
226
224
  ])
227
225
  ]),
228
- _: 1,
229
- __: [16, 17, 18]
226
+ _: 1
230
227
  }),
231
228
  t(q) ? (r(), m(x, { key: 0 }, [
232
229
  e[23] || (e[23] = l("h3", {
233
230
  mt2: "",
234
231
  "text-lg": ""
235
232
  }, " Features ", -1)),
236
- a(t(U), {
233
+ a(t(I), {
237
234
  p4: "",
238
235
  flex: "~ col gap-2"
239
236
  }, {
240
237
  default: d(() => [
241
238
  l("div", Se, [
242
239
  a(t(V), {
243
- modelValue: t(C),
244
- "onUpdate:modelValue": e[3] || (e[3] = (o) => p(C) ? C.value = o : null)
240
+ modelValue: t(w),
241
+ "onUpdate:modelValue": e[3] || (e[3] = (o) => p(w) ? w.value = o : null)
245
242
  }, null, 8, ["modelValue"]),
246
243
  e[19] || (e[19] = l("span", { op75: "" }, "Close DevTools when clicking outside", -1))
247
244
  ]),
248
245
  l("div", Te, [
249
246
  a(t(V), {
250
- modelValue: t(w),
251
- "onUpdate:modelValue": e[4] || (e[4] = (o) => p(w) ? w.value = o : null)
247
+ modelValue: t(C),
248
+ "onUpdate:modelValue": e[4] || (e[4] = (o) => p(C) ? C.value = o : null)
252
249
  }, null, 8, ["modelValue"]),
253
250
  e[20] || (e[20] = l("span", { op75: "" }, "Always show the floating panel", -1))
254
251
  ]),
@@ -261,35 +258,33 @@ const pe = {
261
258
  }, null, -1)),
262
259
  e[22] || (e[22] = l("p", null, "Minimize floating panel on inactive", -1)),
263
260
  l("div", null, [
264
- a(t(h), {
261
+ a(t(H), {
265
262
  modelValue: t(g),
266
263
  "onUpdate:modelValue": e[5] || (e[5] = (o) => p(g) ? g.value = o : null),
267
264
  "button-props": { outlined: !0 },
268
- options: t(L),
265
+ options: t(M),
269
266
  placeholder: t(Z)
270
267
  }, null, 8, ["modelValue", "options", "placeholder"])
271
268
  ])
272
269
  ]),
273
- _: 1,
274
- __: [21, 22]
270
+ _: 1
275
271
  })
276
- ], 64)) : _("", !0),
272
+ ], 64)) : U("", !0),
277
273
  e[26] || (e[26] = l("h3", {
278
274
  mt2: "",
279
275
  "text-lg": ""
280
276
  }, " Debug ", -1)),
281
- l("div", _e, [
282
- a(t($), {
277
+ l("div", Ue, [
278
+ a(t(j), {
283
279
  outlined: "",
284
280
  type: "warning",
285
281
  onClick: e[6] || (e[6] = (o) => y.value = !0)
286
282
  }, {
287
- default: d(() => e[24] || (e[24] = [
283
+ default: d(() => [...e[24] || (e[24] = [
288
284
  l("div", { "i-carbon-breaking-change": "" }, null, -1),
289
- R(" Reset Local Settings & State ", -1)
290
- ])),
291
- _: 1,
292
- __: [24]
285
+ h(" Reset Local Settings & State ", -1)
286
+ ])]),
287
+ _: 1
293
288
  }),
294
289
  a(t(se), {
295
290
  modelValue: t(y),
@@ -308,5 +303,5 @@ const pe = {
308
303
  }
309
304
  });
310
305
  export {
311
- ze as default
306
+ De as default
312
307
  };
@@ -1,4 +1,4 @@
1
- import { d as M, ag as V, i as d, Y as I, ah as D, ai as P, aj as W, c as o, o as l, b as i, a as N, u as e, T, ak as L, w as s, al as $, F as j, x as F, g as w, n as U, H, t as z, E as K, W as Y, s as h, am as q, a7 as G, y as E, ae as J, e as O, an as Q, A, af as R, ao as X } from "./index-1gPbFyyc.js";
1
+ import { d as A, ag as V, i as d, Y as I, ah as D, ai as W, aj as j, c as o, o as l, b as i, a as N, u as e, T, ak as L, q as s, al as $, F, s as P, g as w, n as U, H as q, t as z, E as H, W as K, p as h, am as O, a7 as Y, w as E, ae as G, e as J, an as Q, y as M, af as R, ao as X } from "./index-i0Vo12ev.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"], de = /* @__PURE__ */ M({
19
+ }, ne = { class: "flex items-center gap1" }, se = { class: "p2" }, ie = ["onClick"], re = ["onClick"], de = /* @__PURE__ */ A({
20
20
  __name: "TimelineLayers",
21
21
  props: /* @__PURE__ */ V({
22
22
  data: {}
@@ -28,13 +28,13 @@ const Z = {
28
28
  setup(C, { emit: y }) {
29
29
  const m = y, f = I(), c = d(() => f.timelineLayersState.value.recordingState), r = d(() => f.timelineLayersState.value), b = d(() => c.value ? "Stop recording" : "Start recording"), { colorMode: x } = D();
30
30
  d(() => x.value === "dark");
31
- const _ = P(C, "modelValue");
31
+ const _ = W(C, "modelValue");
32
32
  function u(a) {
33
33
  _.value = a, m("select", a), w.value.updateTimelineLayersState({
34
34
  selected: a
35
35
  });
36
36
  }
37
- W(() => r.value.selected, (a) => {
37
+ j(() => r.value.selected, (a) => {
38
38
  _.value = a;
39
39
  }, {
40
40
  immediate: !0
@@ -118,31 +118,31 @@ const Z = {
118
118
  ])
119
119
  ]),
120
120
  i("ul", se, [
121
- (l(!0), o(j, null, F(a.data, (t) => (l(), o("li", {
121
+ (l(!0), o(F, null, P(a.data, (t) => (l(), o("li", {
122
122
  key: t.id,
123
123
  class: U(["group relative selectable-item", { active: t.id === _.value, op60: !g(t.id) }]),
124
124
  onClick: (n) => u(t.id)
125
125
  }, [
126
- H(z(t.label) + " ", 1),
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: K((n) => S(t.id), ["stop"])
129
+ onClick: H((n) => S(t.id), ["stop"])
130
130
  }, z(g(t.id) ? "Disable" : "Enable"), 9, re)
131
131
  ], 10, ie))), 128))
132
132
  ])
133
133
  ]));
134
134
  }
135
- }), ce = /* @__PURE__ */ Y(de, [["__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" }, _e = /* @__PURE__ */ M({
135
+ }), ce = /* @__PURE__ */ K(de, [["__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" }, _e = /* @__PURE__ */ A({
136
136
  __name: "timeline",
137
137
  setup(C) {
138
- const y = h(), m = h(), f = h(!1), { width: c } = q(m), r = d(() => f.value ? c.value < 700 : !1), b = I(), x = d(() => b.appRecords.value.map((t) => ({
138
+ const y = h(), m = h(), f = h(!1), { width: c } = O(m), r = d(() => f.value ? c.value < 700 : !1), b = I(), x = d(() => b.appRecords.value.map((t) => ({
139
139
  label: t.name + (t.version ? ` (${t.version})` : ""),
140
140
  value: t.id
141
141
  }))), _ = d(() => x.value.map((t) => ({
142
142
  label: t.label,
143
143
  id: t.value
144
144
  }))), u = h(b.activeAppRecordId.value);
145
- G(() => {
145
+ Y(() => {
146
146
  u.value = b.activeAppRecordId.value;
147
147
  });
148
148
  function g(t) {
@@ -177,7 +177,7 @@ const Z = {
177
177
  return (t, n) => {
178
178
  const B = ce;
179
179
  return l(), o("div", ue, [
180
- s(e(J), {
180
+ s(e(G), {
181
181
  ref_key: "splitpanesRef",
182
182
  ref: m,
183
183
  class: "flex-1 overflow-auto",
@@ -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(), O(e(R), {
188
+ e(x).length > 1 ? (l(), J(e(R), {
189
189
  key: 0,
190
190
  border: "base h-full",
191
191
  size: "20"
@@ -194,7 +194,7 @@ const Z = {
194
194
  i("div", pe, [
195
195
  s(e(Q), {
196
196
  modelValue: e(u),
197
- "onUpdate:modelValue": n[0] || (n[0] = (k) => A(u) ? u.value = k : null),
197
+ "onUpdate:modelValue": n[0] || (n[0] = (k) => M(u) ? u.value = k : null),
198
198
  data: e(_),
199
199
  class: "w-full",
200
200
  onSelect: g
@@ -212,7 +212,7 @@ const Z = {
212
212
  i("div", me, [
213
213
  s(B, {
214
214
  modelValue: e(p),
215
- "onUpdate:modelValue": n[1] || (n[1] = (k) => A(p) ? p.value = k : null),
215
+ "onUpdate:modelValue": n[1] || (n[1] = (k) => M(p) ? p.value = k : null),
216
216
  data: S,
217
217
  class: "w-full",
218
218
  onSelect: v,