@cccsaurora/clue-ui 1.2.0-dev.134 → 1.2.0-dev.145
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-3jixwRKa.js → ActionForm-DMSoMN9b.js} +1 -1
- package/components/actions/ActionForm.js +2 -2
- package/components/actions/ResultModal.js +2 -2
- package/components/display/graph/elements/NodeCard.js +1 -1
- package/components/display/graph/index.js +1 -1
- package/components/display/json/index.d.ts +1 -0
- package/components/display/json/index.js +1 -1
- package/components/enrichment/EnrichPopover.js +1 -1
- package/components/fetchers/Fetcher.js +1 -1
- package/components/group/GroupControl.js +1 -1
- package/en/translation.json +4 -0
- package/fr/translation.json +4 -0
- package/hooks/ClueActionContext.js +1 -1
- package/hooks/ClueProvider.js +1 -1
- package/hooks/selectors.js +1 -1
- package/hooks/useActionResult.js +1 -1
- package/hooks/useAnnotations.js +9 -2
- package/hooks/useClueActions.js +1 -1
- package/icons/Action.js +1 -1
- package/{index-BjdMDa40.js → index-Bmoj6JY8.js} +2 -2
- package/main.js +1 -1
- package/package.json +17 -17
|
@@ -3,7 +3,7 @@ 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-Bmoj6JY8.js";
|
|
7
7
|
import { ClueComponentContext } from "./hooks/ClueComponentContext.js";
|
|
8
8
|
import { A as Ajv } from "./index-CC12Ux-9.js";
|
|
9
9
|
import { a as api } from "./useClueTypeConfig-CHWm5uda.js";
|
|
@@ -3,9 +3,9 @@ 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-Bmoj6JY8.js";
|
|
7
7
|
import "../../hooks/ClueComponentContext.js";
|
|
8
|
-
import { A } from "../../ActionForm-
|
|
8
|
+
import { A } from "../../ActionForm-DMSoMN9b.js";
|
|
9
9
|
import "../../utils-CW9CNV1h.js";
|
|
10
10
|
import "react";
|
|
11
11
|
import "../../index-BDVjGvMI.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-Bmoj6JY8.js";
|
|
5
5
|
import "../display/markdown/index.js";
|
|
6
6
|
import "../../hooks/ClueComponentContext.js";
|
|
7
|
-
import { R } from "../../ActionForm-
|
|
7
|
+
import { R } from "../../ActionForm-DMSoMN9b.js";
|
|
8
8
|
import "react";
|
|
9
9
|
import "../../index-BDVjGvMI.js";
|
|
10
10
|
import "../ClassificationChip.js";
|
|
@@ -9,7 +9,7 @@ import { b as baseSlice } from "../../../../_baseSlice-GAv_YFTT.js";
|
|
|
9
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-Bmoj6JY8.js";
|
|
13
13
|
import Markdown from "../../markdown/index.js";
|
|
14
14
|
import ExpandMoreButton from "../ExpandMoreButton.js";
|
|
15
15
|
import NodeTag from "./NodeTag.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
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, alpha, Autocomplete, TextField, FormControl, InputLabel, Select, MenuItem, IconButton, Collapse } from "@mui/material";
|
|
4
|
-
import { p as parseEvent } from "../../../index-
|
|
4
|
+
import { p as parseEvent } from "../../../index-Bmoj6JY8.js";
|
|
5
5
|
import { z as zoom, i as identity, s as select, t as transform, p as pointer } from "../../../index-BbPn6-Mw.js";
|
|
6
6
|
import { ClueComponentContext } from "../../../hooks/ClueComponentContext.js";
|
|
7
7
|
import useComparator from "../../../hooks/useComparator.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "@mui/material";
|
|
3
|
-
import { J } from "../../../index-
|
|
3
|
+
import { J } from "../../../index-Bmoj6JY8.js";
|
|
4
4
|
import "../../../utils-CW9CNV1h.js";
|
|
5
5
|
import "../../../hooks/ClueComponentContext.js";
|
|
6
6
|
import "../../../hooks/useMyLocalStorage.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
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
3
|
import { useClueComponentSelector, useClueEnrichSelector } from "../../hooks/selectors.js";
|
|
4
|
-
import { c as capitalize } from "../../ActionForm-
|
|
4
|
+
import { c as capitalize } from "../../ActionForm-DMSoMN9b.js";
|
|
5
5
|
import { useState, useRef, useCallback, useEffect } from "react";
|
|
6
6
|
import Iconified from "../display/icons/Iconified.js";
|
|
7
7
|
const EnrichPopover = ({ show = false, size = "small", selector }) => {
|
|
@@ -3,7 +3,7 @@ import { I as Icon } from "../../iconify-CXMreGTg.js";
|
|
|
3
3
|
import { useTheme, Skeleton, Chip, Tooltip, Paper, Stack, 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-Bmoj6JY8.js";
|
|
7
7
|
import { ClueComponentContext } from "../../hooks/ClueComponentContext.js";
|
|
8
8
|
import { useClueFetcherSelector } from "../../hooks/selectors.js";
|
|
9
9
|
import React__default, { useState, useEffect, memo } from "react";
|
|
@@ -6,7 +6,7 @@ import { SNACKBAR_EVENT_ID } from "../../data/event.js";
|
|
|
6
6
|
import { ClueGroupContext } from "../../hooks/ClueGroupContext.js";
|
|
7
7
|
import { useClueComponentSelector, useClueEnrichSelector } from "../../hooks/selectors.js";
|
|
8
8
|
import { safeDispatchEvent } from "../../utils/window.js";
|
|
9
|
-
import { c as capitalize } from "../../ActionForm-
|
|
9
|
+
import { c as capitalize } from "../../ActionForm-DMSoMN9b.js";
|
|
10
10
|
import { useState, useMemo, useCallback } from "react";
|
|
11
11
|
import { u as useContextSelector } from "../../index-BDVjGvMI.js";
|
|
12
12
|
import ExecutePopover from "../actions/ExecutePopover.js";
|
package/en/translation.json
CHANGED
|
@@ -48,6 +48,9 @@
|
|
|
48
48
|
"notification.title": "Notifications",
|
|
49
49
|
"page.404.description": "The page you are looking for cannot be found...",
|
|
50
50
|
"page.404.title": "404: Not found",
|
|
51
|
+
"page.actions.context.extra": "Use extra context",
|
|
52
|
+
"page.actions.context.include": "Include context",
|
|
53
|
+
"page.actions.menu.force": "Force menu",
|
|
51
54
|
"page.dashboard.title": "Dashboard",
|
|
52
55
|
"page.home.cache": "Skip Plugins' Cache",
|
|
53
56
|
"page.home.classification": "Classification",
|
|
@@ -76,6 +79,7 @@
|
|
|
76
79
|
"retry.enrich": "Retry Failed Enrichments",
|
|
77
80
|
"route.actions": "Actions",
|
|
78
81
|
"route.actions.action": "Select Action",
|
|
82
|
+
"route.actions.context.description": "Provide additional key/value context entries, one per line as `key: value`.",
|
|
79
83
|
"route.actions.description": "Execute predefined actions on selectors using the form below.",
|
|
80
84
|
"route.actions.submit": "Execute Action",
|
|
81
85
|
"route.actions.type": "Selector Type",
|
package/fr/translation.json
CHANGED
|
@@ -48,6 +48,9 @@
|
|
|
48
48
|
"notification.title": "Notifications",
|
|
49
49
|
"page.404.description": "La page que vous recherchez est introuvable ...",
|
|
50
50
|
"page.404.title": "404: Introuvable",
|
|
51
|
+
"page.actions.context.extra": "Utiliser un contexte supplémentaire",
|
|
52
|
+
"page.actions.context.include": "Inclure le contexte",
|
|
53
|
+
"page.actions.menu.force": "Forcer le menu",
|
|
51
54
|
"page.dashboard.title": "Tableau de bord",
|
|
52
55
|
"page.home.cache": "Sauter le cache du plugin",
|
|
53
56
|
"page.home.classification": "Classification",
|
|
@@ -76,6 +79,7 @@
|
|
|
76
79
|
"retry.enrich": "Réessayer les enrichissements qui ont échoué",
|
|
77
80
|
"route.actions": "Actions",
|
|
78
81
|
"route.actions.action": "Sélectionner une action",
|
|
82
|
+
"route.actions.context.description": "Fournissez des entrées de contexte clé/valeur supplémentaires, une par ligne au format `clé: valeur`.",
|
|
79
83
|
"route.actions.description": "Exécutez des actions prédéfinies sur les sélecteurs en utilisant le formulaire ci-dessous.",
|
|
80
84
|
"route.actions.submit": "Exécuter l'action",
|
|
81
85
|
"route.actions.type": "Type de sélecteur",
|
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "@mui/material";
|
|
3
3
|
import "../index-CC12Ux-9.js";
|
|
4
4
|
import "../useClueTypeConfig-CHWm5uda.js";
|
|
5
|
-
import { a, C } from "../ActionForm-
|
|
5
|
+
import { a, C } from "../ActionForm-DMSoMN9b.js";
|
|
6
6
|
import "../components/display/icons/Iconified.js";
|
|
7
7
|
import "../components/ErrorBoundary.js";
|
|
8
8
|
import "../data/event.js";
|
package/hooks/ClueProvider.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { C as ClueActionProvider } from "../ActionForm-
|
|
2
|
+
import { C as ClueActionProvider } from "../ActionForm-DMSoMN9b.js";
|
|
3
3
|
import { ClueComponentProvider } from "./ClueComponentContext.js";
|
|
4
4
|
import { ClueConfigProvider } from "./ClueConfigProvider.js";
|
|
5
5
|
import { ClueDatabaseProvider } from "./ClueDatabaseContext.js";
|
package/hooks/selectors.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ClueActionContext } from "../ActionForm-
|
|
1
|
+
import { a as ClueActionContext } from "../ActionForm-DMSoMN9b.js";
|
|
2
2
|
import { ClueComponentContext } from "./ClueComponentContext.js";
|
|
3
3
|
import { C as ClueEnrichContext } from "../ClueEnrichContext-DzZhWGxh.js";
|
|
4
4
|
import { ClueFetcherContext } from "./ClueFetcherContext.js";
|
package/hooks/useActionResult.js
CHANGED
package/hooks/useAnnotations.js
CHANGED
|
@@ -43,8 +43,15 @@ const useAnnotations = (type, value, _classification, { skipEnrichment } = { ski
|
|
|
43
43
|
}
|
|
44
44
|
const observable = database.selectors.find({
|
|
45
45
|
selector: {
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
$or: [
|
|
47
|
+
{
|
|
48
|
+
// Use regex instead of exact value for case-insensitivity
|
|
49
|
+
value: { $regex: `^${value}$`, $options: "i" }
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
value
|
|
53
|
+
}
|
|
54
|
+
]
|
|
48
55
|
}
|
|
49
56
|
}).$.subscribe(
|
|
50
57
|
(result) => setAnnotations(
|
package/hooks/useClueActions.js
CHANGED
package/icons/Action.js
CHANGED
|
@@ -3,7 +3,7 @@ import { I as Icon } from "../iconify-CXMreGTg.js";
|
|
|
3
3
|
import { useTheme, Stack, Divider, Typography } from "@mui/material";
|
|
4
4
|
import CountBadge from "../components/CountBadge.js";
|
|
5
5
|
import { C as CluePopupContext } from "../AnnotationPreview-D5NX8_su.js";
|
|
6
|
-
import { u as useClueActions } from "../ActionForm-
|
|
6
|
+
import { u as useClueActions } from "../ActionForm-DMSoMN9b.js";
|
|
7
7
|
import { g as groupBy } from "../groupBy-mXHt-nYT.js";
|
|
8
8
|
import { memo, useRef, useMemo, useEffect } from "react";
|
|
9
9
|
import { u as useContextSelector } from "../index-BDVjGvMI.js";
|
|
@@ -368,7 +368,7 @@ function TuiPhrase({
|
|
|
368
368
|
)
|
|
369
369
|
] }) });
|
|
370
370
|
}
|
|
371
|
-
const JSONViewer = ({ data, collapse = true, forceCompact = false, slotProps }) => {
|
|
371
|
+
const JSONViewer = ({ data, collapse = true, hideSearch = false, forceCompact = false, slotProps }) => {
|
|
372
372
|
var _a, _b, _c;
|
|
373
373
|
const theme = useTheme();
|
|
374
374
|
const [compact] = useMyLocalStorageItem(StorageKey.COMPACT_JSON);
|
|
@@ -412,7 +412,7 @@ const JSONViewer = ({ data, collapse = true, forceCompact = false, slotProps })
|
|
|
412
412
|
...Array.isArray((_a = slotProps == null ? void 0 : slotProps.stack) == null ? void 0 : _a.sx) ? (_b = slotProps == null ? void 0 : slotProps.stack) == null ? void 0 : _b.sx : [(_c = slotProps == null ? void 0 : slotProps.stack) == null ? void 0 : _c.sx]
|
|
413
413
|
},
|
|
414
414
|
children: [
|
|
415
|
-
/* @__PURE__ */ jsx(
|
|
415
|
+
!hideSearch && /* @__PURE__ */ jsx(
|
|
416
416
|
TuiPhrase,
|
|
417
417
|
{
|
|
418
418
|
value: query,
|
package/main.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A, u } from "./ActionForm-
|
|
1
|
+
import { A, u } from "./ActionForm-DMSoMN9b.js";
|
|
2
2
|
import { default as default2 } from "./components/AnnotationDetailPopover.js";
|
|
3
3
|
import { A as A2 } from "./AnnotationDetails-CbXSCkTF.js";
|
|
4
4
|
import { default as default3 } from "./components/AnnotationEntry.js";
|
package/package.json
CHANGED
|
@@ -63,44 +63,44 @@
|
|
|
63
63
|
},
|
|
64
64
|
"type": "module",
|
|
65
65
|
"types": "main.d.ts",
|
|
66
|
-
"version": "1.2.0-dev.
|
|
66
|
+
"version": "1.2.0-dev.145",
|
|
67
67
|
"exports": {
|
|
68
68
|
".": "./main.js",
|
|
69
69
|
"./index.css": "./index.css",
|
|
70
70
|
"./en/*.json": "./en/*.json",
|
|
71
71
|
"./fr/*.json": "./fr/*.json",
|
|
72
|
-
"./icons/*": "./icons/*.js",
|
|
73
|
-
"./types/*": "./types/*.js",
|
|
74
|
-
"./utils/*": "./utils/*.js",
|
|
75
|
-
"./utils/*.json": "./utils/*.json",
|
|
76
72
|
"./components/*": "./components/*.js",
|
|
77
|
-
"./hooks/*": "./hooks/*.js",
|
|
78
73
|
"./text/*": "./text/*.js",
|
|
74
|
+
"./utils/*": "./utils/*.js",
|
|
75
|
+
"./utils/*.json": "./utils/*.json",
|
|
79
76
|
"./data/*": "./data/*.js",
|
|
80
77
|
"./database/*": "./database/*.js",
|
|
81
78
|
"./database": "./database/index.js",
|
|
82
|
-
"./
|
|
79
|
+
"./types/*": "./types/*.js",
|
|
80
|
+
"./hooks/*": "./hooks/*.js",
|
|
81
|
+
"./icons/*": "./icons/*.js",
|
|
82
|
+
"./components/actions/*": "./components/actions/*.js",
|
|
83
83
|
"./components/enrichment/*": "./components/enrichment/*.js",
|
|
84
|
+
"./components/group/*": "./components/group/*.js",
|
|
84
85
|
"./components/fetchers/*": "./components/fetchers/*.js",
|
|
85
|
-
"./components/stats/*": "./components/stats/*.js",
|
|
86
86
|
"./components/display/*": "./components/display/*.js",
|
|
87
|
-
"./components/
|
|
88
|
-
"./components/
|
|
87
|
+
"./components/stats/*": "./components/stats/*.js",
|
|
88
|
+
"./components/actions/form/*": "./components/actions/form/*.js",
|
|
89
89
|
"./components/display/graph/*": "./components/display/graph/*.js",
|
|
90
90
|
"./components/display/graph": "./components/display/graph/index.js",
|
|
91
|
-
"./components/display/json/*": "./components/display/json/*.js",
|
|
92
|
-
"./components/display/json": "./components/display/json/index.js",
|
|
93
91
|
"./components/display/markdown/*.md": "./components/display/markdown/*.md.js",
|
|
94
92
|
"./components/display/markdown": "./components/display/markdown/index.js",
|
|
95
|
-
"./components/display/
|
|
93
|
+
"./components/display/icons/*": "./components/display/icons/*.js",
|
|
94
|
+
"./components/display/json/*": "./components/display/json/*.js",
|
|
95
|
+
"./components/display/json": "./components/display/json/index.js",
|
|
96
96
|
"./components/display/graph/visualizations/*": "./components/display/graph/visualizations/*.js",
|
|
97
|
-
"./components/display/graph/
|
|
98
|
-
"./components/display/graph/visualizations/
|
|
97
|
+
"./components/display/graph/elements/*": "./components/display/graph/elements/*.js",
|
|
98
|
+
"./components/display/graph/visualizations/panels/*": "./components/display/graph/visualizations/panels/*.js",
|
|
99
99
|
"./components/display/graph/visualizations/cloud/*": "./components/display/graph/visualizations/cloud/*.js",
|
|
100
100
|
"./components/display/graph/visualizations/cloud": "./components/display/graph/visualizations/cloud/index.js",
|
|
101
101
|
"./components/display/graph/visualizations/tree/*": "./components/display/graph/visualizations/tree/*.js",
|
|
102
102
|
"./components/display/graph/visualizations/tree": "./components/display/graph/visualizations/tree/index.js",
|
|
103
|
-
"./components/display/graph/visualizations/
|
|
104
|
-
"./components/
|
|
103
|
+
"./components/display/graph/visualizations/icons/*": "./components/display/graph/visualizations/icons/*.js",
|
|
104
|
+
"./components/display/graph/visualizations/icons": "./components/display/graph/visualizations/icons/index.js"
|
|
105
105
|
}
|
|
106
106
|
}
|