zudoku 0.7.2-dev.2 → 0.9.0
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/dist/app/main.js +19 -0
- package/dist/app/main.js.map +1 -1
- package/dist/cli/dev/handler.js +5 -0
- package/dist/cli/dev/handler.js.map +1 -1
- package/dist/config/validators/validate.d.ts +122 -0
- package/dist/config/validators/validate.js +44 -0
- package/dist/config/validators/validate.js.map +1 -1
- package/dist/lib/components/context/ZudokuContext.d.ts +2 -0
- package/dist/lib/core/DevPortalContext.d.ts +1 -0
- package/dist/vite/config.d.ts +2 -2
- package/dist/vite/config.js +21 -20
- package/dist/vite/config.js.map +1 -1
- package/dist/vite/config.test.js +1 -4
- package/dist/vite/config.test.js.map +1 -1
- package/dist/vite/dev-server.js +1 -4
- package/dist/vite/dev-server.js.map +1 -1
- package/dist/vite/prerender.js +7 -0
- package/dist/vite/prerender.js.map +1 -1
- package/dist/vite/sitemap.js +33 -29
- package/dist/vite/sitemap.js.map +1 -1
- package/lib/AuthenticationPlugin-Bx9FK124.js +55 -0
- package/lib/{AuthenticationPlugin-BMjOjKqE.js.map → AuthenticationPlugin-Bx9FK124.js.map} +1 -1
- package/lib/CategoryHeading-XnFqN2lJ.js +10 -0
- package/lib/{CategoryHeading-BE8e6QdS.js.map → CategoryHeading-XnFqN2lJ.js.map} +1 -1
- package/lib/DeveloperHint-FBb2uXJe.js +16 -0
- package/lib/{DeveloperHint-Bl9gIdNI.js.map → DeveloperHint-FBb2uXJe.js.map} +1 -1
- package/lib/ErrorPage-knunPbKI.js +18 -0
- package/lib/{ErrorPage-CPR1XVKW.js.map → ErrorPage-knunPbKI.js.map} +1 -1
- package/lib/Input-BEDZAKw0.js +2198 -0
- package/lib/{Input-BBlyeDuG.js.map → Input-BEDZAKw0.js.map} +1 -1
- package/lib/{Markdown-CCNihH_N.js → Markdown-B4aR03g6.js} +2650 -2641
- package/lib/{Markdown-CCNihH_N.js.map → Markdown-B4aR03g6.js.map} +1 -1
- package/lib/MdxPage-BZyQsH8Z.js +172 -0
- package/lib/{MdxPage-BavkYqzi.js.map → MdxPage-BZyQsH8Z.js.map} +1 -1
- package/lib/OperationList-2NeWEM0u.js +560 -0
- package/lib/{OperationList-C6Ps2keZ.js.map → OperationList-2NeWEM0u.js.map} +1 -1
- package/lib/Route-BZPewmrN.js +14 -0
- package/lib/{Route-xRJ9mJgH.js.map → Route-BZPewmrN.js.map} +1 -1
- package/lib/{SidebarBadge-2JcxswKF.js → SidebarBadge-COz0hgfa.js} +41 -41
- package/lib/{SidebarBadge-2JcxswKF.js.map → SidebarBadge-COz0hgfa.js.map} +1 -1
- package/lib/SlotletProvider-DJMaOUDs.js +238 -0
- package/lib/{SlotletProvider-CuB3Ts8r.js.map → SlotletProvider-DJMaOUDs.js.map} +1 -1
- package/lib/Spinner-3cQDBVGr.js +7 -0
- package/lib/Spinner-3cQDBVGr.js.map +1 -0
- package/lib/{ZudokuContext-JoyeA9dT.js → ZudokuContext-cr-pTRY1.js} +66 -65
- package/lib/{ZudokuContext-JoyeA9dT.js.map → ZudokuContext-cr-pTRY1.js.map} +1 -1
- package/lib/{index-G1-TGLO1.js → index-1EDgIO6b.js} +4 -4
- package/lib/{index-G1-TGLO1.js.map → index-1EDgIO6b.js.map} +1 -1
- package/lib/index-BG0g4WW0.js +1771 -0
- package/lib/index-BG0g4WW0.js.map +1 -0
- package/lib/{index-BF4cn28H.js → index-Dv2KZuEw.js} +1991 -1804
- package/lib/{index-BF4cn28H.js.map → index-Dv2KZuEw.js.map} +1 -1
- package/lib/{index-BLvMkqjO.js → index-Zezcv0xb.js} +5 -5
- package/lib/{index-BLvMkqjO.js.map → index-Zezcv0xb.js.map} +1 -1
- package/lib/jsx-runtime-B6kdoens.js +635 -0
- package/lib/jsx-runtime-B6kdoens.js.map +1 -0
- package/lib/{utils-B8R4grFM.js → utils-ByIc_KIM.js} +98 -97
- package/lib/{utils-B8R4grFM.js.map → utils-ByIc_KIM.js.map} +1 -1
- package/lib/zudoku.auth-auth0.js +21 -16
- package/lib/zudoku.auth-auth0.js.map +1 -1
- package/lib/zudoku.auth-clerk.js +37 -32
- package/lib/zudoku.auth-clerk.js.map +1 -1
- package/lib/zudoku.auth-openid.js +505 -485
- package/lib/zudoku.auth-openid.js.map +1 -1
- package/lib/zudoku.components.js +1659 -1531
- package/lib/zudoku.components.js.map +1 -1
- package/lib/zudoku.plugin-api-keys.js +214 -150
- package/lib/zudoku.plugin-api-keys.js.map +1 -1
- package/lib/zudoku.plugin-custom-page.js +6 -5
- package/lib/zudoku.plugin-custom-page.js.map +1 -1
- package/lib/zudoku.plugin-markdown.js +13 -12
- package/lib/zudoku.plugin-markdown.js.map +1 -1
- package/lib/zudoku.plugin-openapi.js +8 -7
- package/lib/zudoku.plugin-openapi.js.map +1 -1
- package/lib/zudoku.plugin-search-inkeep.js +21 -20
- package/lib/zudoku.plugin-search-inkeep.js.map +1 -1
- package/package.json +3 -2
- package/src/app/main.tsx +22 -1
- package/src/lib/core/DevPortalContext.ts +1 -1
- package/dist/lib/util/fetchTimeout.d.ts +0 -1
- package/dist/lib/util/fetchTimeout.js +0 -14
- package/dist/lib/util/fetchTimeout.js.map +0 -1
- package/dist/vite/esbuild-yaml.d.ts +0 -2
- package/dist/vite/esbuild-yaml.js +0 -50
- package/dist/vite/esbuild-yaml.js.map +0 -1
- package/dist/vite/plugin-vercel.d.ts +0 -3
- package/dist/vite/plugin-vercel.js +0 -8
- package/dist/vite/plugin-vercel.js.map +0 -1
- package/dist/vite/plugin-yaml.d.ts +0 -3
- package/dist/vite/plugin-yaml.js +0 -24
- package/dist/vite/plugin-yaml.js.map +0 -1
- package/lib/AuthenticationPlugin-BMjOjKqE.js +0 -54
- package/lib/CategoryHeading-BE8e6QdS.js +0 -9
- package/lib/DeveloperHint-Bl9gIdNI.js +0 -12
- package/lib/ErrorPage-CPR1XVKW.js +0 -12
- package/lib/Input-BBlyeDuG.js +0 -2192
- package/lib/MdxPage-BavkYqzi.js +0 -140
- package/lib/OperationList-C6Ps2keZ.js +0 -460
- package/lib/Route-xRJ9mJgH.js +0 -13
- package/lib/SlotletProvider-CuB3Ts8r.js +0 -213
- package/lib/Spinner-BlxzaFFF.js +0 -6
- package/lib/Spinner-BlxzaFFF.js.map +0 -1
- package/lib/jsx-runtime-lNnQYwFN.js +0 -2403
- package/lib/jsx-runtime-lNnQYwFN.js.map +0 -1
|
@@ -1,213 +0,0 @@
|
|
|
1
|
-
import { UnlinkIcon as ce } from "lucide-react";
|
|
2
|
-
import { c as ie, L as le, d as ue } from "./jsx-runtime-lNnQYwFN.js";
|
|
3
|
-
import { C as fe } from "./CategoryHeading-BE8e6QdS.js";
|
|
4
|
-
import { D as me } from "./DeveloperHint-Bl9gIdNI.js";
|
|
5
|
-
import { P as de, H as Ee } from "./Markdown-CCNihH_N.js";
|
|
6
|
-
import { b as pe } from "./router-D2p7Olpn.js";
|
|
7
|
-
import P, { useContext as ve } from "react";
|
|
8
|
-
const Re = () => {
|
|
9
|
-
const o = ie();
|
|
10
|
-
return /* @__PURE__ */ React.createElement("div", { className: de + " h-full pt-[--padding-content-top]" }, /* @__PURE__ */ React.createElement(fe, null, "404"), /* @__PURE__ */ React.createElement(Ee, { level: 1, className: "flex gap-3.5 items-center" }, "Page not found", /* @__PURE__ */ React.createElement(ce, { size: 24 })), /* @__PURE__ */ React.createElement(me, null, "Start by adding a file at", " ", /* @__PURE__ */ React.createElement("code", null, "{PROJECT_ROOT}", "/", o["*"], ".mdx"), " ", "and add some content to make this error go away."), /* @__PURE__ */ React.createElement("p", null, "It seems that the page you are looking for does not exist or may have been moved. Please check the URL for any typos or use the navigation menu to find the correct page."), /* @__PURE__ */ React.createElement(le, { to: "/" }, "Go back home"));
|
|
11
|
-
};
|
|
12
|
-
function ye({ error: o }) {
|
|
13
|
-
const s = (o == null ? void 0 : o.message) ?? "Something went wrong", a = o == null ? void 0 : o.stack;
|
|
14
|
-
return /* @__PURE__ */ React.createElement("div", { className: "flex h-screen max-h-screen min-h-full items-center justify-center bg-primary-background px-4 py-16 lg:px-8" }, /* @__PURE__ */ React.createElement("div", { className: "mx-auto max-w-[85%] sm:max-w-[50%]" }, /* @__PURE__ */ React.createElement("h1", { className: "text-4xl font-bold tracking-tight text-h1-text sm:text-5xl" }, "Something went wrong"), /* @__PURE__ */ React.createElement("p", { className: "mt-5 text-h1-text" }, s), a ? /* @__PURE__ */ React.createElement("pre", { className: "mt-5 max-h-[400px] w-full overflow-scroll rounded-md border border-input-border bg-input-background p-3 text-property-name-text text-red-700" }, a) : null));
|
|
15
|
-
}
|
|
16
|
-
function $e() {
|
|
17
|
-
const o = ue();
|
|
18
|
-
return pe(o) && o.status === 404 ? /* @__PURE__ */ React.createElement(Re, null) : /* @__PURE__ */ React.createElement(ye, { error: o });
|
|
19
|
-
}
|
|
20
|
-
var x = { exports: {} }, r = {};
|
|
21
|
-
/**
|
|
22
|
-
* @license React
|
|
23
|
-
* react-is.production.min.js
|
|
24
|
-
*
|
|
25
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
26
|
-
*
|
|
27
|
-
* This source code is licensed under the MIT license found in the
|
|
28
|
-
* LICENSE file in the root directory of this source tree.
|
|
29
|
-
*/
|
|
30
|
-
var A;
|
|
31
|
-
function Se() {
|
|
32
|
-
if (A) return r;
|
|
33
|
-
A = 1;
|
|
34
|
-
var o = Symbol.for("react.element"), s = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), u = Symbol.for("react.profiler"), f = Symbol.for("react.provider"), m = Symbol.for("react.context"), _ = Symbol.for("react.server_context"), d = Symbol.for("react.forward_ref"), E = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), S;
|
|
35
|
-
S = Symbol.for("react.module.reference");
|
|
36
|
-
function c(e) {
|
|
37
|
-
if (typeof e == "object" && e !== null) {
|
|
38
|
-
var y = e.$$typeof;
|
|
39
|
-
switch (y) {
|
|
40
|
-
case o:
|
|
41
|
-
switch (e = e.type, e) {
|
|
42
|
-
case a:
|
|
43
|
-
case u:
|
|
44
|
-
case l:
|
|
45
|
-
case E:
|
|
46
|
-
case p:
|
|
47
|
-
return e;
|
|
48
|
-
default:
|
|
49
|
-
switch (e = e && e.$$typeof, e) {
|
|
50
|
-
case _:
|
|
51
|
-
case m:
|
|
52
|
-
case d:
|
|
53
|
-
case R:
|
|
54
|
-
case v:
|
|
55
|
-
case f:
|
|
56
|
-
return e;
|
|
57
|
-
default:
|
|
58
|
-
return y;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
case s:
|
|
62
|
-
return y;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
return r.ContextConsumer = m, r.ContextProvider = f, r.Element = o, r.ForwardRef = d, r.Fragment = a, r.Lazy = R, r.Memo = v, r.Portal = s, r.Profiler = u, r.StrictMode = l, r.Suspense = E, r.SuspenseList = p, r.isAsyncMode = function() {
|
|
67
|
-
return !1;
|
|
68
|
-
}, r.isConcurrentMode = function() {
|
|
69
|
-
return !1;
|
|
70
|
-
}, r.isContextConsumer = function(e) {
|
|
71
|
-
return c(e) === m;
|
|
72
|
-
}, r.isContextProvider = function(e) {
|
|
73
|
-
return c(e) === f;
|
|
74
|
-
}, r.isElement = function(e) {
|
|
75
|
-
return typeof e == "object" && e !== null && e.$$typeof === o;
|
|
76
|
-
}, r.isForwardRef = function(e) {
|
|
77
|
-
return c(e) === d;
|
|
78
|
-
}, r.isFragment = function(e) {
|
|
79
|
-
return c(e) === a;
|
|
80
|
-
}, r.isLazy = function(e) {
|
|
81
|
-
return c(e) === R;
|
|
82
|
-
}, r.isMemo = function(e) {
|
|
83
|
-
return c(e) === v;
|
|
84
|
-
}, r.isPortal = function(e) {
|
|
85
|
-
return c(e) === s;
|
|
86
|
-
}, r.isProfiler = function(e) {
|
|
87
|
-
return c(e) === u;
|
|
88
|
-
}, r.isStrictMode = function(e) {
|
|
89
|
-
return c(e) === l;
|
|
90
|
-
}, r.isSuspense = function(e) {
|
|
91
|
-
return c(e) === E;
|
|
92
|
-
}, r.isSuspenseList = function(e) {
|
|
93
|
-
return c(e) === p;
|
|
94
|
-
}, r.isValidElementType = function(e) {
|
|
95
|
-
return typeof e == "string" || typeof e == "function" || e === a || e === u || e === l || e === E || e === p || e === C || typeof e == "object" && e !== null && (e.$$typeof === R || e.$$typeof === v || e.$$typeof === f || e.$$typeof === m || e.$$typeof === d || e.$$typeof === S || e.getModuleId !== void 0);
|
|
96
|
-
}, r.typeOf = c, r;
|
|
97
|
-
}
|
|
98
|
-
var n = {};
|
|
99
|
-
/**
|
|
100
|
-
* @license React
|
|
101
|
-
* react-is.development.js
|
|
102
|
-
*
|
|
103
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
104
|
-
*
|
|
105
|
-
* This source code is licensed under the MIT license found in the
|
|
106
|
-
* LICENSE file in the root directory of this source tree.
|
|
107
|
-
*/
|
|
108
|
-
var w;
|
|
109
|
-
function be() {
|
|
110
|
-
return w || (w = 1, process.env.NODE_ENV !== "production" && function() {
|
|
111
|
-
var o = Symbol.for("react.element"), s = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), u = Symbol.for("react.profiler"), f = Symbol.for("react.provider"), m = Symbol.for("react.context"), _ = Symbol.for("react.server_context"), d = Symbol.for("react.forward_ref"), E = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), S = !1, c = !1, e = !1, y = !1, I = !1, g;
|
|
112
|
-
g = Symbol.for("react.module.reference");
|
|
113
|
-
function F(t) {
|
|
114
|
-
return !!(typeof t == "string" || typeof t == "function" || t === a || t === u || I || t === l || t === E || t === p || y || t === C || S || c || e || typeof t == "object" && t !== null && (t.$$typeof === R || t.$$typeof === v || t.$$typeof === f || t.$$typeof === m || t.$$typeof === d || // This needs to include all possible module reference object
|
|
115
|
-
// types supported by any Flight configuration anywhere since
|
|
116
|
-
// we don't know which Flight build this will end up being used
|
|
117
|
-
// with.
|
|
118
|
-
t.$$typeof === g || t.getModuleId !== void 0));
|
|
119
|
-
}
|
|
120
|
-
function i(t) {
|
|
121
|
-
if (typeof t == "object" && t !== null) {
|
|
122
|
-
var T = t.$$typeof;
|
|
123
|
-
switch (T) {
|
|
124
|
-
case o:
|
|
125
|
-
var b = t.type;
|
|
126
|
-
switch (b) {
|
|
127
|
-
case a:
|
|
128
|
-
case u:
|
|
129
|
-
case l:
|
|
130
|
-
case E:
|
|
131
|
-
case p:
|
|
132
|
-
return b;
|
|
133
|
-
default:
|
|
134
|
-
var $ = b && b.$$typeof;
|
|
135
|
-
switch ($) {
|
|
136
|
-
case _:
|
|
137
|
-
case m:
|
|
138
|
-
case d:
|
|
139
|
-
case R:
|
|
140
|
-
case v:
|
|
141
|
-
case f:
|
|
142
|
-
return $;
|
|
143
|
-
default:
|
|
144
|
-
return T;
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
case s:
|
|
148
|
-
return T;
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
var N = m, O = f, Y = o, k = d, D = a, z = R, V = v, q = s, H = u, U = l, j = E, W = p, h = !1, M = !1;
|
|
153
|
-
function G(t) {
|
|
154
|
-
return h || (h = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
155
|
-
}
|
|
156
|
-
function X(t) {
|
|
157
|
-
return M || (M = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
158
|
-
}
|
|
159
|
-
function J(t) {
|
|
160
|
-
return i(t) === m;
|
|
161
|
-
}
|
|
162
|
-
function Z(t) {
|
|
163
|
-
return i(t) === f;
|
|
164
|
-
}
|
|
165
|
-
function B(t) {
|
|
166
|
-
return typeof t == "object" && t !== null && t.$$typeof === o;
|
|
167
|
-
}
|
|
168
|
-
function K(t) {
|
|
169
|
-
return i(t) === d;
|
|
170
|
-
}
|
|
171
|
-
function Q(t) {
|
|
172
|
-
return i(t) === a;
|
|
173
|
-
}
|
|
174
|
-
function ee(t) {
|
|
175
|
-
return i(t) === R;
|
|
176
|
-
}
|
|
177
|
-
function te(t) {
|
|
178
|
-
return i(t) === v;
|
|
179
|
-
}
|
|
180
|
-
function re(t) {
|
|
181
|
-
return i(t) === s;
|
|
182
|
-
}
|
|
183
|
-
function ne(t) {
|
|
184
|
-
return i(t) === u;
|
|
185
|
-
}
|
|
186
|
-
function oe(t) {
|
|
187
|
-
return i(t) === l;
|
|
188
|
-
}
|
|
189
|
-
function ae(t) {
|
|
190
|
-
return i(t) === E;
|
|
191
|
-
}
|
|
192
|
-
function se(t) {
|
|
193
|
-
return i(t) === p;
|
|
194
|
-
}
|
|
195
|
-
n.ContextConsumer = N, n.ContextProvider = O, n.Element = Y, n.ForwardRef = k, n.Fragment = D, n.Lazy = z, n.Memo = V, n.Portal = q, n.Profiler = H, n.StrictMode = U, n.Suspense = j, n.SuspenseList = W, n.isAsyncMode = G, n.isConcurrentMode = X, n.isContextConsumer = J, n.isContextProvider = Z, n.isElement = B, n.isForwardRef = K, n.isFragment = Q, n.isLazy = ee, n.isMemo = te, n.isPortal = re, n.isProfiler = ne, n.isStrictMode = oe, n.isSuspense = ae, n.isSuspenseList = se, n.isValidElementType = F, n.typeOf = i;
|
|
196
|
-
}()), n;
|
|
197
|
-
}
|
|
198
|
-
process.env.NODE_ENV === "production" ? x.exports = Se() : x.exports = be();
|
|
199
|
-
var _e = x.exports;
|
|
200
|
-
const L = P.createContext({}), Ae = ({
|
|
201
|
-
slotlets: o,
|
|
202
|
-
children: s
|
|
203
|
-
}) => /* @__PURE__ */ P.createElement(L.Provider, { value: o }, s), we = ({ name: o }) => {
|
|
204
|
-
const s = ve(L), a = s == null ? void 0 : s[o];
|
|
205
|
-
return _e.isValidElementType(a) ? P.createElement(a) : a;
|
|
206
|
-
};
|
|
207
|
-
export {
|
|
208
|
-
ye as E,
|
|
209
|
-
$e as R,
|
|
210
|
-
we as S,
|
|
211
|
-
Ae as a
|
|
212
|
-
};
|
|
213
|
-
//# sourceMappingURL=SlotletProvider-CuB3Ts8r.js.map
|
package/lib/Spinner-BlxzaFFF.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Spinner-BlxzaFFF.js","sources":["../src/lib/components/Spinner.tsx"],"sourcesContent":["import { LoaderCircle } from \"lucide-react\";\n\nexport const Spinner = ({ size = 16 }: { size?: number }) => (\n <LoaderCircle size={size} className=\"animate-spin\" />\n);\n"],"names":["Spinner","size","LoaderCircle"],"mappings":";AAEa,MAAAA,IAAU,CAAC,EAAE,MAAAC,IAAO,SAC9B,sBAAA,cAAAC,GAAA,EAAa,MAAAD,GAAY,WAAU,eAAe,CAAA;"}
|