@cccsaurora/clue-ui 1.4.0-dev.436 → 1.4.0-dev.445
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-DvB1yymK.js → ActionForm-CbLz66Rk.js} +2 -2
- package/{AnnotationDetails-iGjZ4fsU.js → AnnotationDetails-CdNvyJl7.js} +1 -1
- package/{AnnotationPreview-CC_w5vgD.js → AnnotationPreview-C6a3qRFG.js} +1 -1
- package/{ClueEnrichContext-CXO8eVCs.js → ClueEnrichContext-0eVIgvZp.js} +27 -5
- 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/actions/formats/index.js +1 -1
- package/components/enrichment/EnrichPopover.js +1 -1
- package/components/fetchers/Fetcher.js +1 -1
- package/components/fetchers/FetcherResultView.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 +1 -1
- package/hooks/ClueActionContext.js +1 -1
- package/hooks/ClueDatabaseContext.js +1 -1
- 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/ClueUIPluginContext.js +1 -1
- 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/{index-CAvu7vwt.js → index-CDrC9oSE.js} +1 -1
- package/{index-CZeUnHgc.js → index-IKI1G5v-.js} +2 -2
- package/main.js +5 -5
- package/package.json +21 -21
- package/plugins/store.js +1 -1
- package/{replication--gLEZw8a.js → replication-kdsH0l7f.js} +3 -1
- package/{store-B9sjQbcS.js → store-9Bv4xoVU.js} +3 -1
|
@@ -6,7 +6,7 @@ import Iconified from "./components/display/icons/Iconified.js";
|
|
|
6
6
|
import { J as JSONViewer } from "./index-DUEubgWN.js";
|
|
7
7
|
import { ClueComponentContext } from "./hooks/ClueComponentContext.js";
|
|
8
8
|
import { g as getDefaultExportFromCjs } from "./_commonjsHelpers-CUmg6egw.js";
|
|
9
|
-
import { c as requireJsonSchemaTraverse, r as requireFastDeepEqual, a as requireFastUri } from "./index-
|
|
9
|
+
import { c as requireJsonSchemaTraverse, r as requireFastDeepEqual, a as requireFastUri } from "./index-IKI1G5v-.js";
|
|
10
10
|
import { a as api } from "./index-DpJxD74E.js";
|
|
11
11
|
import { d as toString } from "./_baseGet-Cmp6FztG.js";
|
|
12
12
|
import { b as baseSlice } from "./_baseSlice-GAv_YFTT.js";
|
|
@@ -16,7 +16,7 @@ import { a as useContextSelector, c as createContext, u as useContext } from "./
|
|
|
16
16
|
import ErrorBoundary from "./components/ErrorBoundary.js";
|
|
17
17
|
import { adaptSchema } from "./components/actions/form/schemaAdapter.js";
|
|
18
18
|
import { I as Icon } from "./iconify-DJxl6dC-.js";
|
|
19
|
-
import { C as ClueEnrichContext } from "./ClueEnrichContext-
|
|
19
|
+
import { C as ClueEnrichContext } from "./ClueEnrichContext-0eVIgvZp.js";
|
|
20
20
|
import { ClueFetcherContext } from "./hooks/ClueFetcherContext.js";
|
|
21
21
|
import ClassificationChip from "./components/ClassificationChip.js";
|
|
22
22
|
import Result from "./components/actions/formats/index.js";
|
|
@@ -4,7 +4,7 @@ import { useTheme, Stack, Typography, Tooltip, Box, IconButton, CircularProgress
|
|
|
4
4
|
import Iconified from "./components/display/icons/Iconified.js";
|
|
5
5
|
import { SNACKBAR_EVENT_ID } from "./data/event.js";
|
|
6
6
|
import { ClueComponentContext } from "./hooks/ClueComponentContext.js";
|
|
7
|
-
import { f as useClueEnrichSelector } from "./ActionForm-
|
|
7
|
+
import { f as useClueEnrichSelector } from "./ActionForm-CbLz66Rk.js";
|
|
8
8
|
import useAnnotations from "./hooks/useAnnotations.js";
|
|
9
9
|
import useErrors from "./hooks/useErrors.js";
|
|
10
10
|
import { ICON_MAP } from "./icons/iconMap.js";
|
|
@@ -8,7 +8,7 @@ import { useState, useRef, useCallback, useEffect, useMemo } from "react";
|
|
|
8
8
|
import { c as createContext, a as useContextSelector } from "./index-_gpzM2Px.js";
|
|
9
9
|
import { SHOW_EVENT_ID, HIDE_EVENT_ID } from "./data/event.js";
|
|
10
10
|
import { safeDispatchEvent, safeAddEventListener } from "./utils/window.js";
|
|
11
|
-
import { i as isNull } from "./AnnotationDetails-
|
|
11
|
+
import { i as isNull } from "./AnnotationDetails-CdNvyJl7.js";
|
|
12
12
|
const CluePopupContext = createContext(null);
|
|
13
13
|
const CluePopupProvider = ({ children }) => {
|
|
14
14
|
const [popupType, setPopupType] = useState(null);
|
|
@@ -134,19 +134,39 @@ const ClueEnrichProvider = ({
|
|
|
134
134
|
}
|
|
135
135
|
api.configs.get(requestConfig).then(clueConfig.setConfig);
|
|
136
136
|
}, [baseURL, onNetworkCall, skipConfigCall, isReady]);
|
|
137
|
+
const [selectorsSynced, setSelectorsSynced] = useState(() => {
|
|
138
|
+
var _a2;
|
|
139
|
+
return !!((_a2 = database == null ? void 0 : database.selectors) == null ? void 0 : _a2.synced);
|
|
140
|
+
});
|
|
141
|
+
useEffect(() => {
|
|
142
|
+
var _a2;
|
|
143
|
+
setSelectorsSynced(!!((_a2 = database == null ? void 0 : database.selectors) == null ? void 0 : _a2.synced));
|
|
144
|
+
}, [database]);
|
|
137
145
|
useEffect(() => {
|
|
138
146
|
if (isReady) {
|
|
139
|
-
Object.values(REPLICATORS).
|
|
147
|
+
const subscriptions = Object.values(REPLICATORS).map((replicator) => {
|
|
140
148
|
replicator.reSync();
|
|
141
149
|
replicator.start();
|
|
150
|
+
return replicator.active$.subscribe((active) => {
|
|
151
|
+
var _a2;
|
|
152
|
+
if (!active) {
|
|
153
|
+
setSelectorsSynced(!!((_a2 = database == null ? void 0 : database.selectors) == null ? void 0 : _a2.synced));
|
|
154
|
+
}
|
|
155
|
+
});
|
|
142
156
|
});
|
|
157
|
+
return () => {
|
|
158
|
+
subscriptions.forEach((subscription) => subscription.unsubscribe());
|
|
159
|
+
Object.values(REPLICATORS).forEach((replicator) => {
|
|
160
|
+
replicator.pause();
|
|
161
|
+
});
|
|
162
|
+
};
|
|
143
163
|
}
|
|
144
164
|
return () => {
|
|
145
165
|
Object.values(REPLICATORS).forEach((replicator) => {
|
|
146
166
|
replicator.pause();
|
|
147
167
|
});
|
|
148
168
|
};
|
|
149
|
-
}, [isReady]);
|
|
169
|
+
}, [database, isReady]);
|
|
150
170
|
const [customIconify, setCustomIconify] = useState(_customIconify);
|
|
151
171
|
useEffect(() => {
|
|
152
172
|
if (_customIconify) {
|
|
@@ -444,6 +464,7 @@ const ClueEnrichProvider = ({
|
|
|
444
464
|
return () => {
|
|
445
465
|
try {
|
|
446
466
|
observer == null ? void 0 : observer.unsubscribe();
|
|
467
|
+
enrichQueued.cancel();
|
|
447
468
|
} catch (e) {
|
|
448
469
|
console.warn(e);
|
|
449
470
|
}
|
|
@@ -527,7 +548,7 @@ const ClueEnrichProvider = ({
|
|
|
527
548
|
);
|
|
528
549
|
const value = useMemo(
|
|
529
550
|
() => {
|
|
530
|
-
var _a2
|
|
551
|
+
var _a2;
|
|
531
552
|
return {
|
|
532
553
|
bulkEnrich,
|
|
533
554
|
enrich,
|
|
@@ -543,7 +564,7 @@ const ClueEnrichProvider = ({
|
|
|
543
564
|
setDefaultClassification,
|
|
544
565
|
setReady: setIsReady,
|
|
545
566
|
defaultClassification,
|
|
546
|
-
ready: isReady && !!database && !!((_a2 = clueConfig.config) == null ? void 0 : _a2.c12nDef) && (isEmpty(REPLICATORS) ||
|
|
567
|
+
ready: isReady && !!database && !!((_a2 = clueConfig.config) == null ? void 0 : _a2.c12nDef) && (isEmpty(REPLICATORS) || selectorsSynced)
|
|
547
568
|
};
|
|
548
569
|
},
|
|
549
570
|
[
|
|
@@ -560,7 +581,8 @@ const ClueEnrichProvider = ({
|
|
|
560
581
|
defaultClassification,
|
|
561
582
|
isReady,
|
|
562
583
|
database,
|
|
563
|
-
(_e = clueConfig.config) == null ? void 0 : _e.c12nDef
|
|
584
|
+
(_e = clueConfig.config) == null ? void 0 : _e.c12nDef,
|
|
585
|
+
selectorsSynced
|
|
564
586
|
]
|
|
565
587
|
);
|
|
566
588
|
return /* @__PURE__ */ jsx(ClueEnrichContext.Provider, { value, children });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Popover } from "@mui/material";
|
|
3
3
|
import React__default, { useRef, useState, useEffect } from "react";
|
|
4
|
-
import { A as AnnotationDetails } from "../AnnotationDetails-
|
|
4
|
+
import { A as AnnotationDetails } from "../AnnotationDetails-CdNvyJl7.js";
|
|
5
5
|
const AnnotationDetailPopover = React__default.memo(({ anchorEl, enrichRequest, open, onClose, ...otherProps }) => {
|
|
6
6
|
var _a, _b, _c;
|
|
7
7
|
const actionRef = useRef();
|
|
@@ -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-CbLz66Rk.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-BVV07EGQ.js";
|
|
13
|
-
import { A } from "../AnnotationDetails-
|
|
13
|
+
import { A } from "../AnnotationDetails-CdNvyJl7.js";
|
|
14
14
|
import "../uniq-CahZPAwp.js";
|
|
15
15
|
import "react";
|
|
16
16
|
import "../index-_gpzM2Px.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "../iconify-DJxl6dC-.js";
|
|
3
3
|
import "@mui/material";
|
|
4
|
-
import { A } from "../AnnotationPreview-
|
|
4
|
+
import { A } from "../AnnotationPreview-C6a3qRFG.js";
|
|
5
5
|
import "../hooks/useAnnotations.js";
|
|
6
6
|
import "../utils-CEySTPtg.js";
|
|
7
7
|
import "react";
|
|
@@ -2,7 +2,7 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { I as Icon } from "../iconify-DJxl6dC-.js";
|
|
3
3
|
import { useTheme, Card, CardHeader, Stack, CircularProgress, Divider, CardContent, Grid, Chip, Typography, Tooltip, Box } from "@mui/material";
|
|
4
4
|
import { ClueComponentContext } from "../hooks/ClueComponentContext.js";
|
|
5
|
-
import { f as useClueEnrichSelector } from "../ActionForm-
|
|
5
|
+
import { f as useClueEnrichSelector } from "../ActionForm-CbLz66Rk.js";
|
|
6
6
|
import useAnnotations from "../hooks/useAnnotations.js";
|
|
7
7
|
import useErrors from "../hooks/useErrors.js";
|
|
8
8
|
import AssessmentIcon from "../icons/Assessment.js";
|
|
@@ -3,8 +3,8 @@ import { Chip, Tooltip, Box, Stack, CircularProgress } from "@mui/material";
|
|
|
3
3
|
import Iconified from "./display/icons/Iconified.js";
|
|
4
4
|
import { ClueComponentContext } from "../hooks/ClueComponentContext.js";
|
|
5
5
|
import { ClueGroupContext } from "../hooks/ClueGroupContext.js";
|
|
6
|
-
import { C as CluePopupContext } from "../AnnotationPreview-
|
|
7
|
-
import { f as useClueEnrichSelector } from "../ActionForm-
|
|
6
|
+
import { C as CluePopupContext } from "../AnnotationPreview-C6a3qRFG.js";
|
|
7
|
+
import { f as useClueEnrichSelector } from "../ActionForm-CbLz66Rk.js";
|
|
8
8
|
import useAnnotations from "../hooks/useAnnotations.js";
|
|
9
9
|
import ActionIcon from "../icons/Action.js";
|
|
10
10
|
import AssessmentIcon from "../icons/Assessment.js";
|
|
@@ -3,8 +3,8 @@ import { useTheme, Stack, CircularProgress, Tooltip, IconButton } from "@mui/mat
|
|
|
3
3
|
import Iconified from "./display/icons/Iconified.js";
|
|
4
4
|
import { ClueComponentContext } from "../hooks/ClueComponentContext.js";
|
|
5
5
|
import { ClueGroupContext } from "../hooks/ClueGroupContext.js";
|
|
6
|
-
import { C as CluePopupContext } from "../AnnotationPreview-
|
|
7
|
-
import { f as useClueEnrichSelector } from "../ActionForm-
|
|
6
|
+
import { C as CluePopupContext } from "../AnnotationPreview-C6a3qRFG.js";
|
|
7
|
+
import { f as useClueEnrichSelector } from "../ActionForm-CbLz66Rk.js";
|
|
8
8
|
import useAnnotations from "../hooks/useAnnotations.js";
|
|
9
9
|
import ActionIcon from "../icons/Action.js";
|
|
10
10
|
import AssessmentIcon from "../icons/Assessment.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Button } from "@mui/material";
|
|
3
3
|
import { ClueComponentContext } from "../hooks/ClueComponentContext.js";
|
|
4
|
-
import { f as useClueEnrichSelector } from "../ActionForm-
|
|
4
|
+
import { f as useClueEnrichSelector } from "../ActionForm-CbLz66Rk.js";
|
|
5
5
|
import { a as useContextSelector } from "../index-_gpzM2Px.js";
|
|
6
6
|
const RetryFailedEnrichments = () => {
|
|
7
7
|
const enrichFailedEnrichments = useClueEnrichSelector((ctx) => ctx.enrichFailedEnrichments);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Button, Popover, TextField, Divider, Stack, FormControlLabel, Checkbox } from "@mui/material";
|
|
3
|
-
import { e as useClueComponentSelector, f as useClueEnrichSelector } from "../ActionForm-
|
|
3
|
+
import { e as useClueComponentSelector, f as useClueEnrichSelector } from "../ActionForm-CbLz66Rk.js";
|
|
4
4
|
import { memo, useState, useEffect } from "react";
|
|
5
5
|
const SourcePicker = () => {
|
|
6
6
|
const { t } = useClueComponentSelector((ctx) => ctx.i18next);
|
|
@@ -5,7 +5,7 @@ import "@mui/material";
|
|
|
5
5
|
import "../display/icons/Iconified.js";
|
|
6
6
|
import "../../index-DUEubgWN.js";
|
|
7
7
|
import "../../hooks/ClueComponentContext.js";
|
|
8
|
-
import { A } from "../../ActionForm-
|
|
8
|
+
import { A } from "../../ActionForm-CbLz66Rk.js";
|
|
9
9
|
import "../../utils-CEySTPtg.js";
|
|
10
10
|
import "react";
|
|
11
11
|
import "../../index-_gpzM2Px.js";
|
|
@@ -3,7 +3,7 @@ import { I as Icon } from "../../iconify-DJxl6dC-.js";
|
|
|
3
3
|
import { useTheme, Tooltip, IconButton, CircularProgress, Button, Popover, Paper, Stack, Typography, Box, Divider } from "@mui/material";
|
|
4
4
|
import Iconified from "../display/icons/Iconified.js";
|
|
5
5
|
import { ClueComponentContext } from "../../hooks/ClueComponentContext.js";
|
|
6
|
-
import { d as useClueActionsSelector } from "../../ActionForm-
|
|
6
|
+
import { d as useClueActionsSelector } from "../../ActionForm-CbLz66Rk.js";
|
|
7
7
|
import useClueConfig from "../../hooks/useClueConfig.js";
|
|
8
8
|
import { isAccessible } from "../../utils/classificationParser.js";
|
|
9
9
|
import { useState, useRef, useMemo, useEffect } from "react";
|
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "../../iconify-DJxl6dC-.js";
|
|
3
3
|
import "@mui/material";
|
|
4
4
|
import "../../hooks/ClueComponentContext.js";
|
|
5
|
-
import { R } from "../../ActionForm-
|
|
5
|
+
import { R } from "../../ActionForm-CbLz66Rk.js";
|
|
6
6
|
import "react";
|
|
7
7
|
import "../../index-_gpzM2Px.js";
|
|
8
8
|
import "../ClassificationChip.js";
|
|
@@ -3,7 +3,7 @@ import { Stack } from "@mui/material";
|
|
|
3
3
|
import { J as JSONViewer } from "../../../index-DUEubgWN.js";
|
|
4
4
|
import Markdown from "../../display/markdown/index.js";
|
|
5
5
|
import ErrorBoundary from "../../ErrorBoundary.js";
|
|
6
|
-
import { u as usePluginStore, c as clueUIPluginStore } from "../../../store-
|
|
6
|
+
import { u as usePluginStore, c as clueUIPluginStore } from "../../../store-9Bv4xoVU.js";
|
|
7
7
|
import { useTranslation } from "react-i18next";
|
|
8
8
|
const Result = ({
|
|
9
9
|
pluginName,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useTheme, Tooltip, IconButton, CircularProgress, Button, Popover, Paper, Stack, Box, Typography, Divider } from "@mui/material";
|
|
3
|
-
import { e as useClueComponentSelector, f as useClueEnrichSelector, c as capitalize } from "../../ActionForm-
|
|
3
|
+
import { e as useClueComponentSelector, f as useClueEnrichSelector, c as capitalize } from "../../ActionForm-CbLz66Rk.js";
|
|
4
4
|
import { useState, useRef, useCallback, useEffect } from "react";
|
|
5
5
|
import Iconified from "../display/icons/Iconified.js";
|
|
6
6
|
const EnrichPopover = ({ show = false, size = "small", selector }) => {
|
|
@@ -4,7 +4,7 @@ import { useTheme, Skeleton, Chip, Tooltip, Stack, Typography, LinearProgress, P
|
|
|
4
4
|
import { F as FlexOne } from "../../FlexOne-BSYAhhtG.js";
|
|
5
5
|
import Iconified from "../display/icons/Iconified.js";
|
|
6
6
|
import { ClueComponentContext } from "../../hooks/ClueComponentContext.js";
|
|
7
|
-
import { g as useClueFetcherSelector } from "../../ActionForm-
|
|
7
|
+
import { g as useClueFetcherSelector } from "../../ActionForm-CbLz66Rk.js";
|
|
8
8
|
import React__default, { useState, useRef, useMemo, useEffect, memo } from "react";
|
|
9
9
|
import { a as useContextSelector } from "../../index-_gpzM2Px.js";
|
|
10
10
|
import { FetcherResultView } from "./FetcherResultView.js";
|
|
@@ -2,7 +2,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { Stack } from "@mui/material";
|
|
3
3
|
import { J as JSONViewer } from "../../index-DUEubgWN.js";
|
|
4
4
|
import Markdown from "../display/markdown/index.js";
|
|
5
|
-
import { u as usePluginStore, c as clueUIPluginStore } from "../../store-
|
|
5
|
+
import { u as usePluginStore, c as clueUIPluginStore } from "../../store-9Bv4xoVU.js";
|
|
6
6
|
import { useTranslation } from "react-i18next";
|
|
7
7
|
import ErrorBoundary from "../ErrorBoundary.js";
|
|
8
8
|
const FetcherResultView = ({
|
|
@@ -4,7 +4,7 @@ import { F as FlexOne } from "../../FlexOne-BSYAhhtG.js";
|
|
|
4
4
|
import Iconified from "../display/icons/Iconified.js";
|
|
5
5
|
import { SNACKBAR_EVENT_ID } from "../../data/event.js";
|
|
6
6
|
import { ClueGroupContext } from "../../hooks/ClueGroupContext.js";
|
|
7
|
-
import { e as useClueComponentSelector, f as useClueEnrichSelector, c as capitalize } from "../../ActionForm-
|
|
7
|
+
import { e as useClueComponentSelector, f as useClueEnrichSelector, c as capitalize } from "../../ActionForm-CbLz66Rk.js";
|
|
8
8
|
import { safeDispatchEvent } from "../../utils/window.js";
|
|
9
9
|
import { useState, useMemo, useCallback } from "react";
|
|
10
10
|
import { a as useContextSelector } from "../../index-_gpzM2Px.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Stack, Typography } from "@mui/material";
|
|
3
3
|
import { ClueDatabaseContext } from "../../hooks/ClueDatabaseContext.js";
|
|
4
|
-
import { e as useClueComponentSelector, f as useClueEnrichSelector } from "../../ActionForm-
|
|
4
|
+
import { e as useClueComponentSelector, f as useClueEnrichSelector } from "../../ActionForm-CbLz66Rk.js";
|
|
5
5
|
import { useContext, useState, useEffect } from "react";
|
|
6
6
|
const QueryStatus = () => {
|
|
7
7
|
const { t } = useClueComponentSelector((ctx) => ctx.i18next);
|
package/database/index.js
CHANGED
package/database/replication.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "@mui/material";
|
|
3
|
-
import { C, a } from "../ActionForm-
|
|
3
|
+
import { C, a } from "../ActionForm-CbLz66Rk.js";
|
|
4
4
|
import "../index-DpJxD74E.js";
|
|
5
5
|
import "../components/display/icons/Iconified.js";
|
|
6
6
|
import "../components/ErrorBoundary.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { b as buildDatabase } from "../index-
|
|
2
|
+
import { b as buildDatabase } from "../index-IKI1G5v-.js";
|
|
3
3
|
import { createContext, useState, useRef, useEffect } from "react";
|
|
4
4
|
const ClueDatabaseContext = createContext(null);
|
|
5
5
|
const ClueDatabaseProvider = ({
|
|
@@ -4,7 +4,7 @@ import "../index-DpJxD74E.js";
|
|
|
4
4
|
import "../database/globals.js";
|
|
5
5
|
import "../utils/loggerUtil.js";
|
|
6
6
|
import "../utils-CEySTPtg.js";
|
|
7
|
-
import { C, a } from "../ClueEnrichContext-
|
|
7
|
+
import { C, a } from "../ClueEnrichContext-0eVIgvZp.js";
|
|
8
8
|
import "../sessionStorage-B68y-wnE.js";
|
|
9
9
|
import "../groupBy-BVV07EGQ.js";
|
|
10
10
|
import "../uniq-CahZPAwp.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useState, useMemo } from "react";
|
|
3
3
|
import { c as createContext } from "../index-_gpzM2Px.js";
|
|
4
|
-
import { f as useClueEnrichSelector } from "../ActionForm-
|
|
4
|
+
import { f as useClueEnrichSelector } from "../ActionForm-CbLz66Rk.js";
|
|
5
5
|
const ClueGroupContext = createContext(null);
|
|
6
6
|
const ClueGroupProvider = ({ children, type, classification }) => {
|
|
7
7
|
const defaultClassification = useClueEnrichSelector((ctx) => ctx.defaultClassification);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "../components/AnnotationDetailPopover.js";
|
|
3
|
-
import { C, a } from "../AnnotationPreview-
|
|
3
|
+
import { C, a } from "../AnnotationPreview-C6a3qRFG.js";
|
|
4
4
|
import "../data/event.js";
|
|
5
5
|
import "../utils/window.js";
|
|
6
|
-
import "../AnnotationDetails-
|
|
6
|
+
import "../AnnotationDetails-CdNvyJl7.js";
|
|
7
7
|
import "react";
|
|
8
8
|
import "../index-_gpzM2Px.js";
|
|
9
9
|
export {
|
package/hooks/ClueProvider.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { ClueUIPluginProvider } from "./ClueUIPluginContext.js";
|
|
3
|
-
import { a as ClueActionProvider } from "../ActionForm-
|
|
3
|
+
import { a as ClueActionProvider } from "../ActionForm-CbLz66Rk.js";
|
|
4
4
|
import { ClueComponentProvider } from "./ClueComponentContext.js";
|
|
5
5
|
import { ClueConfigProvider } from "./ClueConfigProvider.js";
|
|
6
6
|
import { ClueDatabaseProvider } from "./ClueDatabaseContext.js";
|
|
7
|
-
import { a as ClueEnrichProvider } from "../ClueEnrichContext-
|
|
7
|
+
import { a as ClueEnrichProvider } from "../ClueEnrichContext-0eVIgvZp.js";
|
|
8
8
|
import { ClueFetcherProvider } from "./ClueFetcherContext.js";
|
|
9
|
-
import { a as CluePopupProvider } from "../AnnotationPreview-
|
|
9
|
+
import { a as CluePopupProvider } from "../AnnotationPreview-C6a3qRFG.js";
|
|
10
10
|
const ClueProvider = ({ children, ...props }) => {
|
|
11
11
|
return /* @__PURE__ */ jsx(ClueComponentProvider, { ...props, children: /* @__PURE__ */ jsx(ClueConfigProvider, { config: props.config, children: /* @__PURE__ */ jsx(ClueDatabaseProvider, { ...props, children: /* @__PURE__ */ jsx(ClueUIPluginProvider, { ...props, children: /* @__PURE__ */ jsx(ClueEnrichProvider, { ...props, children: /* @__PURE__ */ jsx(ClueFetcherProvider, { ...props, children: /* @__PURE__ */ jsx(ClueActionProvider, { ...props, children: /* @__PURE__ */ jsx(CluePopupProvider, { children }) }) }) }) }) }) }) });
|
|
12
12
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import ClueUIPluginsRegistry from "../plugins/registry.js";
|
|
3
|
-
import { c as clueUIPluginStore, P as PluginProvider } from "../store-
|
|
3
|
+
import { c as clueUIPluginStore, P as PluginProvider } from "../store-9Bv4xoVU.js";
|
|
4
4
|
import { createContext, useState, useEffect } from "react";
|
|
5
5
|
const ClueUIPluginContext = createContext(null);
|
|
6
6
|
const ClueUIPluginProvider = ({
|
package/hooks/selectors.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d, e, f, g } from "../ActionForm-
|
|
1
|
+
import { d, e, f, g } from "../ActionForm-CbLz66Rk.js";
|
|
2
2
|
import "./ClueComponentContext.js";
|
|
3
|
-
import "../ClueEnrichContext-
|
|
3
|
+
import "../ClueEnrichContext-0eVIgvZp.js";
|
|
4
4
|
import "./ClueFetcherContext.js";
|
|
5
5
|
import "../index-_gpzM2Px.js";
|
|
6
6
|
export {
|
package/hooks/useActionResult.js
CHANGED
package/hooks/useAnnotations.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { u as uniqBy } from "../ClueEnrichContext-
|
|
1
|
+
import { u as uniqBy } from "../ClueEnrichContext-0eVIgvZp.js";
|
|
2
2
|
import { useContext, useMemo, useState, useEffect } from "react";
|
|
3
3
|
import { ClueDatabaseContext } from "./ClueDatabaseContext.js";
|
|
4
|
-
import { f as useClueEnrichSelector } from "../ActionForm-
|
|
4
|
+
import { f as useClueEnrichSelector } from "../ActionForm-CbLz66Rk.js";
|
|
5
5
|
const useAnnotations = (type, value, _classification, { skipEnrichment } = { skipEnrichment: false }) => {
|
|
6
6
|
var _a;
|
|
7
7
|
const database = useContext(ClueDatabaseContext);
|
package/hooks/useClue.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { u as useContext } from "../index-_gpzM2Px.js";
|
|
2
|
-
import { C as ClueEnrichContext } from "../ClueEnrichContext-
|
|
2
|
+
import { C as ClueEnrichContext } from "../ClueEnrichContext-0eVIgvZp.js";
|
|
3
3
|
const useClue = () => {
|
|
4
4
|
return useContext(ClueEnrichContext);
|
|
5
5
|
};
|
package/hooks/useClueActions.js
CHANGED
package/hooks/useErrors.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useContext, useState, useEffect } from "react";
|
|
2
2
|
import { ClueDatabaseContext } from "./ClueDatabaseContext.js";
|
|
3
|
-
import { f as useClueEnrichSelector } from "../ActionForm-
|
|
3
|
+
import { f as useClueEnrichSelector } from "../ActionForm-CbLz66Rk.js";
|
|
4
4
|
const useErrors = (value) => {
|
|
5
5
|
const database = useContext(ClueDatabaseContext);
|
|
6
6
|
const ready = useClueEnrichSelector((ctx) => ctx.ready);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useState, useRef, useMemo, useEffect } from "react";
|
|
2
|
-
import { b as useClueActions } from "../ActionForm-
|
|
2
|
+
import { b as useClueActions } from "../ActionForm-CbLz66Rk.js";
|
|
3
3
|
const useActionResult = (resultWithData, interval = 2e3) => {
|
|
4
4
|
const [result, setResult] = useState(resultWithData);
|
|
5
5
|
const timeoutRef = useRef(null);
|
package/icons/Action.js
CHANGED
|
@@ -2,8 +2,8 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { I as Icon } from "../iconify-DJxl6dC-.js";
|
|
3
3
|
import { useTheme, Stack, Divider, Typography } from "@mui/material";
|
|
4
4
|
import CountBadge from "../components/CountBadge.js";
|
|
5
|
-
import { C as CluePopupContext } from "../AnnotationPreview-
|
|
6
|
-
import { b as useClueActions } from "../ActionForm-
|
|
5
|
+
import { C as CluePopupContext } from "../AnnotationPreview-C6a3qRFG.js";
|
|
6
|
+
import { b as useClueActions } from "../ActionForm-CbLz66Rk.js";
|
|
7
7
|
import { g as groupBy } from "../groupBy-BVV07EGQ.js";
|
|
8
8
|
import { memo, useRef, useMemo, useEffect } from "react";
|
|
9
9
|
import { a as useContextSelector } from "../index-_gpzM2Px.js";
|
package/icons/Assessment.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { I as Icon } from "../iconify-DJxl6dC-.js";
|
|
3
3
|
import { useTheme, Stack, Chip, Divider, Grid, Tooltip } from "@mui/material";
|
|
4
4
|
import CountBadge from "../components/CountBadge.js";
|
|
5
|
-
import { C as CluePopupContext } from "../AnnotationPreview-
|
|
5
|
+
import { C as CluePopupContext } from "../AnnotationPreview-C6a3qRFG.js";
|
|
6
6
|
import { g as groupBy } from "../groupBy-BVV07EGQ.js";
|
|
7
7
|
import { l as last } from "../last-CUCl67Im.js";
|
|
8
8
|
import { m as maxBy } from "../maxBy-BjjQmX5t.js";
|
package/icons/Context.js
CHANGED
|
@@ -4,7 +4,7 @@ import { Stack, Divider } from "@mui/material";
|
|
|
4
4
|
import AnnotationEntry from "../components/AnnotationEntry.js";
|
|
5
5
|
import CountBadge from "../components/CountBadge.js";
|
|
6
6
|
import Iconified from "../components/display/icons/Iconified.js";
|
|
7
|
-
import { C as CluePopupContext } from "../AnnotationPreview-
|
|
7
|
+
import { C as CluePopupContext } from "../AnnotationPreview-C6a3qRFG.js";
|
|
8
8
|
import { g as groupBy } from "../groupBy-BVV07EGQ.js";
|
|
9
9
|
import { memo, useRef, useMemo, useEffect } from "react";
|
|
10
10
|
import { a as useContextSelector } from "../index-_gpzM2Px.js";
|
package/icons/Opinion.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { I as Icon } from "../iconify-DJxl6dC-.js";
|
|
3
3
|
import { useTheme, Stack, Chip, Divider, Grid } from "@mui/material";
|
|
4
4
|
import CountBadge from "../components/CountBadge.js";
|
|
5
|
-
import { C as CluePopupContext } from "../AnnotationPreview-
|
|
5
|
+
import { C as CluePopupContext } from "../AnnotationPreview-C6a3qRFG.js";
|
|
6
6
|
import { g as groupBy } from "../groupBy-BVV07EGQ.js";
|
|
7
7
|
import { s as sortBy } from "../sortBy-B8JVsLQY.js";
|
|
8
8
|
import { s as sumBy } from "../sumBy-D-HCzM2i.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as NON_PREMIUM_COLLECTION_LIMIT, E as RxDatabaseBase, D as RxCollectionBase, Z as createRxDocumentConstructor, J as basePrototype, aH as newRxError, az as isMaybeReadonlyArray, al as getSchemaByObjectPath, ad as flattenObject, aj as getProperty, a$ as trimDots, G as appendToArray, ai as getPrimaryFieldOfPrimaryKey, aI as newRxTypeError, ah as getPreviousVersions, aw as isFolderPath, aN as prepareQuery, a9 as findUndefinedPath, a1 as deepEqual, a7 as fillPrimaryKey, ao as hasPremiumFlag, R as RXDB_VERSION, ap as hashStringToNumber, a2 as deepFreeze } from "./replication
|
|
1
|
+
import { N as NON_PREMIUM_COLLECTION_LIMIT, E as RxDatabaseBase, D as RxCollectionBase, Z as createRxDocumentConstructor, J as basePrototype, aH as newRxError, az as isMaybeReadonlyArray, al as getSchemaByObjectPath, ad as flattenObject, aj as getProperty, a$ as trimDots, G as appendToArray, ai as getPrimaryFieldOfPrimaryKey, aI as newRxTypeError, ah as getPreviousVersions, aw as isFolderPath, aN as prepareQuery, a9 as findUndefinedPath, a1 as deepEqual, a7 as fillPrimaryKey, ao as hasPremiumFlag, R as RXDB_VERSION, ap as hashStringToNumber, a2 as deepFreeze } from "./replication-kdsH0l7f.js";
|
|
2
2
|
var ERROR_MESSAGES = {
|
|
3
3
|
// util.js / config
|
|
4
4
|
UT1: "given name is no string or empty",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { d as debounce } from "./sessionStorage-B68y-wnE.js";
|
|
2
2
|
import { i as isObject } from "./isObject-FTY-5JQX.js";
|
|
3
|
-
import { aq as identity, aL as operate, W as createOperatorSubscriber, ax as isFunction, U as computeValue, b0 as truthy, H as assert, a4 as ensureArray, at as isArray, T as compare, V as createExpressionOperator, c as $eq$1, f as $gt$1, h as $gte$1, k as $lt$1, m as $lte$1, p as $ne$1, M as MingoError, ay as isFunction$1, X as createQueryOperator, $ as $all$1, al as getSchemaByObjectPath, aK as objectPathMonad, y as INDEX_MIN, I as INDEX_MAX, a5 as ensureNotFalsy, ag as getFromMapOrCreate, ai as getPrimaryFieldOfPrimaryKey, aS as requestIdleCallbackIfAvailable, B as BehaviorSubject, aG as mergeMap, aa as firstValueFrom, a8 as filter, ab as flatClone$1, a0 as createRxQuery, _ as _getDefaultQuery, aP as queryCollection, aH as newRxError, af as getDefaultRevision, aJ as now, aN as prepareQuery, aM as overwritable, az as isMaybeReadonlyArray, ac as flatCloneDocWithMeta, S as Subject, a_ as toArray, K as categorizeBulkWriteRows, aO as pushAtSortPosition, ak as getQueryMatcher, am as getSortComparator, P as PROMISE_RESOLVE_TRUE, z as PROMISE_RESOLVE_VOID, R as RXDB_VERSION, a6 as ensureRxStorageInstanceParamsAreCorrect, aQ as randomToken, a1 as deepEqual, aT as requestIdlePromiseNoQueue, a as $and$1, b as $elemMatch, d as $eq$2, e as $exists, g as $gt$2, i as $gte$2, j as $in, l as $lt$2, n as $lte$2, o as $mod, q as $ne$2, r as $nin, s as $nor, t as $not$1, u as $or$1, v as $regex, w as $size, x as $type, ar as initOptions, C as Context, Q as Query, b2 as walk, aU as resolve$1, au as isDate, aB as isObject$1, aD as isRegExp, O as cloneDeep, an as has, as as intersection, b1 as unique, aA as isNumber, aC as isOperator, av as isEqual, L as clone$1, aW as runQueryUpdateFunction, ae as getChangedDocumentsSince, aV as runPluginHooks, aX as setProperty, aF as merge, aY as shareReplay, A as RXJS_SHARE_REPLAY_DEFAULTS, aE as map, G as appendToArray, aj as getProperty, aZ as startWith, a3 as distinctUntilChanged, F as addRxPlugin, Y as createRxDatabase, aR as replicateSelectorCollection } from "./replication
|
|
3
|
+
import { aq as identity, aL as operate, W as createOperatorSubscriber, ax as isFunction, U as computeValue, b0 as truthy, H as assert, a4 as ensureArray, at as isArray, T as compare, V as createExpressionOperator, c as $eq$1, f as $gt$1, h as $gte$1, k as $lt$1, m as $lte$1, p as $ne$1, M as MingoError, ay as isFunction$1, X as createQueryOperator, $ as $all$1, al as getSchemaByObjectPath, aK as objectPathMonad, y as INDEX_MIN, I as INDEX_MAX, a5 as ensureNotFalsy, ag as getFromMapOrCreate, ai as getPrimaryFieldOfPrimaryKey, aS as requestIdleCallbackIfAvailable, B as BehaviorSubject, aG as mergeMap, aa as firstValueFrom, a8 as filter, ab as flatClone$1, a0 as createRxQuery, _ as _getDefaultQuery, aP as queryCollection, aH as newRxError, af as getDefaultRevision, aJ as now, aN as prepareQuery, aM as overwritable, az as isMaybeReadonlyArray, ac as flatCloneDocWithMeta, S as Subject, a_ as toArray, K as categorizeBulkWriteRows, aO as pushAtSortPosition, ak as getQueryMatcher, am as getSortComparator, P as PROMISE_RESOLVE_TRUE, z as PROMISE_RESOLVE_VOID, R as RXDB_VERSION, a6 as ensureRxStorageInstanceParamsAreCorrect, aQ as randomToken, a1 as deepEqual, aT as requestIdlePromiseNoQueue, a as $and$1, b as $elemMatch, d as $eq$2, e as $exists, g as $gt$2, i as $gte$2, j as $in, l as $lt$2, n as $lte$2, o as $mod, q as $ne$2, r as $nin, s as $nor, t as $not$1, u as $or$1, v as $regex, w as $size, x as $type, ar as initOptions, C as Context, Q as Query, b2 as walk, aU as resolve$1, au as isDate, aB as isObject$1, aD as isRegExp, O as cloneDeep, an as has, as as intersection, b1 as unique, aA as isNumber, aC as isOperator, av as isEqual, L as clone$1, aW as runQueryUpdateFunction, ae as getChangedDocumentsSince, aV as runPluginHooks, aX as setProperty, aF as merge, aY as shareReplay, A as RXJS_SHARE_REPLAY_DEFAULTS, aE as map, G as appendToArray, aj as getProperty, aZ as startWith, a3 as distinctUntilChanged, F as addRxPlugin, Y as createRxDatabase, aR as replicateSelectorCollection } from "./replication-kdsH0l7f.js";
|
|
4
4
|
import { g as getDefaultExportFromCjs } from "./_commonjsHelpers-CUmg6egw.js";
|
|
5
5
|
import { REPLICATE } from "./utils/constants.js";
|
|
6
6
|
import { REPLICATORS } from "./database/globals.js";
|
|
@@ -9259,7 +9259,7 @@ const buildDatabase = async (_config = {}) => {
|
|
|
9259
9259
|
addRxPlugin(RxDBStatePlugin);
|
|
9260
9260
|
/* v8 ignore next 10 -- @preserve */
|
|
9261
9261
|
if (config.devMode) {
|
|
9262
|
-
await import("./index-
|
|
9262
|
+
await import("./index-CDrC9oSE.js").then((module) => {
|
|
9263
9263
|
addRxPlugin(module.RxDBDevModePlugin);
|
|
9264
9264
|
if (config.testing) {
|
|
9265
9265
|
module.disableWarnings();
|
package/main.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { A, b, d, f, g } from "./ActionForm-
|
|
1
|
+
import { A, b, d, f, g } from "./ActionForm-CbLz66Rk.js";
|
|
2
2
|
import { default as default2 } from "./components/AnnotationDetailPopover.js";
|
|
3
|
-
import { A as A2 } from "./AnnotationDetails-
|
|
3
|
+
import { A as A2 } from "./AnnotationDetails-CdNvyJl7.js";
|
|
4
4
|
import { default as default3 } from "./components/AnnotationEntry.js";
|
|
5
|
-
import { A as A3, C } from "./AnnotationPreview-
|
|
5
|
+
import { A as A3, C } from "./AnnotationPreview-C6a3qRFG.js";
|
|
6
6
|
import { default as default4 } from "./components/CountBadge.js";
|
|
7
7
|
import { default as default5 } from "./components/EnrichedCard.js";
|
|
8
8
|
import { default as default6 } from "./components/EnrichedChip.js";
|
|
@@ -14,11 +14,11 @@ import { default as default11 } from "./components/group/Group.js";
|
|
|
14
14
|
import { default as default12 } from "./components/group/GroupControl.js";
|
|
15
15
|
import { default as default13 } from "./components/SourcePicker.js";
|
|
16
16
|
import { SNACKBAR_EVENT_ID } from "./data/event.js";
|
|
17
|
-
import { b as b2 } from "./index-
|
|
17
|
+
import { b as b2 } from "./index-IKI1G5v-.js";
|
|
18
18
|
import { ClueComponentContext } from "./hooks/ClueComponentContext.js";
|
|
19
19
|
import { ClueConfigContext } from "./hooks/ClueConfigProvider.js";
|
|
20
20
|
import { ClueDatabaseContext } from "./hooks/ClueDatabaseContext.js";
|
|
21
|
-
import { C as C2 } from "./ClueEnrichContext-
|
|
21
|
+
import { C as C2 } from "./ClueEnrichContext-0eVIgvZp.js";
|
|
22
22
|
import { ClueProvider } from "./hooks/ClueProvider.js";
|
|
23
23
|
import { default as default14 } from "./hooks/useClue.js";
|
|
24
24
|
import { default as default15 } from "./hooks/useClueConfig.js";
|
package/package.json
CHANGED
|
@@ -67,60 +67,60 @@
|
|
|
67
67
|
},
|
|
68
68
|
"type": "module",
|
|
69
69
|
"types": "main.d.ts",
|
|
70
|
-
"version": "1.4.0-dev.
|
|
70
|
+
"version": "1.4.0-dev.445",
|
|
71
71
|
"exports": {
|
|
72
72
|
".": "./main.js",
|
|
73
73
|
"./index.css": "./index.css",
|
|
74
74
|
"./en/*.json": "./en/*.json",
|
|
75
75
|
"./fr/*.json": "./fr/*.json",
|
|
76
|
+
"./icons/*": "./icons/*.js",
|
|
77
|
+
"./plugins/*": "./plugins/*.js",
|
|
78
|
+
"./data/*": "./data/*.js",
|
|
76
79
|
"./hooks/*": "./hooks/*.js",
|
|
77
80
|
"./utils/*": "./utils/*.js",
|
|
78
81
|
"./utils/*.json": "./utils/*.json",
|
|
79
|
-
"./types/*": "./types/*.js",
|
|
80
|
-
"./plugins/*": "./plugins/*.js",
|
|
81
82
|
"./text/*": "./text/*.js",
|
|
82
|
-
"./
|
|
83
|
+
"./types/*": "./types/*.js",
|
|
83
84
|
"./database/*": "./database/*.js",
|
|
84
85
|
"./database": "./database/index.js",
|
|
85
86
|
"./components/*": "./components/*.js",
|
|
86
|
-
"./data/*": "./data/*.js",
|
|
87
87
|
"./plugins/graph/*": "./plugins/graph/*.js",
|
|
88
88
|
"./plugins/graph": "./plugins/graph/index.js",
|
|
89
89
|
"./plugins/file/*": "./plugins/file/*.js",
|
|
90
90
|
"./plugins/file": "./plugins/file/index.js",
|
|
91
|
-
"./plugins/
|
|
92
|
-
"./plugins/
|
|
91
|
+
"./plugins/image/*": "./plugins/image/*.js",
|
|
92
|
+
"./plugins/image": "./plugins/image/index.js",
|
|
93
93
|
"./plugins/markdown/*.md": "./plugins/markdown/*.md.js",
|
|
94
94
|
"./plugins/markdown": "./plugins/markdown/index.js",
|
|
95
|
+
"./plugins/json/*": "./plugins/json/*.js",
|
|
96
|
+
"./plugins/json": "./plugins/json/index.js",
|
|
95
97
|
"./plugins/test/*": "./plugins/test/*.js",
|
|
96
98
|
"./plugins/test": "./plugins/test/index.js",
|
|
97
|
-
"./plugins/image/*": "./plugins/image/*.js",
|
|
98
|
-
"./plugins/image": "./plugins/image/index.js",
|
|
99
99
|
"./plugins/graph/example/*": "./plugins/graph/example/*.js",
|
|
100
|
-
"./components/
|
|
101
|
-
"./components/stats/*": "./components/stats/*.js",
|
|
100
|
+
"./components/enrichment/*": "./components/enrichment/*.js",
|
|
102
101
|
"./components/fetchers/*": "./components/fetchers/*.js",
|
|
103
102
|
"./components/actions/*": "./components/actions/*.js",
|
|
104
|
-
"./components/enrichment/*": "./components/enrichment/*.js",
|
|
105
103
|
"./components/group/*": "./components/group/*.js",
|
|
104
|
+
"./components/stats/*": "./components/stats/*.js",
|
|
105
|
+
"./components/display/*": "./components/display/*.js",
|
|
106
|
+
"./components/actions/form/*": "./components/actions/form/*.js",
|
|
107
|
+
"./components/actions/formats/*": "./components/actions/formats/*.js",
|
|
108
|
+
"./components/actions/formats": "./components/actions/formats/index.js",
|
|
109
|
+
"./components/display/icons/*": "./components/display/icons/*.js",
|
|
106
110
|
"./components/display/graph/*": "./components/display/graph/*.js",
|
|
107
111
|
"./components/display/graph": "./components/display/graph/index.js",
|
|
108
|
-
"./components/display/icons/*": "./components/display/icons/*.js",
|
|
109
|
-
"./components/display/json/*": "./components/display/json/*.js",
|
|
110
|
-
"./components/display/json": "./components/display/json/index.js",
|
|
111
112
|
"./components/display/markdown/*.md": "./components/display/markdown/*.md.js",
|
|
112
113
|
"./components/display/markdown": "./components/display/markdown/index.js",
|
|
113
|
-
"./components/display/
|
|
114
|
+
"./components/display/json/*": "./components/display/json/*.js",
|
|
115
|
+
"./components/display/json": "./components/display/json/index.js",
|
|
114
116
|
"./components/display/graph/visualizations/*": "./components/display/graph/visualizations/*.js",
|
|
117
|
+
"./components/display/graph/elements/*": "./components/display/graph/elements/*.js",
|
|
115
118
|
"./components/display/graph/visualizations/icons/*": "./components/display/graph/visualizations/icons/*.js",
|
|
116
119
|
"./components/display/graph/visualizations/icons": "./components/display/graph/visualizations/icons/index.js",
|
|
117
120
|
"./components/display/graph/visualizations/panels/*": "./components/display/graph/visualizations/panels/*.js",
|
|
118
|
-
"./components/display/graph/visualizations/tree/*": "./components/display/graph/visualizations/tree/*.js",
|
|
119
|
-
"./components/display/graph/visualizations/tree": "./components/display/graph/visualizations/tree/index.js",
|
|
120
121
|
"./components/display/graph/visualizations/cloud/*": "./components/display/graph/visualizations/cloud/*.js",
|
|
121
122
|
"./components/display/graph/visualizations/cloud": "./components/display/graph/visualizations/cloud/index.js",
|
|
122
|
-
"./components/
|
|
123
|
-
"./components/
|
|
124
|
-
"./components/actions/formats": "./components/actions/formats/index.js"
|
|
123
|
+
"./components/display/graph/visualizations/tree/*": "./components/display/graph/visualizations/tree/*.js",
|
|
124
|
+
"./components/display/graph/visualizations/tree": "./components/display/graph/visualizations/tree/index.js"
|
|
125
125
|
}
|
|
126
126
|
}
|
package/plugins/store.js
CHANGED
|
@@ -11555,7 +11555,9 @@ const stream = (collection, config2) => {
|
|
|
11555
11555
|
if (collection.closed) {
|
|
11556
11556
|
return;
|
|
11557
11557
|
}
|
|
11558
|
-
|
|
11558
|
+
{
|
|
11559
|
+
console.log(`Retrying live connection in ${timeout}ms...`);
|
|
11560
|
+
}
|
|
11559
11561
|
setTimeout(() => {
|
|
11560
11562
|
connect(Math.min(timeout * 2, MAX_RETRY_DELAY));
|
|
11561
11563
|
}, timeout);
|
|
@@ -2064,7 +2064,9 @@ class ClueUIPluginStore {
|
|
|
2064
2064
|
if (this.plugins.includes(plugin.name)) {
|
|
2065
2065
|
return;
|
|
2066
2066
|
}
|
|
2067
|
-
|
|
2067
|
+
{
|
|
2068
|
+
console.log(`Installing plugin ${plugin.getPluginName()} by ${plugin.author}`);
|
|
2069
|
+
}
|
|
2068
2070
|
this.pluginStore.install(plugin);
|
|
2069
2071
|
this.plugins.push(plugin.name);
|
|
2070
2072
|
if (plugin.format) {
|