@cccsaurora/clue-ui 1.2.0-dev.117 → 1.2.0-dev.130
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-ByeOzpc4.js → ActionForm-3jixwRKa.js} +4 -4
- package/{AnnotationDetails-PQIlMjca.js → AnnotationDetails-CbXSCkTF.js} +2 -2
- package/{AnnotationPreview-BiEmUWaU.js → AnnotationPreview-D5NX8_su.js} +2 -2
- package/{ClueEnrichContext-DGb6cU6C.js → ClueEnrichContext-DzZhWGxh.js} +11 -10
- package/{_MapCache-DabaaWfq.js → _MapCache-WmuDdwuH.js} +63 -2
- package/{_Uint8Array-BlVVH1tp.js → _Uint8Array-BYE8bXpl.js} +2 -3
- package/{_baseAssignValue-CNbcU6Nb.js → _baseAssignValue-CGTuELqU.js} +1 -1
- package/{_baseClone-D3a8Pa4T.js → _baseClone-BZWIR6v5.js} +5 -6
- package/{_baseExtremum-B1o1zHjR.js → _baseExtremum-CvA2lsVF.js} +3 -3
- package/{_baseFlatten-D4huXoEI.js → _baseFlatten-hXNFmTLV.js} +4 -4
- package/{_baseGet-BSK_nnoz.js → _baseGet-Bx3A4Qfp.js} +1 -2
- package/{_baseIsEqual-B5xLoweL.js → _baseIsEqual-CIc2ClfN.js} +5 -35
- package/{_baseIteratee-p6Nj07-n.js → _baseIteratee-B7fb_3hC.js} +6 -6
- package/{_baseUniq-CpupKWcL.js → _baseUniq-B8fK6hI-.js} +29 -3
- package/{_createAggregator-BpVy5xMi.js → _createAggregator-WsSxBVpS.js} +4 -4
- package/{_getPrototype-D1LAdQKO.js → _getPrototype-CblfEidB.js} +1 -1
- package/{_getTag-D3ToyefI.js → _getTag-jwz4XLoZ.js} +5 -5
- package/_setToArray-CaPKQhcz.js +33 -0
- package/{cloneDeep-CjP5k9zW.js → cloneDeep-CASxfDJM.js} +1 -1
- package/components/AnnotationDetailPopover.js +1 -1
- package/components/AnnotationDetails.js +3 -3
- package/components/AnnotationEntry.js +1 -1
- package/components/AnnotationPreview.js +2 -2
- package/components/EnrichedCard.js +1 -1
- package/components/EnrichedChip.js +1 -1
- package/components/EnrichedTypography.js +1 -1
- package/components/actions/ActionForm.js +3 -3
- package/components/actions/ResultModal.js +2 -2
- package/components/actions/form/schemaAdapter.js +2 -2
- package/components/display/graph/elements/NodeCard.js +5 -5
- package/components/display/graph/index.js +2 -2
- package/components/display/graph/visualizations/cloud/index.js +2 -2
- package/components/display/graph/visualizations/tree/index.js +3 -3
- package/components/display/json/index.js +2 -2
- package/components/enrichment/EnrichPopover.js +1 -1
- package/components/fetchers/Fetcher.js +1 -1
- package/components/group/Entry.js +1 -1
- package/components/group/GroupControl.js +1 -1
- package/{countBy-C69WslUA.js → countBy-BM48i7TV.js} +2 -2
- package/{get-D3C3lEU3.js → get-DSsNkRQs.js} +1 -1
- package/{groupBy-DC2oOuBN.js → groupBy-mXHt-nYT.js} +2 -2
- package/hooks/ClueActionContext.js +2 -2
- package/hooks/ClueEnrichContext.js +3 -3
- package/hooks/ClueEnrichContextType.d.ts +5 -0
- package/hooks/ClueFetcherContext.js +1 -1
- package/hooks/CluePopupContext.js +2 -2
- package/hooks/ClueProvider.js +3 -3
- package/hooks/selectors.js +2 -2
- package/hooks/useActionResult.js +1 -1
- package/hooks/useAnnotations.js +2 -2
- package/hooks/useClue.js +1 -1
- package/hooks/useClueActions.js +1 -1
- package/hooks/useClueTypeConfig.d.ts +1 -0
- package/hooks/useClueTypeConfig.js +3 -3
- package/hooks/useComparator.js +1 -1
- package/hooks/useErrors.js +1 -1
- package/icons/Action.js +3 -3
- package/icons/Assessment.js +4 -4
- package/icons/Context.js +2 -2
- package/icons/Opinion.js +4 -4
- package/{index-Bi21Wb23.js → index-BjdMDa40.js} +1 -1
- package/main.js +4 -4
- package/package.json +1 -1
- package/{sortBy-B-UKp4GT.js → sortBy-B0zptFuY.js} +7 -7
- package/{sumBy-MYkDPHZL.js → sumBy-ByJNa2hf.js} +1 -1
- package/text/Frequency.js +1 -1
- package/{useClueTypeConfig-XvGvIw2S.js → useClueTypeConfig-CHWm5uda.js} +10 -3
- package/utils/chain.js +11 -11
- package/utils/utils.js +3 -3
- package/{utils-7OtvGnmf.js → utils-CW9CNV1h.js} +4 -5
- package/_Map-kgDsDYxq.js +0 -64
- package/isEmpty-BQkZubqU.js +0 -29
|
@@ -3,13 +3,13 @@ import { materialRenderers, materialCells } from "@jsonforms/material-renderers"
|
|
|
3
3
|
import { JsonForms } from "@jsonforms/react";
|
|
4
4
|
import { Modal, Paper, Stack, Typography, Divider, LinearProgress, Button, IconButton, Box, CircularProgress, Collapse } from "@mui/material";
|
|
5
5
|
import Iconified from "./components/display/icons/Iconified.js";
|
|
6
|
-
import { J as JSONViewer } from "./index-
|
|
6
|
+
import { J as JSONViewer } from "./index-BjdMDa40.js";
|
|
7
7
|
import { ClueComponentContext } from "./hooks/ClueComponentContext.js";
|
|
8
8
|
import { A as Ajv } from "./index-CC12Ux-9.js";
|
|
9
|
-
import { a as api } from "./useClueTypeConfig-
|
|
10
|
-
import { d as toString } from "./_baseGet-
|
|
9
|
+
import { a as api } from "./useClueTypeConfig-CHWm5uda.js";
|
|
10
|
+
import { d as toString } from "./_baseGet-Bx3A4Qfp.js";
|
|
11
11
|
import { b as baseSlice } from "./_baseSlice-GAv_YFTT.js";
|
|
12
|
-
import { i as isEqual } from "./utils-
|
|
12
|
+
import { i as isEqual } from "./utils-CW9CNV1h.js";
|
|
13
13
|
import { useState, useRef, useMemo, useEffect, memo, useCallback } from "react";
|
|
14
14
|
import { u as useContextSelector, c as createContext, a as useContext } from "./index-BDVjGvMI.js";
|
|
15
15
|
import ErrorBoundary from "./components/ErrorBoundary.js";
|
|
@@ -9,8 +9,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 "./
|
|
12
|
+
import { g as groupBy } from "./groupBy-mXHt-nYT.js";
|
|
13
|
+
import { u as uniq } from "./useClueTypeConfig-CHWm5uda.js";
|
|
14
14
|
import { memo, useState, useMemo, useCallback, useEffect } from "react";
|
|
15
15
|
import { u as useContextSelector } from "./index-BDVjGvMI.js";
|
|
16
16
|
import ExecutePopover from "./components/actions/ExecutePopover.js";
|
|
@@ -3,12 +3,12 @@ import { I as Icon } from "./iconify-CXMreGTg.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-CW9CNV1h.js";
|
|
7
7
|
import { useState, useRef, useCallback, useEffect, useMemo } from "react";
|
|
8
8
|
import { c as createContext, u as useContextSelector } from "./index-BDVjGvMI.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-CbXSCkTF.js";
|
|
12
12
|
const CluePopupContext = createContext(null);
|
|
13
13
|
const CluePopupProvider = ({ children }) => {
|
|
14
14
|
const [popupType, setPopupType] = useState(null);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { a as addAPIProvider } from "./iconify-CXMreGTg.js";
|
|
3
|
-
import {
|
|
3
|
+
import { b as useClueTypeConfig, a as api, p as post, u as uniq } from "./useClueTypeConfig-CHWm5uda.js";
|
|
4
4
|
import { clueDebugLogger } from "./utils/loggerUtil.js";
|
|
5
5
|
import { b as baseSlice } from "./_baseSlice-GAv_YFTT.js";
|
|
6
6
|
import { t as toFinite } from "./toFinite-Bc55msYj.js";
|
|
7
7
|
import { d as debounce } from "./debounce-bV0h5FC5.js";
|
|
8
|
-
import { g as groupBy } from "./groupBy-
|
|
9
|
-
import { b as
|
|
10
|
-
import { b as
|
|
8
|
+
import { g as groupBy } from "./groupBy-mXHt-nYT.js";
|
|
9
|
+
import { b as baseIteratee } from "./_baseIteratee-B7fb_3hC.js";
|
|
10
|
+
import { b as baseUniq } from "./_baseUniq-B8fK6hI-.js";
|
|
11
11
|
import { useContext, useState, useMemo, useCallback, useRef, useEffect } from "react";
|
|
12
12
|
import { c as createContext } from "./index-BDVjGvMI.js";
|
|
13
13
|
import { ClueDatabaseContext } from "./hooks/ClueDatabaseContext.js";
|
|
@@ -33,9 +33,6 @@ function chunk(array, size, guard) {
|
|
|
33
33
|
}
|
|
34
34
|
return result;
|
|
35
35
|
}
|
|
36
|
-
function uniq(array) {
|
|
37
|
-
return array && array.length ? baseUniq(array) : [];
|
|
38
|
-
}
|
|
39
36
|
function uniqBy(array, iteratee) {
|
|
40
37
|
return array && array.length ? baseUniq(array, baseIteratee(iteratee)) : [];
|
|
41
38
|
}
|
|
@@ -110,7 +107,7 @@ const ClueEnrichProvider = ({
|
|
|
110
107
|
const [isReady, setIsReady] = useState(ready);
|
|
111
108
|
const runningRequestCount = useRef(0);
|
|
112
109
|
const [sources, setSources] = useState([]);
|
|
113
|
-
const { availableSources, typesDetection } = useClueTypeConfig(
|
|
110
|
+
const { availableSources, typesDetection, supportedTypes } = useClueTypeConfig(
|
|
114
111
|
enabled && isReady,
|
|
115
112
|
baseURL,
|
|
116
113
|
debugLogging,
|
|
@@ -337,6 +334,9 @@ const ClueEnrichProvider = ({
|
|
|
337
334
|
]
|
|
338
335
|
);
|
|
339
336
|
const enrichFailedEnrichments = useCallback(async () => {
|
|
337
|
+
if (!(database == null ? void 0 : database.selectors) || database.selectors.closed) {
|
|
338
|
+
return;
|
|
339
|
+
}
|
|
340
340
|
const failedEnrichments = await database.selectors.find({ selector: { error: { $exists: true } } }).exec();
|
|
341
341
|
const byClassification = groupBy(failedEnrichments, "classification");
|
|
342
342
|
const newRequests = [];
|
|
@@ -504,6 +504,7 @@ const ClueEnrichProvider = ({
|
|
|
504
504
|
sources,
|
|
505
505
|
setSources,
|
|
506
506
|
typesDetection,
|
|
507
|
+
supportedTypes,
|
|
507
508
|
availableSources,
|
|
508
509
|
guessType,
|
|
509
510
|
queueEnrich,
|
|
@@ -520,6 +521,7 @@ const ClueEnrichProvider = ({
|
|
|
520
521
|
enrichFailedEnrichments,
|
|
521
522
|
sources,
|
|
522
523
|
typesDetection,
|
|
524
|
+
supportedTypes,
|
|
523
525
|
availableSources,
|
|
524
526
|
guessType,
|
|
525
527
|
queueEnrich,
|
|
@@ -535,6 +537,5 @@ const ClueEnrichProvider = ({
|
|
|
535
537
|
export {
|
|
536
538
|
ClueEnrichContext as C,
|
|
537
539
|
ClueEnrichProvider as a,
|
|
538
|
-
uniqBy as
|
|
539
|
-
uniq as u
|
|
540
|
+
uniqBy as u
|
|
540
541
|
};
|
|
@@ -1,4 +1,59 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as baseGetTag, r as root } from "./isObjectLike-OAgjjZye.js";
|
|
2
|
+
import { i as isObject } from "./isObject-FTY-5JQX.js";
|
|
3
|
+
var isArray = Array.isArray;
|
|
4
|
+
var asyncTag = "[object AsyncFunction]", funcTag = "[object Function]", genTag = "[object GeneratorFunction]", proxyTag = "[object Proxy]";
|
|
5
|
+
function isFunction(value) {
|
|
6
|
+
if (!isObject(value)) {
|
|
7
|
+
return false;
|
|
8
|
+
}
|
|
9
|
+
var tag = baseGetTag(value);
|
|
10
|
+
return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
|
|
11
|
+
}
|
|
12
|
+
var coreJsData = root["__core-js_shared__"];
|
|
13
|
+
var maskSrcKey = function() {
|
|
14
|
+
var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
|
|
15
|
+
return uid ? "Symbol(src)_1." + uid : "";
|
|
16
|
+
}();
|
|
17
|
+
function isMasked(func) {
|
|
18
|
+
return !!maskSrcKey && maskSrcKey in func;
|
|
19
|
+
}
|
|
20
|
+
var funcProto$1 = Function.prototype;
|
|
21
|
+
var funcToString$1 = funcProto$1.toString;
|
|
22
|
+
function toSource(func) {
|
|
23
|
+
if (func != null) {
|
|
24
|
+
try {
|
|
25
|
+
return funcToString$1.call(func);
|
|
26
|
+
} catch (e) {
|
|
27
|
+
}
|
|
28
|
+
try {
|
|
29
|
+
return func + "";
|
|
30
|
+
} catch (e) {
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
return "";
|
|
34
|
+
}
|
|
35
|
+
var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
|
|
36
|
+
var reIsHostCtor = /^\[object .+?Constructor\]$/;
|
|
37
|
+
var funcProto = Function.prototype, objectProto$2 = Object.prototype;
|
|
38
|
+
var funcToString = funcProto.toString;
|
|
39
|
+
var hasOwnProperty$2 = objectProto$2.hasOwnProperty;
|
|
40
|
+
var reIsNative = RegExp(
|
|
41
|
+
"^" + funcToString.call(hasOwnProperty$2).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
42
|
+
);
|
|
43
|
+
function baseIsNative(value) {
|
|
44
|
+
if (!isObject(value) || isMasked(value)) {
|
|
45
|
+
return false;
|
|
46
|
+
}
|
|
47
|
+
var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
|
|
48
|
+
return pattern.test(toSource(value));
|
|
49
|
+
}
|
|
50
|
+
function getValue(object, key) {
|
|
51
|
+
return object == null ? void 0 : object[key];
|
|
52
|
+
}
|
|
53
|
+
function getNative(object, key) {
|
|
54
|
+
var value = getValue(object, key);
|
|
55
|
+
return baseIsNative(value) ? value : void 0;
|
|
56
|
+
}
|
|
2
57
|
function eq(value, other) {
|
|
3
58
|
return value === other || value !== value && other !== other;
|
|
4
59
|
}
|
|
@@ -108,6 +163,7 @@ ListCache.prototype["delete"] = listCacheDelete;
|
|
|
108
163
|
ListCache.prototype.get = listCacheGet;
|
|
109
164
|
ListCache.prototype.has = listCacheHas;
|
|
110
165
|
ListCache.prototype.set = listCacheSet;
|
|
166
|
+
var Map = getNative(root, "Map");
|
|
111
167
|
function mapCacheClear() {
|
|
112
168
|
this.size = 0;
|
|
113
169
|
this.__data__ = {
|
|
@@ -157,5 +213,10 @@ MapCache.prototype.set = mapCacheSet;
|
|
|
157
213
|
export {
|
|
158
214
|
ListCache as L,
|
|
159
215
|
MapCache as M,
|
|
160
|
-
|
|
216
|
+
Map as a,
|
|
217
|
+
isFunction as b,
|
|
218
|
+
eq as e,
|
|
219
|
+
getNative as g,
|
|
220
|
+
isArray as i,
|
|
221
|
+
toSource as t
|
|
161
222
|
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { L as ListCache, M as MapCache } from "./_MapCache-
|
|
2
|
-
import {
|
|
3
|
-
import { c as isArguments, a as isBuffer, b as isTypedArray, e as baseKeys, i as isArrayLike } from "./_getTag-D3ToyefI.js";
|
|
1
|
+
import { i as isArray, L as ListCache, a as Map, M as MapCache } from "./_MapCache-WmuDdwuH.js";
|
|
2
|
+
import { d as isArguments, a as isBuffer, b as isTypedArray, f as baseKeys, i as isArrayLike } from "./_getTag-jwz4XLoZ.js";
|
|
4
3
|
import { r as root } from "./isObjectLike-OAgjjZye.js";
|
|
5
4
|
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
6
5
|
var reIsUint = /^(?:0|[1-9]\d*)$/;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { c as arrayLikeKeys, k as keys, d as getSymbols, s as stubArray, a as arrayPush, e as baseGetAllKeys, U as Uint8Array, S as Stack, g as getAllKeys } from "./_Uint8Array-
|
|
2
|
-
import { b as baseAssignValue } from "./_baseAssignValue-
|
|
3
|
-
import { e as eq } from "./_MapCache-
|
|
1
|
+
import { c as arrayLikeKeys, k as keys, d as getSymbols, s as stubArray, a as arrayPush, e as baseGetAllKeys, U as Uint8Array, S as Stack, g as getAllKeys } from "./_Uint8Array-BYE8bXpl.js";
|
|
2
|
+
import { b as baseAssignValue } from "./_baseAssignValue-CGTuELqU.js";
|
|
3
|
+
import { e as eq, i as isArray } from "./_MapCache-WmuDdwuH.js";
|
|
4
4
|
import { i as isObject } from "./isObject-FTY-5JQX.js";
|
|
5
|
-
import {
|
|
5
|
+
import { e as isPrototype, i as isArrayLike, g as getTag, c as baseUnary, n as nodeUtil, a as isBuffer } from "./_getTag-jwz4XLoZ.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-
|
|
8
|
-
import { i as isArray } from "./_Map-kgDsDYxq.js";
|
|
7
|
+
import { g as getPrototype } from "./_getPrototype-CblfEidB.js";
|
|
9
8
|
var objectCreate = Object.create;
|
|
10
9
|
var baseCreate = /* @__PURE__ */ function() {
|
|
11
10
|
function object() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { e as eq } from "./_MapCache-
|
|
2
|
-
import { i as isArrayLike } from "./_getTag-
|
|
3
|
-
import { i as isIndex } from "./_Uint8Array-
|
|
1
|
+
import { e as eq } from "./_MapCache-WmuDdwuH.js";
|
|
2
|
+
import { i as isArrayLike } from "./_getTag-jwz4XLoZ.js";
|
|
3
|
+
import { i as isIndex } from "./_Uint8Array-BYE8bXpl.js";
|
|
4
4
|
import { i as isObject } from "./isObject-FTY-5JQX.js";
|
|
5
5
|
import { i as isSymbol } from "./isSymbol-Xd2FsJyp.js";
|
|
6
6
|
function isIterateeCall(value, index, object) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { d as defineProperty } from "./_baseAssignValue-
|
|
1
|
+
import { d as defineProperty } from "./_baseAssignValue-CGTuELqU.js";
|
|
2
2
|
import { i as identity } from "./identity-CPGTqrE4.js";
|
|
3
|
-
import { a as arrayPush } from "./_Uint8Array-
|
|
3
|
+
import { a as arrayPush } from "./_Uint8Array-BYE8bXpl.js";
|
|
4
4
|
import { S as Symbol$1 } from "./isObjectLike-OAgjjZye.js";
|
|
5
|
-
import {
|
|
6
|
-
import { i as isArray } from "./
|
|
5
|
+
import { d as isArguments } from "./_getTag-jwz4XLoZ.js";
|
|
6
|
+
import { i as isArray } from "./_MapCache-WmuDdwuH.js";
|
|
7
7
|
function apply(func, thisArg, args) {
|
|
8
8
|
switch (args.length) {
|
|
9
9
|
case 0:
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { i as isArray } from "./
|
|
1
|
+
import { i as isArray, M as MapCache } from "./_MapCache-WmuDdwuH.js";
|
|
2
2
|
import { i as isSymbol } from "./isSymbol-Xd2FsJyp.js";
|
|
3
|
-
import { M as MapCache } from "./_MapCache-DabaaWfq.js";
|
|
4
3
|
import { S as Symbol$1 } from "./isObjectLike-OAgjjZye.js";
|
|
5
4
|
function arrayMap(array, iteratee) {
|
|
6
5
|
var index = -1, length = array == null ? 0 : array.length, result = Array(length);
|
|
@@ -1,25 +1,8 @@
|
|
|
1
|
-
import { U as Uint8Array, g as getAllKeys, S as Stack } from "./_Uint8Array-
|
|
2
|
-
import {
|
|
1
|
+
import { U as Uint8Array, g as getAllKeys, S as Stack } from "./_Uint8Array-BYE8bXpl.js";
|
|
2
|
+
import { S as SetCache, c as cacheHas, s as setToArray } from "./_setToArray-CaPKQhcz.js";
|
|
3
3
|
import { S as Symbol$1, i as isObjectLike } from "./isObjectLike-OAgjjZye.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
var HASH_UNDEFINED = "__lodash_hash_undefined__";
|
|
7
|
-
function setCacheAdd(value) {
|
|
8
|
-
this.__data__.set(value, HASH_UNDEFINED);
|
|
9
|
-
return this;
|
|
10
|
-
}
|
|
11
|
-
function setCacheHas(value) {
|
|
12
|
-
return this.__data__.has(value);
|
|
13
|
-
}
|
|
14
|
-
function SetCache(values) {
|
|
15
|
-
var index = -1, length = values == null ? 0 : values.length;
|
|
16
|
-
this.__data__ = new MapCache();
|
|
17
|
-
while (++index < length) {
|
|
18
|
-
this.add(values[index]);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;
|
|
22
|
-
SetCache.prototype.has = setCacheHas;
|
|
4
|
+
import { e as eq, i as isArray } from "./_MapCache-WmuDdwuH.js";
|
|
5
|
+
import { g as getTag, a as isBuffer, b as isTypedArray } from "./_getTag-jwz4XLoZ.js";
|
|
23
6
|
function arraySome(array, predicate) {
|
|
24
7
|
var index = -1, length = array == null ? 0 : array.length;
|
|
25
8
|
while (++index < length) {
|
|
@@ -29,9 +12,6 @@ function arraySome(array, predicate) {
|
|
|
29
12
|
}
|
|
30
13
|
return false;
|
|
31
14
|
}
|
|
32
|
-
function cacheHas(cache, key) {
|
|
33
|
-
return cache.has(key);
|
|
34
|
-
}
|
|
35
15
|
var COMPARE_PARTIAL_FLAG$3 = 1, COMPARE_UNORDERED_FLAG$1 = 2;
|
|
36
16
|
function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
|
|
37
17
|
var isPartial = bitmask & COMPARE_PARTIAL_FLAG$3, arrLength = array.length, othLength = other.length;
|
|
@@ -83,13 +63,6 @@ function mapToArray(map) {
|
|
|
83
63
|
});
|
|
84
64
|
return result;
|
|
85
65
|
}
|
|
86
|
-
function setToArray(set) {
|
|
87
|
-
var index = -1, result = Array(set.size);
|
|
88
|
-
set.forEach(function(value) {
|
|
89
|
-
result[++index] = value;
|
|
90
|
-
});
|
|
91
|
-
return result;
|
|
92
|
-
}
|
|
93
66
|
var COMPARE_PARTIAL_FLAG$2 = 1, COMPARE_UNORDERED_FLAG = 2;
|
|
94
67
|
var boolTag = "[object Boolean]", dateTag = "[object Date]", errorTag = "[object Error]", mapTag = "[object Map]", numberTag = "[object Number]", regexpTag = "[object RegExp]", setTag = "[object Set]", stringTag = "[object String]", symbolTag = "[object Symbol]";
|
|
95
68
|
var arrayBufferTag = "[object ArrayBuffer]", dataViewTag = "[object DataView]";
|
|
@@ -230,9 +203,6 @@ function baseIsEqual(value, other, bitmask, customizer, stack) {
|
|
|
230
203
|
return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);
|
|
231
204
|
}
|
|
232
205
|
export {
|
|
233
|
-
SetCache as S,
|
|
234
206
|
baseIsEqual as b,
|
|
235
|
-
|
|
236
|
-
mapToArray as m,
|
|
237
|
-
setToArray as s
|
|
207
|
+
mapToArray as m
|
|
238
208
|
};
|
|
@@ -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-BYE8bXpl.js";
|
|
2
|
+
import { b as baseIsEqual } from "./_baseIsEqual-CIc2ClfN.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 { h as isLength,
|
|
7
|
-
import { i as isArray } from "./
|
|
4
|
+
import { g as get } from "./get-DSsNkRQs.js";
|
|
5
|
+
import { c as castPath, t as toKey, i as isKey, b as baseGet } from "./_baseGet-Bx3A4Qfp.js";
|
|
6
|
+
import { h as isLength, d as isArguments } from "./_getTag-jwz4XLoZ.js";
|
|
7
|
+
import { i as isArray } from "./_MapCache-WmuDdwuH.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,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { i as isArrayLike, a as isBuffer, b as isTypedArray, d as isArguments, g as getTag, e as isPrototype, f as baseKeys, S as Set } from "./_getTag-jwz4XLoZ.js";
|
|
2
|
+
import { i as isArray } from "./_MapCache-WmuDdwuH.js";
|
|
3
|
+
import { s as setToArray, S as SetCache, c as cacheHas } from "./_setToArray-CaPKQhcz.js";
|
|
3
4
|
function noop() {
|
|
4
5
|
}
|
|
5
6
|
function baseFindIndex(array, predicate, fromIndex, fromRight) {
|
|
@@ -39,6 +40,30 @@ function arrayIncludesWith(array, value, comparator) {
|
|
|
39
40
|
}
|
|
40
41
|
return false;
|
|
41
42
|
}
|
|
43
|
+
var mapTag = "[object Map]", setTag = "[object Set]";
|
|
44
|
+
var objectProto = Object.prototype;
|
|
45
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
46
|
+
function isEmpty(value) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return true;
|
|
49
|
+
}
|
|
50
|
+
if (isArrayLike(value) && (isArray(value) || typeof value == "string" || typeof value.splice == "function" || isBuffer(value) || isTypedArray(value) || isArguments(value))) {
|
|
51
|
+
return !value.length;
|
|
52
|
+
}
|
|
53
|
+
var tag = getTag(value);
|
|
54
|
+
if (tag == mapTag || tag == setTag) {
|
|
55
|
+
return !value.size;
|
|
56
|
+
}
|
|
57
|
+
if (isPrototype(value)) {
|
|
58
|
+
return !baseKeys(value).length;
|
|
59
|
+
}
|
|
60
|
+
for (var key in value) {
|
|
61
|
+
if (hasOwnProperty.call(value, key)) {
|
|
62
|
+
return false;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
return true;
|
|
66
|
+
}
|
|
42
67
|
var INFINITY = 1 / 0;
|
|
43
68
|
var createSet = !(Set && 1 / setToArray(new Set([, -0]))[1] == INFINITY) ? noop : function(values) {
|
|
44
69
|
return new Set(values);
|
|
@@ -85,5 +110,6 @@ function baseUniq(array, iteratee, comparator) {
|
|
|
85
110
|
return result;
|
|
86
111
|
}
|
|
87
112
|
export {
|
|
88
|
-
baseUniq as b
|
|
113
|
+
baseUniq as b,
|
|
114
|
+
isEmpty as i
|
|
89
115
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { k as keys } from "./_Uint8Array-
|
|
2
|
-
import { i as isArrayLike } from "./_getTag-
|
|
3
|
-
import { b as baseIteratee } from "./_baseIteratee-
|
|
4
|
-
import { i as isArray } from "./
|
|
1
|
+
import { k as keys } from "./_Uint8Array-BYE8bXpl.js";
|
|
2
|
+
import { i as isArrayLike } from "./_getTag-jwz4XLoZ.js";
|
|
3
|
+
import { b as baseIteratee } from "./_baseIteratee-B7fb_3hC.js";
|
|
4
|
+
import { i as isArray } from "./_MapCache-WmuDdwuH.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,
|
|
1
|
+
import { g as getNative, b as isFunction, t as toSource, a as Map } from "./_MapCache-WmuDdwuH.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;
|
|
@@ -114,10 +114,10 @@ export {
|
|
|
114
114
|
Set as S,
|
|
115
115
|
isBuffer as a,
|
|
116
116
|
isTypedArray as b,
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
117
|
+
baseUnary as c,
|
|
118
|
+
isArguments as d,
|
|
119
|
+
isPrototype as e,
|
|
120
|
+
baseKeys as f,
|
|
121
121
|
getTag as g,
|
|
122
122
|
isLength as h,
|
|
123
123
|
isArrayLike as i,
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { M as MapCache } from "./_MapCache-WmuDdwuH.js";
|
|
2
|
+
var HASH_UNDEFINED = "__lodash_hash_undefined__";
|
|
3
|
+
function setCacheAdd(value) {
|
|
4
|
+
this.__data__.set(value, HASH_UNDEFINED);
|
|
5
|
+
return this;
|
|
6
|
+
}
|
|
7
|
+
function setCacheHas(value) {
|
|
8
|
+
return this.__data__.has(value);
|
|
9
|
+
}
|
|
10
|
+
function SetCache(values) {
|
|
11
|
+
var index = -1, length = values == null ? 0 : values.length;
|
|
12
|
+
this.__data__ = new MapCache();
|
|
13
|
+
while (++index < length) {
|
|
14
|
+
this.add(values[index]);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;
|
|
18
|
+
SetCache.prototype.has = setCacheHas;
|
|
19
|
+
function cacheHas(cache, key) {
|
|
20
|
+
return cache.has(key);
|
|
21
|
+
}
|
|
22
|
+
function setToArray(set) {
|
|
23
|
+
var index = -1, result = Array(set.size);
|
|
24
|
+
set.forEach(function(value) {
|
|
25
|
+
result[++index] = value;
|
|
26
|
+
});
|
|
27
|
+
return result;
|
|
28
|
+
}
|
|
29
|
+
export {
|
|
30
|
+
SetCache as S,
|
|
31
|
+
cacheHas as c,
|
|
32
|
+
setToArray as s
|
|
33
|
+
};
|
|
@@ -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-CbXSCkTF.js";
|
|
5
5
|
const AnnotationDetailPopover = React__default.memo(({ anchorEl, enrichRequest, open, onClose, ...otherProps }) => {
|
|
6
6
|
var _a, _b, _c;
|
|
7
7
|
const actionRef = useRef();
|
|
@@ -9,9 +9,9 @@ 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 "../
|
|
12
|
+
import "../groupBy-mXHt-nYT.js";
|
|
13
|
+
import { A } from "../AnnotationDetails-CbXSCkTF.js";
|
|
14
|
+
import "../useClueTypeConfig-CHWm5uda.js";
|
|
15
15
|
import "react";
|
|
16
16
|
import "../index-BDVjGvMI.js";
|
|
17
17
|
import "./actions/ExecutePopover.js";
|
|
@@ -2,7 +2,7 @@ import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
|
2
2
|
import { I as Icon } from "../iconify-CXMreGTg.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-CW9CNV1h.js";
|
|
6
6
|
import { memo } from "react";
|
|
7
7
|
import AnnotationBody from "./AnnotationBody.js";
|
|
8
8
|
import ClassificationChip from "./ClassificationChip.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "../iconify-CXMreGTg.js";
|
|
3
3
|
import "@mui/material";
|
|
4
|
-
import { A } from "../AnnotationPreview-
|
|
4
|
+
import { A } from "../AnnotationPreview-D5NX8_su.js";
|
|
5
5
|
import "../hooks/useAnnotations.js";
|
|
6
|
-
import "../utils-
|
|
6
|
+
import "../utils-CW9CNV1h.js";
|
|
7
7
|
import "react";
|
|
8
8
|
import "../index-BDVjGvMI.js";
|
|
9
9
|
export {
|
|
@@ -10,7 +10,7 @@ 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 "../
|
|
13
|
+
import { u as uniq } from "../useClueTypeConfig-CHWm5uda.js";
|
|
14
14
|
import { memo, useState, useMemo, useCallback } from "react";
|
|
15
15
|
import { u as useContextSelector } from "../index-BDVjGvMI.js";
|
|
16
16
|
import AnnotationEntry from "./AnnotationEntry.js";
|
|
@@ -3,7 +3,7 @@ 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-
|
|
6
|
+
import { C as CluePopupContext } from "../AnnotationPreview-D5NX8_su.js";
|
|
7
7
|
import { useClueEnrichSelector } from "../hooks/selectors.js";
|
|
8
8
|
import useAnnotations from "../hooks/useAnnotations.js";
|
|
9
9
|
import ActionIcon from "../icons/Action.js";
|
|
@@ -3,7 +3,7 @@ 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-
|
|
6
|
+
import { C as CluePopupContext } from "../AnnotationPreview-D5NX8_su.js";
|
|
7
7
|
import { useClueEnrichSelector } from "../hooks/selectors.js";
|
|
8
8
|
import useAnnotations from "../hooks/useAnnotations.js";
|
|
9
9
|
import ActionIcon from "../icons/Action.js";
|
|
@@ -3,10 +3,10 @@ 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-BjdMDa40.js";
|
|
7
7
|
import "../../hooks/ClueComponentContext.js";
|
|
8
|
-
import { A } from "../../ActionForm-
|
|
9
|
-
import "../../utils-
|
|
8
|
+
import { A } from "../../ActionForm-3jixwRKa.js";
|
|
9
|
+
import "../../utils-CW9CNV1h.js";
|
|
10
10
|
import "react";
|
|
11
11
|
import "../../index-BDVjGvMI.js";
|
|
12
12
|
import "../ErrorBoundary.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "../../iconify-CXMreGTg.js";
|
|
3
3
|
import "@mui/material";
|
|
4
|
-
import "../../index-
|
|
4
|
+
import "../../index-BjdMDa40.js";
|
|
5
5
|
import "../display/markdown/index.js";
|
|
6
6
|
import "../../hooks/ClueComponentContext.js";
|
|
7
|
-
import { R } from "../../ActionForm-
|
|
7
|
+
import { R } from "../../ActionForm-3jixwRKa.js";
|
|
8
8
|
import "react";
|
|
9
9
|
import "../../index-BDVjGvMI.js";
|
|
10
10
|
import "../ClassificationChip.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as cloneDeep } from "../../../cloneDeep-
|
|
2
|
-
import { g as get } from "../../../get-
|
|
1
|
+
import { c as cloneDeep } from "../../../cloneDeep-CASxfDJM.js";
|
|
2
|
+
import { g as get } from "../../../get-DSsNkRQs.js";
|
|
3
3
|
const adaptSchema = (_schema) => {
|
|
4
4
|
const requiredFields = [];
|
|
5
5
|
const schema = cloneDeep(_schema);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { Stack, Typography, Card, CardContent, Divider, Collapse } from "@mui/material";
|
|
3
|
-
import { a as isPlainObject, f as flatten$1 } from "../../../../utils-
|
|
3
|
+
import { a as isPlainObject, f as flatten$1 } from "../../../../utils-CW9CNV1h.js";
|
|
4
4
|
import { cssImportant } from "../../../../utils/graph.js";
|
|
5
|
-
import { b as baseGet, c as castPath, t as toKey, a as arrayMap } from "../../../../_baseGet-
|
|
6
|
-
import { c as copyObject, g as getAllKeysIn, b as baseClone } from "../../../../_baseClone-
|
|
5
|
+
import { b as baseGet, c as castPath, t as toKey, a as arrayMap } from "../../../../_baseGet-Bx3A4Qfp.js";
|
|
6
|
+
import { c as copyObject, g as getAllKeysIn, b as baseClone } from "../../../../_baseClone-BZWIR6v5.js";
|
|
7
7
|
import { l as last } from "../../../../last-CUCl67Im.js";
|
|
8
8
|
import { b as baseSlice } from "../../../../_baseSlice-GAv_YFTT.js";
|
|
9
|
-
import { b as baseFlatten, s as setToString, o as overRest } from "../../../../_baseFlatten-
|
|
9
|
+
import { b as baseFlatten, s as setToString, o as overRest } from "../../../../_baseFlatten-hXNFmTLV.js";
|
|
10
10
|
import { useState, useEffect, useCallback, Fragment as Fragment$1 } from "react";
|
|
11
11
|
import Iconified from "../../icons/Iconified.js";
|
|
12
|
-
import { J as JSONViewer } from "../../../../index-
|
|
12
|
+
import { J as JSONViewer } from "../../../../index-BjdMDa40.js";
|
|
13
13
|
import Markdown from "../../markdown/index.js";
|
|
14
14
|
import ExpandMoreButton from "../ExpandMoreButton.js";
|
|
15
15
|
import NodeTag from "./NodeTag.js";
|