@cccsaurora/clue-ui 1.4.2 → 1.4.3
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/{ActionForm-DjyNwVzM.js → ActionForm-h08d0iw-.js} +1 -1
- package/{AnnotationDetails-BvPv3_pR.js → AnnotationDetails-DU_7TqAH.js} +1 -1
- package/{AnnotationPreview-C0JN_lr0.js → AnnotationPreview-DjIO0yXp.js} +1 -1
- package/{ClueEnrichContext-CNbh-qiy.js → ClueEnrichContext-BU7wzqVH.js} +69 -69
- package/components/AnnotationDetailPopover.js +1 -1
- package/components/AnnotationDetails.js +2 -2
- package/components/AnnotationPreview.js +1 -1
- package/components/EnrichedCard.js +1 -1
- package/components/EnrichedChip.js +2 -2
- package/components/EnrichedTypography.js +2 -2
- package/components/RetryFailedEnrichments.js +1 -1
- package/components/SourcePicker.js +1 -1
- package/components/actions/ActionForm.js +1 -1
- package/components/actions/ExecutePopover.js +1 -1
- package/components/actions/ResultModal.js +1 -1
- package/components/enrichment/EnrichPopover.js +1 -1
- package/components/fetchers/Fetcher.js +1 -1
- package/components/group/GroupControl.js +1 -1
- package/components/stats/QueryStatus.js +1 -1
- package/hooks/ClueActionContext.js +1 -1
- package/hooks/ClueDatabaseContext.js +11 -11
- package/hooks/ClueEnrichContext.js +1 -1
- package/hooks/ClueGroupContext.js +1 -1
- package/hooks/CluePopupContext.js +2 -2
- package/hooks/ClueProvider.js +3 -3
- package/hooks/selectors.js +2 -2
- package/hooks/useActionResult.js +1 -1
- package/hooks/useAnnotations.js +2 -2
- package/hooks/useClue.js +1 -1
- package/hooks/useClueActions.js +1 -1
- package/hooks/useErrors.js +1 -1
- package/hooks/useFetcherResult.js +1 -1
- package/icons/Action.js +2 -2
- package/icons/Assessment.js +1 -1
- package/icons/Context.js +1 -1
- package/icons/Opinion.js +1 -1
- package/main.js +4 -4
- package/package.json +1 -1
|
@@ -16,7 +16,7 @@ import { a as Se, c as An, u as zn } from "./index-BM9Sve5T.js";
|
|
|
16
16
|
import Ue from "./components/ErrorBoundary.js";
|
|
17
17
|
import { adaptSchema as Ln } from "./components/actions/form/schemaAdapter.js";
|
|
18
18
|
import { I as Gn } from "./iconify-Ptb5dTKy.js";
|
|
19
|
-
import { C as Jn } from "./ClueEnrichContext-
|
|
19
|
+
import { C as Jn } from "./ClueEnrichContext-BU7wzqVH.js";
|
|
20
20
|
import { ClueFetcherContext as Hn } from "./hooks/ClueFetcherContext.js";
|
|
21
21
|
import Bn from "./components/ClassificationChip.js";
|
|
22
22
|
import Qn from "./components/actions/formats/index.js";
|
|
@@ -4,7 +4,7 @@ import { useTheme as $, Stack as l, Typography as s, Tooltip as x, Box as E, Ico
|
|
|
4
4
|
import g from "./components/display/icons/Iconified.js";
|
|
5
5
|
import { SNACKBAR_EVENT_ID as H } from "./data/event.js";
|
|
6
6
|
import { ClueComponentContext as K } from "./hooks/ClueComponentContext.js";
|
|
7
|
-
import { f as T } from "./ActionForm-
|
|
7
|
+
import { f as T } from "./ActionForm-h08d0iw-.js";
|
|
8
8
|
import L from "./hooks/useAnnotations.js";
|
|
9
9
|
import U from "./hooks/useErrors.js";
|
|
10
10
|
import { ICON_MAP as k } from "./icons/iconMap.js";
|
|
@@ -8,7 +8,7 @@ import { useState as v, useRef as Y, useCallback as x, useEffect as Z, useMemo a
|
|
|
8
8
|
import { c as B, a as G } from "./index-BM9Sve5T.js";
|
|
9
9
|
import { SHOW_EVENT_ID as g, HIDE_EVENT_ID as D } from "./data/event.js";
|
|
10
10
|
import { safeDispatchEvent as A, safeAddEventListener as S } from "./utils/window.js";
|
|
11
|
-
import { i as J } from "./AnnotationDetails-
|
|
11
|
+
import { i as J } from "./AnnotationDetails-DU_7TqAH.js";
|
|
12
12
|
const b = B(null), rt = ({ children: c }) => {
|
|
13
13
|
const [l, e] = v(null), [p, i] = v(null), [r, d] = v(null), [u, m] = v(null), [f, t] = v({}), a = Y(null), P = x((s, o, z, N) => {
|
|
14
14
|
A(
|
|
@@ -7,15 +7,15 @@ import { c as H } from "./utils-SpTOhPYl.js";
|
|
|
7
7
|
import { b as gt } from "./_baseSlice-M5RKzt1A.js";
|
|
8
8
|
import { t as jt } from "./toFinite-CBrE65MP.js";
|
|
9
9
|
import { d as Pt } from "./sessionStorage-DFMae61b.js";
|
|
10
|
-
import { g as
|
|
11
|
-
import { u as
|
|
10
|
+
import { g as pt } from "./groupBy-CrJC7sGa.js";
|
|
11
|
+
import { u as dt } from "./uniq-B4UZ671_.js";
|
|
12
12
|
import { b as Mt } from "./_baseIteratee-D0FhC5bC.js";
|
|
13
13
|
import { b as Rt } from "./_baseUniq-D3N8igOm.js";
|
|
14
|
-
import { useContext as qt, useState as S, useMemo as K, useCallback as
|
|
14
|
+
import { useContext as qt, useState as S, useMemo as K, useCallback as j, useRef as At, useEffect as P } from "react";
|
|
15
15
|
import { c as St } from "./index-BM9Sve5T.js";
|
|
16
16
|
import { ClueDatabaseContext as Bt } from "./hooks/ClueDatabaseContext.js";
|
|
17
|
-
import
|
|
18
|
-
import
|
|
17
|
+
import Vt from "./hooks/useClueConfig.js";
|
|
18
|
+
import bt from "./hooks/useClueTypeConfig.js";
|
|
19
19
|
import { i as Ut } from "./isEmpty-DKxrY-_M.js";
|
|
20
20
|
function Wt(n) {
|
|
21
21
|
var r = jt(n), m = r % 1;
|
|
@@ -27,9 +27,9 @@ function Jt(n, r, m) {
|
|
|
27
27
|
var u = n == null ? 0 : n.length;
|
|
28
28
|
if (!u || r < 1)
|
|
29
29
|
return [];
|
|
30
|
-
for (var y = 0, D = 0,
|
|
31
|
-
|
|
32
|
-
return
|
|
30
|
+
for (var y = 0, D = 0, M = Array(Ft(u / r)); y < u; )
|
|
31
|
+
M[D++] = gt(n, y, y += r);
|
|
32
|
+
return M;
|
|
33
33
|
}
|
|
34
34
|
function Qt(n, r) {
|
|
35
35
|
return n && n.length ? Rt(n, Mt(r)) : [];
|
|
@@ -41,11 +41,11 @@ function Gt() {
|
|
|
41
41
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
42
42
|
return J(_t);
|
|
43
43
|
}
|
|
44
|
-
const
|
|
44
|
+
const d = [];
|
|
45
45
|
for (let n = 0; n < 256; ++n)
|
|
46
|
-
|
|
46
|
+
d.push((n + 256).toString(16).slice(1));
|
|
47
47
|
function Kt(n, r = 0) {
|
|
48
|
-
return
|
|
48
|
+
return d[n[r + 0]] + d[n[r + 1]] + d[n[r + 2]] + d[n[r + 3]] + "-" + d[n[r + 4]] + d[n[r + 5]] + "-" + d[n[r + 6]] + d[n[r + 7]] + "-" + d[n[r + 8]] + d[n[r + 9]] + "-" + d[n[r + 10]] + d[n[r + 11]] + d[n[r + 12]] + d[n[r + 13]] + d[n[r + 14]] + d[n[r + 15]];
|
|
49
49
|
}
|
|
50
50
|
const Xt = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), mt = {
|
|
51
51
|
randomUUID: Xt
|
|
@@ -57,59 +57,59 @@ function X(n, r, m) {
|
|
|
57
57
|
const u = n.random || (n.rng || Gt)();
|
|
58
58
|
return u[6] = u[6] & 15 | 64, u[8] = u[8] & 63 | 128, Kt(u);
|
|
59
59
|
}
|
|
60
|
-
const Yt = St(null),
|
|
60
|
+
const Yt = St(null), de = ({
|
|
61
61
|
children: n,
|
|
62
62
|
classification: r,
|
|
63
63
|
baseURL: m,
|
|
64
64
|
getToken: u,
|
|
65
65
|
onNetworkCall: y,
|
|
66
66
|
pickSources: D,
|
|
67
|
-
chunkSize:
|
|
67
|
+
chunkSize: M = 15,
|
|
68
68
|
maxRequestCount: Q = 4,
|
|
69
69
|
defaultTimeout: B = 5,
|
|
70
|
-
enabled:
|
|
70
|
+
enabled: $ = !0,
|
|
71
71
|
ready: yt = !1,
|
|
72
72
|
publicIconify: Y = !0,
|
|
73
73
|
skipConfigCall: Z = !1,
|
|
74
|
-
customIconify:
|
|
74
|
+
customIconify: V,
|
|
75
75
|
debugLogging: C = !0
|
|
76
76
|
}) => {
|
|
77
77
|
var ot, ct, at, ut, lt;
|
|
78
|
-
const
|
|
78
|
+
const g = Vt(), t = qt(Bt), [z, ht] = S(null), E = K(
|
|
79
79
|
() => {
|
|
80
80
|
var e, s;
|
|
81
|
-
return z ?? r ?? ((s = (e =
|
|
81
|
+
return z ?? r ?? ((s = (e = g.config) == null ? void 0 : e.c12nDef) == null ? void 0 : s.RESTRICTED);
|
|
82
82
|
},
|
|
83
|
-
[r, (ct = (ot =
|
|
84
|
-
), N =
|
|
83
|
+
[r, (ct = (ot = g.config) == null ? void 0 : ot.c12nDef) == null ? void 0 : ct.RESTRICTED, z]
|
|
84
|
+
), N = j(
|
|
85
85
|
(e) => {
|
|
86
86
|
var s;
|
|
87
|
-
return ht(e((s =
|
|
87
|
+
return ht(e((s = g.config) == null ? void 0 : s.c12nDef));
|
|
88
88
|
},
|
|
89
|
-
[(at =
|
|
90
|
-
), [x, wt] = S(yt), R = At(0), [O, vt] = S([]), { availableSources: q, typesDetection:
|
|
91
|
-
|
|
89
|
+
[(at = g.config) == null ? void 0 : at.c12nDef]
|
|
90
|
+
), [x, wt] = S(yt), R = At(0), [O, vt] = S([]), { availableSources: q, typesDetection: b, supportedTypes: T } = bt(
|
|
91
|
+
$ && x,
|
|
92
92
|
m,
|
|
93
93
|
C,
|
|
94
94
|
u,
|
|
95
95
|
y
|
|
96
96
|
);
|
|
97
|
-
|
|
98
|
-
if (Z ||
|
|
97
|
+
P(() => {
|
|
98
|
+
if (Z || !$ || !x)
|
|
99
99
|
return;
|
|
100
100
|
const e = {}, s = u == null ? void 0 : u();
|
|
101
101
|
s && (e.Authorization = `Bearer ${s}`);
|
|
102
102
|
let c = { baseURL: m, headers: e };
|
|
103
|
-
y && (c = y(c)), $t.configs.get(c).then(
|
|
104
|
-
}, [m, y, Z, x]);
|
|
103
|
+
y && (c = y(c)), $t.configs.get(c).then(g.setConfig);
|
|
104
|
+
}, [m, y, Z, $, x]);
|
|
105
105
|
const [L, k] = S(() => {
|
|
106
106
|
var e;
|
|
107
107
|
return !!((e = t == null ? void 0 : t.selectors) != null && e.synced);
|
|
108
108
|
});
|
|
109
|
-
|
|
109
|
+
P(() => {
|
|
110
110
|
var e;
|
|
111
111
|
k(!!((e = t == null ? void 0 : t.selectors) != null && e.synced));
|
|
112
|
-
}, [t]),
|
|
112
|
+
}, [t]), P(() => {
|
|
113
113
|
if (x) {
|
|
114
114
|
const e = Object.values(F).map((s) => (s.reSync(), s.start(), s.active$.subscribe((c) => {
|
|
115
115
|
var i;
|
|
@@ -127,10 +127,10 @@ const Yt = St(null), pe = ({
|
|
|
127
127
|
});
|
|
128
128
|
};
|
|
129
129
|
}, [t, x]);
|
|
130
|
-
const [tt, et] = S(
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
}, [
|
|
130
|
+
const [tt, et] = S(V);
|
|
131
|
+
P(() => {
|
|
132
|
+
V && et(V);
|
|
133
|
+
}, [V]), P(() => {
|
|
134
134
|
if (Y)
|
|
135
135
|
return;
|
|
136
136
|
let e = tt ?? void 0 ?? (m == null ? void 0 : m.replace(/^[^.]+/, "icons"));
|
|
@@ -138,7 +138,7 @@ const Yt = St(null), pe = ({
|
|
|
138
138
|
resources: [e]
|
|
139
139
|
}));
|
|
140
140
|
}, [m, tt, C, Y]);
|
|
141
|
-
const U =
|
|
141
|
+
const U = j(
|
|
142
142
|
async (e) => {
|
|
143
143
|
const s = [];
|
|
144
144
|
for (const i of e) {
|
|
@@ -154,8 +154,8 @@ const Yt = St(null), pe = ({
|
|
|
154
154
|
count: 0,
|
|
155
155
|
error: w
|
|
156
156
|
});
|
|
157
|
-
for (const
|
|
158
|
-
const { classification: v, count: I, link: xt, annotations: Dt } =
|
|
157
|
+
for (const p of f) {
|
|
158
|
+
const { classification: v, count: I, link: xt, annotations: Dt } = p, _ = {
|
|
159
159
|
id: X(),
|
|
160
160
|
source: l,
|
|
161
161
|
type: o,
|
|
@@ -174,9 +174,9 @@ const Yt = St(null), pe = ({
|
|
|
174
174
|
c.error.length > 0 && (console.warn("Errors on upsert:"), c.error.forEach((i) => console.warn(i.documentId, i.validationErrors ?? i.status)));
|
|
175
175
|
},
|
|
176
176
|
[t, E]
|
|
177
|
-
), st =
|
|
177
|
+
), st = j(
|
|
178
178
|
async (e, s, c = {}) => {
|
|
179
|
-
var
|
|
179
|
+
var p;
|
|
180
180
|
if (!e || !s)
|
|
181
181
|
return console.error(`Type (${e}) or value (${s}) is empty, returning empty response`), {};
|
|
182
182
|
const i = (D == null ? void 0 : D(O, q, [{ type: e, value: s, classification: c.classification }])) ?? O, a = {
|
|
@@ -197,7 +197,7 @@ const Yt = St(null), pe = ({
|
|
|
197
197
|
classification: a.classification
|
|
198
198
|
};
|
|
199
199
|
let w = await t.status.findOne({ selector: { ...f } }).exec();
|
|
200
|
-
w ? await w.incrementalPatch({ status: "in-progress" }) : w = await ((
|
|
200
|
+
w ? await w.incrementalPatch({ status: "in-progress" }) : w = await ((p = t.status) == null ? void 0 : p.insert({
|
|
201
201
|
id: await H(f.type, f.value, f.classification ?? E),
|
|
202
202
|
type: f.type,
|
|
203
203
|
value: f.value,
|
|
@@ -225,7 +225,7 @@ const Yt = St(null), pe = ({
|
|
|
225
225
|
D,
|
|
226
226
|
O
|
|
227
227
|
]
|
|
228
|
-
), W =
|
|
228
|
+
), W = j(
|
|
229
229
|
async (e, s) => {
|
|
230
230
|
var f, w;
|
|
231
231
|
const c = (D == null ? void 0 : D(O, q, e)) ?? O, i = {
|
|
@@ -240,8 +240,8 @@ const Yt = St(null), pe = ({
|
|
|
240
240
|
let o = { baseURL: m, headers: a };
|
|
241
241
|
y && (o = y(o));
|
|
242
242
|
const h = [];
|
|
243
|
-
for (const
|
|
244
|
-
const v = { type:
|
|
243
|
+
for (const p of e) {
|
|
244
|
+
const v = { type: p.type, value: p.value, classification: i.classification };
|
|
245
245
|
let I = await ((f = t.status) == null ? void 0 : f.findOne({
|
|
246
246
|
selector: v
|
|
247
247
|
}).incrementalPatch({
|
|
@@ -255,13 +255,13 @@ const Yt = St(null), pe = ({
|
|
|
255
255
|
}))), I && h.push(I.toMutableJSON());
|
|
256
256
|
}
|
|
257
257
|
try {
|
|
258
|
-
const
|
|
259
|
-
return await U(v),
|
|
260
|
-
} catch (
|
|
261
|
-
return console.error(
|
|
258
|
+
const p = await ft(e, i.sources, i, o), v = Object.values(p).flatMap(Object.values).flatMap(Object.values);
|
|
259
|
+
return await U(v), p;
|
|
260
|
+
} catch (p) {
|
|
261
|
+
return console.error(p), {};
|
|
262
262
|
} finally {
|
|
263
263
|
t.status.bulkUpsert(
|
|
264
|
-
Qt(h, (
|
|
264
|
+
Qt(h, (p) => p.id).map((p) => (p.status = "complete", p))
|
|
265
265
|
);
|
|
266
266
|
}
|
|
267
267
|
},
|
|
@@ -289,9 +289,9 @@ const Yt = St(null), pe = ({
|
|
|
289
289
|
const e = await t.status.find({ selector: { status: "pending" } }).update({ $set: { status: "in-progress" } });
|
|
290
290
|
if (e.length < 1)
|
|
291
291
|
return;
|
|
292
|
-
const s = Jt(e,
|
|
292
|
+
const s = Jt(e, M);
|
|
293
293
|
G(
|
|
294
|
-
`Enriching ${e.length} selectors in ${s.length} chunks of ${
|
|
294
|
+
`Enriching ${e.length} selectors in ${s.length} chunks of ${M}.`,
|
|
295
295
|
C
|
|
296
296
|
), await Promise.all(
|
|
297
297
|
// For performance reasons, we chunk the requests. This will allow us to take advantage of parellelization in the
|
|
@@ -314,7 +314,7 @@ const Yt = St(null), pe = ({
|
|
|
314
314
|
});
|
|
315
315
|
}
|
|
316
316
|
try {
|
|
317
|
-
const a = {}, l =
|
|
317
|
+
const a = {}, l = dt(c.flatMap((o) => o.sources ?? []));
|
|
318
318
|
l.length > 0 && (a.sources = l), await W(
|
|
319
319
|
c.map((o) => o.toSelector()),
|
|
320
320
|
a
|
|
@@ -330,11 +330,11 @@ const Yt = St(null), pe = ({
|
|
|
330
330
|
200,
|
|
331
331
|
{ maxWait: 500, leading: !1 }
|
|
332
332
|
),
|
|
333
|
-
[W,
|
|
333
|
+
[W, M, t, C, Q]
|
|
334
334
|
);
|
|
335
|
-
|
|
336
|
-
}, [t, C]),
|
|
337
|
-
if (
|
|
335
|
+
P(() => {
|
|
336
|
+
}, [t, C]), P(() => {
|
|
337
|
+
if (!$ || !x || !(t != null && t.status))
|
|
338
338
|
return;
|
|
339
339
|
if (t != null && t.status.closed) {
|
|
340
340
|
console.warn("Status collection is closed");
|
|
@@ -352,8 +352,8 @@ const Yt = St(null), pe = ({
|
|
|
352
352
|
console.warn(s);
|
|
353
353
|
}
|
|
354
354
|
};
|
|
355
|
-
}, [
|
|
356
|
-
const nt =
|
|
355
|
+
}, [$, x, t, C, A, (ut = t == null ? void 0 : t.status) == null ? void 0 : ut.closed]);
|
|
356
|
+
const nt = j(
|
|
357
357
|
async (e, s, c) => {
|
|
358
358
|
var l, o;
|
|
359
359
|
if (!e)
|
|
@@ -375,35 +375,35 @@ const Yt = St(null), pe = ({
|
|
|
375
375
|
}))), a;
|
|
376
376
|
},
|
|
377
377
|
[E, t]
|
|
378
|
-
), rt =
|
|
378
|
+
), rt = j(async () => {
|
|
379
379
|
if (!(t != null && t.selectors) || t.selectors.closed)
|
|
380
380
|
return;
|
|
381
|
-
const e = await t.selectors.find({ selector: { error: { $exists: !0 } } }).exec(), s =
|
|
381
|
+
const e = await t.selectors.find({ selector: { error: { $exists: !0 } } }).exec(), s = pt(e, "classification"), c = [];
|
|
382
382
|
for (const [i, a] of Object.entries(s)) {
|
|
383
|
-
const l =
|
|
383
|
+
const l = pt(a, (o) => `${o.type}:${o.value}`);
|
|
384
384
|
for (const o of Object.values(l))
|
|
385
385
|
c.push({
|
|
386
386
|
id: await H(o[0].type, o[0].value, i),
|
|
387
387
|
type: o[0].type,
|
|
388
388
|
value: o[0].value,
|
|
389
389
|
classification: i,
|
|
390
|
-
sources:
|
|
390
|
+
sources: dt(o.map((h) => h.source)).sort(),
|
|
391
391
|
status: "pending"
|
|
392
392
|
});
|
|
393
393
|
}
|
|
394
|
-
c.length > 0 && (await t.status.bulkInsert(c),
|
|
395
|
-
}, [t,
|
|
394
|
+
c.length > 0 && (await t.status.bulkInsert(c), $ && x && A()), await t.selectors.bulkRemove(e);
|
|
395
|
+
}, [t, $, A, x]), it = j(
|
|
396
396
|
(e) => {
|
|
397
397
|
var l, o;
|
|
398
398
|
if (!e)
|
|
399
399
|
return null;
|
|
400
|
-
const s = Object.entries(
|
|
400
|
+
const s = Object.entries(b), c = (l = s.find(([h, f]) => f.exec(e))) == null ? void 0 : l[0];
|
|
401
401
|
if (c)
|
|
402
402
|
return c;
|
|
403
403
|
const i = e.toLowerCase(), a = (o = s.find(([h, f]) => f.exec(i))) == null ? void 0 : o[0];
|
|
404
404
|
return a || null;
|
|
405
405
|
},
|
|
406
|
-
[
|
|
406
|
+
[b]
|
|
407
407
|
), Et = K(
|
|
408
408
|
() => {
|
|
409
409
|
var e;
|
|
@@ -413,7 +413,7 @@ const Yt = St(null), pe = ({
|
|
|
413
413
|
enrichFailedEnrichments: rt,
|
|
414
414
|
sources: O,
|
|
415
415
|
setSources: vt,
|
|
416
|
-
typesDetection:
|
|
416
|
+
typesDetection: b,
|
|
417
417
|
supportedTypes: T,
|
|
418
418
|
availableSources: q,
|
|
419
419
|
guessType: it,
|
|
@@ -422,7 +422,7 @@ const Yt = St(null), pe = ({
|
|
|
422
422
|
setDefaultClassification: N,
|
|
423
423
|
setReady: wt,
|
|
424
424
|
defaultClassification: E,
|
|
425
|
-
ready: x && !!t && !!((e =
|
|
425
|
+
ready: x && !!t && !!((e = g.config) != null && e.c12nDef) && (Ut(F) || L)
|
|
426
426
|
};
|
|
427
427
|
},
|
|
428
428
|
[
|
|
@@ -430,7 +430,7 @@ const Yt = St(null), pe = ({
|
|
|
430
430
|
st,
|
|
431
431
|
rt,
|
|
432
432
|
O,
|
|
433
|
-
|
|
433
|
+
b,
|
|
434
434
|
T,
|
|
435
435
|
q,
|
|
436
436
|
it,
|
|
@@ -439,7 +439,7 @@ const Yt = St(null), pe = ({
|
|
|
439
439
|
E,
|
|
440
440
|
x,
|
|
441
441
|
t,
|
|
442
|
-
(lt =
|
|
442
|
+
(lt = g.config) == null ? void 0 : lt.c12nDef,
|
|
443
443
|
L
|
|
444
444
|
]
|
|
445
445
|
);
|
|
@@ -447,6 +447,6 @@ const Yt = St(null), pe = ({
|
|
|
447
447
|
};
|
|
448
448
|
export {
|
|
449
449
|
Yt as C,
|
|
450
|
-
|
|
450
|
+
de as a,
|
|
451
451
|
Qt as u
|
|
452
452
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import { Popover as x } from "@mui/material";
|
|
3
3
|
import c, { useRef as g, useState as v, useEffect as k } from "react";
|
|
4
|
-
import { A as R } from "../AnnotationDetails-
|
|
4
|
+
import { A as R } from "../AnnotationDetails-DU_7TqAH.js";
|
|
5
5
|
const w = c.memo(({ anchorEl: e, enrichRequest: u, open: o, onClose: d, ...i }) => {
|
|
6
6
|
var s, f, l;
|
|
7
7
|
const a = g(), [r, n] = v(!1);
|
|
@@ -4,13 +4,13 @@ import "@mui/material";
|
|
|
4
4
|
import "./display/icons/Iconified.js";
|
|
5
5
|
import "../data/event.js";
|
|
6
6
|
import "../hooks/ClueComponentContext.js";
|
|
7
|
-
import "../ActionForm-
|
|
7
|
+
import "../ActionForm-h08d0iw-.js";
|
|
8
8
|
import "../hooks/useAnnotations.js";
|
|
9
9
|
import "../hooks/useErrors.js";
|
|
10
10
|
import "../icons/iconMap.js";
|
|
11
11
|
import "../utils/window.js";
|
|
12
12
|
import "../groupBy-CrJC7sGa.js";
|
|
13
|
-
import { A as n } from "../AnnotationDetails-
|
|
13
|
+
import { A as n } from "../AnnotationDetails-DU_7TqAH.js";
|
|
14
14
|
import "../uniq-B4UZ671_.js";
|
|
15
15
|
import "react";
|
|
16
16
|
import "../index-BM9Sve5T.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "../iconify-Ptb5dTKy.js";
|
|
3
3
|
import "@mui/material";
|
|
4
|
-
import { A as d } from "../AnnotationPreview-
|
|
4
|
+
import { A as d } from "../AnnotationPreview-DjIO0yXp.js";
|
|
5
5
|
import "../hooks/useAnnotations.js";
|
|
6
6
|
import "../utils-SpTOhPYl.js";
|
|
7
7
|
import "react";
|
|
@@ -2,7 +2,7 @@ import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import { I as C } from "../iconify-Ptb5dTKy.js";
|
|
3
3
|
import { useTheme as F, Card as M, CardHeader as O, Stack as W, CircularProgress as B, Divider as D, CardContent as G, Grid as c, Chip as g, Typography as b, Tooltip as H, Box as N } from "@mui/material";
|
|
4
4
|
import { ClueComponentContext as R } from "../hooks/ClueComponentContext.js";
|
|
5
|
-
import { f as v } from "../ActionForm-
|
|
5
|
+
import { f as v } from "../ActionForm-h08d0iw-.js";
|
|
6
6
|
import _ from "../hooks/useAnnotations.js";
|
|
7
7
|
import $ from "../hooks/useErrors.js";
|
|
8
8
|
import J from "../icons/Assessment.js";
|
|
@@ -3,8 +3,8 @@ import { Chip as B, Tooltip as G, Box as _, Stack as H, CircularProgress as J }
|
|
|
3
3
|
import K from "./display/icons/Iconified.js";
|
|
4
4
|
import { ClueComponentContext as L } from "../hooks/ClueComponentContext.js";
|
|
5
5
|
import { ClueGroupContext as N } from "../hooks/ClueGroupContext.js";
|
|
6
|
-
import { C as E } from "../AnnotationPreview-
|
|
7
|
-
import { f as Q } from "../ActionForm-
|
|
6
|
+
import { C as E } from "../AnnotationPreview-DjIO0yXp.js";
|
|
7
|
+
import { f as Q } from "../ActionForm-h08d0iw-.js";
|
|
8
8
|
import U from "../hooks/useAnnotations.js";
|
|
9
9
|
import V from "../icons/Action.js";
|
|
10
10
|
import v from "../icons/Assessment.js";
|
|
@@ -3,8 +3,8 @@ import { useTheme as K, Stack as L, CircularProgress as Q, Tooltip as U, IconBut
|
|
|
3
3
|
import W from "./display/icons/Iconified.js";
|
|
4
4
|
import { ClueComponentContext as X } from "../hooks/ClueComponentContext.js";
|
|
5
5
|
import { ClueGroupContext as Y } from "../hooks/ClueGroupContext.js";
|
|
6
|
-
import { C as j } from "../AnnotationPreview-
|
|
7
|
-
import { f as Z } from "../ActionForm-
|
|
6
|
+
import { C as j } from "../AnnotationPreview-DjIO0yXp.js";
|
|
7
|
+
import { f as Z } from "../ActionForm-h08d0iw-.js";
|
|
8
8
|
import F from "../hooks/useAnnotations.js";
|
|
9
9
|
import _ from "../icons/Action.js";
|
|
10
10
|
import z from "../icons/Assessment.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { Button as o } from "@mui/material";
|
|
3
3
|
import { ClueComponentContext as i } from "../hooks/ClueComponentContext.js";
|
|
4
|
-
import { f as c } from "../ActionForm-
|
|
4
|
+
import { f as c } from "../ActionForm-h08d0iw-.js";
|
|
5
5
|
import { a as m } from "../index-BM9Sve5T.js";
|
|
6
6
|
const p = () => {
|
|
7
7
|
const t = c((e) => e.enrichFailedEnrichments), { t: r } = m(i, (e) => e.i18next);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as n, Fragment as v, jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import { Button as b, Popover as w, TextField as z, Divider as _, Stack as F, FormControlLabel as d, Checkbox as m } from "@mui/material";
|
|
3
|
-
import { e as E, f as a } from "../ActionForm-
|
|
3
|
+
import { e as E, f as a } from "../ActionForm-h08d0iw-.js";
|
|
4
4
|
import { memo as P, useState as g, useEffect as T } from "react";
|
|
5
5
|
const L = () => {
|
|
6
6
|
const { t: r } = E((e) => e.i18next), o = a((e) => e.availableSources), t = a((e) => e.sources), c = a((e) => e.setSources), [s, i] = g(null), [h, x] = g(), f = (e) => {
|
|
@@ -5,7 +5,7 @@ import "@mui/material";
|
|
|
5
5
|
import "../display/icons/Iconified.js";
|
|
6
6
|
import "../../index-Cj4d5cGz.js";
|
|
7
7
|
import "../../hooks/ClueComponentContext.js";
|
|
8
|
-
import { A } from "../../ActionForm-
|
|
8
|
+
import { A } from "../../ActionForm-h08d0iw-.js";
|
|
9
9
|
import "../../utils-SpTOhPYl.js";
|
|
10
10
|
import "react";
|
|
11
11
|
import "../../index-BM9Sve5T.js";
|
|
@@ -3,7 +3,7 @@ import { I as O } from "../../iconify-Ptb5dTKy.js";
|
|
|
3
3
|
import { useTheme as w, Tooltip as S, IconButton as z, CircularProgress as E, Button as D, Popover as M, Paper as B, Stack as l, Typography as I, Box as T, Divider as F } from "@mui/material";
|
|
4
4
|
import h from "../display/icons/Iconified.js";
|
|
5
5
|
import { ClueComponentContext as R } from "../../hooks/ClueComponentContext.js";
|
|
6
|
-
import { d as a } from "../../ActionForm-
|
|
6
|
+
import { d as a } from "../../ActionForm-h08d0iw-.js";
|
|
7
7
|
import W from "../../hooks/useClueConfig.js";
|
|
8
8
|
import { isAccessible as q } from "../../utils/classificationParser.js";
|
|
9
9
|
import { useState as G, useRef as H, useMemo as J, useEffect as P } from "react";
|
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "../../iconify-Ptb5dTKy.js";
|
|
3
3
|
import "@mui/material";
|
|
4
4
|
import "../../hooks/ClueComponentContext.js";
|
|
5
|
-
import { R as s } from "../../ActionForm-
|
|
5
|
+
import { R as s } from "../../ActionForm-h08d0iw-.js";
|
|
6
6
|
import "react";
|
|
7
7
|
import "../../index-BM9Sve5T.js";
|
|
8
8
|
import "../ClassificationChip.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as y, Fragment as C, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useTheme as k, Tooltip as S, IconButton as E, CircularProgress as d, Button as z, Popover as I, Paper as j, Stack as c, Box as P, Typography as B, Divider as O } from "@mui/material";
|
|
3
|
-
import { e as T, f as p, c as w } from "../../ActionForm-
|
|
3
|
+
import { e as T, f as p, c as w } from "../../ActionForm-h08d0iw-.js";
|
|
4
4
|
import { useState as m, useRef as M, useCallback as D, useEffect as F } from "react";
|
|
5
5
|
import g from "../display/icons/Iconified.js";
|
|
6
6
|
const H = ({ show: t = !1, size: b = "small", selector: n }) => {
|
|
@@ -4,7 +4,7 @@ import { useTheme as K, Skeleton as W, Chip as Q, Tooltip as D, Stack as s, Typo
|
|
|
4
4
|
import { F as E } from "../../FlexOne-BXWFOd1T.js";
|
|
5
5
|
import S from "../display/icons/Iconified.js";
|
|
6
6
|
import { ClueComponentContext as $ } from "../../hooks/ClueComponentContext.js";
|
|
7
|
-
import { g as f } from "../../ActionForm-
|
|
7
|
+
import { g as f } from "../../ActionForm-h08d0iw-.js";
|
|
8
8
|
import p, { useState as b, useRef as k, useMemo as N, useEffect as O, memo as P } from "react";
|
|
9
9
|
import { a as ee } from "../../index-BM9Sve5T.js";
|
|
10
10
|
import { FetcherResultView as te } from "./FetcherResultView.js";
|
|
@@ -4,7 +4,7 @@ import { F as _ } from "../../FlexOne-BXWFOd1T.js";
|
|
|
4
4
|
import k from "../display/icons/Iconified.js";
|
|
5
5
|
import { SNACKBAR_EVENT_ID as w } from "../../data/event.js";
|
|
6
6
|
import { ClueGroupContext as j } from "../../hooks/ClueGroupContext.js";
|
|
7
|
-
import { e as A, f as m, c as B } from "../../ActionForm-
|
|
7
|
+
import { e as A, f as m, c as B } from "../../ActionForm-h08d0iw-.js";
|
|
8
8
|
import { safeDispatchEvent as F } from "../../utils/window.js";
|
|
9
9
|
import { useState as d, useMemo as O, useCallback as T } from "react";
|
|
10
10
|
import { a as D } from "../../index-BM9Sve5T.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as e } from "react/jsx-runtime";
|
|
2
2
|
import { Stack as f, Typography as n } from "@mui/material";
|
|
3
3
|
import { ClueDatabaseContext as C } from "../../hooks/ClueDatabaseContext.js";
|
|
4
|
-
import { e as b, f as y } from "../../ActionForm-
|
|
4
|
+
import { e as b, f as y } from "../../ActionForm-h08d0iw-.js";
|
|
5
5
|
import { useContext as g, useState as u, useEffect as x } from "react";
|
|
6
6
|
const F = () => {
|
|
7
7
|
const { t: o } = b((s) => s.i18next), t = g(C), c = y((s) => s.ready), [i, p] = u(0), [a, m] = u(0), [l, d] = u(0);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "@mui/material";
|
|
3
|
-
import { C as A, a as d } from "../ActionForm-
|
|
3
|
+
import { C as A, a as d } from "../ActionForm-h08d0iw-.js";
|
|
4
4
|
import "../index-BH-gBhtO.js";
|
|
5
5
|
import "../components/display/icons/Iconified.js";
|
|
6
6
|
import "../components/ErrorBoundary.js";
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { jsx as f } from "react/jsx-runtime";
|
|
2
2
|
import { b as m } from "../index-D3Dwn-8x.js";
|
|
3
|
-
import { createContext as
|
|
4
|
-
const
|
|
3
|
+
import { createContext as d, useState as p, useRef as v, useEffect as r } from "react";
|
|
4
|
+
const h = d(null), C = ({
|
|
5
5
|
children: u,
|
|
6
6
|
database: e,
|
|
7
7
|
databaseConfig: o,
|
|
8
8
|
getToken: t,
|
|
9
9
|
baseURL: n
|
|
10
10
|
}) => {
|
|
11
|
-
const [c, s] =
|
|
11
|
+
const [c, s] = p(), i = v(t);
|
|
12
12
|
return r(() => {
|
|
13
|
-
|
|
13
|
+
i.current = t;
|
|
14
14
|
}, [t]), r(() => {
|
|
15
15
|
e && s(e);
|
|
16
16
|
}, [e]), r(() => {
|
|
17
|
-
let
|
|
18
|
-
if (
|
|
19
|
-
return console.warn("It is heavily suggested to initialize the database outside of the React component tree."), m({ baseURL: n, ...o, getToken:
|
|
20
|
-
|
|
17
|
+
let a = !1;
|
|
18
|
+
if (e === void 0)
|
|
19
|
+
return console.warn("It is heavily suggested to initialize the database outside of the React component tree."), m({ baseURL: n, ...o, getToken: i.current }).then((l) => {
|
|
20
|
+
a || s(l);
|
|
21
21
|
}), () => {
|
|
22
|
-
|
|
22
|
+
a = !0;
|
|
23
23
|
};
|
|
24
|
-
}, [e, n, o]), /* @__PURE__ */ f(
|
|
24
|
+
}, [e, n, o]), /* @__PURE__ */ f(h.Provider, { value: c, children: u });
|
|
25
25
|
};
|
|
26
26
|
export {
|
|
27
|
-
|
|
27
|
+
h as ClueDatabaseContext,
|
|
28
28
|
C as ClueDatabaseProvider
|
|
29
29
|
};
|
|
@@ -4,7 +4,7 @@ import "../index-BH-gBhtO.js";
|
|
|
4
4
|
import "../database/globals.js";
|
|
5
5
|
import "../utils/loggerUtil.js";
|
|
6
6
|
import "../utils-SpTOhPYl.js";
|
|
7
|
-
import { C as d, a as f } from "../ClueEnrichContext-
|
|
7
|
+
import { C as d, a as f } from "../ClueEnrichContext-BU7wzqVH.js";
|
|
8
8
|
import "../sessionStorage-DFMae61b.js";
|
|
9
9
|
import "../groupBy-CrJC7sGa.js";
|
|
10
10
|
import "../uniq-B4UZ671_.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import { useState as n, useMemo as c } from "react";
|
|
3
3
|
import { c as f } from "../index-BM9Sve5T.js";
|
|
4
|
-
import { f as m } from "../ActionForm-
|
|
4
|
+
import { f as m } from "../ActionForm-h08d0iw-.js";
|
|
5
5
|
const C = f(null), G = ({ children: s, type: o, classification: t }) => {
|
|
6
6
|
const e = m((i) => i.defaultClassification), [r, u] = n([]), a = c(
|
|
7
7
|
() => ({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "../components/AnnotationDetailPopover.js";
|
|
3
|
-
import { C as a, a as P } from "../AnnotationPreview-
|
|
3
|
+
import { C as a, a as P } from "../AnnotationPreview-DjIO0yXp.js";
|
|
4
4
|
import "../data/event.js";
|
|
5
5
|
import "../utils/window.js";
|
|
6
|
-
import "../AnnotationDetails-
|
|
6
|
+
import "../AnnotationDetails-DU_7TqAH.js";
|
|
7
7
|
import "react";
|
|
8
8
|
import "../index-BM9Sve5T.js";
|
|
9
9
|
export {
|
package/hooks/ClueProvider.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { ClueUIPluginProvider as o } from "./ClueUIPluginContext.js";
|
|
3
|
-
import { a as m } from "../ActionForm-
|
|
3
|
+
import { a as m } from "../ActionForm-h08d0iw-.js";
|
|
4
4
|
import { ClueComponentProvider as l } from "./ClueComponentContext.js";
|
|
5
5
|
import { ClueConfigProvider as n } from "./ClueConfigProvider.js";
|
|
6
6
|
import { ClueDatabaseProvider as d } from "./ClueDatabaseContext.js";
|
|
7
|
-
import { a as t } from "../ClueEnrichContext-
|
|
7
|
+
import { a as t } from "../ClueEnrichContext-BU7wzqVH.js";
|
|
8
8
|
import { ClueFetcherProvider as c } from "./ClueFetcherContext.js";
|
|
9
|
-
import { a as f } from "../AnnotationPreview-
|
|
9
|
+
import { a as f } from "../AnnotationPreview-DjIO0yXp.js";
|
|
10
10
|
const j = ({ children: i, ...e }) => /* @__PURE__ */ r(l, { ...e, children: /* @__PURE__ */ r(n, { config: e.config, children: /* @__PURE__ */ r(d, { ...e, children: /* @__PURE__ */ r(o, { ...e, children: /* @__PURE__ */ r(t, { ...e, children: /* @__PURE__ */ r(c, { ...e, children: /* @__PURE__ */ r(m, { ...e, children: /* @__PURE__ */ r(f, { children: i }) }) }) }) }) }) }) });
|
|
11
11
|
export {
|
|
12
12
|
j as ClueProvider
|
package/hooks/selectors.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as u, e as c, f as i, g as m } from "../ActionForm-
|
|
1
|
+
import { d as u, e as c, f as i, g as m } from "../ActionForm-h08d0iw-.js";
|
|
2
2
|
import "./ClueComponentContext.js";
|
|
3
|
-
import "../ClueEnrichContext-
|
|
3
|
+
import "../ClueEnrichContext-BU7wzqVH.js";
|
|
4
4
|
import "./ClueFetcherContext.js";
|
|
5
5
|
import "../index-BM9Sve5T.js";
|
|
6
6
|
export {
|
package/hooks/useActionResult.js
CHANGED
package/hooks/useAnnotations.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { u as w } from "../ClueEnrichContext-
|
|
1
|
+
import { u as w } from "../ClueEnrichContext-BU7wzqVH.js";
|
|
2
2
|
import { useContext as M, useMemo as S, useState as x, useEffect as u } from "react";
|
|
3
3
|
import { ClueDatabaseContext as y } from "./ClueDatabaseContext.js";
|
|
4
|
-
import { f as i } from "../ActionForm-
|
|
4
|
+
import { f as i } from "../ActionForm-h08d0iw-.js";
|
|
5
5
|
const N = (e, t, l, { skipEnrichment: f } = { skipEnrichment: !1 }) => {
|
|
6
6
|
var C;
|
|
7
7
|
const s = M(y), m = i((o) => o.defaultClassification), g = i((o) => o.ready), h = i((o) => o.availableSources), $ = i((o) => o.queueEnrich), n = S(
|
package/hooks/useClue.js
CHANGED
package/hooks/useClueActions.js
CHANGED
package/hooks/useErrors.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useContext as a, useState as f, useEffect as i } from "react";
|
|
2
2
|
import { ClueDatabaseContext as l } from "./ClueDatabaseContext.js";
|
|
3
|
-
import { f as m } from "../ActionForm-
|
|
3
|
+
import { f as m } from "../ActionForm-h08d0iw-.js";
|
|
4
4
|
const C = (r) => {
|
|
5
5
|
const e = a(l), o = m((s) => s.ready), [n, u] = f([]);
|
|
6
6
|
return i(() => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useState as S, useRef as T, useMemo as d, useEffect as g } from "react";
|
|
2
|
-
import { b as _ } from "../ActionForm-
|
|
2
|
+
import { b as _ } from "../ActionForm-h08d0iw-.js";
|
|
3
3
|
const x = (o, p = 2e3) => {
|
|
4
4
|
const [e, n] = S(o), f = T(null), { getActionStatus: I } = _(), m = d(() => o == null ? void 0 : o.task_id, [o == null ? void 0 : o.task_id]), R = d(() => o == null ? void 0 : o.actionId, [o == null ? void 0 : o.actionId]);
|
|
5
5
|
return g(() => {
|
package/icons/Action.js
CHANGED
|
@@ -2,8 +2,8 @@ import { jsx as e, jsxs as z } from "react/jsx-runtime";
|
|
|
2
2
|
import { I } from "../iconify-Ptb5dTKy.js";
|
|
3
3
|
import { useTheme as b, Stack as i, Divider as l, Typography as C } from "@mui/material";
|
|
4
4
|
import R from "../components/CountBadge.js";
|
|
5
|
-
import { C as v } from "../AnnotationPreview-
|
|
6
|
-
import { b as j } from "../ActionForm-
|
|
5
|
+
import { C as v } from "../AnnotationPreview-DjIO0yXp.js";
|
|
6
|
+
import { b as j } from "../ActionForm-h08d0iw-.js";
|
|
7
7
|
import { g as B } from "../groupBy-CrJC7sGa.js";
|
|
8
8
|
import { memo as D, useRef as A, useMemo as s, useEffect as L } from "react";
|
|
9
9
|
import { a as M } from "../index-BM9Sve5T.js";
|
package/icons/Assessment.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs as b, Fragment as k, jsx as s } from "react/jsx-runtime";
|
|
|
2
2
|
import { I as l } from "../iconify-Ptb5dTKy.js";
|
|
3
3
|
import { useTheme as j, Stack as y, Chip as I, Divider as q, Grid as C, Tooltip as A } from "@mui/material";
|
|
4
4
|
import z from "../components/CountBadge.js";
|
|
5
|
-
import { C as w } from "../AnnotationPreview-
|
|
5
|
+
import { C as w } from "../AnnotationPreview-DjIO0yXp.js";
|
|
6
6
|
import { g as O } from "../groupBy-CrJC7sGa.js";
|
|
7
7
|
import { l as P } from "../last-7CdUxN0r.js";
|
|
8
8
|
import { m as L } from "../maxBy-BOWDkL_D.js";
|
package/icons/Context.js
CHANGED
|
@@ -4,7 +4,7 @@ import { Stack as u, Divider as z } from "@mui/material";
|
|
|
4
4
|
import v from "../components/AnnotationEntry.js";
|
|
5
5
|
import E from "../components/CountBadge.js";
|
|
6
6
|
import M from "../components/display/icons/Iconified.js";
|
|
7
|
-
import { C as x } from "../AnnotationPreview-
|
|
7
|
+
import { C as x } from "../AnnotationPreview-DjIO0yXp.js";
|
|
8
8
|
import { g as O } from "../groupBy-CrJC7sGa.js";
|
|
9
9
|
import { memo as j, useRef as k, useMemo as h, useEffect as B } from "react";
|
|
10
10
|
import { a as g } from "../index-BM9Sve5T.js";
|
package/icons/Opinion.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs as x, Fragment as R, jsx as r } from "react/jsx-runtime";
|
|
|
2
2
|
import { I as u } from "../iconify-Ptb5dTKy.js";
|
|
3
3
|
import { useTheme as S, Stack as b, Chip as y, Divider as j, Grid as I } from "@mui/material";
|
|
4
4
|
import q from "../components/CountBadge.js";
|
|
5
|
-
import { C as v } from "../AnnotationPreview-
|
|
5
|
+
import { C as v } from "../AnnotationPreview-DjIO0yXp.js";
|
|
6
6
|
import { g as B } from "../groupBy-CrJC7sGa.js";
|
|
7
7
|
import { s as E } from "../sortBy-BHe812lF.js";
|
|
8
8
|
import { s as M } from "../sumBy-B7f_bP_k.js";
|
package/main.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { A as t, b as r, d as a, f, g as u } from "./ActionForm-
|
|
1
|
+
import { A as t, b as r, d as a, f, g as u } from "./ActionForm-h08d0iw-.js";
|
|
2
2
|
import { default as n } from "./components/AnnotationDetailPopover.js";
|
|
3
|
-
import { A as p } from "./AnnotationDetails-
|
|
3
|
+
import { A as p } from "./AnnotationDetails-DU_7TqAH.js";
|
|
4
4
|
import { default as m } from "./components/AnnotationEntry.js";
|
|
5
|
-
import { A as d, C as i } from "./AnnotationPreview-
|
|
5
|
+
import { A as d, C as i } from "./AnnotationPreview-DjIO0yXp.js";
|
|
6
6
|
import { default as A } from "./components/CountBadge.js";
|
|
7
7
|
import { default as E } from "./components/EnrichedCard.js";
|
|
8
8
|
import { default as P } from "./components/EnrichedChip.js";
|
|
@@ -18,7 +18,7 @@ import { b as R } from "./index-D3Dwn-8x.js";
|
|
|
18
18
|
import { ClueComponentContext as V } from "./hooks/ClueComponentContext.js";
|
|
19
19
|
import { ClueConfigContext as z } from "./hooks/ClueConfigProvider.js";
|
|
20
20
|
import { ClueDatabaseContext as J } from "./hooks/ClueDatabaseContext.js";
|
|
21
|
-
import { C as M } from "./ClueEnrichContext-
|
|
21
|
+
import { C as M } from "./ClueEnrichContext-BU7wzqVH.js";
|
|
22
22
|
import { ClueProvider as W } from "./hooks/ClueProvider.js";
|
|
23
23
|
import { default as Y } from "./hooks/useClue.js";
|
|
24
24
|
import { default as $ } from "./hooks/useClueConfig.js";
|