@pubinfo/devtools 2.1.10 → 2.1.12

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.
Files changed (35) hide show
  1. package/dist/client/assets/{Navbar-BQK6jUhq.js → Navbar-DYyO71VR.js} +27 -3
  2. package/dist/client/assets/{PanelGrids-Bd6D6enp.js → PanelGrids-rTFcKhN6.js} +4 -2
  3. package/dist/client/assets/{SelectTabs-CTO4P53M.js → SelectTabs-Ba4fEjYh.js} +17 -2
  4. package/dist/client/assets/{_plugin-vue_export-helper-D8E0syuh.js → _plugin-vue_export-helper-Ctigiz3_.js} +2 -0
  5. package/dist/client/assets/{component-D5gKG7wj.js → component-Cy0W8Ddj.js} +39 -4
  6. package/dist/client/assets/{core-D6JqxgYq.js → core-CrqZ8qrs.js} +1300 -24
  7. package/dist/client/assets/{css-DbgpCiOq.js → css-3PrNsnPt.js} +1 -0
  8. package/dist/client/assets/css-mRoPUXX2.js +2 -0
  9. package/dist/client/assets/{engine-oniguruma-n-bafM3H.js → engine-oniguruma-C1mOz3PQ.js} +2 -0
  10. package/dist/client/assets/{fetch-CFHiXvGO.js → fetch-Bz1BNH1Z.js} +159 -5
  11. package/dist/client/assets/{html-Tu6OX5Eq.js → html-B5Ny8iin.js} +4 -2
  12. package/dist/client/assets/html-g0uz4re7.js +2 -0
  13. package/dist/client/assets/{import-w1c5mo52.js → import-gNFdeWVi.js} +33 -4
  14. package/dist/client/assets/index-CWvhvxM4.js +5208 -0
  15. package/dist/client/assets/{issue-CCThaaVh.js → issue-Yr5hL5Lv.js} +22 -3
  16. package/dist/client/assets/{javascript-_FvKZjd1.js → javascript-D9OtNJpI.js} +1 -0
  17. package/dist/client/assets/javascript-yBXmlTMV.js +2 -0
  18. package/dist/client/assets/json-CDHOIUIc.js +2 -0
  19. package/dist/client/assets/{json-CzPoZe0r.js → json-DFv6u-UA.js} +1 -0
  20. package/dist/client/assets/{pages-Cq5pNVp0.js → pages-CuyX8oYZ.js} +33 -9
  21. package/dist/client/assets/{index-D_HRlfbv.js → runtime-core.esm-bundler-CsZVtwV7.js} +153 -4755
  22. package/dist/client/assets/{server-router-BJdAYxdf.js → server-router-BkLhbRZZ.js} +177 -18
  23. package/dist/client/assets/{typescript-BEfC8S_c.js → typescript-C6a_X60d.js} +1 -0
  24. package/dist/client/assets/typescript-jte7_wp4.js +2 -0
  25. package/dist/client/assets/{vitesse-dark-Bz6RXfkV.js → vitesse-dark-Dd6LUkEf.js} +2 -0
  26. package/dist/client/assets/{vitesse-light-NvDlvJl2.js → vitesse-light-LEkeIfQx.js} +2 -0
  27. package/dist/client/assets/{vue-DZSPIjN6.js → vue-BvqQiUzU.js} +11 -5
  28. package/dist/client/assets/{wasm-D0Echd05.js → wasm-bCjRd0-o.js} +2 -0
  29. package/dist/client/index.html +2 -1
  30. package/package.json +3 -3
  31. package/dist/client/assets/css-D-vtiAqw.js +0 -2
  32. package/dist/client/assets/html-74krLQbR.js +0 -2
  33. package/dist/client/assets/javascript-QnJdw8u5.js +0 -2
  34. package/dist/client/assets/json-WgRhEAOB.js +0 -2
  35. package/dist/client/assets/typescript-C5tShSk5.js +0 -2
@@ -1,6 +1,8 @@
1
- import { B as withCtx, G as isRef, V as withDirectives, Y as ref, b as defineComponent, c as vModelText, f as computed, g as createElementBlock, h as createCommentVNode, it as toDisplayString, k as openBlock, m as createBlock, nt as normalizeClass, p as createBaseVNode, r as Transition, tt as unref, v as createTextVNode, y as createVNode } from "./index-D_HRlfbv.js";
2
- import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-D8E0syuh.js";
3
- import { t as PanelGrids_default } from "./PanelGrids-Bd6D6enp.js";
1
+ import { B as withDirectives, E as openBlock, G as isRef, Y as ref, c as createBaseVNode, d as createElementBlock, g as defineComponent, h as createVNode, l as createBlock, m as createTextVNode, nt as unref, s as computed, u as createCommentVNode, wt as toDisplayString, xt as normalizeClass, z as withCtx } from "./runtime-core.esm-bundler-CsZVtwV7.js";
2
+ import { c as vModelText, r as Transition } from "./index-CWvhvxM4.js";
3
+ import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-Ctigiz3_.js";
4
+ import { t as PanelGrids_default } from "./PanelGrids-rTFcKhN6.js";
5
+ //#region src/client/pages/issue.vue?vue&type=script&setup=true&lang.ts
4
6
  var _hoisted_1 = { class: "flex flex-col gap-4 m-auto h-full max-w-400 w-full p-5 px-5 md:px-20 of-auto" };
5
7
  var _hoisted_2 = { class: "flex flex-col gap-4" };
6
8
  var _hoisted_3 = { class: "flex flex-col gap-1" };
@@ -12,10 +14,20 @@ var _hoisted_8 = { class: "flex items-center justify-end gap-3 mt-2 mb-6" };
12
14
  var _hoisted_9 = ["disabled"];
13
15
  var _hoisted_10 = { class: "flex items-center gap-1.5" };
14
16
  var API_ROOT = "/__pubinfo_devtools_api";
17
+ //#endregion
18
+ //#region src/client/pages/issue.vue
15
19
  var issue_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
16
20
  name: "IssuePage",
17
21
  __name: "issue",
18
22
  setup(__props) {
23
+ /**
24
+ * Issue 页面
25
+ *
26
+ * 提供一个在 DevTools 中快速提交 Bug Report 的入口。
27
+ * 用户可以填写标题、描述、复现步骤和期望行为,
28
+ * 提交时会自动采集环境信息(Git、Node、OS、package.json),
29
+ * 通过 Vite 服务端接口上报。
30
+ */
19
31
  const title = ref("");
20
32
  const description = ref("");
21
33
  const steps = ref("");
@@ -35,6 +47,9 @@ var issue_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE
35
47
  toastVisible.value = false;
36
48
  }, 3e3);
37
49
  }
50
+ /**
51
+ * 提交 Bug Report,通过 Vite 服务端接口
52
+ */
38
53
  async function submitIssue() {
39
54
  submitting.value = true;
40
55
  try {
@@ -60,6 +75,9 @@ var issue_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE
60
75
  submitting.value = false;
61
76
  }
62
77
  }
78
+ /**
79
+ * 重置所有表单字段
80
+ */
63
81
  function resetForm() {
64
82
  title.value = "";
65
83
  description.value = "";
@@ -127,4 +145,5 @@ var issue_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE
127
145
  };
128
146
  }
129
147
  }), [["__scopeId", "data-v-20b6063c"]]);
148
+ //#endregion
130
149
  export { issue_default as default };