@cccsaurora/clue-ui 1.5.0-dev.467 → 1.5.0-dev.471
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-BT7_k0EL.js → ActionForm-DIAUGhSr.js} +5 -5
- package/{AnnotationDetails-Y_WoZhcI.js → AnnotationDetails-DmrYK0Qc.js} +2 -2
- package/{AnnotationPreview-cStKX0if.js → AnnotationPreview-DAswA7fu.js} +2 -2
- package/{ClueEnrichContext-C7sNEECP.js → ClueEnrichContext-B76X-cLH.js} +17 -21
- package/components/AnnotationBody.js +1 -1
- package/components/AnnotationDetailPopover.js +3 -3
- package/components/AnnotationDetails.js +3 -3
- package/components/AnnotationEntry.js +1 -1
- package/components/AnnotationPreview.js +2 -2
- package/components/ClassificationChip.js +2 -2
- package/components/EnrichedCard.js +2 -2
- package/components/EnrichedChip.js +4 -4
- package/components/EnrichedTypography.js +2 -2
- package/components/ErrorBoundary.js +2 -2
- package/components/RetryFailedEnrichments.js +1 -1
- package/components/SourcePicker.js +1 -1
- package/components/actions/ActionForm.js +1 -1
- package/components/actions/ExecutePopover.js +2 -2
- package/components/actions/ResultModal.js +2 -2
- package/components/actions/formats/index.js +1 -1
- package/components/display/graph/elements/NodeCard.js +2 -9
- package/components/display/icons/Iconified.js +1 -1
- package/components/display/markdown/index.js +1813 -665
- package/components/enrichment/EnrichPopover.js +1 -1
- package/components/fetchers/Fetcher.js +4 -4
- package/components/fetchers/FetcherResultView.js +1 -1
- package/components/fetchers/StatusChip.js +1 -1
- package/components/group/GroupControl.js +1 -1
- package/components/stats/QueryStatus.js +1 -1
- package/database/index.js +2 -2
- package/database/replication.js +2 -2
- package/hooks/ClueActionContext.js +2 -2
- package/hooks/ClueDatabaseContext.js +1 -1
- package/hooks/ClueEnrichContext.js +3 -3
- package/hooks/ClueFetcherContext.js +1 -1
- package/hooks/ClueGroupContext.js +1 -1
- package/hooks/CluePopupContext.js +2 -2
- package/hooks/ClueProvider.js +3 -3
- package/hooks/ClueUIPluginContext.js +1 -1
- package/hooks/selectors.js +2 -2
- package/hooks/useActionResult.js +1 -1
- package/hooks/useAnnotations.js +2 -2
- package/hooks/useClue.js +1 -1
- package/hooks/useClueActions.js +1 -1
- package/hooks/useClueTypeConfig.js +1 -1
- package/hooks/useErrors.js +1 -1
- package/hooks/useFetcherResult.js +1 -1
- package/{iconify-DJxl6dC-.js → iconify-CYJTToEF.js} +9 -9
- package/icons/Action.js +3 -3
- package/icons/Assessment.js +2 -2
- package/icons/Context.js +2 -2
- package/icons/Opinion.js +2 -2
- package/{index-hzIDv8Mx.js → index-8lXdRRpV.js} +541 -144
- package/{index-DpJxD74E.js → index-CPetQxOc.js} +2002 -882
- package/{index-CtFzsHDu.js → index-DT_sunCV.js} +1 -1
- package/main.js +5 -5
- package/package.json +3 -3
- package/plugins/store.js +1 -1
- package/{replication-C5IO7X30.js → replication-DDxxY_CX.js} +1 -1
- package/{store-DHP48fQB.js → store-C0DRfMxZ.js} +3 -3
|
@@ -6,8 +6,8 @@ import Iconified from "./components/display/icons/Iconified.js";
|
|
|
6
6
|
import { J as JSONViewer } from "./index-DUEubgWN.js";
|
|
7
7
|
import { ClueComponentContext } from "./hooks/ClueComponentContext.js";
|
|
8
8
|
import { g as getDefaultExportFromCjs } from "./_commonjsHelpers-CUmg6egw.js";
|
|
9
|
-
import { c as requireJsonSchemaTraverse, r as requireFastDeepEqual, a as requireFastUri } from "./index-
|
|
10
|
-
import { a as api } from "./index-
|
|
9
|
+
import { c as requireJsonSchemaTraverse, r as requireFastDeepEqual, a as requireFastUri } from "./index-8lXdRRpV.js";
|
|
10
|
+
import { a as api } from "./index-CPetQxOc.js";
|
|
11
11
|
import { d as toString } from "./_baseGet-Cmp6FztG.js";
|
|
12
12
|
import { b as baseSlice } from "./_baseSlice-GAv_YFTT.js";
|
|
13
13
|
import { i as isEqual } from "./utils-CEySTPtg.js";
|
|
@@ -15,8 +15,8 @@ import { useState, useRef, useMemo, useEffect, memo, useCallback } from "react";
|
|
|
15
15
|
import { a as useContextSelector, c as createContext, u as useContext } from "./index-_gpzM2Px.js";
|
|
16
16
|
import ErrorBoundary from "./components/ErrorBoundary.js";
|
|
17
17
|
import { adaptSchema } from "./components/actions/form/schemaAdapter.js";
|
|
18
|
-
import { I as Icon } from "./iconify-
|
|
19
|
-
import { C as ClueEnrichContext } from "./ClueEnrichContext-
|
|
18
|
+
import { I as Icon } from "./iconify-CYJTToEF.js";
|
|
19
|
+
import { C as ClueEnrichContext } from "./ClueEnrichContext-B76X-cLH.js";
|
|
20
20
|
import { ClueFetcherContext } from "./hooks/ClueFetcherContext.js";
|
|
21
21
|
import ClassificationChip from "./components/ClassificationChip.js";
|
|
22
22
|
import Result from "./components/actions/formats/index.js";
|
|
@@ -3137,7 +3137,7 @@ function requireCore$1() {
|
|
|
3137
3137
|
constructor(opts = {}) {
|
|
3138
3138
|
this.schemas = {};
|
|
3139
3139
|
this.refs = {};
|
|
3140
|
-
this.formats =
|
|
3140
|
+
this.formats = /* @__PURE__ */ Object.create(null);
|
|
3141
3141
|
this._compilations = /* @__PURE__ */ new Set();
|
|
3142
3142
|
this._loading = {};
|
|
3143
3143
|
this._cache = /* @__PURE__ */ new Map();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { I as Icon } from "./iconify-
|
|
2
|
+
import { I as Icon } from "./iconify-CYJTToEF.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 { f as useClueEnrichSelector } from "./ActionForm-
|
|
7
|
+
import { f as useClueEnrichSelector } from "./ActionForm-DIAUGhSr.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";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { I as Icon } from "./iconify-
|
|
2
|
+
import { I as Icon } from "./iconify-CYJTToEF.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";
|
|
@@ -8,7 +8,7 @@ import { useState, useRef, useCallback, useEffect, useMemo } from "react";
|
|
|
8
8
|
import { c as createContext, a as useContextSelector } from "./index-_gpzM2Px.js";
|
|
9
9
|
import { SHOW_EVENT_ID, HIDE_EVENT_ID } from "./data/event.js";
|
|
10
10
|
import { safeDispatchEvent, safeAddEventListener } from "./utils/window.js";
|
|
11
|
-
import { i as isNull } from "./AnnotationDetails-
|
|
11
|
+
import { i as isNull } from "./AnnotationDetails-DmrYK0Qc.js";
|
|
12
12
|
const CluePopupContext = createContext(null);
|
|
13
13
|
const CluePopupProvider = ({ children }) => {
|
|
14
14
|
const [popupType, setPopupType] = useState(null);
|
|
@@ -1,6 +1,6 @@
|
|
|
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-CYJTToEF.js";
|
|
3
|
+
import { a as api, p as post } from "./index-CPetQxOc.js";
|
|
4
4
|
import { REPLICATORS } from "./database/globals.js";
|
|
5
5
|
import { clueDebugLogger } from "./utils/loggerUtil.js";
|
|
6
6
|
import { c as computeStatusId } from "./utils-CEySTPtg.js";
|
|
@@ -41,34 +41,30 @@ function chunk(array, size, guard) {
|
|
|
41
41
|
function uniqBy(array, iteratee) {
|
|
42
42
|
return array && array.length ? baseUniq(array, baseIteratee(iteratee)) : [];
|
|
43
43
|
}
|
|
44
|
-
let getRandomValues;
|
|
45
|
-
const rnds8 = new Uint8Array(16);
|
|
46
|
-
function rng() {
|
|
47
|
-
if (!getRandomValues) {
|
|
48
|
-
getRandomValues = typeof crypto !== "undefined" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto);
|
|
49
|
-
if (!getRandomValues) {
|
|
50
|
-
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
return getRandomValues(rnds8);
|
|
54
|
-
}
|
|
55
44
|
const byteToHex = [];
|
|
56
45
|
for (let i = 0; i < 256; ++i) {
|
|
57
46
|
byteToHex.push((i + 256).toString(16).slice(1));
|
|
58
47
|
}
|
|
59
48
|
function unsafeStringify(arr, offset = 0) {
|
|
60
|
-
return byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + "-" + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + "-" + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + "-" + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + "-" + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]];
|
|
49
|
+
return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + "-" + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + "-" + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + "-" + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + "-" + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();
|
|
50
|
+
}
|
|
51
|
+
const rnds8 = new Uint8Array(16);
|
|
52
|
+
function rng() {
|
|
53
|
+
return crypto.getRandomValues(rnds8);
|
|
61
54
|
}
|
|
62
|
-
const randomUUID = typeof crypto !== "undefined" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
|
63
|
-
const native = {
|
|
64
|
-
randomUUID
|
|
65
|
-
};
|
|
66
55
|
function v4(options, buf, offset) {
|
|
67
|
-
if (
|
|
68
|
-
return
|
|
56
|
+
if (crypto.randomUUID) {
|
|
57
|
+
return crypto.randomUUID();
|
|
69
58
|
}
|
|
59
|
+
return _v4(options);
|
|
60
|
+
}
|
|
61
|
+
function _v4(options, buf, offset) {
|
|
62
|
+
var _a;
|
|
70
63
|
options = options || {};
|
|
71
|
-
const rnds = options.random
|
|
64
|
+
const rnds = options.random ?? ((_a = options.rng) == null ? void 0 : _a.call(options)) ?? rng();
|
|
65
|
+
if (rnds.length < 16) {
|
|
66
|
+
throw new Error("Random bytes length must be >= 16");
|
|
67
|
+
}
|
|
72
68
|
rnds[6] = rnds[6] & 15 | 64;
|
|
73
69
|
rnds[8] = rnds[8] & 63 | 128;
|
|
74
70
|
return unsafeStringify(rnds);
|
|
@@ -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-CYJTToEF.js";
|
|
3
3
|
import { Box, Chip, Stack, Typography } from "@mui/material";
|
|
4
4
|
import { memo, useMemo } from "react";
|
|
5
5
|
const AnnotationBody = ({ annotation }) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Popover } from "@mui/material";
|
|
3
|
-
import
|
|
4
|
-
import { A as AnnotationDetails } from "../AnnotationDetails-
|
|
5
|
-
const AnnotationDetailPopover =
|
|
3
|
+
import React3__default, { useRef, useState, useEffect } from "react";
|
|
4
|
+
import { A as AnnotationDetails } from "../AnnotationDetails-DmrYK0Qc.js";
|
|
5
|
+
const AnnotationDetailPopover = React3__default.memo(({ anchorEl, enrichRequest, open, onClose, ...otherProps }) => {
|
|
6
6
|
var _a, _b, _c;
|
|
7
7
|
const actionRef = useRef();
|
|
8
8
|
const [ready, setReady] = useState(false);
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../iconify-
|
|
2
|
+
import "../iconify-CYJTToEF.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-DIAUGhSr.js";
|
|
8
8
|
import "../hooks/useAnnotations.js";
|
|
9
9
|
import "../hooks/useErrors.js";
|
|
10
10
|
import "../icons/iconMap.js";
|
|
11
11
|
import "../utils/window.js";
|
|
12
12
|
import "../groupBy-BVV07EGQ.js";
|
|
13
|
-
import { A } from "../AnnotationDetails-
|
|
13
|
+
import { A } from "../AnnotationDetails-DmrYK0Qc.js";
|
|
14
14
|
import "../uniq-CahZPAwp.js";
|
|
15
15
|
import "react";
|
|
16
16
|
import "../index-_gpzM2Px.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { I as Icon } from "../iconify-
|
|
2
|
+
import { I as Icon } from "../iconify-CYJTToEF.js";
|
|
3
3
|
import { Stack, Typography, Chip, IconButton } from "@mui/material";
|
|
4
4
|
import Iconified from "./display/icons/Iconified.js";
|
|
5
5
|
import { t as twitterShort } from "../utils-CEySTPtg.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../iconify-
|
|
2
|
+
import "../iconify-CYJTToEF.js";
|
|
3
3
|
import "@mui/material";
|
|
4
|
-
import { A } from "../AnnotationPreview-
|
|
4
|
+
import { A } from "../AnnotationPreview-DAswA7fu.js";
|
|
5
5
|
import "../hooks/useAnnotations.js";
|
|
6
6
|
import "../utils-CEySTPtg.js";
|
|
7
7
|
import "react";
|
|
@@ -2,9 +2,9 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { Tooltip, Chip } from "@mui/material";
|
|
3
3
|
import useClueConfig from "../hooks/useClueConfig.js";
|
|
4
4
|
import { getParts, normalizedClassification } from "../utils/classificationParser.js";
|
|
5
|
-
import
|
|
5
|
+
import React3__default, { useMemo, memo } from "react";
|
|
6
6
|
const THEME_TYPES = ["default", "primary", "secondary", "error", "info", "success", "warning"];
|
|
7
|
-
const ClassificationChip =
|
|
7
|
+
const ClassificationChip = React3__default.memo(
|
|
8
8
|
({ classification, ...otherProps }) => {
|
|
9
9
|
var _a, _b;
|
|
10
10
|
const { config } = useClueConfig();
|
|
@@ -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-CYJTToEF.js";
|
|
3
3
|
import { useTheme, Card, CardHeader, Stack, CircularProgress, Divider, CardContent, Grid, Chip, Typography, Tooltip, Box } from "@mui/material";
|
|
4
4
|
import { ClueComponentContext } from "../hooks/ClueComponentContext.js";
|
|
5
|
-
import { f as useClueEnrichSelector } from "../ActionForm-
|
|
5
|
+
import { f as useClueEnrichSelector } from "../ActionForm-DIAUGhSr.js";
|
|
6
6
|
import useAnnotations from "../hooks/useAnnotations.js";
|
|
7
7
|
import useErrors from "../hooks/useErrors.js";
|
|
8
8
|
import AssessmentIcon from "../icons/Assessment.js";
|
|
@@ -3,17 +3,17 @@ import { Chip, Tooltip, Box, Stack, CircularProgress } from "@mui/material";
|
|
|
3
3
|
import Iconified from "./display/icons/Iconified.js";
|
|
4
4
|
import { ClueComponentContext } from "../hooks/ClueComponentContext.js";
|
|
5
5
|
import { ClueGroupContext } from "../hooks/ClueGroupContext.js";
|
|
6
|
-
import { C as CluePopupContext } from "../AnnotationPreview-
|
|
7
|
-
import { f as useClueEnrichSelector } from "../ActionForm-
|
|
6
|
+
import { C as CluePopupContext } from "../AnnotationPreview-DAswA7fu.js";
|
|
7
|
+
import { f as useClueEnrichSelector } from "../ActionForm-DIAUGhSr.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";
|
|
11
11
|
import ContextIcon from "../icons/Context.js";
|
|
12
12
|
import OpinionIcon from "../icons/Opinion.js";
|
|
13
13
|
import FrequencyText from "../text/Frequency.js";
|
|
14
|
-
import
|
|
14
|
+
import React3__default, { useRef, useMemo, useCallback, useEffect, memo } from "react";
|
|
15
15
|
import { a as useContextSelector } from "../index-_gpzM2Px.js";
|
|
16
|
-
const EnrichedChip =
|
|
16
|
+
const EnrichedChip = React3__default.memo(
|
|
17
17
|
({
|
|
18
18
|
type: _type,
|
|
19
19
|
value,
|
|
@@ -3,8 +3,8 @@ import { useTheme, Stack, CircularProgress, Tooltip, IconButton } from "@mui/mat
|
|
|
3
3
|
import Iconified from "./display/icons/Iconified.js";
|
|
4
4
|
import { ClueComponentContext } from "../hooks/ClueComponentContext.js";
|
|
5
5
|
import { ClueGroupContext } from "../hooks/ClueGroupContext.js";
|
|
6
|
-
import { C as CluePopupContext } from "../AnnotationPreview-
|
|
7
|
-
import { f as useClueEnrichSelector } from "../ActionForm-
|
|
6
|
+
import { C as CluePopupContext } from "../AnnotationPreview-DAswA7fu.js";
|
|
7
|
+
import { f as useClueEnrichSelector } from "../ActionForm-DIAUGhSr.js";
|
|
8
8
|
import useAnnotations from "../hooks/useAnnotations.js";
|
|
9
9
|
import ActionIcon from "../icons/Action.js";
|
|
10
10
|
import AssessmentIcon from "../icons/Assessment.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Box, Accordion, AccordionSummary, Typography, AccordionDetails } from "@mui/material";
|
|
3
3
|
import Iconified from "./display/icons/Iconified.js";
|
|
4
|
-
import
|
|
5
|
-
class ErrorBoundary extends
|
|
4
|
+
import React3__default from "react";
|
|
5
|
+
class ErrorBoundary extends React3__default.Component {
|
|
6
6
|
constructor(props) {
|
|
7
7
|
super(props);
|
|
8
8
|
this.state = { hasError: false, error: null };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Button } from "@mui/material";
|
|
3
3
|
import { ClueComponentContext } from "../hooks/ClueComponentContext.js";
|
|
4
|
-
import { f as useClueEnrichSelector } from "../ActionForm-
|
|
4
|
+
import { f as useClueEnrichSelector } from "../ActionForm-DIAUGhSr.js";
|
|
5
5
|
import { a as useContextSelector } from "../index-_gpzM2Px.js";
|
|
6
6
|
const RetryFailedEnrichments = () => {
|
|
7
7
|
const enrichFailedEnrichments = useClueEnrichSelector((ctx) => ctx.enrichFailedEnrichments);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Button, Popover, TextField, Divider, Stack, FormControlLabel, Checkbox } from "@mui/material";
|
|
3
|
-
import { e as useClueComponentSelector, f as useClueEnrichSelector } from "../ActionForm-
|
|
3
|
+
import { e as useClueComponentSelector, f as useClueEnrichSelector } from "../ActionForm-DIAUGhSr.js";
|
|
4
4
|
import { memo, useState, useEffect } from "react";
|
|
5
5
|
const SourcePicker = () => {
|
|
6
6
|
const { t } = useClueComponentSelector((ctx) => ctx.i18next);
|
|
@@ -5,7 +5,7 @@ import "@mui/material";
|
|
|
5
5
|
import "../display/icons/Iconified.js";
|
|
6
6
|
import "../../index-DUEubgWN.js";
|
|
7
7
|
import "../../hooks/ClueComponentContext.js";
|
|
8
|
-
import { A } from "../../ActionForm-
|
|
8
|
+
import { A } from "../../ActionForm-DIAUGhSr.js";
|
|
9
9
|
import "../../utils-CEySTPtg.js";
|
|
10
10
|
import "react";
|
|
11
11
|
import "../../index-_gpzM2Px.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { I as Icon } from "../../iconify-
|
|
2
|
+
import { I as Icon } from "../../iconify-CYJTToEF.js";
|
|
3
3
|
import { useTheme, Tooltip, IconButton, CircularProgress, Button, Popover, Paper, Stack, Typography, Box, Divider } from "@mui/material";
|
|
4
4
|
import Iconified from "../display/icons/Iconified.js";
|
|
5
5
|
import { ClueComponentContext } from "../../hooks/ClueComponentContext.js";
|
|
6
|
-
import { d as useClueActionsSelector } from "../../ActionForm-
|
|
6
|
+
import { d as useClueActionsSelector } from "../../ActionForm-DIAUGhSr.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";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../iconify-
|
|
2
|
+
import "../../iconify-CYJTToEF.js";
|
|
3
3
|
import "@mui/material";
|
|
4
4
|
import "../../hooks/ClueComponentContext.js";
|
|
5
|
-
import { R } from "../../ActionForm-
|
|
5
|
+
import { R } from "../../ActionForm-DIAUGhSr.js";
|
|
6
6
|
import "react";
|
|
7
7
|
import "../../index-_gpzM2Px.js";
|
|
8
8
|
import "../ClassificationChip.js";
|
|
@@ -3,7 +3,7 @@ import { Stack } from "@mui/material";
|
|
|
3
3
|
import { J as JSONViewer } from "../../../index-DUEubgWN.js";
|
|
4
4
|
import Markdown from "../../display/markdown/index.js";
|
|
5
5
|
import ErrorBoundary from "../../ErrorBoundary.js";
|
|
6
|
-
import { u as usePluginStore, c as clueUIPluginStore } from "../../../store-
|
|
6
|
+
import { u as usePluginStore, c as clueUIPluginStore } from "../../../store-C0DRfMxZ.js";
|
|
7
7
|
import { useTranslation } from "react-i18next";
|
|
8
8
|
const Result = ({
|
|
9
9
|
pluginName,
|
|
@@ -31,19 +31,12 @@ function baseUnset(object, path) {
|
|
|
31
31
|
if (!length) {
|
|
32
32
|
return true;
|
|
33
33
|
}
|
|
34
|
-
var isRootPrimitive = object == null || typeof object !== "object" && typeof object !== "function";
|
|
35
34
|
while (++index < length) {
|
|
36
|
-
var key = path[index];
|
|
37
|
-
if (typeof key !== "string") {
|
|
38
|
-
continue;
|
|
39
|
-
}
|
|
35
|
+
var key = toKey(path[index]);
|
|
40
36
|
if (key === "__proto__" && !hasOwnProperty.call(object, "__proto__")) {
|
|
41
37
|
return false;
|
|
42
38
|
}
|
|
43
|
-
if (key === "constructor"
|
|
44
|
-
if (isRootPrimitive && index === 0) {
|
|
45
|
-
continue;
|
|
46
|
-
}
|
|
39
|
+
if ((key === "constructor" || key === "prototype") && index < length - 1) {
|
|
47
40
|
return false;
|
|
48
41
|
}
|
|
49
42
|
}
|
|
@@ -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-CYJTToEF.js";
|
|
3
3
|
import { useTheme } from "@mui/material";
|
|
4
4
|
import { memo, useMemo } from "react";
|
|
5
5
|
const Iconified = ({ icon, fontSize = "medium", color, style = {} }) => {
|