@zhin.js/console 1.0.8 → 1.0.10

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.
Files changed (49) hide show
  1. package/CHANGELOG.md +95 -0
  2. package/client/index.html +16 -0
  3. package/client/src/components/PluginConfigForm/BasicFieldRenderers.tsx +6 -7
  4. package/client/src/components/PluginConfigForm/CollectionFieldRenderers.tsx +8 -8
  5. package/client/src/components/PluginConfigForm/CompositeFieldRenderers.tsx +3 -3
  6. package/client/src/components/PluginConfigForm/index.tsx +8 -7
  7. package/client/src/components/ThemeToggle.tsx +3 -3
  8. package/client/src/layouts/dashboard.tsx +14 -15
  9. package/client/src/main.tsx +60 -59
  10. package/client/src/pages/dashboard-plugin-detail.tsx +17 -17
  11. package/client/src/pages/dashboard-plugins.tsx +8 -8
  12. package/client/tsconfig.json +5 -6
  13. package/dist/_commonjsHelpers-C6fGbg64.js +6 -0
  14. package/dist/client.js +9 -0
  15. package/dist/index.html +31 -0
  16. package/dist/index.js +15 -0
  17. package/dist/lucide-react.js +28876 -0
  18. package/dist/radix-ui-themes.js +9321 -0
  19. package/dist/radix-ui.js +11213 -0
  20. package/dist/react-dom-client.js +10042 -0
  21. package/dist/react-dom.js +180 -0
  22. package/dist/react-jsx-dev-runtime.js +51 -0
  23. package/dist/react-jsx-runtime.js +68 -0
  24. package/dist/react-router.js +8141 -0
  25. package/dist/react.js +421 -0
  26. package/dist/style.css +2 -0
  27. package/lib/bin.d.ts.map +1 -1
  28. package/lib/bin.js +2 -26
  29. package/lib/bin.js.map +1 -1
  30. package/lib/build.d.ts +2 -32
  31. package/lib/build.d.ts.map +1 -1
  32. package/lib/build.js +67 -144
  33. package/lib/build.js.map +1 -1
  34. package/lib/dev.d.ts.map +1 -1
  35. package/lib/dev.js +2 -1
  36. package/lib/dev.js.map +1 -1
  37. package/lib/index.d.ts.map +1 -1
  38. package/lib/index.js +0 -1
  39. package/lib/index.js.map +1 -1
  40. package/lib/websocket.d.ts.map +1 -1
  41. package/lib/websocket.js.map +1 -1
  42. package/package.json +29 -13
  43. package/app/bin.ts +0 -52
  44. package/app/build.ts +0 -211
  45. package/app/dev.ts +0 -83
  46. package/app/index.ts +0 -193
  47. package/app/websocket.ts +0 -109
  48. package/client/public/vendor/react-dom.production.min.js +0 -1
  49. package/client/public/vendor/react.production.min.js +0 -1
@@ -0,0 +1,180 @@
1
+ import v from "./react.js";
2
+ function R(a) {
3
+ return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
4
+ }
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
+ var y;
16
+ function E() {
17
+ if (y) return n;
18
+ y = 1;
19
+ var a = v;
20
+ function f(r) {
21
+ var e = "https://react.dev/errors/" + r;
22
+ if (1 < arguments.length) {
23
+ e += "?args[]=" + encodeURIComponent(arguments[1]);
24
+ for (var t = 2; t < arguments.length; t++)
25
+ e += "&args[]=" + encodeURIComponent(arguments[t]);
26
+ }
27
+ return "Minified React error #" + r + "; visit " + e + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
28
+ }
29
+ function u() {
30
+ }
31
+ var c = {
32
+ d: {
33
+ f: u,
34
+ r: function() {
35
+ throw Error(f(522));
36
+ },
37
+ D: u,
38
+ C: u,
39
+ L: u,
40
+ m: u,
41
+ X: u,
42
+ S: u,
43
+ M: u
44
+ },
45
+ p: 0,
46
+ findDOMNode: null
47
+ }, O = Symbol.for("react.portal");
48
+ function S(r, e, t) {
49
+ var o = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
50
+ return {
51
+ $$typeof: O,
52
+ key: o == null ? null : "" + o,
53
+ children: r,
54
+ containerInfo: e,
55
+ implementation: t
56
+ };
57
+ }
58
+ var s = a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
59
+ function d(r, e) {
60
+ if (r === "font") return "";
61
+ if (typeof e == "string")
62
+ return e === "use-credentials" ? e : "";
63
+ }
64
+ return n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = c, n.createPortal = function(r, e) {
65
+ var t = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
66
+ if (!e || e.nodeType !== 1 && e.nodeType !== 9 && e.nodeType !== 11)
67
+ throw Error(f(299));
68
+ return S(r, e, null, t);
69
+ }, n.flushSync = function(r) {
70
+ var e = s.T, t = c.p;
71
+ try {
72
+ if (s.T = null, c.p = 2, r) return r();
73
+ } finally {
74
+ s.T = e, c.p = t, c.d.f();
75
+ }
76
+ }, n.preconnect = function(r, e) {
77
+ typeof r == "string" && (e ? (e = e.crossOrigin, e = typeof e == "string" ? e === "use-credentials" ? e : "" : void 0) : e = null, c.d.C(r, e));
78
+ }, n.prefetchDNS = function(r) {
79
+ typeof r == "string" && c.d.D(r);
80
+ }, n.preinit = function(r, e) {
81
+ if (typeof r == "string" && e && typeof e.as == "string") {
82
+ var t = e.as, o = d(t, e.crossOrigin), _ = typeof e.integrity == "string" ? e.integrity : void 0, g = typeof e.fetchPriority == "string" ? e.fetchPriority : void 0;
83
+ t === "style" ? c.d.S(
84
+ r,
85
+ typeof e.precedence == "string" ? e.precedence : void 0,
86
+ {
87
+ crossOrigin: o,
88
+ integrity: _,
89
+ fetchPriority: g
90
+ }
91
+ ) : t === "script" && c.d.X(r, {
92
+ crossOrigin: o,
93
+ integrity: _,
94
+ fetchPriority: g,
95
+ nonce: typeof e.nonce == "string" ? e.nonce : void 0
96
+ });
97
+ }
98
+ }, n.preinitModule = function(r, e) {
99
+ if (typeof r == "string")
100
+ if (typeof e == "object" && e !== null) {
101
+ if (e.as == null || e.as === "script") {
102
+ var t = d(
103
+ e.as,
104
+ e.crossOrigin
105
+ );
106
+ c.d.M(r, {
107
+ crossOrigin: t,
108
+ integrity: typeof e.integrity == "string" ? e.integrity : void 0,
109
+ nonce: typeof e.nonce == "string" ? e.nonce : void 0
110
+ });
111
+ }
112
+ } else e == null && c.d.M(r);
113
+ }, n.preload = function(r, e) {
114
+ if (typeof r == "string" && typeof e == "object" && e !== null && typeof e.as == "string") {
115
+ var t = e.as, o = d(t, e.crossOrigin);
116
+ c.d.L(r, t, {
117
+ crossOrigin: o,
118
+ integrity: typeof e.integrity == "string" ? e.integrity : void 0,
119
+ nonce: typeof e.nonce == "string" ? e.nonce : void 0,
120
+ type: typeof e.type == "string" ? e.type : void 0,
121
+ fetchPriority: typeof e.fetchPriority == "string" ? e.fetchPriority : void 0,
122
+ referrerPolicy: typeof e.referrerPolicy == "string" ? e.referrerPolicy : void 0,
123
+ imageSrcSet: typeof e.imageSrcSet == "string" ? e.imageSrcSet : void 0,
124
+ imageSizes: typeof e.imageSizes == "string" ? e.imageSizes : void 0,
125
+ media: typeof e.media == "string" ? e.media : void 0
126
+ });
127
+ }
128
+ }, n.preloadModule = function(r, e) {
129
+ if (typeof r == "string")
130
+ if (e) {
131
+ var t = d(e.as, e.crossOrigin);
132
+ c.d.m(r, {
133
+ as: typeof e.as == "string" && e.as !== "script" ? e.as : void 0,
134
+ crossOrigin: t,
135
+ integrity: typeof e.integrity == "string" ? e.integrity : void 0
136
+ });
137
+ } else c.d.m(r);
138
+ }, n.requestFormReset = function(r) {
139
+ c.d.r(r);
140
+ }, n.unstable_batchedUpdates = function(r, e) {
141
+ return r(e);
142
+ }, n.useFormState = function(r, e, t) {
143
+ return s.H.useFormState(r, e, t);
144
+ }, n.useFormStatus = function() {
145
+ return s.H.useHostTransitionStatus();
146
+ }, n.version = "19.2.0", n;
147
+ }
148
+ var m;
149
+ function T() {
150
+ if (m) return l.exports;
151
+ m = 1;
152
+ function a() {
153
+ if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function"))
154
+ try {
155
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a);
156
+ } catch (f) {
157
+ console.error(f);
158
+ }
159
+ }
160
+ return a(), l.exports = E(), l.exports;
161
+ }
162
+ var p = T();
163
+ const i = /* @__PURE__ */ R(p), N = i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, h = i.createPortal, A = i.flushSync, P = i.preconnect, C = i.prefetchDNS, U = i.preinit, L = i.preinitModule, M = i.preload, F = i.preloadModule, b = i.requestFormReset, H = i.unstable_batchedUpdates, I = i.useFormState, q = i.useFormStatus, G = i.version, k = i.default || i;
164
+ export {
165
+ N as __DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
166
+ h as createPortal,
167
+ k as default,
168
+ A as flushSync,
169
+ P as preconnect,
170
+ C as prefetchDNS,
171
+ U as preinit,
172
+ L as preinitModule,
173
+ M as preload,
174
+ F as preloadModule,
175
+ b as requestFormReset,
176
+ H as unstable_batchedUpdates,
177
+ I as useFormState,
178
+ q as useFormStatus,
179
+ G as version
180
+ };
@@ -0,0 +1,51 @@
1
+ import { g as m } from "./_commonjsHelpers-C6fGbg64.js";
2
+ function p(e, s) {
3
+ for (var o = 0; o < s.length; o++) {
4
+ const t = s[o];
5
+ if (typeof t != "string" && !Array.isArray(t)) {
6
+ for (const r in t)
7
+ if (r !== "default" && !(r in e)) {
8
+ const u = Object.getOwnPropertyDescriptor(t, r);
9
+ u && Object.defineProperty(e, r, u.get ? u : {
10
+ enumerable: !0,
11
+ get: () => t[r]
12
+ });
13
+ }
14
+ }
15
+ }
16
+ return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
17
+ }
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
+ var a;
29
+ function v() {
30
+ if (a) return n;
31
+ a = 1;
32
+ var e = Symbol.for("react.fragment");
33
+ return n.Fragment = e, n.jsxDEV = void 0, n;
34
+ }
35
+ var c;
36
+ function x() {
37
+ return c || (c = 1, i.exports = v()), i.exports;
38
+ }
39
+ var f = x();
40
+ const R = /* @__PURE__ */ m(f), d = /* @__PURE__ */ p({
41
+ __proto__: null,
42
+ default: R
43
+ }, [f]), {
44
+ jsxDEV: D,
45
+ Fragment: l
46
+ } = d;
47
+ export {
48
+ l as Fragment,
49
+ d as default,
50
+ D as jsxDEV
51
+ };
@@ -0,0 +1,68 @@
1
+ import { g as c } from "./_commonjsHelpers-C6fGbg64.js";
2
+ function d(o, u) {
3
+ for (var n = 0; n < u.length; n++) {
4
+ const t = u[n];
5
+ if (typeof t != "string" && !Array.isArray(t)) {
6
+ for (const e in t)
7
+ if (e !== "default" && !(e in o)) {
8
+ const r = Object.getOwnPropertyDescriptor(t, e);
9
+ r && Object.defineProperty(o, e, r.get ? r : {
10
+ enumerable: !0,
11
+ get: () => t[e]
12
+ });
13
+ }
14
+ }
15
+ }
16
+ return Object.freeze(Object.defineProperty(o, Symbol.toStringTag, { value: "Module" }));
17
+ }
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
+ var l;
29
+ function R() {
30
+ if (l) return s;
31
+ l = 1;
32
+ var o = Symbol.for("react.transitional.element"), u = Symbol.for("react.fragment");
33
+ function n(t, e, r) {
34
+ var i = null;
35
+ if (r !== void 0 && (i = "" + r), e.key !== void 0 && (i = "" + e.key), "key" in e) {
36
+ r = {};
37
+ for (var a in e)
38
+ a !== "key" && (r[a] = e[a]);
39
+ } else r = e;
40
+ return e = r.ref, {
41
+ $$typeof: o,
42
+ type: t,
43
+ key: i,
44
+ ref: e !== void 0 ? e : null,
45
+ props: r
46
+ };
47
+ }
48
+ return s.Fragment = u, s.jsx = n, s.jsxs = n, s;
49
+ }
50
+ var x;
51
+ function j() {
52
+ return x || (x = 1, f.exports = R()), f.exports;
53
+ }
54
+ var p = j();
55
+ const m = /* @__PURE__ */ c(p), v = /* @__PURE__ */ d({
56
+ __proto__: null,
57
+ default: m
58
+ }, [p]), {
59
+ jsx: E,
60
+ jsxs: k,
61
+ Fragment: T
62
+ } = v;
63
+ export {
64
+ T as Fragment,
65
+ v as default,
66
+ E as jsx,
67
+ k as jsxs
68
+ };