vite-plugin-vue-devtools 0.1.6 → 0.2.0
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/{IframeView.vue_vue_type_script_setup_true_lang-0b033310.js → IframeView.vue_vue_type_script_setup_true_lang-b43ce04d.js} +1 -1
- package/dist/client/assets/{StateFields.vue_vue_type_script_setup_true_lang-ddaa9f9f.js → StateFields.vue_vue_type_script_setup_true_lang-2eb76810.js} +4 -4
- package/dist/client/assets/{VCard-5e511cfb.js → VCard-85379c8f.js} +1 -1
- package/dist/client/assets/{VIcon.vue_vue_type_script_setup_true_lang-e3f9dc2c.js → VIcon.vue_vue_type_script_setup_true_lang-8ee81c4d.js} +1 -1
- package/dist/client/assets/{VIconButton.vue_vue_type_script_setup_true_lang-33c079ff.js → VIconButton.vue_vue_type_script_setup_true_lang-3836bdc7.js} +2 -2
- package/dist/client/assets/{VIconTitle.vue_vue_type_script_setup_true_lang-f41c9e93.js → VIconTitle.vue_vue_type_script_setup_true_lang-7910bc00.js} +1 -1
- package/dist/client/assets/{VPanelGrids-ecdefe60.js → VPanelGrids-8fb6dd3e.js} +1 -1
- package/dist/client/assets/{VSectionBlock-57896fbc.js → VSectionBlock-6c230ee0.js} +3 -3
- package/dist/client/assets/{VTextInput.vue_vue_type_script_setup_true_lang-72d4be1b.js → VTextInput.vue_vue_type_script_setup_true_lang-db4f1ff5.js} +2 -2
- package/dist/client/assets/__eyedropper-356eb298.js +112 -0
- package/dist/client/assets/{__inspecting-2cd3d8ef.js → __inspecting-e140eb7b.js} +2 -2
- package/dist/client/assets/{assets-172a5e81.js → assets-e0b8d4d7.js} +9 -9
- package/dist/client/assets/{component-docs-5aa27f70.js → component-docs-b9ee379e.js} +6 -6
- package/dist/client/assets/{components-2208748b.js → components-00f431db.js} +8 -8
- package/dist/client/assets/{documentations-9edd139a.js → documentations-1dde3300.js} +4 -4
- package/dist/client/assets/{graph-c5342cea.js → graph-cc854637.js} +2 -2
- package/dist/client/assets/{index-9206e97a.js → index-2b9ce289.js} +28 -18
- package/dist/client/assets/index-76a3c684.css +466 -0
- package/dist/client/assets/{index-8dd37505.js → index-789b3f11.js} +1 -1
- package/dist/client/assets/{inspect-b0d0f0fd.js → inspect-7051b204.js} +3 -3
- package/dist/client/assets/{npm-d2e1b27a.js → npm-d6d3b7aa.js} +175 -31
- package/dist/client/assets/{overview-bc357c8f.js → overview-1af2ca59.js} +5 -5
- package/dist/client/assets/{pages-5ca8f485.js → pages-46d19766.js} +5 -5
- package/dist/client/assets/{pinia-c6908786.js → pinia-ec20f871.js} +6 -6
- package/dist/client/assets/{routes-9d3e51a6.js → routes-0105fa20.js} +8 -8
- package/dist/client/assets/{rpc-3bf5ad60.js → rpc-ec85f8ba.js} +1 -1
- package/dist/client/assets/{settings-9420d6e3.js → settings-7e727d67.js} +3 -3
- package/dist/client/assets/{splitpanes.es-be62d1e3.js → splitpanes.es-6bb61903.js} +1 -1
- package/dist/client/assets/{timeline-134262d1.js → timeline-a5175ebd.js} +8 -8
- package/dist/client/index.html +2 -2
- package/dist/index.cjs +36 -10
- package/dist/index.mjs +35 -9
- package/package.json +1 -1
- package/src/node/Container.vue +18 -5
- package/dist/client/assets/index-4825b66d.css +0 -466
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as _sfc_main$1 } from './IframeView.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { i as inspectClientUrl } from './rpc-
|
|
3
|
-
import { v as defineComponent, o as openBlock, e as createElementBlock, u as createVNode, z as unref } from './index-
|
|
1
|
+
import { _ as _sfc_main$1 } from './IframeView.vue_vue_type_script_setup_true_lang-b43ce04d.js';
|
|
2
|
+
import { i as inspectClientUrl } from './rpc-ec85f8ba.js';
|
|
3
|
+
import { v as defineComponent, o as openBlock, e as createElementBlock, u as createVNode, z as unref } from './index-2b9ce289.js';
|
|
4
4
|
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "inspect",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { v as defineComponent, $ as ref, a6 as onMounted, ab as useEventListener, ac as hookApi, o as openBlock, e as createElementBlock, ad as useScrollLock, ae as watch, af as useInfiniteScroll, r as resolveComponent, b as resolveDirective, x as createBaseVNode, u as createVNode, z as unref, K as isRef, h as withCtx, F as Fragment, i as renderList, c as createBlock, g as createCommentVNode, y as toDisplayString,
|
|
2
|
-
import { _ as __unplugin_components_3 } from './VSectionBlock-
|
|
3
|
-
import { _ as _sfc_main$2 } from './VTextInput.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { v as defineComponent, $ as ref, a6 as onMounted, ab as useEventListener, ac as hookApi, o as openBlock, e as createElementBlock, ad as useScrollLock, ae as watch, af as useInfiniteScroll, r as resolveComponent, b as resolveDirective, x as createBaseVNode, u as createVNode, z as unref, K as isRef, h as withCtx, F as Fragment, i as renderList, c as createBlock, g as createCommentVNode, y as toDisplayString, d as withDirectives, O as createTextVNode, q as normalizeClass, R as _sfc_main$3 } from './index-2b9ce289.js';
|
|
2
|
+
import { _ as __unplugin_components_3 } from './VSectionBlock-6c230ee0.js';
|
|
3
|
+
import { _ as _sfc_main$2 } from './VTextInput.vue_vue_type_script_setup_true_lang-db4f1ff5.js';
|
|
4
4
|
import { g as getDefaultExportFromCjs, c as commonjsGlobal } from './_commonjsHelpers-c0d8ada0.js';
|
|
5
|
-
import { r as rpc } from './rpc-
|
|
6
|
-
import './VIconTitle.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import './VIcon.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { r as rpc } from './rpc-ec85f8ba.js';
|
|
6
|
+
import './VIconTitle.vue_vue_type_script_setup_true_lang-7910bc00.js';
|
|
7
|
+
import './VIcon.vue_vue_type_script_setup_true_lang-8ee81c4d.js';
|
|
8
8
|
|
|
9
9
|
var xterm$1 = {exports: {}};/* Injected with object hook! */
|
|
10
10
|
|
|
@@ -101,9 +101,8 @@ const _hoisted_4 = /* @__PURE__ */ createBaseVNode("thead", { border: "b base" }
|
|
|
101
101
|
/* @__PURE__ */ createBaseVNode("tr", null, [
|
|
102
102
|
/* @__PURE__ */ createBaseVNode("th", { "text-left": "" }, " Name "),
|
|
103
103
|
/* @__PURE__ */ createBaseVNode("th", { "text-left": "" }, " Version "),
|
|
104
|
-
/* @__PURE__ */ createBaseVNode("th", { "text-
|
|
105
|
-
/* @__PURE__ */ createBaseVNode("th", { "text-
|
|
106
|
-
/* @__PURE__ */ createBaseVNode("th", { "text-center": "" }, " Download ")
|
|
104
|
+
/* @__PURE__ */ createBaseVNode("th", { "text-center": "" }, " Type "),
|
|
105
|
+
/* @__PURE__ */ createBaseVNode("th", { "text-center": "" }, " Uninstall ")
|
|
107
106
|
])
|
|
108
107
|
], -1);
|
|
109
108
|
const _hoisted_5 = {
|
|
@@ -114,8 +113,49 @@ const _hoisted_6 = {
|
|
|
114
113
|
flex: "inline gap3",
|
|
115
114
|
"items-center": ""
|
|
116
115
|
};
|
|
117
|
-
const _hoisted_7 =
|
|
116
|
+
const _hoisted_7 = {
|
|
117
|
+
"text-sm": "",
|
|
118
|
+
op70: ""
|
|
119
|
+
};
|
|
118
120
|
const _hoisted_8 = {
|
|
121
|
+
flex: "inline gap3",
|
|
122
|
+
"items-center": ""
|
|
123
|
+
};
|
|
124
|
+
const _hoisted_9 = {
|
|
125
|
+
flex: "",
|
|
126
|
+
"justify-center": "",
|
|
127
|
+
"text-sm": "",
|
|
128
|
+
op70: ""
|
|
129
|
+
};
|
|
130
|
+
const _hoisted_10 = {
|
|
131
|
+
"w-30": "",
|
|
132
|
+
"text-center": ""
|
|
133
|
+
};
|
|
134
|
+
const _hoisted_11 = {
|
|
135
|
+
"max-h": "80%",
|
|
136
|
+
"of-hidden": "",
|
|
137
|
+
"px-4": ""
|
|
138
|
+
};
|
|
139
|
+
const _hoisted_12 = { "w-full": "" };
|
|
140
|
+
const _hoisted_13 = /* @__PURE__ */ createBaseVNode("thead", { border: "b base" }, [
|
|
141
|
+
/* @__PURE__ */ createBaseVNode("tr", null, [
|
|
142
|
+
/* @__PURE__ */ createBaseVNode("th", { "text-left": "" }, " Name "),
|
|
143
|
+
/* @__PURE__ */ createBaseVNode("th", { "text-left": "" }, " Version "),
|
|
144
|
+
/* @__PURE__ */ createBaseVNode("th", { "text-left": "" }, " Author "),
|
|
145
|
+
/* @__PURE__ */ createBaseVNode("th", { "text-left": "" }, " Downloads "),
|
|
146
|
+
/* @__PURE__ */ createBaseVNode("th", { "text-center": "" }, " Download ")
|
|
147
|
+
])
|
|
148
|
+
], -1);
|
|
149
|
+
const _hoisted_14 = {
|
|
150
|
+
"text-sm": "",
|
|
151
|
+
op70: ""
|
|
152
|
+
};
|
|
153
|
+
const _hoisted_15 = {
|
|
154
|
+
flex: "inline gap3",
|
|
155
|
+
"items-center": ""
|
|
156
|
+
};
|
|
157
|
+
const _hoisted_16 = ["href"];
|
|
158
|
+
const _hoisted_17 = {
|
|
119
159
|
hover: "text-primary",
|
|
120
160
|
"h-7": "",
|
|
121
161
|
"cursor-pointer": "",
|
|
@@ -128,13 +168,13 @@ const _hoisted_8 = {
|
|
|
128
168
|
underline: "",
|
|
129
169
|
op70: ""
|
|
130
170
|
};
|
|
131
|
-
const
|
|
171
|
+
const _hoisted_18 = {
|
|
132
172
|
"max-h": "35",
|
|
133
173
|
"of-scroll": "",
|
|
134
174
|
"py-3": ""
|
|
135
175
|
};
|
|
136
|
-
const
|
|
137
|
-
const
|
|
176
|
+
const _hoisted_19 = ["onClick"];
|
|
177
|
+
const _hoisted_20 = {
|
|
138
178
|
"w-30": "",
|
|
139
179
|
"ws-nowrap": "",
|
|
140
180
|
"pr-1": "",
|
|
@@ -145,8 +185,8 @@ const _hoisted_11 = {
|
|
|
145
185
|
op70: "",
|
|
146
186
|
hover: "text-primary"
|
|
147
187
|
};
|
|
148
|
-
const
|
|
149
|
-
const
|
|
188
|
+
const _hoisted_21 = ["href"];
|
|
189
|
+
const _hoisted_22 = {
|
|
150
190
|
"w-30": "",
|
|
151
191
|
"ws-nowrap": "",
|
|
152
192
|
"pr-1": "",
|
|
@@ -155,7 +195,7 @@ const _hoisted_13 = {
|
|
|
155
195
|
"text-sm": "",
|
|
156
196
|
op70: ""
|
|
157
197
|
};
|
|
158
|
-
const
|
|
198
|
+
const _hoisted_23 = {
|
|
159
199
|
"w-30": "",
|
|
160
200
|
"text-center": ""
|
|
161
201
|
};
|
|
@@ -177,7 +217,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
177
217
|
const el = ref(null);
|
|
178
218
|
const terminalVisible = ref(false);
|
|
179
219
|
const list = ref([]);
|
|
220
|
+
const projectDeps = ref([]);
|
|
180
221
|
const locked = useScrollLock(el);
|
|
222
|
+
const projectDepsVisible = ref(false);
|
|
223
|
+
const packageListVisible = ref(true);
|
|
181
224
|
function toThousands(num) {
|
|
182
225
|
return (num || 0).toString().replace(/(\d)(?=(?:\d{3})+$)/g, "$1,");
|
|
183
226
|
}
|
|
@@ -195,6 +238,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
195
238
|
}, 2e3);
|
|
196
239
|
});
|
|
197
240
|
}
|
|
241
|
+
async function uninstall(item, type) {
|
|
242
|
+
const isDev = type !== "dependencies";
|
|
243
|
+
terminalVisible.value = true;
|
|
244
|
+
locked.value = true;
|
|
245
|
+
rpc.uninstallPackage([`${item.name}`], { isDev });
|
|
246
|
+
hookApi.hook.on("__vue-devtools:terminal:exit__", () => {
|
|
247
|
+
setTimeout(() => {
|
|
248
|
+
terminalVisible.value = false;
|
|
249
|
+
locked.value = false;
|
|
250
|
+
getProjectDeps();
|
|
251
|
+
}, 2e3);
|
|
252
|
+
});
|
|
253
|
+
}
|
|
198
254
|
async function search(query) {
|
|
199
255
|
const res = await client.search(query, {
|
|
200
256
|
attributesToRetrieve: [
|
|
@@ -213,11 +269,25 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
213
269
|
total.value = res.nbHits;
|
|
214
270
|
list.value = page.value ? list.value.concat(res.hits) : res.hits;
|
|
215
271
|
}
|
|
272
|
+
function getProjectDeps() {
|
|
273
|
+
rpc.getPackages().then((res) => {
|
|
274
|
+
projectDeps.value = Object.keys(res.packages).map((key) => {
|
|
275
|
+
return {
|
|
276
|
+
name: key,
|
|
277
|
+
version: res.packages[key].version,
|
|
278
|
+
type: res.packages[key].type
|
|
279
|
+
};
|
|
280
|
+
});
|
|
281
|
+
});
|
|
282
|
+
}
|
|
283
|
+
getProjectDeps();
|
|
216
284
|
watch(keywords, (value) => {
|
|
217
285
|
page.value = 0;
|
|
218
286
|
el.value?.scrollTo({
|
|
219
287
|
top: 0
|
|
220
288
|
});
|
|
289
|
+
packageListVisible.value = true;
|
|
290
|
+
projectDepsVisible.value = false;
|
|
221
291
|
search(value);
|
|
222
292
|
}, {
|
|
223
293
|
immediate: true
|
|
@@ -225,7 +295,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
225
295
|
useInfiniteScroll(
|
|
226
296
|
el,
|
|
227
297
|
() => {
|
|
228
|
-
if (list.value.length >= total.value)
|
|
298
|
+
if (list.value.length >= total.value || !packageListVisible.value)
|
|
229
299
|
return;
|
|
230
300
|
page.value++;
|
|
231
301
|
search(keywords.value);
|
|
@@ -234,8 +304,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
234
304
|
);
|
|
235
305
|
return (_ctx, _cache) => {
|
|
236
306
|
const _component_VTextInput = _sfc_main$2;
|
|
237
|
-
const _component_VDropdown = resolveComponent("VDropdown");
|
|
238
307
|
const _component_VButton = _sfc_main$3;
|
|
308
|
+
const _component_VDropdown = resolveComponent("VDropdown");
|
|
239
309
|
const _component_VSectionBlock = __unplugin_components_3;
|
|
240
310
|
const _component_TerminalView = _sfc_main$1;
|
|
241
311
|
const _directive_close_popper = resolveDirective("close-popper");
|
|
@@ -258,8 +328,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
258
328
|
}, null, 8, ["modelValue"])
|
|
259
329
|
]),
|
|
260
330
|
createVNode(_component_VSectionBlock, {
|
|
261
|
-
|
|
262
|
-
|
|
331
|
+
open: unref(projectDepsVisible),
|
|
332
|
+
"onUpdate:open": _cache[1] || (_cache[1] = ($event) => isRef(projectDepsVisible) ? projectDepsVisible.value = $event : null),
|
|
333
|
+
text: "Project dependencies",
|
|
334
|
+
description: `found ${toThousands(unref(projectDeps).length)} packages`,
|
|
263
335
|
padding: "0"
|
|
264
336
|
}, {
|
|
265
337
|
default: withCtx(() => [
|
|
@@ -267,7 +339,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
267
339
|
createBaseVNode("table", _hoisted_3, [
|
|
268
340
|
_hoisted_4,
|
|
269
341
|
createBaseVNode("tbody", null, [
|
|
270
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(
|
|
342
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(projectDeps), (item, index) => {
|
|
271
343
|
return openBlock(), createElementBlock("tr", {
|
|
272
344
|
key: index,
|
|
273
345
|
class: "group",
|
|
@@ -275,13 +347,85 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
275
347
|
border: "b dashed transparent hover:base"
|
|
276
348
|
}, [
|
|
277
349
|
createBaseVNode("td", _hoisted_5, [
|
|
278
|
-
createBaseVNode("div", _hoisted_6,
|
|
350
|
+
createBaseVNode("div", _hoisted_6, toDisplayString(item.name), 1)
|
|
351
|
+
]),
|
|
352
|
+
createBaseVNode("td", _hoisted_7, [
|
|
353
|
+
createBaseVNode("div", _hoisted_8, toDisplayString(item.version), 1)
|
|
354
|
+
]),
|
|
355
|
+
createBaseVNode("td", _hoisted_9, [
|
|
356
|
+
createBaseVNode("div", null, toDisplayString(item.type), 1)
|
|
357
|
+
]),
|
|
358
|
+
createBaseVNode("td", _hoisted_10, [
|
|
359
|
+
createVNode(_component_VDropdown, {
|
|
360
|
+
placement: "bottom",
|
|
361
|
+
distance: 5,
|
|
362
|
+
"text-center": ""
|
|
363
|
+
}, {
|
|
364
|
+
popper: withCtx(() => [
|
|
365
|
+
withDirectives((openBlock(), createBlock(_component_VButton, {
|
|
366
|
+
"py-1": "",
|
|
367
|
+
onClick: ($event) => uninstall(item, item.type)
|
|
368
|
+
}, {
|
|
369
|
+
default: withCtx(() => [
|
|
370
|
+
createTextVNode(" Confirm ")
|
|
371
|
+
]),
|
|
372
|
+
_: 2
|
|
373
|
+
}, 1032, ["onClick"])), [
|
|
374
|
+
[_directive_close_popper]
|
|
375
|
+
]),
|
|
376
|
+
withDirectives((openBlock(), createBlock(_component_VButton, { "py-1": "" }, {
|
|
377
|
+
default: withCtx(() => [
|
|
378
|
+
createTextVNode(" Cancel ")
|
|
379
|
+
]),
|
|
380
|
+
_: 1
|
|
381
|
+
})), [
|
|
382
|
+
[_directive_close_popper]
|
|
383
|
+
])
|
|
384
|
+
]),
|
|
385
|
+
default: withCtx(() => [
|
|
386
|
+
createVNode(_component_VButton, {
|
|
387
|
+
icon: "carbon:trash-can m0 text-xs",
|
|
388
|
+
"py-1": ""
|
|
389
|
+
})
|
|
390
|
+
]),
|
|
391
|
+
_: 2
|
|
392
|
+
}, 1024)
|
|
393
|
+
])
|
|
394
|
+
]);
|
|
395
|
+
}), 128))
|
|
396
|
+
])
|
|
397
|
+
])
|
|
398
|
+
])
|
|
399
|
+
]),
|
|
400
|
+
_: 1
|
|
401
|
+
}, 8, ["open", "description"]),
|
|
402
|
+
createVNode(_component_VSectionBlock, {
|
|
403
|
+
open: unref(packageListVisible),
|
|
404
|
+
"onUpdate:open": _cache[2] || (_cache[2] = ($event) => isRef(packageListVisible) ? packageListVisible.value = $event : null),
|
|
405
|
+
text: "Search Results",
|
|
406
|
+
description: `found ${toThousands(unref(total))} packages in ${unref(responseTime)}ms`,
|
|
407
|
+
padding: "0"
|
|
408
|
+
}, {
|
|
409
|
+
default: withCtx(() => [
|
|
410
|
+
createBaseVNode("div", _hoisted_11, [
|
|
411
|
+
createBaseVNode("table", _hoisted_12, [
|
|
412
|
+
_hoisted_13,
|
|
413
|
+
createBaseVNode("tbody", null, [
|
|
414
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(list), (item, index) => {
|
|
415
|
+
return openBlock(), createElementBlock("tr", {
|
|
416
|
+
key: index,
|
|
417
|
+
class: "group",
|
|
418
|
+
"h-7": "",
|
|
419
|
+
border: "b dashed transparent hover:base"
|
|
420
|
+
}, [
|
|
421
|
+
createBaseVNode("td", _hoisted_14, [
|
|
422
|
+
createBaseVNode("div", _hoisted_15, [
|
|
279
423
|
item?.repository?.url ? (openBlock(), createElementBlock("a", {
|
|
280
424
|
key: 0,
|
|
281
425
|
href: item.repository.url,
|
|
282
426
|
target: "_blank",
|
|
283
427
|
hover: "text-primary"
|
|
284
|
-
}, toDisplayString(item.name), 9,
|
|
428
|
+
}, toDisplayString(item.name), 9, _hoisted_16)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
285
429
|
createTextVNode(toDisplayString(item.name), 1)
|
|
286
430
|
], 64))
|
|
287
431
|
])
|
|
@@ -292,7 +436,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
292
436
|
distance: 5
|
|
293
437
|
}, {
|
|
294
438
|
popper: withCtx(() => [
|
|
295
|
-
createBaseVNode("ul",
|
|
439
|
+
createBaseVNode("ul", _hoisted_18, [
|
|
296
440
|
(openBlock(true), createElementBlock(Fragment, null, renderList(Object.keys(item.versions).reverse(), (version) => {
|
|
297
441
|
return withDirectives((openBlock(), createElementBlock("li", {
|
|
298
442
|
key: version,
|
|
@@ -307,25 +451,25 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
307
451
|
onClick: ($event) => toggleVersion(item, version)
|
|
308
452
|
}, [
|
|
309
453
|
createTextVNode(toDisplayString(version), 1)
|
|
310
|
-
], 10,
|
|
454
|
+
], 10, _hoisted_19)), [
|
|
311
455
|
[_directive_close_popper]
|
|
312
456
|
]);
|
|
313
457
|
}), 128))
|
|
314
458
|
])
|
|
315
459
|
]),
|
|
316
460
|
default: withCtx(() => [
|
|
317
|
-
createBaseVNode("td",
|
|
461
|
+
createBaseVNode("td", _hoisted_17, toDisplayString(item.activeVersion ?? item.version), 1)
|
|
318
462
|
]),
|
|
319
463
|
_: 2
|
|
320
464
|
}, 1024),
|
|
321
|
-
createBaseVNode("td",
|
|
465
|
+
createBaseVNode("td", _hoisted_20, [
|
|
322
466
|
createBaseVNode("a", {
|
|
323
467
|
href: item?.owner?.link,
|
|
324
468
|
target: "_blank"
|
|
325
|
-
}, toDisplayString(item?.owner?.name ?? "-"), 9,
|
|
469
|
+
}, toDisplayString(item?.owner?.name ?? "-"), 9, _hoisted_21)
|
|
326
470
|
]),
|
|
327
|
-
createBaseVNode("td",
|
|
328
|
-
createBaseVNode("td",
|
|
471
|
+
createBaseVNode("td", _hoisted_22, toDisplayString(item.humanDownloadsLast30Days), 1),
|
|
472
|
+
createBaseVNode("td", _hoisted_23, [
|
|
329
473
|
createVNode(_component_VDropdown, {
|
|
330
474
|
placement: "bottom",
|
|
331
475
|
distance: 5,
|
|
@@ -371,7 +515,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
371
515
|
])
|
|
372
516
|
]),
|
|
373
517
|
_: 1
|
|
374
|
-
}, 8, ["description"]),
|
|
518
|
+
}, 8, ["open", "description"]),
|
|
375
519
|
unref(terminalVisible) ? (openBlock(), createBlock(_component_TerminalView, {
|
|
376
520
|
key: 0,
|
|
377
521
|
absolute: "",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as __unplugin_components_0$1 } from './VPanelGrids-
|
|
2
|
-
import { $ as ref, a0 as computed, a8 as routes, v as defineComponent, r as resolveComponent, o as openBlock, c as createBlock, h as withCtx, x as createBaseVNode, u as createVNode, y as toDisplayString, z as unref, a9 as vueVersion, O as createTextVNode, e as createElementBlock, F as Fragment, aa as __unplugin_components_0, Z as __unplugin_components_1, R as _sfc_main$1 } from './index-
|
|
3
|
-
import { r as rpc } from './rpc-
|
|
4
|
-
import { i as isMacOS } from './index-
|
|
1
|
+
import { _ as __unplugin_components_0$1 } from './VPanelGrids-8fb6dd3e.js';
|
|
2
|
+
import { $ as ref, a0 as computed, a8 as routes, v as defineComponent, r as resolveComponent, o as openBlock, c as createBlock, h as withCtx, x as createBaseVNode, u as createVNode, y as toDisplayString, z as unref, a9 as vueVersion, O as createTextVNode, e as createElementBlock, F as Fragment, aa as __unplugin_components_0, Z as __unplugin_components_1, R as _sfc_main$1 } from './index-2b9ce289.js';
|
|
3
|
+
import { r as rpc } from './rpc-ec85f8ba.js';
|
|
4
|
+
import { i as isMacOS } from './index-789b3f11.js';
|
|
5
5
|
|
|
6
|
-
const version = "0.
|
|
6
|
+
const version = "0.2.0";
|
|
7
7
|
|
|
8
8
|
/* Injected with object hook! */
|
|
9
9
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as __unplugin_components_3 } from './VSectionBlock-
|
|
2
|
-
import { v as defineComponent, $ as ref, a0 as computed, r as resolveComponent, z as unref, o as openBlock, e as createElementBlock, x as createBaseVNode, y as toDisplayString, c as createBlock, h as withCtx, a5 as withModifiers, F as Fragment, i as renderList, g as createCommentVNode, u as createVNode, O as createTextVNode, q as normalizeClass, R as _sfc_main$4, Z as __unplugin_components_1, a6 as onMounted, a7 as currentRoute, U as router, K as isRef, M as withKeys, a8 as routes } from './index-
|
|
3
|
-
import { _ as _sfc_main$3 } from './VTextInput.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import './VIconTitle.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import './VIcon.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _ as __unplugin_components_3 } from './VSectionBlock-6c230ee0.js';
|
|
2
|
+
import { v as defineComponent, $ as ref, a0 as computed, r as resolveComponent, z as unref, o as openBlock, e as createElementBlock, x as createBaseVNode, y as toDisplayString, c as createBlock, h as withCtx, a5 as withModifiers, F as Fragment, i as renderList, g as createCommentVNode, u as createVNode, O as createTextVNode, q as normalizeClass, R as _sfc_main$4, Z as __unplugin_components_1, a6 as onMounted, a7 as currentRoute, U as router, K as isRef, M as withKeys, a8 as routes } from './index-2b9ce289.js';
|
|
3
|
+
import { _ as _sfc_main$3 } from './VTextInput.vue_vue_type_script_setup_true_lang-db4f1ff5.js';
|
|
4
|
+
import './VIconTitle.vue_vue_type_script_setup_true_lang-7910bc00.js';
|
|
5
|
+
import './VIcon.vue_vue_type_script_setup_true_lang-8ee81c4d.js';
|
|
6
6
|
|
|
7
7
|
const _hoisted_1$2 = {
|
|
8
8
|
block: "",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as _sfc_main$1 } from './StateFields.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { g, M } from './splitpanes.es-
|
|
3
|
-
import { v as defineComponent, $ as ref, a0 as computed, a1 as piniaStoresCategory, a2 as toRaw, a3 as piniaState, a4 as piniaGetters, z as unref, o as openBlock, e as createElementBlock, u as createVNode, h as withCtx, x as createBaseVNode, F as Fragment, i as renderList, q as normalizeClass, y as toDisplayString, c as createBlock } from './index-
|
|
4
|
-
import { p as pick } from './index-
|
|
5
|
-
import './VIcon.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import './VIconButton.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _ as _sfc_main$1 } from './StateFields.vue_vue_type_script_setup_true_lang-2eb76810.js';
|
|
2
|
+
import { g, M } from './splitpanes.es-6bb61903.js';
|
|
3
|
+
import { v as defineComponent, $ as ref, a0 as computed, a1 as piniaStoresCategory, a2 as toRaw, a3 as piniaState, a4 as piniaGetters, z as unref, o as openBlock, e as createElementBlock, u as createVNode, h as withCtx, x as createBaseVNode, F as Fragment, i as renderList, q as normalizeClass, y as toDisplayString, c as createBlock } from './index-2b9ce289.js';
|
|
4
|
+
import { p as pick } from './index-789b3f11.js';
|
|
5
|
+
import './VIcon.vue_vue_type_script_setup_true_lang-8ee81c4d.js';
|
|
6
|
+
import './VIconButton.vue_vue_type_script_setup_true_lang-3836bdc7.js';
|
|
7
7
|
|
|
8
8
|
const _hoisted_1 = {
|
|
9
9
|
"h-screen": "",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { _ as __unplugin_components_0 } from './VPanelGrids-
|
|
2
|
-
import { _ as __unplugin_components_7 } from './VCard-
|
|
3
|
-
import { v as defineComponent, z as unref, U as router, o as openBlock, e as createElementBlock, u as createVNode, h as withCtx, x as createBaseVNode, F as Fragment, i as renderList, V as routeRecordMatcherState, W as activeRouteRecordMatcherState, c as createBlock, T as _sfc_main$2, q as normalizeClass, X as activeRouteRecordIndex, Y as toggleRouteRecordMatcher, O as createTextVNode, y as toDisplayString, l as normalizeStyle, g as createCommentVNode, Z as __unplugin_components_1 } from './index-
|
|
4
|
-
import { _ as _sfc_main$1 } from './StateFields.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { g, M } from './splitpanes.es-
|
|
6
|
-
import './VIcon.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import './index-
|
|
8
|
-
import './VIconButton.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _ as __unplugin_components_0 } from './VPanelGrids-8fb6dd3e.js';
|
|
2
|
+
import { _ as __unplugin_components_7 } from './VCard-85379c8f.js';
|
|
3
|
+
import { v as defineComponent, z as unref, U as router, o as openBlock, e as createElementBlock, u as createVNode, h as withCtx, x as createBaseVNode, F as Fragment, i as renderList, V as routeRecordMatcherState, W as activeRouteRecordMatcherState, c as createBlock, T as _sfc_main$2, q as normalizeClass, X as activeRouteRecordIndex, Y as toggleRouteRecordMatcher, O as createTextVNode, y as toDisplayString, l as normalizeStyle, g as createCommentVNode, Z as __unplugin_components_1 } from './index-2b9ce289.js';
|
|
4
|
+
import { _ as _sfc_main$1 } from './StateFields.vue_vue_type_script_setup_true_lang-2eb76810.js';
|
|
5
|
+
import { g, M } from './splitpanes.es-6bb61903.js';
|
|
6
|
+
import './VIcon.vue_vue_type_script_setup_true_lang-8ee81c4d.js';
|
|
7
|
+
import './index-789b3f11.js';
|
|
8
|
+
import './VIconButton.vue_vue_type_script_setup_true_lang-3836bdc7.js';
|
|
9
9
|
|
|
10
10
|
const _hoisted_1 = {
|
|
11
11
|
key: 0,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as _sfc_main$3 } from './VIcon.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { v as defineComponent, I as useVModel, o as openBlock, e as createElementBlock, f as renderSlot, d as withDirectives, J as vModelSelect, z as unref, x as createBaseVNode, y as toDisplayString, g as createCommentVNode, K as isRef, c as createBlock, L as vModelCheckbox, M as withKeys, N as useCategorizedTabs, u as createVNode, F as Fragment, i as renderList, h as withCtx, O as createTextVNode, P as useDevToolsSettings, Q as useFrameState, _ as _sfc_main$5, R as _sfc_main$6, S as _sfc_main$7, q as normalizeClass, T as _sfc_main$8 } from './index-
|
|
3
|
-
import { _ as _sfc_main$4 } from './VIconTitle.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _ as _sfc_main$3 } from './VIcon.vue_vue_type_script_setup_true_lang-8ee81c4d.js';
|
|
2
|
+
import { v as defineComponent, I as useVModel, o as openBlock, e as createElementBlock, f as renderSlot, d as withDirectives, J as vModelSelect, z as unref, x as createBaseVNode, y as toDisplayString, g as createCommentVNode, K as isRef, c as createBlock, L as vModelCheckbox, M as withKeys, N as useCategorizedTabs, u as createVNode, F as Fragment, i as renderList, h as withCtx, O as createTextVNode, P as useDevToolsSettings, Q as useFrameState, _ as _sfc_main$5, R as _sfc_main$6, S as _sfc_main$7, q as normalizeClass, T as _sfc_main$8 } from './index-2b9ce289.js';
|
|
3
|
+
import { _ as _sfc_main$4 } from './VIconTitle.vue_vue_type_script_setup_true_lang-7910bc00.js';
|
|
4
4
|
|
|
5
5
|
const _hoisted_1$2 = { class: "n-text-input flex flex items-center border n-border-base rounded px-2 py-1 focus-within:n-focus-base focus-within:border-context n-bg-base" };
|
|
6
6
|
const _hoisted_2$2 = ["disabled"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { av as h, o as openBlock, e as createElementBlock, f as renderSlot, l as normalizeStyle } from './index-
|
|
1
|
+
import { av as h, o as openBlock, e as createElementBlock, f as renderSlot, l as normalizeStyle } from './index-2b9ce289.js';
|
|
2
2
|
|
|
3
3
|
const M = {
|
|
4
4
|
name: "splitpanes",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { _ as _sfc_main$2 } from './StateFields.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { _ as __unplugin_components_0 } from './VPanelGrids-
|
|
3
|
-
import { _ as __unplugin_components_7 } from './VCard-
|
|
1
|
+
import { _ as _sfc_main$2 } from './StateFields.vue_vue_type_script_setup_true_lang-2eb76810.js';
|
|
2
|
+
import { _ as __unplugin_components_0 } from './VPanelGrids-8fb6dd3e.js';
|
|
3
|
+
import { _ as __unplugin_components_7 } from './VCard-85379c8f.js';
|
|
4
4
|
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from './_commonjsHelpers-c0d8ada0.js';
|
|
5
|
-
import { p as pushScopeId, a as popScopeId, n as nextTick, o as openBlock, c as createBlock, w as withScopeId, m as markRaw, s as shallowReactive, r as resolveComponent, b as resolveDirective, d as withDirectives, e as createElementBlock, f as renderSlot, g as createCommentVNode, h as withCtx, F as Fragment, i as renderList, j as resolveDynamicComponent, k as mergeProps, t as toHandlers, l as normalizeStyle, q as normalizeClass, u as createVNode, v as defineComponent, x as createBaseVNode, y as toDisplayString, z as unref, A as timelineLayer, B as activeTimelineEvents, C as activeTimelineEventIndex, D as toggleTimelineEventIndex, E as timelineEventDetails, G as activeLayerId, H as toggleTimelineLayer } from './index-
|
|
6
|
-
import { g, M } from './splitpanes.es-
|
|
7
|
-
import './VIcon.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import './index-
|
|
9
|
-
import './VIconButton.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { p as pushScopeId, a as popScopeId, n as nextTick, o as openBlock, c as createBlock, w as withScopeId, m as markRaw, s as shallowReactive, r as resolveComponent, b as resolveDirective, d as withDirectives, e as createElementBlock, f as renderSlot, g as createCommentVNode, h as withCtx, F as Fragment, i as renderList, j as resolveDynamicComponent, k as mergeProps, t as toHandlers, l as normalizeStyle, q as normalizeClass, u as createVNode, v as defineComponent, x as createBaseVNode, y as toDisplayString, z as unref, A as timelineLayer, B as activeTimelineEvents, C as activeTimelineEventIndex, D as toggleTimelineEventIndex, E as timelineEventDetails, G as activeLayerId, H as toggleTimelineLayer } from './index-2b9ce289.js';
|
|
6
|
+
import { g, M } from './splitpanes.es-6bb61903.js';
|
|
7
|
+
import './VIcon.vue_vue_type_script_setup_true_lang-8ee81c4d.js';
|
|
8
|
+
import './index-789b3f11.js';
|
|
9
|
+
import './VIconButton.vue_vue_type_script_setup_true_lang-3836bdc7.js';
|
|
10
10
|
|
|
11
11
|
var dayjs_min = {exports: {}};/* Injected with object hook! */
|
|
12
12
|
|
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>Vue DevTools</title>
|
|
8
|
-
<script type="module" crossorigin src="./assets/index-
|
|
9
|
-
<link rel="stylesheet" href="./assets/index-
|
|
8
|
+
<script type="module" crossorigin src="./assets/index-2b9ce289.js"></script>
|
|
9
|
+
<link rel="stylesheet" href="./assets/index-76a3c684.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
|
12
12
|
<div id="app"></div>
|
package/dist/index.cjs
CHANGED
|
@@ -25,7 +25,6 @@ const require$$0$3$1 = require('assert');
|
|
|
25
25
|
const require$$0$5 = require('buffer');
|
|
26
26
|
const node_util = require('node:util');
|
|
27
27
|
const require$$1 = require('tty');
|
|
28
|
-
const vuedocParser = require('@webfansplz/vuedoc-parser');
|
|
29
28
|
|
|
30
29
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
|
|
31
30
|
|
|
@@ -7592,7 +7591,10 @@ async function getPackages(root) {
|
|
|
7592
7591
|
for (const type in categorizedPackages) {
|
|
7593
7592
|
for (const name in categorizedPackages[type]) {
|
|
7594
7593
|
const version = categorizedPackages[type][name];
|
|
7595
|
-
packages[name] =
|
|
7594
|
+
packages[name] = {
|
|
7595
|
+
version,
|
|
7596
|
+
type
|
|
7597
|
+
};
|
|
7596
7598
|
}
|
|
7597
7599
|
}
|
|
7598
7600
|
return {
|
|
@@ -13632,22 +13634,29 @@ const parseNi = (agent, args, ctx) => {
|
|
|
13632
13634
|
return getCommand(agent, "install", args);
|
|
13633
13635
|
return getCommand(agent, "add", args);
|
|
13634
13636
|
};
|
|
13637
|
+
const parseNun = (agent, args) => {
|
|
13638
|
+
if (args.includes("-g"))
|
|
13639
|
+
return getCommand(agent, "global_uninstall", exclude(args, "-g"));
|
|
13640
|
+
return getCommand(agent, "uninstall", args);
|
|
13641
|
+
};
|
|
13635
13642
|
if (typeof process !== 'undefined') {
|
|
13636
13643
|
(process.env || {});
|
|
13637
13644
|
process.stdout && process.stdout.isTTY;
|
|
13638
13645
|
}
|
|
13639
13646
|
|
|
13640
|
-
async function
|
|
13647
|
+
async function execNpmScript(packages, options = {}) {
|
|
13641
13648
|
const {
|
|
13642
13649
|
isDev = false,
|
|
13643
13650
|
cwd = process.cwd(),
|
|
13644
13651
|
callback = () => {
|
|
13645
|
-
}
|
|
13652
|
+
},
|
|
13653
|
+
type = "install"
|
|
13646
13654
|
} = options;
|
|
13647
13655
|
const agent = await detect({});
|
|
13648
|
-
const
|
|
13649
|
-
const
|
|
13650
|
-
const
|
|
13656
|
+
const fn = type === "install" ? parseNi : parseNun;
|
|
13657
|
+
const command = await fn(agent, [...packages, ...isDev ? ["-D"] : [], type === "install" ? "--ignore-scripts" : ""]);
|
|
13658
|
+
const { execaCommand } = await import('execa');
|
|
13659
|
+
const _process = execaCommand(command, {
|
|
13651
13660
|
encoding: "utf-8",
|
|
13652
13661
|
cwd,
|
|
13653
13662
|
env: {
|
|
@@ -13667,7 +13676,11 @@ async function installPackage(packages, options = {}) {
|
|
|
13667
13676
|
callback("data", data.toString());
|
|
13668
13677
|
});
|
|
13669
13678
|
_process.on("exit", (code) => {
|
|
13670
|
-
callback("data",
|
|
13679
|
+
callback("data", `
|
|
13680
|
+
|
|
13681
|
+
> Successfully ${type === "install" ? "installed" : "removed"}.
|
|
13682
|
+
|
|
13683
|
+
`);
|
|
13671
13684
|
callback("exit", `${code}`);
|
|
13672
13685
|
});
|
|
13673
13686
|
}
|
|
@@ -13683,7 +13696,8 @@ async function getVueSFCList(root) {
|
|
|
13683
13696
|
return files;
|
|
13684
13697
|
}
|
|
13685
13698
|
async function getComponentInfo(root, filename) {
|
|
13686
|
-
|
|
13699
|
+
const { parseComponent } = await import('@webfansplz/vuedoc-parser');
|
|
13700
|
+
return await parseComponent({
|
|
13687
13701
|
filename: path$3__default.resolve(root, filename)
|
|
13688
13702
|
});
|
|
13689
13703
|
}
|
|
@@ -13714,8 +13728,20 @@ function VitePluginVueDevTools(options = { appendTo: "" }) {
|
|
|
13714
13728
|
getPackages: () => getPackages(config.root),
|
|
13715
13729
|
getVueSFCList: () => getVueSFCList(config.root),
|
|
13716
13730
|
getComponentInfo: (filename) => getComponentInfo(config.root, filename),
|
|
13717
|
-
installPackage: (packages, options2 = {}) =>
|
|
13731
|
+
installPackage: (packages, options2 = {}) => execNpmScript(packages, {
|
|
13732
|
+
...options2,
|
|
13733
|
+
type: "install",
|
|
13734
|
+
cwd: config.root,
|
|
13735
|
+
callback: (type, data) => {
|
|
13736
|
+
if (type === "data")
|
|
13737
|
+
rpc.onTerminalData({ data });
|
|
13738
|
+
else if (type === "exit")
|
|
13739
|
+
rpc.onTerminalExit({ data });
|
|
13740
|
+
}
|
|
13741
|
+
}),
|
|
13742
|
+
uninstallPackage: (packages, options2 = {}) => execNpmScript(packages, {
|
|
13718
13743
|
...options2,
|
|
13744
|
+
type: "uninstall",
|
|
13719
13745
|
cwd: config.root,
|
|
13720
13746
|
callback: (type, data) => {
|
|
13721
13747
|
if (type === "data")
|