@vitejs/devtools 0.1.5 → 0.1.9
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/{DockIcon-DNt-Vqy4.js → DockIcon-7v-JouW5.js} +27 -27
- package/dist/DockStandalone-DZ0INpRC.js +3246 -0
- package/dist/{LogItem-CZM2G41b.js → LogItem-Ca0SsU39.js} +23 -20
- package/dist/{ViewBuiltinLogs-1ABRTwzd.js → ViewBuiltinLogs-B_CLlali.js} +39 -39
- package/dist/{ViewBuiltinTerminals-Co7G-321.js → ViewBuiltinTerminals-ZrMObMte.js} +10 -11
- package/dist/{ViewJsonRender-ByPfpKFM.js → ViewJsonRender-Cc5BPfnv.js} +4 -4
- package/dist/auth-state-DXCxEqSd.js +54 -0
- package/dist/build-static-zB8LrlMJ.js +49 -0
- package/dist/cli-commands.js +57 -2
- package/dist/cli.js +8 -4
- package/dist/client/inject.js +231 -27
- package/dist/client/standalone/assets/DockStandalone-BUOgWTCb.js +1 -0
- package/dist/client/standalone/assets/LogItem-BnVhub2j.js +1 -0
- package/dist/client/standalone/assets/ViewBuiltinLogs-rU-E-8qT.js +1 -0
- package/dist/client/standalone/assets/{ViewBuiltinTerminals-UrMq7UXM.js → ViewBuiltinTerminals-UWfUyC_P.js} +2 -2
- package/dist/client/standalone/assets/{ViewJsonRender-BURuu55Z.js → ViewJsonRender-De5eeIha.js} +3 -3
- package/dist/client/standalone/assets/dist-CAaP5Isp.js +1 -0
- package/dist/client/standalone/assets/iconify-C-CPDXMf.js +2 -0
- package/dist/client/standalone/assets/index-DtZFMvER.css +1 -0
- package/dist/client/standalone/assets/index-hQ4JAD5S.js +3 -0
- package/dist/client/standalone/assets/runtime-core.esm-bundler-Bvz2jy0O.js +1 -0
- package/dist/client/standalone/index.html +6 -5
- package/dist/client/webcomponents.d.ts +1 -21628
- package/dist/client/webcomponents.js +54 -51
- package/dist/config.js +1 -1
- package/dist/constants-DfEeYo9W.js +142 -0
- package/dist/{plugins-DiuKIPkS.js → context-DmXts6Ac.js} +116 -673
- package/dist/{dist-D2Z6bwqJ.js → dist-CCdqIez-.js} +128 -5
- package/dist/dist-DpLy3ojW.js +229 -0
- package/dist/index.d.ts +43 -3
- package/dist/index.js +3 -1
- package/dist/internal.d.ts +1 -1
- package/dist/internal.js +1 -1
- package/dist/plugins-vfc-N600.js +59 -0
- package/dist/{popup-BUPO6e0I.js → popup-DcuzpgO2.js} +114 -55
- package/dist/server-C54I1zbj.js +2 -0
- package/dist/server-DH39-LHL.js +50 -0
- package/dist/server-DSh-GQIq.js +188 -0
- package/dist/standalone-w_GYdx1T.js +33 -0
- package/dist/static-dump-BqRb_x-O.js +65 -0
- package/package.json +12 -15
- package/dist/DockStandalone-DxFEMDp2.js +0 -1256
- package/dist/cli-commands-CnJ4eqDp.js +0 -180
- package/dist/client/standalone/assets/DockStandalone-C8ChyZLh.js +0 -1
- package/dist/client/standalone/assets/LogItem-Mx4UyReX.js +0 -1
- package/dist/client/standalone/assets/ViewBuiltinLogs-C4j4vgSn.js +0 -1
- package/dist/client/standalone/assets/dist-DIlAYcjk.js +0 -1
- package/dist/client/standalone/assets/index-BEyoIK7m.css +0 -1
- package/dist/client/standalone/assets/index-Rpv7PwRD.js +0 -4
- package/dist/client/standalone/assets/runtime-core.esm-bundler-CJlaYmKv.js +0 -1
- package/dist/vue.runtime.esm-bundler-CS1wMbap.js +0 -6988
- /package/dist/{context-internal-CvIHbZq4.js → context-internal-DZpoJjMz.js} +0 -0
- /package/dist/{context-internal-Du6FuGIu.d.ts → context-internal-Ys7Zu3q3.d.ts} +0 -0
- /package/dist/{iconify-BW79QmbD.js → iconify-JodklND-.js} +0 -0
- /package/dist/{utils-DaaVwEUH.js → utils-HWI9S6d-.js} +0 -0
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import "../iconify-BW79QmbD.js";
|
|
1
|
+
import { c as useWindowSize, i as useEventListener, o as useScreenSafeArea, r as useElementBounding, u as watchDebounced } from "../dist-CCdqIez-.js";
|
|
2
|
+
import { C as createDockEntryState, D as BUILTIN_ENTRY_CLIENT_AUTH_NOTICE, S as DEFAULT_DOCK_PANEL_STORE, T as useDocksEntries, c as setDocksOverflowPanel, f as useDocksOverflowPanel, g as docksSplitGroupsWithCapacity, l as setEdgePositionDropdown, o as useIsDockPopupOpen, p as useEdgePositionDropdown, t as closeDockPopup, u as setFloatingTooltip, w as sharedStateToRef } from "../popup-DcuzpgO2.js";
|
|
3
|
+
import { a as PersistedDomViewsManager, c as openDockContextMenu, d as _sfc_main$12, f as css_default, i as PersistedDomHolder, l as _sfc_main$11, o as _sfc_main$8, r as _sfc_main$10, s as _sfc_main$9, t as DockStandalone, u as _sfc_main$13 } from "../DockStandalone-DZ0INpRC.js";
|
|
4
|
+
import { n as VitePlusCore_default, r as export_helper_default } from "../DockIcon-7v-JouW5.js";
|
|
5
|
+
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, defineCustomElement, h, markRaw, normalizeClass, normalizeStyle, onMounted, onUnmounted, openBlock, reactive, ref, renderSlot, toDisplayString, toRefs, unref, useTemplateRef, vShow, watch, watchEffect, withCtx, withDirectives, withModifiers } from "vue";
|
|
7
6
|
//#region src/client/webcomponents/components/icons/BracketLeft.vue
|
|
8
7
|
const _sfc_main$7 = {};
|
|
9
8
|
const _hoisted_1$3 = {
|
|
@@ -12,7 +11,7 @@ const _hoisted_1$3 = {
|
|
|
12
11
|
xmlns: "http://www.w3.org/2000/svg"
|
|
13
12
|
};
|
|
14
13
|
function _sfc_render$1(_ctx, _cache) {
|
|
15
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$3, [..._cache[0] || (_cache[0] = [
|
|
14
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$3, [..._cache[0] || (_cache[0] = [createElementVNode("path", {
|
|
16
15
|
d: "M4.95763 0C1.02563 5.628 1.00263 14.351 4.95763 20H7.61363C3.65963 14.35 3.68363 5.627 7.61363 0H4.95763Z",
|
|
17
16
|
class: "fill-black dark:fill-white"
|
|
18
17
|
}, null, -1)])]);
|
|
@@ -27,7 +26,7 @@ const _hoisted_1$2 = {
|
|
|
27
26
|
xmlns: "http://www.w3.org/2000/svg"
|
|
28
27
|
};
|
|
29
28
|
function _sfc_render(_ctx, _cache) {
|
|
30
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$2, [..._cache[0] || (_cache[0] = [
|
|
29
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$2, [..._cache[0] || (_cache[0] = [createElementVNode("path", {
|
|
31
30
|
d: "M4.246 10H6.903C6.902 6.407 5.913 2.816 3.946 0H1.29C3.256 2.816 4.244 6.407 4.246 10ZM8.935 14.907H6.27C6.46624 14.1665 6.61752 13.4148 6.723 12.656H4.066C3.96052 13.4148 3.80924 14.1665 3.613 14.907H0.944C0.703507 15.8176 0.387753 16.7067 0 17.565H2.669C2.2859 18.4179 1.82388 19.2331 1.289 20H3.945C4.47988 19.2331 4.9419 18.4179 5.325 17.565H7.99C8.376 16.714 8.691 15.823 8.935 14.907Z",
|
|
32
31
|
class: "fill-black dark:fill-white"
|
|
33
32
|
}, null, -1)])]);
|
|
@@ -308,26 +307,26 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
308
307
|
selected: unref(context).docks.selected,
|
|
309
308
|
panelMargins
|
|
310
309
|
}),
|
|
311
|
-
|
|
310
|
+
createElementVNode("div", {
|
|
312
311
|
id: "vite-devtools-dock-container",
|
|
313
312
|
ref_key: "dockEl",
|
|
314
313
|
ref: dockEl,
|
|
315
314
|
style: normalizeStyle(panelStyle.value)
|
|
316
|
-
}, [
|
|
315
|
+
}, [createElementVNode("div", {
|
|
317
316
|
id: "vite-devtools-dock",
|
|
318
317
|
onPointerdown: onPointerDown
|
|
319
318
|
}, [
|
|
320
319
|
createVNode(BracketLeft_default, { class: "vite-devtools-dock-bracket absolute left--1 top-1/2 translate-y--1/2 bottom-0 w-2.5 op75 transition-opacity duration-300" }),
|
|
321
320
|
createVNode(BracketRight_default, { class: normalizeClass(["vite-devtools-dock-bracket absolute right--1 top-1/2 translate-y--1/2 bottom-0 w-2.5 op75 transition-opacity duration-300", unref(context).panel.isVertical ? "scale-y--100" : ""]) }, null, 8, ["class"]),
|
|
322
|
-
|
|
321
|
+
createElementVNode("div", { class: normalizeClass(["w-3 h-3 absolute left-1/2 top-1/2 translate-x--1/2 translate-y--1/2 transition-opacity duration-300", [isMinimized.value ? "op100" : "op0", unref(context).panel.isVertical ? "rotate-270" : "rotate-0"]]) }, [createVNode(VitePlusCore_default), !isRpcTrusted.value ? (openBlock(), createElementBlock("div", _hoisted_1$1)) : createCommentVNode("v-if", true)], 2),
|
|
323
322
|
!isRpcTrusted.value ? (openBlock(), createElementBlock("div", {
|
|
324
323
|
key: 0,
|
|
325
324
|
class: normalizeClass(["transition duration-300 delay-200", isMinimized.value ? "opacity-0 pointer-events-none ws-nowrap text-sm text-orange of-hidden" : "opacity-100"])
|
|
326
|
-
}, [
|
|
325
|
+
}, [createElementVNode("button", {
|
|
327
326
|
class: "p2 transition hover:bg-active rounded-full px4",
|
|
328
327
|
onClick: _cache[0] || (_cache[0] = ($event) => unref(context).docks.toggleEntry(unref(BUILTIN_ENTRY_CLIENT_AUTH_NOTICE).id))
|
|
329
|
-
}, [
|
|
330
|
-
|
|
328
|
+
}, [createElementVNode("div", _hoisted_2$1, [createElementVNode("div", { class: normalizeClass(["i-fluent-emoji-flat-warning flex-none", unref(context).panel.isVertical ? "rotate-270" : "rotate-0"]) }, null, 2), _cache[3] || (_cache[3] = createElementVNode("div", { class: "ws-nowrap text-amber" }, " Unauthorized ", -1))])])], 2)) : createCommentVNode("v-if", true),
|
|
329
|
+
createElementVNode("div", { class: normalizeClass([isMinimized.value ? "opacity-0 pointer-events-none" : "opacity-100", "transition duration-200 flex items-center w-full h-full justify-center px3"]) }, [createVNode(_sfc_main$8, {
|
|
331
330
|
context: unref(context),
|
|
332
331
|
groups: splitEntries.value.visible,
|
|
333
332
|
"is-vertical": unref(context).panel.isVertical,
|
|
@@ -338,7 +337,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
338
337
|
"groups",
|
|
339
338
|
"is-vertical",
|
|
340
339
|
"selected"
|
|
341
|
-
]), splitEntries.value.overflow.length > 0 ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [_cache[4] || (_cache[4] =
|
|
340
|
+
]), splitEntries.value.overflow.length > 0 ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [_cache[4] || (_cache[4] = createElementVNode("div", { class: "border-base m1 h-20px w-px border-r-1.5" }, null, -1)), createVNode(_sfc_main$5, {
|
|
342
341
|
context: unref(context),
|
|
343
342
|
"is-vertical": unref(context).panel.isVertical,
|
|
344
343
|
groups: splitEntries.value.overflow,
|
|
@@ -405,7 +404,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
405
404
|
return (_ctx, _cache) => {
|
|
406
405
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
407
406
|
createCommentVNode(" Handlers "),
|
|
408
|
-
withDirectives(
|
|
407
|
+
withDirectives(createElementVNode("div", {
|
|
409
408
|
ref_key: "topHandle",
|
|
410
409
|
ref: topHandle,
|
|
411
410
|
class: "vite-devtools-resize-handle vite-devtools-resize-handle-horizontal",
|
|
@@ -413,25 +412,25 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
413
412
|
onMousedown: _cache[0] || (_cache[0] = withModifiers(($event) => resizingState.value = { top: true }, ["prevent"])),
|
|
414
413
|
onTouchstartPassive: _cache[1] || (_cache[1] = () => resizingState.value = { top: true })
|
|
415
414
|
}, null, 544), [[vShow, __props.edgeMode ? __props.panel.store.position === "bottom" : __props.panel.store.position !== "top"]]),
|
|
416
|
-
withDirectives(
|
|
415
|
+
withDirectives(createElementVNode("div", {
|
|
417
416
|
class: "vite-devtools-resize-handle vite-devtools-resize-handle-horizontal",
|
|
418
417
|
style: { bottom: 0 },
|
|
419
418
|
onMousedown: _cache[2] || (_cache[2] = withModifiers(() => resizingState.value = { bottom: true }, ["prevent"])),
|
|
420
419
|
onTouchstartPassive: _cache[3] || (_cache[3] = () => resizingState.value = { bottom: true })
|
|
421
420
|
}, null, 544), [[vShow, __props.edgeMode ? __props.panel.store.position === "top" : __props.panel.store.position !== "bottom"]]),
|
|
422
|
-
withDirectives(
|
|
421
|
+
withDirectives(createElementVNode("div", {
|
|
423
422
|
class: "vite-devtools-resize-handle vite-devtools-resize-handle-vertical",
|
|
424
423
|
style: { left: 0 },
|
|
425
424
|
onMousedown: _cache[4] || (_cache[4] = withModifiers(() => resizingState.value = { left: true }, ["prevent"])),
|
|
426
425
|
onTouchstartPassive: _cache[5] || (_cache[5] = () => resizingState.value = { left: true })
|
|
427
426
|
}, null, 544), [[vShow, __props.edgeMode ? __props.panel.store.position === "right" : __props.panel.store.position !== "left"]]),
|
|
428
|
-
withDirectives(
|
|
427
|
+
withDirectives(createElementVNode("div", {
|
|
429
428
|
class: "vite-devtools-resize-handle vite-devtools-resize-handle-vertical",
|
|
430
429
|
style: { right: 0 },
|
|
431
430
|
onMousedown: _cache[6] || (_cache[6] = withModifiers(() => resizingState.value = { right: true }, ["prevent"])),
|
|
432
431
|
onTouchstartPassive: _cache[7] || (_cache[7] = () => resizingState.value = { right: true })
|
|
433
432
|
}, null, 544), [[vShow, __props.edgeMode ? __props.panel.store.position === "left" : __props.panel.store.position !== "right"]]),
|
|
434
|
-
withDirectives(
|
|
433
|
+
withDirectives(createElementVNode("div", {
|
|
435
434
|
class: "vite-devtools-resize-handle vite-devtools-resize-handle-corner",
|
|
436
435
|
style: {
|
|
437
436
|
top: 0,
|
|
@@ -447,7 +446,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
447
446
|
left: true
|
|
448
447
|
})
|
|
449
448
|
}, null, 544), [[vShow, !__props.edgeMode && __props.panel.store.position !== "top" && __props.panel.store.position !== "left"]]),
|
|
450
|
-
withDirectives(
|
|
449
|
+
withDirectives(createElementVNode("div", {
|
|
451
450
|
class: "vite-devtools-resize-handle vite-devtools-resize-handle-corner",
|
|
452
451
|
style: {
|
|
453
452
|
top: 0,
|
|
@@ -463,7 +462,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
463
462
|
right: true
|
|
464
463
|
})
|
|
465
464
|
}, null, 544), [[vShow, !__props.edgeMode && __props.panel.store.position !== "top" && __props.panel.store.position !== "right"]]),
|
|
466
|
-
withDirectives(
|
|
465
|
+
withDirectives(createElementVNode("div", {
|
|
467
466
|
class: "vite-devtools-resize-handle vite-devtools-resize-handle-corner",
|
|
468
467
|
style: {
|
|
469
468
|
bottom: 0,
|
|
@@ -479,7 +478,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
479
478
|
left: true
|
|
480
479
|
})
|
|
481
480
|
}, null, 544), [[vShow, !__props.edgeMode && __props.panel.store.position !== "bottom" && __props.panel.store.position !== "left"]]),
|
|
482
|
-
withDirectives(
|
|
481
|
+
withDirectives(createElementVNode("div", {
|
|
483
482
|
class: "vite-devtools-resize-handle vite-devtools-resize-handle-corner",
|
|
484
483
|
style: {
|
|
485
484
|
bottom: 0,
|
|
@@ -647,8 +646,8 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
647
646
|
"edge-mode": ""
|
|
648
647
|
}, null, 8, ["panel"]),
|
|
649
648
|
createCommentVNode(" Toolbar "),
|
|
650
|
-
|
|
651
|
-
|
|
649
|
+
createElementVNode("div", { class: normalizeClass(["flex items-center shrink-0 select-none py1", toolbarClass.value]) }, [
|
|
650
|
+
createElementVNode("div", { class: normalizeClass(["flex items-center flex-1 flex-wrap gap-0.5 px1", isVertical.value ? "flex-col py1" : "flex-row px1"]) }, [createVNode(_sfc_main$8, {
|
|
652
651
|
context: unref(context),
|
|
653
652
|
groups: groupedEntries.value,
|
|
654
653
|
"is-vertical": isVertical.value,
|
|
@@ -662,7 +661,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
662
661
|
"selected"
|
|
663
662
|
])], 2),
|
|
664
663
|
createCommentVNode(" Position dropdown & float toggle "),
|
|
665
|
-
|
|
664
|
+
createElementVNode("div", { class: normalizeClass(["flex items-center gap-0.5 shrink-0 px1", isVertical.value ? "flex-col py1 border-t border-base" : "flex-row px1 border-l border-base"]) }, [createElementVNode("button", {
|
|
666
665
|
ref_key: "positionButton",
|
|
667
666
|
ref: positionButton,
|
|
668
667
|
class: "p1.5 rounded hover:bg-active transition op75 hover:op100",
|
|
@@ -670,7 +669,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
670
669
|
onPointerleave: hideTooltip,
|
|
671
670
|
onPointerdown: hideTooltip,
|
|
672
671
|
onClick: togglePositionDropdown
|
|
673
|
-
}, [
|
|
672
|
+
}, [createElementVNode("div", { class: normalizeClass([positionIcons[unref(store).position], "w-4.5 h-4.5"]) }, null, 2)], 544), createElementVNode("button", {
|
|
674
673
|
ref_key: "floatButton",
|
|
675
674
|
ref: floatButton,
|
|
676
675
|
class: "p1.5 rounded hover:bg-active transition op50 hover:op100",
|
|
@@ -678,10 +677,10 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
678
677
|
onPointerleave: hideTooltip,
|
|
679
678
|
onPointerdown: hideTooltip,
|
|
680
679
|
onClick: switchToFloat
|
|
681
|
-
}, [..._cache[3] || (_cache[3] = [
|
|
680
|
+
}, [..._cache[3] || (_cache[3] = [createElementVNode("div", { class: "i-ph-cards-three-duotone w-4.5 h-4.5" }, null, -1)])], 544)], 2)
|
|
682
681
|
], 2),
|
|
683
682
|
createCommentVNode(" Content "),
|
|
684
|
-
|
|
683
|
+
createElementVNode("div", { class: normalizeClass(["relative", contentClass.value]) }, [selectedEntry.value && selectedEntry.value.type !== "action" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [viewsContainer.value ? (openBlock(), createBlock(_sfc_main$10, {
|
|
685
684
|
key: selectedEntry.value.id,
|
|
686
685
|
context: unref(context),
|
|
687
686
|
entry: selectedEntry.value,
|
|
@@ -690,7 +689,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
690
689
|
"context",
|
|
691
690
|
"entry",
|
|
692
691
|
"persisted-doms"
|
|
693
|
-
])) : createCommentVNode("v-if", true)], 64)) : (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
692
|
+
])) : createCommentVNode("v-if", true)], 64)) : (openBlock(), createElementBlock("div", _hoisted_1, [createElementVNode("div", _hoisted_2, [_cache[4] || (_cache[4] = createElementVNode("div", { class: "i-ph-layout-duotone w-8 h-8" }, null, -1)), createElementVNode("span", _hoisted_3, toDisplayString(selectedEntry.value ? "Action executed" : "Select a dock entry"), 1)])])), createElementVNode("div", {
|
|
694
693
|
id: "vite-devtools-views-container",
|
|
695
694
|
ref_key: "viewsContainer",
|
|
696
695
|
ref: viewsContainer,
|
|
@@ -857,7 +856,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
857
856
|
"entry",
|
|
858
857
|
"persisted-doms"
|
|
859
858
|
])) : createCommentVNode("v-if", true),
|
|
860
|
-
|
|
859
|
+
createElementVNode("div", {
|
|
861
860
|
id: "vite-devtools-views-container",
|
|
862
861
|
ref_key: "viewsContainer",
|
|
863
862
|
ref: viewsContainer,
|
|
@@ -893,26 +892,30 @@ const DockEmbedded = defineCustomElement(/* @__PURE__ */ defineComponent({
|
|
|
893
892
|
closeDockPopup();
|
|
894
893
|
});
|
|
895
894
|
return (_ctx, _cache) => {
|
|
896
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
897
|
-
key: 0,
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
895
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
896
|
+
!unref(isDockPopupOpen) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [isRpcTrusted.value && __props.context.panel.store.mode === "edge" ? (openBlock(), createBlock(_sfc_main$2, {
|
|
897
|
+
key: 0,
|
|
898
|
+
context: __props.context
|
|
899
|
+
}, null, 8, ["context"])) : (openBlock(), createBlock(_sfc_main$4, {
|
|
900
|
+
key: 1,
|
|
901
|
+
context: __props.context
|
|
902
|
+
}, {
|
|
903
|
+
default: withCtx(({ dockEl, panelMargins, selected }) => [createVNode(_sfc_main$1, {
|
|
904
|
+
context: __props.context,
|
|
905
|
+
selected,
|
|
906
|
+
"dock-el": dockEl,
|
|
907
|
+
"panel-margins": panelMargins
|
|
908
|
+
}, null, 8, [
|
|
909
|
+
"context",
|
|
910
|
+
"selected",
|
|
911
|
+
"dock-el",
|
|
912
|
+
"panel-margins"
|
|
913
|
+
])]),
|
|
914
|
+
_: 1
|
|
915
|
+
}, 8, ["context"])), createVNode(_sfc_main$11)], 64)) : createCommentVNode("v-if", true),
|
|
916
|
+
createVNode(_sfc_main$12, { context: __props.context }, null, 8, ["context"]),
|
|
917
|
+
createVNode(_sfc_main$13, { context: __props.context }, null, 8, ["context"])
|
|
918
|
+
], 64);
|
|
916
919
|
};
|
|
917
920
|
}
|
|
918
921
|
}), {
|
package/dist/config.js
CHANGED
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
//#region \0rolldown/runtime.js
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
9
|
+
var __exportAll = (all, no_symbols) => {
|
|
10
|
+
let target = {};
|
|
11
|
+
for (var name in all) __defProp(target, name, {
|
|
12
|
+
get: all[name],
|
|
13
|
+
enumerable: true
|
|
14
|
+
});
|
|
15
|
+
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
16
|
+
return target;
|
|
17
|
+
};
|
|
18
|
+
var __copyProps = (to, from, except, desc) => {
|
|
19
|
+
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
20
|
+
key = keys[i];
|
|
21
|
+
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
22
|
+
get: ((k) => from[k]).bind(null, key),
|
|
23
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
return to;
|
|
27
|
+
};
|
|
28
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
29
|
+
value: mod,
|
|
30
|
+
enumerable: true
|
|
31
|
+
}) : target, mod));
|
|
32
|
+
//#endregion
|
|
33
|
+
//#region ../../node_modules/.pnpm/ansis@4.2.0/node_modules/ansis/index.mjs
|
|
34
|
+
var import_ansis = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
35
|
+
let e, t, r, { defineProperty: l, setPrototypeOf: n, create: o, keys: s } = Object, i = "", { round: c, max: a } = Math, p = (e) => {
|
|
36
|
+
let t = /([a-f\d]{3,6})/i.exec(e)?.[1], r = t?.length, l = parseInt(6 ^ r ? 3 ^ r ? "0" : t[0] + t[0] + t[1] + t[1] + t[2] + t[2] : t, 16);
|
|
37
|
+
return [
|
|
38
|
+
l >> 16 & 255,
|
|
39
|
+
l >> 8 & 255,
|
|
40
|
+
255 & l
|
|
41
|
+
];
|
|
42
|
+
}, u = (e, t, r) => e ^ t || t ^ r ? 16 + 36 * c(e / 51) + 6 * c(t / 51) + c(r / 51) : 8 > e ? 16 : e > 248 ? 231 : c(24 * (e - 8) / 247) + 232, d = (e) => {
|
|
43
|
+
let t, r, l, n, o;
|
|
44
|
+
return 8 > e ? 30 + e : 16 > e ? e - 8 + 90 : (232 > e ? (o = (e -= 16) % 36, t = (e / 36 | 0) / 5, r = (o / 6 | 0) / 5, l = o % 6 / 5) : t = r = l = (10 * (e - 232) + 8) / 255, n = 2 * a(t, r, l), n ? 30 + (c(l) << 2 | c(r) << 1 | c(t)) + (2 ^ n ? 0 : 60) : 30);
|
|
45
|
+
}, f = (() => {
|
|
46
|
+
let r = (e) => o.some(((t) => e.test(t))), l = globalThis, n = l.process ?? {}, o = n.argv ?? [], i = n.env ?? {}, c = -1;
|
|
47
|
+
try {
|
|
48
|
+
e = "," + s(i).join(",");
|
|
49
|
+
} catch (e) {
|
|
50
|
+
i = {}, c = 0;
|
|
51
|
+
}
|
|
52
|
+
let a = "FORCE_COLOR", p = {
|
|
53
|
+
false: 0,
|
|
54
|
+
0: 0,
|
|
55
|
+
1: 1,
|
|
56
|
+
2: 2,
|
|
57
|
+
3: 3
|
|
58
|
+
}[i[a]] ?? -1, u = a in i && p || r(/^--color=?(true|always)?$/);
|
|
59
|
+
return u && (c = p), ~c || (c = ((r, l, n) => (t = r.TERM, {
|
|
60
|
+
"24bit": 3,
|
|
61
|
+
truecolor: 3,
|
|
62
|
+
ansi256: 2,
|
|
63
|
+
ansi: 1
|
|
64
|
+
}[r.COLORTERM] || (r.CI ? /,GITHUB/.test(e) ? 3 : 1 : l && "dumb" !== t ? n ? 3 : /-256/.test(t) ? 2 : 1 : 0)))(i, !!i.PM2_HOME || i.NEXT_RUNTIME?.includes("edge") || !!n.stdout?.isTTY, "win32" === n.platform)), !p || i.NO_COLOR || r(/^--(no-color|color=(false|never))$/) ? 0 : l.window?.chrome || u && !c ? 3 : c;
|
|
65
|
+
})(), g = {
|
|
66
|
+
open: i,
|
|
67
|
+
close: i
|
|
68
|
+
}, h = 39, b = 49, O = {}, m = ({ p: e }, { open: t, close: l }) => {
|
|
69
|
+
let o = (e, ...r) => {
|
|
70
|
+
if (!e) {
|
|
71
|
+
if (t && t === l) return t;
|
|
72
|
+
if ((e ?? i) === i) return i;
|
|
73
|
+
}
|
|
74
|
+
let n, s = e.raw ? String.raw({ raw: e }, ...r) : i + e, c = o.p, a = c.o, p = c.c;
|
|
75
|
+
if (s.includes("\x1B")) for (; c; c = c.p) {
|
|
76
|
+
let { open: e, close: t } = c, r = t.length, l = i, o = 0;
|
|
77
|
+
if (r) for (; ~(n = s.indexOf(t, o)); o = n + r) l += s.slice(o, n) + e;
|
|
78
|
+
s = l + s.slice(o);
|
|
79
|
+
}
|
|
80
|
+
return a + (s.includes("\n") ? s.replace(/(\r?\n)/g, p + "$1" + a) : s) + p;
|
|
81
|
+
}, s = t, c = l;
|
|
82
|
+
return e && (s = e.o + t, c = l + e.c), n(o, r), o.p = {
|
|
83
|
+
open: t,
|
|
84
|
+
close: l,
|
|
85
|
+
o: s,
|
|
86
|
+
c,
|
|
87
|
+
p: e
|
|
88
|
+
}, o.open = s, o.close = c, o;
|
|
89
|
+
};
|
|
90
|
+
const w = new function e(t = f) {
|
|
91
|
+
let s = {
|
|
92
|
+
Ansis: e,
|
|
93
|
+
level: t,
|
|
94
|
+
isSupported: () => a,
|
|
95
|
+
strip: (e) => e.replace(/[][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g, i),
|
|
96
|
+
extend(e) {
|
|
97
|
+
for (let t in e) {
|
|
98
|
+
let r = e[t], l = (typeof r)[0];
|
|
99
|
+
"s" === l ? (c(t, T(...p(r))), c(_(t), v(...p(r)))) : c(t, r, "f" === l);
|
|
100
|
+
}
|
|
101
|
+
return r = o({}, O), n(s, r), s;
|
|
102
|
+
}
|
|
103
|
+
}, c = (e, t, r) => {
|
|
104
|
+
O[e] = { get() {
|
|
105
|
+
let n = r ? (...e) => m(this, t(...e)) : m(this, t);
|
|
106
|
+
return l(this, e, { value: n }), n;
|
|
107
|
+
} };
|
|
108
|
+
}, a = t > 0, w = (e, t) => a ? {
|
|
109
|
+
open: `[${e}m`,
|
|
110
|
+
close: `[${t}m`
|
|
111
|
+
} : g, y = (e) => (t) => e(...p(t)), R = (e, t) => (r, l, n) => w(`${e}8;2;${r};${l};${n}`, t), $ = (e, t) => (r, l, n) => w(((e, t, r) => d(u(e, t, r)))(r, l, n) + e, t), x = (e) => (t, r, l) => e(u(t, r, l)), T = R(3, h), v = R(4, b), C = (e) => w("38;5;" + e, h), E = (e) => w("48;5;" + e, b);
|
|
112
|
+
2 === t ? (T = x(C), v = x(E)) : 1 === t && (T = $(0, h), v = $(10, b), C = (e) => w(d(e), h), E = (e) => w(d(e) + 10, b));
|
|
113
|
+
let M, I = {
|
|
114
|
+
fg: C,
|
|
115
|
+
bg: E,
|
|
116
|
+
rgb: T,
|
|
117
|
+
bgRgb: v,
|
|
118
|
+
hex: y(T),
|
|
119
|
+
bgHex: y(v),
|
|
120
|
+
visible: g,
|
|
121
|
+
reset: w(0, 0),
|
|
122
|
+
bold: w(1, 22),
|
|
123
|
+
dim: w(2, 22),
|
|
124
|
+
italic: w(3, 23),
|
|
125
|
+
underline: w(4, 24),
|
|
126
|
+
inverse: w(7, 27),
|
|
127
|
+
hidden: w(8, 28),
|
|
128
|
+
strikethrough: w(9, 29)
|
|
129
|
+
}, _ = (e) => "bg" + e[0].toUpperCase() + e.slice(1), k = "Bright";
|
|
130
|
+
return "black,red,green,yellow,blue,magenta,cyan,white,gray".split(",").map(((e, t) => {
|
|
131
|
+
M = _(e), 8 > t ? (I[e + k] = w(90 + t, h), I[M + k] = w(100 + t, b)) : t = 60, I[e] = w(30 + t, h), I[M] = w(40 + t, b);
|
|
132
|
+
})), s.extend(I);
|
|
133
|
+
}();
|
|
134
|
+
module.exports = w, w.default = w;
|
|
135
|
+
})))(), 1);
|
|
136
|
+
var ansis_default = import_ansis.default;
|
|
137
|
+
const { Ansis, fg, bg, rgb, bgRgb, hex, bgHex, reset, inverse, hidden, visible, bold, dim, italic, underline, strikethrough, black, red, green, yellow, blue, magenta, cyan, white, gray, redBright, greenBright, yellowBright, blueBright, magentaBright, cyanBright, whiteBright, bgBlack, bgRed, bgGreen, bgYellow, bgBlue, bgMagenta, bgCyan, bgWhite, bgGray, bgRedBright, bgGreenBright, bgYellowBright, bgBlueBright, bgMagentaBright, bgCyanBright, bgWhiteBright } = import_ansis.default;
|
|
138
|
+
ansis_default.green("✔");
|
|
139
|
+
const MARK_INFO = ansis_default.blue("ℹ");
|
|
140
|
+
ansis_default.red("✖");
|
|
141
|
+
//#endregion
|
|
142
|
+
export { __exportAll as i, ansis_default as n, __commonJSMin as r, MARK_INFO as t };
|