vite-uni-dev-tool 0.0.41 → 0.0.43

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/README.md CHANGED
@@ -279,6 +279,14 @@ optimizeDeps: {
279
279
 
280
280
  ## 更新日志
281
281
 
282
+ ### 0.0.43
283
+
284
+ - JsonPretty 支持复制全部
285
+
286
+ ### 0.0.42
287
+
288
+ - 修复请求头过滤
289
+
282
290
  ### 0.0.41
283
291
 
284
292
  - 微信小程序重新启动
package/dist/core.js CHANGED
@@ -6,7 +6,7 @@ import { EventBus as d } from "./devEventBus/index.js";
6
6
  import { getPlatform as g } from "./utils/utils.js";
7
7
  import "./utils/index.js";
8
8
  import { sleep as S } from "./utils/date.js";
9
- const a = "0.0.41", u = "2026/1/3 21:09:34", v = "https://gitee.com/cloud_l/vite-uni-dev-tool", D = {
9
+ const a = "0.0.43", u = "2026/1/7 16:23:07", v = "https://gitee.com/cloud_l/vite-uni-dev-tool", D = {
10
10
  setStorage: uni == null ? void 0 : uni.setStorage,
11
11
  setStorageSync: uni == null ? void 0 : uni.setStorageSync,
12
12
  clearStorage: uni == null ? void 0 : uni.clearStorage,
@@ -3,7 +3,7 @@ import "../utils/index.js";
3
3
  import { transformValueToView as j, transformValueToShortString as P } from "../utils/language.js";
4
4
  import { getCurrentPagePath as k } from "../utils/page.js";
5
5
  import { getCurrentDate as I } from "../utils/date.js";
6
- import { parseValue as q, pick as W } from "../utils/object.js";
6
+ import { parseValue as q, omit as W } from "../utils/object.js";
7
7
  import { escapeHTML as B } from "../utils/string.js";
8
8
  class X {
9
9
  constructor(e) {
@@ -1,62 +1,63 @@
1
- import { getValueType as r, isArray as o, isBoolean as i, isFunction as a, isNil as s, isNull as l, isNumber as p, isObject as n, isString as u, isSymbol as c, isUndefined as f, transformValueToShortString as m, transformValueToView as x } from "./language.js";
2
- import { calculateObjectSize as h, formatStorageSize as S, getValueByPath as d, parseValue as T, pick as V, serializeCircular as y, setValueByPath as b } from "./object.js";
3
- import { debounce as A, throttle as F } from "./function.js";
4
- import { getFilePath as P, saveTextFileH5 as v, saveTextFileMicro as B, saveTxtFileApp as C } from "./file.js";
5
- import { getCurrentPagePath as I } from "./page.js";
6
- import { formatDate as U, formatDuration as z, getCurrentDate as H, sleep as N } from "./date.js";
7
- import { escapeHTML as W, extractRowAndCol as j, extractUrl as w, hasUrl as X, hightLight as q, isMockWX as R, parseStock as E, splitStrByUrl as G, uniqueId as J } from "./string.js";
8
- import { getDeviceMac as Q, getLanIp as Y, getMicroAppIp as Z, getWifiIp as _ } from "./ip.js";
9
- import { isAndroid as ee, isH5 as te, isWX as re } from "./platform.js";
10
- import { chunk as ie } from "./array.js";
11
- import { openOutLink as se } from "./openLink.js";
1
+ import { getValueType as r, isArray as o, isBoolean as i, isFunction as a, isNil as s, isNull as l, isNumber as p, isObject as n, isString as m, isSymbol as u, isUndefined as c, transformValueToShortString as f, transformValueToView as x } from "./language.js";
2
+ import { calculateObjectSize as h, formatStorageSize as S, getValueByPath as d, omit as T, parseValue as V, pick as y, serializeCircular as b, setValueByPath as k } from "./object.js";
3
+ import { debounce as F, throttle as M } from "./function.js";
4
+ import { getFilePath as v, saveTextFileH5 as B, saveTextFileMicro as C, saveTxtFileApp as D } from "./file.js";
5
+ import { getCurrentPagePath as L } from "./page.js";
6
+ import { formatDate as z, formatDuration as H, getCurrentDate as N, sleep as O } from "./date.js";
7
+ import { escapeHTML as j, extractRowAndCol as w, extractUrl as X, hasUrl as q, hightLight as R, isMockWX as E, parseStock as G, splitStrByUrl as J, uniqueId as K } from "./string.js";
8
+ import { getDeviceMac as Y, getLanIp as Z, getMicroAppIp as _, getWifiIp as $ } from "./ip.js";
9
+ import { isAndroid as te, isH5 as re, isWX as oe } from "./platform.js";
10
+ import { chunk as ae } from "./array.js";
11
+ import { openOutLink as le } from "./openLink.js";
12
12
  export {
13
13
  h as calculateObjectSize,
14
- ie as chunk,
15
- A as debounce,
16
- W as escapeHTML,
17
- j as extractRowAndCol,
18
- w as extractUrl,
19
- U as formatDate,
20
- z as formatDuration,
14
+ ae as chunk,
15
+ F as debounce,
16
+ j as escapeHTML,
17
+ w as extractRowAndCol,
18
+ X as extractUrl,
19
+ z as formatDate,
20
+ H as formatDuration,
21
21
  S as formatStorageSize,
22
- H as getCurrentDate,
23
- I as getCurrentPagePath,
24
- Q as getDeviceMac,
25
- P as getFilePath,
26
- Y as getLanIp,
27
- Z as getMicroAppIp,
22
+ N as getCurrentDate,
23
+ L as getCurrentPagePath,
24
+ Y as getDeviceMac,
25
+ v as getFilePath,
26
+ Z as getLanIp,
27
+ _ as getMicroAppIp,
28
28
  d as getValueByPath,
29
29
  r as getValueType,
30
- _ as getWifiIp,
31
- X as hasUrl,
32
- q as hightLight,
33
- ee as isAndroid,
30
+ $ as getWifiIp,
31
+ q as hasUrl,
32
+ R as hightLight,
33
+ te as isAndroid,
34
34
  o as isArray,
35
35
  i as isBoolean,
36
36
  a as isFunction,
37
- te as isH5,
38
- R as isMockWX,
37
+ re as isH5,
38
+ E as isMockWX,
39
39
  s as isNil,
40
40
  l as isNull,
41
41
  p as isNumber,
42
42
  n as isObject,
43
- u as isString,
44
- c as isSymbol,
45
- f as isUndefined,
46
- re as isWX,
47
- se as openOutLink,
48
- E as parseStock,
49
- T as parseValue,
50
- V as pick,
51
- v as saveTextFileH5,
52
- B as saveTextFileMicro,
53
- C as saveTxtFileApp,
54
- y as serializeCircular,
55
- b as setValueByPath,
56
- N as sleep,
57
- G as splitStrByUrl,
58
- F as throttle,
59
- m as transformValueToShortString,
43
+ m as isString,
44
+ u as isSymbol,
45
+ c as isUndefined,
46
+ oe as isWX,
47
+ T as omit,
48
+ le as openOutLink,
49
+ G as parseStock,
50
+ V as parseValue,
51
+ y as pick,
52
+ B as saveTextFileH5,
53
+ C as saveTextFileMicro,
54
+ D as saveTxtFileApp,
55
+ b as serializeCircular,
56
+ k as setValueByPath,
57
+ O as sleep,
58
+ J as splitStrByUrl,
59
+ M as throttle,
60
+ f as transformValueToShortString,
60
61
  x as transformValueToView,
61
- J as uniqueId
62
+ K as uniqueId
62
63
  };
@@ -52,5 +52,12 @@ export declare function parseValue(value: any, deep?: number): any;
52
52
  * @returns 包含指定属性的新对象
53
53
  */
54
54
  export declare function pick<T extends Record<string, any>, K extends keyof T>(obj: T, keys: K[]): Pick<T, K>;
55
+ /**
56
+ * 从对象中排除指定的属性,创建一个不包含这些属性的新对象
57
+ * @param obj 源对象
58
+ * @param keys 要排除的属性名数组
59
+ * @returns 不包含指定属性的新对象
60
+ */
61
+ export declare function omit<T extends Record<string, any>, K extends keyof T>(obj: T, keys: K[]): Omit<T, K>;
55
62
  export {};
56
63
  //# sourceMappingURL=object.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"object.d.ts","sourceRoot":"","sources":["../../dev/utils/object.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,QAgChE;AAED,wBAAgB,cAAc,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,GAAG,OAoBxE;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,GAAG,GAAG,MAAM,CAkEpD;AAED;;;;;GAKG;AACH,UAAU,oBAAoB;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,MAAM,EACb,OAAO,GAAE,oBAAyB,GACjC,MAAM,CAqBR;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAC/B,GAAG,EAAE,GAAG,EACR,OAAO,GAAE;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,OAAO,CAAC,GAAG,EAAE,IAAI,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E,IAAI,GAAE,MAAU,OAwDtD;AAED;;;;;GAKG;AACH,wBAAgB,IAAI,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,EACnE,GAAG,EAAE,CAAC,EACN,IAAI,EAAE,CAAC,EAAE,GACR,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAcZ;AAED;;;;;GAKG;AACH,wBAAgB,IAAI,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,EACnE,GAAG,EAAE,CAAC,EACN,IAAI,EAAE,CAAC,EAAE,GACR,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAYZ"}
@@ -1,4 +1,4 @@
1
- import { isString as g, isBoolean as y, isFunction as m, isNil as B, isObject as p } from "./language.js";
1
+ import { isString as g, isBoolean as y, isFunction as m, isNil as B, isObject as l } from "./language.js";
2
2
  function h(t, i, e) {
3
3
  if (t == null || typeof i != "string")
4
4
  return;
@@ -29,7 +29,7 @@ function x(t, i, e) {
29
29
  }
30
30
  return r !== void 0 ? r : e;
31
31
  }
32
- function a(t) {
32
+ function o(t) {
33
33
  var n;
34
34
  if (t = $(t), t == null)
35
35
  return 0;
@@ -43,18 +43,18 @@ function a(t) {
43
43
  if (i === "symbol" || t instanceof Date)
44
44
  return 8;
45
45
  if (t instanceof RegExp)
46
- return a(t.source) + a(t.flags);
46
+ return o(t.source) + o(t.flags);
47
47
  let e = 0;
48
48
  if (e += 24, Array.isArray(t)) {
49
49
  e += 4;
50
50
  for (const r of t)
51
- e += 8, e += a(r);
51
+ e += 8, e += o(r);
52
52
  } else
53
53
  for (const r in t)
54
- (n = t == null ? void 0 : t.hasOwnProperty) != null && n.call(t, r) && (e += r.length * 2, e += 8, e += a(t[r]));
54
+ (n = t == null ? void 0 : t.hasOwnProperty) != null && n.call(t, r) && (e += r.length * 2, e += 8, e += o(t[r]));
55
55
  return e;
56
56
  }
57
- function S(t, i = {}) {
57
+ function k(t, i = {}) {
58
58
  const { precision: e = 2, useBinary: n = !0, includeUnit: r = !0 } = i;
59
59
  if (t === 0)
60
60
  return r ? "0 Bytes" : "0";
@@ -65,15 +65,15 @@ function S(t, i = {}) {
65
65
  const u = t.toFixed(e);
66
66
  return r ? `${u} ${f[c]}` : u;
67
67
  }
68
- function l(t, i = {
68
+ function p(t, i = {
69
69
  maxDepth: 10,
70
70
  visited: /* @__PURE__ */ new WeakMap()
71
71
  }) {
72
72
  const { maxDepth: e, visited: n } = i;
73
73
  return t === null || typeof t != "object" ? JSON.stringify(t) : n.has(t) ? "[Circular]" : (n.set(t, !0), t instanceof Date ? `"${t.toISOString()}"` : t instanceof RegExp ? `/^${t.source}$/${t.flags}` : e <= 0 ? typeof t == "object" ? "{}" : "[]" : Array.isArray(t) ? `[${t.map(
74
- (c) => l(c, { maxDepth: e - 1, visited: n })
74
+ (c) => p(c, { maxDepth: e - 1, visited: n })
75
75
  ).join(", ")}]` : `{${Object.keys(t).map((s) => {
76
- const c = l(t[s], {
76
+ const c = p(t[s], {
77
77
  maxDepth: e - 1,
78
78
  visited: n
79
79
  });
@@ -91,7 +91,7 @@ function $(t, i = 6) {
91
91
  return "f(...) { ... }";
92
92
  if (B(r))
93
93
  return `${r}`;
94
- if (!p(r))
94
+ if (!l(r))
95
95
  return r;
96
96
  if (f <= 0)
97
97
  return "[MaxDepth]";
@@ -99,29 +99,38 @@ function $(t, i = 6) {
99
99
  return `[Circular: ${e.get(r).join(".")}]`;
100
100
  if (e.set(r, [...s]), Array.isArray(r))
101
101
  return r.map(
102
- (u, o) => n(u, f - 1, [...s, String(o)])
102
+ (u, a) => n(u, f - 1, [...s, String(a)])
103
103
  );
104
104
  const c = {};
105
- for (const [u, o] of Object.entries(r))
106
- c[u] = n(o, f - 1, [...s, u]);
105
+ for (const [u, a] of Object.entries(r))
106
+ c[u] = n(a, f - 1, [...s, u]);
107
107
  return c;
108
108
  }
109
109
  return n(t, i);
110
110
  }
111
- function k(t, i) {
112
- if (!p(t))
111
+ function S(t, i) {
112
+ if (!l(t))
113
113
  return {};
114
114
  const e = {};
115
115
  for (const n of i)
116
116
  n in t && (e[n] = t[n]);
117
117
  return e;
118
118
  }
119
+ function z(t, i) {
120
+ if (!l(t))
121
+ return {};
122
+ const e = { ...t };
123
+ for (const n of i)
124
+ delete e[n];
125
+ return e;
126
+ }
119
127
  export {
120
- a as calculateObjectSize,
121
- S as formatStorageSize,
128
+ o as calculateObjectSize,
129
+ k as formatStorageSize,
122
130
  x as getValueByPath,
131
+ z as omit,
123
132
  $ as parseValue,
124
- k as pick,
125
- l as serializeCircular,
133
+ S as pick,
134
+ p as serializeCircular,
126
135
  h as setValueByPath
127
136
  };
@@ -108,6 +108,10 @@
108
108
  "
109
109
  />
110
110
  </template>
111
+
112
+ <view v-if="showCopyAll" class="json-pretty-tree-copy" @click="onCopyAll">
113
+ Copy All
114
+ </view>
111
115
  </view>
112
116
  </template>
113
117
 
@@ -167,6 +171,7 @@ const props = withDefaults(defineProps<Tree>(), {
167
171
  theme: 'light',
168
172
  showKeyValueSpace: true,
169
173
  editableTrigger: 'click',
174
+ showCopyAll: true,
170
175
  });
171
176
  const emits = defineEmits<Emits>();
172
177
 
@@ -375,6 +380,24 @@ const handleValueChange = (value: unknown, path: string) => {
375
380
  emits('update:data', newData);
376
381
  };
377
382
 
383
+ function onCopyAll() {
384
+ uni.setClipboardData({
385
+ data: JSON.stringify(props.data, null, 2),
386
+ success() {
387
+ uni.showToast({
388
+ title: '复制成功',
389
+ icon: 'none',
390
+ });
391
+ },
392
+ fail() {
393
+ uni.showToast({
394
+ title: '复制失败',
395
+ icon: 'none',
396
+ });
397
+ },
398
+ });
399
+ }
400
+
378
401
  // 监听和副作用
379
402
  watchEffect(() => {
380
403
  if (propsErrorMessage.value) {
@@ -478,4 +501,15 @@ onUnmounted(() => {
478
501
  --json-pretty-color-nil: #bfcbd9;
479
502
  --json-pretty-color-undefined: var(--json-pretty-color-nil);
480
503
  }
504
+
505
+ .json-pretty-tree-copy {
506
+ padding: 0 12px;
507
+ position: absolute;
508
+ top: 0;
509
+ right: 0;
510
+ font-size: 10px;
511
+ line-height: 20px;
512
+ border-radius: 4px;
513
+ background-color: var(--json-pretty-highlight-bg-color);
514
+ }
481
515
  </style>
@@ -74,6 +74,7 @@ export type Tree = Partial<TreeNodeProps> & Partial<{
74
74
  pathCollapsible: (node: NodeDataType) => boolean;
75
75
  /** 超过行数将会自动启用虚拟列表 */
76
76
  autoVirtualRow: number;
77
+ showCopyAll: boolean;
77
78
  } & TreeRequired>;
78
79
  export interface ScrollEvent {
79
80
  detail: {
@@ -1 +1 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../dev/v3/JsonPretty/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;AAEzC,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,EAAE,GAAG,CAAC;IACV,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,OAAO,CAAC;IACpB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,aAAa,EAAE,GAAG,CAAC;IACnB,eAAe,EAAE,GAAG,CAAC;CACtB,CAAC;AACF,MAAM,WAAW,YAAa,SAAQ,qBAAqB;IACzD,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,kBAAkB;IACjC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EACA,SAAS,GACT,aAAa,GACb,WAAW,GACX,iBAAiB,GACjB,YAAY,GACZ,UAAU,GACV,gBAAgB,CAAC;CACtB;AAED,MAAM,MAAM,YAAY,GACpB,MAAM,GACN,MAAM,GACN,OAAO,GACP,OAAO,EAAE,GACT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eProps> &
106
106
  pathCollapsible: (node: NodeDataType) => boolean;
107
107
  /** 超过行数将会自动启用虚拟列表 */
108
108
  autoVirtualRow: number;
109
+ showCopyAll: boolean;
109
110
  } & TreeRequired
110
111
  >;
111
112
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-uni-dev-tool",
3
- "version": "0.0.41",
3
+ "version": "0.0.43",
4
4
  "description": "vite-uni-dev-tool, debug, uni-app, 一处编写,到处调试",
5
5
  "keywords": [
6
6
  "vite",