@pubinfo-pr/devtools 0.203.1 → 0.203.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.
- 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/{core-DZ0_U_pO.js → core-D6JqxgYq.js} +134 -133
- package/dist/client/assets/{engine-oniguruma-Cxk0otvy.js → engine-oniguruma-n-bafM3H.js} +8 -8
- package/dist/client/assets/{fetch-Df05JmPt.js → fetch-CwAFBmMG.js} +122 -6
- package/dist/client/assets/import-DV9l8S2T.js +375 -0
- package/dist/client/assets/{index-Cn9-H915.js → index-ByOJyids.js} +1174 -1123
- 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-BHD-n_Wi.js → server-router-DuEpkdvh.js} +26 -238
- package/dist/client/assets/vue-DZSPIjN6.js +27 -0
- 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/constants.d.mts +1 -2
- package/dist/dirs.mjs +15 -1
- package/dist/index.d.mts +0 -15
- package/dist/index.mjs +1968 -52
- package/dist/panel/index.d.mts +1 -0
- package/dist/panel/index.mjs +75 -3776
- package/package.json +29 -18
- package/dist/client/assets/index-Blntvu93.css +0 -443
- package/dist/client/assets/pages-BdQpgtx4.js +0 -20
- package/dist/client/assets/vue-Be3tcD1h.js +0 -27
- package/dist/dirs2.mjs +0 -17
|
@@ -1,152 +1,16 @@
|
|
|
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-
|
|
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")]);
|
|
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 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: {
|
|
@@ -536,14 +335,14 @@ var Pe = {
|
|
|
536
335
|
},
|
|
537
336
|
setup(D) {
|
|
538
337
|
var b;
|
|
539
|
-
const h
|
|
540
|
-
const r = isNaN(h
|
|
338
|
+
const h = D, y = inject("requestUpdate"), u = inject("onPaneAdd"), E = inject("horizontal"), l = inject("onPaneRemove"), M = inject("onPaneClick"), m = (b = getCurrentInstance()) == null ? void 0 : b.uid, x = inject("indexedPanes"), S = computed(() => x.value[m]), c = ref(null), f = computed(() => {
|
|
339
|
+
const r = isNaN(h.size) || h.size === void 0 ? 0 : parseFloat(h.size);
|
|
541
340
|
return Math.max(Math.min(r, R.value), _.value);
|
|
542
341
|
}), _ = computed(() => {
|
|
543
|
-
const r = parseFloat(h
|
|
342
|
+
const r = parseFloat(h.minSize);
|
|
544
343
|
return isNaN(r) ? 0 : r;
|
|
545
344
|
}), R = computed(() => {
|
|
546
|
-
const r = parseFloat(h
|
|
345
|
+
const r = parseFloat(h.maxSize);
|
|
547
346
|
return isNaN(r) ? 100 : r;
|
|
548
347
|
}), O = computed(() => {
|
|
549
348
|
var r;
|
|
@@ -564,7 +363,7 @@ var Pe = {
|
|
|
564
363
|
el: c.value,
|
|
565
364
|
min: _.value,
|
|
566
365
|
max: R.value,
|
|
567
|
-
givenSize: h
|
|
366
|
+
givenSize: h.size === void 0 ? null : f.value,
|
|
568
367
|
size: f.value
|
|
569
368
|
});
|
|
570
369
|
}), onBeforeUnmount(() => l(m)), (r, P) => (openBlock(), createElementBlock("div", {
|
|
@@ -626,13 +425,13 @@ var SplitPane_default = /* @__PURE__ */ defineComponent({
|
|
|
626
425
|
var highlighterPromise = null;
|
|
627
426
|
function getShikiHighlighter() {
|
|
628
427
|
if (!highlighterPromise) highlighterPromise = (async () => {
|
|
629
|
-
const [{ createHighlighterCore }, { createOnigurumaEngine }] = await Promise.all([__vitePreload(() => import("./core-
|
|
428
|
+
const [{ createHighlighterCore }, { createOnigurumaEngine }] = await Promise.all([__vitePreload(() => import("./core-D6JqxgYq.js"), [], import.meta.url), __vitePreload(() => import("./engine-oniguruma-n-bafM3H.js"), [], import.meta.url)]);
|
|
630
429
|
return createHighlighterCore({
|
|
631
430
|
themes: [__vitePreload(() => import("./vitesse-dark-Bz6RXfkV.js"), [], import.meta.url), __vitePreload(() => import("./vitesse-light-NvDlvJl2.js"), [], import.meta.url)],
|
|
632
431
|
langs: [
|
|
633
432
|
__vitePreload(() => import("./javascript-QnJdw8u5.js"), __vite__mapDeps([0,1]), import.meta.url),
|
|
634
433
|
__vitePreload(() => import("./typescript-C5tShSk5.js"), __vite__mapDeps([2,3]), import.meta.url),
|
|
635
|
-
__vitePreload(() => import("./vue-
|
|
434
|
+
__vitePreload(() => import("./vue-DZSPIjN6.js"), __vite__mapDeps([4,5,6,1,7,3]), import.meta.url),
|
|
636
435
|
__vitePreload(() => import("./json-WgRhEAOB.js"), __vite__mapDeps([8,7]), import.meta.url),
|
|
637
436
|
__vitePreload(() => import("./html-74krLQbR.js"), __vite__mapDeps([9,6,5,1]), import.meta.url),
|
|
638
437
|
__vitePreload(() => import("./css-D-vtiAqw.js"), __vite__mapDeps([10,5]), import.meta.url)
|
|
@@ -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" };
|
|
@@ -838,7 +627,6 @@ function getInputTypeFromSchema(schemaType) {
|
|
|
838
627
|
case "integer":
|
|
839
628
|
case "number": return "number";
|
|
840
629
|
case "boolean": return "boolean";
|
|
841
|
-
case "string":
|
|
842
630
|
default: return "string";
|
|
843
631
|
}
|
|
844
632
|
}
|
|
@@ -881,8 +669,8 @@ function useServerRouteParams(route, options = {}) {
|
|
|
881
669
|
ensureActiveTab();
|
|
882
670
|
const properties = route.value.paramSchema?.properties;
|
|
883
671
|
if (properties) {
|
|
884
|
-
const targetCategory
|
|
885
|
-
const existingInputsMap = new Map(paramInputs.value[targetCategory
|
|
672
|
+
const targetCategory = (route.value.paramLocation || "query") === "body" ? "body" : "query";
|
|
673
|
+
const existingInputsMap = new Map(paramInputs.value[targetCategory].map((input) => [input.key, input]));
|
|
886
674
|
const newInputs = [];
|
|
887
675
|
Object.keys(properties).forEach((key) => {
|
|
888
676
|
const prop = properties[key];
|
|
@@ -900,8 +688,8 @@ function useServerRouteParams(route, options = {}) {
|
|
|
900
688
|
fromSchema: true
|
|
901
689
|
});
|
|
902
690
|
});
|
|
903
|
-
const userInputs = paramInputs.value[targetCategory
|
|
904
|
-
paramInputs.value[targetCategory
|
|
691
|
+
const userInputs = paramInputs.value[targetCategory].filter((input) => !input.fromSchema);
|
|
692
|
+
paramInputs.value[targetCategory] = [...newInputs, ...userInputs];
|
|
905
693
|
return;
|
|
906
694
|
}
|
|
907
695
|
const targetCategory = (route.value.paramLocation || "query") === "body" ? "body" : "query";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { t as css_default } from "./css-DbgpCiOq.js";
|
|
2
|
+
import { t as javascript_default } from "./javascript-_FvKZjd1.js";
|
|
3
|
+
import { t as html_default } from "./html-Tu6OX5Eq.js";
|
|
4
|
+
import { t as json_default } from "./json-CzPoZe0r.js";
|
|
5
|
+
import { t as typescript_default } from "./typescript-BEfC8S_c.js";
|
|
6
|
+
var lang$5 = Object.freeze(JSON.parse("{\"displayName\":\"HTML (Derivative)\",\"injections\":{\"R:text.html - (comment.block, text.html meta.embedded, meta.tag.*.*.html, meta.tag.*.*.*.html, meta.tag.*.*.*.*.html)\":{\"patterns\":[{\"match\":\"<\",\"name\":\"invalid.illegal.bad-angle-bracket.html\"}]}},\"name\":\"html-derivative\",\"patterns\":[{\"include\":\"text.html.basic#core-minus-invalid\"},{\"begin\":\"(</?)(\\\\w[^<>\\\\s]*)(?<!/)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.html\"},\"2\":{\"name\":\"entity.name.tag.html\"}},\"end\":\"((?: ?/)?>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.end.html\"}},\"name\":\"meta.tag.other.unrecognized.html.derivative\",\"patterns\":[{\"include\":\"text.html.basic#attribute\"}]}],\"scopeName\":\"text.html.derivative\",\"embeddedLangs\":[\"html\"]}"));
|
|
7
|
+
var html_derivative_default = [...html_default, lang$5];
|
|
8
|
+
var markdown_vue_default = [Object.freeze(JSON.parse("{\"fileTypes\":[],\"injectTo\":[\"text.html.markdown\"],\"injectionSelector\":\"L:text.html.markdown\",\"name\":\"markdown-vue\",\"patterns\":[{\"include\":\"#vue-code-block\"}],\"repository\":{\"vue-code-block\":{\"begin\":\"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(vue)((\\\\s+|[,:?{])[^`~]*)?$)\",\"beginCaptures\":{\"3\":{\"name\":\"punctuation.definition.markdown\"},\"4\":{\"name\":\"fenced_code.block.language.markdown\"},\"5\":{\"name\":\"fenced_code.block.language.attributes.markdown\",\"patterns\":[]}},\"end\":\"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$\",\"endCaptures\":{\"3\":{\"name\":\"punctuation.definition.markdown\"}},\"name\":\"markup.fenced_code.block.markdown\",\"patterns\":[{\"include\":\"text.html.vue\"}]}},\"scopeName\":\"markdown.vue.codeblock\"}"))];
|
|
9
|
+
var vue_directives_default = [Object.freeze(JSON.parse("{\"fileTypes\":[],\"injectTo\":[\"source.vue\",\"text.html.markdown\",\"text.html.derivative\",\"text.pug\"],\"injectionSelector\":\"L:meta.tag -meta.attribute -meta.ng-binding -entity.name.tag.pug -attribute_value -source.tsx -source.js.jsx, L:meta.element -meta.attribute\",\"name\":\"vue-directives\",\"patterns\":[{\"include\":\"text.html.vue#vue-directives\"}],\"scopeName\":\"vue.directives\"}"))];
|
|
10
|
+
var vue_interpolations_default = [Object.freeze(JSON.parse("{\"fileTypes\":[],\"injectTo\":[\"source.vue\",\"text.html.markdown\",\"text.html.derivative\",\"text.pug\"],\"injectionSelector\":\"L:text.pug -comment -string.comment, L:text.html.derivative -comment.block, L:text.html.markdown -comment.block\",\"name\":\"vue-interpolations\",\"patterns\":[{\"include\":\"text.html.vue#vue-interpolations\"}],\"scopeName\":\"vue.interpolations\"}"))];
|
|
11
|
+
var lang$1 = Object.freeze(JSON.parse("{\"fileTypes\":[],\"injectTo\":[\"source.vue\"],\"injectionSelector\":\"L:source.css -comment, L:source.postcss -comment, L:source.sass -comment, L:source.stylus -comment\",\"name\":\"vue-sfc-style-variable-injection\",\"patterns\":[{\"include\":\"#vue-sfc-style-variable-injection\"}],\"repository\":{\"vue-sfc-style-variable-injection\":{\"begin\":\"\\\\b(v-bind)\\\\s*\\\\(\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.function\"}},\"end\":\"\\\\)\",\"name\":\"vue.sfc.style.variable.injection.v-bind\",\"patterns\":[{\"begin\":\"([\\\"'])\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.html\"}},\"end\":\"(\\\\1)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.end.html\"}},\"name\":\"source.ts.embedded.html.vue\",\"patterns\":[{\"include\":\"source.js\"}]},{\"include\":\"source.js\"}]}},\"scopeName\":\"vue.sfc.style.variable.injection\",\"embeddedLangs\":[\"javascript\"]}"));
|
|
12
|
+
var vue_sfc_style_variable_injection_default = [...javascript_default, lang$1];
|
|
13
|
+
var lang = Object.freeze(JSON.parse("{\"displayName\":\"Vue\",\"name\":\"vue\",\"patterns\":[{\"include\":\"#vue-comments\"},{\"include\":\"#self-closing-tag\"},{\"begin\":\"(<)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.html.vue\"}},\"end\":\"(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.end.html.vue\"}},\"patterns\":[{\"begin\":\"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\\"']?)md\\\\b\\\\2)\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.tag.$1.html.vue\"}},\"end\":\"(</)(\\\\1)\\\\s*(?=>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.html.vue\"},\"2\":{\"name\":\"entity.name.tag.$2.html.vue\"}},\"patterns\":[{\"include\":\"#tag-stuff\"},{\"begin\":\"(?<=>)\",\"end\":\"(?=</)\",\"name\":\"text.html.markdown\",\"patterns\":[{\"include\":\"text.html.markdown\"}]}]},{\"begin\":\"(?!template(?![-0-:A-Za-z]))([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\\"']?)html\\\\b\\\\2)\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.tag.$1.html.vue\"}},\"contentName\":\"text.html.derivative\",\"end\":\"(</)(\\\\1)\\\\s*(?=>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.html.vue\"},\"2\":{\"name\":\"entity.name.tag.$2.html.vue\"}},\"patterns\":[{\"include\":\"#tag-stuff\"},{\"include\":\"#html-stuff\"}]},{\"begin\":\"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\\"']?)pug\\\\b\\\\2)\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.tag.$1.html.vue\"}},\"end\":\"(</)(\\\\1)\\\\s*(?=>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.html.vue\"},\"2\":{\"name\":\"entity.name.tag.$2.html.vue\"}},\"patterns\":[{\"include\":\"#tag-stuff\"},{\"begin\":\"(?<=>)\",\"end\":\"(?=</)\",\"name\":\"text.pug\",\"patterns\":[{\"include\":\"text.pug\"}]}]},{\"begin\":\"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\\"']?)stylus\\\\b\\\\2)\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.tag.$1.html.vue\"}},\"end\":\"(</)(\\\\1)\\\\s*(?=>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.html.vue\"},\"2\":{\"name\":\"entity.name.tag.$2.html.vue\"}},\"patterns\":[{\"include\":\"#tag-stuff\"},{\"begin\":\"(?<=>)\",\"end\":\"(?=</)\",\"name\":\"source.stylus\",\"patterns\":[{\"include\":\"source.stylus\"}]}]},{\"begin\":\"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\\"']?)postcss\\\\b\\\\2)\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.tag.$1.html.vue\"}},\"end\":\"(</)(\\\\1)\\\\s*(?=>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.html.vue\"},\"2\":{\"name\":\"entity.name.tag.$2.html.vue\"}},\"patterns\":[{\"include\":\"#tag-stuff\"},{\"begin\":\"(?<=>)\",\"end\":\"(?=</)\",\"name\":\"source.postcss\",\"patterns\":[{\"include\":\"source.postcss\"}]}]},{\"begin\":\"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\\"']?)sass\\\\b\\\\2)\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.tag.$1.html.vue\"}},\"end\":\"(</)(\\\\1)\\\\s*(?=>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.html.vue\"},\"2\":{\"name\":\"entity.name.tag.$2.html.vue\"}},\"patterns\":[{\"include\":\"#tag-stuff\"},{\"begin\":\"(?<=>)\",\"end\":\"(?=</)\",\"name\":\"source.sass\",\"patterns\":[{\"include\":\"source.sass\"}]}]},{\"begin\":\"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\\"']?)css\\\\b\\\\2)\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.tag.$1.html.vue\"}},\"end\":\"(</)(\\\\1)\\\\s*(?=>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.html.vue\"},\"2\":{\"name\":\"entity.name.tag.$2.html.vue\"}},\"patterns\":[{\"include\":\"#tag-stuff\"},{\"begin\":\"(?<=>)\",\"end\":\"(?=</)\",\"name\":\"source.css\",\"patterns\":[{\"include\":\"source.css\"}]}]},{\"begin\":\"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\\"']?)scss\\\\b\\\\2)\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.tag.$1.html.vue\"}},\"end\":\"(</)(\\\\1)\\\\s*(?=>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.html.vue\"},\"2\":{\"name\":\"entity.name.tag.$2.html.vue\"}},\"patterns\":[{\"include\":\"#tag-stuff\"},{\"begin\":\"(?<=>)\",\"end\":\"(?=</)\",\"name\":\"source.css.scss\",\"patterns\":[{\"include\":\"source.css.scss\"}]}]},{\"begin\":\"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\\"']?)less\\\\b\\\\2)\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.tag.$1.html.vue\"}},\"end\":\"(</)(\\\\1)\\\\s*(?=>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.html.vue\"},\"2\":{\"name\":\"entity.name.tag.$2.html.vue\"}},\"patterns\":[{\"include\":\"#tag-stuff\"},{\"begin\":\"(?<=>)\",\"end\":\"(?=</)\",\"name\":\"source.css.less\",\"patterns\":[{\"include\":\"source.css.less\"}]}]},{\"begin\":\"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\\"']?)js\\\\b\\\\2)\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.tag.$1.html.vue\"}},\"end\":\"(</)(\\\\1)\\\\s*(?=>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.html.vue\"},\"2\":{\"name\":\"entity.name.tag.$2.html.vue\"}},\"patterns\":[{\"include\":\"#tag-stuff\"},{\"begin\":\"(?<=>)\",\"end\":\"(?=</)\",\"name\":\"source.js\",\"patterns\":[{\"include\":\"source.js\"}]}]},{\"begin\":\"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\\"']?)ts\\\\b\\\\2)\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.tag.$1.html.vue\"}},\"end\":\"(</)(\\\\1)\\\\s*(?=>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.html.vue\"},\"2\":{\"name\":\"entity.name.tag.$2.html.vue\"}},\"patterns\":[{\"include\":\"#tag-stuff\"},{\"begin\":\"(?<=>)(?=[^\\\\n]*<\/script[>\\\\s])\",\"end\":\"(?=<\/script[>\\\\s])\",\"name\":\"source.ts\",\"patterns\":[{\"include\":\"source.ts\"}]},{\"begin\":\"(?<=>)\",\"name\":\"source.ts\",\"patterns\":[{\"include\":\"source.ts\"}],\"while\":\"^(?!\\\\s*<\/script[>\\\\s])\"}]},{\"begin\":\"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\\"']?)jsx\\\\b\\\\2)\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.tag.$1.html.vue\"}},\"end\":\"(</)(\\\\1)\\\\s*(?=>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.html.vue\"},\"2\":{\"name\":\"entity.name.tag.$2.html.vue\"}},\"patterns\":[{\"include\":\"#tag-stuff\"},{\"begin\":\"(?<=>)\",\"end\":\"(?=</)\",\"name\":\"source.js.jsx\",\"patterns\":[{\"include\":\"source.js.jsx\"}]}]},{\"begin\":\"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\\"']?)tsx\\\\b\\\\2)\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.tag.$1.html.vue\"}},\"end\":\"(</)(\\\\1)\\\\s*(?=>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.html.vue\"},\"2\":{\"name\":\"entity.name.tag.$2.html.vue\"}},\"patterns\":[{\"include\":\"#tag-stuff\"},{\"begin\":\"(?<=>)(?=[^\\\\n]*<\/script[>\\\\s])\",\"end\":\"(?=<\/script[>\\\\s])\",\"name\":\"source.tsx\",\"patterns\":[{\"include\":\"source.tsx\"}]},{\"begin\":\"(?<=>)\",\"name\":\"source.tsx\",\"patterns\":[{\"include\":\"source.tsx\"}],\"while\":\"^(?!\\\\s*<\/script[>\\\\s])\"}]},{\"begin\":\"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\\"']?)coffee\\\\b\\\\2)\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.tag.$1.html.vue\"}},\"end\":\"(</)(\\\\1)\\\\s*(?=>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.html.vue\"},\"2\":{\"name\":\"entity.name.tag.$2.html.vue\"}},\"patterns\":[{\"include\":\"#tag-stuff\"},{\"begin\":\"(?<=>)\",\"end\":\"(?=</)\",\"name\":\"source.coffee\",\"patterns\":[{\"include\":\"source.coffee\"}]}]},{\"begin\":\"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\\"']?)json\\\\b\\\\2)\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.tag.$1.html.vue\"}},\"end\":\"(</)(\\\\1)\\\\s*(?=>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.html.vue\"},\"2\":{\"name\":\"entity.name.tag.$2.html.vue\"}},\"patterns\":[{\"include\":\"#tag-stuff\"},{\"begin\":\"(?<=>)\",\"end\":\"(?=</)\",\"name\":\"source.json\",\"patterns\":[{\"include\":\"source.json\"}]}]},{\"begin\":\"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\\"']?)jsonc\\\\b\\\\2)\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.tag.$1.html.vue\"}},\"end\":\"(</)(\\\\1)\\\\s*(?=>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.html.vue\"},\"2\":{\"name\":\"entity.name.tag.$2.html.vue\"}},\"patterns\":[{\"include\":\"#tag-stuff\"},{\"begin\":\"(?<=>)\",\"end\":\"(?=</)\",\"name\":\"source.json.comments\",\"patterns\":[{\"include\":\"source.json.comments\"}]}]},{\"begin\":\"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\\"']?)json5\\\\b\\\\2)\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.tag.$1.html.vue\"}},\"end\":\"(</)(\\\\1)\\\\s*(?=>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.html.vue\"},\"2\":{\"name\":\"entity.name.tag.$2.html.vue\"}},\"patterns\":[{\"include\":\"#tag-stuff\"},{\"begin\":\"(?<=>)\",\"end\":\"(?=</)\",\"name\":\"source.json5\",\"patterns\":[{\"include\":\"source.json5\"}]}]},{\"begin\":\"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\\"']?)yaml\\\\b\\\\2)\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.tag.$1.html.vue\"}},\"end\":\"(</)(\\\\1)\\\\s*(?=>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.html.vue\"},\"2\":{\"name\":\"entity.name.tag.$2.html.vue\"}},\"patterns\":[{\"include\":\"#tag-stuff\"},{\"begin\":\"(?<=>)\",\"end\":\"(?=</)\",\"name\":\"source.yaml\",\"patterns\":[{\"include\":\"source.yaml\"}]}]},{\"begin\":\"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\\"']?)toml\\\\b\\\\2)\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.tag.$1.html.vue\"}},\"end\":\"(</)(\\\\1)\\\\s*(?=>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.html.vue\"},\"2\":{\"name\":\"entity.name.tag.$2.html.vue\"}},\"patterns\":[{\"include\":\"#tag-stuff\"},{\"begin\":\"(?<=>)\",\"end\":\"(?=</)\",\"name\":\"source.toml\",\"patterns\":[{\"include\":\"source.toml\"}]}]},{\"begin\":\"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\\"']?)(g(?:ql|raphql))\\\\b\\\\2)\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.tag.$1.html.vue\"}},\"end\":\"(</)(\\\\1)\\\\s*(?=>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.html.vue\"},\"2\":{\"name\":\"entity.name.tag.$2.html.vue\"}},\"patterns\":[{\"include\":\"#tag-stuff\"},{\"begin\":\"(?<=>)\",\"end\":\"(?=</)\",\"name\":\"source.graphql\",\"patterns\":[{\"include\":\"source.graphql\"}]}]},{\"begin\":\"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\\"']?)vue\\\\b\\\\2)\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.tag.$1.html.vue\"}},\"end\":\"(</)(\\\\1)\\\\s*(?=>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.html.vue\"},\"2\":{\"name\":\"entity.name.tag.$2.html.vue\"}},\"patterns\":[{\"include\":\"#tag-stuff\"},{\"begin\":\"(?<=>)\",\"end\":\"(?=</)\",\"name\":\"text.html.vue\",\"patterns\":[{\"include\":\"text.html.vue\"}]}]},{\"begin\":\"(template)(?=\\\\s|/?>)\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.tag.$1.html.vue\"}},\"end\":\"(</)(\\\\1)\\\\s*(?=>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.html.vue\"},\"2\":{\"name\":\"entity.name.tag.$2.html.vue\"}},\"patterns\":[{\"include\":\"#tag-stuff\"},{\"begin\":\"(?<=>)\",\"end\":\"(?=</template[>\\\\s])\",\"name\":\"text.html.derivative\",\"patterns\":[{\"include\":\"#html-stuff\"}]}]},{\"begin\":\"(script)(?=\\\\s|/?>)\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.tag.$1.html.vue\"}},\"end\":\"(</)(\\\\1)\\\\s*(?=>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.html.vue\"},\"2\":{\"name\":\"entity.name.tag.$2.html.vue\"}},\"patterns\":[{\"include\":\"#multi-line-script-tag-stuff\"}]},{\"begin\":\"(style)(?=\\\\s|/?>)\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.tag.$1.html.vue\"}},\"end\":\"(</)(\\\\1)\\\\s*(?=>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.html.vue\"},\"2\":{\"name\":\"entity.name.tag.$2.html.vue\"}},\"patterns\":[{\"include\":\"#multi-line-style-tag-stuff\"}]},{\"begin\":\"([-0-:A-Za-z]+)\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.tag.$1.html.vue\"}},\"end\":\"(</)(\\\\1)\\\\s*(?=>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.html.vue\"},\"2\":{\"name\":\"entity.name.tag.$2.html.vue\"}},\"patterns\":[{\"include\":\"#tag-stuff\"},{\"begin\":\"(?<=>)\",\"end\":\"(?=</)\",\"name\":\"text\"}]}]}],\"repository\":{\"html-stuff\":{\"patterns\":[{\"include\":\"#template-tag\"},{\"include\":\"text.html.derivative\"},{\"include\":\"text.html.basic\"}]},\"multi-line-script-tag-stuff\":{\"begin\":\"\\\\G\",\"end\":\"(?=<\/script[>\\\\s])\",\"patterns\":[{\"begin\":\"\\\\G(?!\\\\blang\\\\s*=\\\\s*[\\\"']?(?:tsx??|jsx|coffee)\\\\b)\",\"end\":\"(?=\\\\blang\\\\s*=\\\\s*[\\\"']?(?:tsx??|jsx|coffee)\\\\b)|(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.end.html.vue\"}},\"name\":\"meta.tag-stuff\",\"patterns\":[{\"include\":\"#vue-directives\"},{\"include\":\"text.html.basic#attribute\"}]},{\"begin\":\"(?=\\\\blang\\\\s*=\\\\s*[\\\"']?ts\\\\b)\",\"end\":\"(?=<\/script[>\\\\s])\",\"patterns\":[{\"include\":\"#tag-stuff\"},{\"begin\":\"(?<=>)(?=[^\\\\n]*<\/script[>\\\\s])\",\"end\":\"(?=<\/script[>\\\\s])\",\"name\":\"source.ts\",\"patterns\":[{\"include\":\"source.ts\"}]},{\"begin\":\"(?<=>)\",\"name\":\"source.ts\",\"patterns\":[{\"include\":\"source.ts\"}],\"while\":\"^(?!\\\\s*<\/script[>\\\\s])\"}]},{\"begin\":\"(?=\\\\blang\\\\s*=\\\\s*[\\\"']?tsx\\\\b)\",\"end\":\"(?=<\/script[>\\\\s])\",\"patterns\":[{\"include\":\"#tag-stuff\"},{\"begin\":\"(?<=>)(?=[^\\\\n]*<\/script[>\\\\s])\",\"end\":\"(?=<\/script[>\\\\s])\",\"name\":\"source.tsx\",\"patterns\":[{\"include\":\"source.tsx\"}]},{\"begin\":\"(?<=>)\",\"name\":\"source.tsx\",\"patterns\":[{\"include\":\"source.tsx\"}],\"while\":\"^(?!\\\\s*<\/script[>\\\\s])\"}]},{\"begin\":\"(?=\\\\blang\\\\s*=\\\\s*[\\\"']?jsx\\\\b)\",\"end\":\"(?=<\/script[>\\\\s])\",\"patterns\":[{\"include\":\"#tag-stuff\"},{\"begin\":\"(?<=>)\",\"end\":\"(?=<\/script[>\\\\s])\",\"name\":\"source.js.jsx\",\"patterns\":[{\"include\":\"source.js.jsx\"}]}]},{\"begin\":\"(?=\\\\blang\\\\s*=\\\\s*[\\\"']?coffee\\\\b)\",\"end\":\"(?=<\/script[>\\\\s])\",\"patterns\":[{\"include\":\"#tag-stuff\"},{\"begin\":\"(?<=>)\",\"end\":\"(?=<\/script[>\\\\s])\",\"name\":\"source.coffee\",\"patterns\":[{\"include\":\"source.coffee\"}]}]},{\"begin\":\"(?<=>)\",\"end\":\"(?=<\/script[>\\\\s])\",\"name\":\"source.js\",\"patterns\":[{\"include\":\"source.js\"}]}]},\"multi-line-style-tag-stuff\":{\"begin\":\"\\\\G\",\"end\":\"(?=</style[>\\\\s])\",\"patterns\":[{\"begin\":\"\\\\G(?!\\\\blang\\\\s*=\\\\s*[\\\"']?(?:scss|stylus|less|postcss)\\\\b)\",\"end\":\"(?=\\\\blang\\\\s*=\\\\s*[\\\"']?(?:scss|stylus|less|postcss)\\\\b)|(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.end.html.vue\"}},\"name\":\"meta.tag-stuff\",\"patterns\":[{\"include\":\"#vue-directives\"},{\"include\":\"text.html.basic#attribute\"}]},{\"begin\":\"(?=\\\\blang\\\\s*=\\\\s*[\\\"']?scss\\\\b)\",\"end\":\"(?=</style[>\\\\s])\",\"patterns\":[{\"include\":\"#tag-stuff\"},{\"begin\":\"(?<=>)\",\"end\":\"(?=</style[>\\\\s])\",\"name\":\"source.css.scss\",\"patterns\":[{\"include\":\"source.css.scss\"}]}]},{\"begin\":\"(?=\\\\blang\\\\s*=\\\\s*[\\\"']?stylus\\\\b)\",\"end\":\"(?=</style[>\\\\s])\",\"patterns\":[{\"include\":\"#tag-stuff\"},{\"begin\":\"(?<=>)\",\"end\":\"(?=</style[>\\\\s])\",\"name\":\"source.stylus\",\"patterns\":[{\"include\":\"source.stylus\"}]}]},{\"begin\":\"(?=\\\\blang\\\\s*=\\\\s*[\\\"']?less\\\\b)\",\"end\":\"(?=</style[>\\\\s])\",\"patterns\":[{\"include\":\"#tag-stuff\"},{\"begin\":\"(?<=>)\",\"end\":\"(?=</style[>\\\\s])\",\"name\":\"source.css.less\",\"patterns\":[{\"include\":\"source.css.less\"}]}]},{\"begin\":\"(?=\\\\blang\\\\s*=\\\\s*[\\\"']?postcss\\\\b)\",\"end\":\"(?=</style[>\\\\s])\",\"patterns\":[{\"include\":\"#tag-stuff\"},{\"begin\":\"(?<=>)\",\"end\":\"(?=</style[>\\\\s])\",\"name\":\"source.postcss\",\"patterns\":[{\"include\":\"source.postcss\"}]}]},{\"begin\":\"(?<=>)\",\"end\":\"(?=</style[>\\\\s])\",\"name\":\"source.css\",\"patterns\":[{\"include\":\"source.css\"}]}]},\"self-closing-tag\":{\"begin\":\"(<)([-0-:A-Za-z]+)(?=([^>]+/>))\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.html.vue\"},\"2\":{\"name\":\"entity.name.tag.$2.html.vue\"}},\"end\":\"(/>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.end.html.vue\"}},\"name\":\"self-closing-tag\",\"patterns\":[{\"include\":\"#tag-stuff\"}]},\"tag-stuff\":{\"begin\":\"\\\\G\",\"end\":\"(?=/>)|(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.end.html.vue\"}},\"name\":\"meta.tag-stuff\",\"patterns\":[{\"include\":\"#vue-directives\"},{\"include\":\"text.html.basic#attribute\"}]},\"template-tag\":{\"patterns\":[{\"include\":\"#template-tag-1\"},{\"include\":\"#template-tag-2\"}]},\"template-tag-1\":{\"begin\":\"(<)(template)\\\\b(>)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.html.vue\"},\"2\":{\"name\":\"entity.name.tag.$2.html.vue\"},\"3\":{\"name\":\"punctuation.definition.tag.end.html.vue\"}},\"end\":\"(/?>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.end.html.vue\"}},\"name\":\"meta.template-tag.start\",\"patterns\":[{\"begin\":\"\\\\G\",\"end\":\"(?=/>)|((</)(template)(?=[>\\\\s]))\",\"endCaptures\":{\"2\":{\"name\":\"punctuation.definition.tag.begin.html.vue\"},\"3\":{\"name\":\"entity.name.tag.$3.html.vue\"}},\"name\":\"meta.template-tag.end\",\"patterns\":[{\"include\":\"#html-stuff\"}]}]},\"template-tag-2\":{\"begin\":\"(<)(template)(?=\\\\s|/?>)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.html.vue\"},\"2\":{\"name\":\"entity.name.tag.$2.html.vue\"}},\"end\":\"(/?>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.end.html.vue\"}},\"name\":\"meta.template-tag.start\",\"patterns\":[{\"begin\":\"\\\\G\",\"end\":\"(?=/>)|((</)(template)(?=[>\\\\s]))\",\"endCaptures\":{\"2\":{\"name\":\"punctuation.definition.tag.begin.html.vue\"},\"3\":{\"name\":\"entity.name.tag.$3.html.vue\"}},\"name\":\"meta.template-tag.end\",\"patterns\":[{\"include\":\"#tag-stuff\"},{\"include\":\"#html-stuff\"}]}]},\"vue-comments\":{\"patterns\":[{\"include\":\"#vue-comments-key-value\"},{\"begin\":\"<!--\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.comment.vue\"}},\"end\":\"-->\",\"name\":\"comment.block.vue\"}]},\"vue-comments-key-value\":{\"begin\":\"(<!--)\\\\s*(@)([$\\\\w]+)(?=\\\\s)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.comment.vue\"},\"2\":{\"name\":\"punctuation.definition.block.tag.comment.vue\"},\"3\":{\"name\":\"storage.type.class.comment.vue\"}},\"end\":\"(-->)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.comment.vue\"}},\"name\":\"comment.block.vue\",\"patterns\":[{\"include\":\"source.json#value\"}]},\"vue-directives\":{\"patterns\":[{\"include\":\"#vue-directives-control\"},{\"include\":\"#vue-directives-generic-attr\"},{\"include\":\"#vue-directives-style-attr\"},{\"include\":\"#vue-directives-original\"}]},\"vue-directives-control\":{\"begin\":\"(?:(v-for)|(v-(?:if|else-if|else)))(?=[)/=>\\\\s])\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.loop.vue\"},\"2\":{\"name\":\"keyword.control.conditional.vue\"}},\"end\":\"(?=\\\\s*[^=\\\\s])\",\"name\":\"meta.attribute.directive.control.vue\",\"patterns\":[{\"include\":\"#vue-directives-expression\"}]},\"vue-directives-expression\":{\"patterns\":[{\"begin\":\"(=)\\\\s*([\\\"'`])\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.separator.key-value.html.vue\"},\"2\":{\"name\":\"punctuation.definition.string.begin.html.vue\"}},\"end\":\"(\\\\2)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.string.end.html.vue\"}},\"patterns\":[{\"begin\":\"(?<=([\\\"'`]))\",\"end\":\"(?=\\\\1)\",\"name\":\"source.ts.embedded.html.vue\",\"patterns\":[{\"include\":\"source.ts#expression\"}]}]},{\"begin\":\"(=)\\\\s*(?=[^\\\"'`])\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.separator.key-value.html.vue\"}},\"end\":\"(?=([>\\\\s]|/>))\",\"patterns\":[{\"begin\":\"(?=[^\\\"'`])\",\"end\":\"(?=([>\\\\s]|/>))\",\"name\":\"source.ts.embedded.html.vue\",\"patterns\":[{\"include\":\"source.ts#expression\"}]}]}]},\"vue-directives-generic-attr\":{\"begin\":\"\\\\b(generic)\\\\s*(=)\",\"beginCaptures\":{\"1\":{\"name\":\"entity.other.attribute-name.html.vue\"},\"2\":{\"name\":\"punctuation.separator.key-value.html.vue\"}},\"end\":\"(?<=[\\\"'])\",\"name\":\"meta.attribute.generic.vue\",\"patterns\":[{\"begin\":\"([\\\"'])\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.string.begin.html.vue\"}},\"end\":\"(\\\\1)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.string.end.html.vue\"}},\"name\":\"meta.type.parameters.vue\",\"patterns\":[{\"include\":\"source.ts#comment\"},{\"match\":\"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(extends|in|out)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))\",\"name\":\"storage.modifier.ts\"},{\"include\":\"source.ts#type\"},{\"include\":\"source.ts#punctuation-comma\"},{\"match\":\"(=)(?!>)\",\"name\":\"keyword.operator.assignment.ts\"}]}]},\"vue-directives-original\":{\"begin\":\"(?:(v-[-\\\\w]+)(:)?|([.:])|(@)|(#))(?:(\\\\[)([^]]*)(])|([-\\\\w]+))?\",\"beginCaptures\":{\"1\":{\"name\":\"entity.other.attribute-name.html.vue\"},\"2\":{\"name\":\"punctuation.separator.key-value.html.vue\"},\"3\":{\"name\":\"punctuation.attribute-shorthand.bind.html.vue\"},\"4\":{\"name\":\"punctuation.attribute-shorthand.event.html.vue\"},\"5\":{\"name\":\"punctuation.attribute-shorthand.slot.html.vue\"},\"6\":{\"name\":\"punctuation.separator.key-value.html.vue\"},\"7\":{\"name\":\"source.ts.embedded.html.vue\",\"patterns\":[{\"include\":\"source.ts#expression\"}]},\"8\":{\"name\":\"punctuation.separator.key-value.html.vue\"},\"9\":{\"name\":\"entity.other.attribute-name.html.vue\"}},\"end\":\"(?=\\\\s*[^=\\\\s])\",\"name\":\"meta.attribute.directive.vue\",\"patterns\":[{\"1\":{\"name\":\"punctuation.separator.key-value.html.vue\"},\"2\":{\"name\":\"entity.other.attribute-name.html.vue\"},\"match\":\"(\\\\.)([-\\\\w]*)\"},{\"include\":\"#vue-directives-expression\"}]},\"vue-directives-style-attr\":{\"begin\":\"\\\\b(style)\\\\s*(=)\",\"beginCaptures\":{\"1\":{\"name\":\"entity.other.attribute-name.html.vue\"},\"2\":{\"name\":\"punctuation.separator.key-value.html.vue\"}},\"end\":\"(?<=[\\\"'])\",\"name\":\"meta.attribute.style.vue\",\"patterns\":[{\"begin\":\"([\\\"'])\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.string.begin.html.vue\"}},\"end\":\"(\\\\1)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.string.end.html.vue\"}},\"name\":\"source.css.embedded.html.vue\",\"patterns\":[{\"include\":\"source.css#comment-block\"},{\"include\":\"source.css#escapes\"},{\"include\":\"source.css#font-features\"},{\"match\":\"(?<![-\\\\w])--[-A-Z_a-z[^\\\\x00-\\\\x7F]](?:[-0-9A-Z_a-z[^\\\\x00-\\\\x7F]]|\\\\\\\\(?:\\\\h{1,6}|.))*\",\"name\":\"variable.css\"},{\"begin\":\"(?<![-A-Za-z])(?=[-A-Za-z])\",\"end\":\"$|(?![-A-Za-z])\",\"name\":\"meta.property-name.css\",\"patterns\":[{\"include\":\"source.css#property-names\"}]},{\"begin\":\"(:)\\\\s*\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.separator.key-value.css\"}},\"contentName\":\"meta.property-value.css\",\"end\":\"\\\\s*(;)|\\\\s*(?=[\\\"'])\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.terminator.rule.css\"}},\"patterns\":[{\"include\":\"source.css#comment-block\"},{\"include\":\"source.css#property-values\"}]},{\"match\":\";\",\"name\":\"punctuation.terminator.rule.css\"}]}]},\"vue-interpolations\":{\"patterns\":[{\"begin\":\"(\\\\{\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.interpolation.begin.html.vue\"}},\"end\":\"(}})\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.interpolation.end.html.vue\"}},\"name\":\"expression.embedded.vue\",\"patterns\":[{\"begin\":\"\\\\G\",\"end\":\"(?=}})\",\"name\":\"source.ts.embedded.html.vue\",\"patterns\":[{\"include\":\"source.ts#expression\"}]}]}]}},\"scopeName\":\"text.html.vue\",\"embeddedLangs\":[\"css\",\"javascript\",\"typescript\",\"json\",\"html\",\"html-derivative\",\"markdown-vue\",\"vue-directives\",\"vue-interpolations\",\"vue-sfc-style-variable-injection\"],\"embeddedLangsLazy\":[\"markdown\",\"pug\",\"stylus\",\"sass\",\"scss\",\"less\",\"jsx\",\"tsx\",\"coffee\",\"jsonc\",\"json5\",\"yaml\",\"toml\",\"graphql\"]}"));
|
|
14
|
+
var vue_default = [
|
|
15
|
+
...css_default,
|
|
16
|
+
...javascript_default,
|
|
17
|
+
...typescript_default,
|
|
18
|
+
...json_default,
|
|
19
|
+
...html_default,
|
|
20
|
+
...html_derivative_default,
|
|
21
|
+
...markdown_vue_default,
|
|
22
|
+
...vue_directives_default,
|
|
23
|
+
...vue_interpolations_default,
|
|
24
|
+
...vue_sfc_style_variable_injection_default,
|
|
25
|
+
lang
|
|
26
|
+
];
|
|
27
|
+
export { vue_default as default };
|
|
@@ -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/constants.d.mts
CHANGED
package/dist/dirs.mjs
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { dirname, resolve } from "node:path";
|
|
2
|
+
import { fileURLToPath } from "node:url";
|
|
2
3
|
|
|
4
|
+
//#region src/dirs.ts
|
|
5
|
+
/**
|
|
6
|
+
* 当前包的分发目录(CJS/ESM 兼容)。
|
|
7
|
+
* - 在 Node ESM 环境下,__dirname 不可用,需用 fileURLToPath(import.meta.url) 获取当前文件目录。
|
|
8
|
+
*/
|
|
9
|
+
const DIR_DIST = typeof __dirname !== "undefined" ? __dirname : dirname(fileURLToPath(import.meta.url));
|
|
10
|
+
/**
|
|
11
|
+
* Devtools 客户端产物目录。
|
|
12
|
+
* 构建后客户端资源会输出到 `../dist/client`(相对本文件)
|
|
13
|
+
*/
|
|
14
|
+
const DIR_CLIENT = resolve(DIR_DIST, "../dist/client");
|
|
15
|
+
|
|
16
|
+
//#endregion
|
|
3
17
|
export { DIR_CLIENT, DIR_DIST };
|
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 };
|