@valaxyjs/devtools 0.22.16 → 0.22.17
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/{about-ClCBmHNf.js → about-BPd5MeUN.js} +2 -2
- package/dist/client/assets/{categories-Ct7J11Nm.js → categories-B9M6tHIx.js} +2 -2
- package/dist/client/assets/{index-CUyzvQjw.js → index-C1CSGtTH.js} +7 -7
- package/dist/client/assets/{index-lB-p08e3.js → index-CHypEGrE.js} +7 -10
- package/dist/client/assets/{index-CxI6E8SF.css → index-RHgX5GjR.css} +1 -1
- package/dist/client/assets/{migration-BSCZg6uh.js → migration-BNqK2gmS.js} +2 -2
- package/dist/client/assets/{splitpanes.es-qAuBPxFz.js → splitpanes.es-Jgun55i8.js} +94 -91
- package/dist/client/assets/{tags-t3P852Pi.js → tags-CWy-2M3D.js} +2 -2
- package/dist/client/index.html +2 -2
- package/package.json +6 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as _export_sfc, c as createElementBlock, o as openBlock } from './index-
|
|
1
|
+
import { _ as _export_sfc, c as createElementBlock, o as openBlock } from './index-C1CSGtTH.js';
|
|
2
2
|
|
|
3
|
-
/* unplugin-vue-components disabled */const _sfc_main = {};
|
|
3
|
+
/* unplugin-vue-components disabled */const _sfc_main = { };
|
|
4
4
|
|
|
5
5
|
function _sfc_render(_ctx, _cache) {
|
|
6
6
|
return (openBlock(), createElementBlock("div", null, " About "))
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as _export_sfc, c as createElementBlock, o as openBlock } from './index-
|
|
1
|
+
import { _ as _export_sfc, c as createElementBlock, o as openBlock } from './index-C1CSGtTH.js';
|
|
2
2
|
|
|
3
|
-
/* unplugin-vue-components disabled */const _sfc_main = {};
|
|
3
|
+
/* unplugin-vue-components disabled */const _sfc_main = { };
|
|
4
4
|
|
|
5
5
|
function _sfc_render(_ctx, _cache) {
|
|
6
6
|
return (openBlock(), createElementBlock("div", null, " Categories "))
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-CHypEGrE.js","./splitpanes.es-Jgun55i8.js","./index-DKnSvpEK.css","./migration-BNqK2gmS.js"])))=>i.map(i=>d[i]);
|
|
2
2
|
true&&(function polyfill() {
|
|
3
3
|
const relList = document.createElement("link").relList;
|
|
4
4
|
if (relList && relList.supports && relList.supports("modulepreload")) {
|
|
@@ -11591,31 +11591,31 @@ const routes = [
|
|
|
11591
11591
|
{
|
|
11592
11592
|
path: "/",
|
|
11593
11593
|
name: "/",
|
|
11594
|
-
component: () => __vitePreload(() => import('./index-
|
|
11594
|
+
component: () => __vitePreload(() => import('./index-CHypEGrE.js'),true?__vite__mapDeps([0,1,2]):void 0,import.meta.url)
|
|
11595
11595
|
/* no children */
|
|
11596
11596
|
},
|
|
11597
11597
|
{
|
|
11598
11598
|
path: "/about",
|
|
11599
11599
|
name: "/about",
|
|
11600
|
-
component: () => __vitePreload(() => import('./about-
|
|
11600
|
+
component: () => __vitePreload(() => import('./about-BPd5MeUN.js'),true?[]:void 0,import.meta.url)
|
|
11601
11601
|
/* no children */
|
|
11602
11602
|
},
|
|
11603
11603
|
{
|
|
11604
11604
|
path: "/categories",
|
|
11605
11605
|
name: "/categories",
|
|
11606
|
-
component: () => __vitePreload(() => import('./categories-
|
|
11606
|
+
component: () => __vitePreload(() => import('./categories-B9M6tHIx.js'),true?[]:void 0,import.meta.url)
|
|
11607
11607
|
/* no children */
|
|
11608
11608
|
},
|
|
11609
11609
|
{
|
|
11610
11610
|
path: "/migration",
|
|
11611
11611
|
name: "/migration",
|
|
11612
|
-
component: () => __vitePreload(() => import('./migration-
|
|
11612
|
+
component: () => __vitePreload(() => import('./migration-BNqK2gmS.js'),true?__vite__mapDeps([3,1]):void 0,import.meta.url)
|
|
11613
11613
|
/* no children */
|
|
11614
11614
|
},
|
|
11615
11615
|
{
|
|
11616
11616
|
path: "/tags",
|
|
11617
11617
|
name: "/tags",
|
|
11618
|
-
component: () => __vitePreload(() => import('./tags-
|
|
11618
|
+
component: () => __vitePreload(() => import('./tags-CWy-2M3D.js'),true?[]:void 0,import.meta.url)
|
|
11619
11619
|
/* no children */
|
|
11620
11620
|
}
|
|
11621
11621
|
];
|
|
@@ -16961,7 +16961,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
16961
16961
|
|
|
16962
16962
|
/* Injected with object hook! */
|
|
16963
16963
|
|
|
16964
|
-
const _sfc_main = {};
|
|
16964
|
+
const _sfc_main = { };
|
|
16965
16965
|
|
|
16966
16966
|
const _hoisted_1 = { class: "valaxy-devtools-container h-full" };
|
|
16967
16967
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as script$n, R as Ripple, c as cn, a as script$o, b as script$p, d as axios, P as Pe, g as ge } from './splitpanes.es-
|
|
2
|
-
import { g as getAppWindow, i as isNotEmpty, B as BaseStyle, r as resolveDirective, w as withDirectives, c as createElementBlock, o as openBlock, a as createBaseVNode, b as renderSlot, n as normalizeClass, d as createCommentVNode, m as mergeProps, t as toDisplayString, e as equals, f as resolveFieldData, h as resolveComponent, F as Fragment, j as renderList, k as createBlock, l as createSlots, p as withCtx, q as defineComponent, u as useModel, s as ref, v as watch, x as createVNode, y as unref, _ as _export_sfc, z as createTextVNode, A as contains, C as getScrollableParents, E as EventBus, D as isClient, T as Teleport, G as setAttribute, H as localeComparator, I as getFocusableElements, J as find, K as findSingle, L as getIndex, M as getAttribute, N as relativePosition, O as getOuterWidth, P as absolutePosition, Q as isTouchDevice, R as addStyle, S as normalizeStyle, U as resolveDynamicComponent, V as Transition, W as vShow, X as withKeys, Y as clearSelection, Z as getSelection, $ as toHandlers, a0 as useI18n, a1 as dayjs, a2 as clientPageData, a3 as activePath, a4 as toRaw, a5 as pageData, a6 as onMounted, a7 as rpc, a8 as getDefaultExportFromCjs, a9 as useScroll, aa as postList, ab as isStaticMode } from './index-
|
|
1
|
+
import { s as script$n, R as Ripple, c as cn, a as script$o, b as script$p, d as axios, P as Pe, g as ge } from './splitpanes.es-Jgun55i8.js';
|
|
2
|
+
import { g as getAppWindow, i as isNotEmpty, B as BaseStyle, r as resolveDirective, w as withDirectives, c as createElementBlock, o as openBlock, a as createBaseVNode, b as renderSlot, n as normalizeClass, d as createCommentVNode, m as mergeProps, t as toDisplayString, e as equals, f as resolveFieldData, h as resolveComponent, F as Fragment, j as renderList, k as createBlock, l as createSlots, p as withCtx, q as defineComponent, u as useModel, s as ref, v as watch, x as createVNode, y as unref, _ as _export_sfc, z as createTextVNode, A as contains, C as getScrollableParents, E as EventBus, D as isClient, T as Teleport, G as setAttribute, H as localeComparator, I as getFocusableElements, J as find, K as findSingle, L as getIndex, M as getAttribute, N as relativePosition, O as getOuterWidth, P as absolutePosition, Q as isTouchDevice, R as addStyle, S as normalizeStyle, U as resolveDynamicComponent, V as Transition, W as vShow, X as withKeys, Y as clearSelection, Z as getSelection, $ as toHandlers, a0 as useI18n, a1 as dayjs, a2 as clientPageData, a3 as activePath, a4 as toRaw, a5 as pageData, a6 as onMounted, a7 as rpc, a8 as getDefaultExportFromCjs, a9 as useScroll, aa as postList, ab as isStaticMode } from './index-C1CSGtTH.js';
|
|
3
3
|
|
|
4
4
|
// src/zindex/index.ts
|
|
5
5
|
function handler() {
|
|
@@ -665,7 +665,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
665
665
|
|
|
666
666
|
/* Injected with object hook! */
|
|
667
667
|
|
|
668
|
-
/* unplugin-vue-components disabled */const _sfc_main$5 = {};
|
|
668
|
+
/* unplugin-vue-components disabled */const _sfc_main$5 = { };
|
|
669
669
|
|
|
670
670
|
const _hoisted_1$a = {
|
|
671
671
|
class: "vd-tag inline-flex border rounded text-xs cursor-pointer transition",
|
|
@@ -774,7 +774,7 @@ function _defu(baseObject, defaults, namespace = ".", merger) {
|
|
|
774
774
|
continue;
|
|
775
775
|
}
|
|
776
776
|
const value = baseObject[key];
|
|
777
|
-
if (value === null || value ===
|
|
777
|
+
if (value === null || value === void 0) {
|
|
778
778
|
continue;
|
|
779
779
|
}
|
|
780
780
|
if (Array.isArray(value) && Array.isArray(object[key])) {
|
|
@@ -1162,13 +1162,13 @@ class Consola {
|
|
|
1162
1162
|
}
|
|
1163
1163
|
}
|
|
1164
1164
|
function _normalizeLogLevel(input, types = {}, defaultLevel = 3) {
|
|
1165
|
-
if (input ===
|
|
1165
|
+
if (input === void 0) {
|
|
1166
1166
|
return defaultLevel;
|
|
1167
1167
|
}
|
|
1168
1168
|
if (typeof input === "number") {
|
|
1169
1169
|
return input;
|
|
1170
1170
|
}
|
|
1171
|
-
if (types[input] && types[input].level !==
|
|
1171
|
+
if (types[input] && types[input].level !== void 0) {
|
|
1172
1172
|
return types[input].level;
|
|
1173
1173
|
}
|
|
1174
1174
|
return defaultLevel;
|
|
@@ -7512,10 +7512,7 @@ var relativeTimeExports = requireRelativeTime();
|
|
|
7512
7512
|
const relativeTime = /*@__PURE__*/getDefaultExportFromCjs(relativeTimeExports);
|
|
7513
7513
|
/* Injected with object hook! */
|
|
7514
7514
|
|
|
7515
|
-
/* unplugin-vue-components disabled */
|
|
7516
|
-
/* Injected with object hook! */
|
|
7517
|
-
|
|
7518
|
-
/* unplugin-vue-components disabled */const _sfc_main$2 = {};
|
|
7515
|
+
/* unplugin-vue-components disabled */const _sfc_main$2 = { };
|
|
7519
7516
|
|
|
7520
7517
|
const _hoisted_1$1 = { class: "bottom-gradient" };
|
|
7521
7518
|
|
|
@@ -425,4 +425,4 @@ html.dark {
|
|
|
425
425
|
|
|
426
426
|
.dark .valaxy-devtools-container {
|
|
427
427
|
--c-divider: rgba(255, 255, 255, 0.1);
|
|
428
|
-
}.splitpanes{display:flex;width:100%;height:100%}.splitpanes--vertical{flex-direction:row}.splitpanes--horizontal{flex-direction:column}.splitpanes--dragging
|
|
428
|
+
}.splitpanes{display:flex;width:100%;height:100%}.splitpanes--vertical{flex-direction:row}.splitpanes--horizontal{flex-direction:column}.splitpanes--dragging .splitpanes__pane{-webkit-user-select:none;user-select:none;pointer-events:none}.splitpanes__pane{width:100%;height:100%;overflow:hidden}.splitpanes--vertical .splitpanes__pane{transition:width .2s ease-out}.splitpanes--horizontal .splitpanes__pane{transition:height .2s ease-out}.splitpanes--dragging .splitpanes__pane{transition:none}.splitpanes__splitter{touch-action:none}.splitpanes--vertical>.splitpanes__splitter{min-width:1px;cursor:col-resize}.splitpanes--horizontal>.splitpanes__splitter{min-height:1px;cursor:row-resize}.splitpanes.default-theme .splitpanes__pane{background-color:#f2f2f2}.splitpanes.default-theme .splitpanes__splitter{background-color:#fff;box-sizing:border-box;position:relative;flex-shrink:0}.splitpanes.default-theme .splitpanes__splitter:before,.splitpanes.default-theme .splitpanes__splitter:after{content:"";position:absolute;top:50%;left:50%;background-color:#00000026;transition:background-color .3s}.splitpanes.default-theme .splitpanes__splitter:hover:before,.splitpanes.default-theme .splitpanes__splitter:hover:after{background-color:#00000040}.splitpanes.default-theme .splitpanes__splitter:first-child{cursor:auto}.default-theme.splitpanes .splitpanes .splitpanes__splitter{z-index:1}.default-theme.splitpanes--vertical>.splitpanes__splitter,.default-theme .splitpanes--vertical>.splitpanes__splitter{width:7px;border-left:1px solid #eee;margin-left:-1px}.default-theme.splitpanes--vertical>.splitpanes__splitter:before,.default-theme.splitpanes--vertical>.splitpanes__splitter:after,.default-theme .splitpanes--vertical>.splitpanes__splitter:before,.default-theme .splitpanes--vertical>.splitpanes__splitter:after{transform:translateY(-50%);width:1px;height:30px}.default-theme.splitpanes--vertical>.splitpanes__splitter:before,.default-theme .splitpanes--vertical>.splitpanes__splitter:before{margin-left:-2px}.default-theme.splitpanes--vertical>.splitpanes__splitter:after,.default-theme .splitpanes--vertical>.splitpanes__splitter:after{margin-left:1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter,.default-theme .splitpanes--horizontal>.splitpanes__splitter{height:7px;border-top:1px solid #eee;margin-top:-1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:before,.default-theme.splitpanes--horizontal>.splitpanes__splitter:after,.default-theme .splitpanes--horizontal>.splitpanes__splitter:before,.default-theme .splitpanes--horizontal>.splitpanes__splitter:after{transform:translate(-50%);width:30px;height:1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:before,.default-theme .splitpanes--horizontal>.splitpanes__splitter:before{margin-top:-2px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:after,.default-theme .splitpanes--horizontal>.splitpanes__splitter:after{margin-top:1px}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { q as defineComponent, s as ref, k as createBlock, p as withCtx, y as unref, x as createVNode, a as createBaseVNode, z as createTextVNode, c as createElementBlock, j as renderList, w as withDirectives, ac as vModelCheckbox, t as toDisplayString, aa as postList, F as Fragment, ad as vModelText, o as openBlock } from './index-
|
|
2
|
-
import { P as Pe, b as script, g as ge, d as axios } from './splitpanes.es-
|
|
1
|
+
import { q as defineComponent, s as ref, k as createBlock, p as withCtx, y as unref, x as createVNode, a as createBaseVNode, z as createTextVNode, c as createElementBlock, j as renderList, w as withDirectives, ac as vModelCheckbox, t as toDisplayString, aa as postList, F as Fragment, ad as vModelText, o as openBlock } from './index-C1CSGtTH.js';
|
|
2
|
+
import { P as Pe, b as script, g as ge, d as axios } from './splitpanes.es-Jgun55i8.js';
|
|
3
3
|
|
|
4
4
|
const _hoisted_1 = {
|
|
5
5
|
flex: "~ gap-2",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ae as getKeyValue, m as mergeProps, af as isFunction$1, ag as toCapitalCase, ah as service_default, ai as config_default, B as BaseStyle, aj as isString$1, ak as toFlatCase, al as resolve, am as isObject$1, an as isEmpty, ao as PrimeVueService, ap as isArray$1, M as getAttribute, aq as removeClass, ar as getHeight, as as getWidth, O as getOuterWidth, at as getOuterHeight, au as getOffset, av as addClass, aw as createElement, ax as useId, i as isNotEmpty, K as findSingle, ay as isElement, c as createElementBlock, o as openBlock, a as createBaseVNode, b as renderSlot, z as createTextVNode, t as toDisplayString, h as resolveComponent, r as resolveDirective, w as withDirectives, k as createBlock, p as withCtx, d as createCommentVNode, n as normalizeClass, U as resolveDynamicComponent, az as useSlots, s as ref, aA as computed, v as watch, a6 as onMounted, aB as onBeforeUnmount, aC as provide, aD as inject, aE as getCurrentInstance, S as normalizeStyle, y as unref, aF as h, aG as nextTick } from './index-
|
|
1
|
+
import { ae as getKeyValue, m as mergeProps, af as isFunction$1, ag as toCapitalCase, ah as service_default, ai as config_default, B as BaseStyle, aj as isString$1, ak as toFlatCase, al as resolve, am as isObject$1, an as isEmpty, ao as PrimeVueService, ap as isArray$1, M as getAttribute, aq as removeClass, ar as getHeight, as as getWidth, O as getOuterWidth, at as getOuterHeight, au as getOffset, av as addClass, aw as createElement, ax as useId, i as isNotEmpty, K as findSingle, ay as isElement, c as createElementBlock, o as openBlock, a as createBaseVNode, b as renderSlot, z as createTextVNode, t as toDisplayString, h as resolveComponent, r as resolveDirective, w as withDirectives, k as createBlock, p as withCtx, d as createCommentVNode, n as normalizeClass, U as resolveDynamicComponent, az as useSlots, s as ref, aA as computed, v as watch, a6 as onMounted, aB as onBeforeUnmount, aC as provide, aD as inject, aE as getCurrentInstance, S as normalizeStyle, y as unref, aF as h, aG as nextTick } from './index-C1CSGtTH.js';
|
|
2
2
|
|
|
3
3
|
// src/classnames/index.ts
|
|
4
4
|
function cn(...args) {
|
|
@@ -3381,7 +3381,7 @@ function combineURLs(baseURL, relativeURL) {
|
|
|
3381
3381
|
*/
|
|
3382
3382
|
function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
|
|
3383
3383
|
let isRelativeUrl = !isAbsoluteURL(requestedURL);
|
|
3384
|
-
if (baseURL && isRelativeUrl || allowAbsoluteUrls == false) {
|
|
3384
|
+
if (baseURL && (isRelativeUrl || allowAbsoluteUrls == false)) {
|
|
3385
3385
|
return combineURLs(baseURL, requestedURL);
|
|
3386
3386
|
}
|
|
3387
3387
|
return requestedURL;
|
|
@@ -4240,7 +4240,7 @@ function dispatchRequest(config) {
|
|
|
4240
4240
|
|
|
4241
4241
|
/* Injected with object hook! */
|
|
4242
4242
|
|
|
4243
|
-
const VERSION$1 = "1.8.
|
|
4243
|
+
const VERSION$1 = "1.8.4";
|
|
4244
4244
|
/* Injected with object hook! */
|
|
4245
4245
|
|
|
4246
4246
|
const validators$1 = {};
|
|
@@ -5342,13 +5342,13 @@ script.render = render;
|
|
|
5342
5342
|
const Pe = {
|
|
5343
5343
|
__name: "splitpanes",
|
|
5344
5344
|
props: {
|
|
5345
|
-
horizontal: { type: Boolean },
|
|
5345
|
+
horizontal: { type: Boolean, default: false },
|
|
5346
5346
|
pushOtherPanes: { type: Boolean, default: true },
|
|
5347
5347
|
maximizePanes: { type: Boolean, default: true },
|
|
5348
5348
|
// Maximize pane on splitter double click/tap.
|
|
5349
5349
|
rtl: { type: Boolean, default: false },
|
|
5350
5350
|
// Right to left direction.
|
|
5351
|
-
firstSplitter: { type: Boolean }
|
|
5351
|
+
firstSplitter: { type: Boolean, default: false }
|
|
5352
5352
|
},
|
|
5353
5353
|
emits: [
|
|
5354
5354
|
"ready",
|
|
@@ -5361,18 +5361,18 @@ const Pe = {
|
|
|
5361
5361
|
"splitter-click",
|
|
5362
5362
|
"splitter-dblclick"
|
|
5363
5363
|
],
|
|
5364
|
-
setup(D, { emit:
|
|
5365
|
-
const
|
|
5364
|
+
setup(D, { emit: h$1 }) {
|
|
5365
|
+
const y = h$1, u = D, E = useSlots(), l = ref([]), M = computed(() => l.value.reduce((e, n) => (e[~~n.id] = n) && e, {})), m = computed(() => l.value.length), x = ref(null), S = ref(false), c = ref({
|
|
5366
5366
|
mouseDown: false,
|
|
5367
5367
|
dragging: false,
|
|
5368
5368
|
activeSplitter: null,
|
|
5369
5369
|
cursorOffset: 0
|
|
5370
5370
|
// Cursor offset within the splitter.
|
|
5371
|
-
}),
|
|
5371
|
+
}), f = ref({
|
|
5372
5372
|
// Used to detect double click on touch devices.
|
|
5373
5373
|
splitter: null,
|
|
5374
5374
|
timeoutId: null
|
|
5375
|
-
}),
|
|
5375
|
+
}), _ = computed(() => ({
|
|
5376
5376
|
[`splitpanes splitpanes--${u.horizontal ? "horizontal" : "vertical"}`]: true,
|
|
5377
5377
|
"splitpanes--dragging": c.value.dragging
|
|
5378
5378
|
})), R = () => {
|
|
@@ -5382,27 +5382,27 @@ const Pe = {
|
|
|
5382
5382
|
}, b = (e, n) => {
|
|
5383
5383
|
const t = e.target.closest(".splitpanes__splitter");
|
|
5384
5384
|
if (t) {
|
|
5385
|
-
const { left: i, top:
|
|
5386
|
-
c.value.cursorOffset = u.horizontal ? o -
|
|
5385
|
+
const { left: i, top: a } = t.getBoundingClientRect(), { clientX: s, clientY: o } = "ontouchstart" in window && e.touches ? e.touches[0] : e;
|
|
5386
|
+
c.value.cursorOffset = u.horizontal ? o - a : s - i;
|
|
5387
5387
|
}
|
|
5388
5388
|
R(), c.value.mouseDown = true, c.value.activeSplitter = n;
|
|
5389
5389
|
}, r = (e) => {
|
|
5390
5390
|
c.value.mouseDown && (e.preventDefault(), c.value.dragging = true, requestAnimationFrame(() => {
|
|
5391
|
-
K(I(e)),
|
|
5391
|
+
K(I(e)), d("resize", { event: e }, true);
|
|
5392
5392
|
}));
|
|
5393
5393
|
}, P = (e) => {
|
|
5394
|
-
c.value.dragging &&
|
|
5394
|
+
c.value.dragging && d("resized", { event: e }, true), c.value.mouseDown = false, c.value.activeSplitter = null, setTimeout(() => {
|
|
5395
5395
|
c.value.dragging = false, O();
|
|
5396
5396
|
}, 100);
|
|
5397
5397
|
}, A = (e, n) => {
|
|
5398
|
-
"ontouchstart" in window && (e.preventDefault(),
|
|
5398
|
+
"ontouchstart" in window && (e.preventDefault(), f.value.splitter === n ? (clearTimeout(f.value.timeoutId), f.value.timeoutId = null, U(e, n), f.value.splitter = null) : (f.value.splitter = n, f.value.timeoutId = setTimeout(() => f.value.splitter = null, 500))), c.value.dragging || d("splitter-click", { event: e, index: n }, true);
|
|
5399
5399
|
}, U = (e, n) => {
|
|
5400
|
-
if (
|
|
5400
|
+
if (d("splitter-dblclick", { event: e, index: n }, true), u.maximizePanes) {
|
|
5401
5401
|
let t = 0;
|
|
5402
|
-
l.value = l.value.map((i,
|
|
5402
|
+
l.value = l.value.map((i, a) => (i.size = a === n ? i.max : i.min, a !== n && (t += i.min), i)), l.value[n].size -= t, d("pane-maximize", { event: e, index: n, pane: l.value[n] }), d("resized", { event: e, index: n }, true);
|
|
5403
5403
|
}
|
|
5404
5404
|
}, W = (e, n) => {
|
|
5405
|
-
|
|
5405
|
+
d("pane-click", {
|
|
5406
5406
|
event: e,
|
|
5407
5407
|
index: M.value[n].index,
|
|
5408
5408
|
pane: M.value[n]
|
|
@@ -5425,132 +5425,135 @@ const Pe = {
|
|
|
5425
5425
|
prevReachedMinPanes: 0,
|
|
5426
5426
|
nextReachedMinPanes: 0
|
|
5427
5427
|
};
|
|
5428
|
-
const i = 0 + (u.pushOtherPanes ? 0 : t.prevPanesSize),
|
|
5429
|
-
let o = [n, n + 1], v = l.value[o[0]] || null,
|
|
5430
|
-
const H = v.max < 100 &&
|
|
5428
|
+
const i = 0 + (u.pushOtherPanes ? 0 : t.prevPanesSize), a = 100 - (u.pushOtherPanes ? 0 : t.nextPanesSize), s = Math.max(Math.min(J(e), a), i);
|
|
5429
|
+
let o = [n, n + 1], v = l.value[o[0]] || null, p = l.value[o[1]] || null;
|
|
5430
|
+
const H = v.max < 100 && s >= v.max + t.prevPanesSize, ue = p.max < 100 && s <= 100 - (p.max + N(n + 1));
|
|
5431
5431
|
if (H || ue) {
|
|
5432
|
-
H ? (v.size = v.max,
|
|
5432
|
+
H ? (v.size = v.max, p.size = Math.max(100 - v.max - t.prevPanesSize - t.nextPanesSize, 0)) : (v.size = Math.max(100 - p.max - t.prevPanesSize - N(n + 1), 0), p.size = p.max);
|
|
5433
5433
|
return;
|
|
5434
5434
|
}
|
|
5435
5435
|
if (u.pushOtherPanes) {
|
|
5436
|
-
const j = Q(t,
|
|
5436
|
+
const j = Q(t, s);
|
|
5437
5437
|
if (!j) return;
|
|
5438
|
-
(({ sums: t, panesToResize: o } = j)), v = l.value[o[0]] || null,
|
|
5438
|
+
(({ sums: t, panesToResize: o } = j)), v = l.value[o[0]] || null, p = l.value[o[1]] || null;
|
|
5439
5439
|
}
|
|
5440
|
-
v !== null && (v.size = Math.min(Math.max(
|
|
5440
|
+
v !== null && (v.size = Math.min(Math.max(s - t.prevPanesSize - t.prevReachedMinPanes, v.min), v.max)), p !== null && (p.size = Math.min(Math.max(100 - s - t.nextPanesSize - t.nextReachedMinPanes, p.min), p.max));
|
|
5441
5441
|
}, Q = (e, n) => {
|
|
5442
5442
|
const t = c.value.activeSplitter, i = [t, t + 1];
|
|
5443
|
-
return n < e.prevPanesSize + l.value[i[0]].min && (i[0] = V(t).index, e.prevReachedMinPanes = 0, i[0] < t && l.value.forEach((
|
|
5444
|
-
|
|
5445
|
-
}), e.prevPanesSize = $(i[0]), i[0] === void 0) ? (e.prevReachedMinPanes = 0, l.value[0].size = l.value[0].min, l.value.forEach((
|
|
5446
|
-
|
|
5447
|
-
}), l.value[i[1]].size = 100 - e.prevReachedMinPanes - l.value[0].min - e.prevPanesSize - e.nextPanesSize, null) : n > 100 - e.nextPanesSize - l.value[i[1]].min && (i[1] = Z(t).index, e.nextReachedMinPanes = 0, i[1] > t + 1 && l.value.forEach((
|
|
5448
|
-
|
|
5449
|
-
}), e.nextPanesSize = N(i[1] - 1), i[1] === void 0) ? (e.nextReachedMinPanes = 0, l.value.forEach((
|
|
5450
|
-
|
|
5443
|
+
return n < e.prevPanesSize + l.value[i[0]].min && (i[0] = V(t).index, e.prevReachedMinPanes = 0, i[0] < t && l.value.forEach((a, s) => {
|
|
5444
|
+
s > i[0] && s <= t && (a.size = a.min, e.prevReachedMinPanes += a.min);
|
|
5445
|
+
}), e.prevPanesSize = $(i[0]), i[0] === void 0) ? (e.prevReachedMinPanes = 0, l.value[0].size = l.value[0].min, l.value.forEach((a, s) => {
|
|
5446
|
+
s > 0 && s <= t && (a.size = a.min, e.prevReachedMinPanes += a.min);
|
|
5447
|
+
}), l.value[i[1]].size = 100 - e.prevReachedMinPanes - l.value[0].min - e.prevPanesSize - e.nextPanesSize, null) : n > 100 - e.nextPanesSize - l.value[i[1]].min && (i[1] = Z(t).index, e.nextReachedMinPanes = 0, i[1] > t + 1 && l.value.forEach((a, s) => {
|
|
5448
|
+
s > t && s < i[1] && (a.size = a.min, e.nextReachedMinPanes += a.min);
|
|
5449
|
+
}), e.nextPanesSize = N(i[1] - 1), i[1] === void 0) ? (e.nextReachedMinPanes = 0, l.value.forEach((a, s) => {
|
|
5450
|
+
s < m.value - 1 && s >= t + 1 && (a.size = a.min, e.nextReachedMinPanes += a.min);
|
|
5451
5451
|
}), l.value[i[0]].size = 100 - e.prevPanesSize - N(i[0] - 1), null) : { sums: e, panesToResize: i };
|
|
5452
5452
|
}, $ = (e) => l.value.reduce((n, t, i) => n + (i < e ? t.size : 0), 0), N = (e) => l.value.reduce((n, t, i) => n + (i > e + 1 ? t.size : 0), 0), V = (e) => [...l.value].reverse().find((t) => t.index < e && t.size > t.min) || {}, Z = (e) => l.value.find((t) => t.index > e + 1 && t.size > t.min) || {}, ee = () => {
|
|
5453
5453
|
var n;
|
|
5454
|
-
Array.from(((n = x.value) == null ? void 0 : n.children) || [])
|
|
5455
|
-
|
|
5456
|
-
|
|
5457
|
-
|
|
5454
|
+
const e = Array.from(((n = x.value) == null ? void 0 : n.children) || []);
|
|
5455
|
+
for (const t of e) {
|
|
5456
|
+
const i = t.classList.contains("splitpanes__pane"), a = t.classList.contains("splitpanes__splitter");
|
|
5457
|
+
!i && !a && (t.remove(), console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed."));
|
|
5458
|
+
}
|
|
5458
5459
|
}, F = (e, n, t = false) => {
|
|
5459
|
-
const i = e - 1,
|
|
5460
|
-
|
|
5460
|
+
const i = e - 1, a = document.createElement("div");
|
|
5461
|
+
a.classList.add("splitpanes__splitter"), t || (a.onmousedown = (s) => b(s, i), typeof window < "u" && "ontouchstart" in window && (a.ontouchstart = (s) => b(s, i)), a.onclick = (s) => A(s, i + 1)), a.ondblclick = (s) => U(s, i + 1), n.parentNode.insertBefore(a, n);
|
|
5461
5462
|
}, ne = (e) => {
|
|
5462
5463
|
e.onmousedown = void 0, e.onclick = void 0, e.ondblclick = void 0, e.remove();
|
|
5463
5464
|
}, C = () => {
|
|
5464
5465
|
var t;
|
|
5465
5466
|
const e = Array.from(((t = x.value) == null ? void 0 : t.children) || []);
|
|
5466
|
-
|
|
5467
|
+
for (const i of e)
|
|
5467
5468
|
i.className.includes("splitpanes__splitter") && ne(i);
|
|
5468
|
-
});
|
|
5469
5469
|
let n = 0;
|
|
5470
|
-
|
|
5470
|
+
for (const i of e)
|
|
5471
5471
|
i.className.includes("splitpanes__pane") && (!n && u.firstSplitter ? F(n, i, true) : n && F(n, i), n++);
|
|
5472
|
-
});
|
|
5473
5472
|
}, ie = ({ uid: e, ...n }) => {
|
|
5474
5473
|
const t = M.value[e];
|
|
5475
|
-
|
|
5474
|
+
for (const [i, a] of Object.entries(n)) t[i] = a;
|
|
5476
5475
|
}, te = (e) => {
|
|
5477
5476
|
var t;
|
|
5478
5477
|
let n = -1;
|
|
5479
|
-
Array.from(((t = x.value) == null ? void 0 : t.children) || []).some((i) => (i.className.includes("splitpanes__pane") && n++, i.isSameNode(e.el))), l.value.splice(n, 0, { ...e, index: n }), l.value.forEach((i,
|
|
5480
|
-
C(), L({ addedPane: l.value[n] }),
|
|
5478
|
+
Array.from(((t = x.value) == null ? void 0 : t.children) || []).some((i) => (i.className.includes("splitpanes__pane") && n++, i.isSameNode(e.el))), l.value.splice(n, 0, { ...e, index: n }), l.value.forEach((i, a) => i.index = a), S.value && nextTick(() => {
|
|
5479
|
+
C(), L({ addedPane: l.value[n] }), d("pane-add", { pane: l.value[n] });
|
|
5481
5480
|
});
|
|
5482
|
-
},
|
|
5481
|
+
}, ae = (e) => {
|
|
5483
5482
|
const n = l.value.findIndex((i) => i.id === e);
|
|
5484
5483
|
l.value[n].el = null;
|
|
5485
5484
|
const t = l.value.splice(n, 1)[0];
|
|
5486
|
-
l.value.forEach((i,
|
|
5487
|
-
C(),
|
|
5485
|
+
l.value.forEach((i, a) => i.index = a), nextTick(() => {
|
|
5486
|
+
C(), d("pane-remove", { pane: t }), L({ removedPane: { ...t } });
|
|
5488
5487
|
});
|
|
5489
5488
|
}, L = (e = {}) => {
|
|
5490
|
-
!e.addedPane && !e.removedPane ? le() : l.value.some((n) => n.givenSize !== null || n.min || n.max < 100) ? oe(e) :
|
|
5491
|
-
},
|
|
5489
|
+
!e.addedPane && !e.removedPane ? le() : l.value.some((n) => n.givenSize !== null || n.min || n.max < 100) ? oe(e) : se(), S.value && d("resized");
|
|
5490
|
+
}, se = () => {
|
|
5492
5491
|
const e = 100 / m.value;
|
|
5493
5492
|
let n = 0;
|
|
5494
5493
|
const t = [], i = [];
|
|
5495
|
-
l.value
|
|
5496
|
-
|
|
5497
|
-
|
|
5494
|
+
for (const a of l.value)
|
|
5495
|
+
a.size = Math.max(Math.min(e, a.max), a.min), n -= a.size, a.size >= a.max && t.push(a.id), a.size <= a.min && i.push(a.id);
|
|
5496
|
+
n > 0.1 && q(n, t, i);
|
|
5498
5497
|
}, le = () => {
|
|
5499
5498
|
let e = 100;
|
|
5500
5499
|
const n = [], t = [];
|
|
5501
5500
|
let i = 0;
|
|
5502
|
-
l.value
|
|
5503
|
-
e -=
|
|
5504
|
-
|
|
5505
|
-
|
|
5506
|
-
|
|
5507
|
-
|
|
5508
|
-
|
|
5501
|
+
for (const s of l.value)
|
|
5502
|
+
e -= s.size, s.givenSize !== null && i++, s.size >= s.max && n.push(s.id), s.size <= s.min && t.push(s.id);
|
|
5503
|
+
let a = 100;
|
|
5504
|
+
if (e > 0.1) {
|
|
5505
|
+
for (const s of l.value)
|
|
5506
|
+
s.givenSize === null && (s.size = Math.max(Math.min(e / (m.value - i), s.max), s.min)), a -= s.size;
|
|
5507
|
+
a > 0.1 && q(a, n, t);
|
|
5508
|
+
}
|
|
5509
5509
|
}, oe = ({ addedPane: e, removedPane: n } = {}) => {
|
|
5510
5510
|
let t = 100 / m.value, i = 0;
|
|
5511
|
-
const
|
|
5512
|
-
((e == null ? void 0 : e.givenSize) ?? null) !== null && (t = (100 - e.givenSize) / (m.value - 1))
|
|
5513
|
-
|
|
5514
|
-
|
|
5515
|
-
|
|
5516
|
-
|
|
5511
|
+
const a = [], s = [];
|
|
5512
|
+
((e == null ? void 0 : e.givenSize) ?? null) !== null && (t = (100 - e.givenSize) / (m.value - 1));
|
|
5513
|
+
for (const o of l.value)
|
|
5514
|
+
i -= o.size, o.size >= o.max && a.push(o.id), o.size <= o.min && s.push(o.id);
|
|
5515
|
+
if (!(Math.abs(i) < 0.1)) {
|
|
5516
|
+
for (const o of l.value)
|
|
5517
|
+
(e == null ? void 0 : e.givenSize) !== null && (e == null ? void 0 : e.id) === o.id || (o.size = Math.max(Math.min(t, o.max), o.min)), i -= o.size, o.size >= o.max && a.push(o.id), o.size <= o.min && s.push(o.id);
|
|
5518
|
+
i > 0.1 && q(i, a, s);
|
|
5519
|
+
}
|
|
5517
5520
|
}, q = (e, n, t) => {
|
|
5518
5521
|
let i;
|
|
5519
|
-
e > 0 ? i = e / (m.value - n.length) : i = e / (m.value - t.length), l.value.forEach((
|
|
5520
|
-
if (e > 0 && !n.includes(
|
|
5521
|
-
const o = Math.max(Math.min(
|
|
5522
|
-
e -= v,
|
|
5523
|
-
} else if (!t.includes(
|
|
5524
|
-
const o = Math.max(Math.min(
|
|
5525
|
-
e -= v,
|
|
5522
|
+
e > 0 ? i = e / (m.value - n.length) : i = e / (m.value - t.length), l.value.forEach((a, s) => {
|
|
5523
|
+
if (e > 0 && !n.includes(a.id)) {
|
|
5524
|
+
const o = Math.max(Math.min(a.size + i, a.max), a.min), v = o - a.size;
|
|
5525
|
+
e -= v, a.size = o;
|
|
5526
|
+
} else if (!t.includes(a.id)) {
|
|
5527
|
+
const o = Math.max(Math.min(a.size + i, a.max), a.min), v = o - a.size;
|
|
5528
|
+
e -= v, a.size = o;
|
|
5526
5529
|
}
|
|
5527
5530
|
}), Math.abs(e) > 0.1 && nextTick(() => {
|
|
5528
5531
|
S.value && console.warn("Splitpanes: Could not resize panes correctly due to their constraints.");
|
|
5529
5532
|
});
|
|
5530
|
-
},
|
|
5533
|
+
}, d = (e, n = void 0, t = false) => {
|
|
5531
5534
|
const i = (n == null ? void 0 : n.index) ?? c.value.activeSplitter ?? null;
|
|
5532
|
-
|
|
5535
|
+
y(e, {
|
|
5533
5536
|
...n,
|
|
5534
5537
|
...i !== null && { index: i },
|
|
5535
5538
|
...t && i !== null && {
|
|
5536
5539
|
prevPane: l.value[i - (u.firstSplitter ? 1 : 0)],
|
|
5537
5540
|
nextPane: l.value[i + (u.firstSplitter ? 0 : 1)]
|
|
5538
5541
|
},
|
|
5539
|
-
panes: l.value.map((
|
|
5542
|
+
panes: l.value.map((a) => ({ min: a.min, max: a.max, size: a.size }))
|
|
5540
5543
|
});
|
|
5541
5544
|
};
|
|
5542
5545
|
watch(() => u.firstSplitter, () => C()), onMounted(() => {
|
|
5543
|
-
ee(), C(), L(),
|
|
5546
|
+
ee(), C(), L(), d("ready"), S.value = true;
|
|
5544
5547
|
}), onBeforeUnmount(() => S.value = false);
|
|
5545
5548
|
const re = () => {
|
|
5546
5549
|
var e;
|
|
5547
5550
|
return h(
|
|
5548
5551
|
"div",
|
|
5549
|
-
{ ref: x, class:
|
|
5550
|
-
(e =
|
|
5552
|
+
{ ref: x, class: _.value },
|
|
5553
|
+
(e = E.default) == null ? void 0 : e.call(E)
|
|
5551
5554
|
);
|
|
5552
5555
|
};
|
|
5553
|
-
return provide("panes", l), provide("indexedPanes", M), provide("horizontal", computed(() => u.horizontal)), provide("requestUpdate", ie), provide("onPaneAdd", te), provide("onPaneRemove",
|
|
5556
|
+
return provide("panes", l), provide("indexedPanes", M), provide("horizontal", computed(() => u.horizontal)), provide("requestUpdate", ie), provide("onPaneAdd", te), provide("onPaneRemove", ae), provide("onPaneClick", W), (e, n) => (openBlock(), createBlock(resolveDynamicComponent(re)));
|
|
5554
5557
|
}
|
|
5555
5558
|
}, ge = {
|
|
5556
5559
|
__name: "pane",
|
|
@@ -5561,28 +5564,28 @@ const Pe = {
|
|
|
5561
5564
|
},
|
|
5562
5565
|
setup(D) {
|
|
5563
5566
|
var b;
|
|
5564
|
-
const
|
|
5565
|
-
const r = isNaN(
|
|
5566
|
-
return Math.max(Math.min(r, R.value),
|
|
5567
|
-
}),
|
|
5568
|
-
const r = parseFloat(
|
|
5567
|
+
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(() => {
|
|
5568
|
+
const r = isNaN(h.size) || h.size === void 0 ? 0 : parseFloat(h.size);
|
|
5569
|
+
return Math.max(Math.min(r, R.value), _.value);
|
|
5570
|
+
}), _ = computed(() => {
|
|
5571
|
+
const r = parseFloat(h.minSize);
|
|
5569
5572
|
return isNaN(r) ? 0 : r;
|
|
5570
5573
|
}), R = computed(() => {
|
|
5571
|
-
const r = parseFloat(
|
|
5574
|
+
const r = parseFloat(h.maxSize);
|
|
5572
5575
|
return isNaN(r) ? 100 : r;
|
|
5573
5576
|
}), O = computed(() => {
|
|
5574
5577
|
var r;
|
|
5575
|
-
return `${
|
|
5578
|
+
return `${E.value ? "height" : "width"}: ${(r = S.value) == null ? void 0 : r.size}%`;
|
|
5576
5579
|
});
|
|
5577
|
-
return watch(() =>
|
|
5580
|
+
return watch(() => f.value, (r) => y({ uid: m, size: r })), watch(() => _.value, (r) => y({ uid: m, min: r })), watch(() => R.value, (r) => y({ uid: m, max: r })), onMounted(() => {
|
|
5578
5581
|
u({
|
|
5579
5582
|
id: m,
|
|
5580
5583
|
el: c.value,
|
|
5581
|
-
min:
|
|
5584
|
+
min: _.value,
|
|
5582
5585
|
max: R.value,
|
|
5583
5586
|
// The given size (useful to know the user intention).
|
|
5584
|
-
givenSize:
|
|
5585
|
-
size:
|
|
5587
|
+
givenSize: h.size === void 0 ? null : f.value,
|
|
5588
|
+
size: f.value
|
|
5586
5589
|
// The computed current size at any time.
|
|
5587
5590
|
});
|
|
5588
5591
|
}), onBeforeUnmount(() => l(m)), (r, P) => (openBlock(), createElementBlock("div", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as _export_sfc, c as createElementBlock, o as openBlock } from './index-
|
|
1
|
+
import { _ as _export_sfc, c as createElementBlock, o as openBlock } from './index-C1CSGtTH.js';
|
|
2
2
|
|
|
3
|
-
/* unplugin-vue-components disabled */const _sfc_main = {};
|
|
3
|
+
/* unplugin-vue-components disabled */const _sfc_main = { };
|
|
4
4
|
|
|
5
5
|
function _sfc_render(_ctx, _cache) {
|
|
6
6
|
return (openBlock(), createElementBlock("div", null, " Tags "))
|
package/dist/client/index.html
CHANGED
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
document.documentElement.classList.toggle('dark', true)
|
|
17
17
|
})()
|
|
18
18
|
</script>
|
|
19
|
-
<script type="module" crossorigin src="./assets/index-
|
|
20
|
-
<link rel="stylesheet" crossorigin href="./assets/index-
|
|
19
|
+
<script type="module" crossorigin src="./assets/index-C1CSGtTH.js"></script>
|
|
20
|
+
<link rel="stylesheet" crossorigin href="./assets/index-RHgX5GjR.css">
|
|
21
21
|
</head>
|
|
22
22
|
|
|
23
23
|
<body data-vite-inspect-mode="DEV">
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@valaxyjs/devtools",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.22.
|
|
4
|
+
"version": "0.22.17",
|
|
5
5
|
"repository": {
|
|
6
6
|
"url": "https://github.com/YunYouJun/valaxy"
|
|
7
7
|
},
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@rollup/pluginutils": "^5.1.4",
|
|
26
|
-
"axios": "^1.8.
|
|
26
|
+
"axios": "^1.8.4",
|
|
27
27
|
"body-parser": "^2.1.0",
|
|
28
28
|
"cors": "^2.8.5",
|
|
29
29
|
"http-proxy-middleware": "^3.0.3",
|
|
@@ -31,23 +31,23 @@
|
|
|
31
31
|
"pathe": "^2.0.3",
|
|
32
32
|
"sirv": "^3.0.1",
|
|
33
33
|
"vite-dev-rpc": "^1.0.7",
|
|
34
|
-
"valaxy": "0.22.
|
|
34
|
+
"valaxy": "0.22.17"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@advjs/gui": "0.0.7-beta.7",
|
|
38
38
|
"@iconify-json/ri": "^1.2.5",
|
|
39
|
-
"@intlify/unplugin-vue-i18n": "^6.0.
|
|
39
|
+
"@intlify/unplugin-vue-i18n": "^6.0.5",
|
|
40
40
|
"@primevue/themes": "^4.3.2",
|
|
41
41
|
"@types/body-parser": "^1.19.5",
|
|
42
42
|
"@types/splitpanes": "^2.2.6",
|
|
43
43
|
"@types/wicg-file-system-access": "^2023.10.5",
|
|
44
44
|
"gray-matter": "^4.0.3",
|
|
45
45
|
"primevue": "^4.3.2",
|
|
46
|
-
"splitpanes": "^4.0.
|
|
46
|
+
"splitpanes": "^4.0.3",
|
|
47
47
|
"typescript": "^5.8.2",
|
|
48
48
|
"unbuild": "^3.5.0",
|
|
49
49
|
"unplugin-vue-router": "^0.12.0",
|
|
50
|
-
"vite": "^6.2.
|
|
50
|
+
"vite": "^6.2.3",
|
|
51
51
|
"vue-i18n": "^11.1.2",
|
|
52
52
|
"zod": "^3.24.2"
|
|
53
53
|
},
|