@zhin.js/console 1.0.12 → 1.0.14
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/CHANGELOG.md +18 -0
- package/README.md +144 -1
- package/client/src/pages/dashboard-plugin-detail.tsx +33 -5
- package/dist/client.js +1 -9
- package/dist/index.js +5 -13
- package/dist/lucide-react.js +0 -9294
- package/dist/radix-ui-themes.js +272 -288
- package/dist/radix-ui.js +337 -348
- package/dist/react-dom-client.js +22 -76
- package/dist/react-dom.js +1 -10
- package/dist/react-jsx-dev-runtime.js +1 -10
- package/dist/react-jsx-runtime.js +1 -10
- package/dist/react-router.js +5517 -4507
- package/dist/react.js +1 -10
- package/dist/style.css +2 -2
- package/lib/bin.d.ts +0 -2
- package/lib/bin.js +101 -15
- package/lib/build.d.ts +4 -2
- package/lib/build.js +83 -83
- package/lib/dev.d.ts +6 -4
- package/lib/dev.js +80 -69
- package/lib/index.d.ts +23 -10
- package/lib/index.js +405 -147
- package/lib/websocket.d.ts +10 -5
- package/lib/websocket.js +139 -78
- package/package.json +25 -21
- package/lib/bin.d.ts.map +0 -1
- package/lib/bin.js.map +0 -1
- package/lib/build.d.ts.map +0 -1
- package/lib/build.js.map +0 -1
- package/lib/dev.d.ts.map +0 -1
- package/lib/dev.js.map +0 -1
- package/lib/index.d.ts.map +0 -1
- package/lib/index.js.map +0 -1
- package/lib/websocket.d.ts.map +0 -1
- package/lib/websocket.js.map +0 -1
package/dist/react-dom-client.js
CHANGED
|
@@ -4,15 +4,6 @@ function Xh(o) {
|
|
|
4
4
|
return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
|
|
5
5
|
}
|
|
6
6
|
var ai = { exports: {} }, ie = {}, ti = { exports: {} }, ui = {};
|
|
7
|
-
/**
|
|
8
|
-
* @license React
|
|
9
|
-
* scheduler.production.js
|
|
10
|
-
*
|
|
11
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
12
|
-
*
|
|
13
|
-
* This source code is licensed under the MIT license found in the
|
|
14
|
-
* LICENSE file in the root directory of this source tree.
|
|
15
|
-
*/
|
|
16
7
|
var ny;
|
|
17
8
|
function Gh() {
|
|
18
9
|
return ny || (ny = 1, (function(o) {
|
|
@@ -237,15 +228,6 @@ var fy;
|
|
|
237
228
|
function Ch() {
|
|
238
229
|
return fy || (fy = 1, ti.exports = Gh()), ti.exports;
|
|
239
230
|
}
|
|
240
|
-
/**
|
|
241
|
-
* @license React
|
|
242
|
-
* react-dom-client.production.js
|
|
243
|
-
*
|
|
244
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
245
|
-
*
|
|
246
|
-
* This source code is licensed under the MIT license found in the
|
|
247
|
-
* LICENSE file in the root directory of this source tree.
|
|
248
|
-
*/
|
|
249
231
|
var cy;
|
|
250
232
|
function Zh() {
|
|
251
233
|
if (cy) return ie;
|
|
@@ -359,11 +341,11 @@ function Zh() {
|
|
|
359
341
|
}
|
|
360
342
|
return null;
|
|
361
343
|
}
|
|
362
|
-
var N = Object.assign, fl = Symbol.for("react.element"), Ha = Symbol.for("react.transitional.element"), Fl = Symbol.for("react.portal"), Cl = Symbol.for("react.fragment"), ot = Symbol.for("react.strict_mode"), Ot = Symbol.for("react.profiler"), Su = Symbol.for("react.consumer"), Zl = Symbol.for("react.context"), Na = Symbol.for("react.forward_ref"), et = Symbol.for("react.suspense"), aa = Symbol.for("react.suspense_list"), ca = Symbol.for("react.memo"), kl = Symbol.for("react.lazy"), Ut = Symbol.for("react.activity"), me = Symbol.for("react.memo_cache_sentinel"), _t = Symbol.iterator;
|
|
344
|
+
var N = Object.assign, fl = /* @__PURE__ */ Symbol.for("react.element"), Ha = /* @__PURE__ */ Symbol.for("react.transitional.element"), Fl = /* @__PURE__ */ Symbol.for("react.portal"), Cl = /* @__PURE__ */ Symbol.for("react.fragment"), ot = /* @__PURE__ */ Symbol.for("react.strict_mode"), Ot = /* @__PURE__ */ Symbol.for("react.profiler"), Su = /* @__PURE__ */ Symbol.for("react.consumer"), Zl = /* @__PURE__ */ Symbol.for("react.context"), Na = /* @__PURE__ */ Symbol.for("react.forward_ref"), et = /* @__PURE__ */ Symbol.for("react.suspense"), aa = /* @__PURE__ */ Symbol.for("react.suspense_list"), ca = /* @__PURE__ */ Symbol.for("react.memo"), kl = /* @__PURE__ */ Symbol.for("react.lazy"), Ut = /* @__PURE__ */ Symbol.for("react.activity"), me = /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel"), _t = Symbol.iterator;
|
|
363
345
|
function Rl(l) {
|
|
364
346
|
return l === null || typeof l != "object" ? null : (l = _t && l[_t] || l["@@iterator"], typeof l == "function" ? l : null);
|
|
365
347
|
}
|
|
366
|
-
var he = Symbol.for("react.client.reference");
|
|
348
|
+
var he = /* @__PURE__ */ Symbol.for("react.client.reference");
|
|
367
349
|
function gu(l) {
|
|
368
350
|
if (l == null) return null;
|
|
369
351
|
if (typeof l == "function")
|
|
@@ -2688,7 +2670,6 @@ Error generating stack: ` + u.message + `
|
|
|
2688
2670
|
if (M === Ft || M === Ve) throw M;
|
|
2689
2671
|
var G = Hl(29, M, null, y.mode);
|
|
2690
2672
|
return G.lanes = s, G.return = y, G;
|
|
2691
|
-
} finally {
|
|
2692
2673
|
}
|
|
2693
2674
|
};
|
|
2694
2675
|
}
|
|
@@ -3595,7 +3576,6 @@ Error generating stack: ` + u.message + `
|
|
|
3595
3576
|
if (e.hasEagerState = !0, e.eagerState = c, _l(c, f))
|
|
3596
3577
|
return Qe(l, a, e, 0), L === null && Ye(), !1;
|
|
3597
3578
|
} catch {
|
|
3598
|
-
} finally {
|
|
3599
3579
|
}
|
|
3600
3580
|
if (t = bf(l, a, e, u), t !== null)
|
|
3601
3581
|
return Dl(t, l, u), f1(t, a, u), !0;
|
|
@@ -4773,22 +4753,14 @@ Error generating stack: ` + u.message + `
|
|
|
4773
4753
|
t
|
|
4774
4754
|
);
|
|
4775
4755
|
break l;
|
|
4776
|
-
} else
|
|
4777
|
-
|
|
4778
|
-
case 9:
|
|
4779
|
-
l = l.body;
|
|
4780
|
-
break;
|
|
4781
|
-
default:
|
|
4782
|
-
l = l.nodeName === "HTML" ? l.ownerDocument.body : l;
|
|
4783
|
-
}
|
|
4784
|
-
for (w = wl(l.firstChild), ml = a, X = !0, Ga = null, Jl = !0, t = T0(
|
|
4756
|
+
} else
|
|
4757
|
+
for (l = a.stateNode.containerInfo, l.nodeType === 9 ? l = l.body : l = l.nodeName === "HTML" ? l.ownerDocument.body : l, w = wl(l.firstChild), ml = a, X = !0, Ga = null, Jl = !0, t = T0(
|
|
4785
4758
|
a,
|
|
4786
4759
|
null,
|
|
4787
4760
|
u,
|
|
4788
4761
|
t
|
|
4789
4762
|
), a.child = t; t; )
|
|
4790
4763
|
t.flags = t.flags & -3 | 4096, t = t.sibling;
|
|
4791
|
-
}
|
|
4792
4764
|
else {
|
|
4793
4765
|
if (dt(), u === e) {
|
|
4794
4766
|
a = za(
|
|
@@ -8419,14 +8391,7 @@ Error generating stack: ` + u.message + `
|
|
|
8419
8391
|
return;
|
|
8420
8392
|
case "option":
|
|
8421
8393
|
for (i in t)
|
|
8422
|
-
|
|
8423
|
-
switch (i) {
|
|
8424
|
-
case "selected":
|
|
8425
|
-
l.selected = u && typeof u != "function" && typeof u != "symbol";
|
|
8426
|
-
break;
|
|
8427
|
-
default:
|
|
8428
|
-
K(l, a, i, u, t, null);
|
|
8429
|
-
}
|
|
8394
|
+
t.hasOwnProperty(i) && (u = t[i], u != null) && (i === "selected" ? l.selected = u && typeof u != "function" && typeof u != "symbol" : K(l, a, i, u, t, null));
|
|
8430
8395
|
return;
|
|
8431
8396
|
case "dialog":
|
|
8432
8397
|
B("beforetoggle", l), B("toggle", l), B("cancel", l), B("close", l);
|
|
@@ -8639,37 +8604,23 @@ Error generating stack: ` + u.message + `
|
|
|
8639
8604
|
return;
|
|
8640
8605
|
case "option":
|
|
8641
8606
|
for (var E in t)
|
|
8642
|
-
|
|
8643
|
-
|
|
8644
|
-
|
|
8645
|
-
|
|
8646
|
-
|
|
8647
|
-
|
|
8648
|
-
|
|
8649
|
-
|
|
8650
|
-
a,
|
|
8651
|
-
E,
|
|
8652
|
-
null,
|
|
8653
|
-
u,
|
|
8654
|
-
d
|
|
8655
|
-
);
|
|
8656
|
-
}
|
|
8607
|
+
d = t[E], t.hasOwnProperty(E) && d != null && !u.hasOwnProperty(E) && (E === "selected" ? l.selected = !1 : K(
|
|
8608
|
+
l,
|
|
8609
|
+
a,
|
|
8610
|
+
E,
|
|
8611
|
+
null,
|
|
8612
|
+
u,
|
|
8613
|
+
d
|
|
8614
|
+
));
|
|
8657
8615
|
for (i in u)
|
|
8658
|
-
|
|
8659
|
-
|
|
8660
|
-
|
|
8661
|
-
|
|
8662
|
-
|
|
8663
|
-
|
|
8664
|
-
|
|
8665
|
-
|
|
8666
|
-
a,
|
|
8667
|
-
i,
|
|
8668
|
-
d,
|
|
8669
|
-
u,
|
|
8670
|
-
S
|
|
8671
|
-
);
|
|
8672
|
-
}
|
|
8616
|
+
d = u[i], S = t[i], u.hasOwnProperty(i) && d !== S && (d != null || S != null) && (i === "selected" ? l.selected = d && typeof d != "function" && typeof d != "symbol" : K(
|
|
8617
|
+
l,
|
|
8618
|
+
a,
|
|
8619
|
+
i,
|
|
8620
|
+
d,
|
|
8621
|
+
u,
|
|
8622
|
+
S
|
|
8623
|
+
));
|
|
8673
8624
|
return;
|
|
8674
8625
|
case "img":
|
|
8675
8626
|
case "link":
|
|
@@ -9343,12 +9294,7 @@ Error generating stack: ` + u.message + `
|
|
|
9343
9294
|
case "link":
|
|
9344
9295
|
if (typeof a.rel != "string" || typeof a.href != "string" || a.href === "" || a.onLoad || a.onError)
|
|
9345
9296
|
break;
|
|
9346
|
-
|
|
9347
|
-
case "stylesheet":
|
|
9348
|
-
return l = a.disabled, typeof a.precedence == "string" && l == null;
|
|
9349
|
-
default:
|
|
9350
|
-
return !0;
|
|
9351
|
-
}
|
|
9297
|
+
return a.rel === "stylesheet" ? (l = a.disabled, typeof a.precedence == "string" && l == null) : !0;
|
|
9352
9298
|
case "script":
|
|
9353
9299
|
if (a.async && typeof a.async != "function" && typeof a.async != "symbol" && !a.onLoad && !a.onError && a.src && typeof a.src == "string")
|
|
9354
9300
|
return !0;
|
package/dist/react-dom.js
CHANGED
|
@@ -3,15 +3,6 @@ function R(a) {
|
|
|
3
3
|
return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
|
|
4
4
|
}
|
|
5
5
|
var l = { exports: {} }, n = {};
|
|
6
|
-
/**
|
|
7
|
-
* @license React
|
|
8
|
-
* react-dom.production.js
|
|
9
|
-
*
|
|
10
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
11
|
-
*
|
|
12
|
-
* This source code is licensed under the MIT license found in the
|
|
13
|
-
* LICENSE file in the root directory of this source tree.
|
|
14
|
-
*/
|
|
15
6
|
var y;
|
|
16
7
|
function E() {
|
|
17
8
|
if (y) return n;
|
|
@@ -44,7 +35,7 @@ function E() {
|
|
|
44
35
|
},
|
|
45
36
|
p: 0,
|
|
46
37
|
findDOMNode: null
|
|
47
|
-
}, O = Symbol.for("react.portal");
|
|
38
|
+
}, O = /* @__PURE__ */ Symbol.for("react.portal");
|
|
48
39
|
function S(r, e, t) {
|
|
49
40
|
var o = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
|
|
50
41
|
return {
|
|
@@ -16,20 +16,11 @@ function p(e, s) {
|
|
|
16
16
|
return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
|
|
17
17
|
}
|
|
18
18
|
var i = { exports: {} }, n = {};
|
|
19
|
-
/**
|
|
20
|
-
* @license React
|
|
21
|
-
* react-jsx-dev-runtime.production.js
|
|
22
|
-
*
|
|
23
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
24
|
-
*
|
|
25
|
-
* This source code is licensed under the MIT license found in the
|
|
26
|
-
* LICENSE file in the root directory of this source tree.
|
|
27
|
-
*/
|
|
28
19
|
var a;
|
|
29
20
|
function v() {
|
|
30
21
|
if (a) return n;
|
|
31
22
|
a = 1;
|
|
32
|
-
var e = Symbol.for("react.fragment");
|
|
23
|
+
var e = /* @__PURE__ */ Symbol.for("react.fragment");
|
|
33
24
|
return n.Fragment = e, n.jsxDEV = void 0, n;
|
|
34
25
|
}
|
|
35
26
|
var c;
|
|
@@ -16,20 +16,11 @@ function d(o, u) {
|
|
|
16
16
|
return Object.freeze(Object.defineProperty(o, Symbol.toStringTag, { value: "Module" }));
|
|
17
17
|
}
|
|
18
18
|
var f = { exports: {} }, s = {};
|
|
19
|
-
/**
|
|
20
|
-
* @license React
|
|
21
|
-
* react-jsx-runtime.production.js
|
|
22
|
-
*
|
|
23
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
24
|
-
*
|
|
25
|
-
* This source code is licensed under the MIT license found in the
|
|
26
|
-
* LICENSE file in the root directory of this source tree.
|
|
27
|
-
*/
|
|
28
19
|
var l;
|
|
29
20
|
function R() {
|
|
30
21
|
if (l) return s;
|
|
31
22
|
l = 1;
|
|
32
|
-
var o = Symbol.for("react.transitional.element"), u = Symbol.for("react.fragment");
|
|
23
|
+
var o = /* @__PURE__ */ Symbol.for("react.transitional.element"), u = /* @__PURE__ */ Symbol.for("react.fragment");
|
|
33
24
|
function n(t, e, r) {
|
|
34
25
|
var i = null;
|
|
35
26
|
if (r !== void 0 && (i = "" + r), e.key !== void 0 && (i = "" + e.key), "key" in e) {
|