@pubinfo-pr/devtools 0.171.4 → 0.171.6
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/dist/client/assets/{Navbar-Dn_FwmwT.js → Navbar-L7rRcdIR.js} +2 -2
- package/dist/client/assets/{PanelGrids-Dr3Hj3fq.js → PanelGrids-D1Mem7DG.js} +2 -2
- package/dist/client/assets/{SelectTabs-DGbhp-SJ.js → SelectTabs-mJnHCcDh.js} +2 -2
- package/dist/client/assets/{component-BYcFX5o9.js → component-CxDL583T.js} +4 -4
- package/dist/client/assets/{fetch-X85SI-zj.js → fetch-CC6_FGnT.js} +1 -1
- package/dist/client/assets/{import-8bGFSBml.js → import-CBxCEk9U.js} +4 -4
- package/dist/client/assets/index-B9Onnz0R.css +443 -0
- package/dist/client/assets/{index-C74Jw2V-.js → index-BxhNhfma.js} +5 -5
- package/dist/client/assets/{pages-Dj7OCD93.js → pages-BFUVSsAM.js} +4 -12
- package/dist/client/assets/{server-router-Byd0xUzV.js → server-router-DaxHNw-y.js} +4 -4
- package/dist/client/index.html +2 -2
- package/dist/index.d.mts +0 -15
- package/dist/index.mjs +425 -188
- package/dist/panel/index.mjs +4 -4
- package/package.json +1 -1
- package/dist/client/assets/index-C1hERR5y.css +0 -443
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./pages-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./pages-BFUVSsAM.js","./fetch-CC6_FGnT.js","./PanelGrids-D1Mem7DG.js","./pages-DQ8FtB9Y.css","./component-CxDL583T.js","./Navbar-L7rRcdIR.js","./Navbar-D8ux538U.css","./SelectTabs-mJnHCcDh.js","./import-CBxCEk9U.js","./server-router-DaxHNw-y.js","./server-router-B1AB70as.css"])))=>i.map(i=>d[i]);
|
|
2
2
|
(function polyfill() {
|
|
3
3
|
const relList = document.createElement("link").relList;
|
|
4
4
|
if (relList && relList.supports && relList.supports("modulepreload")) return;
|
|
@@ -9321,22 +9321,22 @@ const routes = [
|
|
|
9321
9321
|
{
|
|
9322
9322
|
path: "/",
|
|
9323
9323
|
name: "/",
|
|
9324
|
-
component: () => __vitePreload(() => import("./pages-
|
|
9324
|
+
component: () => __vitePreload(() => import("./pages-BFUVSsAM.js"), __vite__mapDeps([0,1,2,3]), import.meta.url)
|
|
9325
9325
|
},
|
|
9326
9326
|
{
|
|
9327
9327
|
path: "/component",
|
|
9328
9328
|
name: "/component",
|
|
9329
|
-
component: () => __vitePreload(() => import("./component-
|
|
9329
|
+
component: () => __vitePreload(() => import("./component-CxDL583T.js"), __vite__mapDeps([4,1,5,6,7]), import.meta.url)
|
|
9330
9330
|
},
|
|
9331
9331
|
{
|
|
9332
9332
|
path: "/import",
|
|
9333
9333
|
name: "/import",
|
|
9334
|
-
component: () => __vitePreload(() => import("./import-
|
|
9334
|
+
component: () => __vitePreload(() => import("./import-CBxCEk9U.js"), __vite__mapDeps([8,1,5,6,7]), import.meta.url)
|
|
9335
9335
|
},
|
|
9336
9336
|
{
|
|
9337
9337
|
path: "/server-router",
|
|
9338
9338
|
name: "/server-router",
|
|
9339
|
-
component: () => __vitePreload(() => import("./server-router-
|
|
9339
|
+
component: () => __vitePreload(() => import("./server-router-DaxHNw-y.js"), __vite__mapDeps([9,1,5,6,2,10]), import.meta.url)
|
|
9340
9340
|
}
|
|
9341
9341
|
];
|
|
9342
9342
|
var _hoisted_1$1 = { class: "w-full h-full of-auto!" };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { J as ref, K as reactive, L as watch, O as openBlock, _ as createTextVNode, d as computed, et as unref, f as createBaseVNode, g as createStaticVNode, h as createElementBlock, j as renderSlot, l as Fragment, m as createCommentVNode, p as createBlock, q as readonly, rt as toDisplayString, t as __vitePreload, v as createVNode, y as defineComponent, z as withCtx } from "./index-
|
|
2
|
-
import { a as usePackageVersion$1, i as overviewFetch, m as createEventHook, o as Badge_default, s as _plugin_vue_export_helper_default } from "./fetch-
|
|
3
|
-
import { t as PanelGrids_default } from "./PanelGrids-
|
|
1
|
+
import { J as ref, K as reactive, L as watch, O as openBlock, _ as createTextVNode, d as computed, et as unref, f as createBaseVNode, g as createStaticVNode, h as createElementBlock, j as renderSlot, l as Fragment, m as createCommentVNode, p as createBlock, q as readonly, rt as toDisplayString, t as __vitePreload, v as createVNode, y as defineComponent, z as withCtx } from "./index-BxhNhfma.js";
|
|
2
|
+
import { a as usePackageVersion$1, i as overviewFetch, m as createEventHook, o as Badge_default, s as _plugin_vue_export_helper_default } from "./fetch-CC6_FGnT.js";
|
|
3
|
+
import { t as PanelGrids_default } from "./PanelGrids-D1Mem7DG.js";
|
|
4
4
|
function usePackageVersion(packageName) {
|
|
5
5
|
const info = ref(null);
|
|
6
6
|
const isLoading = ref(false);
|
|
@@ -248,7 +248,7 @@ var pages_default = /* @__PURE__ */ defineComponent({
|
|
|
248
248
|
const { timings, formatDuration: formatDuration$1 } = useDevtoolsPerformance();
|
|
249
249
|
return (_ctx, _cache) => {
|
|
250
250
|
const _component_NpmVersionCheck = NpmVersionCheck_default;
|
|
251
|
-
return openBlock(), createBlock(PanelGrids_default, { class: "h-screen w-full flex" }, {
|
|
251
|
+
return openBlock(), createBlock(PanelGrids_default, { class: "h-screen w-full flex *:select-none" }, {
|
|
252
252
|
default: withCtx(() => [createBaseVNode("div", _hoisted_1, [
|
|
253
253
|
_cache[12] || (_cache[12] = createBaseVNode("div", { class: "flex-auto" }, null, -1)),
|
|
254
254
|
createBaseVNode("div", _hoisted_2, [createBaseVNode("a", _hoisted_3, [
|
|
@@ -274,14 +274,6 @@ var pages_default = /* @__PURE__ */ defineComponent({
|
|
|
274
274
|
])])
|
|
275
275
|
]),
|
|
276
276
|
_cache[13] || (_cache[13] = createBaseVNode("div", { class: "flex flex-wrap gap-6 mt-5 items-center justify-center" }, [createBaseVNode("a", {
|
|
277
|
-
href: "https://github.com/nuxt/devtools/discussions/29",
|
|
278
|
-
target: "_blank",
|
|
279
|
-
flex: "~ gap1",
|
|
280
|
-
"items-center": "",
|
|
281
|
-
op50: "",
|
|
282
|
-
hover: "op100 text-yellow",
|
|
283
|
-
transition: ""
|
|
284
|
-
}, [createBaseVNode("div", { class: "i-carbon-data-enrichment" }), createTextVNode(" Ideas & Suggestions ")]), createBaseVNode("a", {
|
|
285
277
|
href: "https://github.com/nuxt/devtools/issues",
|
|
286
278
|
target: "_blank",
|
|
287
279
|
flex: "~ gap1",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./javascript-DIagQh28.js","./javascript-CZLwsMB1.js","./typescript-CzrZyZmM.js","./typescript-DkhbmgdN.js","./vue-Co3JBzx2.js","./css-DbgpCiOq.js","./html-mHHj5Mh3.js","./json-CzPoZe0r.js","./json-WgRhEAOB.js","./html-C5tHi8hG.js","./css-D-vtiAqw.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import { A as renderList, B as withDirectives, D as onMounted, E as onBeforeUnmount, I as useSlots, J as ref, K as reactive, L as watch, M as resolveComponent, N as resolveDirective, O as openBlock, P as resolveDynamicComponent, Q as toRef, R as watchEffect, S as inject, T as nextTick, W as isRef, X as shallowRef, _ as createTextVNode, b as getCurrentInstance, c as withKeys, d as computed, et as unref, f as createBaseVNode, h as createElementBlock, i as vModelCheckbox, j as renderSlot, k as provide, l as Fragment, m as createCommentVNode, nt as normalizeStyle, p as createBlock, r as Transition, rt as toDisplayString, s as vModelSelect, t as __vitePreload, tt as normalizeClass, u as KeepAlive, v as createVNode, w as mergeProps, x as h, y as defineComponent, z as withCtx } from "./index-
|
|
3
|
-
import { a as Icon_default, i as SectionBlock_default, n as TextInput_default, r as Button_default, t as Navbar_default } from "./Navbar-
|
|
4
|
-
import { c as createReusableTemplate, d as useElementSize, f as useLocalStorage, h as createSharedComposable, l as onClickOutside, o as Badge_default, p as useVModel, s as _plugin_vue_export_helper_default, t as apiListFetch } from "./fetch-
|
|
5
|
-
import { t as PanelGrids_default } from "./PanelGrids-
|
|
2
|
+
import { A as renderList, B as withDirectives, D as onMounted, E as onBeforeUnmount, I as useSlots, J as ref, K as reactive, L as watch, M as resolveComponent, N as resolveDirective, O as openBlock, P as resolveDynamicComponent, Q as toRef, R as watchEffect, S as inject, T as nextTick, W as isRef, X as shallowRef, _ as createTextVNode, b as getCurrentInstance, c as withKeys, d as computed, et as unref, f as createBaseVNode, h as createElementBlock, i as vModelCheckbox, j as renderSlot, k as provide, l as Fragment, m as createCommentVNode, nt as normalizeStyle, p as createBlock, r as Transition, rt as toDisplayString, s as vModelSelect, t as __vitePreload, tt as normalizeClass, u as KeepAlive, v as createVNode, w as mergeProps, x as h, y as defineComponent, z as withCtx } from "./index-BxhNhfma.js";
|
|
3
|
+
import { a as Icon_default, i as SectionBlock_default, n as TextInput_default, r as Button_default, t as Navbar_default } from "./Navbar-L7rRcdIR.js";
|
|
4
|
+
import { c as createReusableTemplate, d as useElementSize, f as useLocalStorage, h as createSharedComposable, l as onClickOutside, o as Badge_default, p as useVModel, s as _plugin_vue_export_helper_default, t as apiListFetch } from "./fetch-CC6_FGnT.js";
|
|
5
|
+
import { t as PanelGrids_default } from "./PanelGrids-D1Mem7DG.js";
|
|
6
6
|
var _sfc_main = {};
|
|
7
7
|
var _hoisted_1$10 = { class: "n-card n-card-base" };
|
|
8
8
|
function _sfc_render(_ctx, _cache) {
|
package/dist/client/index.html
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
6
|
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
|
|
7
7
|
<title>Vite Plugins</title>
|
|
8
|
-
<script type="module" crossorigin src="./assets/index-
|
|
9
|
-
<link rel="stylesheet" crossorigin href="./assets/index-
|
|
8
|
+
<script type="module" crossorigin src="./assets/index-BxhNhfma.js"></script>
|
|
9
|
+
<link rel="stylesheet" crossorigin href="./assets/index-B9Onnz0R.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body data-vite-inspect-mode="DEV" class="n-bg-base text-color-base font-sans">
|
|
12
12
|
<div id="app"></div>
|
package/dist/index.d.mts
CHANGED
|
@@ -1,21 +1,6 @@
|
|
|
1
1
|
import { Plugin } from "vite";
|
|
2
2
|
|
|
3
3
|
//#region src/server/index.d.ts
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Pubinfo Devtools 的 Vite 插件入口。
|
|
7
|
-
*
|
|
8
|
-
* 能力概览:
|
|
9
|
-
* - 提供一个轻量 UI(iframe)静态资源服务:`/__pubinfo_devtools`。
|
|
10
|
-
* - 提供 devtools 专用的 API:`/__pubinfo_devtools_api`。
|
|
11
|
-
* - `/` → 返回项目文件数量(用于示例与健康检查)。
|
|
12
|
-
* - `/api-list` → 返回解析的 OpenAPI 配置与扫描到的 API 函数/类型清单。
|
|
13
|
-
*
|
|
14
|
-
* 注意:本插件默认以 `enforce: 'pre'` 注入,避免被其他中间件拦截。
|
|
15
|
-
* 路由均在开发服务器中间件阶段生效,不影响生产构建输出。
|
|
16
|
-
*
|
|
17
|
-
* 安全说明:这些接口仅用于本地开发环境调试,不应暴露到公网。
|
|
18
|
-
*/
|
|
19
4
|
declare function pubinfoDevtools(): Plugin;
|
|
20
5
|
//#endregion
|
|
21
6
|
export { pubinfoDevtools };
|