@cccsaurora/clue-ui 1.3.0-dev.327 → 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-B0jvSEkB.js → AnnotationDetails-TaLlFe0h.js} +5 -5
- package/{AnnotationPreview-vg8GqHP3.js → AnnotationPreview-CC_9H0lC.js} +4 -4
- package/{ClueEnrichContext-C722Tns5.js → ClueEnrichContext-NZpr831K.js} +7 -7
- 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 +3 -3
- 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/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 +2 -2
- 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-ZdEo5xJp.js +0 -5971
- package/_commonjsHelpers-DWwsNxpa.js +0 -8
- package/index-BXnMCI65.js +0 -9311
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo, useRef, useState, useEffect, useCallback, createElement } from "react";
|
|
3
3
|
import { useTheme, lighten, darken, Stack, Card, Typography, Autocomplete, TextField, FormControl, InputLabel, Select, MenuItem, alpha, IconButton, Collapse } from "@mui/material";
|
|
4
|
-
import { p as parseEvent } from "../../../index-
|
|
5
|
-
import { z as zoom, i as identity, s as select, t as transform, p as pointer } from "../../../index-
|
|
4
|
+
import { p as parseEvent } from "../../../index-CIj4pr7O.js";
|
|
5
|
+
import { z as zoom, i as identity, s as select, t as transform, p as pointer } from "../../../index-CVUD9o3t.js";
|
|
6
6
|
import { ClueComponentContext } from "../../../hooks/ClueComponentContext.js";
|
|
7
7
|
import useComparator from "../../../hooks/useComparator.js";
|
|
8
8
|
import { useMyLocalStorageItem } from "../../../hooks/useMyLocalStorage.js";
|
|
9
9
|
import { StorageKey } from "../../../utils/constants.js";
|
|
10
|
-
import { g as get } from "../../../get-
|
|
11
|
-
import {
|
|
10
|
+
import { g as get } from "../../../get-DlGeJ2uz.js";
|
|
11
|
+
import { a as useContextSelector } from "../../../index-_gpzM2Px.js";
|
|
12
12
|
import { cssImportant } from "../../../utils/graph.js";
|
|
13
13
|
import Iconified from "../icons/Iconified.js";
|
|
14
14
|
import ExpandMoreButton from "./ExpandMoreButton.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { o as ordinal, d as d3, S as Spectral, a as index, h as hierarchy } from "../../../../../index-
|
|
2
|
+
import { o as ordinal, d as d3, S as Spectral, a as index, h as hierarchy } from "../../../../../index-CVUD9o3t.js";
|
|
3
3
|
import useMyHighlights from "../../../../../hooks/useMyHighlights.js";
|
|
4
4
|
import { useMyLocalStorageItem } from "../../../../../hooks/useMyLocalStorage.js";
|
|
5
5
|
import { StorageKey } from "../../../../../utils/constants.js";
|
|
6
6
|
import { cyrb53 } from "../../../../../utils/graph.js";
|
|
7
|
-
import { c as countBy } from "../../../../../countBy-
|
|
8
|
-
import { s as sumBy } from "../../../../../sumBy-
|
|
7
|
+
import { c as countBy } from "../../../../../countBy-Bkq0mSO-.js";
|
|
8
|
+
import { s as sumBy } from "../../../../../sumBy-DZSVfXDE.js";
|
|
9
9
|
import { memo, useRef, useMemo, useCallback } from "react";
|
|
10
10
|
import Leaf from "../Leaf.js";
|
|
11
11
|
const DEFAULT_OPTIONS = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useTheme } from "@mui/material";
|
|
3
|
-
import { d as d3, S as Spectral } from "../../../../../index-
|
|
3
|
+
import { d as d3, S as Spectral } from "../../../../../index-CVUD9o3t.js";
|
|
4
4
|
import { useMyLocalStorageItem } from "../../../../../hooks/useMyLocalStorage.js";
|
|
5
5
|
import { StorageKey } from "../../../../../utils/constants.js";
|
|
6
6
|
import { buildHorizontalLine, buildVerticalLine } from "../../../../../utils/line.js";
|
|
@@ -4,12 +4,12 @@ import useComparator from "../../../../../hooks/useComparator.js";
|
|
|
4
4
|
import useMyHighlights from "../../../../../hooks/useMyHighlights.js";
|
|
5
5
|
import { useMyLocalStorageItem } from "../../../../../hooks/useMyLocalStorage.js";
|
|
6
6
|
import { StorageKey, BUNDLE_SEPARATOR } from "../../../../../utils/constants.js";
|
|
7
|
-
import { c as cloneDeep } from "../../../../../cloneDeep-
|
|
8
|
-
import { g as get } from "../../../../../get-
|
|
7
|
+
import { c as cloneDeep } from "../../../../../cloneDeep-C_PzHHQ0.js";
|
|
8
|
+
import { g as get } from "../../../../../get-DlGeJ2uz.js";
|
|
9
9
|
import { i as isNil } from "../../../../../isNil-CIubwp4T.js";
|
|
10
10
|
import { b as baseExtremum, a as baseGt } from "../../../../../_baseExtremum-kob8QXyt.js";
|
|
11
11
|
import { i as identity } from "../../../../../identity-CPGTqrE4.js";
|
|
12
|
-
import { i as isIterateeCall } from "../../../../../_isIterateeCall-
|
|
12
|
+
import { i as isIterateeCall } from "../../../../../_isIterateeCall-CEvg7Bo6.js";
|
|
13
13
|
import { t as toFinite } from "../../../../../toFinite-Bc55msYj.js";
|
|
14
14
|
import { b as baseSum } from "../../../../../_baseSum-D0WC1dN0.js";
|
|
15
15
|
import { memo, useMemo } from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { 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 } from "@mui/material";
|
|
4
4
|
import { memo, useMemo } from "react";
|
|
5
5
|
const Iconified = ({ icon, fontSize = "medium", color, style = {} }) => {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "@mui/material";
|
|
3
|
-
import { J } from "../../../index-
|
|
4
|
-
import "../../../utils-
|
|
3
|
+
import { J } from "../../../index-CIj4pr7O.js";
|
|
4
|
+
import "../../../utils-Du3XxQAT.js";
|
|
5
5
|
import "../../../hooks/ClueComponentContext.js";
|
|
6
6
|
import "../../../hooks/useMyLocalStorage.js";
|
|
7
7
|
import "../../../utils/constants.js";
|
|
8
8
|
import "react";
|
|
9
|
-
import "../../../index-
|
|
9
|
+
import "../../../index-_gpzM2Px.js";
|
|
10
10
|
export {
|
|
11
11
|
J as default
|
|
12
12
|
};
|
|
@@ -442,13 +442,13 @@ function useResolvedPath(to, _temp2) {
|
|
|
442
442
|
let routePathnamesJson = JSON.stringify(getResolveToMatches(matches, future.v7_relativeSplatPath));
|
|
443
443
|
return React.useMemo(() => resolveTo(to, JSON.parse(routePathnamesJson), locationPathname, relative === "path"), [to, routePathnamesJson, locationPathname, relative]);
|
|
444
444
|
}
|
|
445
|
-
var DataRouterHook$1 = /* @__PURE__ */ function(DataRouterHook2) {
|
|
445
|
+
var DataRouterHook$1 = /* @__PURE__ */ (function(DataRouterHook2) {
|
|
446
446
|
DataRouterHook2["UseBlocker"] = "useBlocker";
|
|
447
447
|
DataRouterHook2["UseRevalidator"] = "useRevalidator";
|
|
448
448
|
DataRouterHook2["UseNavigateStable"] = "useNavigate";
|
|
449
449
|
return DataRouterHook2;
|
|
450
|
-
}(DataRouterHook$1 || {});
|
|
451
|
-
var DataRouterStateHook$1 = /* @__PURE__ */ function(DataRouterStateHook2) {
|
|
450
|
+
})(DataRouterHook$1 || {});
|
|
451
|
+
var DataRouterStateHook$1 = /* @__PURE__ */ (function(DataRouterStateHook2) {
|
|
452
452
|
DataRouterStateHook2["UseBlocker"] = "useBlocker";
|
|
453
453
|
DataRouterStateHook2["UseLoaderData"] = "useLoaderData";
|
|
454
454
|
DataRouterStateHook2["UseActionData"] = "useActionData";
|
|
@@ -460,7 +460,7 @@ var DataRouterStateHook$1 = /* @__PURE__ */ function(DataRouterStateHook2) {
|
|
|
460
460
|
DataRouterStateHook2["UseNavigateStable"] = "useNavigate";
|
|
461
461
|
DataRouterStateHook2["UseRouteId"] = "useRouteId";
|
|
462
462
|
return DataRouterStateHook2;
|
|
463
|
-
}(DataRouterStateHook$1 || {});
|
|
463
|
+
})(DataRouterStateHook$1 || {});
|
|
464
464
|
function getDataRouterConsoleError$1(hookName) {
|
|
465
465
|
return hookName + " must be used within a data router. See https://reactrouter.com/v6/routers/picking-a-router.";
|
|
466
466
|
}
|
|
@@ -3763,6 +3763,7 @@ function one$1(state, node) {
|
|
|
3763
3763
|
patch$1(state, reference, result);
|
|
3764
3764
|
return result;
|
|
3765
3765
|
}
|
|
3766
|
+
// Element.
|
|
3766
3767
|
default: {
|
|
3767
3768
|
const reference = (
|
|
3768
3769
|
/** @type {DefaultTreeAdapterMap['element']} */
|
|
@@ -5905,6 +5906,7 @@ class EntityDecoder {
|
|
|
5905
5906
|
case EntityDecoderState.NamedEntity: {
|
|
5906
5907
|
return this.result !== 0 && (this.decodeMode !== DecodingMode.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
|
|
5907
5908
|
}
|
|
5909
|
+
// Otherwise, emit a numeric entity if we have one.
|
|
5908
5910
|
case EntityDecoderState.NumericDecimal: {
|
|
5909
5911
|
return this.emitNumericEntity(0, 2);
|
|
5910
5912
|
}
|
|
@@ -12769,6 +12771,7 @@ function endTagInSelectInTable(p, token) {
|
|
|
12769
12771
|
}
|
|
12770
12772
|
function startTagInTemplate(p, token) {
|
|
12771
12773
|
switch (token.tagID) {
|
|
12774
|
+
// First, handle tags that can start without a mode change
|
|
12772
12775
|
case TAG_ID.BASE:
|
|
12773
12776
|
case TAG_ID.BASEFONT:
|
|
12774
12777
|
case TAG_ID.BGSOUND:
|
|
@@ -12782,6 +12785,7 @@ function startTagInTemplate(p, token) {
|
|
|
12782
12785
|
startTagInHead(p, token);
|
|
12783
12786
|
break;
|
|
12784
12787
|
}
|
|
12788
|
+
// Re-process the token in the appropriate mode
|
|
12785
12789
|
case TAG_ID.CAPTION:
|
|
12786
12790
|
case TAG_ID.COLGROUP:
|
|
12787
12791
|
case TAG_ID.TBODY:
|
|
@@ -13036,7 +13040,7 @@ const convert = (
|
|
|
13036
13040
|
* @param {Test} [test]
|
|
13037
13041
|
* @returns {Check}
|
|
13038
13042
|
*/
|
|
13039
|
-
function(test) {
|
|
13043
|
+
(function(test) {
|
|
13040
13044
|
if (test === null || test === void 0) {
|
|
13041
13045
|
return ok;
|
|
13042
13046
|
}
|
|
@@ -13050,7 +13054,7 @@ const convert = (
|
|
|
13050
13054
|
return typeFactory(test);
|
|
13051
13055
|
}
|
|
13052
13056
|
throw new Error("Expected function, string, or object as test");
|
|
13053
|
-
}
|
|
13057
|
+
})
|
|
13054
13058
|
);
|
|
13055
13059
|
function anyFactory(tests) {
|
|
13056
13060
|
const checks2 = [];
|
|
@@ -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 {
|
|
3
|
+
import { e as useClueComponentSelector, f as useClueEnrichSelector, c as capitalize } from "../../ActionForm-irs9q3xm.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 }) => {
|
|
@@ -1,13 +1,13 @@
|
|
|
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 { useTheme, Skeleton, Chip, Tooltip, Stack, Typography, LinearProgress, Paper, Box, IconButton } from "@mui/material";
|
|
4
4
|
import { F as FlexOne } from "../../FlexOne-BSYAhhtG.js";
|
|
5
5
|
import Iconified from "../display/icons/Iconified.js";
|
|
6
|
-
import { J as JSONViewer } from "../../index-
|
|
6
|
+
import { J as JSONViewer } from "../../index-CIj4pr7O.js";
|
|
7
7
|
import { ClueComponentContext } from "../../hooks/ClueComponentContext.js";
|
|
8
|
-
import {
|
|
8
|
+
import { g as useClueFetcherSelector } from "../../ActionForm-irs9q3xm.js";
|
|
9
9
|
import React__default, { useState, useRef, useMemo, useEffect, memo } from "react";
|
|
10
|
-
import {
|
|
10
|
+
import { a as useContextSelector } from "../../index-_gpzM2Px.js";
|
|
11
11
|
import Graph from "../display/graph/index.js";
|
|
12
12
|
import Markdown from "../display/markdown/index.js";
|
|
13
13
|
import PreviewModal from "./PreviewModal.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { 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, Chip } from "@mui/material";
|
|
4
4
|
import { ClueComponentContext } from "../../hooks/ClueComponentContext.js";
|
|
5
|
-
import {
|
|
5
|
+
import { a as useContextSelector } from "../../index-_gpzM2Px.js";
|
|
6
6
|
const StatusChip = ({ data, ...chipProps }) => {
|
|
7
7
|
var _a;
|
|
8
8
|
const theme = useTheme();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ClueGroupContext } from "../../hooks/ClueGroupContext.js";
|
|
2
|
-
import { i as isEqual } from "../../utils-
|
|
2
|
+
import { i as isEqual } from "../../utils-Du3XxQAT.js";
|
|
3
3
|
import { memo, useEffect } from "react";
|
|
4
|
-
import {
|
|
4
|
+
import { a as useContextSelector } from "../../index-_gpzM2Px.js";
|
|
5
5
|
const Entry = ({ children, entry, selected = false }) => {
|
|
6
6
|
const setValues = useContextSelector(ClueGroupContext, (ctx) => ctx == null ? void 0 : ctx.setValues);
|
|
7
7
|
useEffect(() => {
|
|
@@ -4,10 +4,10 @@ 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 {
|
|
7
|
+
import { e as useClueComponentSelector, f as useClueEnrichSelector, c as capitalize } from "../../ActionForm-irs9q3xm.js";
|
|
8
8
|
import { safeDispatchEvent } from "../../utils/window.js";
|
|
9
9
|
import { useState, useMemo, useCallback } from "react";
|
|
10
|
-
import {
|
|
10
|
+
import { a as useContextSelector } from "../../index-_gpzM2Px.js";
|
|
11
11
|
import ExecutePopover from "../actions/ExecutePopover.js";
|
|
12
12
|
const GroupControl = () => {
|
|
13
13
|
const { t } = useClueComponentSelector((ctx) => ctx.i18next);
|
|
@@ -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 {
|
|
4
|
+
import { e as useClueComponentSelector, f as useClueEnrichSelector } from "../../ActionForm-irs9q3xm.js";
|
|
5
5
|
import { useContext, useState, useEffect } from "react";
|
|
6
6
|
const QueryStatus = () => {
|
|
7
7
|
const { t } = useClueComponentSelector((ctx) => ctx.i18next);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as baseAssignValue } from "./_baseAssignValue-
|
|
2
|
-
import { c as createAggregator } from "./_createAggregator-
|
|
1
|
+
import { b as baseAssignValue } from "./_baseAssignValue-Dltt6-s5.js";
|
|
2
|
+
import { c as createAggregator } from "./_createAggregator-BDMdCE6g.js";
|
|
3
3
|
var objectProto = Object.prototype;
|
|
4
4
|
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
5
5
|
var countBy = createAggregator(function(result, value, key) {
|
package/database/index.js
CHANGED
package/database/replication.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../index-
|
|
2
|
-
import {
|
|
1
|
+
import "../index-CmQM2DaO.js";
|
|
2
|
+
import { aR } from "../replication-DvYQDhM_.js";
|
|
3
3
|
import "./globals.js";
|
|
4
4
|
import "../last-CUCl67Im.js";
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
aR as replicateSelectorCollection
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as baseGet } from "./_baseGet-
|
|
1
|
+
import { b as baseGet } from "./_baseGet-DKnGz1D3.js";
|
|
2
2
|
function get(object, path, defaultValue) {
|
|
3
3
|
var result = object == null ? void 0 : baseGet(object, path);
|
|
4
4
|
return result === void 0 ? defaultValue : result;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as baseAssignValue } from "./_baseAssignValue-
|
|
2
|
-
import { c as createAggregator } from "./_createAggregator-
|
|
1
|
+
import { b as baseAssignValue } from "./_baseAssignValue-Dltt6-s5.js";
|
|
2
|
+
import { c as createAggregator } from "./_createAggregator-BDMdCE6g.js";
|
|
3
3
|
var objectProto = Object.prototype;
|
|
4
4
|
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
5
5
|
var groupBy = createAggregator(function(result, value, key) {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "@mui/material";
|
|
3
|
-
import {
|
|
4
|
-
import "../index-
|
|
3
|
+
import { C, a } from "../ActionForm-irs9q3xm.js";
|
|
4
|
+
import "../index-CmQM2DaO.js";
|
|
5
5
|
import "../components/display/icons/Iconified.js";
|
|
6
6
|
import "../components/ErrorBoundary.js";
|
|
7
7
|
import "../data/event.js";
|
|
8
8
|
import "../utils/time.js";
|
|
9
9
|
import "../utils/window.js";
|
|
10
10
|
import "react";
|
|
11
|
-
import "../index-
|
|
11
|
+
import "../index-_gpzM2Px.js";
|
|
12
12
|
import "./ClueComponentContext.js";
|
|
13
13
|
import "./useClue.js";
|
|
14
14
|
import "../isNil-CIubwp4T.js";
|
|
15
15
|
export {
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
C as ClueActionContext,
|
|
17
|
+
a as ClueActionProvider
|
|
18
18
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo } from "react";
|
|
3
3
|
import { useTranslation } from "react-i18next";
|
|
4
|
-
import { c as createContext } from "../index-
|
|
4
|
+
import { c as createContext } from "../index-_gpzM2Px.js";
|
|
5
5
|
const ClueComponentContext = createContext(null);
|
|
6
6
|
const ClueComponentI18nProvider = ({
|
|
7
7
|
children,
|
|
@@ -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-CoosLLQl.js";
|
|
3
3
|
import { createContext, useState, useRef, useEffect } from "react";
|
|
4
4
|
const ClueDatabaseContext = createContext(null);
|
|
5
5
|
const ClueDatabaseProvider = ({
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../iconify-
|
|
3
|
-
import "../index-
|
|
2
|
+
import "../iconify-DJxl6dC-.js";
|
|
3
|
+
import "../index-CmQM2DaO.js";
|
|
4
4
|
import "../database/globals.js";
|
|
5
5
|
import "../utils/loggerUtil.js";
|
|
6
|
-
import { C, a } from "../ClueEnrichContext-
|
|
6
|
+
import { C, a } from "../ClueEnrichContext-NZpr831K.js";
|
|
7
7
|
import "../sessionStorage-Dbmo2Exe.js";
|
|
8
|
-
import "../groupBy-
|
|
9
|
-
import "../useClueTypeConfig-
|
|
8
|
+
import "../groupBy-CXx1vslF.js";
|
|
9
|
+
import "../useClueTypeConfig-CnMg5Ny8.js";
|
|
10
10
|
import "react";
|
|
11
|
-
import "../index-
|
|
11
|
+
import "../index-_gpzM2Px.js";
|
|
12
12
|
import "./ClueDatabaseContext.js";
|
|
13
13
|
import "./useClueConfig.js";
|
|
14
|
-
import "../_baseUniq-
|
|
14
|
+
import "../_baseUniq-BqxNeJD9.js";
|
|
15
15
|
export {
|
|
16
16
|
C as ClueEnrichContext,
|
|
17
17
|
a as ClueEnrichProvider
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { a as api } from "../index-
|
|
2
|
+
import { a as api } from "../index-CmQM2DaO.js";
|
|
3
3
|
import { SNACKBAR_EVENT_ID } from "../data/event.js";
|
|
4
4
|
import { safeDispatchEvent } from "../utils/window.js";
|
|
5
5
|
import { useState, useRef, useMemo, useCallback, useEffect } from "react";
|
|
6
|
-
import { c as createContext } from "../index-
|
|
6
|
+
import { c as createContext } from "../index-_gpzM2Px.js";
|
|
7
7
|
import useClue from "./useClue.js";
|
|
8
8
|
import useClueConfig from "./useClueConfig.js";
|
|
9
9
|
const ClueFetcherContext = createContext(null);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useState, useMemo } from "react";
|
|
3
|
-
import { c as createContext } from "../index-
|
|
4
|
-
import {
|
|
3
|
+
import { c as createContext } from "../index-_gpzM2Px.js";
|
|
4
|
+
import { f as useClueEnrichSelector } from "../ActionForm-irs9q3xm.js";
|
|
5
5
|
const ClueGroupContext = createContext(null);
|
|
6
6
|
const ClueGroupProvider = ({ children, type, classification }) => {
|
|
7
7
|
const defaultClassification = useClueEnrichSelector((ctx) => ctx.defaultClassification);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "../components/AnnotationDetailPopover.js";
|
|
3
|
-
import { C, a } from "../AnnotationPreview-
|
|
3
|
+
import { C, a } from "../AnnotationPreview-CC_9H0lC.js";
|
|
4
4
|
import "../data/event.js";
|
|
5
5
|
import "../utils/window.js";
|
|
6
|
-
import "../AnnotationDetails-
|
|
6
|
+
import "../AnnotationDetails-TaLlFe0h.js";
|
|
7
7
|
import "react";
|
|
8
|
-
import "../index-
|
|
8
|
+
import "../index-_gpzM2Px.js";
|
|
9
9
|
export {
|
|
10
10
|
C as CluePopupContext,
|
|
11
11
|
a as CluePopupProvider
|
package/hooks/ClueProvider.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { a as ClueActionProvider } from "../ActionForm-irs9q3xm.js";
|
|
3
3
|
import { ClueComponentProvider } from "./ClueComponentContext.js";
|
|
4
4
|
import { ClueConfigProvider } from "./ClueConfigProvider.js";
|
|
5
5
|
import { ClueDatabaseProvider } from "./ClueDatabaseContext.js";
|
|
6
|
-
import { a as ClueEnrichProvider } from "../ClueEnrichContext-
|
|
6
|
+
import { a as ClueEnrichProvider } from "../ClueEnrichContext-NZpr831K.js";
|
|
7
7
|
import { ClueFetcherProvider } from "./ClueFetcherContext.js";
|
|
8
|
-
import { a as CluePopupProvider } from "../AnnotationPreview-
|
|
8
|
+
import { a as CluePopupProvider } from "../AnnotationPreview-CC_9H0lC.js";
|
|
9
9
|
const ClueProvider = ({ children, ...props }) => {
|
|
10
10
|
return /* @__PURE__ */ jsx(ClueComponentProvider, { ...props, children: /* @__PURE__ */ jsx(ClueConfigProvider, { config: props.config, children: /* @__PURE__ */ jsx(ClueDatabaseProvider, { ...props, children: /* @__PURE__ */ jsx(ClueEnrichProvider, { ...props, children: /* @__PURE__ */ jsx(ClueFetcherProvider, { ...props, children: /* @__PURE__ */ jsx(ClueActionProvider, { ...props, children: /* @__PURE__ */ jsx(CluePopupProvider, { children }) }) }) }) }) }) });
|
|
11
11
|
};
|
package/hooks/selectors.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d, e, f, g } from "../ActionForm-irs9q3xm.js";
|
|
2
2
|
import "./ClueComponentContext.js";
|
|
3
|
-
import "../ClueEnrichContext-
|
|
3
|
+
import "../ClueEnrichContext-NZpr831K.js";
|
|
4
4
|
import "./ClueFetcherContext.js";
|
|
5
|
-
import "../index-
|
|
5
|
+
import "../index-_gpzM2Px.js";
|
|
6
6
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
d as useClueActionsSelector,
|
|
8
|
+
e as useClueComponentSelector,
|
|
9
|
+
f as useClueEnrichSelector,
|
|
10
|
+
g as useClueFetcherSelector
|
|
11
11
|
};
|
package/hooks/useActionResult.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react";
|
|
2
|
-
import "../index-
|
|
2
|
+
import "../index-_gpzM2Px.js";
|
|
3
3
|
import "./ClueComponentContext.js";
|
|
4
|
-
import {
|
|
4
|
+
import { u } from "../ActionForm-irs9q3xm.js";
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
u as useActionResult
|
|
7
7
|
};
|
package/hooks/useAnnotations.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { u as uniqBy } from "../ClueEnrichContext-
|
|
1
|
+
import { u as uniqBy } from "../ClueEnrichContext-NZpr831K.js";
|
|
2
2
|
import { useContext, useMemo, useState, useEffect } from "react";
|
|
3
3
|
import { ClueDatabaseContext } from "./ClueDatabaseContext.js";
|
|
4
|
-
import {
|
|
4
|
+
import { f as useClueEnrichSelector } from "../ActionForm-irs9q3xm.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
|
-
import {
|
|
2
|
-
import { C as ClueEnrichContext } from "../ClueEnrichContext-
|
|
1
|
+
import { u as useContext } from "../index-_gpzM2Px.js";
|
|
2
|
+
import { C as ClueEnrichContext } from "../ClueEnrichContext-NZpr831K.js";
|
|
3
3
|
const useClue = () => {
|
|
4
4
|
return useContext(ClueEnrichContext);
|
|
5
5
|
};
|
package/hooks/useClueActions.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "../index-
|
|
1
|
+
import "../index-CmQM2DaO.js";
|
|
2
2
|
import "../utils/loggerUtil.js";
|
|
3
|
-
import "../_baseUniq-
|
|
3
|
+
import "../_baseUniq-BqxNeJD9.js";
|
|
4
4
|
import "react";
|
|
5
|
-
import { a } from "../useClueTypeConfig-
|
|
5
|
+
import { a } from "../useClueTypeConfig-CnMg5Ny8.js";
|
|
6
6
|
export {
|
|
7
7
|
a as default
|
|
8
8
|
};
|
package/hooks/useComparator.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useTheme } from "@mui/material";
|
|
2
|
-
import { g as get } from "../get-
|
|
2
|
+
import { g as get } from "../get-DlGeJ2uz.js";
|
|
3
3
|
import { i as isNil } from "../isNil-CIubwp4T.js";
|
|
4
4
|
function _typeof(obj) {
|
|
5
5
|
"@babel/helpers - typeof";
|
|
@@ -825,7 +825,7 @@ function convertDecimalToHex(d) {
|
|
|
825
825
|
function convertHexToDecimal(h) {
|
|
826
826
|
return parseIntFromHex(h) / 255;
|
|
827
827
|
}
|
|
828
|
-
var matchers = function() {
|
|
828
|
+
var matchers = (function() {
|
|
829
829
|
var CSS_INTEGER = "[-\\+]?\\d+%?";
|
|
830
830
|
var CSS_NUMBER = "[-\\+]?\\d*\\.\\d+%?";
|
|
831
831
|
var CSS_UNIT = "(?:" + CSS_NUMBER + ")|(?:" + CSS_INTEGER + ")";
|
|
@@ -844,7 +844,7 @@ var matchers = function() {
|
|
|
844
844
|
hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
|
|
845
845
|
hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/
|
|
846
846
|
};
|
|
847
|
-
}();
|
|
847
|
+
})();
|
|
848
848
|
function isValidCSSUnit(color) {
|
|
849
849
|
return !!matchers.CSS_UNIT.exec(color);
|
|
850
850
|
}
|
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 {
|
|
3
|
+
import { f as useClueEnrichSelector } from "../ActionForm-irs9q3xm.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 {
|
|
2
|
+
import { b as useClueActions } from "../ActionForm-irs9q3xm.js";
|
|
3
3
|
const useActionResult = (resultWithData, interval = 2e3) => {
|
|
4
4
|
const [result, setResult] = useState(resultWithData);
|
|
5
5
|
const timeoutRef = useRef(null);
|
|
@@ -1511,6 +1511,7 @@ const render = (icon, props, inline, ref) => {
|
|
|
1511
1511
|
continue;
|
|
1512
1512
|
}
|
|
1513
1513
|
switch (key) {
|
|
1514
|
+
// Properties to ignore
|
|
1514
1515
|
case "icon":
|
|
1515
1516
|
case "style":
|
|
1516
1517
|
case "children":
|
|
@@ -1519,19 +1520,23 @@ const render = (icon, props, inline, ref) => {
|
|
|
1519
1520
|
case "_ref":
|
|
1520
1521
|
case "_inline":
|
|
1521
1522
|
break;
|
|
1523
|
+
// Boolean attributes
|
|
1522
1524
|
case "inline":
|
|
1523
1525
|
case "hFlip":
|
|
1524
1526
|
case "vFlip":
|
|
1525
1527
|
customisations[key] = value === true || value === "true" || value === 1;
|
|
1526
1528
|
break;
|
|
1529
|
+
// Flip as string: 'horizontal,vertical'
|
|
1527
1530
|
case "flip":
|
|
1528
1531
|
if (typeof value === "string") {
|
|
1529
1532
|
flipFromString(customisations, value);
|
|
1530
1533
|
}
|
|
1531
1534
|
break;
|
|
1535
|
+
// Color: copy to style
|
|
1532
1536
|
case "color":
|
|
1533
1537
|
style.color = value;
|
|
1534
1538
|
break;
|
|
1539
|
+
// Rotation as string
|
|
1535
1540
|
case "rotate":
|
|
1536
1541
|
if (typeof value === "string") {
|
|
1537
1542
|
customisations[key] = rotateFromString(value);
|
|
@@ -1539,12 +1544,14 @@ const render = (icon, props, inline, ref) => {
|
|
|
1539
1544
|
customisations[key] = value;
|
|
1540
1545
|
}
|
|
1541
1546
|
break;
|
|
1547
|
+
// Remove aria-hidden
|
|
1542
1548
|
case "ariaHidden":
|
|
1543
1549
|
case "aria-hidden":
|
|
1544
1550
|
if (value !== true && value !== "true") {
|
|
1545
1551
|
delete componentProps["aria-hidden"];
|
|
1546
1552
|
}
|
|
1547
1553
|
break;
|
|
1554
|
+
// Copy missing property if it does not exist in customisations
|
|
1548
1555
|
default:
|
|
1549
1556
|
if (defaultProps[key] === void 0) {
|
|
1550
1557
|
componentProps[key] = value;
|
package/icons/Action.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
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 { useTheme, Stack, Divider, Typography } from "@mui/material";
|
|
4
4
|
import CountBadge from "../components/CountBadge.js";
|
|
5
|
-
import { C as CluePopupContext } from "../AnnotationPreview-
|
|
6
|
-
import {
|
|
7
|
-
import { g as groupBy } from "../groupBy-
|
|
5
|
+
import { C as CluePopupContext } from "../AnnotationPreview-CC_9H0lC.js";
|
|
6
|
+
import { b as useClueActions } from "../ActionForm-irs9q3xm.js";
|
|
7
|
+
import { g as groupBy } from "../groupBy-CXx1vslF.js";
|
|
8
8
|
import { memo, useRef, useMemo, useEffect } from "react";
|
|
9
|
-
import {
|
|
9
|
+
import { a as useContextSelector } from "../index-_gpzM2Px.js";
|
|
10
10
|
const ResultDetails = ({ result }) => {
|
|
11
11
|
return /* @__PURE__ */ jsxs(Stack, { p: 1, children: [
|
|
12
12
|
/* @__PURE__ */ jsx(Typography, { variant: "body1", children: result.action.name }),
|