@valaxyjs/devtools 0.22.5 → 0.22.7

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.
@@ -1,5 +1,5 @@
1
- import { S as defineComponent, U as ref, ap as onMounted, av as getGlobalValaxyProperty, C as openBlock, O as createBlock, R as withCtx, X as unref, W as createVNode, E as createBaseVNode, D as createElementBlock, N as renderList, M as Fragment, A as withDirectives, aw as vModelCheckbox, I as toDisplayString, ax as vModelText } from './index-Clg7HLhF.js';
2
- import { g, M, a as axios } from './splitpanes.es-B_iwNZlc.js';
1
+ import { S as defineComponent, U as ref, ap as onMounted, av as getGlobalValaxyProperty, C as openBlock, O as createBlock, R as withCtx, X as unref, W as createVNode, E as createBaseVNode, D as createElementBlock, N as renderList, M as Fragment, A as withDirectives, aw as vModelCheckbox, I as toDisplayString, ax as vModelText } from './index-Dc1MXK-z.js';
2
+ import { g, M, a as axios } from './splitpanes.es-Bj0Y5My3.js';
3
3
 
4
4
  const _hoisted_1 = {
5
5
  class: "h-full",
@@ -1,4 +1,4 @@
1
- import { ay as h, C as openBlock, D as createElementBlock, F as renderSlot, ac as normalizeStyle } from './index-Clg7HLhF.js';
1
+ import { ay as h, C as openBlock, D as createElementBlock, F as renderSlot, ac as normalizeStyle } from './index-Dc1MXK-z.js';
2
2
 
3
3
  function bind(fn, thisArg) {
4
4
  return function wrap() {
@@ -3805,13 +3805,15 @@ axios.default = axios;
3805
3805
  /* Injected with object hook! */
3806
3806
 
3807
3807
  const M = {
3808
+ // eslint-disable-next-line vue/multi-word-component-names
3808
3809
  name: "splitpanes",
3809
3810
  emits: ["ready", "resize", "resized", "pane-click", "pane-maximize", "pane-add", "pane-remove", "splitter-click"],
3810
3811
  props: {
3811
3812
  horizontal: { type: Boolean },
3812
- pushOtherPanes: { type: Boolean, default: !0 },
3813
- dblClickSplitter: { type: Boolean, default: !0 },
3814
- rtl: { type: Boolean, default: !1 },
3813
+ pushOtherPanes: { type: Boolean, default: true },
3814
+ dblClickSplitter: { type: Boolean, default: true },
3815
+ rtl: { type: Boolean, default: false },
3816
+ // Right to left direction.
3815
3817
  firstSplitter: { type: Boolean }
3816
3818
  },
3817
3819
  provide() {
@@ -3824,14 +3826,15 @@ const M = {
3824
3826
  },
3825
3827
  data: () => ({
3826
3828
  container: null,
3827
- ready: !1,
3829
+ ready: false,
3828
3830
  panes: [],
3829
3831
  touch: {
3830
- mouseDown: !1,
3831
- dragging: !1,
3832
+ mouseDown: false,
3833
+ dragging: false,
3832
3834
  activeSplitter: null
3833
3835
  },
3834
3836
  splitterTaps: {
3837
+ // Used to detect double click on touch devices.
3835
3838
  splitter: null,
3836
3839
  timeoutId: null
3837
3840
  }
@@ -3840,6 +3843,8 @@ const M = {
3840
3843
  panesCount() {
3841
3844
  return this.panes.length;
3842
3845
  },
3846
+ // Indexed panes by `uid` of Pane components for fast lookup.
3847
+ // Every time a pane is destroyed this index is recomputed.
3843
3848
  indexedPanes() {
3844
3849
  return this.panes.reduce((e, i) => (e[i.id] = i) && e, {});
3845
3850
  }
@@ -3848,32 +3853,35 @@ const M = {
3848
3853
  updatePaneComponents() {
3849
3854
  this.panes.forEach((e) => {
3850
3855
  e.update && e.update({
3856
+ // Panes are indexed by Pane component uid, as they might be inserted at different index.
3851
3857
  [this.horizontal ? "height" : "width"]: `${this.indexedPanes[e.id].size}%`
3852
3858
  });
3853
3859
  });
3854
3860
  },
3855
3861
  bindEvents() {
3856
- document.addEventListener("mousemove", this.onMouseMove, { passive: !1 }), document.addEventListener("mouseup", this.onMouseUp), "ontouchstart" in window && (document.addEventListener("touchmove", this.onMouseMove, { passive: !1 }), document.addEventListener("touchend", this.onMouseUp));
3862
+ document.addEventListener("mousemove", this.onMouseMove, { passive: false }), document.addEventListener("mouseup", this.onMouseUp), "ontouchstart" in window && (document.addEventListener("touchmove", this.onMouseMove, { passive: false }), document.addEventListener("touchend", this.onMouseUp));
3857
3863
  },
3858
3864
  unbindEvents() {
3859
- document.removeEventListener("mousemove", this.onMouseMove, { passive: !1 }), document.removeEventListener("mouseup", this.onMouseUp), "ontouchstart" in window && (document.removeEventListener("touchmove", this.onMouseMove, { passive: !1 }), document.removeEventListener("touchend", this.onMouseUp));
3865
+ document.removeEventListener("mousemove", this.onMouseMove, { passive: false }), document.removeEventListener("mouseup", this.onMouseUp), "ontouchstart" in window && (document.removeEventListener("touchmove", this.onMouseMove, { passive: false }), document.removeEventListener("touchend", this.onMouseUp));
3860
3866
  },
3861
3867
  onMouseDown(e, i) {
3862
- this.bindEvents(), this.touch.mouseDown = !0, this.touch.activeSplitter = i;
3868
+ this.bindEvents(), this.touch.mouseDown = true, this.touch.activeSplitter = i;
3863
3869
  },
3864
3870
  onMouseMove(e) {
3865
- this.touch.mouseDown && (e.preventDefault(), this.touch.dragging = !0, this.calculatePanesSize(this.getCurrentMouseDrag(e)), this.$emit("resize", this.panes.map((i) => ({ min: i.min, max: i.max, size: i.size }))));
3871
+ this.touch.mouseDown && (e.preventDefault(), this.touch.dragging = true, this.calculatePanesSize(this.getCurrentMouseDrag(e)), this.$emit("resize", this.panes.map((i) => ({ min: i.min, max: i.max, size: i.size }))));
3866
3872
  },
3867
3873
  onMouseUp() {
3868
- this.touch.dragging && this.$emit("resized", this.panes.map((e) => ({ min: e.min, max: e.max, size: e.size }))), this.touch.mouseDown = !1, setTimeout(() => {
3869
- this.touch.dragging = !1, this.unbindEvents();
3874
+ this.touch.dragging && this.$emit("resized", this.panes.map((e) => ({ min: e.min, max: e.max, size: e.size }))), this.touch.mouseDown = false, setTimeout(() => {
3875
+ this.touch.dragging = false, this.unbindEvents();
3870
3876
  }, 100);
3871
3877
  },
3878
+ // If touch device, detect double tap manually (2 taps separated by less than 500ms).
3872
3879
  onSplitterClick(e, i) {
3873
3880
  "ontouchstart" in window && (e.preventDefault(), this.dblClickSplitter && (this.splitterTaps.splitter === i ? (clearTimeout(this.splitterTaps.timeoutId), this.splitterTaps.timeoutId = null, this.onSplitterDblClick(e, i), this.splitterTaps.splitter = null) : (this.splitterTaps.splitter = i, this.splitterTaps.timeoutId = setTimeout(() => {
3874
3881
  this.splitterTaps.splitter = null;
3875
3882
  }, 500)))), this.touch.dragging || this.$emit("splitter-click", this.panes[i]);
3876
3883
  },
3884
+ // On splitter dbl click or dbl tap maximize this pane.
3877
3885
  onSplitterDblClick(e, i) {
3878
3886
  let s = 0;
3879
3887
  this.panes = this.panes.map((n, t) => (n.size = t === i ? n.max : n.min, t !== i && (s += n.min), n)), this.panes[i].size -= s, this.$emit("pane-maximize", this.panes[i]), this.$emit("resized", this.panes.map((n) => ({ min: n.min, max: n.max, size: n.size })));
@@ -3881,6 +3889,7 @@ const M = {
3881
3889
  onPaneClick(e, i) {
3882
3890
  this.$emit("pane-click", this.indexedPanes[i]);
3883
3891
  },
3892
+ // Get the cursor position relative to the splitpane container.
3884
3893
  getCurrentMouseDrag(e) {
3885
3894
  const i = this.container.getBoundingClientRect(), { clientX: s, clientY: n } = "ontouchstart" in window && e.touches ? e.touches[0] : e;
3886
3895
  return {
@@ -3888,6 +3897,7 @@ const M = {
3888
3897
  y: n - i.top
3889
3898
  };
3890
3899
  },
3900
+ // Returns the drag percentage of the splitter relative to the container (ranging from 0 to 100%).
3891
3901
  getCurrentDragPercentage(e) {
3892
3902
  e = e[this.horizontal ? "y" : "x"];
3893
3903
  const i = this.container[this.horizontal ? "clientHeight" : "clientWidth"];
@@ -3910,8 +3920,7 @@ const M = {
3910
3920
  }
3911
3921
  if (this.pushOtherPanes) {
3912
3922
  const d = this.doPushOtherPanes(s, a);
3913
- if (!d)
3914
- return;
3923
+ if (!d) return;
3915
3924
  (({ sums: s, panesToResize: r } = d)), o = this.panes[r[0]] || null, h = this.panes[r[1]] || null;
3916
3925
  }
3917
3926
  o !== null && (o.size = Math.min(Math.max(a - s.prevPanesSize - s.prevReachedMinPanes, o.min), o.max)), h !== null && (h.size = Math.min(Math.max(100 - a - s.nextPanesSize - s.nextReachedMinPanes, h.min), h.max));
@@ -3920,11 +3929,11 @@ const M = {
3920
3929
  const s = this.touch.activeSplitter, n = [s, s + 1];
3921
3930
  return i < e.prevPanesSize + this.panes[n[0]].min && (n[0] = this.findPrevExpandedPane(s).index, e.prevReachedMinPanes = 0, n[0] < s && this.panes.forEach((t, a) => {
3922
3931
  a > n[0] && a <= s && (t.size = t.min, e.prevReachedMinPanes += t.min);
3923
- }), e.prevPanesSize = this.sumPrevPanesSize(n[0]), n[0] === void 0) ? (e.prevReachedMinPanes = 0, this.panes[0].size = this.panes[0].min, this.panes.forEach((t, a) => {
3932
+ }), e.prevPanesSize = this.sumPrevPanesSize(n[0]), n[0] === undefined) ? (e.prevReachedMinPanes = 0, this.panes[0].size = this.panes[0].min, this.panes.forEach((t, a) => {
3924
3933
  a > 0 && a <= s && (t.size = t.min, e.prevReachedMinPanes += t.min);
3925
3934
  }), this.panes[n[1]].size = 100 - e.prevReachedMinPanes - this.panes[0].min - e.prevPanesSize - e.nextPanesSize, null) : i > 100 - e.nextPanesSize - this.panes[n[1]].min && (n[1] = this.findNextExpandedPane(s).index, e.nextReachedMinPanes = 0, n[1] > s + 1 && this.panes.forEach((t, a) => {
3926
3935
  a > s && a < n[1] && (t.size = t.min, e.nextReachedMinPanes += t.min);
3927
- }), e.nextPanesSize = this.sumNextPanesSize(n[1] - 1), n[1] === void 0) ? (e.nextReachedMinPanes = 0, this.panes[this.panesCount - 1].size = this.panes[this.panesCount - 1].min, this.panes.forEach((t, a) => {
3936
+ }), e.nextPanesSize = this.sumNextPanesSize(n[1] - 1), n[1] === undefined) ? (e.nextReachedMinPanes = 0, this.panes[this.panesCount - 1].size = this.panes[this.panesCount - 1].min, this.panes.forEach((t, a) => {
3928
3937
  a < this.panesCount - 1 && a >= s + 1 && (t.size = t.min, e.nextReachedMinPanes += t.min);
3929
3938
  }), this.panes[n[0]].size = 100 - e.prevPanesSize - e.nextReachedMinPanes - this.panes[this.panesCount - 1].min - e.nextPanesSize, null) : { sums: e, panesToResize: n };
3930
3939
  },
@@ -3934,9 +3943,11 @@ const M = {
3934
3943
  sumNextPanesSize(e) {
3935
3944
  return this.panes.reduce((i, s, n) => i + (n > e + 1 ? s.size : 0), 0);
3936
3945
  },
3946
+ // Return the previous pane from siblings which has a size (width for vert or height for horz) of more than 0.
3937
3947
  findPrevExpandedPane(e) {
3938
3948
  return [...this.panes].reverse().find((s) => s.index < e && s.size > s.min) || {};
3939
3949
  },
3950
+ // Return the next pane from siblings which has a size (width for vert or height for horz) of more than 0.
3940
3951
  findNextExpandedPane(e) {
3941
3952
  return this.panes.find((s) => s.index > e + 1 && s.size > s.min) || {};
3942
3953
  },
@@ -3946,12 +3957,12 @@ const M = {
3946
3957
  !s && !n && (i.parentNode.removeChild(i), console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed."));
3947
3958
  });
3948
3959
  },
3949
- addSplitter(e, i, s = !1) {
3960
+ addSplitter(e, i, s = false) {
3950
3961
  const n = e - 1, t = document.createElement("div");
3951
3962
  t.classList.add("splitpanes__splitter"), s || (t.onmousedown = (a) => this.onMouseDown(a, n), typeof window < "u" && "ontouchstart" in window && (t.ontouchstart = (a) => this.onMouseDown(a, n)), t.onclick = (a) => this.onSplitterClick(a, n + 1)), this.dblClickSplitter && (t.ondblclick = (a) => this.onSplitterDblClick(a, n + 1)), i.parentNode.insertBefore(t, i);
3952
3963
  },
3953
3964
  removeSplitter(e) {
3954
- e.onmousedown = void 0, e.onclick = void 0, e.ondblclick = void 0, e.parentNode.removeChild(e);
3965
+ e.onmousedown = undefined, e.onclick = undefined, e.ondblclick = undefined, e.parentNode.removeChild(e);
3955
3966
  },
3956
3967
  redoSplitters() {
3957
3968
  const e = Array.from(this.container.children);
@@ -3960,9 +3971,10 @@ const M = {
3960
3971
  });
3961
3972
  let i = 0;
3962
3973
  e.forEach((s) => {
3963
- s.className.includes("splitpanes__pane") && (!i && this.firstSplitter ? this.addSplitter(i, s, !0) : i && this.addSplitter(i, s), i++);
3974
+ s.className.includes("splitpanes__pane") && (!i && this.firstSplitter ? this.addSplitter(i, s, true) : i && this.addSplitter(i, s), i++);
3964
3975
  });
3965
3976
  },
3977
+ // Called by Pane component on programmatic resize.
3966
3978
  requestUpdate({ target: e, ...i }) {
3967
3979
  const s = this.indexedPanes[e._.uid];
3968
3980
  Object.entries(i).forEach(([n, t]) => s[n] = t);
@@ -4021,6 +4033,57 @@ const M = {
4021
4033
  e && e.givenSize !== null && e.id === r.id || (r.size = Math.max(Math.min(s, r.max), r.min)), n -= r.size, r.size >= r.max && t.push(r.id), r.size <= r.min && a.push(r.id);
4022
4034
  }), n > 0.1 && this.readjustSizes(n, t, a));
4023
4035
  },
4036
+ /* recalculatePaneSizes ({ addedPane, removedPane } = {}) {
4037
+ let leftToAllocate = 100
4038
+ let equalSpaceToAllocate = leftToAllocate / this.panesCount
4039
+ let ungrowable = []
4040
+ let unshrinkable = []
4041
+
4042
+ // When adding a pane with no size, apply min-size if defined otherwise divide another pane
4043
+ // (next or prev) in 2.
4044
+ // if (addedPane && addedPane.size === null) {
4045
+ // if (addedPane.min) addedPane.size = addedPane.min
4046
+ // else {
4047
+ // const paneToDivide = this.panes[addedPane.index + 1] || this.panes[addedPane.index - 1]
4048
+ // if (paneToDivide) {
4049
+ // // @todo: Dividing that pane in 2 could be incorrect if becoming lower than its min size.
4050
+ // addedPane.size = paneToDivide.size / 2
4051
+ // paneToDivide.size /= 2
4052
+ // }
4053
+ // }
4054
+ // }
4055
+
4056
+ this.panes.forEach((pane, i) => {
4057
+ // Added pane - reduce the size of the next pane.
4058
+ if (addedPane && addedPane.index + 1 === i) {
4059
+ pane.size = Math.max(Math.min(100 - this.sumPrevPanesSize(i) - this.sumNextPanesSize(i + 1), pane.max), pane.min)
4060
+ // @todo: if could not allocate correctly, try to allocate in the next pane straight away,
4061
+ // then still do the second loop if not correct.
4062
+ }
4063
+
4064
+ // Removed pane - increase the size of the next pane.
4065
+ else if (removedPane && removedPane.index === i) {
4066
+ pane.size = Math.max(Math.min(100 - this.sumPrevPanesSize(i) - this.sumNextPanesSize(i + 1), pane.max), pane.min)
4067
+ // @todo: if could not allocate correctly, try to allocate in the next pane straight away,
4068
+ // then still do the second loop if not correct.
4069
+ }
4070
+
4071
+ // Initial load and on demand recalculation.
4072
+ else if (!addedPane && !removedPane && pane.size === null) {
4073
+ pane.size = Math.max(Math.min(equalSpaceToAllocate, pane.max), pane.min)
4074
+ }
4075
+
4076
+ leftToAllocate -= pane.size
4077
+
4078
+ if (pane.size >= pane.max) ungrowable.push(pane.id)
4079
+ if (pane.size <= pane.min) unshrinkable.push(pane.id)
4080
+ })
4081
+
4082
+ // Do one more loop to adjust sizes if still wrong.
4083
+ // > 0.1: Prevent maths rounding issues due to bytes.
4084
+ if (Math.abs(leftToAllocate) > 0.1) this.readjustSizes(leftToAllocate, ungrowable, unshrinkable)
4085
+ }, */
4086
+ // Second loop to adjust sizes now that we know more about the panes constraints.
4024
4087
  readjustSizes(e, i, s) {
4025
4088
  let n;
4026
4089
  e > 0 ? n = e / (this.panesCount - i.length) : n = e / (this.panesCount - s.length), this.panes.forEach((t, a) => {
@@ -4038,11 +4101,58 @@ const M = {
4038
4101
  this.ready && console.warn("Splitpanes: Could not resize panes correctly due to their constraints.");
4039
4102
  });
4040
4103
  }
4104
+ /* distributeEmptySpace () {
4105
+ let growablePanes = []
4106
+ let collapsedPanesCount = 0
4107
+ let growableAmount = 0 // Total of how much the current panes can grow to fill blank space.
4108
+ let spaceToDistribute = 100 - this.panes.reduce((sum, pane) => (sum += pane.size) && sum, 0)
4109
+ // Do a first loop to determine if we can distribute the new blank space between all the
4110
+ // expandedPanes, without expanding the collapsed ones.
4111
+ this.panes.forEach(pane => {
4112
+ if (pane.size < pane.max) growablePanes.push(pane)
4113
+
4114
+ if (!pane.size) collapsedPanesCount++
4115
+ else growableAmount += pane.max - pane.size
4116
+ })
4117
+
4118
+ // If the blank space to distribute is too great for the expanded panes, also expand collapsed ones.
4119
+ let expandCollapsedPanes = growableAmount < spaceToDistribute
4120
+
4121
+ // New space to distribute equally.
4122
+ let growablePanesCount = (growablePanes.length - (expandCollapsedPanes ? 0 : collapsedPanesCount))
4123
+ let equalSpaceToDistribute = spaceToDistribute / growablePanesCount
4124
+ // if (growablePanesCount === 1) equalSpace = 100 / this.panesCount
4125
+ let spaceLeftToDistribute = spaceToDistribute
4126
+
4127
+ // Now add the equalSpaceToDistribute to each pane size accordingly.
4128
+ growablePanes.forEach(pane => {
4129
+ if (pane.size < pane.max && (pane.size || (!pane.size && expandCollapsedPanes))) {
4130
+ const newSize = Math.min(pane.size + equalSpaceToDistribute, pane.max)
4131
+ let allocatedSpace = (newSize - pane.size)
4132
+ spaceLeftToDistribute -= allocatedSpace
4133
+ pane.size = newSize
4134
+ // If the equalSpaceToDistribute is not fully added to the current pane, distribute the remainder
4135
+ // to the next panes.
4136
+ // Also fix decimal issue due to bites - E.g. calculating 8.33 and getting 8.3299999999999
4137
+ if (equalSpaceToDistribute - allocatedSpace > 0.1) equalSpaceToDistribute = spaceLeftToDistribute / (--growablePanesCount)
4138
+ }
4139
+ })
4140
+
4141
+ /* Disabled otherwise will show up on hot reload.
4142
+ // if there is still space to allocate show warning message.
4143
+ if (this.panesCount && ~~spaceLeftToDistribute) {
4144
+ // eslint-disable-next-line no-console
4145
+ console.warn('Splitpanes: Could not distribute all the empty space between panes due to their constraints.')
4146
+ } *\/
4147
+
4148
+ this.$emit('resized', this.panes.map(pane => ({ min: pane.min, max: pane.max, size: pane.size })))
4149
+ } */
4041
4150
  },
4042
4151
  watch: {
4043
4152
  panes: {
4044
- deep: !0,
4045
- immediate: !1,
4153
+ // Every time a pane is updated, update the panes accordingly.
4154
+ deep: true,
4155
+ immediate: false,
4046
4156
  handler() {
4047
4157
  this.updatePaneComponents();
4048
4158
  }
@@ -4055,15 +4165,15 @@ const M = {
4055
4165
  },
4056
4166
  dblClickSplitter(e) {
4057
4167
  [...this.container.querySelectorAll(".splitpanes__splitter")].forEach((s, n) => {
4058
- s.ondblclick = e ? (t) => this.onSplitterDblClick(t, n) : void 0;
4168
+ s.ondblclick = e ? (t) => this.onSplitterDblClick(t, n) : undefined;
4059
4169
  });
4060
4170
  }
4061
4171
  },
4062
4172
  beforeUnmount() {
4063
- this.ready = !1;
4173
+ this.ready = false;
4064
4174
  },
4065
4175
  mounted() {
4066
- this.container = this.$refs.container, this.checkSplitpanesNodes(), this.redoSplitters(), this.resetPaneSizes(), this.$emit("ready"), this.ready = !0;
4176
+ this.container = this.$refs.container, this.checkSplitpanesNodes(), this.redoSplitters(), this.resetPaneSizes(), this.$emit("ready"), this.ready = true;
4067
4177
  },
4068
4178
  render() {
4069
4179
  return h(
@@ -4087,6 +4197,7 @@ const M = {
4087
4197
  s[n] = t;
4088
4198
  return s;
4089
4199
  }, x = {
4200
+ // eslint-disable-next-line vue/multi-word-component-names
4090
4201
  name: "pane",
4091
4202
  inject: ["requestUpdate", "onPaneAdd", "onPaneRemove", "onPaneClick"],
4092
4203
  props: {
@@ -4104,6 +4215,7 @@ const M = {
4104
4215
  this.onPaneRemove(this);
4105
4216
  },
4106
4217
  methods: {
4218
+ // Called from the splitpanes component.
4107
4219
  update(e) {
4108
4220
  this.style = e;
4109
4221
  }
@@ -1,4 +1,4 @@
1
- import { _ as _export_sfc, D as createElementBlock, C as openBlock } from './index-Clg7HLhF.js';
1
+ import { _ as _export_sfc, D as createElementBlock, C as openBlock } from './index-Dc1MXK-z.js';
2
2
 
3
3
  /* unplugin-vue-components disabled */const _sfc_main = {};
4
4
 
@@ -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-Clg7HLhF.js"></script>
20
- <link rel="stylesheet" crossorigin href="./assets/index-60_bCGDF.css">
19
+ <script type="module" crossorigin src="./assets/index-Dc1MXK-z.js"></script>
20
+ <link rel="stylesheet" crossorigin href="./assets/index-CfREljUb.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.5",
4
+ "version": "0.22.7",
5
5
  "repository": {
6
6
  "url": "https://github.com/YunYouJun/valaxy"
7
7
  },
@@ -28,27 +28,27 @@
28
28
  "cors": "^2.8.5",
29
29
  "http-proxy-middleware": "^3.0.3",
30
30
  "js-yaml": "^4.1.0",
31
- "pathe": "^1.1.2",
31
+ "pathe": "^2.0.2",
32
32
  "picocolors": "^1.1.1",
33
33
  "sirv": "^3.0.0",
34
- "vite-dev-rpc": "^0.1.7"
34
+ "vite-dev-rpc": "^1.0.7"
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.2",
39
+ "@intlify/unplugin-vue-i18n": "^6.0.3",
40
40
  "@primevue/themes": "^4.2.5",
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.2.5",
46
- "splitpanes": "^3.1.5",
47
- "typescript": "^5.7.2",
48
- "unbuild": "^3.0.1",
49
- "unplugin-vue-router": "^0.10.9",
50
- "vite": "^6.0.5",
51
- "vue-i18n": "^11.0.0",
46
+ "splitpanes": "^3.1.8",
47
+ "typescript": "^5.7.3",
48
+ "unbuild": "^3.3.1",
49
+ "unplugin-vue-router": "^0.11.1",
50
+ "vite": "^6.0.11",
51
+ "vue-i18n": "^11.0.1",
52
52
  "zod": "^3.24.1"
53
53
  },
54
54
  "scripts": {