@cccsaurora/clue-ui 1.1.0-dev.28 → 1.1.0-dev.33
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-CPGSgrVE.js → ActionForm-oiPSbHip.js} +13 -10
- package/components/actions/ActionForm.js +1 -1
- package/components/enrichment/EnrichPopover.js +1 -1
- package/components/group/GroupControl.js +1 -1
- package/en/translation.json +6 -0
- package/fr/translation.json +6 -0
- package/hooks/ClueActionContext.js +1 -1
- package/hooks/ClueProvider.js +1 -1
- package/hooks/selectors.js +1 -1
- package/hooks/useClueActions.js +1 -1
- package/icons/Action.js +1 -1
- package/main.js +1 -1
- package/package.json +1 -1
|
@@ -284,16 +284,19 @@ const ActionForm = ({ runningActionData }) => {
|
|
|
284
284
|
} else {
|
|
285
285
|
return +(formSchema == null ? void 0 : formSchema.required.includes(a_key)) - +(formSchema == null ? void 0 : formSchema.required.includes(b_key));
|
|
286
286
|
}
|
|
287
|
-
}).map(([key, value]) =>
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
287
|
+
}).map(([key, value]) => {
|
|
288
|
+
var _a;
|
|
289
|
+
return {
|
|
290
|
+
type: "Control",
|
|
291
|
+
scope: `#/properties/${key}`,
|
|
292
|
+
options: {
|
|
293
|
+
autocomplete: !!value.enum || ((_a = value.options) == null ? void 0 : _a.autocomplete),
|
|
294
|
+
showUnfocusedDescription: true,
|
|
295
|
+
...value.options
|
|
296
|
+
},
|
|
297
|
+
rule: value.rule
|
|
298
|
+
};
|
|
299
|
+
})
|
|
297
300
|
}),
|
|
298
301
|
[formSchema == null ? void 0 : formSchema.properties, formSchema == null ? void 0 : formSchema.required]
|
|
299
302
|
);
|
|
@@ -5,7 +5,7 @@ import "@mui/material";
|
|
|
5
5
|
import "../display/icons/Iconified.js";
|
|
6
6
|
import "../../index-Bi21Wb23.js";
|
|
7
7
|
import "../../hooks/ClueComponentContext.js";
|
|
8
|
-
import { A } from "../../ActionForm-
|
|
8
|
+
import { A } from "../../ActionForm-oiPSbHip.js";
|
|
9
9
|
import "../../utils-7OtvGnmf.js";
|
|
10
10
|
import "react";
|
|
11
11
|
import "../../index-BDVjGvMI.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-oiPSbHip.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 }) => {
|
|
@@ -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-oiPSbHip.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
|
@@ -74,6 +74,12 @@
|
|
|
74
74
|
"quicksearch.placeholder": "Search ...",
|
|
75
75
|
"refresh": "Refresh",
|
|
76
76
|
"retry.enrich": "Retry Failed Enrichments",
|
|
77
|
+
"route.actions": "Actions",
|
|
78
|
+
"route.actions.action": "Select Action",
|
|
79
|
+
"route.actions.description": "Execute predefined actions on selectors using the form below.",
|
|
80
|
+
"route.actions.submit": "Execute Action",
|
|
81
|
+
"route.actions.type": "Selector Type",
|
|
82
|
+
"route.actions.value": "Selector Value",
|
|
77
83
|
"route.examples": "Example Components",
|
|
78
84
|
"route.fetchers": "Fetchers",
|
|
79
85
|
"route.fetchers.available": "Available Fetchers",
|
package/fr/translation.json
CHANGED
|
@@ -74,6 +74,12 @@
|
|
|
74
74
|
"quicksearch.placeholder": "Recherche ...",
|
|
75
75
|
"refresh": "Rafraîchir",
|
|
76
76
|
"retry.enrich": "Réessayer les enrichissements qui ont échoué",
|
|
77
|
+
"route.actions": "Actions",
|
|
78
|
+
"route.actions.action": "Sélectionner une action",
|
|
79
|
+
"route.actions.description": "Exécutez des actions prédéfinies sur les sélecteurs en utilisant le formulaire ci-dessous.",
|
|
80
|
+
"route.actions.submit": "Exécuter l'action",
|
|
81
|
+
"route.actions.type": "Type de sélecteur",
|
|
82
|
+
"route.actions.value": "Valeur du sélecteur",
|
|
77
83
|
"route.examples": "Exemples de composants",
|
|
78
84
|
"route.fetchers": "Fetchers",
|
|
79
85
|
"route.fetchers.available": "Fetchers disponibles",
|
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "@mui/material";
|
|
3
3
|
import "../index-CC12Ux-9.js";
|
|
4
4
|
import "../useClueTypeConfig-HmNKKYHY.js";
|
|
5
|
-
import { a, C } from "../ActionForm-
|
|
5
|
+
import { a, C } from "../ActionForm-oiPSbHip.js";
|
|
6
6
|
import "../components/actions/ResultModal.js";
|
|
7
7
|
import "../components/display/icons/Iconified.js";
|
|
8
8
|
import "../components/ErrorBoundary.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-oiPSbHip.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,5 +1,5 @@
|
|
|
1
1
|
import { u as useContextSelector } from "../index-BDVjGvMI.js";
|
|
2
|
-
import { a as ClueActionContext } from "../ActionForm-
|
|
2
|
+
import { a as ClueActionContext } from "../ActionForm-oiPSbHip.js";
|
|
3
3
|
import { ClueComponentContext } from "./ClueComponentContext.js";
|
|
4
4
|
import { C as ClueEnrichContext } from "../ClueEnrichContext-ClpyjyIp.js";
|
|
5
5
|
import { ClueFetcherContext } from "./ClueFetcherContext.js";
|
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-D4584qmN.js";
|
|
6
|
-
import { u as useClueActions } from "../ActionForm-
|
|
6
|
+
import { u as useClueActions } from "../ActionForm-oiPSbHip.js";
|
|
7
7
|
import { g as groupBy } from "../groupBy-DC2oOuBN.js";
|
|
8
8
|
import { memo, useRef, useMemo, useEffect } from "react";
|
|
9
9
|
import { u as useContextSelector } from "../index-BDVjGvMI.js";
|
package/main.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A, u } from "./ActionForm-
|
|
1
|
+
import { A, u } from "./ActionForm-oiPSbHip.js";
|
|
2
2
|
import { default as default2 } from "./components/AnnotationDetailPopover.js";
|
|
3
3
|
import { A as A2 } from "./AnnotationDetails-nC60ZC4O.js";
|
|
4
4
|
import { default as default3 } from "./components/AnnotationEntry.js";
|