@valaxyjs/devtools 0.23.0 → 0.23.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { _ as _export_sfc, c as createElementBlock, o as openBlock } from './index-CI8seTsP.js';
1
+ import { _ as _export_sfc, c as createElementBlock, o as openBlock } from './index-BdIkTsGx.js';
2
2
 
3
3
  /* unplugin-vue-components disabled */const _sfc_main = { };
4
4
 
@@ -1,4 +1,4 @@
1
- import { _ as _export_sfc, c as createElementBlock, o as openBlock } from './index-CI8seTsP.js';
1
+ import { _ as _export_sfc, c as createElementBlock, o as openBlock } from './index-BdIkTsGx.js';
2
2
 
3
3
  /* unplugin-vue-components disabled */const _sfc_main = { };
4
4
 
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-CXq-atkD.js","./splitpanes.es-J9nnc436.js","./index-DKnSvpEK.css","./migration-BC8gxe4P.js"])))=>i.map(i=>d[i]);
2
- true&&(function polyfill() {
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-CsPJs7Eh.js","./splitpanes.es-D2L3Pnei.js","./index-DKnSvpEK.css","./migration-BGdmmslF.js"])))=>i.map(i=>d[i]);
2
+ true &&(function polyfill() {
3
3
  const relList = document.createElement("link").relList;
4
4
  if (relList && relList.supports && relList.supports("modulepreload")) {
5
5
  return;
@@ -11692,7 +11692,7 @@ function useRoute(_name) {
11692
11692
 
11693
11693
  const scriptRel = 'modulepreload';const assetsURL = function(dep, importerUrl) { return new URL(dep, importerUrl).href };const seen = {};const __vitePreload = function preload(baseModule, deps, importerUrl) {
11694
11694
  let promise = Promise.resolve();
11695
- if (true && deps && deps.length > 0) {
11695
+ if (true && deps && deps.length > 0) {
11696
11696
  let allSettled2 = function(promises) {
11697
11697
  return Promise.all(
11698
11698
  promises.map(
@@ -11773,31 +11773,31 @@ const routes = [
11773
11773
  {
11774
11774
  path: "/",
11775
11775
  name: "/",
11776
- component: () => __vitePreload(() => import('./index-CXq-atkD.js'),true?__vite__mapDeps([0,1,2]):void 0,import.meta.url)
11776
+ component: () => __vitePreload(() => import('./index-CsPJs7Eh.js'),true ?__vite__mapDeps([0,1,2]):void 0,import.meta.url)
11777
11777
  /* no children */
11778
11778
  },
11779
11779
  {
11780
11780
  path: "/about",
11781
11781
  name: "/about",
11782
- component: () => __vitePreload(() => import('./about-ChiNluYe.js'),true?[]:void 0,import.meta.url)
11782
+ component: () => __vitePreload(() => import('./about-2IeCGvZh.js'),true ?[]:void 0,import.meta.url)
11783
11783
  /* no children */
11784
11784
  },
11785
11785
  {
11786
11786
  path: "/categories",
11787
11787
  name: "/categories",
11788
- component: () => __vitePreload(() => import('./categories-Cp-4NT4j.js'),true?[]:void 0,import.meta.url)
11788
+ component: () => __vitePreload(() => import('./categories-DSPVH7DO.js'),true ?[]:void 0,import.meta.url)
11789
11789
  /* no children */
11790
11790
  },
11791
11791
  {
11792
11792
  path: "/migration",
11793
11793
  name: "/migration",
11794
- component: () => __vitePreload(() => import('./migration-BC8gxe4P.js'),true?__vite__mapDeps([3,1]):void 0,import.meta.url)
11794
+ component: () => __vitePreload(() => import('./migration-BGdmmslF.js'),true ?__vite__mapDeps([3,1]):void 0,import.meta.url)
11795
11795
  /* no children */
11796
11796
  },
11797
11797
  {
11798
11798
  path: "/tags",
11799
11799
  name: "/tags",
11800
- component: () => __vitePreload(() => import('./tags-CvsDmcsv.js'),true?[]:void 0,import.meta.url)
11800
+ component: () => __vitePreload(() => import('./tags-BaE6PzFa.js'),true ?[]:void 0,import.meta.url)
11801
11801
  /* no children */
11802
11802
  }
11803
11803
  ];
@@ -16730,7 +16730,7 @@ const i18n = createI18n({
16730
16730
  messages: {}
16731
16731
  });
16732
16732
  const localesMap = Object.fromEntries(
16733
- Object.entries(/* #__PURE__ */ Object.assign({"../locales/en.yml": () => __vitePreload(() => import('./en-Crh6PWFl.js'),true?[]:void 0,import.meta.url),"../locales/zh-CN.yml": () => __vitePreload(() => import('./zh-CN-DRUGIcOM.js'),true?[]:void 0,import.meta.url)})).map(([path, loadLocale]) => [path.match(/([\w-]*)\.yml$/)?.[1], loadLocale])
16733
+ Object.entries(/* #__PURE__ */ Object.assign({"../locales/en.yml": () => __vitePreload(() => import('./en-Crh6PWFl.js'),true ?[]:void 0,import.meta.url),"../locales/zh-CN.yml": () => __vitePreload(() => import('./zh-CN-DRUGIcOM.js'),true ?[]:void 0,import.meta.url)})).map(([path, loadLocale]) => [path.match(/([\w-]*)\.yml$/)?.[1], loadLocale])
16734
16734
  );
16735
16735
  const availableLocales = Object.keys(localesMap);
16736
16736
  const loadedLanguages = [];
@@ -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-J9nnc436.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-CI8seTsP.js';
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-D2L3Pnei.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-BdIkTsGx.js';
3
3
 
4
4
  // src/zindex/index.ts
5
5
  function handler() {
@@ -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-CI8seTsP.js';
2
- import { P as Pe, b as script, g as ge, d as axios } from './splitpanes.es-J9nnc436.js';
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-BdIkTsGx.js';
2
+ import { P as Pe, b as script, g as ge, d as axios } from './splitpanes.es-D2L3Pnei.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-CI8seTsP.js';
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-BdIkTsGx.js';
2
2
 
3
3
  // src/classnames/index.ts
4
4
  function cn(...args) {
@@ -1109,6 +1109,7 @@ function bind(fn, thisArg) {
1109
1109
 
1110
1110
  const {toString} = Object.prototype;
1111
1111
  const {getPrototypeOf} = Object;
1112
+ const {iterator, toStringTag} = Symbol;
1112
1113
 
1113
1114
  const kindOf = (cache => thing => {
1114
1115
  const str = toString.call(thing);
@@ -1235,7 +1236,7 @@ const isPlainObject = (val) => {
1235
1236
  }
1236
1237
 
1237
1238
  const prototype = getPrototypeOf(val);
1238
- return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in val) && !(Symbol.iterator in val);
1239
+ return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(toStringTag in val) && !(iterator in val);
1239
1240
  };
1240
1241
 
1241
1242
  /**
@@ -1586,13 +1587,13 @@ const isTypedArray = (TypedArray => {
1586
1587
  * @returns {void}
1587
1588
  */
1588
1589
  const forEachEntry = (obj, fn) => {
1589
- const generator = obj && obj[Symbol.iterator];
1590
+ const generator = obj && obj[iterator];
1590
1591
 
1591
- const iterator = generator.call(obj);
1592
+ const _iterator = generator.call(obj);
1592
1593
 
1593
1594
  let result;
1594
1595
 
1595
- while ((result = iterator.next()) && !result.done) {
1596
+ while ((result = _iterator.next()) && !result.done) {
1596
1597
  const pair = result.value;
1597
1598
  fn.call(obj, pair[0], pair[1]);
1598
1599
  }
@@ -1713,7 +1714,7 @@ const toFiniteNumber = (value, defaultValue) => {
1713
1714
  * @returns {boolean}
1714
1715
  */
1715
1716
  function isSpecCompliantForm(thing) {
1716
- return !!(thing && isFunction(thing.append) && thing[Symbol.toStringTag] === 'FormData' && thing[Symbol.iterator]);
1717
+ return !!(thing && isFunction(thing.append) && thing[toStringTag] === 'FormData' && thing[iterator]);
1717
1718
  }
1718
1719
 
1719
1720
  const toJSONObject = (obj) => {
@@ -1782,6 +1783,10 @@ const asap = typeof queueMicrotask !== 'undefined' ?
1782
1783
 
1783
1784
  // *********************
1784
1785
 
1786
+
1787
+ const isIterable = (thing) => thing != null && isFunction(thing[iterator]);
1788
+
1789
+
1785
1790
  const utils$1 = {
1786
1791
  isArray,
1787
1792
  isArrayBuffer,
@@ -1837,7 +1842,8 @@ const utils$1 = {
1837
1842
  isAsyncFn,
1838
1843
  isThenable,
1839
1844
  setImmediate: _setImmediate,
1840
- asap
1845
+ asap,
1846
+ isIterable
1841
1847
  };
1842
1848
 
1843
1849
  /* Injected with object hook! */
@@ -2854,10 +2860,18 @@ let AxiosHeaders$1 = class AxiosHeaders {
2854
2860
  setHeaders(header, valueOrRewrite);
2855
2861
  } else if(utils$1.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
2856
2862
  setHeaders(parseHeaders(header), valueOrRewrite);
2857
- } else if (utils$1.isHeaders(header)) {
2858
- for (const [key, value] of header.entries()) {
2859
- setHeader(value, key, rewrite);
2863
+ } else if (utils$1.isObject(header) && utils$1.isIterable(header)) {
2864
+ let obj = {}, dest, key;
2865
+ for (const entry of header) {
2866
+ if (!utils$1.isArray(entry)) {
2867
+ throw TypeError('Object iterator must return a key-value pair');
2868
+ }
2869
+
2870
+ obj[key = entry[0]] = (dest = obj[key]) ?
2871
+ (utils$1.isArray(dest) ? [...dest, entry[1]] : [dest, entry[1]]) : entry[1];
2860
2872
  }
2873
+
2874
+ setHeaders(obj, valueOrRewrite);
2861
2875
  } else {
2862
2876
  header != null && setHeader(valueOrRewrite, header, rewrite);
2863
2877
  }
@@ -2999,6 +3013,10 @@ let AxiosHeaders$1 = class AxiosHeaders {
2999
3013
  return Object.entries(this.toJSON()).map(([header, value]) => header + ': ' + value).join('\n');
3000
3014
  }
3001
3015
 
3016
+ getSetCookie() {
3017
+ return this.get("set-cookie") || [];
3018
+ }
3019
+
3002
3020
  get [Symbol.toStringTag]() {
3003
3021
  return 'AxiosHeaders';
3004
3022
  }
@@ -4074,7 +4092,7 @@ const fetchAdapter = isFetchSupported && (async (config) => {
4074
4092
  } catch (err) {
4075
4093
  unsubscribe && unsubscribe();
4076
4094
 
4077
- if (err && err.name === 'TypeError' && /fetch/i.test(err.message)) {
4095
+ if (err && err.name === 'TypeError' && /Load failed|fetch/i.test(err.message)) {
4078
4096
  throw Object.assign(
4079
4097
  new AxiosError$1('Network Error', AxiosError$1.ERR_NETWORK, config, request),
4080
4098
  {
@@ -4242,7 +4260,7 @@ function dispatchRequest(config) {
4242
4260
 
4243
4261
  /* Injected with object hook! */
4244
4262
 
4245
- const VERSION$1 = "1.8.4";
4263
+ const VERSION$1 = "1.9.0";
4246
4264
  /* Injected with object hook! */
4247
4265
 
4248
4266
  const validators$1 = {};
@@ -4353,7 +4371,7 @@ const validators = validator.validators;
4353
4371
  */
4354
4372
  let Axios$1 = class Axios {
4355
4373
  constructor(instanceConfig) {
4356
- this.defaults = instanceConfig;
4374
+ this.defaults = instanceConfig || {};
4357
4375
  this.interceptors = {
4358
4376
  request: new InterceptorManager(),
4359
4377
  response: new InterceptorManager()
@@ -1,4 +1,4 @@
1
- import { _ as _export_sfc, c as createElementBlock, o as openBlock } from './index-CI8seTsP.js';
1
+ import { _ as _export_sfc, c as createElementBlock, o as openBlock } from './index-BdIkTsGx.js';
2
2
 
3
3
  /* unplugin-vue-components disabled */const _sfc_main = { };
4
4
 
@@ -16,7 +16,7 @@
16
16
  document.documentElement.classList.toggle('dark', true)
17
17
  })()
18
18
  </script>
19
- <script type="module" crossorigin src="./assets/index-CI8seTsP.js"></script>
19
+ <script type="module" crossorigin src="./assets/index-BdIkTsGx.js"></script>
20
20
  <link rel="stylesheet" crossorigin href="./assets/index-Bu5CF1lM.css">
21
21
  </head>
22
22
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@valaxyjs/devtools",
3
3
  "type": "module",
4
- "version": "0.23.0",
4
+ "version": "0.23.2",
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.4",
26
+ "axios": "^1.9.0",
27
27
  "body-parser": "^2.2.0",
28
28
  "cors": "^2.8.5",
29
29
  "http-proxy-middleware": "^3.0.5",
@@ -35,7 +35,7 @@
35
35
  "devDependencies": {
36
36
  "@advjs/gui": "0.0.7-beta.7",
37
37
  "@iconify-json/ri": "^1.2.5",
38
- "@intlify/unplugin-vue-i18n": "^6.0.5",
38
+ "@intlify/unplugin-vue-i18n": "^6.0.8",
39
39
  "@primevue/themes": "^4.3.3",
40
40
  "@types/body-parser": "^1.19.5",
41
41
  "@types/splitpanes": "^2.2.6",
@@ -46,7 +46,7 @@
46
46
  "typescript": "^5.8.3",
47
47
  "unbuild": "^3.5.0",
48
48
  "unplugin-vue-router": "^0.12.0",
49
- "vite": "^6.3.1",
49
+ "vite": "^6.3.3",
50
50
  "vue-i18n": "^11.1.3",
51
51
  "zod": "^3.24.3"
52
52
  },