@cccsaurora/clue-ui 1.3.0-dev.404 → 1.3.0
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-CHOSKfvu.js +4403 -0
- package/AnnotationDetails-Bqq6Ymmg.js +160 -0
- package/AnnotationPreview-CqXmC-j8.js +140 -0
- package/ClueEnrichContext-DL6aGe1k.js +432 -0
- package/FlexOne-BXWFOd1T.js +6 -0
- package/_MapCache-DRK-s2eK.js +179 -0
- package/_Set-DrS_bbSV.js +6 -0
- package/_Uint8Array-D9R2N9Lp.js +98 -0
- package/_arrayIncludes-Dcl_29E6.js +25 -0
- package/_arrayPush-DBJIuK2V.js +8 -0
- package/_baseAssignValue-Bx1cxHj5.js +12 -0
- package/_baseClone-DRhywkxm.js +211 -0
- package/_baseExtremum-DodEaEyF.js +16 -0
- package/_baseFlatten-CD9NgrYE.js +72 -0
- package/_baseGet-bVwDaGrA.js +80 -0
- package/_baseGetTag-CxDaTem-.js +25 -0
- package/_baseIsEqual-C-FKsm1J.js +150 -0
- package/_baseIteratee-D0FhC5bC.js +95 -0
- package/_baseRest-D_eW2E0d.js +8 -0
- package/_baseSlice-M5RKzt1A.js +10 -0
- package/_baseSum-wEbgNeUs.js +10 -0
- package/_baseUniq-D3N8igOm.js +41 -0
- package/_cacheHas-Wgl-hw34.js +22 -0
- package/_commonjsHelpers-C6fGbg64.js +6 -0
- package/_createAggregator-BVj8IAuF.js +53 -0
- package/_defineProperty-BZU4WKA3.js +11 -0
- package/_getPrototype-BGBCg-aX.js +5 -0
- package/_getTag-B7R9qBo7.js +73 -0
- package/_isIterateeCall-Dm0VTAYy.js +13 -0
- package/_setToArray-Ck4YZu0Z.js +9 -0
- package/cloneDeep-fV59zwUf.js +8 -0
- package/components/AnnotationBody.js +35 -49
- package/components/AnnotationDetailPopover.js +30 -36
- package/components/AnnotationDetails.js +7 -7
- package/components/AnnotationEntry.js +35 -35
- package/components/AnnotationPreview.js +5 -5
- package/components/ClassificationChip.js +23 -44
- package/components/CountBadge.js +26 -31
- package/components/EnrichedCard.js +97 -110
- package/components/EnrichedChip.js +105 -130
- package/components/EnrichedTypography.js +107 -133
- package/components/ErrorBoundary.js +24 -28
- package/components/RetryFailedEnrichments.js +9 -10
- package/components/SourcePicker.js +49 -57
- package/components/actions/ActionForm.js +4 -4
- package/components/actions/ExecutePopover.js +59 -75
- package/components/actions/ResultModal.js +4 -4
- package/components/actions/form/schemaAdapter.js +23 -39
- package/components/actions/formats/FileResult.js +59 -86
- package/components/actions/formats/index.js +25 -29
- package/components/display/graph/ExpandMoreButton.js +10 -10
- package/components/display/graph/elements/NodeCard.js +91 -111
- package/components/display/graph/elements/NodeTag.js +13 -15
- package/components/display/graph/index.js +202 -261
- package/components/display/graph/visualizations/Leaf.js +70 -89
- package/components/display/graph/visualizations/cloud/index.js +81 -98
- package/components/display/graph/visualizations/icons/BaseIcon.js +21 -26
- package/components/display/graph/visualizations/icons/BugIcon.js +12 -12
- package/components/display/graph/visualizations/icons/HostIcon.js +12 -12
- package/components/display/graph/visualizations/icons/NetworkIcon.js +12 -12
- package/components/display/graph/visualizations/icons/ProcessIcon.js +12 -12
- package/components/display/graph/visualizations/icons/TargetIcon.js +13 -13
- package/components/display/graph/visualizations/icons/index.js +13 -14
- package/components/display/graph/visualizations/panels/NodePanel.js +8 -10
- package/components/display/graph/visualizations/tree/BundleLine.js +81 -108
- package/components/display/graph/visualizations/tree/Triangle.js +13 -13
- package/components/display/graph/visualizations/tree/index.js +306 -408
- package/components/display/icons/Iconified.js +12 -27
- package/components/display/json/index.js +4 -4
- package/components/display/markdown/index.js +5770 -8678
- package/components/enrichment/EnrichPopover.js +46 -54
- package/components/fetchers/Fetcher.js +123 -166
- package/components/fetchers/FetcherResultView.js +27 -31
- package/components/fetchers/PreviewModal.js +16 -17
- package/components/fetchers/StatusChip.js +17 -21
- package/components/group/Entry.js +11 -13
- package/components/group/Group.js +10 -13
- package/components/group/GroupControl.js +65 -76
- package/components/stats/QueryStatus.js +32 -45
- package/countBy-B3rNuG4T.js +8 -0
- package/data/event.js +4 -6
- package/database/globals.js +2 -2
- package/database/index.js +3 -3
- package/database/replication.js +4 -4
- package/get-Bil3mzRD.js +8 -0
- package/groupBy-CrJC7sGa.js +8 -0
- package/hooks/ClueActionContext.js +6 -6
- package/hooks/ClueComponentContext.js +23 -29
- package/hooks/ClueConfigProvider.js +12 -14
- package/hooks/ClueDatabaseContext.js +23 -35
- package/hooks/ClueEnrichContext.js +11 -11
- package/hooks/ClueFetcherContext.js +56 -83
- package/hooks/ClueGroupContext.js +14 -17
- package/hooks/CluePopupContext.js +5 -5
- package/hooks/ClueProvider.js +11 -13
- package/hooks/ClueUIPluginContext.js +35 -49
- package/hooks/selectors.js +7 -7
- package/hooks/useActionResult.js +3 -3
- package/hooks/useAnnotations.js +32 -48
- package/hooks/useClue.js +4 -6
- package/hooks/useClueActions.js +3 -3
- package/hooks/useClueConfig.js +4 -6
- package/hooks/useClueTypeConfig.js +24 -49
- package/hooks/useClueUIPlugins.js +7 -8
- package/hooks/useComparator.js +435 -722
- package/hooks/useErrors.js +18 -22
- package/hooks/useFetcherResult.js +24 -33
- package/hooks/useMyHighlights.js +36 -66
- package/hooks/useMyLocalStorage.js +37 -66
- package/iconify-Ptb5dTKy.js +1270 -0
- package/icons/Action.js +49 -66
- package/icons/Assessment.js +69 -85
- package/icons/Context.js +63 -77
- package/icons/Opinion.js +60 -76
- package/icons/iconMap.js +2 -2
- package/identity-ByMq8VxU.js +6 -0
- package/index-BH-gBhtO.js +2282 -0
- package/index-BM9Sve5T.js +571 -0
- package/index-Cj4d5cGz.js +357 -0
- package/index-Dh2PP9h8.js +11747 -0
- package/index-DoFpWPHo.js +975 -0
- package/index-DzVIklWY.js +6464 -0
- package/isArguments-BWcXOE6a.js +24 -0
- package/isArray-WzO_os3q.js +4 -0
- package/isEmpty-DKxrY-_M.js +22 -0
- package/isNil-CjWwlQS3.js +6 -0
- package/isObject-B53jY8Qg.js +7 -0
- package/isObjectLike-CYbdrIBr.js +6 -0
- package/isSymbol-DE1Kcy2M.js +9 -0
- package/last-7CdUxN0r.js +7 -0
- package/main.js +62 -62
- package/maxBy-BOWDkL_D.js +8 -0
- package/package.json +1 -1
- package/plugins/ClueUIPlugin.js +96 -163
- package/plugins/file/index.js +15 -15
- package/plugins/graph/index.js +26 -29
- package/plugins/image/index.js +24 -28
- package/plugins/json/index.js +21 -21
- package/plugins/markdown/index.js +18 -18
- package/plugins/registry.js +6 -6
- package/plugins/store.js +4 -4
- package/plugins/test/index.js +17 -17
- package/plugins/utils.js +12 -13
- package/replication-WkKbPdwG.js +8453 -0
- package/sessionStorage-DFMae61b.js +90 -0
- package/sortBy-BHe812lF.js +74 -0
- package/store-DClHBq7r.js +1169 -0
- package/sumBy-B7f_bP_k.js +8 -0
- package/text/Frequency.js +23 -42
- package/toFinite-CBrE65MP.js +14 -0
- package/toNumber-CxmWey0f.js +31 -0
- package/uniq-B4UZ671_.js +7 -0
- package/utils/chain.js +65 -92
- package/utils/classificationParser.js +256 -519
- package/utils/constants.js +11 -37
- package/utils/graph.js +45 -72
- package/utils/hashUtil.js +7 -7
- package/utils/line.js +81 -131
- package/utils/loggerUtil.js +3 -5
- package/utils/sessionStorage.js +7 -7
- package/utils/time.js +427 -447
- package/utils/utils.js +10 -10
- package/utils/window.js +10 -21
- package/utils-SpTOhPYl.js +147 -0
- package/ActionForm-CqKcnDWC.js +0 -6099
- package/AnnotationDetails-BlPd3T8k.js +0 -176
- package/AnnotationPreview-Bl447SKT.js +0 -188
- package/ClueEnrichContext-B3YrTCaJ.js +0 -567
- package/FlexOne-BSYAhhtG.js +0 -9
- package/_MapCache-kuEY_iOH.js +0 -220
- package/_Set-BrSMTlHn.js +0 -6
- package/_Uint8Array-OPpgYQj7.js +0 -123
- package/_arrayIncludes-BNqL-9ZP.js +0 -31
- package/_arrayPush-CBkQqaE_.js +0 -10
- package/_baseAssignValue-CNUVPOBW.js +0 -16
- package/_baseClone-9FaRd1R2.js +0 -287
- package/_baseExtremum-wOGT4Dgw.js +0 -18
- package/_baseFlatten-Co6QHDlG.js +0 -92
- package/_baseGet-Cmp6FztG.js +0 -109
- package/_baseGetTag-Hj-0NTYF.js +0 -44
- package/_baseIsEqual-1CpU47TZ.js +0 -211
- package/_baseIteratee-BN7Vbe5g.js +0 -126
- package/_baseRest-BZ_hQ9PC.js +0 -8
- package/_baseSlice-GAv_YFTT.js +0 -20
- package/_baseSum-D0WC1dN0.js +0 -13
- package/_baseUniq-BnvS3JHL.js +0 -63
- package/_cacheHas-_aF2y2Xv.js +0 -25
- package/_commonjsHelpers-CUmg6egw.js +0 -6
- package/_createAggregator-BUZrP_is.js +0 -63
- package/_defineProperty-DolZLKmv.js +0 -12
- package/_getPrototype-Bb4gm-5m.js +0 -5
- package/_getTag-CML_cXiN.js +0 -105
- package/_isIterateeCall-B1IFEqVv.js +0 -17
- package/_setToArray-CqyqC8ib.js +0 -10
- package/cloneDeep-l3UkXG5M.js +0 -8
- package/countBy-Bqcp3VCs.js +0 -14
- package/get-CdMThM8x.js +0 -8
- package/groupBy-BVV07EGQ.js +0 -14
- package/iconify-DJxl6dC-.js +0 -1789
- package/identity-CPGTqrE4.js +0 -6
- package/index-CAvu7vwt.js +0 -1172
- package/index-CVUD9o3t.js +0 -15768
- package/index-DUEubgWN.js +0 -464
- package/index-Dj1N4IQP.js +0 -9314
- package/index-DpJxD74E.js +0 -3272
- package/index-_gpzM2Px.js +0 -702
- package/isArguments-CuYlEuhP.js +0 -27
- package/isArray-RJPfgWqI.js +0 -4
- package/isEmpty-BE656RUK.js +0 -30
- package/isNil-CIubwp4T.js +0 -6
- package/isObject-FTY-5JQX.js +0 -7
- package/isObjectLike-CeENW9FN.js +0 -6
- package/isSymbol-D_H4HPZQ.js +0 -9
- package/last-CUCl67Im.js +0 -7
- package/maxBy-BjjQmX5t.js +0 -8
- package/replication--gLEZw8a.js +0 -11777
- package/sessionStorage-B68y-wnE.js +0 -140
- package/sortBy-B8JVsLQY.js +0 -95
- package/store-B9sjQbcS.js +0 -2163
- package/sumBy-D-HCzM2i.js +0 -8
- package/toFinite-meZTg4Su.js +0 -16
- package/toNumber-B5JaA1vX.js +0 -39
- package/uniq-CahZPAwp.js +0 -7
- package/utils-CEySTPtg.js +0 -224
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
const
|
|
7
|
-
bug:
|
|
8
|
-
target:
|
|
9
|
-
host:
|
|
10
|
-
network:
|
|
11
|
-
process:
|
|
12
|
-
};
|
|
13
|
-
const getIcon = (icon) => ICON_MAP[icon];
|
|
1
|
+
import r from "./BugIcon.js";
|
|
2
|
+
import t from "./HostIcon.js";
|
|
3
|
+
import c from "./NetworkIcon.js";
|
|
4
|
+
import m from "./ProcessIcon.js";
|
|
5
|
+
import e from "./TargetIcon.js";
|
|
6
|
+
const n = {
|
|
7
|
+
bug: r,
|
|
8
|
+
target: e,
|
|
9
|
+
host: t,
|
|
10
|
+
network: c,
|
|
11
|
+
process: m
|
|
12
|
+
}, i = (o) => n[o];
|
|
14
13
|
export {
|
|
15
|
-
|
|
14
|
+
i as default
|
|
16
15
|
};
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { Skeleton } from "@mui/material";
|
|
3
|
-
import
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
] });
|
|
9
|
-
};
|
|
1
|
+
import { jsxs as e, Fragment as m, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { Skeleton as i } from "@mui/material";
|
|
3
|
+
import n from "../../elements/NodeCard.js";
|
|
4
|
+
const d = ({ selectedNodeIds: t, findNode: a }) => /* @__PURE__ */ e(m, { children: [
|
|
5
|
+
t.map((r) => a(r)).filter((r) => !!r).map((r) => /* @__PURE__ */ o(n, { node: r }, r.id)),
|
|
6
|
+
t.length < 1 && /* @__PURE__ */ o(i, { variant: "rounded", height: 150 })
|
|
7
|
+
] });
|
|
10
8
|
export {
|
|
11
|
-
|
|
9
|
+
d as default
|
|
12
10
|
};
|
|
@@ -1,121 +1,94 @@
|
|
|
1
|
-
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useTheme } from "@mui/material";
|
|
3
|
-
import { d as
|
|
4
|
-
import { useMyLocalStorageItem } from "../../../../../hooks/useMyLocalStorage.js";
|
|
5
|
-
import { StorageKey } from "../../../../../utils/constants.js";
|
|
6
|
-
import { buildHorizontalLine, buildVerticalLine } from "../../../../../utils/line.js";
|
|
7
|
-
import { i as
|
|
8
|
-
import { useMemo } from "react";
|
|
9
|
-
import { cyrb53 } from "../../../../../utils/graph.js";
|
|
10
|
-
const
|
|
11
|
-
bundle,
|
|
12
|
-
linesByLevel,
|
|
13
|
-
paddingByLevel,
|
|
14
|
-
maxArcRadius,
|
|
15
|
-
lineWidth,
|
|
16
|
-
linePaddingX,
|
|
17
|
-
linePaddingY,
|
|
18
|
-
highlightedPath,
|
|
19
|
-
nodeLocations,
|
|
20
|
-
inputsByNode,
|
|
21
|
-
outputsByNode,
|
|
22
|
-
lineDirection,
|
|
23
|
-
colorTheme
|
|
1
|
+
import { jsxs as W, jsx as x } from "react/jsx-runtime";
|
|
2
|
+
import { useTheme as $ } from "@mui/material";
|
|
3
|
+
import { d as q, S as D } from "../../../../../index-Dh2PP9h8.js";
|
|
4
|
+
import { useMyLocalStorageItem as H } from "../../../../../hooks/useMyLocalStorage.js";
|
|
5
|
+
import { StorageKey as A } from "../../../../../utils/constants.js";
|
|
6
|
+
import { buildHorizontalLine as Q, buildVerticalLine as U } from "../../../../../utils/line.js";
|
|
7
|
+
import { i as I } from "../../../../../isNil-CjWwlQS3.js";
|
|
8
|
+
import { useMemo as z } from "react";
|
|
9
|
+
import { cyrb53 as Z } from "../../../../../utils/graph.js";
|
|
10
|
+
const or = ({
|
|
11
|
+
bundle: t,
|
|
12
|
+
linesByLevel: c,
|
|
13
|
+
paddingByLevel: M,
|
|
14
|
+
maxArcRadius: T,
|
|
15
|
+
lineWidth: n,
|
|
16
|
+
linePaddingX: k,
|
|
17
|
+
linePaddingY: C,
|
|
18
|
+
highlightedPath: o,
|
|
19
|
+
nodeLocations: m,
|
|
20
|
+
inputsByNode: s,
|
|
21
|
+
outputsByNode: a,
|
|
22
|
+
lineDirection: X,
|
|
23
|
+
colorTheme: E
|
|
24
24
|
}) => {
|
|
25
|
-
const
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
() =>
|
|
30
|
-
[
|
|
31
|
-
)
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
(
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
parentY,
|
|
65
|
-
linePaddingX,
|
|
66
|
-
arcRadius
|
|
67
|
-
});
|
|
68
|
-
} else {
|
|
69
|
-
return buildVerticalLine({
|
|
70
|
-
paddingAtLevel: paddingByLevel[dest.level],
|
|
71
|
-
numLines: linesByLevel[dest.level].size,
|
|
72
|
-
distanceX,
|
|
73
|
-
distanceY,
|
|
74
|
-
childX,
|
|
75
|
-
childY,
|
|
76
|
-
childHeight,
|
|
77
|
-
parentX,
|
|
78
|
-
parentY,
|
|
79
|
-
linePaddingX,
|
|
80
|
-
arcRadius
|
|
81
|
-
});
|
|
82
|
-
}
|
|
25
|
+
const _ = $(), [l] = H(A.COLOR_SCHEME, "Spectral"), [O] = H(A.FORCE_COLOR_SETTING, "Spectral"), w = z(
|
|
26
|
+
() => O ? l : E || l,
|
|
27
|
+
[l, E, O]
|
|
28
|
+
), F = z(
|
|
29
|
+
() => (q[`interpolate${w}`] ?? D)(Z(JSON.stringify(t))),
|
|
30
|
+
[t, w]
|
|
31
|
+
), G = z(
|
|
32
|
+
() => (r) => o.size === 0 || r.sources.some((e) => o.has(e.id)) && r.destinations.some((e) => o.has(e.id)) ? 1 : 0.2,
|
|
33
|
+
[o]
|
|
34
|
+
), J = [], L = t.sources.flatMap((r) => t.destinations.flatMap((i) => {
|
|
35
|
+
var g, j;
|
|
36
|
+
c[i.level].delete(t.id);
|
|
37
|
+
const [f, K] = m[r.id], p = K + (((g = a[r.id]) == null ? void 0 : g.size) ?? 0) * C, [S, V, v] = m[i.id], d = V + (((j = s[i.id]) == null ? void 0 : j.size) ?? 0 + +(r.id === i.id)) * C, R = S - f, h = d - p, Y = Math.min(Math.abs(h / 3), T);
|
|
38
|
+
return X === "horizontal" ? Q({
|
|
39
|
+
paddingAtLevel: M[i.level],
|
|
40
|
+
numLines: c[i.level].size,
|
|
41
|
+
nodeLocations: m,
|
|
42
|
+
dest: i,
|
|
43
|
+
distanceX: R,
|
|
44
|
+
distanceY: h,
|
|
45
|
+
childX: S,
|
|
46
|
+
childY: d,
|
|
47
|
+
childHeight: v,
|
|
48
|
+
parentX: f,
|
|
49
|
+
parentY: p,
|
|
50
|
+
linePaddingX: k,
|
|
51
|
+
arcRadius: Y
|
|
52
|
+
}) : U({
|
|
53
|
+
paddingAtLevel: M[i.level],
|
|
54
|
+
numLines: c[i.level].size,
|
|
55
|
+
distanceX: R,
|
|
56
|
+
distanceY: h,
|
|
57
|
+
childX: S,
|
|
58
|
+
childY: d,
|
|
59
|
+
childHeight: v,
|
|
60
|
+
parentX: f,
|
|
61
|
+
parentY: p,
|
|
62
|
+
linePaddingX: k,
|
|
63
|
+
arcRadius: Y
|
|
83
64
|
});
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
bundle.sources.forEach((source) => {
|
|
93
|
-
if (isNil(outputsByNode[source.id])) {
|
|
94
|
-
outputsByNode[source.id] = /* @__PURE__ */ new Set();
|
|
95
|
-
}
|
|
96
|
-
outputsByNode[source.id].add(bundle.id);
|
|
97
|
-
});
|
|
98
|
-
return /* @__PURE__ */ jsxs("g", { className: "path", style: { opacity: opacities(bundle) }, children: [
|
|
99
|
-
/* @__PURE__ */ jsx(
|
|
65
|
+
})).join(`
|
|
66
|
+
`);
|
|
67
|
+
return t.destinations.forEach((r) => {
|
|
68
|
+
I(s[r.id]) && (s[r.id] = /* @__PURE__ */ new Set()), s[r.id].add(t.id);
|
|
69
|
+
}), t.sources.forEach((r) => {
|
|
70
|
+
I(a[r.id]) && (a[r.id] = /* @__PURE__ */ new Set()), a[r.id].add(t.id);
|
|
71
|
+
}), /* @__PURE__ */ W("g", { className: "path", style: { opacity: G(t) }, children: [
|
|
72
|
+
/* @__PURE__ */ x(
|
|
100
73
|
"path",
|
|
101
74
|
{
|
|
102
|
-
d,
|
|
103
|
-
style: { fill: "none", stroke:
|
|
75
|
+
d: L,
|
|
76
|
+
style: { fill: "none", stroke: _.palette.background.paper, strokeWidth: n + 3 }
|
|
104
77
|
},
|
|
105
|
-
|
|
78
|
+
t.id + "-bg"
|
|
106
79
|
),
|
|
107
|
-
/* @__PURE__ */
|
|
80
|
+
/* @__PURE__ */ x(
|
|
108
81
|
"path",
|
|
109
82
|
{
|
|
110
|
-
d,
|
|
111
|
-
strokeWidth:
|
|
112
|
-
style: { fill: "none", stroke:
|
|
83
|
+
d: L,
|
|
84
|
+
strokeWidth: n,
|
|
85
|
+
style: { fill: "none", stroke: F, strokeWidth: n }
|
|
113
86
|
},
|
|
114
|
-
|
|
87
|
+
t.id + "-fg"
|
|
115
88
|
),
|
|
116
|
-
|
|
117
|
-
] },
|
|
89
|
+
J
|
|
90
|
+
] }, t.id);
|
|
118
91
|
};
|
|
119
92
|
export {
|
|
120
|
-
|
|
93
|
+
or as default
|
|
121
94
|
};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useTheme } from "@mui/material";
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
return /* @__PURE__ */
|
|
6
|
-
/* @__PURE__ */
|
|
1
|
+
import { jsxs as m, jsx as p } from "react/jsx-runtime";
|
|
2
|
+
import { useTheme as e } from "@mui/material";
|
|
3
|
+
const t = ({ x: r, y: s, fill: $, lineWidth: o }) => {
|
|
4
|
+
const a = e();
|
|
5
|
+
return /* @__PURE__ */ m("g", { className: "arrow", children: [
|
|
6
|
+
/* @__PURE__ */ p(
|
|
7
7
|
"polygon",
|
|
8
8
|
{
|
|
9
|
-
points: `${
|
|
10
|
-
style: { fill },
|
|
11
|
-
stroke:
|
|
9
|
+
points: `${r},${s - 1.5 * o} ${r - 2 * o},${s + 1.5 * o} ${r + 2 * o},${s + 1.5 * o}`,
|
|
10
|
+
style: { fill: $ },
|
|
11
|
+
stroke: a.palette.background.paper,
|
|
12
12
|
strokeWidth: 2
|
|
13
13
|
}
|
|
14
14
|
),
|
|
15
|
-
/* @__PURE__ */
|
|
15
|
+
/* @__PURE__ */ p(
|
|
16
16
|
"polygon",
|
|
17
17
|
{
|
|
18
|
-
points: `${
|
|
19
|
-
style: { fill }
|
|
18
|
+
points: `${r - o / 2},${s - 2 * o} ${r + o / 2},${s - 2 * o} ${r + o / 2},${s + 2 * o} ${r - o / 2},${s + 2 * o}`,
|
|
19
|
+
style: { fill: $ }
|
|
20
20
|
}
|
|
21
21
|
)
|
|
22
22
|
] });
|
|
23
23
|
};
|
|
24
24
|
export {
|
|
25
|
-
|
|
25
|
+
t as default
|
|
26
26
|
};
|