@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,4 +1,4 @@
1
- import { d as t, c as o, o as s, a, r as n, n as r, b as l, t as i } from "./index-1gPbFyyc.js";
1
+ import { d as t, c as o, o as s, a, r as n, n as r, b as l, t as i } from "./index-i0Vo12ev.js";
2
2
  const c = {
3
3
  flex: "~ gap-3",
4
4
  "items-center": ""
@@ -1,5 +1,5 @@
1
- import { _ as g } from "./IconTitle.vue_vue_type_script_setup_true_lang-BUuVJmL3.js";
2
- import { d as y, S as _, c as l, o as a, F as B, b as o, u as i, T as $, n as r, w as h, y as b, r as s, e as k, a as p, U as w, V as C, H as d, t as c, W as V } from "./index-1gPbFyyc.js";
1
+ import { _ as g } from "./IconTitle.vue_vue_type_script_setup_true_lang-Dw_OETO7.js";
2
+ import { d as y, c as l, o as a, F as B, b as o, u as i, S as _, T as $, n as r, q as h, w as b, r as s, e as k, a as p, U as w, V as C, H as d, t as c, W as V } from "./index-i0Vo12ev.js";
3
3
  const S = ["open"], x = { "text-base": "" }, N = {
4
4
  key: 0,
5
5
  "text-sm": "",
@@ -64,8 +64,7 @@ const S = ["open"], x = { "text-base": "" }, N = {
64
64
  "duration-500": ""
65
65
  })) : p("", !0)
66
66
  ]),
67
- _: 3,
68
- __: [0]
67
+ _: 3
69
68
  }, 8, ["icon", "text", "class"])
70
69
  ], 2),
71
70
  $((a(), l("div", {
@@ -1,6 +1,6 @@
1
- import { d as T, aq as re, ay as Z, i as w, a7 as le, c as p, a as P, o as a, b as r, F as z, x as F, n as M, u as s, t as x, w as A, a6 as ae, e as S, y as C, H as X, r as L, M as Q, T as E, ak as W, az as ue, av as se, S as ne, Y as de, aA as Y, aa as ce, s as D, aB as pe, f as ee, U as J, a5 as oe, ax as H, A as q, aj as te, a8 as he, aC as fe, aD as me, aw as ve, a0 as ye, at as ge, I as _e, J as be, V as we } from "./index-1gPbFyyc.js";
2
- import { _ as $e } from "./SectionBlock-CVoN8mOT.js";
3
- import { _ as xe } from "./IconTitle.vue_vue_type_script_setup_true_lang-BUuVJmL3.js";
1
+ import { d as T, aq as re, ay as Z, i as _, a7 as le, c as p, a as P, o as a, b as r, F as z, s as F, n as M, u as s, t as x, q as C, a6 as ae, e as S, w as A, H as X, r as L, M as Q, T as E, ak as W, az as ue, av as se, Y as de, aA as Y, aa as ce, p as D, S as ne, f as ee, U as q, a5 as oe, aB as pe, ax as H, y as J, aj as te, a8 as he, aC as fe, aD as me, aw as ve, a0 as ye, at as ge, I as be, J as we, V as _e } from "./index-i0Vo12ev.js";
2
+ import { _ as $e } from "./SectionBlock-xKhegVP9.js";
3
+ import { _ as xe } from "./IconTitle.vue_vue_type_script_setup_true_lang-Dw_OETO7.js";
4
4
  const ke = {
5
5
  key: 0,
6
6
  relative: "",
@@ -8,7 +8,7 @@ const ke = {
8
8
  }, Be = {
9
9
  flex: "~ wrap",
10
10
  "w-full": ""
11
- }, Ae = ["onClick"], Ce = {
11
+ }, Ce = ["onClick"], Ae = {
12
12
  flex: "~ gap-2",
13
13
  px3: "",
14
14
  pb3: ""
@@ -19,7 +19,7 @@ const ke = {
19
19
  eventType: {}
20
20
  },
21
21
  setup(f) {
22
- const n = f, e = re(n.codeSnippets[0]), { copy: t } = Z(), i = w(() => e.value?.lang || "text");
22
+ const n = f, e = re(n.codeSnippets[0]), { copy: t } = Z(), i = _(() => e.value?.lang || "text");
23
23
  return le(() => {
24
24
  n.codeSnippets.includes(e.value) || (e.value = n.codeSnippets[0]);
25
25
  }), (o, l) => o.codeSnippets.length ? (a(), p("div", ke, [
@@ -37,14 +37,14 @@ const ke = {
37
37
  class: M(d === s(e) ? "" : "op30"),
38
38
  "font-mono": ""
39
39
  }, x(d.name), 3)
40
- ], 10, Ae))), 128)),
40
+ ], 10, Ce))), 128)),
41
41
  l[1] || (l[1] = r("div", {
42
42
  border: "b base",
43
43
  "flex-auto": ""
44
44
  }, null, -1))
45
45
  ]),
46
46
  s(e) ? (a(), p(z, { key: 0 }, [
47
- A(s(ae), {
47
+ C(s(ae), {
48
48
  code: s(e).code,
49
49
  lang: s(i),
50
50
  lines: !1,
@@ -52,32 +52,30 @@ const ke = {
52
52
  "of-auto": "",
53
53
  p3: ""
54
54
  }, null, 8, ["code", "lang"]),
55
- r("div", Ce, [
56
- A(s(Q), {
55
+ r("div", Ae, [
56
+ C(s(Q), {
57
57
  onClick: l[0] || (l[0] = (d) => s(t)(s(e).code, { silent: !1, type: o.eventType || `code-snippet-${s(e).name}` }))
58
58
  }, {
59
- icon: C(() => [
59
+ icon: A(() => [
60
60
  L(o.$slots, "i-carbon-copy")
61
61
  ]),
62
- default: C(() => [
62
+ default: A(() => [
63
63
  l[2] || (l[2] = X(" Copy ", -1))
64
64
  ]),
65
- _: 3,
66
- __: [2]
65
+ _: 3
67
66
  }),
68
67
  s(e)?.docs ? (a(), S(s(Q), {
69
68
  key: 0,
70
69
  to: s(e).docs,
71
70
  target: "_blank"
72
71
  }, {
73
- icon: C(() => [
72
+ icon: A(() => [
74
73
  L(o.$slots, "i-carbon-catalog")
75
74
  ]),
76
- default: C(() => [
75
+ default: A(() => [
77
76
  l[3] || (l[3] = X(" Docs ", -1))
78
77
  ]),
79
- _: 3,
80
- __: [3]
78
+ _: 3
81
79
  }, 8, ["to"])) : P("", !0)
82
80
  ])
83
81
  ], 64)) : P("", !0)
@@ -91,7 +89,7 @@ const ke = {
91
89
  subpath: { type: Boolean }
92
90
  },
93
91
  setup(f) {
94
- const n = f, e = w(
92
+ const n = f, e = _(
95
93
  () => ({ path: n.filepath })
96
94
  ), { copy: t } = Z();
97
95
  return (i, o) => E((a(), p("button", {
@@ -110,7 +108,7 @@ const ke = {
110
108
  function je(f) {
111
109
  return typeof f == "string" ? `'${f}'` : new Ve().serialize(f);
112
110
  }
113
- const Ve = /* @__PURE__ */ function() {
111
+ const Ve = /* @__PURE__ */ (function() {
114
112
  class f {
115
113
  #e = /* @__PURE__ */ new Map();
116
114
  compare(e, t) {
@@ -197,7 +195,7 @@ const Ve = /* @__PURE__ */ function() {
197
195
  return `${n}[${e.join("n,")}${e.length > 0 ? "n" : ""}]`;
198
196
  };
199
197
  return f;
200
- }(), Ie = [1779033703, -1150833019, 1013904242, -1521486534, 1359893119, -1694144372, 528734635, 1541459225], De = [1116352408, 1899447441, -1245643825, -373957723, 961987163, 1508970993, -1841331548, -1424204075, -670586216, 310598401, 607225278, 1426881987, 1925078388, -2132889090, -1680079193, -1046744716, -459576895, -272742522, 264347078, 604807628, 770255983, 1249150122, 1555081692, 1996064986, -1740746414, -1473132947, -1341970488, -1084653625, -958395405, -710438585, 113926993, 338241895, 666307205, 773529912, 1294757372, 1396182291, 1695183700, 1986661051, -2117940946, -1838011259, -1564481375, -1474664885, -1035236496, -949202525, -778901479, -694614492, -200395387, 275423344, 430227734, 506948616, 659060556, 883997877, 958139571, 1322822218, 1537002063, 1747873779, 1955562222, 2024104815, -2067236844, -1933114872, -1866530822, -1538233109, -1090935817, -965641998], Te = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_", O = [];
198
+ })(), Ie = [1779033703, -1150833019, 1013904242, -1521486534, 1359893119, -1694144372, 528734635, 1541459225], De = [1116352408, 1899447441, -1245643825, -373957723, 961987163, 1508970993, -1841331548, -1424204075, -670586216, 310598401, 607225278, 1426881987, 1925078388, -2132889090, -1680079193, -1046744716, -459576895, -272742522, 264347078, 604807628, 770255983, 1249150122, 1555081692, 1996064986, -1740746414, -1473132947, -1341970488, -1084653625, -958395405, -710438585, 113926993, 338241895, 666307205, 773529912, 1294757372, 1396182291, 1695183700, 1986661051, -2117940946, -1838011259, -1564481375, -1474664885, -1035236496, -949202525, -778901479, -694614492, -200395387, 275423344, 430227734, 506948616, 659060556, 883997877, 958139571, 1322822218, 1537002063, 1747873779, 1955562222, 2024104815, -2067236844, -1933114872, -1866530822, -1538233109, -1090935817, -965641998], Te = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_", O = [];
201
199
  class Ue {
202
200
  _data = new G();
203
201
  _hash = new G([...Ie]);
@@ -211,13 +209,13 @@ class Ue {
211
209
  _doProcessBlock(n, e) {
212
210
  const t = this._hash.words;
213
211
  let i = t[0], o = t[1], l = t[2], d = t[3], m = t[4], v = t[5], j = t[6], V = t[7];
214
- for (let b = 0; b < 64; b++) {
215
- if (b < 16) O[b] = n[e + b] | 0;
212
+ for (let w = 0; w < 64; w++) {
213
+ if (w < 16) O[w] = n[e + w] | 0;
216
214
  else {
217
- const c = O[b - 15], u = (c << 25 | c >>> 7) ^ (c << 14 | c >>> 18) ^ c >>> 3, $ = O[b - 2], k = ($ << 15 | $ >>> 17) ^ ($ << 13 | $ >>> 19) ^ $ >>> 10;
218
- O[b] = u + O[b - 7] + k + O[b - 16];
215
+ const c = O[w - 15], u = (c << 25 | c >>> 7) ^ (c << 14 | c >>> 18) ^ c >>> 3, $ = O[w - 2], k = ($ << 15 | $ >>> 17) ^ ($ << 13 | $ >>> 19) ^ $ >>> 10;
216
+ O[w] = u + O[w - 7] + k + O[w - 16];
219
217
  }
220
- const U = m & v ^ ~m & j, K = i & o ^ i & l ^ o & l, g = (i << 30 | i >>> 2) ^ (i << 19 | i >>> 13) ^ (i << 10 | i >>> 22), h = (m << 26 | m >>> 6) ^ (m << 21 | m >>> 11) ^ (m << 7 | m >>> 25), y = V + h + U + De[b] + O[b], I = g + K;
218
+ const U = m & v ^ ~m & j, K = i & o ^ i & l ^ o & l, g = (i << 30 | i >>> 2) ^ (i << 19 | i >>> 13) ^ (i << 10 | i >>> 22), h = (m << 26 | m >>> 6) ^ (m << 21 | m >>> 11) ^ (m << 7 | m >>> 25), y = V + h + U + De[w] + O[w], I = g + K;
221
219
  V = j, j = v, v = m, m = d + y | 0, d = l, l = o, o = i, i = y + I | 0;
222
220
  }
223
221
  t[0] = t[0] + i | 0, t[1] = t[1] + o | 0, t[2] = t[2] + l | 0, t[3] = t[3] + d | 0, t[4] = t[4] + m | 0, t[5] = t[5] + v | 0, t[6] = t[6] + j | 0, t[7] = t[7] + V | 0;
@@ -276,8 +274,8 @@ const Ee = /* @__PURE__ */ T({
276
274
  asset: {}
277
275
  },
278
276
  setup(f) {
279
- const n = f, e = w(() => `devtools-assets-${Fe(n.asset)}`);
280
- return ue(w(() => `
277
+ const n = f, e = _(() => `devtools-assets-${Fe(n.asset)}`);
278
+ return ue(_(() => `
281
279
  @font-face {
282
280
  font-family: '${e.value}';
283
281
  src: url('${n.asset.publicPath}');
@@ -305,7 +303,7 @@ const Ee = /* @__PURE__ */ T({
305
303
  "w-full": "",
306
304
  "self-start": "",
307
305
  p4: ""
308
- }, Je = ["textContent"], qe = { key: 4 }, Ge = ["src", "autoplay", "controls"], Xe = { key: 5 }, He = {
306
+ }, qe = ["textContent"], Je = { key: 4 }, Ge = ["src", "autoplay", "controls"], Xe = { key: 5 }, He = {
309
307
  key: 0,
310
308
  "i-carbon-volume-up": "",
311
309
  "text-3xl": "",
@@ -346,8 +344,8 @@ const Ee = /* @__PURE__ */ T({
346
344
  "text-xs": "",
347
345
  "font-mono": "",
348
346
  textContent: x(n.textContent)
349
- }, null, 8, Je)
350
- ])) : n.asset.type === "video" ? (a(), p("div", qe, [
347
+ }, null, 8, qe)
348
+ ])) : n.asset.type === "video" ? (a(), p("div", Je, [
351
349
  r("video", {
352
350
  src: n.asset.publicPath,
353
351
  autoplay: n.detail,
@@ -398,16 +396,16 @@ const Ee = /* @__PURE__ */ T({
398
396
  modelValue: {}
399
397
  },
400
398
  setup(f, { emit: n }) {
401
- const e = f, t = n, i = de(), o = ne(e, "modelValue", t, { passive: !0 }), l = w(() => i.vitePluginDetected.value), d = Y(() => H.value.getAssetImporters(o.value.publicPath).then((c) => c), []), m = w(() => ce.value), v = Y(() => {
399
+ const e = f, t = n, i = de(), o = ne(e, "modelValue", t, { passive: !0 }), l = _(() => i.vitePluginDetected.value), d = Y(() => H.value.getAssetImporters(o.value.publicPath).then((c) => c), []), m = _(() => ce.value), v = Y(() => {
402
400
  if (o.value.type === "image")
403
401
  return H.value.getImageMeta(o.value.filePath).then((c) => c);
404
- }), j = D(), V = D(0), b = Y(async () => {
402
+ }), j = D(), V = D(0), w = Y(async () => {
405
403
  if (o.value.type !== "text")
406
404
  return;
407
405
  V.value;
408
406
  const c = await H.value.getTextAssetContent(o.value.filePath).then((u) => u);
409
407
  return j.value = c, c;
410
- }), U = w(() => {
408
+ }), U = _(() => {
411
409
  const c = [];
412
410
  if (o.value.type === "image") {
413
411
  const u = v.value?.width ? `
@@ -426,15 +424,15 @@ const Ee = /* @__PURE__ */ T({
426
424
  </a>`,
427
425
  name: "Download link"
428
426
  }), c;
429
- }), { copy: K } = Z(), g = pe(() => o.value.mtime), h = w(() => {
427
+ }), { copy: K } = Z(), g = pe(() => o.value.mtime), h = _(() => {
430
428
  const c = o.value.size;
431
429
  return c < 1024 ? `${c} B` : c < 1024 * 1024 ? `${(c / 1024).toFixed(2)} KB` : `${(c / 1024 / 1024).toFixed(2)} MB`;
432
- }), y = w(() => {
430
+ }), y = _(() => {
433
431
  if (!v.value?.width || !v.value?.height)
434
432
  return "";
435
433
  const c = ($, k) => k ? c(k, $ % k) : $, u = c(v.value.width, v.value.height);
436
434
  return u > 3 ? `${v.value.width / u}:${v.value.height / u}` : "";
437
- }), I = w(() => [
435
+ }), I = _(() => [
438
436
  "image",
439
437
  "text",
440
438
  "video",
@@ -442,7 +440,7 @@ const Ee = /* @__PURE__ */ T({
442
440
  "font"
443
441
  ].includes(o.value.type));
444
442
  return (c, u) => {
445
- const $ = ie, k = ze, R = oe("RouterLink"), _ = Pe;
443
+ const $ = ie, k = ze, R = oe("RouterLink"), b = Pe;
446
444
  return a(), p("div", Qe, [
447
445
  s(I) ? (a(), p(z, { key: 0 }, [
448
446
  u[2] || (u[2] = r("div", {
@@ -456,7 +454,7 @@ const Ee = /* @__PURE__ */ T({
456
454
  r("div", { "x-divider": "" })
457
455
  ], -1)),
458
456
  r("div", Ze, [
459
- A($, {
457
+ C($, {
460
458
  detail: "",
461
459
  "max-h-80": "",
462
460
  "min-h-20": "",
@@ -465,7 +463,7 @@ const Ee = /* @__PURE__ */ T({
465
463
  rounded: "",
466
464
  border: "~ base",
467
465
  asset: s(o),
468
- "text-content": s(b)
466
+ "text-content": s(w)
469
467
  }, null, 8, ["asset", "text-content"])
470
468
  ])
471
469
  ], 64)) : P("", !0),
@@ -491,11 +489,11 @@ const Ee = /* @__PURE__ */ T({
491
489
  }, " Filepath ", -1)),
492
490
  r("td", null, [
493
491
  r("div", tt, [
494
- A(k, {
492
+ C(k, {
495
493
  filepath: s(o).filePath,
496
494
  "text-left": ""
497
495
  }, null, 8, ["filepath"]),
498
- s(l) && s(m) ? E((a(), S(s(J), {
496
+ s(l) && s(m) ? E((a(), S(s(q), {
499
497
  key: 0,
500
498
  title: "Open in Editor",
501
499
  icon: "i-carbon-launch",
@@ -520,7 +518,7 @@ const Ee = /* @__PURE__ */ T({
520
518
  r("td", null, [
521
519
  r("div", st, [
522
520
  r("div", nt, x(s(o).publicPath), 1),
523
- E(A(s(J), {
521
+ E(C(s(q), {
524
522
  title: "Copy public path",
525
523
  icon: "i-carbon-copy",
526
524
  action: "",
@@ -532,12 +530,12 @@ const Ee = /* @__PURE__ */ T({
532
530
  }, null, 512), [
533
531
  [s(W), "Copy public path"]
534
532
  ]),
535
- A(R, {
533
+ C(R, {
536
534
  to: s(o).publicPath,
537
535
  target: "_blank"
538
536
  }, {
539
- default: C(() => [
540
- E(A(s(J), {
537
+ default: A(() => [
538
+ E(C(s(q), {
541
539
  icon: "i-carbon-launch",
542
540
  action: "",
543
541
  "flex-none": "",
@@ -623,11 +621,11 @@ const Ee = /* @__PURE__ */ T({
623
621
  "w-full": "",
624
622
  "items-center": ""
625
623
  }, [
626
- A(k, {
624
+ C(k, {
627
625
  filepath: B.id || B.url,
628
626
  "text-left": ""
629
627
  }, null, 8, ["filepath"]),
630
- s(i).vitePluginDetected.value && s(m) && B.id ? E((a(), S(s(J), {
628
+ s(i).vitePluginDetected.value && s(m) && B.id ? E((a(), S(s(q), {
631
629
  key: 0,
632
630
  title: "Open in Editor",
633
631
  icon: "i-carbon-launch",
@@ -656,23 +654,22 @@ const Ee = /* @__PURE__ */ T({
656
654
  r("div", { "x-divider": "" })
657
655
  ], -1)),
658
656
  r("div", lt, [
659
- A(s(Q), {
657
+ C(s(Q), {
660
658
  to: s(o).publicPath,
661
659
  download: "",
662
660
  target: "_blank"
663
661
  }, {
664
- icon: C(() => [
662
+ icon: A(() => [
665
663
  L(c.$slots, "i-carbon-download")
666
664
  ]),
667
- default: C(() => [
665
+ default: A(() => [
668
666
  u[11] || (u[11] = X(" Download ", -1))
669
667
  ]),
670
- _: 3,
671
- __: [11]
668
+ _: 3
672
669
  }, 8, ["to"])
673
670
  ]),
674
671
  u[14] || (u[14] = r("div", { "flex-auto": "" }, null, -1)),
675
- s(U).length ? (a(), S(_, {
672
+ s(U).length ? (a(), S(b, {
676
673
  key: 1,
677
674
  border: "t base",
678
675
  "mx--4": "",
@@ -690,7 +687,7 @@ const Ee = /* @__PURE__ */ T({
690
687
  modelValue: {}
691
688
  },
692
689
  setup(f, { emit: n }) {
693
- const e = f, i = ne(e, "modelValue", n, { passive: !0 }), o = w(() => e.item?.children?.length), l = D(!0), d = w(() => o.value ? "i-carbon-folder" : e.item.type === "image" ? "i-carbon-image" : e.item.type === "video" ? "i-carbon-video" : e.item.type === "audio" ? "i-carbon-volume-up" : e.item.type === "font" ? "i-carbon-text-small-caps" : e.item.type === "text" ? "i-carbon-document" : e.item.type === "json" ? "i-carbon-json" : e.item.type === "wasm" ? "i-vscode-icons-file-type-wasm" : "i-carbon-document-blank");
690
+ const e = f, i = ne(e, "modelValue", n, { passive: !0 }), o = _(() => e.item?.children?.length), l = D(!0), d = _(() => o.value ? "i-carbon-folder" : e.item.type === "image" ? "i-carbon-image" : e.item.type === "video" ? "i-carbon-video" : e.item.type === "audio" ? "i-carbon-volume-up" : e.item.type === "font" ? "i-carbon-text-small-caps" : e.item.type === "text" ? "i-carbon-document" : e.item.type === "json" ? "i-carbon-json" : e.item.type === "wasm" ? "i-vscode-icons-file-type-wasm" : "i-carbon-document-blank");
694
691
  return (m, v) => {
695
692
  const j = oe("AssetListItem", !0);
696
693
  return a(), p("div", null, [
@@ -716,7 +713,7 @@ const Ee = /* @__PURE__ */ T({
716
713
  "text-sm": "",
717
714
  "font-mono": ""
718
715
  }, x(m.item.path), 3),
719
- s(o) ? (a(), S(s(J), {
716
+ s(o) ? (a(), S(s(q), {
720
717
  key: 0,
721
718
  icon: "carbon:chevron-right",
722
719
  "transform-rotate": s(l) ? 90 : 0,
@@ -727,7 +724,7 @@ const Ee = /* @__PURE__ */ T({
727
724
  (a(!0), p(z, null, F(m.item?.children, (V) => (a(), S(j, {
728
725
  key: V.filepath,
729
726
  modelValue: s(i),
730
- "onUpdate:modelValue": v[1] || (v[1] = (b) => q(i) ? i.value = b : null),
727
+ "onUpdate:modelValue": v[1] || (v[1] = (w) => J(i) ? i.value = w : null),
731
728
  item: V,
732
729
  index: m.index + 1
733
730
  }, null, 8, ["modelValue", "item", "index"]))), 128))
@@ -756,11 +753,11 @@ const Ee = /* @__PURE__ */ T({
756
753
  folder: {}
757
754
  },
758
755
  setup(f) {
759
- const n = f, e = w(() => n.folder && n.asset.path.startsWith(n.folder) ? n.asset.path.slice(n.folder.length) : n.asset.path);
756
+ const n = f, e = _(() => n.folder && n.asset.path.startsWith(n.folder) ? n.asset.path.slice(n.folder.length) : n.asset.path);
760
757
  return (t, i) => {
761
758
  const o = ie;
762
759
  return a(), p("button", dt, [
763
- A(o, {
760
+ C(o, {
764
761
  "h-30": "",
765
762
  "w-30": "",
766
763
  rounded: "",
@@ -799,7 +796,7 @@ const Ee = /* @__PURE__ */ T({
799
796
  o.search !== void 0 ? (a(), S(s(he), {
800
797
  key: 0,
801
798
  modelValue: s(i),
802
- "onUpdate:modelValue": l[0] || (l[0] = (d) => q(i) ? i.value = d : null),
799
+ "onUpdate:modelValue": l[0] || (l[0] = (d) => J(i) ? i.value = d : null),
803
800
  placeholder: "Search...",
804
801
  "left-icon": "i-carbon-search",
805
802
  class: M(["flex-auto", { "px-5 py-2": !o.noPadding }])
@@ -823,7 +820,7 @@ const Ee = /* @__PURE__ */ T({
823
820
  "flex-none": "",
824
821
  flex: "~ gap2 items-center",
825
822
  "text-lg": ""
826
- }, _t = {
823
+ }, bt = {
827
824
  flex: "~ items-center justify-center",
828
825
  absolute: "",
829
826
  "bottom-0": "",
@@ -834,13 +831,13 @@ const Ee = /* @__PURE__ */ T({
834
831
  "bg-primary-800": "",
835
832
  "text-8px": "",
836
833
  "text-white": ""
837
- }, bt = {
834
+ }, wt = {
838
835
  "w-full": "",
839
836
  flex: "~ gap-2 items-center",
840
837
  rounded: "",
841
838
  px2: "",
842
839
  py2: ""
843
- }, wt = {
840
+ }, _t = {
844
841
  "text-xs": "",
845
842
  op75: ""
846
843
  }, $t = { op50: "" }, xt = { key: 0 }, kt = {
@@ -851,10 +848,10 @@ const Ee = /* @__PURE__ */ T({
851
848
  key: 1,
852
849
  p2: "",
853
850
  grid: "~ cols-minmax-8rem"
854
- }, At = { key: 1 }, Ct = 50, Vt = /* @__PURE__ */ T({
851
+ }, Ct = { key: 1 }, At = 50, Vt = /* @__PURE__ */ T({
855
852
  __name: "assets",
856
853
  setup(f) {
857
- const n = D(""), e = D(), t = D("grid"), i = D([]), o = w(() => {
854
+ const n = D(""), e = D(), t = D("grid"), i = D([]), o = _(() => {
858
855
  const g = [];
859
856
  for (const h of i.value || []) {
860
857
  const y = h.path.split(".").pop();
@@ -865,21 +862,21 @@ const Ee = /* @__PURE__ */ T({
865
862
  fe(() => o.value, (g) => {
866
863
  l.value = g.map((h) => h.value);
867
864
  });
868
- const d = D(), m = w(() => new me(i.value || [], {
865
+ const d = D(), m = _(() => new me(i.value || [], {
869
866
  keys: [
870
867
  "path"
871
868
  ]
872
- })), v = w(() => (n.value ? m.value.search(n.value).map((h) => h.item) : i.value || []).filter((h) => {
869
+ })), v = _(() => (n.value ? m.value.search(n.value).map((h) => h.item) : i.value || []).filter((h) => {
873
870
  const y = h.path.split(".").pop();
874
871
  return !y || l.value.includes(y);
875
- })), j = w(() => {
872
+ })), j = _(() => {
876
873
  const g = {};
877
874
  for (const h of v.value) {
878
875
  const y = `${h.relativePath.split("/").slice(0, -1).join("/")}/`;
879
876
  g[y] || (g[y] = []), g[y].push(h);
880
877
  }
881
878
  return Object.entries(g).sort(([h], [y]) => h.localeCompare(y));
882
- }), V = w(() => {
879
+ }), V = _(() => {
883
880
  const g = { children: [] }, h = (y, I, c) => {
884
881
  const [u, ...$] = I;
885
882
  let k = y.children.find((R) => R.path === u);
@@ -890,16 +887,16 @@ const Ee = /* @__PURE__ */ T({
890
887
  h(g, I, y);
891
888
  }), g.children;
892
889
  });
893
- function b() {
890
+ function w() {
894
891
  H.value.getStaticAssets().then((g) => {
895
892
  i.value = g;
896
893
  });
897
894
  }
898
895
  function U() {
899
- b();
896
+ w();
900
897
  }
901
898
  ve(() => {
902
- b(), H.functions.on("assetsUpdated", U);
899
+ w(), H.functions.on("assetsUpdated", U);
903
900
  });
904
901
  function K() {
905
902
  t.value = t.value === "list" ? "grid" : "list";
@@ -907,26 +904,26 @@ const Ee = /* @__PURE__ */ T({
907
904
  return ye(() => {
908
905
  H.functions.off("assetsUpdated", U);
909
906
  }), (g, h) => {
910
- const y = xe, I = mt, c = pt, u = $e, $ = ut, k = at, R = we("tooltip");
907
+ const y = xe, I = mt, c = pt, u = $e, $ = ut, k = at, R = _e("tooltip");
911
908
  return a(), p("div", vt, [
912
909
  r("div", yt, [
913
- A(I, {
910
+ C(I, {
914
911
  ref_key: "navbar",
915
912
  ref: e,
916
913
  search: s(n),
917
- "onUpdate:search": h[1] || (h[1] = (_) => q(n) ? n.value = _ : null),
914
+ "onUpdate:search": h[1] || (h[1] = (b) => J(n) ? n.value = b : null),
918
915
  pb2: "",
919
916
  "no-padding": !0
920
917
  }, {
921
- actions: C(() => [
918
+ actions: A(() => [
922
919
  r("div", gt, [
923
- A(s(_e), {
920
+ C(s(be), {
924
921
  modelValue: s(l),
925
- "onUpdate:modelValue": h[0] || (h[0] = (_) => q(l) ? l.value = _ : null),
922
+ "onUpdate:modelValue": h[0] || (h[0] = (b) => J(l) ? l.value = b : null),
926
923
  multiple: !0,
927
924
  options: s(o)
928
925
  }, {
929
- button: C(() => [
926
+ button: A(() => [
930
927
  E((a(), S(y, {
931
928
  icon: "i-carbon-filter hover:op50",
932
929
  border: !1,
@@ -938,8 +935,8 @@ const Ee = /* @__PURE__ */ T({
938
935
  onClick: () => {
939
936
  }
940
937
  }, {
941
- default: C(() => [
942
- r("span", _t, x(s(l).length), 1)
938
+ default: A(() => [
939
+ r("span", bt, x(s(l).length), 1)
943
940
  ]),
944
941
  _: 1
945
942
  })), [
@@ -951,18 +948,18 @@ const Ee = /* @__PURE__ */ T({
951
948
  ]
952
949
  ])
953
950
  ]),
954
- item: C(({
955
- item: _,
951
+ item: A(({
952
+ item: b,
956
953
  active: B
957
954
  }) => [
958
- r("div", bt, [
959
- A(s(be), { "model-value": B }, null, 8, ["model-value"]),
960
- r("span", wt, x(_.label), 1)
955
+ r("div", wt, [
956
+ C(s(we), { "model-value": B }, null, 8, ["model-value"]),
957
+ r("span", _t, x(b.label), 1)
961
958
  ])
962
959
  ]),
963
960
  _: 1
964
961
  }, 8, ["modelValue", "options"]),
965
- E(A(s(J), {
962
+ E(C(s(q), {
966
963
  border: !1,
967
964
  icon: s(t) === "grid" ? "i-carbon-list" : "i-carbon-grid",
968
965
  title: "Toggle view",
@@ -980,7 +977,7 @@ const Ee = /* @__PURE__ */ T({
980
977
  ])
981
978
  ])
982
979
  ]),
983
- default: C(() => [
980
+ default: A(() => [
984
981
  r("div", $t, [
985
982
  s(n) ? (a(), p("span", xt, x(s(v).length) + " matched · ", 1)) : P("", !0),
986
983
  r("span", null, x(s(i)?.length) + " assets in total", 1)
@@ -989,56 +986,56 @@ const Ee = /* @__PURE__ */ T({
989
986
  _: 1
990
987
  }, 8, ["search"]),
991
988
  s(t) === "grid" ? (a(), p(z, { key: 0 }, [
992
- s(j).length > 1 ? (a(!0), p(z, { key: 0 }, F(s(j), ([_, B]) => (a(), S(u, {
993
- key: _,
994
- text: _,
989
+ s(j).length > 1 ? (a(!0), p(z, { key: 0 }, F(s(j), ([b, B]) => (a(), S(u, {
990
+ key: b,
991
+ text: b,
995
992
  description: `${B.length} items`,
996
- open: B.length <= Ct,
993
+ open: B.length <= At,
997
994
  padding: !1
998
995
  }, {
999
- default: C(() => [
996
+ default: A(() => [
1000
997
  r("div", kt, [
1001
998
  (a(!0), p(z, null, F(B, (N) => (a(), S(c, {
1002
999
  key: N.path,
1003
1000
  asset: N,
1004
- folder: _,
1001
+ folder: b,
1005
1002
  onClick: (Pt) => d.value = N
1006
1003
  }, null, 8, ["asset", "folder", "onClick"]))), 128))
1007
1004
  ])
1008
1005
  ]),
1009
1006
  _: 2
1010
1007
  }, 1032, ["text", "description", "open"]))), 128)) : (a(), p("div", Bt, [
1011
- (a(!0), p(z, null, F(s(v), (_) => (a(), S(c, {
1012
- key: _.path,
1013
- asset: _,
1014
- onClick: (B) => d.value = _
1008
+ (a(!0), p(z, null, F(s(v), (b) => (a(), S(c, {
1009
+ key: b.path,
1010
+ asset: b,
1011
+ onClick: (B) => d.value = b
1015
1012
  }, null, 8, ["asset", "onClick"]))), 128))
1016
1013
  ]))
1017
- ], 64)) : (a(), p("div", At, [
1018
- (a(!0), p(z, null, F(s(V), (_, B) => (a(), S($, {
1014
+ ], 64)) : (a(), p("div", Ct, [
1015
+ (a(!0), p(z, null, F(s(V), (b, B) => (a(), S($, {
1019
1016
  key: B,
1020
1017
  modelValue: s(d),
1021
- "onUpdate:modelValue": h[2] || (h[2] = (N) => q(d) ? d.value = N : null),
1022
- item: _
1018
+ "onUpdate:modelValue": h[2] || (h[2] = (N) => J(d) ? d.value = N : null),
1019
+ item: b
1023
1020
  }, null, 8, ["modelValue", "item"]))), 128))
1024
1021
  ]))
1025
1022
  ]),
1026
- A(s(ge), {
1023
+ C(s(ge), {
1027
1024
  "model-value": !!s(d),
1028
1025
  top: s(e),
1029
1026
  permanent: "",
1030
1027
  "mount-to": ".drawer-container",
1031
1028
  position: "absolute",
1032
1029
  "content-class": "w120 text-sm",
1033
- "onUpdate:modelValue": h[4] || (h[4] = (_) => {
1034
- _ || (d.value = void 0);
1030
+ "onUpdate:modelValue": h[4] || (h[4] = (b) => {
1031
+ b || (d.value = void 0);
1035
1032
  })
1036
1033
  }, {
1037
- default: C(() => [
1034
+ default: A(() => [
1038
1035
  s(d) ? (a(), S(k, {
1039
1036
  key: 0,
1040
1037
  modelValue: s(d),
1041
- "onUpdate:modelValue": h[3] || (h[3] = (_) => q(d) ? d.value = _ : null)
1038
+ "onUpdate:modelValue": h[3] || (h[3] = (b) => J(d) ? d.value = b : null)
1042
1039
  }, null, 8, ["modelValue"])) : P("", !0)
1043
1040
  ]),
1044
1041
  _: 1
@@ -1,4 +1,4 @@
1
- import { d as p, e as a, u as n, f as s, p as r, o as c, g as e } from "./index-1gPbFyyc.js";
1
+ import { d as p, e as a, u as n, f as r, C as s, o as c, g as e } from "./index-i0Vo12ev.js";
2
2
  /* empty css */
3
3
  const d = /* @__PURE__ */ p({
4
4
  __name: "components",
@@ -9,8 +9,8 @@ const d = /* @__PURE__ */ p({
9
9
  function t() {
10
10
  e.value.emit("toggle-panel", !0);
11
11
  }
12
- return (l, u) => (c(), a(n(r), {
13
- onOpenInEditor: n(s),
12
+ return (l, u) => (c(), a(n(s), {
13
+ onOpenInEditor: n(r),
14
14
  onOnInspectComponentStart: o,
15
15
  onOnInspectComponentEnd: t
16
16
  }, null, 8, ["onOpenInEditor"]));
@@ -1,4 +1,4 @@
1
- import { d as m, s as d, Q as p, i as f, L as x, c as v, e as _, a as g, u as e, b as o, H as b, t as k, R as T, o as i, O as y } from "./index-1gPbFyyc.js";
1
+ import { d as m, p, Q as d, i as f, L as x, c as v, e as _, a as g, u as e, b as o, H as b, t as k, R as y, o as i, O as T } from "./index-i0Vo12ev.js";
2
2
  /* empty css */
3
3
  const B = {
4
4
  key: 0,
@@ -13,7 +13,7 @@ const B = {
13
13
  }, R = { "text-xl": "" }, w = { "text-rose": "" }, V = /* @__PURE__ */ m({
14
14
  __name: "custom-inspector-tab-view",
15
15
  setup(C) {
16
- const a = x(), u = y(), n = d(!1), c = p(), r = f(() => c.value.find((s) => s.name === a.params.name)?.pluginId);
16
+ const a = x(), u = T(), n = p(!1), c = d(), r = f(() => c.value.find((s) => s.name === a.params.name)?.pluginId);
17
17
  function l() {
18
18
  n.value = !0;
19
19
  const s = setTimeout(() => {
@@ -37,7 +37,7 @@ const B = {
37
37
  "animate-pulse": ""
38
38
  }, " Redirecting to overview page... ", -1))
39
39
  ])
40
- ])) : !e(n) && e(r) ? (i(), _(e(T), {
40
+ ])) : !e(n) && e(r) ? (i(), _(e(y), {
41
41
  key: 1,
42
42
  id: e(a).params.name,
43
43
  "plugin-id": e(r),