@dracor/react 1.0.0-rc.4 → 1.0.0-rc.6
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 +2 -33
- package/dist/components/ApiDoc/ApiDoc.d.ts +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/index.es.js +189 -173
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +4 -4
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -3
package/dist/index.es.js
CHANGED
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import f1, { useState as j, useEffect as P, Fragment as n1, useRef as g1 } from "react";
|
|
2
|
+
import _1 from "swagger-ui-react";
|
|
3
|
+
import { faGithub as c1 } from "@fortawesome/free-brands-svg-icons";
|
|
4
|
+
import { FontAwesomeIcon as b } from "@fortawesome/react-fontawesome";
|
|
4
5
|
import p1 from "react-markdown";
|
|
5
|
-
import {
|
|
6
|
-
import { faClipboard as j1, faLanguage as b1, faCaretDown as w1, faPenFancy as E1, faTheaterMasks as M1, faBook as N1 } from "@fortawesome/free-solid-svg-icons";
|
|
6
|
+
import { faClipboard as j1, faLanguage as b1, faCaretDown as w1, faPenFancy as E1, faTheaterMasks as N1, faBook as M1 } from "@fortawesome/free-solid-svg-icons";
|
|
7
7
|
import { CopyToClipboard as y1 } from "react-copy-to-clipboard";
|
|
8
8
|
import { Menu as i1, MenuButton as o1, Transition as h1, MenuItems as d1, MenuItem as v1 } from "@headlessui/react";
|
|
9
9
|
import { Link as q, useLocation as k1 } from "@tanstack/react-router";
|
|
10
|
-
import {
|
|
11
|
-
import
|
|
12
|
-
|
|
13
|
-
var L = { exports: {} }, C = {};
|
|
10
|
+
import { useReactTable as Z1, getFilteredRowModel as C1, getSortedRowModel as T1, getCoreRowModel as A1, flexRender as a1 } from "@tanstack/react-table";
|
|
11
|
+
import R1 from "CETEIcean";
|
|
12
|
+
var L = { exports: {} }, A = {};
|
|
14
13
|
var s1;
|
|
15
|
-
function
|
|
16
|
-
if (s1) return
|
|
14
|
+
function S1() {
|
|
15
|
+
if (s1) return A;
|
|
17
16
|
s1 = 1;
|
|
18
17
|
var s = /* @__PURE__ */ Symbol.for("react.transitional.element"), l = /* @__PURE__ */ Symbol.for("react.fragment");
|
|
19
18
|
function r(t, c, n) {
|
|
@@ -31,25 +30,25 @@ function P1() {
|
|
|
31
30
|
props: n
|
|
32
31
|
};
|
|
33
32
|
}
|
|
34
|
-
return
|
|
33
|
+
return A.Fragment = l, A.jsx = r, A.jsxs = r, A;
|
|
35
34
|
}
|
|
36
35
|
var R = {};
|
|
37
36
|
var t1;
|
|
38
|
-
function
|
|
37
|
+
function P1() {
|
|
39
38
|
return t1 || (t1 = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
40
39
|
function s(a) {
|
|
41
40
|
if (a == null) return null;
|
|
42
41
|
if (typeof a == "function")
|
|
43
|
-
return a.$$typeof ===
|
|
42
|
+
return a.$$typeof === T ? null : a.displayName || a.name || null;
|
|
44
43
|
if (typeof a == "string") return a;
|
|
45
44
|
switch (a) {
|
|
46
45
|
case Z:
|
|
47
46
|
return "Fragment";
|
|
48
|
-
case
|
|
47
|
+
case E:
|
|
49
48
|
return "Profiler";
|
|
50
49
|
case F:
|
|
51
50
|
return "StrictMode";
|
|
52
|
-
case
|
|
51
|
+
case C:
|
|
53
52
|
return "Suspense";
|
|
54
53
|
case H:
|
|
55
54
|
return "SuspenseList";
|
|
@@ -71,7 +70,7 @@ function H1() {
|
|
|
71
70
|
return a = a.displayName, a || (a = i.displayName || i.name || "", a = a !== "" ? "ForwardRef(" + a + ")" : "ForwardRef"), a;
|
|
72
71
|
case $:
|
|
73
72
|
return i = a.displayName || null, i !== null ? i : s(a.type) || "Memo";
|
|
74
|
-
case
|
|
73
|
+
case M:
|
|
75
74
|
i = a._payload, a = a._init;
|
|
76
75
|
try {
|
|
77
76
|
return s(a(i));
|
|
@@ -92,17 +91,17 @@ function H1() {
|
|
|
92
91
|
}
|
|
93
92
|
if (i) {
|
|
94
93
|
i = console;
|
|
95
|
-
var x = i.error,
|
|
94
|
+
var x = i.error, u = typeof Symbol == "function" && Symbol.toStringTag && a[Symbol.toStringTag] || a.constructor.name || "Object";
|
|
96
95
|
return x.call(
|
|
97
96
|
i,
|
|
98
97
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
99
|
-
|
|
98
|
+
u
|
|
100
99
|
), l(a);
|
|
101
100
|
}
|
|
102
101
|
}
|
|
103
102
|
function t(a) {
|
|
104
103
|
if (a === Z) return "<>";
|
|
105
|
-
if (typeof a == "object" && a !== null && a.$$typeof ===
|
|
104
|
+
if (typeof a == "object" && a !== null && a.$$typeof === M)
|
|
106
105
|
return "<...>";
|
|
107
106
|
try {
|
|
108
107
|
var i = s(a);
|
|
@@ -112,7 +111,7 @@ function H1() {
|
|
|
112
111
|
}
|
|
113
112
|
}
|
|
114
113
|
function c() {
|
|
115
|
-
var a =
|
|
114
|
+
var a = N.A;
|
|
116
115
|
return a === null ? null : a.getOwner();
|
|
117
116
|
}
|
|
118
117
|
function n() {
|
|
@@ -137,23 +136,23 @@ function H1() {
|
|
|
137
136
|
configurable: !0
|
|
138
137
|
});
|
|
139
138
|
}
|
|
140
|
-
function
|
|
139
|
+
function g() {
|
|
141
140
|
var a = s(this.type);
|
|
142
141
|
return X[a] || (X[a] = !0, console.error(
|
|
143
142
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
144
143
|
)), a = this.props.ref, a !== void 0 ? a : null;
|
|
145
144
|
}
|
|
146
|
-
function o(a, i, x,
|
|
147
|
-
var
|
|
145
|
+
function o(a, i, x, u, O, Y) {
|
|
146
|
+
var f = x.ref;
|
|
148
147
|
return a = {
|
|
149
|
-
$$typeof:
|
|
148
|
+
$$typeof: w,
|
|
150
149
|
type: a,
|
|
151
150
|
key: i,
|
|
152
151
|
props: x,
|
|
153
|
-
_owner:
|
|
154
|
-
}, (
|
|
152
|
+
_owner: u
|
|
153
|
+
}, (f !== void 0 ? f : null) !== null ? Object.defineProperty(a, "ref", {
|
|
155
154
|
enumerable: !1,
|
|
156
|
-
get:
|
|
155
|
+
get: g
|
|
157
156
|
}) : Object.defineProperty(a, "ref", { enumerable: !1, value: null }), a._store = {}, Object.defineProperty(a._store, "validated", {
|
|
158
157
|
configurable: !1,
|
|
159
158
|
enumerable: !1,
|
|
@@ -176,48 +175,48 @@ function H1() {
|
|
|
176
175
|
value: Y
|
|
177
176
|
}), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
|
|
178
177
|
}
|
|
179
|
-
function d(a, i, x,
|
|
180
|
-
var
|
|
181
|
-
if (
|
|
182
|
-
if (
|
|
183
|
-
if (x1(
|
|
184
|
-
for (
|
|
185
|
-
m(u
|
|
186
|
-
Object.freeze && Object.freeze(
|
|
178
|
+
function d(a, i, x, u, O, Y) {
|
|
179
|
+
var f = i.children;
|
|
180
|
+
if (f !== void 0)
|
|
181
|
+
if (u)
|
|
182
|
+
if (x1(f)) {
|
|
183
|
+
for (u = 0; u < f.length; u++)
|
|
184
|
+
m(f[u]);
|
|
185
|
+
Object.freeze && Object.freeze(f);
|
|
187
186
|
} else
|
|
188
187
|
console.error(
|
|
189
188
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
190
189
|
);
|
|
191
|
-
else m(
|
|
190
|
+
else m(f);
|
|
192
191
|
if (y.call(i, "key")) {
|
|
193
|
-
|
|
194
|
-
var k = Object.keys(i).filter(function(
|
|
195
|
-
return
|
|
192
|
+
f = s(a);
|
|
193
|
+
var k = Object.keys(i).filter(function(u1) {
|
|
194
|
+
return u1 !== "key";
|
|
196
195
|
});
|
|
197
|
-
|
|
196
|
+
u = 0 < k.length ? "{key: someKey, " + k.join(": ..., ") + ": ...}" : "{key: someKey}", e1[f + u] || (k = 0 < k.length ? "{" + k.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
198
197
|
`A props object containing a "key" prop is being spread into JSX:
|
|
199
198
|
let props = %s;
|
|
200
199
|
<%s {...props} />
|
|
201
200
|
React keys must be passed directly to JSX without using spread:
|
|
202
201
|
let props = %s;
|
|
203
202
|
<%s key={someKey} {...props} />`,
|
|
204
|
-
f,
|
|
205
203
|
u,
|
|
204
|
+
f,
|
|
206
205
|
k,
|
|
207
|
-
|
|
208
|
-
), e1[
|
|
206
|
+
f
|
|
207
|
+
), e1[f + u] = !0);
|
|
209
208
|
}
|
|
210
|
-
if (
|
|
209
|
+
if (f = null, x !== void 0 && (r(x), f = "" + x), h(i) && (r(i.key), f = "" + i.key), "key" in i) {
|
|
211
210
|
x = {};
|
|
212
211
|
for (var G in i)
|
|
213
212
|
G !== "key" && (x[G] = i[G]);
|
|
214
213
|
} else x = i;
|
|
215
|
-
return
|
|
214
|
+
return f && v(
|
|
216
215
|
x,
|
|
217
216
|
typeof a == "function" ? a.displayName || a.name || "Unknown" : a
|
|
218
217
|
), o(
|
|
219
218
|
a,
|
|
220
|
-
|
|
219
|
+
f,
|
|
221
220
|
x,
|
|
222
221
|
c(),
|
|
223
222
|
O,
|
|
@@ -225,58 +224,58 @@ React keys must be passed directly to JSX without using spread:
|
|
|
225
224
|
);
|
|
226
225
|
}
|
|
227
226
|
function m(a) {
|
|
228
|
-
p(a) ? a._store && (a._store.validated = 1) : typeof a == "object" && a !== null && a.$$typeof ===
|
|
227
|
+
p(a) ? a._store && (a._store.validated = 1) : typeof a == "object" && a !== null && a.$$typeof === M && (a._payload.status === "fulfilled" ? p(a._payload.value) && a._payload.value._store && (a._payload.value._store.validated = 1) : a._store && (a._store.validated = 1));
|
|
229
228
|
}
|
|
230
229
|
function p(a) {
|
|
231
|
-
return typeof a == "object" && a !== null && a.$$typeof ===
|
|
230
|
+
return typeof a == "object" && a !== null && a.$$typeof === w;
|
|
232
231
|
}
|
|
233
|
-
var
|
|
232
|
+
var _ = f1, w = /* @__PURE__ */ Symbol.for("react.transitional.element"), I = /* @__PURE__ */ Symbol.for("react.portal"), Z = /* @__PURE__ */ Symbol.for("react.fragment"), F = /* @__PURE__ */ Symbol.for("react.strict_mode"), E = /* @__PURE__ */ Symbol.for("react.profiler"), U = /* @__PURE__ */ Symbol.for("react.consumer"), D = /* @__PURE__ */ Symbol.for("react.context"), B = /* @__PURE__ */ Symbol.for("react.forward_ref"), C = /* @__PURE__ */ Symbol.for("react.suspense"), H = /* @__PURE__ */ Symbol.for("react.suspense_list"), $ = /* @__PURE__ */ Symbol.for("react.memo"), M = /* @__PURE__ */ Symbol.for("react.lazy"), z = /* @__PURE__ */ Symbol.for("react.activity"), T = /* @__PURE__ */ Symbol.for("react.client.reference"), N = _.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, y = Object.prototype.hasOwnProperty, x1 = Array.isArray, W = console.createTask ? console.createTask : function() {
|
|
234
233
|
return null;
|
|
235
234
|
};
|
|
236
|
-
|
|
235
|
+
_ = {
|
|
237
236
|
react_stack_bottom_frame: function(a) {
|
|
238
237
|
return a();
|
|
239
238
|
}
|
|
240
239
|
};
|
|
241
|
-
var J, X = {}, Q =
|
|
242
|
-
|
|
240
|
+
var J, X = {}, Q = _.react_stack_bottom_frame.bind(
|
|
241
|
+
_,
|
|
243
242
|
n
|
|
244
243
|
)(), K = W(t(n)), e1 = {};
|
|
245
244
|
R.Fragment = Z, R.jsx = function(a, i, x) {
|
|
246
|
-
var
|
|
245
|
+
var u = 1e4 > N.recentlyCreatedOwnerStacks++;
|
|
247
246
|
return d(
|
|
248
247
|
a,
|
|
249
248
|
i,
|
|
250
249
|
x,
|
|
251
250
|
!1,
|
|
252
|
-
|
|
253
|
-
|
|
251
|
+
u ? Error("react-stack-top-frame") : Q,
|
|
252
|
+
u ? W(t(a)) : K
|
|
254
253
|
);
|
|
255
254
|
}, R.jsxs = function(a, i, x) {
|
|
256
|
-
var
|
|
255
|
+
var u = 1e4 > N.recentlyCreatedOwnerStacks++;
|
|
257
256
|
return d(
|
|
258
257
|
a,
|
|
259
258
|
i,
|
|
260
259
|
x,
|
|
261
260
|
!0,
|
|
262
|
-
|
|
263
|
-
|
|
261
|
+
u ? Error("react-stack-top-frame") : Q,
|
|
262
|
+
u ? W(t(a)) : K
|
|
264
263
|
);
|
|
265
264
|
};
|
|
266
265
|
})()), R;
|
|
267
266
|
}
|
|
268
267
|
var r1;
|
|
269
|
-
function
|
|
270
|
-
return r1 || (r1 = 1, process.env.NODE_ENV === "production" ? L.exports =
|
|
268
|
+
function H1() {
|
|
269
|
+
return r1 || (r1 = 1, process.env.NODE_ENV === "production" ? L.exports = S1() : L.exports = P1()), L.exports;
|
|
271
270
|
}
|
|
272
|
-
var e =
|
|
273
|
-
function
|
|
271
|
+
var e = H1();
|
|
272
|
+
function x0({ url: s, title: l }) {
|
|
274
273
|
return /* @__PURE__ */ e.jsxs("div", { children: [
|
|
275
|
-
l !== void 0 && /* @__PURE__ */ e.jsx(
|
|
276
|
-
/* @__PURE__ */ e.jsx(
|
|
274
|
+
l !== void 0 && /* @__PURE__ */ e.jsx("title", { children: l }),
|
|
275
|
+
/* @__PURE__ */ e.jsx(_1, { url: s, deepLinking: !0 })
|
|
277
276
|
] });
|
|
278
277
|
}
|
|
279
|
-
const
|
|
278
|
+
const $1 = [
|
|
280
279
|
{
|
|
281
280
|
schema: "wikidata",
|
|
282
281
|
label: "Wikidata",
|
|
@@ -309,17 +308,17 @@ const z1 = [
|
|
|
309
308
|
];
|
|
310
309
|
function m1({ showLabel: s, children: l, className: r }) {
|
|
311
310
|
let t = "inline-flex bg-white bg-no-repeat bg-[5px] rounded-sm px-1.5 gap-1 align-text-bottom", c;
|
|
312
|
-
const n =
|
|
311
|
+
const n = $1.find(({ pattern: o, url: d, schema: m }) => {
|
|
313
312
|
const p = new RegExp(
|
|
314
313
|
`^(?:${o || d}/|${m}:)([a-z\\d]+)$`,
|
|
315
314
|
"i"
|
|
316
|
-
),
|
|
317
|
-
return
|
|
315
|
+
), _ = l.match(p);
|
|
316
|
+
return _ ? (c = _[1], !0) : !1;
|
|
318
317
|
});
|
|
319
318
|
if (!n)
|
|
320
319
|
return /* @__PURE__ */ e.jsx("span", { className: t, children: l });
|
|
321
|
-
const { url: h, label: v, classes:
|
|
322
|
-
return t += ` ${
|
|
320
|
+
const { url: h, label: v, classes: g = "" } = n;
|
|
321
|
+
return t += ` ${g}`, /* @__PURE__ */ e.jsxs("span", { className: t, children: [
|
|
323
322
|
s && `${v}: `,
|
|
324
323
|
/* @__PURE__ */ e.jsx("a", { className: r, href: `${h}/${c}`, title: v, children: c })
|
|
325
324
|
] });
|
|
@@ -358,8 +357,8 @@ function V(s, l = "en-GB") {
|
|
|
358
357
|
}
|
|
359
358
|
return r.match("^-?[0-9]{4}") ? S(r, 1e3) : r;
|
|
360
359
|
}
|
|
361
|
-
const
|
|
362
|
-
function
|
|
360
|
+
const z1 = "https://query.wikidata.org/sparql", O1 = "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' width='102' height='137' viewBox='-305 -516 610 820'%3E%3Ctitle%3EWikimedia Commons Logo%3C/title%3E%3Cdefs%3E%3CclipPath id='c'%3E%3Ccircle r='298'/%3E%3C/clipPath%3E%3C/defs%3E%3Ccircle r='100' fill='%23900'/%3E%3Cg fill='%23069'%3E%3Cg id='arrow' clip-path='url(%23c)'%3E%3Cpath d='m-11 180v118h22v-118'/%3E%3Cpath d='m-43 185l43-75 43 75'/%3E%3C/g%3E%3Cg id='arrows3'%3E%3Cuse xlink:href='%23arrow' transform='rotate(45)'/%3E%3Cuse xlink:href='%23arrow' transform='rotate(90)'/%3E%3Cuse xlink:href='%23arrow' transform='rotate(135)'/%3E%3C/g%3E%3Cuse xlink:href='%23arrows3' transform='scale(-1 1)'/%3E%3Cpath id='blue_path' transform='rotate(-45)' stroke='%23069' stroke-width='84' fill='none' d='M 0,-256 A 256 256 0 1 0 256,0 C 256,-100 155,-150 250,-275'/%3E%3Cpath id='arrow_top' d='m-23-515s-36 135-80 185 116-62 170-5-90-180-90-180z'/%3E%3C/g%3E%3C/svg%3E";
|
|
361
|
+
function u0({
|
|
363
362
|
wikidataId: s,
|
|
364
363
|
name: l,
|
|
365
364
|
birthLabel: r = "b.",
|
|
@@ -368,17 +367,17 @@ function _0({
|
|
|
368
367
|
}) {
|
|
369
368
|
const [n, h] = j(null);
|
|
370
369
|
P(() => {
|
|
371
|
-
function p(
|
|
372
|
-
return
|
|
370
|
+
function p(w) {
|
|
371
|
+
return w.startsWith("http://www.wikidata.org/.well-known/genid") ? c : V(w.replace(/^(-?\d{4}).*$/, "$1"));
|
|
373
372
|
}
|
|
374
|
-
async function
|
|
373
|
+
async function _(w) {
|
|
375
374
|
const I = `
|
|
376
375
|
SELECT ?author ?authorLabel ?birthDate ?deathDate ?gender ?genderLabel
|
|
377
376
|
?birthPlace ?birthPlaceLabel ?birthCoord
|
|
378
377
|
?deathPlace ?deathPlaceLabel ?deathCoord
|
|
379
378
|
?img ?gnd
|
|
380
379
|
WHERE {
|
|
381
|
-
BIND (wd:${
|
|
380
|
+
BIND (wd:${w} AS ?author)
|
|
382
381
|
OPTIONAL { ?author wdt:P569 ?birthDate. }
|
|
383
382
|
OPTIONAL { ?author wdt:P570 ?deathDate. }
|
|
384
383
|
OPTIONAL { ?author wdt:P21 ?gender. }
|
|
@@ -389,36 +388,36 @@ WHERE {
|
|
|
389
388
|
OPTIONAL { ?author wdt:P227 ?gnd. }
|
|
390
389
|
SERVICE wikibase:label { bd:serviceParam wikibase:language "de,en". }
|
|
391
390
|
}
|
|
392
|
-
`, Z = `${
|
|
391
|
+
`, Z = `${z1}?query=${encodeURIComponent(I)}`, F = {
|
|
393
392
|
method: "GET",
|
|
394
393
|
headers: {
|
|
395
394
|
Accept: "application/json"
|
|
396
395
|
}
|
|
397
396
|
};
|
|
398
397
|
try {
|
|
399
|
-
const
|
|
400
|
-
if (
|
|
401
|
-
console.log(
|
|
398
|
+
const E = await fetch(Z, F);
|
|
399
|
+
if (E.status !== 200) {
|
|
400
|
+
console.log(E.status);
|
|
402
401
|
return;
|
|
403
402
|
}
|
|
404
|
-
const D = (await
|
|
403
|
+
const D = (await E.json()).results?.bindings || [], {
|
|
405
404
|
authorLabel: B,
|
|
406
|
-
img:
|
|
405
|
+
img: C,
|
|
407
406
|
birthDate: H,
|
|
408
407
|
birthPlaceLabel: $,
|
|
409
|
-
deathDate:
|
|
408
|
+
deathDate: M,
|
|
410
409
|
deathPlaceLabel: z
|
|
411
|
-
} = D[0],
|
|
412
|
-
H?.value &&
|
|
413
|
-
const y = { name: B.value, birth:
|
|
414
|
-
|
|
415
|
-
} catch (
|
|
416
|
-
console.log(
|
|
410
|
+
} = D[0], T = [], N = [];
|
|
411
|
+
H?.value && T.push(p(H.value)), $?.value && T.push($.value), M?.value && N.push(p(M.value)), z?.value && N.push(z.value);
|
|
412
|
+
const y = { name: B.value, birth: T, death: N };
|
|
413
|
+
C?.value && (y.imageUrl = C.value.replace(/^http:/, "https:"), y.commonsPage = C.value.replace(/Special:FilePath\//, "File:").replace(/^http:/, "https:")), h(y);
|
|
414
|
+
} catch (E) {
|
|
415
|
+
console.log(E);
|
|
417
416
|
}
|
|
418
417
|
}
|
|
419
|
-
s &&
|
|
418
|
+
s && _(s);
|
|
420
419
|
}, [s, c]);
|
|
421
|
-
const { name: v, imageUrl:
|
|
420
|
+
const { name: v, imageUrl: g, commonsPage: o, birth: d = [], death: m = [] } = n || {};
|
|
422
421
|
return /* @__PURE__ */ e.jsxs("div", { className: "flex whitespace-nowrap", children: [
|
|
423
422
|
/* @__PURE__ */ e.jsxs(
|
|
424
423
|
"div",
|
|
@@ -426,10 +425,10 @@ WHERE {
|
|
|
426
425
|
className: "relative w-[5em] h-[6em] overflow-hidden bg-(image:--img-author) bg-no-repeat bg-center bg-primary rounded-md border-2 border-primary mr-4",
|
|
427
426
|
style: { backgroundSize: "70%" },
|
|
428
427
|
children: [
|
|
429
|
-
|
|
428
|
+
g && /* @__PURE__ */ e.jsx(
|
|
430
429
|
"img",
|
|
431
430
|
{
|
|
432
|
-
src:
|
|
431
|
+
src: g,
|
|
433
432
|
title: v,
|
|
434
433
|
alt: "",
|
|
435
434
|
className: "object-cover object-top w-full h-full"
|
|
@@ -444,7 +443,7 @@ WHERE {
|
|
|
444
443
|
children: /* @__PURE__ */ e.jsx(
|
|
445
444
|
"img",
|
|
446
445
|
{
|
|
447
|
-
src:
|
|
446
|
+
src: O1,
|
|
448
447
|
className: "opacity-0 hover:opacity-100 place-self-center w-full h-full p-[20%]",
|
|
449
448
|
width: "17",
|
|
450
449
|
alt: "Wikimedia Commons"
|
|
@@ -471,7 +470,7 @@ WHERE {
|
|
|
471
470
|
] })
|
|
472
471
|
] });
|
|
473
472
|
}
|
|
474
|
-
const
|
|
473
|
+
const f0 = ({ data: s }) => /* @__PURE__ */ e.jsx(e.Fragment, { children: s.map((l, r) => /* @__PURE__ */ e.jsxs("span", { children: [
|
|
475
474
|
r > 0 && /* @__PURE__ */ e.jsx("br", {}),
|
|
476
475
|
l.name,
|
|
477
476
|
l.pseudonym && /* @__PURE__ */ e.jsxs("i", { children: [
|
|
@@ -484,7 +483,23 @@ const g0 = ({ data: s }) => /* @__PURE__ */ e.jsx(e.Fragment, { children: s.map(
|
|
|
484
483
|
/* @__PURE__ */ e.jsx("small", { children: /* @__PURE__ */ e.jsx(m1, { children: l.ref }) })
|
|
485
484
|
] })
|
|
486
485
|
] }, `${r}-${l.name}`)) });
|
|
487
|
-
function
|
|
486
|
+
function g0({ repo: s, children: l }) {
|
|
487
|
+
const r = l.trim(), t = r.substring(0, 7), c = `${s}/commit/${r}`;
|
|
488
|
+
return s ? /* @__PURE__ */ e.jsxs(
|
|
489
|
+
"a",
|
|
490
|
+
{
|
|
491
|
+
href: c,
|
|
492
|
+
target: "_blank",
|
|
493
|
+
rel: "noreferrer noopener",
|
|
494
|
+
className: "text-sm",
|
|
495
|
+
children: [
|
|
496
|
+
/* @__PURE__ */ e.jsx(b, { icon: c1, size: "lg", className: "mr-1" }),
|
|
497
|
+
t
|
|
498
|
+
]
|
|
499
|
+
}
|
|
500
|
+
) : /* @__PURE__ */ e.jsx("span", { title: "Git commit", children: t });
|
|
501
|
+
}
|
|
502
|
+
function L1({
|
|
488
503
|
value: s,
|
|
489
504
|
onChange: l,
|
|
490
505
|
debounce: r = 500,
|
|
@@ -507,12 +522,12 @@ function V1({
|
|
|
507
522
|
}
|
|
508
523
|
);
|
|
509
524
|
}
|
|
510
|
-
function
|
|
525
|
+
function _0({ url: s, match: l }) {
|
|
511
526
|
const [r, t] = j(""), [c, n] = j("");
|
|
512
527
|
return P(() => {
|
|
513
|
-
async function h(
|
|
528
|
+
async function h(g) {
|
|
514
529
|
try {
|
|
515
|
-
const o = await fetch(
|
|
530
|
+
const o = await fetch(g, { method: "GET" });
|
|
516
531
|
if (o.status == 404) {
|
|
517
532
|
t("Not Found"), n("Not Found");
|
|
518
533
|
return;
|
|
@@ -526,8 +541,8 @@ function p0({ url: s, match: l }) {
|
|
|
526
541
|
}
|
|
527
542
|
const m = await o.text();
|
|
528
543
|
t(m);
|
|
529
|
-
const
|
|
530
|
-
n(
|
|
544
|
+
const _ = m.replace(/^\s+/, "").split(/(\n|\r|\r\n){2,}/)[0].match(/^#\s*(.+)/);
|
|
545
|
+
n(_ ? _[1] : "...");
|
|
531
546
|
} catch (o) {
|
|
532
547
|
o instanceof Error && o.message === "Request failed with status code 404" ? (t("Not Found"), n("Not Found")) : (t("Something went wrong."), n("Error"), console.error(o));
|
|
533
548
|
}
|
|
@@ -535,11 +550,11 @@ function p0({ url: s, match: l }) {
|
|
|
535
550
|
const v = s || (l ? l() : null);
|
|
536
551
|
v && h(v);
|
|
537
552
|
}, [s, l]), /* @__PURE__ */ e.jsxs("div", { children: [
|
|
538
|
-
c && /* @__PURE__ */ e.jsx(
|
|
553
|
+
c && /* @__PURE__ */ e.jsx("title", { children: c }),
|
|
539
554
|
/* @__PURE__ */ e.jsx(p1, { children: r })
|
|
540
555
|
] });
|
|
541
556
|
}
|
|
542
|
-
const
|
|
557
|
+
const V1 = (s) => /* @__PURE__ */ e.jsxs(
|
|
543
558
|
"svg",
|
|
544
559
|
{
|
|
545
560
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -633,7 +648,7 @@ const q1 = (s) => /* @__PURE__ */ e.jsxs(
|
|
|
633
648
|
] }) })
|
|
634
649
|
]
|
|
635
650
|
}
|
|
636
|
-
),
|
|
651
|
+
), q1 = (s) => /* @__PURE__ */ e.jsxs(
|
|
637
652
|
"svg",
|
|
638
653
|
{
|
|
639
654
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -682,7 +697,7 @@ const q1 = (s) => /* @__PURE__ */ e.jsxs(
|
|
|
682
697
|
] }) })
|
|
683
698
|
]
|
|
684
699
|
}
|
|
685
|
-
),
|
|
700
|
+
), I1 = (s) => /* @__PURE__ */ e.jsxs(
|
|
686
701
|
"svg",
|
|
687
702
|
{
|
|
688
703
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -736,7 +751,7 @@ const q1 = (s) => /* @__PURE__ */ e.jsxs(
|
|
|
736
751
|
] }) })
|
|
737
752
|
]
|
|
738
753
|
}
|
|
739
|
-
),
|
|
754
|
+
), F1 = (s) => /* @__PURE__ */ e.jsxs(
|
|
740
755
|
"svg",
|
|
741
756
|
{
|
|
742
757
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -800,7 +815,7 @@ const q1 = (s) => /* @__PURE__ */ e.jsxs(
|
|
|
800
815
|
] }) })
|
|
801
816
|
]
|
|
802
817
|
}
|
|
803
|
-
),
|
|
818
|
+
), D1 = (s) => /* @__PURE__ */ e.jsxs(
|
|
804
819
|
"svg",
|
|
805
820
|
{
|
|
806
821
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -856,7 +871,7 @@ const q1 = (s) => /* @__PURE__ */ e.jsxs(
|
|
|
856
871
|
] }) })
|
|
857
872
|
]
|
|
858
873
|
}
|
|
859
|
-
),
|
|
874
|
+
), B1 = (s) => /* @__PURE__ */ e.jsxs(
|
|
860
875
|
"svg",
|
|
861
876
|
{
|
|
862
877
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -916,7 +931,7 @@ const q1 = (s) => /* @__PURE__ */ e.jsxs(
|
|
|
916
931
|
] }) })
|
|
917
932
|
]
|
|
918
933
|
}
|
|
919
|
-
),
|
|
934
|
+
), W1 = (s) => /* @__PURE__ */ e.jsxs(
|
|
920
935
|
"svg",
|
|
921
936
|
{
|
|
922
937
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -969,7 +984,7 @@ const q1 = (s) => /* @__PURE__ */ e.jsxs(
|
|
|
969
984
|
] }) })
|
|
970
985
|
]
|
|
971
986
|
}
|
|
972
|
-
),
|
|
987
|
+
), Y1 = (s) => /* @__PURE__ */ e.jsxs(
|
|
973
988
|
"svg",
|
|
974
989
|
{
|
|
975
990
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1022,7 +1037,7 @@ const q1 = (s) => /* @__PURE__ */ e.jsxs(
|
|
|
1022
1037
|
] }) })
|
|
1023
1038
|
]
|
|
1024
1039
|
}
|
|
1025
|
-
),
|
|
1040
|
+
), G1 = (s) => /* @__PURE__ */ e.jsxs(
|
|
1026
1041
|
"svg",
|
|
1027
1042
|
{
|
|
1028
1043
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1112,41 +1127,41 @@ const q1 = (s) => /* @__PURE__ */ e.jsxs(
|
|
|
1112
1127
|
]
|
|
1113
1128
|
}
|
|
1114
1129
|
);
|
|
1115
|
-
function
|
|
1130
|
+
function p0({ href: s, type: l, name: r }) {
|
|
1116
1131
|
const t = "w-14", c = r.match(/^[a-z0-9]/i) ? r : "download";
|
|
1117
1132
|
let n;
|
|
1118
1133
|
switch (l) {
|
|
1119
1134
|
case "bibtex":
|
|
1120
|
-
n = /* @__PURE__ */ e.jsx(
|
|
1135
|
+
n = /* @__PURE__ */ e.jsx(V1, { className: t });
|
|
1121
1136
|
break;
|
|
1122
1137
|
case "csv":
|
|
1123
|
-
n = /* @__PURE__ */ e.jsx(
|
|
1138
|
+
n = /* @__PURE__ */ e.jsx(q1, { className: t });
|
|
1124
1139
|
break;
|
|
1125
1140
|
case "gexf":
|
|
1126
|
-
n = /* @__PURE__ */ e.jsx(
|
|
1141
|
+
n = /* @__PURE__ */ e.jsx(I1, { className: t });
|
|
1127
1142
|
break;
|
|
1128
1143
|
case "graphml":
|
|
1129
|
-
n = /* @__PURE__ */ e.jsx(
|
|
1144
|
+
n = /* @__PURE__ */ e.jsx(F1, { className: t });
|
|
1130
1145
|
break;
|
|
1131
1146
|
case "json":
|
|
1132
|
-
n = /* @__PURE__ */ e.jsx(
|
|
1147
|
+
n = /* @__PURE__ */ e.jsx(D1, { className: t });
|
|
1133
1148
|
break;
|
|
1134
1149
|
case "rdf":
|
|
1135
|
-
n = /* @__PURE__ */ e.jsx(
|
|
1150
|
+
n = /* @__PURE__ */ e.jsx(B1, { className: t });
|
|
1136
1151
|
break;
|
|
1137
1152
|
case "ris":
|
|
1138
|
-
n = /* @__PURE__ */ e.jsx(
|
|
1153
|
+
n = /* @__PURE__ */ e.jsx(W1, { className: t });
|
|
1139
1154
|
break;
|
|
1140
1155
|
case "tei":
|
|
1141
|
-
n = /* @__PURE__ */ e.jsx(
|
|
1156
|
+
n = /* @__PURE__ */ e.jsx(Y1, { className: t });
|
|
1142
1157
|
break;
|
|
1143
1158
|
case "txt":
|
|
1144
|
-
n = /* @__PURE__ */ e.jsx(
|
|
1159
|
+
n = /* @__PURE__ */ e.jsx(G1, { className: t });
|
|
1145
1160
|
break;
|
|
1146
1161
|
}
|
|
1147
1162
|
return /* @__PURE__ */ e.jsx("a", { href: s, download: c, className: "inline-block", children: n || c });
|
|
1148
1163
|
}
|
|
1149
|
-
const
|
|
1164
|
+
const U1 = (s) => /* @__PURE__ */ e.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 384 384", ...s, children: [
|
|
1150
1165
|
/* @__PURE__ */ e.jsxs("defs", { children: [
|
|
1151
1166
|
/* @__PURE__ */ e.jsx("clipPath", { id: "dracor_svg__clip-path", children: /* @__PURE__ */ e.jsx(
|
|
1152
1167
|
"path",
|
|
@@ -1169,7 +1184,7 @@ const J1 = (s) => /* @__PURE__ */ e.jsxs("svg", { xmlns: "http://www.w3.org/2000
|
|
|
1169
1184
|
}
|
|
1170
1185
|
}
|
|
1171
1186
|
) }) }) })
|
|
1172
|
-
] }),
|
|
1187
|
+
] }), J1 = (s) => /* @__PURE__ */ e.jsx(
|
|
1173
1188
|
"svg",
|
|
1174
1189
|
{
|
|
1175
1190
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1209,37 +1224,37 @@ const J1 = (s) => /* @__PURE__ */ e.jsxs("svg", { xmlns: "http://www.w3.org/2000
|
|
|
1209
1224
|
] })
|
|
1210
1225
|
] })
|
|
1211
1226
|
}
|
|
1212
|
-
), { protocol:
|
|
1213
|
-
function
|
|
1227
|
+
), { protocol: X1, host: Q1 } = window.location, K1 = `${X1}//${Q1}/id/`;
|
|
1228
|
+
function j0({
|
|
1214
1229
|
children: s,
|
|
1215
1230
|
className: l = "",
|
|
1216
1231
|
uri: r,
|
|
1217
1232
|
prefix: t,
|
|
1218
1233
|
icon: c
|
|
1219
1234
|
}) {
|
|
1220
|
-
const n = s, h = r || `${t ||
|
|
1235
|
+
const n = s, h = r || `${t || K1}${n}`;
|
|
1221
1236
|
return /* @__PURE__ */ e.jsxs(
|
|
1222
1237
|
"span",
|
|
1223
1238
|
{
|
|
1224
1239
|
className: `inline-flex bg-white rounded-sm px-1.5 gap-1 align-text-bottom cursor-pointer ${l}`,
|
|
1225
1240
|
children: [
|
|
1226
|
-
c === "ein" && /* @__PURE__ */ e.jsx(
|
|
1227
|
-
c === "dracor" && /* @__PURE__ */ e.jsx(
|
|
1241
|
+
c === "ein" && /* @__PURE__ */ e.jsx(J1, { style: { width: "25px" } }),
|
|
1242
|
+
c === "dracor" && /* @__PURE__ */ e.jsx(U1, { style: { width: "15px" } }),
|
|
1228
1243
|
/* @__PURE__ */ e.jsx(y1, { text: h, children: /* @__PURE__ */ e.jsxs("span", { title: "copy to clipboard", children: [
|
|
1229
1244
|
/* @__PURE__ */ e.jsx("span", { className: "pr-1", children: n }),
|
|
1230
|
-
/* @__PURE__ */ e.jsx(
|
|
1245
|
+
/* @__PURE__ */ e.jsx(b, { icon: j1, size: "sm" })
|
|
1231
1246
|
] }) })
|
|
1232
1247
|
]
|
|
1233
1248
|
}
|
|
1234
1249
|
);
|
|
1235
1250
|
}
|
|
1236
|
-
function
|
|
1251
|
+
function b0({
|
|
1237
1252
|
languages: s,
|
|
1238
1253
|
current: l = "",
|
|
1239
1254
|
onSelect: r
|
|
1240
1255
|
}) {
|
|
1241
1256
|
return /* @__PURE__ */ e.jsxs(i1, { as: "div", className: "relative inline-block text-left", children: [
|
|
1242
|
-
/* @__PURE__ */ e.jsx(o1, { className: "relative justify-center inline-flex mr-8 hover:text-neutral-100", children: /* @__PURE__ */ e.jsx(
|
|
1257
|
+
/* @__PURE__ */ e.jsx(o1, { className: "relative justify-center inline-flex mr-8 hover:text-neutral-100", children: /* @__PURE__ */ e.jsx(b, { icon: b1, size: "2x" }) }),
|
|
1243
1258
|
/* @__PURE__ */ e.jsx(
|
|
1244
1259
|
h1,
|
|
1245
1260
|
{
|
|
@@ -1264,7 +1279,7 @@ function w0({
|
|
|
1264
1279
|
)
|
|
1265
1280
|
] });
|
|
1266
1281
|
}
|
|
1267
|
-
function
|
|
1282
|
+
function e0({ label: s, to: l, params: r, href: t, className: c }) {
|
|
1268
1283
|
const n = `block md:inline-block justify-center text-white hover:text-blue-100 uppercase ${c}`;
|
|
1269
1284
|
return t?.startsWith("http") || t?.startsWith("mailto:") ? /* @__PURE__ */ e.jsx(
|
|
1270
1285
|
"a",
|
|
@@ -1286,7 +1301,7 @@ function a0({ label: s, to: l, params: r, href: t, className: c }) {
|
|
|
1286
1301
|
);
|
|
1287
1302
|
}
|
|
1288
1303
|
const l1 = "group flex w-full items-center rounded-sm px-2 py-1 text-sm text-gray-900 hover:text-gray-900 hover:bg-blue-100";
|
|
1289
|
-
function
|
|
1304
|
+
function a0({ label: s, items: l, menuClass: r }) {
|
|
1290
1305
|
const t = k1();
|
|
1291
1306
|
function c({ to: h }) {
|
|
1292
1307
|
return h && t.pathname.startsWith(h);
|
|
@@ -1300,7 +1315,7 @@ function s0({ label: s, items: l, menuClass: r }) {
|
|
|
1300
1315
|
children: [
|
|
1301
1316
|
s,
|
|
1302
1317
|
/* @__PURE__ */ e.jsx(
|
|
1303
|
-
|
|
1318
|
+
b,
|
|
1304
1319
|
{
|
|
1305
1320
|
icon: w1,
|
|
1306
1321
|
className: "ml-2 mt-1",
|
|
@@ -1321,7 +1336,7 @@ function s0({ label: s, items: l, menuClass: r }) {
|
|
|
1321
1336
|
leave: "transition ease-in duration-75",
|
|
1322
1337
|
leaveFrom: "transform opacity-100 scale-100",
|
|
1323
1338
|
leaveTo: "transform opacity-0 scale-95",
|
|
1324
|
-
children: /* @__PURE__ */ e.jsx(d1, { className: "absolute left-0 mt-2 min-w-fit whitespace-nowrap origin-top-right divide-y divide-gray-100 rounded-sm bg-white shadow-lg focus:outline-hidden", children: /* @__PURE__ */ e.jsx("div", { className: "px-1 py-1", children: l.map(({ to: h, href: v, params:
|
|
1339
|
+
children: /* @__PURE__ */ e.jsx(d1, { className: "absolute left-0 mt-2 min-w-fit whitespace-nowrap origin-top-right divide-y divide-gray-100 rounded-sm bg-white shadow-lg focus:outline-hidden", children: /* @__PURE__ */ e.jsx("div", { className: "px-1 py-1", children: l.map(({ to: h, href: v, params: g, label: o }) => /* @__PURE__ */ e.jsx(v1, { children: v?.startsWith("http") || v?.startsWith("mailto:") ? /* @__PURE__ */ e.jsx(
|
|
1325
1340
|
"a",
|
|
1326
1341
|
{
|
|
1327
1342
|
href: v,
|
|
@@ -1334,7 +1349,7 @@ function s0({ label: s, items: l, menuClass: r }) {
|
|
|
1334
1349
|
q,
|
|
1335
1350
|
{
|
|
1336
1351
|
to: h,
|
|
1337
|
-
params:
|
|
1352
|
+
params: g,
|
|
1338
1353
|
className: l1 + " [&.active]:bg-blue-300 [&.active]:text-white [&.active]:font-medium [&.active]:hover:bg-blue-100 [&.active]:hover:text-gray-900",
|
|
1339
1354
|
children: o
|
|
1340
1355
|
}
|
|
@@ -1343,7 +1358,7 @@ function s0({ label: s, items: l, menuClass: r }) {
|
|
|
1343
1358
|
)
|
|
1344
1359
|
] });
|
|
1345
1360
|
}
|
|
1346
|
-
function
|
|
1361
|
+
function w0({
|
|
1347
1362
|
title: s,
|
|
1348
1363
|
logo: l,
|
|
1349
1364
|
logoClass: r,
|
|
@@ -1352,7 +1367,7 @@ function E0({
|
|
|
1352
1367
|
gitHubIcon: n,
|
|
1353
1368
|
gitHubTitle: h,
|
|
1354
1369
|
addItem: v,
|
|
1355
|
-
navItems:
|
|
1370
|
+
navItems: g
|
|
1356
1371
|
}) {
|
|
1357
1372
|
const [o, d] = j(!1);
|
|
1358
1373
|
return /* @__PURE__ */ e.jsxs("nav", { className: "flex items-center justify-between flex-wrap p-4 bg-primary text-white font-medium", children: [
|
|
@@ -1389,15 +1404,15 @@ function E0({
|
|
|
1389
1404
|
{
|
|
1390
1405
|
className: `block md:flex grow md:items-center w-full md:w-auto ${o ? "" : "hidden"}`,
|
|
1391
1406
|
children: [
|
|
1392
|
-
|
|
1407
|
+
g?.length && /* @__PURE__ */ e.jsx("div", { className: "my-2 md:grow md:flex-row flex justify-center flex-col gap-4", children: g.map(
|
|
1393
1408
|
(m) => "items" in m ? /* @__PURE__ */ e.jsx(
|
|
1394
|
-
|
|
1409
|
+
a0,
|
|
1395
1410
|
{
|
|
1396
1411
|
label: m.label,
|
|
1397
1412
|
items: m.items
|
|
1398
1413
|
},
|
|
1399
1414
|
m.label
|
|
1400
|
-
) : /* @__PURE__ */ e.jsx(
|
|
1415
|
+
) : /* @__PURE__ */ e.jsx(e0, { label: m.label, to: m.to }, m.label)
|
|
1401
1416
|
) }),
|
|
1402
1417
|
v,
|
|
1403
1418
|
c && /* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsx(
|
|
@@ -1406,7 +1421,7 @@ function E0({
|
|
|
1406
1421
|
href: c,
|
|
1407
1422
|
title: h || "GitHub",
|
|
1408
1423
|
className: "text-white text-2xl",
|
|
1409
|
-
children: n || /* @__PURE__ */ e.jsx(
|
|
1424
|
+
children: n || /* @__PURE__ */ e.jsx(b, { icon: c1, size: "2xl" })
|
|
1410
1425
|
}
|
|
1411
1426
|
) })
|
|
1412
1427
|
]
|
|
@@ -1414,8 +1429,8 @@ function E0({
|
|
|
1414
1429
|
)
|
|
1415
1430
|
] });
|
|
1416
1431
|
}
|
|
1417
|
-
function
|
|
1418
|
-
const [t, c] = j(r), [n, h] = j(""), [v] = j(l),
|
|
1432
|
+
function E0({ columns: s, data: l, defaultSort: r = [] }) {
|
|
1433
|
+
const [t, c] = j(r), [n, h] = j(""), [v] = j(l), g = Z1({
|
|
1419
1434
|
data: v,
|
|
1420
1435
|
columns: s,
|
|
1421
1436
|
state: {
|
|
@@ -1424,15 +1439,15 @@ function M0({ columns: s, data: l, defaultSort: r = [] }) {
|
|
|
1424
1439
|
},
|
|
1425
1440
|
onSortingChange: c,
|
|
1426
1441
|
onGlobalFilterChange: h,
|
|
1427
|
-
getCoreRowModel:
|
|
1428
|
-
getSortedRowModel:
|
|
1429
|
-
getFilteredRowModel:
|
|
1442
|
+
getCoreRowModel: A1(),
|
|
1443
|
+
getSortedRowModel: T1(),
|
|
1444
|
+
getFilteredRowModel: C1(),
|
|
1430
1445
|
debugTable: !0
|
|
1431
1446
|
});
|
|
1432
1447
|
return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1433
1448
|
/* @__PURE__ */ e.jsxs("div", { className: "mb-2", children: [
|
|
1434
1449
|
/* @__PURE__ */ e.jsx(
|
|
1435
|
-
|
|
1450
|
+
L1,
|
|
1436
1451
|
{
|
|
1437
1452
|
value: n ?? "",
|
|
1438
1453
|
onChange: (o) => h(String(o)),
|
|
@@ -1441,12 +1456,12 @@ function M0({ columns: s, data: l, defaultSort: r = [] }) {
|
|
|
1441
1456
|
),
|
|
1442
1457
|
n !== "" && /* @__PURE__ */ e.jsxs("span", { className: "ml-2", children: [
|
|
1443
1458
|
"(",
|
|
1444
|
-
|
|
1459
|
+
g.getRowModel().rows.length,
|
|
1445
1460
|
")"
|
|
1446
1461
|
] })
|
|
1447
1462
|
] }),
|
|
1448
1463
|
/* @__PURE__ */ e.jsx("div", { className: "flex", children: /* @__PURE__ */ e.jsxs("table", { children: [
|
|
1449
|
-
/* @__PURE__ */ e.jsx("thead", { children:
|
|
1464
|
+
/* @__PURE__ */ e.jsx("thead", { children: g.getHeaderGroups().map((o) => /* @__PURE__ */ e.jsx("tr", { children: o.headers.map((d) => /* @__PURE__ */ e.jsx("th", { colSpan: d.colSpan, children: d.isPlaceholder ? null : /* @__PURE__ */ e.jsxs(
|
|
1450
1465
|
"div",
|
|
1451
1466
|
{
|
|
1452
1467
|
className: d.column.getCanSort() ? "cursor-pointer select-none" : "",
|
|
@@ -1457,15 +1472,15 @@ function M0({ columns: s, data: l, defaultSort: r = [] }) {
|
|
|
1457
1472
|
d.getContext()
|
|
1458
1473
|
),
|
|
1459
1474
|
" ",
|
|
1460
|
-
/* @__PURE__ */ e.jsx(
|
|
1475
|
+
/* @__PURE__ */ e.jsx(s0, { status: d.column.getIsSorted() })
|
|
1461
1476
|
]
|
|
1462
1477
|
}
|
|
1463
1478
|
) }, d.id)) }, o.id)) }),
|
|
1464
|
-
/* @__PURE__ */ e.jsx("tbody", { children:
|
|
1479
|
+
/* @__PURE__ */ e.jsx("tbody", { children: g.getRowModel().rows.map((o, d) => /* @__PURE__ */ e.jsx("tr", { className: d % 2 ? "" : "bg-neutral-200", children: o.getVisibleCells().map((m) => /* @__PURE__ */ e.jsx("td", { children: a1(m.column.columnDef.cell, m.getContext()) }, m.id)) }, o.id)) })
|
|
1465
1480
|
] }) })
|
|
1466
1481
|
] });
|
|
1467
1482
|
}
|
|
1468
|
-
function
|
|
1483
|
+
function s0({ status: s }) {
|
|
1469
1484
|
return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1470
1485
|
/* @__PURE__ */ e.jsx("span", { className: s !== "asc" ? "opacity-40" : "", children: "▲" }),
|
|
1471
1486
|
/* @__PURE__ */ e.jsx("span", { className: s !== "desc" ? "opacity-40" : "", children: "▼" })
|
|
@@ -1475,10 +1490,10 @@ function N0({ data: s }) {
|
|
|
1475
1490
|
const l = "inline-block p-4 border-b-2 text-gray-500 hover:text-gray-600 border-transparent hover:border-gray-300 [&.active]:border-primary";
|
|
1476
1491
|
return /* @__PURE__ */ e.jsx("div", { className: "text-sm font-medium text-center text-gray-500 border-b border-gray-200 dark:text-gray-400 dark:border-gray-700", children: /* @__PURE__ */ e.jsx("div", { className: "flex flex-wrap -mb-px gap-3", children: s.map(({ label: r, to: t }) => /* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsx(q, { to: t, className: l, children: r }) }, r)) }) });
|
|
1477
1492
|
}
|
|
1478
|
-
function
|
|
1479
|
-
const l =
|
|
1493
|
+
function M0({ url: s }) {
|
|
1494
|
+
const l = g1(null);
|
|
1480
1495
|
return P(() => {
|
|
1481
|
-
const r = new
|
|
1496
|
+
const r = new R1();
|
|
1482
1497
|
for (; l.current?.firstChild; )
|
|
1483
1498
|
l.current.removeChild(l.current.firstChild);
|
|
1484
1499
|
r.getHTML5(s, (t) => {
|
|
@@ -1486,7 +1501,7 @@ function y0({ url: s }) {
|
|
|
1486
1501
|
});
|
|
1487
1502
|
}, [s]), /* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsx("div", { ref: l }) });
|
|
1488
1503
|
}
|
|
1489
|
-
function
|
|
1504
|
+
function y0({
|
|
1490
1505
|
written: s,
|
|
1491
1506
|
premiere: l,
|
|
1492
1507
|
print: r,
|
|
@@ -1498,7 +1513,7 @@ function k0({
|
|
|
1498
1513
|
return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1499
1514
|
s && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1500
1515
|
/* @__PURE__ */ e.jsxs("span", { title: h, children: [
|
|
1501
|
-
/* @__PURE__ */ e.jsx(
|
|
1516
|
+
/* @__PURE__ */ e.jsx(b, { icon: E1, size: "sm" }),
|
|
1502
1517
|
" ",
|
|
1503
1518
|
V(s, t)
|
|
1504
1519
|
] }),
|
|
@@ -1506,34 +1521,35 @@ function k0({
|
|
|
1506
1521
|
] }),
|
|
1507
1522
|
l && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1508
1523
|
/* @__PURE__ */ e.jsxs("span", { title: c, children: [
|
|
1509
|
-
/* @__PURE__ */ e.jsx(
|
|
1524
|
+
/* @__PURE__ */ e.jsx(b, { icon: N1, size: "sm" }),
|
|
1510
1525
|
" ",
|
|
1511
1526
|
V(l, t)
|
|
1512
1527
|
] }),
|
|
1513
1528
|
" "
|
|
1514
1529
|
] }),
|
|
1515
1530
|
r && /* @__PURE__ */ e.jsxs("span", { title: n, children: [
|
|
1516
|
-
/* @__PURE__ */ e.jsx(
|
|
1531
|
+
/* @__PURE__ */ e.jsx(b, { icon: M1, size: "sm" }),
|
|
1517
1532
|
" ",
|
|
1518
1533
|
V(r, t)
|
|
1519
1534
|
] })
|
|
1520
1535
|
] });
|
|
1521
1536
|
}
|
|
1522
1537
|
export {
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1538
|
+
x0 as ApiDoc,
|
|
1539
|
+
u0 as AuthorInfo,
|
|
1540
|
+
f0 as Authors,
|
|
1541
|
+
g0 as Commit,
|
|
1542
|
+
L1 as DebouncedInput,
|
|
1543
|
+
_0 as DocPage,
|
|
1544
|
+
p0 as DownloadButton,
|
|
1545
|
+
j0 as IdCopy,
|
|
1530
1546
|
m1 as IdLink,
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1547
|
+
b0 as LanguageMenu,
|
|
1548
|
+
w0 as NavBar,
|
|
1549
|
+
M0 as TEIText,
|
|
1550
|
+
E0 as Table,
|
|
1535
1551
|
N0 as Tabs,
|
|
1536
|
-
|
|
1552
|
+
y0 as Years,
|
|
1537
1553
|
S as formatEra,
|
|
1538
1554
|
V as formatYear
|
|
1539
1555
|
};
|