@pubinfo-pr/devtools 0.220.2 → 0.220.4
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-D8ux538U.css +18 -0
- package/dist/client/assets/Navbar-DCdslOKs.js +219 -0
- package/dist/client/assets/PanelGrids-Bq_2z9g3.js +9 -0
- package/dist/client/assets/SelectTabs-Chnu7x16.js +171 -0
- package/dist/client/assets/_plugin-vue_export-helper-D8E0syuh.js +6 -0
- package/dist/client/assets/component-Qe9twpoz.js +468 -0
- package/dist/client/assets/{fetch-DxuBXEk3.js → fetch-CwAFBmMG.js} +121 -4
- package/dist/client/assets/import-DV9l8S2T.js +375 -0
- package/dist/client/assets/{index-DcEJJh1_.js → index-ByOJyids.js} +34 -11
- package/dist/client/assets/index-DNthkvua.css +443 -0
- package/dist/client/assets/issue-BHrGN1_d.css +10 -0
- package/dist/client/assets/issue-MdUzHAB3.js +130 -0
- package/dist/client/assets/pages-D4LiKgxN.js +285 -0
- package/dist/client/assets/pages-DQ8FtB9Y.css +17 -0
- package/dist/client/assets/{server-router-8PynUpe5.css → server-router-B1AB70as.css} +0 -18
- package/dist/client/assets/{server-router-Bu5965f8.js → server-router-DuEpkdvh.js} +14 -225
- package/dist/client/component.svg +1 -0
- package/dist/client/import.svg +1 -0
- package/dist/client/index.html +2 -2
- package/dist/client/issue.svg +1 -0
- package/dist/client/logo.svg +1 -0
- package/dist/index.d.mts +0 -14
- package/dist/index.mjs +1966 -50
- package/dist/panel/index.d.mts +1 -0
- package/dist/panel/index.mjs +97 -1
- package/package.json +7 -2
- package/dist/client/assets/index-D7UL6pHD.css +0 -443
- package/dist/client/assets/pages-CfWIiNIx.js +0 -20
|
@@ -1,152 +1,16 @@
|
|
|
1
1
|
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./javascript-QnJdw8u5.js","./javascript-_FvKZjd1.js","./typescript-C5tShSk5.js","./typescript-BEfC8S_c.js","./vue-DZSPIjN6.js","./css-DbgpCiOq.js","./html-Tu6OX5Eq.js","./json-CzPoZe0r.js","./json-WgRhEAOB.js","./html-74krLQbR.js","./css-D-vtiAqw.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import { $ as
|
|
3
|
-
import { a as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
setup(__props) {
|
|
12
|
-
return (_ctx, _cache) => {
|
|
13
|
-
return openBlock(), createElementBlock("div", _hoisted_1$16, [__props.icon ? (openBlock(), createElementBlock("div", {
|
|
14
|
-
key: 0,
|
|
15
|
-
class: normalizeClass(__props.icon)
|
|
16
|
-
}, null, 2)) : createCommentVNode("", true), renderSlot(_ctx.$slots, "default", {}, () => [createBaseVNode("div", null, toDisplayString(__props.text), 1)])]);
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
var Icon_default = /* @__PURE__ */ defineComponent({
|
|
21
|
-
__name: "Icon",
|
|
22
|
-
props: { icon: {} },
|
|
23
|
-
setup(__props) {
|
|
24
|
-
return (_ctx, _cache) => {
|
|
25
|
-
return openBlock(), createElementBlock("div", { class: normalizeClass(["n-icon", __props.icon]) }, null, 2);
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
});
|
|
29
|
-
var _hoisted_1$15 = ["open"];
|
|
30
|
-
var _hoisted_2$10 = { "text-base": "" };
|
|
31
|
-
var _hoisted_3$5 = {
|
|
32
|
-
key: 0,
|
|
33
|
-
"text-sm": "",
|
|
34
|
-
op50: ""
|
|
35
|
-
};
|
|
36
|
-
var SectionBlock_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
37
|
-
__name: "SectionBlock",
|
|
38
|
-
props: {
|
|
39
|
-
icon: {},
|
|
40
|
-
text: {},
|
|
41
|
-
description: {},
|
|
42
|
-
containerClass: { default: "" },
|
|
43
|
-
headerClass: {},
|
|
44
|
-
collapse: {
|
|
45
|
-
type: Boolean,
|
|
46
|
-
default: true
|
|
47
|
-
},
|
|
48
|
-
open: {
|
|
49
|
-
type: Boolean,
|
|
50
|
-
default: true
|
|
51
|
-
},
|
|
52
|
-
padding: {
|
|
53
|
-
type: [Boolean, String],
|
|
54
|
-
default: true
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
setup(__props) {
|
|
58
|
-
const open = useVModel(__props, "open", void 0, { passive: true });
|
|
59
|
-
function onToggle(e) {
|
|
60
|
-
open.value = e.target.open;
|
|
61
|
-
}
|
|
62
|
-
return (_ctx, _cache) => {
|
|
63
|
-
const _component_Icon = Icon_default;
|
|
64
|
-
const _component_IconTitle = IconTitle_default;
|
|
65
|
-
const _directive_lazy_show = resolveDirective("lazy-show");
|
|
66
|
-
return openBlock(), createElementBlock(Fragment, null, [createBaseVNode("details", {
|
|
67
|
-
open: unref(open),
|
|
68
|
-
onToggle: _cache[0] || (_cache[0] = (...args) => onToggle && onToggle(...args))
|
|
69
|
-
}, [createBaseVNode("summary", { class: normalizeClass(["cursor-pointer select-none p4 hover:bg-active", __props.collapse ? "" : "pointer-events-none"]) }, [createVNode(_component_IconTitle, {
|
|
70
|
-
icon: __props.icon,
|
|
71
|
-
text: __props.text,
|
|
72
|
-
"text-xl": "",
|
|
73
|
-
transition: "",
|
|
74
|
-
class: normalizeClass([unref(open) ? "op100" : "op60", __props.headerClass])
|
|
75
|
-
}, {
|
|
76
|
-
default: withCtx(() => [
|
|
77
|
-
createBaseVNode("div", null, [createBaseVNode("div", _hoisted_2$10, [renderSlot(_ctx.$slots, "text", {}, () => [createTextVNode(toDisplayString(__props.text), 1)], true)]), __props.description || _ctx.$slots.description ? (openBlock(), createElementBlock("div", _hoisted_3$5, [renderSlot(_ctx.$slots, "description", {}, () => [createTextVNode(toDisplayString(__props.description), 1)], true)])) : createCommentVNode("", true)]),
|
|
78
|
-
_cache[1] || (_cache[1] = createBaseVNode("div", { class: "flex-auto" }, null, -1)),
|
|
79
|
-
renderSlot(_ctx.$slots, "actions", {}, void 0, true),
|
|
80
|
-
__props.collapse ? (openBlock(), createBlock(_component_Icon, {
|
|
81
|
-
key: 0,
|
|
82
|
-
icon: "i-ph-caret-down",
|
|
83
|
-
class: "chevron",
|
|
84
|
-
"cursor-pointer": "",
|
|
85
|
-
"place-self-start": "",
|
|
86
|
-
"text-base": "",
|
|
87
|
-
op75: "",
|
|
88
|
-
transition: "",
|
|
89
|
-
"duration-500": ""
|
|
90
|
-
})) : createCommentVNode("", true)
|
|
91
|
-
]),
|
|
92
|
-
_: 3
|
|
93
|
-
}, 8, [
|
|
94
|
-
"icon",
|
|
95
|
-
"text",
|
|
96
|
-
"class"
|
|
97
|
-
])], 2), withDirectives((openBlock(), createElementBlock("div", { class: normalizeClass(["flex flex-col flex-gap2 pb6 pt2", typeof __props.padding === "string" ? __props.padding : __props.padding ? "px4" : ""]) }, [
|
|
98
|
-
renderSlot(_ctx.$slots, "details", {}, void 0, true),
|
|
99
|
-
createBaseVNode("div", { class: normalizeClass([__props.containerClass, "mt1"]) }, [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 2),
|
|
100
|
-
renderSlot(_ctx.$slots, "footer", {}, void 0, true)
|
|
101
|
-
], 2)), [[_directive_lazy_show, unref(open)]])], 40, _hoisted_1$15), _cache[2] || (_cache[2] = createBaseVNode("div", { class: "x-divider" }, null, -1))], 64);
|
|
102
|
-
};
|
|
103
|
-
}
|
|
104
|
-
});
|
|
105
|
-
var _plugin_vue_export_helper_default = (sfc, props) => {
|
|
106
|
-
const target = sfc.__vccOpts || sfc;
|
|
107
|
-
for (const [key, val] of props) target[key] = val;
|
|
108
|
-
return target;
|
|
109
|
-
};
|
|
110
|
-
var SectionBlock_default = /* @__PURE__ */ _plugin_vue_export_helper_default(SectionBlock_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-deaf669f"]]);
|
|
111
|
-
var Button_default = defineComponent({
|
|
112
|
-
name: "Button",
|
|
113
|
-
props: {
|
|
114
|
-
to: String,
|
|
115
|
-
icon: String,
|
|
116
|
-
border: {
|
|
117
|
-
type: Boolean,
|
|
118
|
-
default: true
|
|
119
|
-
},
|
|
120
|
-
disabled: Boolean,
|
|
121
|
-
type: {
|
|
122
|
-
type: String,
|
|
123
|
-
default: "button"
|
|
124
|
-
}
|
|
125
|
-
},
|
|
126
|
-
setup(props, { attrs, slots }) {
|
|
127
|
-
return () => h(props.to ? RouterLink : "button", {
|
|
128
|
-
to: props.to,
|
|
129
|
-
...attrs,
|
|
130
|
-
...!props.to && { type: props.type },
|
|
131
|
-
...props.disabled ? { disabled: true } : { tabindex: 0 },
|
|
132
|
-
class: [
|
|
133
|
-
props.border ? "n-button-base active:n-button-active focus-visible:n-focus-base hover:n-button-hover" : "",
|
|
134
|
-
slots.default ? "" : "n-icon-button",
|
|
135
|
-
"n-button n-transition n-disabled:n-disabled"
|
|
136
|
-
].join(" ")
|
|
137
|
-
}, { default: () => [renderSlot(slots, "icon", {}, () => props.icon ? [h(Icon_default, {
|
|
138
|
-
icon: props.icon,
|
|
139
|
-
class: slots.default ? "n-button-icon" : ""
|
|
140
|
-
})] : []), renderSlot(slots, "default")] });
|
|
141
|
-
}
|
|
142
|
-
});
|
|
143
|
-
var _sfc_main$1 = {};
|
|
144
|
-
var _hoisted_1$14 = { class: "n-card n-card-base" };
|
|
145
|
-
function _sfc_render$1(_ctx, _cache) {
|
|
146
|
-
return openBlock(), createElementBlock("div", _hoisted_1$14, [renderSlot(_ctx.$slots, "default")]);
|
|
2
|
+
import { $ as toRef, A as provide, B as withCtx, C as inject, D as onBeforeUnmount, E as nextTick, F as resolveDynamicComponent, G as isRef, L as useSlots, M as renderSlot, N as resolveComponent, O as onMounted, P as resolveDirective, R as watch, S as h, T as mergeProps, V as withDirectives, Y as ref, Z as shallowRef, b as defineComponent, d as KeepAlive, f as computed, g as createElementBlock, h as createCommentVNode, i as vModelCheckbox, it as toDisplayString, j as renderList, k as openBlock, l as withKeys, m as createBlock, nt as normalizeClass, p as createBaseVNode, q as reactive, r as Transition, rt as normalizeStyle, s as vModelSelect, t as __vitePreload, tt as unref, u as Fragment, v as createTextVNode, x as getCurrentInstance, y as createVNode, z as watchEffect } from "./index-ByOJyids.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-DCdslOKs.js";
|
|
4
|
+
import { c as onClickOutside, d as useLocalStorage, f as useVModel, m as createSharedComposable, o as Badge_default, s as createReusableTemplate, t as apiListFetch, u as useElementSize } from "./fetch-CwAFBmMG.js";
|
|
5
|
+
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-D8E0syuh.js";
|
|
6
|
+
import { t as PanelGrids_default } from "./PanelGrids-Bq_2z9g3.js";
|
|
7
|
+
var _sfc_main = {};
|
|
8
|
+
var _hoisted_1$10 = { class: "n-card n-card-base" };
|
|
9
|
+
function _sfc_render(_ctx, _cache) {
|
|
10
|
+
return openBlock(), createElementBlock("div", _hoisted_1$10, [renderSlot(_ctx.$slots, "default")]);
|
|
147
11
|
}
|
|
148
|
-
var Card_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_main
|
|
149
|
-
var _hoisted_1$
|
|
12
|
+
var Card_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]);
|
|
13
|
+
var _hoisted_1$9 = ["border"];
|
|
150
14
|
var _hoisted_2$9 = { class: "relative h-full w-full of-auto" };
|
|
151
15
|
var Drawer_default = /* @__PURE__ */ defineComponent({
|
|
152
16
|
__name: "Drawer",
|
|
@@ -208,77 +72,12 @@ var Drawer_default = /* @__PURE__ */ defineComponent({
|
|
|
208
72
|
icon: "i-ph-x-bold",
|
|
209
73
|
border: false,
|
|
210
74
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close"))
|
|
211
|
-
}), createBaseVNode("div", _hoisted_2$9, [renderSlot(_ctx.$slots, "default")])], 16, _hoisted_1$
|
|
75
|
+
}), createBaseVNode("div", _hoisted_2$9, [renderSlot(_ctx.$slots, "default")])], 16, _hoisted_1$9)) : createCommentVNode("", true)]),
|
|
212
76
|
_: 3
|
|
213
77
|
}, 16);
|
|
214
78
|
};
|
|
215
79
|
}
|
|
216
80
|
});
|
|
217
|
-
var _hoisted_1$12 = { class: "flex items-center border n-border-base rounded n-bg-base py-1 pl-1 pr-2 focus-within:border-primary" };
|
|
218
|
-
var TextInput_default = /* @__PURE__ */ defineComponent({
|
|
219
|
-
__name: "TextInput",
|
|
220
|
-
props: {
|
|
221
|
-
modelValue: { default: "" },
|
|
222
|
-
icon: {},
|
|
223
|
-
placeholder: {},
|
|
224
|
-
disabled: { type: Boolean },
|
|
225
|
-
autofocus: { type: Boolean },
|
|
226
|
-
autocomplete: {},
|
|
227
|
-
readonly: { type: Boolean },
|
|
228
|
-
type: { default: "text" }
|
|
229
|
-
},
|
|
230
|
-
emits: [
|
|
231
|
-
"keydown",
|
|
232
|
-
"keyup",
|
|
233
|
-
"change"
|
|
234
|
-
],
|
|
235
|
-
setup(__props, { emit: __emit }) {
|
|
236
|
-
const input = useVModel(__props, "modelValue", __emit, { passive: true });
|
|
237
|
-
return (_ctx, _cache) => {
|
|
238
|
-
return openBlock(), createElementBlock("div", _hoisted_1$12, [renderSlot(_ctx.$slots, "icon", {}, () => [__props.icon ? (openBlock(), createBlock(Icon_default, {
|
|
239
|
-
key: 0,
|
|
240
|
-
icon: __props.icon,
|
|
241
|
-
class: "ml-0.3em mr-0.1em text-1.1em op50"
|
|
242
|
-
}, null, 8, ["icon"])) : createCommentVNode("", true)]), withDirectives(createBaseVNode("input", mergeProps({ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(input) ? input.value = $event : null) }, _ctx.$props, { class: "ml-0.4em w-full flex-auto n-bg-base outline-none!" }), null, 16), [[vModelDynamic, unref(input)]])]);
|
|
243
|
-
};
|
|
244
|
-
}
|
|
245
|
-
});
|
|
246
|
-
var _hoisted_1$11 = { class: "flex gap-4 flex-wrap items-center" };
|
|
247
|
-
var Navbar_default = /* @__PURE__ */ defineComponent({
|
|
248
|
-
name: "Navbar",
|
|
249
|
-
__name: "Navbar",
|
|
250
|
-
props: /* @__PURE__ */ mergeModels({
|
|
251
|
-
search: {},
|
|
252
|
-
noPadding: { type: Boolean }
|
|
253
|
-
}, {
|
|
254
|
-
"search": {},
|
|
255
|
-
"searchModifiers": {}
|
|
256
|
-
}),
|
|
257
|
-
emits: /* @__PURE__ */ mergeModels(["update:search"], ["update:search"]),
|
|
258
|
-
setup(__props, { emit: __emit }) {
|
|
259
|
-
const emit = __emit;
|
|
260
|
-
function update(event) {
|
|
261
|
-
emit("update:search", event.target.value);
|
|
262
|
-
}
|
|
263
|
-
const search = useModel(__props, "search");
|
|
264
|
-
return (_ctx, _cache) => {
|
|
265
|
-
return openBlock(), createElementBlock("div", { class: normalizeClass(["flex flex-col gap-2 flex-wrap border-b n-border-base flex-1", [{ p4: !__props.noPadding }]]) }, [createBaseVNode("div", _hoisted_1$11, [renderSlot(_ctx.$slots, "search", {}, () => [search.value !== void 0 ? (openBlock(), createBlock(TextInput_default, {
|
|
266
|
-
key: 0,
|
|
267
|
-
placeholder: "Search...",
|
|
268
|
-
icon: "i-carbon-search",
|
|
269
|
-
class: normalizeClass(["flex-auto", { "px-3 py-2": !__props.noPadding }]),
|
|
270
|
-
value: search.value,
|
|
271
|
-
onInput: update
|
|
272
|
-
}, null, 8, ["class", "value"])) : createCommentVNode("", true)]), renderSlot(_ctx.$slots, "actions")]), renderSlot(_ctx.$slots, "default")], 2);
|
|
273
|
-
};
|
|
274
|
-
}
|
|
275
|
-
});
|
|
276
|
-
var _sfc_main = {};
|
|
277
|
-
var _hoisted_1$10 = { class: "n-panel-grids-center" };
|
|
278
|
-
function _sfc_render(_ctx, _cache) {
|
|
279
|
-
return openBlock(), createElementBlock("div", _hoisted_1$10, [renderSlot(_ctx.$slots, "default")]);
|
|
280
|
-
}
|
|
281
|
-
var PanelGrids_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]);
|
|
282
81
|
var Pe = {
|
|
283
82
|
__name: "splitpanes",
|
|
284
83
|
props: {
|
|
@@ -659,7 +458,7 @@ async function highlightCode(code, options) {
|
|
|
659
458
|
return `<pre><code>${code}</code></pre>`;
|
|
660
459
|
}
|
|
661
460
|
}
|
|
662
|
-
var _hoisted_1$
|
|
461
|
+
var _hoisted_1$8 = ["innerHTML"];
|
|
663
462
|
var _hoisted_2$8 = ["textContent"];
|
|
664
463
|
var CodeBlock_default = /* @__PURE__ */ defineComponent({
|
|
665
464
|
name: "CodeBlock",
|
|
@@ -730,7 +529,7 @@ var CodeBlock_default = /* @__PURE__ */ defineComponent({
|
|
|
730
529
|
return __props.lang && unref(rendered).supported ? (openBlock(), createElementBlock("pre", {
|
|
731
530
|
key: 0,
|
|
732
531
|
class: normalizeClass(unref(classes))
|
|
733
|
-
}, [createBaseVNode("code", { innerHTML: unref(rendered).code }, null, 8, _hoisted_1$
|
|
532
|
+
}, [createBaseVNode("code", { innerHTML: unref(rendered).code }, null, 8, _hoisted_1$8)], 2)) : (openBlock(), createElementBlock("pre", {
|
|
734
533
|
key: 1,
|
|
735
534
|
class: normalizeClass(unref(classes))
|
|
736
535
|
}, [createBaseVNode("code", null, [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.code.split("\n"), (line, _idx) => {
|
|
@@ -742,16 +541,6 @@ var CodeBlock_default = /* @__PURE__ */ defineComponent({
|
|
|
742
541
|
};
|
|
743
542
|
}
|
|
744
543
|
});
|
|
745
|
-
var _hoisted_1$8 = { class: "n-badge" };
|
|
746
|
-
var Badge_default = /* @__PURE__ */ defineComponent({
|
|
747
|
-
name: "Badge",
|
|
748
|
-
__name: "Badge",
|
|
749
|
-
setup(__props) {
|
|
750
|
-
return (_ctx, _cache) => {
|
|
751
|
-
return openBlock(), createElementBlock("span", _hoisted_1$8, [renderSlot(_ctx.$slots, "default")]);
|
|
752
|
-
};
|
|
753
|
-
}
|
|
754
|
-
});
|
|
755
544
|
const devtoolsStorageKey = { response: "__pubinfo_devtools_raw_response__" };
|
|
756
545
|
var _hoisted_1$7 = { class: "n-loading n-panel-grids-center" };
|
|
757
546
|
var _hoisted_2$7 = { class: "flex flex-col animate-pulse items-center text-lg" };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 14 14"><!-- Icon from Flex color icons by Streamline - https://creativecommons.org/licenses/by/4.0/ --><g fill="none" fill-rule="evenodd" clip-rule="evenodd"><path fill="#8fbffa" d="M7.152.394a.5.5 0 0 0-.305 0c-2.132.681-3.732 1.478-5.605 2.702l.274.419l-.274-.419c-.376.247-.62.651-.66 1.098C.394 6.19.384 7.817.58 9.812c.043.444.285.845.659 1.089l.274-.419l-.274.419c1.874 1.226 3.475 2.023 5.608 2.705a.5.5 0 0 0 .305 0c2.133-.682 3.735-1.48 5.61-2.705c.373-.244.615-.645.659-1.09c.194-1.994.184-3.62-.002-5.617a1.48 1.48 0 0 0-.661-1.097C10.885 1.872 9.284 1.075 7.152.394"/><path fill="#2859c5" d="m7.625 6.759l5.759-2.775a1.47 1.47 0 0 0-.626-.887C10.885 1.872 9.284 1.075 7.152.394a.5.5 0 0 0-.305 0c-2.132.681-3.732 1.478-5.605 2.702l.274.419l-.274-.419a1.47 1.47 0 0 0-.625.885l5.758 2.777v6.692q.232.079.472.156a.5.5 0 0 0 .305 0l.473-.156z"/></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 14 14"><!-- Icon from Flex color icons by Streamline - https://creativecommons.org/licenses/by/4.0/ --><path fill="#2859c5" fill-rule="evenodd" d="M5.266 1.556c-.07-.011-.216-.01-.47.067c-.229.07-.334.143-.377.184c-.03.03-.035.044-.038.065c-.013.1.033.367.351.858c.17.262.385.542.636.835a8 8 0 0 0 .115-1.06c.018-.607-.09-.853-.148-.92c-.009-.01-.019-.022-.069-.03M6.63 4.899c.194-.851.332-1.663.352-2.35c.02-.665-.059-1.426-.517-1.95c-.539-.617-1.335-.647-2.107-.41c-.75.228-1.354.693-1.463 1.479c-.091.666.225 1.332.578 1.878c.37.57.902 1.188 1.5 1.811a58 58 0 0 1-.562 2.003c-.145.495-.29.987-.435 1.46c-.903.306-1.74.63-2.384.987c-.598.332-1.225.792-1.456 1.455c-.272.785.1 1.498.7 2.061c.287.27.61.48.975.573c.38.098.75.054 1.084-.099c.61-.28 1.041-.9 1.36-1.502c.336-.635.639-1.437.918-2.287c.49-.155 1.002-.31 1.525-.468l.297-.09c.58-.176 1.157-.35 1.711-.504c.642.591 1.264 1.125 1.823 1.489c.532.346 1.2.676 1.873.561c.79-.134 1.22-.785 1.43-1.535c.221-.783.183-1.585-.446-2.115c-.536-.451-1.301-.506-1.958-.468c-.676.039-1.473.195-2.302.403l-.414-.394q-.416-.4-.858-.816A69 69 0 0 1 6.63 4.9M6.2 6.572a79 79 0 0 1-.37 1.279l-.123.422l.482-.147q.186-.055.37-.112q.433-.132.883-.265l-.615-.584zm4.277 1.943c.308.26.599.486.87.663c.496.323.736.351.803.34h.001c.004 0 .015 0 .046-.036c.045-.053.12-.175.192-.428c.075-.265.073-.418.06-.492c-.008-.052-.02-.062-.028-.067l-.001-.001c-.062-.053-.303-.153-.906-.119c-.311.018-.66.067-1.037.14m-7.12 2.126a9 9 0 0 0-1.038.478c-.556.308-.732.536-.766.635c-.006.019-.012.037.008.09c.026.068.102.199.3.385c.169.158.277.203.323.215a.1.1 0 0 0 .085-.01c.13-.06.366-.283.66-.84q.222-.422.428-.953" clip-rule="evenodd"/></svg>
|
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-ByOJyids.js"></script>
|
|
9
|
+
<link rel="stylesheet" crossorigin href="./assets/index-DNthkvua.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>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 14 14"><!-- Icon from Flex color icons by Streamline - https://creativecommons.org/licenses/by/4.0/ --><g fill="none"><path fill="#d7e0ff" d="M.797 6.75c0-3.697 1.55-5.282 2.068-5.81h8.27c.517.528 2.068 2.113 2.068 5.81c0 4.224-4.073 5.782-6.14 6.31C4.994 12.532.796 10.974.796 6.749"/><path stroke="#4147d5" stroke-linecap="round" stroke-linejoin="round" d="M.797 6.75c0-3.697 1.55-5.282 2.068-5.81h8.27c.517.528 2.068 2.113 2.068 5.81c0 4.224-4.073 5.782-6.14 6.31C4.994 12.532.796 10.974.796 6.749"/><path fill="#fff" d="M6.999 9.42c1.521 0 2.377-.856 2.377-2.377c0-1.522-.856-2.377-2.377-2.377s-2.377.855-2.377 2.377c0 1.52.856 2.376 2.377 2.376"/><path stroke="#4147d5" stroke-linecap="round" stroke-linejoin="round" d="M6.999 9.42c1.521 0 2.377-.856 2.377-2.377c0-1.522-.856-2.377-2.377-2.377s-2.377.855-2.377 2.377c0 1.52.856 2.376 2.377 2.376"/><path stroke="#4147d5" stroke-linecap="round" stroke-linejoin="round" d="M9.095 5.74a1.83 1.83 0 0 1 1.39-.634M9.376 6.873h1.108m-6.968 0h1.108m.281-1.133a1.83 1.83 0 0 0-1.39-.634m5.58 3.234a1.83 1.83 0 0 0 1.39.633m-5.58-.633a1.83 1.83 0 0 1-1.39.633m4.27-4.217c.202-.151.37-.37.487-.633s.178-.562.178-.866M6.206 4.756a1.6 1.6 0 0 1-.487-.633a2.15 2.15 0 0 1-.178-.866"/></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 144 125" preserveAspectRatio="xMidYMid meet"><path fill="url(#a)" stroke="url(#b)" d="M142.858 58.054c0 1.922-.524 3.845-1.572 5.418l-14.68 23.068-16.078 25.165c-1.398 2.097-3.67 3.496-6.292 3.496h-65.71L55.13 86.54h34.952l14.855-25.515c.699-1.398-.175-2.97-1.748-2.97H71.731l16.602-28.661h34.428c2.272 0 4.369 1.223 5.592 3.145l12.758 20.098c1.223 1.572 1.747 3.495 1.747 5.417Z"/><path fill="url(#c)" stroke="url(#d)" d="M38.702 54.909c-.7 1.398.174 2.97 1.747 2.97h31.457L55.304 86.54H20.876c-2.272 0-4.369-1.223-5.592-3.146L2.352 63.473C1.303 61.724.779 59.977.779 58.054s.524-3.844 1.573-5.417l14.68-23.068 16.077-25.34C34.507 2.13 36.954.732 39.401.732h65.535l-16.603 28.66H53.382z"/><path fill="url(#e)" d="M142.858 57.88v9.087c0 1.922-.524 3.844-1.572 5.417l-30.758 48.409c-1.398 2.097-3.845 3.495-6.292 3.495h-65.71V115.2h65.536c2.621 0 4.893-1.398 6.291-3.495l16.253-25.34 14.68-23.068c1.048-1.748 1.572-3.67 1.572-5.418" opacity=".8"/><path fill="url(#f)" d="m104.935 61.025-3.495 6.117H71.731l-11.36 19.573H55.13l16.602-28.66h31.457c1.573 0 2.621 1.572 1.747 2.97" opacity=".8"/><path fill="url(#g)" d="m101.44 67.142 3.495-6.117c.874-1.398-.174-2.97-1.747-2.97H71.731v9.087z" opacity=".8"/><path fill="url(#h)" d="M104.936.733v9.088l-11.36 19.573h-5.242z" opacity=".8"/><path fill="url(#i)" d="m88.508 29.394-5.243 9.087h-29.71L42.197 58.054H40.45c-1.573 0-2.622-1.748-1.748-2.97l14.855-25.516h34.951z" opacity=".8"/><path fill="url(#j)" d="m55.13 86.54-5.244 9.087h-29.01c-2.272 0-4.369-1.223-5.592-3.145L2.352 72.559C1.303 70.986.779 69.064.779 67.142v-9.088c0 1.923.524 3.845 1.573 5.418l12.757 20.097c1.223 1.922 3.32 3.146 5.592 3.146H55.13z" opacity=".8"/><defs><linearGradient id="a" x1="90.693" x2="90.693" y1="29.394" y2="115.201" gradientUnits="userSpaceOnUse"><stop stop-color="#AEFFD3"/><stop offset="1" stop-color="#13C966"/></linearGradient><linearGradient id="b" x1="132.493" x2="90.803" y1="35.066" y2="115.258" gradientUnits="userSpaceOnUse"><stop stop-color="#fff" stop-opacity="0"/><stop offset="1" stop-color="#fff" stop-opacity=".82"/></linearGradient><linearGradient id="c" x1="52.857" x2="52.857" y1=".733" y2="86.54" gradientUnits="userSpaceOnUse"><stop stop-color="#A3C6FF"/><stop offset="1" stop-color="#2275FF"/></linearGradient><linearGradient id="d" x1="94.587" x2="52.857" y1="6.405" y2="86.54" gradientUnits="userSpaceOnUse"><stop stop-color="#fff" stop-opacity="0"/><stop offset="1" stop-color="#fff" stop-opacity=".55"/></linearGradient><linearGradient id="e" x1="90.693" x2="90.693" y1="57.879" y2="124.288" gradientUnits="userSpaceOnUse"><stop stop-color="#AEFFD3"/><stop offset="1" stop-color="#0FE270"/></linearGradient><linearGradient id="f" x1="80.191" x2="80.191" y1="58.054" y2="86.715" gradientUnits="userSpaceOnUse"><stop stop-color="#A3C6FF"/><stop offset="1" stop-color="#2275FF"/></linearGradient><linearGradient id="g" x1="72.889" x2="100.968" y1="67.142" y2="67.142" gradientUnits="userSpaceOnUse"><stop stop-color="#AEFFD3"/><stop offset="1" stop-color="#0FE270"/></linearGradient><linearGradient id="h" x1="105.825" x2="89.13" y1=".733" y2="27.995" gradientUnits="userSpaceOnUse"><stop stop-color="#A3C6FF"/><stop offset="1" stop-color="#2275FF"/></linearGradient><linearGradient id="i" x1="63.446" x2="63.446" y1="29.394" y2="58.054" gradientUnits="userSpaceOnUse"><stop stop-color="#A3C6FF"/><stop offset="1" stop-color="#2275FF"/></linearGradient><linearGradient id="j" x1="27.954" x2="27.954" y1="58.054" y2="95.627" gradientUnits="userSpaceOnUse"><stop stop-color="#A3C6FF"/><stop offset="1" stop-color="#2275FF"/></linearGradient></defs></svg>
|
package/dist/index.d.mts
CHANGED
|
@@ -1,20 +1,6 @@
|
|
|
1
1
|
import { Plugin } from "vite";
|
|
2
2
|
|
|
3
3
|
//#region src/server/index.d.ts
|
|
4
|
-
/**
|
|
5
|
-
* Pubinfo Devtools 的 Vite 插件入口。
|
|
6
|
-
*
|
|
7
|
-
* 能力概览:
|
|
8
|
-
* - 提供一个轻量 UI(iframe)静态资源服务:`/__pubinfo_devtools`。
|
|
9
|
-
* - 提供 devtools 专用的 API:`/__pubinfo_devtools_api`。
|
|
10
|
-
* - `/` → 返回项目文件数量(用于示例与健康检查)。
|
|
11
|
-
* - `/api-list` → 返回解析的 OpenAPI 配置与扫描到的 API 函数/类型清单。
|
|
12
|
-
*
|
|
13
|
-
* 注意:本插件默认以 `enforce: 'pre'` 注入,避免被其他中间件拦截。
|
|
14
|
-
* 路由均在开发服务器中间件阶段生效,不影响生产构建输出。
|
|
15
|
-
*
|
|
16
|
-
* 安全说明:这些接口仅用于本地开发环境调试,不应暴露到公网。
|
|
17
|
-
*/
|
|
18
4
|
declare function pubinfoDevtools(): Plugin;
|
|
19
5
|
//#endregion
|
|
20
6
|
export { pubinfoDevtools };
|