@cccsaurora/clue-ui 1.3.0-dev.324 → 1.3.0-dev.329
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-irs9q3xm.js +6091 -0
- package/{AnnotationDetails-BIjjX5GE.js → AnnotationDetails-TaLlFe0h.js} +5 -5
- package/{AnnotationPreview-D00sB1EO.js → AnnotationPreview-CC_9H0lC.js} +4 -4
- package/{ClueEnrichContext-CZkS1jpb.js → ClueEnrichContext-NZpr831K.js} +24 -16
- package/{_MapCache-WmuDdwuH.js → _MapCache-DWYVyFVH.js} +4 -4
- package/{_Uint8Array-B7JqpgFX.js → _Uint8Array-BgBspS6l.js} +7 -7
- package/{_baseAssignValue-CGTuELqU.js → _baseAssignValue-Dltt6-s5.js} +3 -3
- package/{_baseClone-CkNrTyhm.js → _baseClone-BUfES2sT.js} +7 -7
- package/{_baseFlatten-jIR_sN_-.js → _baseFlatten-D3wtzJ86.js} +4 -4
- package/{_baseGet-Bx3A4Qfp.js → _baseGet-DKnGz1D3.js} +1 -1
- package/{_baseIsEqual-C5OTWzTk.js → _baseIsEqual-CTfFNmaR.js} +4 -4
- package/{_baseIteratee-avi7MX2o.js → _baseIteratee-C004Z9XE.js} +6 -6
- package/{_baseUniq-BI9GIHMF.js → _baseUniq-BqxNeJD9.js} +3 -3
- package/_commonjsHelpers-CUmg6egw.js +6 -0
- package/{_createAggregator-QD8MzKwe.js → _createAggregator-BDMdCE6g.js} +4 -4
- package/{_getPrototype-CU0j_POw.js → _getPrototype-uU2uJIbq.js} +1 -1
- package/{_getTag-Ckxxfr88.js → _getTag-DuA1kj2A.js} +13 -13
- package/{_isIterateeCall-Ds3sw2SF.js → _isIterateeCall-CEvg7Bo6.js} +3 -3
- package/{_setToArray-CaPKQhcz.js → _setToArray-CGeR30xg.js} +1 -1
- package/{cloneDeep-DJrLSw8W.js → cloneDeep-C_PzHHQ0.js} +1 -1
- package/components/AnnotationBody.js +1 -1
- package/components/AnnotationDetailPopover.js +1 -1
- package/components/AnnotationDetails.js +6 -6
- package/components/AnnotationEntry.js +2 -2
- package/components/AnnotationPreview.js +4 -4
- package/components/EnrichedCard.js +4 -4
- package/components/EnrichedChip.js +4 -4
- package/components/EnrichedTypography.js +3 -3
- package/components/RetryFailedEnrichments.js +2 -2
- package/components/SourcePicker.js +1 -1
- package/components/actions/ActionForm.js +4 -4
- package/components/actions/ExecutePopover.js +3 -3
- package/components/actions/ResultModal.js +3 -3
- package/components/actions/form/schemaAdapter.js +2 -2
- package/components/actions/formats/FileResult.js +1 -1
- package/components/actions/formats/index.js +1 -1
- package/components/display/graph/elements/NodeCard.js +5 -5
- package/components/display/graph/index.js +4 -4
- package/components/display/graph/visualizations/cloud/index.js +3 -3
- package/components/display/graph/visualizations/tree/BundleLine.js +1 -1
- package/components/display/graph/visualizations/tree/index.js +3 -3
- package/components/display/icons/Iconified.js +1 -1
- package/components/display/json/index.js +3 -3
- package/components/display/markdown/index.js +10 -6
- package/components/enrichment/EnrichPopover.js +1 -1
- package/components/fetchers/Fetcher.js +4 -4
- package/components/fetchers/StatusChip.js +2 -2
- package/components/group/Entry.js +2 -2
- package/components/group/GroupControl.js +2 -2
- package/components/stats/QueryStatus.js +1 -1
- package/{countBy-c6S3dvSW.js → countBy-Bkq0mSO-.js} +2 -2
- package/database/index.js +2 -2
- package/database/replication.js +3 -3
- package/{get-DSsNkRQs.js → get-DlGeJ2uz.js} +1 -1
- package/{groupBy-xqz-n0Vd.js → groupBy-CXx1vslF.js} +2 -2
- package/hooks/ClueActionContext.js +5 -5
- package/hooks/ClueComponentContext.js +1 -1
- package/hooks/ClueDatabaseContext.js +1 -1
- package/hooks/ClueEnrichContext.js +7 -7
- package/hooks/ClueEnrichContextType.d.ts +1 -1
- package/hooks/ClueFetcherContext.js +2 -2
- package/hooks/ClueGroupContext.js +2 -2
- package/hooks/CluePopupContext.js +3 -3
- package/hooks/ClueProvider.js +3 -3
- package/hooks/selectors.js +7 -7
- package/hooks/useActionResult.js +3 -3
- package/hooks/useAnnotations.js +5 -5
- package/hooks/useClue.js +2 -2
- package/hooks/useClueActions.js +3 -3
- package/hooks/useClueTypeConfig.js +3 -3
- package/hooks/useComparator.js +3 -3
- package/hooks/useErrors.js +1 -1
- package/hooks/useFetcherResult.js +1 -1
- package/{iconify-CXMreGTg.js → iconify-DJxl6dC-.js} +7 -0
- package/icons/Action.js +5 -5
- package/icons/Assessment.js +7 -7
- package/icons/Context.js +4 -4
- package/icons/Opinion.js +6 -6
- package/{index-NaBSmVOx.js → index-C28rIsy3.js} +1 -1
- package/{index-CWMtU1OQ.js → index-CIj4pr7O.js} +2 -2
- package/{index-DCKkHTvx.js → index-CVUD9o3t.js} +97 -79
- package/{index-BfslcSud.js → index-CmQM2DaO.js} +47 -39
- package/index-CoosLLQl.js +9308 -0
- package/{index-AMfoEg_6.js → index-_gpzM2Px.js} +63 -57
- package/main.js +9 -9
- package/{maxBy-IKHzFrCS.js → maxBy-a49mqwW9.js} +1 -1
- package/package.json +16 -16
- package/{replication-BCvfRqsy.js → replication-DvYQDhM_.js} +170 -170
- package/{sortBy-DfSj8IoJ.js → sortBy-Tf6pz1tg.js} +7 -7
- package/{sumBy-D-hb_NY-.js → sumBy-DZSVfXDE.js} +1 -1
- package/text/Frequency.js +1 -1
- package/{useClueTypeConfig-DnF4rLsl.js → useClueTypeConfig-CnMg5Ny8.js} +2 -2
- package/utils/chain.js +12 -12
- package/utils/time.js +545 -517
- package/utils/utils.js +4 -4
- package/{utils-HmNPuoDB.js → utils-Du3XxQAT.js} +7 -7
- package/ActionForm-BvrXSMos.js +0 -5971
- package/_commonjsHelpers-DWwsNxpa.js +0 -8
- package/index-BXnMCI65.js +0 -9311
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { I as Icon } from "./iconify-
|
|
2
|
+
import { I as Icon } from "./iconify-DJxl6dC-.js";
|
|
3
3
|
import { useTheme, Stack, Typography, Tooltip, Box, IconButton, CircularProgress, Chip, Accordion, AccordionSummary, AccordionDetails, Divider } from "@mui/material";
|
|
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 {
|
|
7
|
+
import { f as useClueEnrichSelector } from "./ActionForm-irs9q3xm.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";
|
|
11
11
|
import { safeDispatchEvent } from "./utils/window.js";
|
|
12
|
-
import { g as groupBy } from "./groupBy-
|
|
13
|
-
import { u as uniq } from "./useClueTypeConfig-
|
|
12
|
+
import { g as groupBy } from "./groupBy-CXx1vslF.js";
|
|
13
|
+
import { u as uniq } from "./useClueTypeConfig-CnMg5Ny8.js";
|
|
14
14
|
import { memo, useState, useMemo, useCallback, useEffect } from "react";
|
|
15
|
-
import {
|
|
15
|
+
import { a as useContextSelector } from "./index-_gpzM2Px.js";
|
|
16
16
|
import ExecutePopover from "./components/actions/ExecutePopover.js";
|
|
17
17
|
import AnnotationEntry from "./components/AnnotationEntry.js";
|
|
18
18
|
import ClassificationChip from "./components/ClassificationChip.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { I as Icon } from "./iconify-
|
|
2
|
+
import { I as Icon } from "./iconify-DJxl6dC-.js";
|
|
3
3
|
import { useTheme, Popper, Fade, Paper, Stack, Typography, Divider } from "@mui/material";
|
|
4
4
|
import AnnotationDetailPopover from "./components/AnnotationDetailPopover.js";
|
|
5
5
|
import useAnnotations from "./hooks/useAnnotations.js";
|
|
6
|
-
import { t as twitterShort } from "./utils-
|
|
6
|
+
import { t as twitterShort } from "./utils-Du3XxQAT.js";
|
|
7
7
|
import { useState, useRef, useCallback, useEffect, useMemo } from "react";
|
|
8
|
-
import { c as createContext,
|
|
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-TaLlFe0h.js";
|
|
12
12
|
const CluePopupContext = createContext(null);
|
|
13
13
|
const CluePopupProvider = ({ children }) => {
|
|
14
14
|
const [popupType, setPopupType] = useState(null);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { a as addAPIProvider } from "./iconify-
|
|
3
|
-
import { a as api, p as post } from "./index-
|
|
2
|
+
import { a as addAPIProvider } from "./iconify-DJxl6dC-.js";
|
|
3
|
+
import { a as api, p as post } from "./index-CmQM2DaO.js";
|
|
4
4
|
import { REPLICATORS } from "./database/globals.js";
|
|
5
5
|
import { clueDebugLogger } from "./utils/loggerUtil.js";
|
|
6
6
|
import { b as baseSlice } from "./_baseSlice-GAv_YFTT.js";
|
|
7
7
|
import { t as toFinite } from "./toFinite-Bc55msYj.js";
|
|
8
8
|
import { d as debounce } from "./sessionStorage-Dbmo2Exe.js";
|
|
9
|
-
import { g as groupBy } from "./groupBy-
|
|
10
|
-
import { a as useClueTypeConfig, u as uniq } from "./useClueTypeConfig-
|
|
11
|
-
import { b as baseIteratee } from "./_baseIteratee-
|
|
12
|
-
import { b as baseUniq, i as isEmpty } from "./_baseUniq-
|
|
9
|
+
import { g as groupBy } from "./groupBy-CXx1vslF.js";
|
|
10
|
+
import { a as useClueTypeConfig, u as uniq } from "./useClueTypeConfig-CnMg5Ny8.js";
|
|
11
|
+
import { b as baseIteratee } from "./_baseIteratee-C004Z9XE.js";
|
|
12
|
+
import { b as baseUniq, i as isEmpty } from "./_baseUniq-BqxNeJD9.js";
|
|
13
13
|
import { useContext, useState, useMemo, useCallback, useRef, useEffect } from "react";
|
|
14
|
-
import { c as createContext } from "./index-
|
|
14
|
+
import { c as createContext } from "./index-_gpzM2Px.js";
|
|
15
15
|
import { ClueDatabaseContext } from "./hooks/ClueDatabaseContext.js";
|
|
16
16
|
import useClueConfig from "./hooks/useClueConfig.js";
|
|
17
17
|
function toInteger(value) {
|
|
@@ -282,6 +282,7 @@ const ClueEnrichProvider = ({
|
|
|
282
282
|
);
|
|
283
283
|
const bulkEnrich = useCallback(
|
|
284
284
|
async (bulkRequest, _options) => {
|
|
285
|
+
var _a2, _b2;
|
|
285
286
|
const _sources = (pickSources == null ? void 0 : pickSources(sources, availableSources, bulkRequest)) ?? sources;
|
|
286
287
|
const options = {
|
|
287
288
|
timeout: defaultTimeout,
|
|
@@ -303,20 +304,22 @@ const ClueEnrichProvider = ({
|
|
|
303
304
|
const statuses = [];
|
|
304
305
|
for (const selector of bulkRequest) {
|
|
305
306
|
const query = { type: selector.type, value: selector.value, classification: options.classification };
|
|
306
|
-
let statusRecord = await database.status.findOne({
|
|
307
|
+
let statusRecord = await ((_a2 = database.status) == null ? void 0 : _a2.findOne({
|
|
307
308
|
selector: query
|
|
308
309
|
}).incrementalPatch({
|
|
309
310
|
status: "in-progress"
|
|
310
|
-
});
|
|
311
|
+
}));
|
|
311
312
|
if (!statusRecord) {
|
|
312
|
-
statusRecord = await database.status.insert({
|
|
313
|
+
statusRecord = await ((_b2 = database.status) == null ? void 0 : _b2.insert({
|
|
313
314
|
id: v4(),
|
|
314
315
|
...query,
|
|
315
316
|
status: "in-progress",
|
|
316
317
|
sources: options.sources
|
|
317
|
-
});
|
|
318
|
+
}));
|
|
319
|
+
}
|
|
320
|
+
if (statusRecord) {
|
|
321
|
+
statuses.push(statusRecord.toMutableJSON());
|
|
318
322
|
}
|
|
319
|
-
statuses.push(statusRecord.toMutableJSON());
|
|
320
323
|
}
|
|
321
324
|
try {
|
|
322
325
|
const result = await post(bulkRequest, options.sources, options, requestConfig);
|
|
@@ -468,22 +471,27 @@ const ClueEnrichProvider = ({
|
|
|
468
471
|
}, [enabled, isReady, database, debugLogging, enrichQueued, (_d = database == null ? void 0 : database.status) == null ? void 0 : _d.closed]);
|
|
469
472
|
const queueEnrich = useCallback(
|
|
470
473
|
async (type, value2, classification) => {
|
|
474
|
+
var _a2, _b2;
|
|
471
475
|
if (!type) {
|
|
472
476
|
throw new Error("Type cannot be null");
|
|
473
477
|
}
|
|
474
478
|
if (!value2) {
|
|
475
479
|
throw new Error("Value cannot be null");
|
|
476
480
|
}
|
|
481
|
+
if (!database.status || database.status.closed) {
|
|
482
|
+
console.warn("status collection is closed");
|
|
483
|
+
return;
|
|
484
|
+
}
|
|
477
485
|
const query = { type, value: value2, classification: classification ?? defaultClassification };
|
|
478
|
-
let statusRecord = await database.status.findOne({
|
|
486
|
+
let statusRecord = await ((_a2 = database.status) == null ? void 0 : _a2.findOne({
|
|
479
487
|
selector: query
|
|
480
|
-
}).exec();
|
|
488
|
+
}).exec());
|
|
481
489
|
if (!statusRecord) {
|
|
482
|
-
statusRecord = await database.status.queueInsert({
|
|
490
|
+
statusRecord = await ((_b2 = database.status) == null ? void 0 : _b2.queueInsert({
|
|
483
491
|
id: v4(),
|
|
484
492
|
...query,
|
|
485
493
|
status: "pending"
|
|
486
|
-
});
|
|
494
|
+
}));
|
|
487
495
|
}
|
|
488
496
|
return statusRecord;
|
|
489
497
|
},
|
|
@@ -10,10 +10,10 @@ function isFunction(value) {
|
|
|
10
10
|
return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
|
|
11
11
|
}
|
|
12
12
|
var coreJsData = root["__core-js_shared__"];
|
|
13
|
-
var maskSrcKey = function() {
|
|
13
|
+
var maskSrcKey = (function() {
|
|
14
14
|
var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
|
|
15
15
|
return uid ? "Symbol(src)_1." + uid : "";
|
|
16
|
-
}();
|
|
16
|
+
})();
|
|
17
17
|
function isMasked(func) {
|
|
18
18
|
return !!maskSrcKey && maskSrcKey in func;
|
|
19
19
|
}
|
|
@@ -212,8 +212,8 @@ MapCache.prototype.has = mapCacheHas;
|
|
|
212
212
|
MapCache.prototype.set = mapCacheSet;
|
|
213
213
|
export {
|
|
214
214
|
ListCache as L,
|
|
215
|
-
|
|
216
|
-
|
|
215
|
+
Map as M,
|
|
216
|
+
MapCache as a,
|
|
217
217
|
isFunction as b,
|
|
218
218
|
eq as e,
|
|
219
219
|
getNative as g,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as isArray, L as ListCache,
|
|
2
|
-
import {
|
|
1
|
+
import { i as isArray, L as ListCache, M as Map, a as MapCache } from "./_MapCache-DWYVyFVH.js";
|
|
2
|
+
import { i as isArguments, d as isBuffer, h as isTypedArray, c as isArrayLike, b as baseKeys } from "./_getTag-DuA1kj2A.js";
|
|
3
3
|
import { r as root } from "./isObjectLike-OAgjjZye.js";
|
|
4
4
|
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
5
5
|
var reIsUint = /^(?:0|[1-9]\d*)$/;
|
|
@@ -116,11 +116,11 @@ var Uint8Array = root.Uint8Array;
|
|
|
116
116
|
export {
|
|
117
117
|
Stack as S,
|
|
118
118
|
Uint8Array as U,
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
119
|
+
arrayFilter as a,
|
|
120
|
+
arrayLikeKeys as b,
|
|
121
|
+
arrayPush as c,
|
|
122
|
+
baseGetAllKeys as d,
|
|
123
|
+
getSymbols as e,
|
|
124
124
|
getAllKeys as g,
|
|
125
125
|
isIndex as i,
|
|
126
126
|
keys as k,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { g as getNative } from "./_MapCache-
|
|
2
|
-
var defineProperty = function() {
|
|
1
|
+
import { g as getNative } from "./_MapCache-DWYVyFVH.js";
|
|
2
|
+
var defineProperty = (function() {
|
|
3
3
|
try {
|
|
4
4
|
var func = getNative(Object, "defineProperty");
|
|
5
5
|
func({}, "", {});
|
|
6
6
|
return func;
|
|
7
7
|
} catch (e) {
|
|
8
8
|
}
|
|
9
|
-
}();
|
|
9
|
+
})();
|
|
10
10
|
function baseAssignValue(object, key, value) {
|
|
11
11
|
if (key == "__proto__" && defineProperty) {
|
|
12
12
|
defineProperty(object, key, {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { b as baseAssignValue } from "./_baseAssignValue-
|
|
3
|
-
import { e as eq, i as isArray } from "./_MapCache-
|
|
1
|
+
import { b as arrayLikeKeys, k as keys, e as getSymbols, s as stubArray, c as arrayPush, d as baseGetAllKeys, U as Uint8Array, S as Stack, g as getAllKeys } from "./_Uint8Array-BgBspS6l.js";
|
|
2
|
+
import { b as baseAssignValue } from "./_baseAssignValue-Dltt6-s5.js";
|
|
3
|
+
import { e as eq, i as isArray } from "./_MapCache-DWYVyFVH.js";
|
|
4
4
|
import { i as isObject } from "./isObject-FTY-5JQX.js";
|
|
5
|
-
import {
|
|
5
|
+
import { f as isPrototype, c as isArrayLike, g as getTag, a as baseUnary, n as nodeUtil, d as isBuffer } from "./_getTag-DuA1kj2A.js";
|
|
6
6
|
import { r as root, S as Symbol$1, i as isObjectLike } from "./isObjectLike-OAgjjZye.js";
|
|
7
|
-
import { g as getPrototype } from "./_getPrototype-
|
|
7
|
+
import { g as getPrototype } from "./_getPrototype-uU2uJIbq.js";
|
|
8
8
|
var objectCreate = Object.create;
|
|
9
|
-
var baseCreate = /* @__PURE__ */ function() {
|
|
9
|
+
var baseCreate = /* @__PURE__ */ (function() {
|
|
10
10
|
function object() {
|
|
11
11
|
}
|
|
12
12
|
return function(proto) {
|
|
@@ -21,7 +21,7 @@ var baseCreate = /* @__PURE__ */ function() {
|
|
|
21
21
|
object.prototype = void 0;
|
|
22
22
|
return result;
|
|
23
23
|
};
|
|
24
|
-
}();
|
|
24
|
+
})();
|
|
25
25
|
function copyArray(source, array) {
|
|
26
26
|
var index = -1, length = source.length;
|
|
27
27
|
array || (array = Array(length));
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { d as defineProperty } from "./_baseAssignValue-
|
|
1
|
+
import { d as defineProperty } from "./_baseAssignValue-Dltt6-s5.js";
|
|
2
2
|
import { i as identity } from "./identity-CPGTqrE4.js";
|
|
3
|
-
import {
|
|
3
|
+
import { c as arrayPush } from "./_Uint8Array-BgBspS6l.js";
|
|
4
4
|
import { S as Symbol$1 } from "./isObjectLike-OAgjjZye.js";
|
|
5
|
-
import {
|
|
6
|
-
import { i as isArray } from "./_MapCache-
|
|
5
|
+
import { i as isArguments } from "./_getTag-DuA1kj2A.js";
|
|
6
|
+
import { i as isArray } from "./_MapCache-DWYVyFVH.js";
|
|
7
7
|
function apply(func, thisArg, args) {
|
|
8
8
|
switch (args.length) {
|
|
9
9
|
case 0:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as isArray,
|
|
1
|
+
import { i as isArray, a as MapCache } from "./_MapCache-DWYVyFVH.js";
|
|
2
2
|
import { i as isSymbol } from "./isSymbol-Xd2FsJyp.js";
|
|
3
3
|
import { S as Symbol$1 } from "./isObjectLike-OAgjjZye.js";
|
|
4
4
|
function arrayMap(array, iteratee) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { U as Uint8Array, g as getAllKeys, S as Stack } from "./_Uint8Array-
|
|
2
|
-
import { S as SetCache, c as cacheHas, s as setToArray } from "./_setToArray-
|
|
1
|
+
import { U as Uint8Array, g as getAllKeys, S as Stack } from "./_Uint8Array-BgBspS6l.js";
|
|
2
|
+
import { S as SetCache, c as cacheHas, s as setToArray } from "./_setToArray-CGeR30xg.js";
|
|
3
3
|
import { S as Symbol$1, i as isObjectLike } from "./isObjectLike-OAgjjZye.js";
|
|
4
|
-
import { e as eq, i as isArray } from "./_MapCache-
|
|
5
|
-
import { g as getTag,
|
|
4
|
+
import { e as eq, i as isArray } from "./_MapCache-DWYVyFVH.js";
|
|
5
|
+
import { g as getTag, d as isBuffer, h as isTypedArray } from "./_getTag-DuA1kj2A.js";
|
|
6
6
|
function arraySome(array, predicate) {
|
|
7
7
|
var index = -1, length = array == null ? 0 : array.length;
|
|
8
8
|
while (++index < length) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { S as Stack, k as keys, i as isIndex } from "./_Uint8Array-
|
|
2
|
-
import { b as baseIsEqual } from "./_baseIsEqual-
|
|
1
|
+
import { S as Stack, k as keys, i as isIndex } from "./_Uint8Array-BgBspS6l.js";
|
|
2
|
+
import { b as baseIsEqual } from "./_baseIsEqual-CTfFNmaR.js";
|
|
3
3
|
import { i as isObject } from "./isObject-FTY-5JQX.js";
|
|
4
|
-
import { g as get } from "./get-
|
|
5
|
-
import { c as castPath, t as toKey, i as isKey, b as baseGet } from "./_baseGet-
|
|
6
|
-
import {
|
|
7
|
-
import { i as isArray } from "./_MapCache-
|
|
4
|
+
import { g as get } from "./get-DlGeJ2uz.js";
|
|
5
|
+
import { c as castPath, t as toKey, i as isKey, b as baseGet } from "./_baseGet-DKnGz1D3.js";
|
|
6
|
+
import { e as isLength, i as isArguments } from "./_getTag-DuA1kj2A.js";
|
|
7
|
+
import { i as isArray } from "./_MapCache-DWYVyFVH.js";
|
|
8
8
|
import { i as identity } from "./identity-CPGTqrE4.js";
|
|
9
9
|
var COMPARE_PARTIAL_FLAG$1 = 1, COMPARE_UNORDERED_FLAG$1 = 2;
|
|
10
10
|
function baseIsMatch(object, source, matchData, customizer) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as isArray } from "./_MapCache-
|
|
3
|
-
import { s as setToArray, S as SetCache, c as cacheHas } from "./_setToArray-
|
|
1
|
+
import { c as isArrayLike, d as isBuffer, h as isTypedArray, i as isArguments, g as getTag, f as isPrototype, b as baseKeys, S as Set } from "./_getTag-DuA1kj2A.js";
|
|
2
|
+
import { i as isArray } from "./_MapCache-DWYVyFVH.js";
|
|
3
|
+
import { s as setToArray, S as SetCache, c as cacheHas } from "./_setToArray-CGeR30xg.js";
|
|
4
4
|
function noop() {
|
|
5
5
|
}
|
|
6
6
|
function baseFindIndex(array, predicate, fromIndex, fromRight) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { k as keys } from "./_Uint8Array-
|
|
2
|
-
import {
|
|
3
|
-
import { b as baseIteratee } from "./_baseIteratee-
|
|
4
|
-
import { i as isArray } from "./_MapCache-
|
|
1
|
+
import { k as keys } from "./_Uint8Array-BgBspS6l.js";
|
|
2
|
+
import { c as isArrayLike } from "./_getTag-DuA1kj2A.js";
|
|
3
|
+
import { b as baseIteratee } from "./_baseIteratee-C004Z9XE.js";
|
|
4
|
+
import { i as isArray } from "./_MapCache-DWYVyFVH.js";
|
|
5
5
|
function arrayAggregator(array, setter, iteratee, accumulator) {
|
|
6
6
|
var index = -1, length = array == null ? 0 : array.length;
|
|
7
7
|
while (++index < length) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getNative, b as isFunction, t as toSource,
|
|
1
|
+
import { g as getNative, b as isFunction, t as toSource, M as Map } from "./_MapCache-DWYVyFVH.js";
|
|
2
2
|
import { r as root, i as isObjectLike, b as baseGetTag, f as freeGlobal } from "./isObjectLike-OAgjjZye.js";
|
|
3
3
|
var WeakMap = getNative(root, "WeakMap");
|
|
4
4
|
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
@@ -20,9 +20,9 @@ function baseIsArguments(value) {
|
|
|
20
20
|
var objectProto$1 = Object.prototype;
|
|
21
21
|
var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
|
|
22
22
|
var propertyIsEnumerable = objectProto$1.propertyIsEnumerable;
|
|
23
|
-
var isArguments = baseIsArguments(/* @__PURE__ */ function() {
|
|
23
|
+
var isArguments = baseIsArguments(/* @__PURE__ */ (function() {
|
|
24
24
|
return arguments;
|
|
25
|
-
}()) ? baseIsArguments : function(value) {
|
|
25
|
+
})()) ? baseIsArguments : function(value) {
|
|
26
26
|
return isObjectLike(value) && hasOwnProperty$1.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
|
|
27
27
|
};
|
|
28
28
|
function stubFalse() {
|
|
@@ -51,7 +51,7 @@ var freeExports = typeof exports == "object" && exports && !exports.nodeType &&
|
|
|
51
51
|
var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
|
|
52
52
|
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
53
53
|
var freeProcess = moduleExports && freeGlobal.process;
|
|
54
|
-
var nodeUtil = function() {
|
|
54
|
+
var nodeUtil = (function() {
|
|
55
55
|
try {
|
|
56
56
|
var types = freeModule && freeModule.require && freeModule.require("util").types;
|
|
57
57
|
if (types) {
|
|
@@ -60,7 +60,7 @@ var nodeUtil = function() {
|
|
|
60
60
|
return freeProcess && freeProcess.binding && freeProcess.binding("util");
|
|
61
61
|
} catch (e) {
|
|
62
62
|
}
|
|
63
|
-
}();
|
|
63
|
+
})();
|
|
64
64
|
var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
|
|
65
65
|
var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
|
|
66
66
|
function overArg(func, transform) {
|
|
@@ -112,15 +112,15 @@ if (DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag || Map &
|
|
|
112
112
|
}
|
|
113
113
|
export {
|
|
114
114
|
Set as S,
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
115
|
+
baseUnary as a,
|
|
116
|
+
baseKeys as b,
|
|
117
|
+
isArrayLike as c,
|
|
118
|
+
isBuffer as d,
|
|
119
|
+
isLength as e,
|
|
120
|
+
isPrototype as f,
|
|
121
121
|
getTag as g,
|
|
122
|
-
|
|
123
|
-
|
|
122
|
+
isTypedArray as h,
|
|
123
|
+
isArguments as i,
|
|
124
124
|
nodeUtil as n,
|
|
125
125
|
overArg as o
|
|
126
126
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { e as eq } from "./_MapCache-
|
|
2
|
-
import {
|
|
3
|
-
import { i as isIndex } from "./_Uint8Array-
|
|
1
|
+
import { e as eq } from "./_MapCache-DWYVyFVH.js";
|
|
2
|
+
import { c as isArrayLike } from "./_getTag-DuA1kj2A.js";
|
|
3
|
+
import { i as isIndex } from "./_Uint8Array-BgBspS6l.js";
|
|
4
4
|
import { i as isObject } from "./isObject-FTY-5JQX.js";
|
|
5
5
|
function isIterateeCall(value, index, object) {
|
|
6
6
|
if (!isObject(object)) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { I as Icon } from "../iconify-
|
|
2
|
+
import { I as Icon } from "../iconify-DJxl6dC-.js";
|
|
3
3
|
import { Box, Chip, Stack, Typography } from "@mui/material";
|
|
4
4
|
import { memo, useMemo } from "react";
|
|
5
5
|
const AnnotationBody = ({ annotation }) => {
|
|
@@ -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-TaLlFe0h.js";
|
|
5
5
|
const AnnotationDetailPopover = React__default.memo(({ anchorEl, enrichRequest, open, onClose, ...otherProps }) => {
|
|
6
6
|
var _a, _b, _c;
|
|
7
7
|
const actionRef = useRef();
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../iconify-
|
|
2
|
+
import "../iconify-DJxl6dC-.js";
|
|
3
3
|
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-irs9q3xm.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
|
-
import "../groupBy-
|
|
13
|
-
import { A } from "../AnnotationDetails-
|
|
14
|
-
import "../useClueTypeConfig-
|
|
12
|
+
import "../groupBy-CXx1vslF.js";
|
|
13
|
+
import { A } from "../AnnotationDetails-TaLlFe0h.js";
|
|
14
|
+
import "../useClueTypeConfig-CnMg5Ny8.js";
|
|
15
15
|
import "react";
|
|
16
|
-
import "../index-
|
|
16
|
+
import "../index-_gpzM2Px.js";
|
|
17
17
|
import "./actions/ExecutePopover.js";
|
|
18
18
|
import "./AnnotationEntry.js";
|
|
19
19
|
import "./ClassificationChip.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { I as Icon } from "../iconify-
|
|
2
|
+
import { I as Icon } from "../iconify-DJxl6dC-.js";
|
|
3
3
|
import { Stack, Typography, Chip, IconButton } from "@mui/material";
|
|
4
4
|
import Iconified from "./display/icons/Iconified.js";
|
|
5
|
-
import { t as twitterShort } from "../utils-
|
|
5
|
+
import { t as twitterShort } from "../utils-Du3XxQAT.js";
|
|
6
6
|
import { memo } from "react";
|
|
7
7
|
import AnnotationBody from "./AnnotationBody.js";
|
|
8
8
|
import ClassificationChip from "./ClassificationChip.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../iconify-
|
|
2
|
+
import "../iconify-DJxl6dC-.js";
|
|
3
3
|
import "@mui/material";
|
|
4
|
-
import { A } from "../AnnotationPreview-
|
|
4
|
+
import { A } from "../AnnotationPreview-CC_9H0lC.js";
|
|
5
5
|
import "../hooks/useAnnotations.js";
|
|
6
|
-
import "../utils-
|
|
6
|
+
import "../utils-Du3XxQAT.js";
|
|
7
7
|
import "react";
|
|
8
|
-
import "../index-
|
|
8
|
+
import "../index-_gpzM2Px.js";
|
|
9
9
|
export {
|
|
10
10
|
A as default
|
|
11
11
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { I as Icon } from "../iconify-
|
|
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 {
|
|
5
|
+
import { f as useClueEnrichSelector } from "../ActionForm-irs9q3xm.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";
|
|
@@ -10,9 +10,9 @@ import ContextIcon from "../icons/Context.js";
|
|
|
10
10
|
import OpinionIcon from "../icons/Opinion.js";
|
|
11
11
|
import { ICON_MAP } from "../icons/iconMap.js";
|
|
12
12
|
import FrequencyText from "../text/Frequency.js";
|
|
13
|
-
import { u as uniq } from "../useClueTypeConfig-
|
|
13
|
+
import { u as uniq } from "../useClueTypeConfig-CnMg5Ny8.js";
|
|
14
14
|
import { memo, useState, useMemo, useCallback } from "react";
|
|
15
|
-
import {
|
|
15
|
+
import { a as useContextSelector } from "../index-_gpzM2Px.js";
|
|
16
16
|
import AnnotationEntry from "./AnnotationEntry.js";
|
|
17
17
|
import ExecutePopover from "./actions/ExecutePopover.js";
|
|
18
18
|
import EnrichPopover from "./enrichment/EnrichPopover.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 {
|
|
6
|
+
import { C as CluePopupContext } from "../AnnotationPreview-CC_9H0lC.js";
|
|
7
|
+
import { f as useClueEnrichSelector } from "../ActionForm-irs9q3xm.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";
|
|
@@ -12,7 +12,7 @@ import ContextIcon from "../icons/Context.js";
|
|
|
12
12
|
import OpinionIcon from "../icons/Opinion.js";
|
|
13
13
|
import FrequencyText from "../text/Frequency.js";
|
|
14
14
|
import React__default, { useRef, useMemo, useCallback, useEffect, memo } from "react";
|
|
15
|
-
import {
|
|
15
|
+
import { a as useContextSelector } from "../index-_gpzM2Px.js";
|
|
16
16
|
const EnrichedChip = React__default.memo(
|
|
17
17
|
({
|
|
18
18
|
type: _type,
|
|
@@ -83,7 +83,7 @@ const EnrichedChip = React__default.memo(
|
|
|
83
83
|
ref: anchorRef,
|
|
84
84
|
variant: otherProps.variant || "outlined",
|
|
85
85
|
sx: {
|
|
86
|
-
height: otherProps.size
|
|
86
|
+
height: otherProps.size === "medium" ? "40px" : "unset",
|
|
87
87
|
"& .MuiChip-label": { overflow: "visible" },
|
|
88
88
|
...otherProps.sx ?? {}
|
|
89
89
|
},
|
|
@@ -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 {
|
|
6
|
+
import { C as CluePopupContext } from "../AnnotationPreview-CC_9H0lC.js";
|
|
7
|
+
import { f as useClueEnrichSelector } from "../ActionForm-irs9q3xm.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";
|
|
@@ -12,7 +12,7 @@ import ContextIcon from "../icons/Context.js";
|
|
|
12
12
|
import OpinionIcon from "../icons/Opinion.js";
|
|
13
13
|
import FrequencyText from "../text/Frequency.js";
|
|
14
14
|
import { memo, useRef, useMemo, useCallback, useEffect } from "react";
|
|
15
|
-
import {
|
|
15
|
+
import { a as useContextSelector } from "../index-_gpzM2Px.js";
|
|
16
16
|
const EnrichedTypography = ({
|
|
17
17
|
type: _type,
|
|
18
18
|
value,
|
|
@@ -1,8 +1,8 @@
|
|
|
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 {
|
|
5
|
-
import {
|
|
4
|
+
import { f as useClueEnrichSelector } from "../ActionForm-irs9q3xm.js";
|
|
5
|
+
import { a as useContextSelector } from "../index-_gpzM2Px.js";
|
|
6
6
|
const RetryFailedEnrichments = () => {
|
|
7
7
|
const enrichFailedEnrichments = useClueEnrichSelector((ctx) => ctx.enrichFailedEnrichments);
|
|
8
8
|
const { t } = useContextSelector(ClueComponentContext, (ctx) => ctx.i18next);
|
|
@@ -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 {
|
|
3
|
+
import { e as useClueComponentSelector, f as useClueEnrichSelector } from "../ActionForm-irs9q3xm.js";
|
|
4
4
|
import { memo, useState, useEffect } from "react";
|
|
5
5
|
const SourcePicker = () => {
|
|
6
6
|
const { t } = useClueComponentSelector((ctx) => ctx.i18next);
|
|
@@ -3,12 +3,12 @@ import "@jsonforms/material-renderers";
|
|
|
3
3
|
import "@jsonforms/react";
|
|
4
4
|
import "@mui/material";
|
|
5
5
|
import "../display/icons/Iconified.js";
|
|
6
|
-
import "../../index-
|
|
6
|
+
import "../../index-CIj4pr7O.js";
|
|
7
7
|
import "../../hooks/ClueComponentContext.js";
|
|
8
|
-
import { A } from "../../ActionForm-
|
|
9
|
-
import "../../utils-
|
|
8
|
+
import { A } from "../../ActionForm-irs9q3xm.js";
|
|
9
|
+
import "../../utils-Du3XxQAT.js";
|
|
10
10
|
import "react";
|
|
11
|
-
import "../../index-
|
|
11
|
+
import "../../index-_gpzM2Px.js";
|
|
12
12
|
import "../ErrorBoundary.js";
|
|
13
13
|
import "./form/schemaAdapter.js";
|
|
14
14
|
export {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { I as Icon } from "../../iconify-
|
|
2
|
+
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 {
|
|
6
|
+
import { d as useClueActionsSelector } from "../../ActionForm-irs9q3xm.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";
|
|
10
|
-
import {
|
|
10
|
+
import { a as useContextSelector } from "../../index-_gpzM2Px.js";
|
|
11
11
|
import ClassificationChip from "../ClassificationChip.js";
|
|
12
12
|
const ExecutePopover = ({ show = false, size = "small", selectors, multiples = false }) => {
|
|
13
13
|
const { t } = useContextSelector(ClueComponentContext, (ctx) => ctx.i18next);
|