zudoku 0.3.0-dev.38 → 0.3.0-dev.39
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/entry.client.d.ts +0 -1
- package/dist/app/entry.client.js +5 -8
- package/dist/app/entry.client.js.map +1 -1
- package/dist/{vite/ssr → app}/entry.server.d.ts +1 -1
- package/dist/{vite/ssr → app}/entry.server.js +5 -6
- package/dist/app/entry.server.js.map +1 -0
- package/dist/app/main.d.ts +6 -0
- package/dist/{lib → app}/main.js +5 -6
- package/dist/app/main.js.map +1 -0
- package/dist/{vite/ssr → app}/zudoku-manifest.js +1 -1
- package/dist/app/zudoku-manifest.js.map +1 -0
- package/dist/internal.d.ts +0 -2
- package/dist/internal.js +0 -2
- package/dist/internal.js.map +1 -1
- package/dist/lib/components/Bootstrap.d.ts +12 -0
- package/dist/lib/components/Bootstrap.js +9 -0
- package/dist/lib/components/Bootstrap.js.map +1 -0
- package/dist/lib/components/DevPortal.js +1 -1
- package/dist/lib/components/DevPortal.js.map +1 -1
- package/dist/lib/components/Layout.js +1 -1
- package/dist/lib/components/Layout.js.map +1 -1
- package/dist/lib/components/index.d.ts +10 -0
- package/dist/lib/components/index.js +5 -0
- package/dist/lib/components/index.js.map +1 -1
- package/dist/lib/plugins/markdown/MdxPage.js +1 -1
- package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
- package/dist/lib/plugins/openapi/client/createWorkerClient.js +5 -1
- package/dist/lib/plugins/openapi/client/createWorkerClient.js.map +1 -1
- package/dist/lib/plugins/openapi/client/interfaces.d.ts +3 -1
- package/dist/lib/plugins/openapi/index.d.ts +5 -1
- package/dist/lib/plugins/openapi/index.js +2 -2
- package/dist/lib/plugins/openapi/index.js.map +1 -1
- package/dist/vite/build.js +12 -15
- package/dist/vite/build.js.map +1 -1
- package/dist/vite/config.js +9 -8
- package/dist/vite/config.js.map +1 -1
- package/dist/vite/dev-server.js +1 -0
- package/dist/vite/dev-server.js.map +1 -1
- package/dist/vite/plugin-api.js +5 -12
- package/dist/vite/plugin-api.js.map +1 -1
- package/dist/vite/plugin.js +0 -2
- package/dist/vite/plugin.js.map +1 -1
- package/lib/{AnchorLink-Sx89bfCW.js → AnchorLink-DCdBbdqo.js} +4 -3
- package/lib/AnchorLink-DCdBbdqo.js.map +1 -0
- package/lib/{DevPortalProvider-Demv4Ngx.js → DevPortalProvider-C-O1s7mm.js} +20 -20
- package/lib/{DevPortalProvider-Demv4Ngx.js.map → DevPortalProvider-C-O1s7mm.js.map} +1 -1
- package/lib/{Markdown-DMEnjeMH.js → Markdown-CGZJUYcj.js} +3192 -2663
- package/lib/Markdown-CGZJUYcj.js.map +1 -0
- package/lib/MdxPage-BZLuBOqR.js +190 -0
- package/lib/MdxPage-BZLuBOqR.js.map +1 -0
- package/lib/{OperationList-9NIdTqS0.js → OperationList-BEpN70_E.js} +192 -192
- package/lib/{OperationList-9NIdTqS0.js.map → OperationList-BEpN70_E.js.map} +1 -1
- package/lib/{Route-BqfQoDR2.js → Route-WiMUalLG.js} +3 -3
- package/lib/{Route-BqfQoDR2.js.map → Route-WiMUalLG.js.map} +1 -1
- package/lib/{Select-CJamK_wp.js → Select-BQ9-3iTJ.js} +5 -5
- package/lib/{Select-CJamK_wp.js.map → Select-BQ9-3iTJ.js.map} +1 -1
- package/lib/{Spinner-3YT-WUu5.js → Spinner-C1L_TK5f.js} +10 -10
- package/lib/{Spinner-3YT-WUu5.js.map → Spinner-C1L_TK5f.js.map} +1 -1
- package/lib/createWorkerClient-TWecYOlx.js +16698 -0
- package/lib/createWorkerClient-TWecYOlx.js.map +1 -0
- package/lib/{hook-Cq3Jb1lX.js → hook-SM2dMVmI.js} +9 -9
- package/lib/{hook-Cq3Jb1lX.js.map → hook-SM2dMVmI.js.map} +1 -1
- package/lib/{index-BB2EBBgh.js → index-CtLNbq0d.js} +15 -15
- package/lib/{index-BB2EBBgh.js.map → index-CtLNbq0d.js.map} +1 -1
- package/lib/{index-DhKGMJM2.js → index-PvQa9XLl.js} +16 -17
- package/lib/{index-DhKGMJM2.js.map → index-PvQa9XLl.js.map} +1 -1
- package/lib/index-pI9JkN46.js +4765 -0
- package/lib/index-pI9JkN46.js.map +1 -0
- package/lib/jsx-runtime-DLtUZ5Ve.js +1526 -0
- package/lib/{jsx-runtime-Bt86M5tA.js.map → jsx-runtime-DLtUZ5Ve.js.map} +1 -1
- package/lib/router-BkOLuJlq.js +2973 -0
- package/lib/{router-CcYTwKjf.js.map → router-BkOLuJlq.js.map} +1 -1
- package/lib/slugify-DbLhpSPt.js +28 -0
- package/lib/slugify-DbLhpSPt.js.map +1 -0
- package/lib/{util-CYBrkBUo.js → util-Cgie7wjb.js} +2 -2
- package/lib/{util-CYBrkBUo.js.map → util-Cgie7wjb.js.map} +1 -1
- package/lib/zudoku.auth-openid.js +1 -1
- package/lib/zudoku.components.js +692 -408
- package/lib/zudoku.components.js.map +1 -1
- package/lib/zudoku.openapi-worker.js +2 -225
- package/lib/zudoku.openapi-worker.js.map +1 -1
- package/lib/zudoku.plugin-api-keys.js +5 -5
- package/lib/zudoku.plugin-markdown.js +4 -4
- package/lib/zudoku.plugin-openapi.js +6 -7
- package/lib/zudoku.plugin-openapi.js.map +1 -1
- package/lib/zudoku.plugin-redirect.js +4 -4
- package/package.json +3 -10
- package/src/app/entry.client.tsx +4 -20
- package/src/app/entry.server.tsx +156 -0
- package/src/{lib → app}/main.tsx +9 -8
- package/src/app/zudoku-manifest.ts +22 -0
- package/src/lib/components/Bootstrap.tsx +37 -0
- package/src/lib/components/DevPortal.tsx +1 -1
- package/src/lib/components/Layout.tsx +1 -1
- package/src/lib/components/index.ts +8 -0
- package/src/lib/plugins/markdown/MdxPage.tsx +1 -1
- package/src/lib/plugins/openapi/client/createWorkerClient.ts +9 -1
- package/src/lib/plugins/openapi/client/interfaces.ts +3 -1
- package/src/lib/plugins/openapi/index.tsx +7 -3
- package/dist/lib/main.d.ts +0 -26
- package/dist/lib/main.js.map +0 -1
- package/dist/vite/plugin-openapi-worker.d.ts +0 -4
- package/dist/vite/plugin-openapi-worker.js +0 -39
- package/dist/vite/plugin-openapi-worker.js.map +0 -1
- package/dist/vite/ssr/entry.server.js.map +0 -1
- package/dist/vite/ssr/zudoku-manifest.js.map +0 -1
- package/lib/AnchorLink-Sx89bfCW.js.map +0 -1
- package/lib/Markdown-DMEnjeMH.js.map +0 -1
- package/lib/MdxPage-s9RlKFtt.js +0 -213
- package/lib/MdxPage-s9RlKFtt.js.map +0 -1
- package/lib/jsx-runtime-Bt86M5tA.js +0 -866
- package/lib/router-CcYTwKjf.js +0 -183
- package/lib/urql-DMlBWUKL.js +0 -1592
- package/lib/urql-DMlBWUKL.js.map +0 -1
- /package/dist/{vite/ssr → app}/zudoku-manifest.d.ts +0 -0
package/lib/router-CcYTwKjf.js
DELETED
|
@@ -1,183 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @remix-run/router v1.17.1
|
|
3
|
-
*
|
|
4
|
-
* Copyright (c) Remix Software Inc.
|
|
5
|
-
*
|
|
6
|
-
* This source code is licensed under the MIT license found in the
|
|
7
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
8
|
-
*
|
|
9
|
-
* @license MIT
|
|
10
|
-
*/
|
|
11
|
-
function c() {
|
|
12
|
-
return c = Object.assign ? Object.assign.bind() : function(e) {
|
|
13
|
-
for (var n = 1; n < arguments.length; n++) {
|
|
14
|
-
var t = arguments[n];
|
|
15
|
-
for (var a in t)
|
|
16
|
-
Object.prototype.hasOwnProperty.call(t, a) && (e[a] = t[a]);
|
|
17
|
-
}
|
|
18
|
-
return e;
|
|
19
|
-
}, c.apply(this, arguments);
|
|
20
|
-
}
|
|
21
|
-
var w;
|
|
22
|
-
(function(e) {
|
|
23
|
-
e.Pop = "POP", e.Push = "PUSH", e.Replace = "REPLACE";
|
|
24
|
-
})(w || (w = {}));
|
|
25
|
-
function d(e, n) {
|
|
26
|
-
if (e === !1 || e === null || typeof e > "u")
|
|
27
|
-
throw new Error(n);
|
|
28
|
-
}
|
|
29
|
-
function W(e, n) {
|
|
30
|
-
if (!e) {
|
|
31
|
-
typeof console < "u" && console.warn(n);
|
|
32
|
-
try {
|
|
33
|
-
throw new Error(n);
|
|
34
|
-
} catch {
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
function M(e) {
|
|
39
|
-
let {
|
|
40
|
-
pathname: n = "/",
|
|
41
|
-
search: t = "",
|
|
42
|
-
hash: a = ""
|
|
43
|
-
} = e;
|
|
44
|
-
return t && t !== "?" && (n += t.charAt(0) === "?" ? t : "?" + t), a && a !== "#" && (n += a.charAt(0) === "#" ? a : "#" + a), n;
|
|
45
|
-
}
|
|
46
|
-
function y(e) {
|
|
47
|
-
let n = {};
|
|
48
|
-
if (e) {
|
|
49
|
-
let t = e.indexOf("#");
|
|
50
|
-
t >= 0 && (n.hash = e.substr(t), e = e.substr(0, t));
|
|
51
|
-
let a = e.indexOf("?");
|
|
52
|
-
a >= 0 && (n.search = e.substr(a), e = e.substr(0, a)), e && (n.pathname = e);
|
|
53
|
-
}
|
|
54
|
-
return n;
|
|
55
|
-
}
|
|
56
|
-
var v;
|
|
57
|
-
(function(e) {
|
|
58
|
-
e.data = "data", e.deferred = "deferred", e.redirect = "redirect", e.error = "error";
|
|
59
|
-
})(v || (v = {}));
|
|
60
|
-
function L(e, n) {
|
|
61
|
-
typeof e == "string" && (e = {
|
|
62
|
-
path: e,
|
|
63
|
-
caseSensitive: !1,
|
|
64
|
-
end: !0
|
|
65
|
-
});
|
|
66
|
-
let [t, a] = b(e.path, e.caseSensitive, e.end), r = n.match(t);
|
|
67
|
-
if (!r) return null;
|
|
68
|
-
let i = r[0], s = i.replace(/(.)\/+$/, "$1"), l = r.slice(1);
|
|
69
|
-
return {
|
|
70
|
-
params: a.reduce((f, p, h) => {
|
|
71
|
-
let {
|
|
72
|
-
paramName: u,
|
|
73
|
-
isOptional: $
|
|
74
|
-
} = p;
|
|
75
|
-
if (u === "*") {
|
|
76
|
-
let x = l[h] || "";
|
|
77
|
-
s = i.slice(0, i.length - x.length).replace(/(.)\/+$/, "$1");
|
|
78
|
-
}
|
|
79
|
-
const g = l[h];
|
|
80
|
-
return $ && !g ? f[u] = void 0 : f[u] = (g || "").replace(/%2F/g, "/"), f;
|
|
81
|
-
}, {}),
|
|
82
|
-
pathname: i,
|
|
83
|
-
pathnameBase: s,
|
|
84
|
-
pattern: e
|
|
85
|
-
};
|
|
86
|
-
}
|
|
87
|
-
function b(e, n, t) {
|
|
88
|
-
n === void 0 && (n = !1), t === void 0 && (t = !0), W(e === "*" || !e.endsWith("*") || e.endsWith("/*"), 'Route path "' + e + '" will be treated as if it were ' + ('"' + e.replace(/\*$/, "/*") + '" because the `*` character must ') + "always follow a `/` in the pattern. To get rid of this warning, " + ('please change the route path to "' + e.replace(/\*$/, "/*") + '".'));
|
|
89
|
-
let a = [], r = "^" + e.replace(/\/*\*?$/, "").replace(/^\/*/, "/").replace(/[\\.*+^${}|()[\]]/g, "\\$&").replace(/\/:([\w-]+)(\?)?/g, (s, l, o) => (a.push({
|
|
90
|
-
paramName: l,
|
|
91
|
-
isOptional: o != null
|
|
92
|
-
}), o ? "/?([^\\/]+)?" : "/([^\\/]+)"));
|
|
93
|
-
return e.endsWith("*") ? (a.push({
|
|
94
|
-
paramName: "*"
|
|
95
|
-
}), r += e === "*" || e === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$") : t ? r += "\\/*$" : e !== "" && e !== "/" && (r += "(?:(?=\\/|$))"), [new RegExp(r, n ? void 0 : "i"), a];
|
|
96
|
-
}
|
|
97
|
-
function R(e, n) {
|
|
98
|
-
if (n === "/") return e;
|
|
99
|
-
if (!e.toLowerCase().startsWith(n.toLowerCase()))
|
|
100
|
-
return null;
|
|
101
|
-
let t = n.endsWith("/") ? n.length - 1 : n.length, a = e.charAt(t);
|
|
102
|
-
return a && a !== "/" ? null : e.slice(t) || "/";
|
|
103
|
-
}
|
|
104
|
-
function S(e, n) {
|
|
105
|
-
n === void 0 && (n = "/");
|
|
106
|
-
let {
|
|
107
|
-
pathname: t,
|
|
108
|
-
search: a = "",
|
|
109
|
-
hash: r = ""
|
|
110
|
-
} = typeof e == "string" ? y(e) : e;
|
|
111
|
-
return {
|
|
112
|
-
pathname: t ? t.startsWith("/") ? t : E(t, n) : n,
|
|
113
|
-
search: j(a),
|
|
114
|
-
hash: C(r)
|
|
115
|
-
};
|
|
116
|
-
}
|
|
117
|
-
function E(e, n) {
|
|
118
|
-
let t = n.replace(/\/+$/, "").split("/");
|
|
119
|
-
return e.split("/").forEach((r) => {
|
|
120
|
-
r === ".." ? t.length > 1 && t.pop() : r !== "." && t.push(r);
|
|
121
|
-
}), t.length > 1 ? t.join("/") : "/";
|
|
122
|
-
}
|
|
123
|
-
function m(e, n, t, a) {
|
|
124
|
-
return "Cannot include a '" + e + "' character in a manually specified " + ("`to." + n + "` field [" + JSON.stringify(a) + "]. Please separate it out to the ") + ("`to." + t + "` field. Alternatively you may provide the full path as ") + 'a string in <Link to="..."> and the router will parse it for you.';
|
|
125
|
-
}
|
|
126
|
-
function O(e) {
|
|
127
|
-
return e.filter((n, t) => t === 0 || n.route.path && n.route.path.length > 0);
|
|
128
|
-
}
|
|
129
|
-
function B(e, n) {
|
|
130
|
-
let t = O(e);
|
|
131
|
-
return n ? t.map((a, r) => r === t.length - 1 ? a.pathname : a.pathnameBase) : t.map((a) => a.pathnameBase);
|
|
132
|
-
}
|
|
133
|
-
function T(e, n, t, a) {
|
|
134
|
-
a === void 0 && (a = !1);
|
|
135
|
-
let r;
|
|
136
|
-
typeof e == "string" ? r = y(e) : (r = c({}, e), d(!r.pathname || !r.pathname.includes("?"), m("?", "pathname", "search", r)), d(!r.pathname || !r.pathname.includes("#"), m("#", "pathname", "hash", r)), d(!r.search || !r.search.includes("#"), m("#", "search", "hash", r)));
|
|
137
|
-
let i = e === "" || r.pathname === "", s = i ? "/" : r.pathname, l;
|
|
138
|
-
if (s == null)
|
|
139
|
-
l = t;
|
|
140
|
-
else {
|
|
141
|
-
let h = n.length - 1;
|
|
142
|
-
if (!a && s.startsWith("..")) {
|
|
143
|
-
let u = s.split("/");
|
|
144
|
-
for (; u[0] === ".."; )
|
|
145
|
-
u.shift(), h -= 1;
|
|
146
|
-
r.pathname = u.join("/");
|
|
147
|
-
}
|
|
148
|
-
l = h >= 0 ? n[h] : "/";
|
|
149
|
-
}
|
|
150
|
-
let o = S(r, l), f = s && s !== "/" && s.endsWith("/"), p = (i || s === ".") && t.endsWith("/");
|
|
151
|
-
return !o.pathname.endsWith("/") && (f || p) && (o.pathname += "/"), o;
|
|
152
|
-
}
|
|
153
|
-
const A = (e) => e.join("/").replace(/\/\/+/g, "/"), j = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, C = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, H = function(n, t) {
|
|
154
|
-
t === void 0 && (t = 302);
|
|
155
|
-
let a = t;
|
|
156
|
-
typeof a == "number" ? a = {
|
|
157
|
-
status: a
|
|
158
|
-
} : typeof a.status > "u" && (a.status = 302);
|
|
159
|
-
let r = new Headers(a.headers);
|
|
160
|
-
return r.set("Location", n), new Response(null, c({}, a, {
|
|
161
|
-
headers: r
|
|
162
|
-
}));
|
|
163
|
-
};
|
|
164
|
-
function N(e) {
|
|
165
|
-
return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;
|
|
166
|
-
}
|
|
167
|
-
const P = ["post", "put", "patch", "delete"];
|
|
168
|
-
new Set(P);
|
|
169
|
-
const I = ["get", ...P];
|
|
170
|
-
new Set(I);
|
|
171
|
-
export {
|
|
172
|
-
d as a,
|
|
173
|
-
H as b,
|
|
174
|
-
M as c,
|
|
175
|
-
B as g,
|
|
176
|
-
N as i,
|
|
177
|
-
A as j,
|
|
178
|
-
L as m,
|
|
179
|
-
T as r,
|
|
180
|
-
R as s,
|
|
181
|
-
W as w
|
|
182
|
-
};
|
|
183
|
-
//# sourceMappingURL=router-CcYTwKjf.js.map
|