@cccsaurora/clue-ui 1.5.1 → 1.5.2
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-By62TWQn.js → ActionForm-DyadV6i1.js} +3 -3
- package/{AnnotationDetails-CVbJmRIa.js → AnnotationDetails-AnkzvxW1.js} +1 -1
- package/{AnnotationPreview-RL4F2VHf.js → AnnotationPreview-B72dSvQZ.js} +1 -1
- package/{ClueEnrichContext-CAgbYy4-.js → ClueEnrichContext-A1cGLyI8.js} +1 -1
- 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/database/index.js +2 -2
- package/database/replication.js +2 -2
- package/hooks/ClueActionContext.js +2 -2
- package/hooks/ClueDatabaseContext.js +1 -1
- package/hooks/ClueEnrichContext.js +2 -2
- package/hooks/ClueFetcherContext.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 +28 -23
- package/hooks/useClue.js +1 -1
- package/hooks/useClueActions.js +1 -1
- package/hooks/useClueTypeConfig.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/{index-D9sCYTQI.js → index-CUZaIXbi.js} +3 -3
- package/{index-D3JK50MV.js → index-DZAmjabe.js} +1 -1
- package/{index-CVt7zlTT.js → index-Ds-Gm925.js} +2 -2
- package/main.js +5 -5
- package/package.json +2 -2
- package/{replication-BHjGIZQL.js → replication-DoRkIyyp.js} +2 -1
|
@@ -6,8 +6,8 @@ import ln from "./components/display/icons/Iconified.js";
|
|
|
6
6
|
import { J as In } from "./index-Cj4d5cGz.js";
|
|
7
7
|
import { ClueComponentContext as Ke } from "./hooks/ClueComponentContext.js";
|
|
8
8
|
import { g as qn } from "./_commonjsHelpers-C6fGbg64.js";
|
|
9
|
-
import { c as Mn, r as un, a as Vn } from "./index-
|
|
10
|
-
import { a as Mt } from "./index-
|
|
9
|
+
import { c as Mn, r as un, a as Vn } from "./index-Ds-Gm925.js";
|
|
10
|
+
import { a as Mt } from "./index-CUZaIXbi.js";
|
|
11
11
|
import { d as dn } from "./_baseGet-bVwDaGrA.js";
|
|
12
12
|
import { b as Fn } from "./_baseSlice-M5RKzt1A.js";
|
|
13
13
|
import { i as Un } from "./utils-SpTOhPYl.js";
|
|
@@ -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-A1cGLyI8.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-DyadV6i1.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-AnkzvxW1.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(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as It } from "react/jsx-runtime";
|
|
2
2
|
import { a as $t } from "./iconify-Ptb5dTKy.js";
|
|
3
|
-
import { a as Ct, p as ft } from "./index-
|
|
3
|
+
import { a as Ct, p as ft } from "./index-CUZaIXbi.js";
|
|
4
4
|
import { REPLICATORS as b } from "./database/globals.js";
|
|
5
5
|
import { clueDebugLogger as G } from "./utils/loggerUtil.js";
|
|
6
6
|
import { detectType as Ot } from "./utils/typeDetection.js";
|
|
@@ -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-AnkzvxW1.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-DyadV6i1.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-AnkzvxW1.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-B72dSvQZ.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-DyadV6i1.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-B72dSvQZ.js";
|
|
7
|
+
import { f as Q } from "../ActionForm-DyadV6i1.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-B72dSvQZ.js";
|
|
7
|
+
import { f as Z } from "../ActionForm-DyadV6i1.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-DyadV6i1.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-DyadV6i1.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-DyadV6i1.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-DyadV6i1.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-DyadV6i1.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-DyadV6i1.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-DyadV6i1.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-DyadV6i1.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-DyadV6i1.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);
|
package/database/index.js
CHANGED
package/database/replication.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "@mui/material";
|
|
3
|
-
import { C as A, a as d } from "../ActionForm-
|
|
4
|
-
import "../index-
|
|
3
|
+
import { C as A, a as d } from "../ActionForm-DyadV6i1.js";
|
|
4
|
+
import "../index-CUZaIXbi.js";
|
|
5
5
|
import "../components/display/icons/Iconified.js";
|
|
6
6
|
import "../components/ErrorBoundary.js";
|
|
7
7
|
import "../data/event.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as f } from "react/jsx-runtime";
|
|
2
|
-
import { b as m } from "../index-
|
|
2
|
+
import { b as m } from "../index-Ds-Gm925.js";
|
|
3
3
|
import { createContext as d, useState as h, useRef as p, useEffect as i } from "react";
|
|
4
4
|
const v = d(null), C = ({
|
|
5
5
|
children: l,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "../iconify-Ptb5dTKy.js";
|
|
3
|
-
import "../index-
|
|
3
|
+
import "../index-CUZaIXbi.js";
|
|
4
4
|
import "../database/globals.js";
|
|
5
5
|
import "../utils/loggerUtil.js";
|
|
6
6
|
import "../utils/typeDetection.js";
|
|
7
7
|
import "../utils-SpTOhPYl.js";
|
|
8
|
-
import { C as f, a as v } from "../ClueEnrichContext-
|
|
8
|
+
import { C as f, a as v } from "../ClueEnrichContext-A1cGLyI8.js";
|
|
9
9
|
import "../sessionStorage-DFMae61b.js";
|
|
10
10
|
import "../groupBy-CrJC7sGa.js";
|
|
11
11
|
import "../uniq-B4UZ671_.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as P } from "react/jsx-runtime";
|
|
2
|
-
import { a as l } from "../index-
|
|
2
|
+
import { a as l } from "../index-CUZaIXbi.js";
|
|
3
3
|
import { SNACKBAR_EVENT_ID as R } from "../data/event.js";
|
|
4
4
|
import { safeDispatchEvent as x } from "../utils/window.js";
|
|
5
5
|
import { useState as C, useRef as T, useMemo as F, useCallback as h, useEffect as d } from "react";
|
|
@@ -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-DyadV6i1.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-B72dSvQZ.js";
|
|
4
4
|
import "../data/event.js";
|
|
5
5
|
import "../utils/window.js";
|
|
6
|
-
import "../AnnotationDetails-
|
|
6
|
+
import "../AnnotationDetails-AnkzvxW1.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-DyadV6i1.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-A1cGLyI8.js";
|
|
8
8
|
import { ClueFetcherProvider as c } from "./ClueFetcherContext.js";
|
|
9
|
-
import { a as f } from "../AnnotationPreview-
|
|
9
|
+
import { a as f } from "../AnnotationPreview-B72dSvQZ.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-DyadV6i1.js";
|
|
2
2
|
import "./ClueComponentContext.js";
|
|
3
|
-
import "../ClueEnrichContext-
|
|
3
|
+
import "../ClueEnrichContext-A1cGLyI8.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,39 +1,44 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { d as A } from "../_baseGet-bVwDaGrA.js";
|
|
2
|
+
import { u as w } from "../ClueEnrichContext-A1cGLyI8.js";
|
|
3
|
+
import { useContext as M, useMemo as x, useState as C, useEffect as u } from "react";
|
|
3
4
|
import { ClueDatabaseContext as y } from "./ClueDatabaseContext.js";
|
|
4
|
-
import { f as i } from "../ActionForm-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
import { f as i } from "../ActionForm-DyadV6i1.js";
|
|
6
|
+
var E = /[\\^$.*+?()[\]{}|]/g, B = RegExp(E.source);
|
|
7
|
+
function D(o) {
|
|
8
|
+
return o = A(o), o && B.test(o) ? o.replace(E, "\\$&") : o;
|
|
9
|
+
}
|
|
10
|
+
const j = (o, t, l, { skipEnrichment: f } = { skipEnrichment: !1 }) => {
|
|
11
|
+
var $;
|
|
12
|
+
const s = M(y), m = i((e) => e.defaultClassification), p = i((e) => e.ready), g = i((e) => e.availableSources), h = i((e) => e.queueEnrich), r = x(
|
|
8
13
|
() => l ?? m,
|
|
9
14
|
[l, m]
|
|
10
|
-
), [
|
|
11
|
-
() =>
|
|
15
|
+
), [S, a] = C(!1), [R, d] = C([]), n = x(
|
|
16
|
+
() => p && !!o && !!t && !!r && !!(s != null && s.selectors) && !s.selectors.closed,
|
|
12
17
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
13
|
-
[
|
|
18
|
+
[r, s == null ? void 0 : s.selectors, ($ = s == null ? void 0 : s.selectors) == null ? void 0 : $.closed, p, o, t]
|
|
14
19
|
);
|
|
15
20
|
return u(() => {
|
|
16
|
-
if (!
|
|
21
|
+
if (!n || !(s != null && s.status))
|
|
17
22
|
return;
|
|
18
23
|
if (s.status.closed) {
|
|
19
24
|
console.warn("Status collection is closed");
|
|
20
25
|
return;
|
|
21
26
|
}
|
|
22
|
-
const
|
|
27
|
+
const e = s.status.count({ selector: { type: o, value: t, classification: r, status: "in-progress" } }).$.subscribe((c) => a(c > 0));
|
|
23
28
|
return () => {
|
|
24
|
-
|
|
29
|
+
e == null || e.unsubscribe();
|
|
25
30
|
};
|
|
26
|
-
}, [
|
|
27
|
-
f ||
|
|
28
|
-
}, [
|
|
29
|
-
if (!
|
|
31
|
+
}, [r, s, n, o, t]), u(() => {
|
|
32
|
+
f || g.length < 1 || !n || !(s != null && s.status) || s.status.closed || h(o, t, r);
|
|
33
|
+
}, [g.length, r, s == null ? void 0 : s.status, h, n, f, o, t]), u(() => {
|
|
34
|
+
if (!n || !(s != null && s.selectors) || s.selectors.closed)
|
|
30
35
|
return;
|
|
31
|
-
const
|
|
36
|
+
const e = s.selectors.find({
|
|
32
37
|
selector: {
|
|
33
38
|
$or: [
|
|
34
39
|
{
|
|
35
40
|
// Use regex instead of exact value for case-insensitivity
|
|
36
|
-
value: { $regex: `^${t}$`, $options: "i" }
|
|
41
|
+
value: { $regex: `^${D(t)}$`, $options: "i" }
|
|
37
42
|
},
|
|
38
43
|
{
|
|
39
44
|
value: t
|
|
@@ -41,22 +46,22 @@ const N = (e, t, l, { skipEnrichment: f } = { skipEnrichment: !1 }) => {
|
|
|
41
46
|
]
|
|
42
47
|
}
|
|
43
48
|
}).$.subscribe(
|
|
44
|
-
(c) =>
|
|
49
|
+
(c) => d(
|
|
45
50
|
w(
|
|
46
|
-
c.flatMap((
|
|
51
|
+
c.flatMap((q) => q.getAnnotations()),
|
|
47
52
|
JSON.stringify
|
|
48
53
|
)
|
|
49
54
|
)
|
|
50
55
|
);
|
|
51
56
|
return () => {
|
|
52
57
|
try {
|
|
53
|
-
|
|
58
|
+
e.unsubscribe();
|
|
54
59
|
} catch (c) {
|
|
55
60
|
console.warn(c);
|
|
56
61
|
}
|
|
57
62
|
};
|
|
58
|
-
}, [s,
|
|
63
|
+
}, [s, n, t]), [R, S];
|
|
59
64
|
};
|
|
60
65
|
export {
|
|
61
|
-
|
|
66
|
+
j as default
|
|
62
67
|
};
|
package/hooks/useClue.js
CHANGED
package/hooks/useClueActions.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a } from "../index-
|
|
1
|
+
import { a } from "../index-CUZaIXbi.js";
|
|
2
2
|
import { clueDebugLogger as b } from "../utils/loggerUtil.js";
|
|
3
3
|
import { compileTypeDetectors as h } from "../utils/typeDetection.js";
|
|
4
4
|
import { i as j } from "../isEmpty-DKxrY-_M.js";
|
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-DyadV6i1.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-DyadV6i1.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-B72dSvQZ.js";
|
|
6
|
+
import { b as j } from "../ActionForm-DyadV6i1.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-B72dSvQZ.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-B72dSvQZ.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-B72dSvQZ.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";
|
|
@@ -104,9 +104,9 @@ const Lr = (e, t, n = { timeout: null }, r) => {
|
|
|
104
104
|
all_documentation: no,
|
|
105
105
|
documentation: oo,
|
|
106
106
|
uri: Ct
|
|
107
|
-
}, Symbol.toStringTag, { value: "Module" })), Nt = () => I(oe(), "sync"), io = (e, t, n, r, o) => {
|
|
108
|
-
const
|
|
109
|
-
return
|
|
107
|
+
}, Symbol.toStringTag, { value: "Module" })), Nt = () => I(oe(), "sync"), io = (e, t, n, r, o, s) => {
|
|
108
|
+
const i = new URLSearchParams();
|
|
109
|
+
return i.set("limit", String(t)), le(n) || i.set("id", n.toString()), le(r) || i.set("updated_at", r.toString()), !le(o) && o && i.set("omit_deleted", "true"), K(nt(Nt(), e), i, s);
|
|
110
110
|
}, ao = (e, t, n) => Fe(nt(Nt(), e), t, n), co = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
111
111
|
__proto__: null,
|
|
112
112
|
get: io,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as A, E as I, D as F, Z as N, J as P, aH as a, az as f, al as h, ad as W, aj as y, a$ as E, G as $, ai as w, aI as u, ah as J, aw as q, aN as K, a9 as H, a1 as V, a7 as G, ao as z, R as j, ap as Y, a2 as Z } from "./replication-
|
|
1
|
+
import { N as A, E as I, D as F, Z as N, J as P, aH as a, az as f, al as h, ad as W, aj as y, a$ as E, G as $, ai as w, aI as u, ah as J, aw as q, aN as K, a9 as H, a1 as V, a7 as G, ao as z, R as j, ap as Y, a2 as Z } from "./replication-DoRkIyyp.js";
|
|
2
2
|
var S = {
|
|
3
3
|
// util.js / config
|
|
4
4
|
UT1: "given name is no string or empty",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { d as ts } from "./sessionStorage-DFMae61b.js";
|
|
2
2
|
import { i as rs } from "./isObject-B53jY8Qg.js";
|
|
3
|
-
import { aq as ns, aL as as, W as ss, ax as is, U as Ye, b0 as We, H as be, a4 as os, at as Ae, T as tr, V as qe, c as cs, f as us, h as ls, k as ds, m as fs, p as hs, M as ms, ay as ps, X as ga, $ as vs, al as kr, aK as ys, y as Lt, I as He, a5 as Te, ag as Ce, ai as Me, aS as gs, B as _s, aG as $s, aa as ws, a8 as bs, ab as Je, a0 as Ss, _ as Es, aP as Ps, aH as xe, af as Is, aJ as Tr, aN as Os, aM as Ht, az as Rs, ac as Ns, S as rr, a_ as _a, K as $a, aO as wa, ak as ba, am as Sa, P as Ea, z as Bt, R as Pa, a6 as Ia, aQ as Oa, a1 as Ra, aT as ks, a as Ts, b as js, d as Ds, e as Cs, g as As, i as qs, j as Ms, l as xs, n as Fs, o as zs, q as Vs, r as Ks, s as Us, t as Ls, u as Hs, v as Bs, w as Gs, x as Ws, ar as Js, C as Qs, Q as jr, b2 as Xs, aU as Dr, au as Ys, aB as Qe, aD as Zs, O as ei, an as Ze, as as ti, b1 as ri, aA as Xe, aC as ni, av as Na, L as we, aW as ai, ae as si, aV as ii, aX as br, aF as oi, aY as Kr, A as Ur, aE as Lr, G as ci, aj as Hr, aZ as ui, a3 as li, F as tt, Y as di, aR as fi } from "./replication-
|
|
3
|
+
import { aq as ns, aL as as, W as ss, ax as is, U as Ye, b0 as We, H as be, a4 as os, at as Ae, T as tr, V as qe, c as cs, f as us, h as ls, k as ds, m as fs, p as hs, M as ms, ay as ps, X as ga, $ as vs, al as kr, aK as ys, y as Lt, I as He, a5 as Te, ag as Ce, ai as Me, aS as gs, B as _s, aG as $s, aa as ws, a8 as bs, ab as Je, a0 as Ss, _ as Es, aP as Ps, aH as xe, af as Is, aJ as Tr, aN as Os, aM as Ht, az as Rs, ac as Ns, S as rr, a_ as _a, K as $a, aO as wa, ak as ba, am as Sa, P as Ea, z as Bt, R as Pa, a6 as Ia, aQ as Oa, a1 as Ra, aT as ks, a as Ts, b as js, d as Ds, e as Cs, g as As, i as qs, j as Ms, l as xs, n as Fs, o as zs, q as Vs, r as Ks, s as Us, t as Ls, u as Hs, v as Bs, w as Gs, x as Ws, ar as Js, C as Qs, Q as jr, b2 as Xs, aU as Dr, au as Ys, aB as Qe, aD as Zs, O as ei, an as Ze, as as ti, b1 as ri, aA as Xe, aC as ni, av as Na, L as we, aW as ai, ae as si, aV as ii, aX as br, aF as oi, aY as Kr, A as Ur, aE as Lr, G as ci, aj as Hr, aZ as ui, a3 as li, F as tt, Y as di, aR as fi } from "./replication-DoRkIyyp.js";
|
|
4
4
|
import { g as ka } from "./_commonjsHelpers-C6fGbg64.js";
|
|
5
5
|
import { REPLICATE as hi } from "./utils/constants.js";
|
|
6
6
|
import { REPLICATORS as mi } from "./database/globals.js";
|
|
@@ -6771,7 +6771,7 @@ const _u = ["type", "value"], $u = !0, wu = "id", bu = { _deleted: { type: "bool
|
|
|
6771
6771
|
};
|
|
6772
6772
|
tt(Xo), tt(Li), tt(gu);
|
|
6773
6773
|
/* v8 ignore next 10 -- @preserve */
|
|
6774
|
-
t.devMode && await import("./index-
|
|
6774
|
+
t.devMode && await import("./index-DZAmjabe.js").then((r) => {
|
|
6775
6775
|
tt(r.RxDBDevModePlugin), t.testing && r.disableWarnings();
|
|
6776
6776
|
});
|
|
6777
6777
|
const s = await di({
|
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-DyadV6i1.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-AnkzvxW1.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-B72dSvQZ.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";
|
|
@@ -14,12 +14,12 @@ import { default as G } from "./components/group/Group.js";
|
|
|
14
14
|
import { default as R } from "./components/group/GroupControl.js";
|
|
15
15
|
import { default as k } from "./components/SourcePicker.js";
|
|
16
16
|
import { SNACKBAR_EVENT_ID as w } from "./data/event.js";
|
|
17
|
-
import { b as O } from "./index-
|
|
17
|
+
import { b as O } from "./index-Ds-Gm925.js";
|
|
18
18
|
import { ClueReplicationError as V } from "./database/errors.js";
|
|
19
19
|
import { ClueComponentContext as z } from "./hooks/ClueComponentContext.js";
|
|
20
20
|
import { ClueConfigContext as J } from "./hooks/ClueConfigProvider.js";
|
|
21
21
|
import { ClueDatabaseContext as M } from "./hooks/ClueDatabaseContext.js";
|
|
22
|
-
import { C as W } from "./ClueEnrichContext-
|
|
22
|
+
import { C as W } from "./ClueEnrichContext-A1cGLyI8.js";
|
|
23
23
|
import { ClueProvider as Y } from "./hooks/ClueProvider.js";
|
|
24
24
|
import { default as $ } from "./hooks/useClue.js";
|
|
25
25
|
import { default as oe } from "./hooks/useClueConfig.js";
|
package/package.json
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"d3": "^7.9.2",
|
|
22
22
|
"dayjs": "^1.11.23",
|
|
23
23
|
"fuse.js": "^7.5.0",
|
|
24
|
-
"i18next": "^
|
|
24
|
+
"i18next": "^26.3.4",
|
|
25
25
|
"i18next-browser-languagedetector": "^7.2.2",
|
|
26
26
|
"lodash-es": "^4.18.1",
|
|
27
27
|
"react-i18next": "^13.5.0",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
},
|
|
59
59
|
"type": "module",
|
|
60
60
|
"types": "main.d.ts",
|
|
61
|
-
"version": "1.5.
|
|
61
|
+
"version": "1.5.2",
|
|
62
62
|
"exports": {
|
|
63
63
|
".": "./main.js",
|
|
64
64
|
"./index.css": "./index.css",
|
|
@@ -5,7 +5,7 @@ var Bn = (e) => {
|
|
|
5
5
|
var bs = (e, t, r) => t in e ? _s(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
6
6
|
var He = (e, t, r) => bs(e, typeof t != "symbol" ? t + "" : t, r), Fn = (e, t, r) => t.has(e) || Bn("Cannot " + r);
|
|
7
7
|
var y = (e, t, r) => (Fn(e, t, "read from private field"), r ? r.call(e) : t.get(e)), N = (e, t, r) => t.has(e) ? Bn("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), B = (e, t, r, n) => (Fn(e, t, "write to private field"), n ? n.call(e, r) : t.set(e, r), r);
|
|
8
|
-
import { a as jn, j as Ss, u as Es } from "./index-
|
|
8
|
+
import { a as jn, j as Ss, u as Es } from "./index-CUZaIXbi.js";
|
|
9
9
|
import { ClueReplicationError as ks } from "./database/errors.js";
|
|
10
10
|
import { REPLICATORS as Is } from "./database/globals.js";
|
|
11
11
|
import { l as qn } from "./last-7CdUxN0r.js";
|
|
@@ -8412,6 +8412,7 @@ const td = 250, gs = (e) => {
|
|
|
8412
8412
|
handler: async (s) => {
|
|
8413
8413
|
const o = s ? s.id : null, u = s ? s.last_updated : 0, c = await jn.sync.get(
|
|
8414
8414
|
t.name,
|
|
8415
|
+
n,
|
|
8415
8416
|
o,
|
|
8416
8417
|
u,
|
|
8417
8418
|
!s,
|