@cccsaurora/clue-ui 1.0.2 → 1.1.0-dev.10

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.
Files changed (180) hide show
  1. package/ActionForm-D4ryHO0M.js +436 -0
  2. package/AnnotationDetails-YAPoqw3R.js +175 -0
  3. package/AnnotationPreview-DiQDjt9s.js +188 -0
  4. package/ClueEnrichContext-DIn6g8tw.js +522 -0
  5. package/FlexOne-BSYAhhtG.js +9 -0
  6. package/_Map-kgDsDYxq.js +64 -0
  7. package/_MapCache-DabaaWfq.js +161 -0
  8. package/_Uint8Array-BlVVH1tp.js +129 -0
  9. package/_baseAssignValue-CNbcU6Nb.js +25 -0
  10. package/_baseClone-D3a8Pa4T.js +284 -0
  11. package/_baseExtremum-B1o1zHjR.js +33 -0
  12. package/_baseFlatten-D4huXoEI.js +92 -0
  13. package/_baseGet-BSK_nnoz.js +109 -0
  14. package/_baseIsEqual-B5xLoweL.js +238 -0
  15. package/_baseIteratee-p6Nj07-n.js +126 -0
  16. package/_baseSlice-GAv_YFTT.js +20 -0
  17. package/_baseSum-D0WC1dN0.js +13 -0
  18. package/_baseUniq-CpupKWcL.js +89 -0
  19. package/_commonjsHelpers-CUmg6egw.js +6 -0
  20. package/_createAggregator-BpVy5xMi.js +63 -0
  21. package/_getPrototype-D1LAdQKO.js +5 -0
  22. package/_getTag-D3ToyefI.js +126 -0
  23. package/cloneDeep-CjP5k9zW.js +8 -0
  24. package/components/AnnotationBody.js +49 -34
  25. package/components/AnnotationDetailPopover.js +36 -30
  26. package/components/AnnotationDetails.js +6 -6
  27. package/components/AnnotationEntry.js +50 -47
  28. package/components/AnnotationPreview.js +5 -5
  29. package/components/ClassificationChip.js +44 -23
  30. package/components/CountBadge.js +31 -26
  31. package/components/EnrichedCard.js +104 -92
  32. package/components/EnrichedChip.js +134 -109
  33. package/components/EnrichedTypography.js +136 -110
  34. package/components/ErrorBoundary.js +28 -24
  35. package/components/RetryFailedEnrichments.js +10 -9
  36. package/components/SourcePicker.js +57 -49
  37. package/components/actions/ActionForm.js +4 -4
  38. package/components/actions/ExecutePopover.js +64 -50
  39. package/components/actions/ResultModal.js +37 -34
  40. package/components/actions/form/schemaAdapter.js +39 -20
  41. package/components/display/graph/ExpandMoreButton.js +10 -10
  42. package/components/display/graph/elements/NodeCard.js +92 -76
  43. package/components/display/graph/elements/NodeTag.js +15 -13
  44. package/components/display/graph/index.js +258 -200
  45. package/components/display/graph/visualizations/Leaf.js +88 -69
  46. package/components/display/graph/visualizations/cloud/index.js +98 -81
  47. package/components/display/graph/visualizations/icons/BaseIcon.js +26 -21
  48. package/components/display/graph/visualizations/icons/BugIcon.js +12 -12
  49. package/components/display/graph/visualizations/icons/HostIcon.js +12 -12
  50. package/components/display/graph/visualizations/icons/NetworkIcon.js +12 -12
  51. package/components/display/graph/visualizations/icons/ProcessIcon.js +12 -12
  52. package/components/display/graph/visualizations/icons/TargetIcon.js +13 -13
  53. package/components/display/graph/visualizations/icons/index.js +14 -13
  54. package/components/display/graph/visualizations/panels/NodePanel.js +10 -8
  55. package/components/display/graph/visualizations/tree/BundleLine.js +108 -81
  56. package/components/display/graph/visualizations/tree/Triangle.js +13 -13
  57. package/components/display/graph/visualizations/tree/index.js +407 -305
  58. package/components/display/icons/Iconified.js +27 -12
  59. package/components/display/json/index.js +4 -4
  60. package/components/display/markdown/DynamicTabs.js +22 -17
  61. package/components/display/markdown/index.js +8527 -5670
  62. package/components/display/markdown/markdownPlugins/tabs.js +1 -1
  63. package/components/enrichment/EnrichPopover.js +55 -47
  64. package/components/fetchers/Fetcher.js +123 -95
  65. package/components/fetchers/PreviewModal.js +20 -17
  66. package/components/fetchers/StatusChip.js +22 -18
  67. package/components/group/Entry.js +13 -11
  68. package/components/group/Group.js +13 -10
  69. package/components/group/GroupControl.js +76 -65
  70. package/components/stats/QueryStatus.js +37 -28
  71. package/countBy-C69WslUA.js +14 -0
  72. package/data/event.js +6 -4
  73. package/database/index.js +2 -2
  74. package/debounce-bV0h5FC5.js +92 -0
  75. package/get-D3C3lEU3.js +8 -0
  76. package/groupBy-DC2oOuBN.js +14 -0
  77. package/hooks/ClueActionContext.js +6 -6
  78. package/hooks/ClueComponentContext.js +29 -23
  79. package/hooks/ClueConfigProvider.js +14 -12
  80. package/hooks/ClueDatabaseContext.js +19 -13
  81. package/hooks/ClueEnrichContext.js +8 -8
  82. package/hooks/ClueFetcherContext.js +74 -46
  83. package/hooks/ClueGroupContext.js +17 -14
  84. package/hooks/CluePopupContext.js +5 -5
  85. package/hooks/ClueProvider.js +12 -10
  86. package/hooks/selectors.js +22 -11
  87. package/hooks/useAnnotations.js +45 -29
  88. package/hooks/useClue.js +6 -4
  89. package/hooks/useClueActions.js +3 -3
  90. package/hooks/useClueConfig.js +5 -5
  91. package/hooks/useClueTypeConfig.js +3 -3
  92. package/hooks/useComparator.js +722 -435
  93. package/hooks/useErrors.js +22 -18
  94. package/hooks/useMyHighlights.js +66 -36
  95. package/hooks/useMyLocalStorage.js +63 -43
  96. package/iconify-CXMreGTg.js +1782 -0
  97. package/icons/Action.js +66 -49
  98. package/icons/Assessment.js +84 -68
  99. package/icons/Context.js +75 -61
  100. package/icons/Opinion.js +77 -65
  101. package/icons/iconMap.js +2 -2
  102. package/identity-CPGTqrE4.js +6 -0
  103. package/index-BDVjGvMI.js +696 -0
  104. package/index-BHPT3qoB.js +1172 -0
  105. package/index-BMxyILVD.js +465 -0
  106. package/index-BbPn6-Mw.js +15750 -0
  107. package/index-Dz1kF2MU.js +17654 -0
  108. package/isEmpty-BQkZubqU.js +29 -0
  109. package/isNil-CIubwp4T.js +6 -0
  110. package/isObject-FTY-5JQX.js +7 -0
  111. package/isObjectLike-OAgjjZye.js +48 -0
  112. package/isSymbol-Xd2FsJyp.js +8 -0
  113. package/last-CUCl67Im.js +7 -0
  114. package/main.js +58 -58
  115. package/package.json +1 -1
  116. package/sortBy-B-UKp4GT.js +100 -0
  117. package/sumBy-MYkDPHZL.js +8 -0
  118. package/tabs-xGuUGsJd.js +254 -0
  119. package/text/Frequency.js +42 -23
  120. package/toFinite-Bc55msYj.js +16 -0
  121. package/toNumber-DPxy1FBy.js +39 -0
  122. package/useClueTypeConfig-CH-nGq6a.js +3184 -0
  123. package/utils/chain.js +91 -64
  124. package/utils/classificationParser.js +519 -256
  125. package/utils/constants.js +35 -10
  126. package/utils/graph.js +72 -45
  127. package/utils/hashUtil.js +7 -7
  128. package/utils/line.js +131 -81
  129. package/utils/loggerUtil.js +5 -3
  130. package/utils/sessionStorage.js +41 -29
  131. package/utils/utils.js +9 -9
  132. package/utils/window.js +21 -10
  133. package/utils-Dr4wbKBZ.js +4182 -0
  134. package/ActionForm-BtTv0s4P.js +0 -340
  135. package/AnnotationDetails-D5tBIeEw.js +0 -160
  136. package/AnnotationPreview-CZr_CcZC.js +0 -140
  137. package/ClueEnrichContext-DH9lqjwH.js +0 -401
  138. package/FlexOne-BXWFOd1T.js +0 -6
  139. package/_Map-DXNg_Z-q.js +0 -54
  140. package/_MapCache-Cu25RRDU.js +0 -129
  141. package/_Uint8Array-DlJCtTvG.js +0 -102
  142. package/_baseAssignValue-CUmzp727.js +0 -20
  143. package/_baseClone-BlMmRXeX.js +0 -208
  144. package/_baseExtremum-P_0akmCi.js +0 -27
  145. package/_baseFlatten-CN7vDNEQ.js +0 -72
  146. package/_baseGet-Dgf6_xCm.js +0 -80
  147. package/_baseIsEqual-Cpjtfb3Q.js +0 -173
  148. package/_baseIteratee-CP1bocOX.js +0 -95
  149. package/_baseSlice-M5RKzt1A.js +0 -10
  150. package/_baseSum-wEbgNeUs.js +0 -10
  151. package/_baseUniq-tMFmk80M.js +0 -61
  152. package/_commonjsHelpers-C6fGbg64.js +0 -6
  153. package/_createAggregator-B4Cav8ZM.js +0 -53
  154. package/_getPrototype-CHAFQYL_.js +0 -5
  155. package/_getTag-BV_UoLYG.js +0 -90
  156. package/cloneDeep-BPVpFBzJ.js +0 -8
  157. package/countBy-DOutsa_w.js +0 -8
  158. package/debounce-DryYcbJ4.js +0 -56
  159. package/get-Bow1vKwx.js +0 -8
  160. package/groupBy-BheQYl6f.js +0 -8
  161. package/iconify-BBckr5AQ.js +0 -1263
  162. package/identity-ByMq8VxU.js +0 -6
  163. package/index-BUcHmehh.js +0 -975
  164. package/index-Bo-v5IAc.js +0 -12754
  165. package/index-CnaCBNrd.js +0 -358
  166. package/index-E7g8cRyW.js +0 -568
  167. package/index-p5_wX7q1.js +0 -11729
  168. package/isEmpty-g47Qir2A.js +0 -21
  169. package/isNil-CjWwlQS3.js +0 -6
  170. package/isObject-B53jY8Qg.js +0 -7
  171. package/isObjectLike-BatpeCIi.js +0 -29
  172. package/isSymbol-C3_SC0Qp.js +0 -8
  173. package/last-7CdUxN0r.js +0 -7
  174. package/sortBy-ITdmD17L.js +0 -79
  175. package/sumBy-DxJUU2E8.js +0 -8
  176. package/tabs-CgADNA57.js +0 -195
  177. package/toFinite-BMy6GObD.js +0 -14
  178. package/toNumber-YVhnnJv4.js +0 -31
  179. package/useClueTypeConfig-CneP98N_.js +0 -2260
  180. package/utils-CD0rFIFU.js +0 -2704
@@ -1,73 +1,89 @@
1
- import { jsxs as l, jsx as r, Fragment as b } from "react/jsx-runtime";
2
- import { Stack as m, Typography as u, Card as v, CardContent as k, Divider as d, Collapse as w } from "@mui/material";
3
- import { a as y, f as S } from "../../../../utils-CD0rFIFU.js";
4
- import { cssImportant as f } from "../../../../utils/graph.js";
5
- import { b as A, c as h, t as I, a as L } from "../../../../_baseGet-Dgf6_xCm.js";
6
- import { c as F, g as O, b as N } from "../../../../_baseClone-BlMmRXeX.js";
7
- import { l as _ } from "../../../../last-7CdUxN0r.js";
8
- import { b as D } from "../../../../_baseSlice-M5RKzt1A.js";
9
- import { b as M, s as G, o as T } from "../../../../_baseFlatten-CN7vDNEQ.js";
10
- import { useState as g, useEffect as z, useCallback as B, Fragment as P } from "react";
11
- import J from "../../icons/Iconified.js";
12
- import { J as K } from "../../../../index-CnaCBNrd.js";
13
- import R from "../../markdown/index.js";
14
- import $ from "../ExpandMoreButton.js";
15
- import x from "./NodeTag.js";
16
- function U(e) {
17
- var t = e == null ? 0 : e.length;
18
- return t ? M(e) : [];
1
+ import { jsxs, jsx, Fragment } from "react/jsx-runtime";
2
+ import { Stack, Typography, Card, CardContent, Divider, Collapse } from "@mui/material";
3
+ import { a as isPlainObject, f as flatten$1 } from "../../../../utils-Dr4wbKBZ.js";
4
+ import { cssImportant } from "../../../../utils/graph.js";
5
+ import { b as baseGet, c as castPath, t as toKey, a as arrayMap } from "../../../../_baseGet-BSK_nnoz.js";
6
+ import { c as copyObject, g as getAllKeysIn, b as baseClone } from "../../../../_baseClone-D3a8Pa4T.js";
7
+ import { l as last } from "../../../../last-CUCl67Im.js";
8
+ import { b as baseSlice } from "../../../../_baseSlice-GAv_YFTT.js";
9
+ import { b as baseFlatten, s as setToString, o as overRest } from "../../../../_baseFlatten-D4huXoEI.js";
10
+ import { useState, useEffect, useCallback, Fragment as Fragment$1 } from "react";
11
+ import Iconified from "../../icons/Iconified.js";
12
+ import { J as JSONViewer } from "../../../../index-BMxyILVD.js";
13
+ import Markdown from "../../markdown/index.js";
14
+ import ExpandMoreButton from "../ExpandMoreButton.js";
15
+ import NodeTag from "./NodeTag.js";
16
+ function flatten(array) {
17
+ var length = array == null ? 0 : array.length;
18
+ return length ? baseFlatten(array) : [];
19
19
  }
20
- function V(e) {
21
- return G(T(e, void 0, U), e + "");
20
+ function flatRest(func) {
21
+ return setToString(overRest(func, void 0, flatten), func + "");
22
22
  }
23
- function Y(e, t) {
24
- return t.length < 2 ? e : A(e, D(t, 0, -1));
23
+ function parent(object, path) {
24
+ return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1));
25
25
  }
26
- function q(e, t) {
27
- return t = h(t, e), e = Y(e, t), e == null || delete e[I(_(t))];
26
+ function baseUnset(object, path) {
27
+ path = castPath(path, object);
28
+ object = parent(object, path);
29
+ return object == null || delete object[toKey(last(path))];
28
30
  }
29
- function H(e) {
30
- return y(e) ? void 0 : e;
31
+ function customOmitClone(value) {
32
+ return isPlainObject(value) ? void 0 : value;
31
33
  }
32
- var Q = 1, W = 2, X = 4, Z = V(function(e, t) {
33
- var a = {};
34
- if (e == null)
35
- return a;
36
- var i = !1;
37
- t = L(t, function(n) {
38
- return n = h(n, e), i || (i = n.length > 1), n;
39
- }), F(e, O(e), a), i && (a = N(a, Q | W | X, H));
40
- for (var s = t.length; s--; )
41
- q(a, t[s]);
42
- return a;
34
+ var CLONE_DEEP_FLAG = 1, CLONE_FLAT_FLAG = 2, CLONE_SYMBOLS_FLAG = 4;
35
+ var omit = flatRest(function(object, paths) {
36
+ var result = {};
37
+ if (object == null) {
38
+ return result;
39
+ }
40
+ var isDeep = false;
41
+ paths = arrayMap(paths, function(path) {
42
+ path = castPath(path, object);
43
+ isDeep || (isDeep = path.length > 1);
44
+ return path;
45
+ });
46
+ copyObject(object, getAllKeysIn(object), result);
47
+ if (isDeep) {
48
+ result = baseClone(result, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, customOmitClone);
49
+ }
50
+ var length = paths.length;
51
+ while (length--) {
52
+ baseUnset(result, paths[length]);
53
+ }
54
+ return result;
43
55
  });
44
- const ue = ({ node: e, sx: t = {} }) => {
45
- var c;
46
- const [a, i] = g(!1), [s, n] = g(), C = () => {
47
- i(!a);
56
+ const NodeCard = ({ node, sx = {} }) => {
57
+ var _a;
58
+ const [expanded, setExpanded] = useState(false);
59
+ const [nodeExtraData, setNodeExtraData] = useState();
60
+ const handleExpandClick = () => {
61
+ setExpanded(!expanded);
48
62
  };
49
- z(() => {
50
- n(Z(e, ["id", "edges"]));
51
- }, [e]);
52
- const E = B((o) => /* @__PURE__ */ l(m, { alignSelf: "stretch", children: [
53
- /* @__PURE__ */ r(u, { textAlign: "left", variant: "body2", color: "text.secondary", children: "Edges" }),
54
- /* @__PURE__ */ r(m, { spacing: 0.25, children: o.map((p) => /* @__PURE__ */ r(x, { nodeId: p }, p)) })
55
- ] }), []);
56
- return /* @__PURE__ */ r(
57
- v,
63
+ useEffect(() => {
64
+ setNodeExtraData(omit(node, ["id", "edges"]));
65
+ }, [node]);
66
+ const renderEdgeList = useCallback((edgeIds) => {
67
+ return /* @__PURE__ */ jsxs(Stack, { alignSelf: "stretch", children: [
68
+ /* @__PURE__ */ jsx(Typography, { textAlign: "left", variant: "body2", color: "text.secondary", children: "Edges" }),
69
+ /* @__PURE__ */ jsx(Stack, { spacing: 0.25, children: edgeIds.map((edgeId) => /* @__PURE__ */ jsx(NodeTag, { nodeId: edgeId }, edgeId)) })
70
+ ] });
71
+ }, []);
72
+ return /* @__PURE__ */ jsx(
73
+ Card,
58
74
  {
59
75
  variant: "outlined",
60
76
  sx: {
61
77
  position: "relative",
62
78
  overflow: "auto",
63
- zIndex: a ? 100 : "initial",
79
+ zIndex: expanded ? 100 : "initial",
64
80
  "& *": {
65
81
  opacity: 1
66
82
  },
67
- ...t
83
+ ...sx
68
84
  },
69
- children: /* @__PURE__ */ r(k, { sx: { p: 1 }, children: /* @__PURE__ */ l(
70
- m,
85
+ children: /* @__PURE__ */ jsx(CardContent, { sx: { p: 1 }, children: /* @__PURE__ */ jsxs(
86
+ Stack,
71
87
  {
72
88
  spacing: 1,
73
89
  sx: {
@@ -78,44 +94,44 @@ const ue = ({ node: e, sx: t = {} }) => {
78
94
  }
79
95
  },
80
96
  children: [
81
- /* @__PURE__ */ r(x, { nodeId: e.id, label: e.id, type: "header", children: /* @__PURE__ */ r(
82
- $,
97
+ /* @__PURE__ */ jsx(NodeTag, { nodeId: node.id, label: node.id, type: "header", children: /* @__PURE__ */ jsx(
98
+ ExpandMoreButton,
83
99
  {
84
- expand: a,
85
- onClick: C,
86
- "aria-expanded": a,
100
+ expand: expanded,
101
+ onClick: handleExpandClick,
102
+ "aria-expanded": expanded,
87
103
  "aria-label": "show more",
88
104
  size: "small",
89
- children: /* @__PURE__ */ r(J, { icon: "ic:baseline-expand-more", fontSize: "medium" })
105
+ children: /* @__PURE__ */ jsx(Iconified, { icon: "ic:baseline-expand-more", fontSize: "medium" })
90
106
  }
91
107
  ) }),
92
- e.markdown && /* @__PURE__ */ l(b, { children: [
93
- /* @__PURE__ */ r(d, { flexItem: !0 }),
94
- /* @__PURE__ */ r(R, { md: e.markdown, components: S(e) })
108
+ node.markdown && /* @__PURE__ */ jsxs(Fragment, { children: [
109
+ /* @__PURE__ */ jsx(Divider, { flexItem: true }),
110
+ /* @__PURE__ */ jsx(Markdown, { md: node.markdown, components: flatten$1(node) })
95
111
  ] }),
96
- !!((c = e == null ? void 0 : e.edges) != null && c.length) && /* @__PURE__ */ l(P, { children: [
97
- /* @__PURE__ */ r(d, { flexItem: !0 }),
98
- E(e == null ? void 0 : e.edges)
112
+ !!((_a = node == null ? void 0 : node.edges) == null ? void 0 : _a.length) && /* @__PURE__ */ jsxs(Fragment$1, { children: [
113
+ /* @__PURE__ */ jsx(Divider, { flexItem: true }),
114
+ renderEdgeList(node == null ? void 0 : node.edges)
99
115
  ] }),
100
- /* @__PURE__ */ r(w, { in: a, timeout: "auto", children: /* @__PURE__ */ l(
101
- m,
116
+ /* @__PURE__ */ jsx(Collapse, { in: expanded, timeout: "auto", children: /* @__PURE__ */ jsxs(
117
+ Stack,
102
118
  {
103
119
  justifyContent: "start",
104
120
  alignItems: "start",
105
121
  spacing: 1,
106
- sx: (o) => ({
122
+ sx: (theme) => ({
107
123
  "& > ul": {
108
124
  width: "100%",
109
125
  textAlign: "left",
110
- p: f(o.spacing(1)),
111
- mx: f("0"),
112
- backgroundColor: f(o.palette.background.paper)
126
+ p: cssImportant(theme.spacing(1)),
127
+ mx: cssImportant("0"),
128
+ backgroundColor: cssImportant(theme.palette.background.paper)
113
129
  }
114
130
  }),
115
131
  children: [
116
- /* @__PURE__ */ r(d, { flexItem: !0 }),
117
- /* @__PURE__ */ r(u, { textAlign: "left", variant: "body1", children: "Metadata:" }),
118
- /* @__PURE__ */ r(K, { data: s })
132
+ /* @__PURE__ */ jsx(Divider, { flexItem: true }),
133
+ /* @__PURE__ */ jsx(Typography, { textAlign: "left", variant: "body1", children: "Metadata:" }),
134
+ /* @__PURE__ */ jsx(JSONViewer, { data: nodeExtraData })
119
135
  ]
120
136
  }
121
137
  ) })
@@ -126,5 +142,5 @@ const ue = ({ node: e, sx: t = {} }) => {
126
142
  );
127
143
  };
128
144
  export {
129
- ue as default
145
+ NodeCard as default
130
146
  };
@@ -1,15 +1,17 @@
1
- import { jsxs as i, jsx as e } from "react/jsx-runtime";
2
- import { Stack as t, Typography as a, Tooltip as d } from "@mui/material";
3
- import { F as s } from "../../../../FlexOne-BXWFOd1T.js";
4
- import l from "../../icons/Iconified.js";
5
- const T = ({ nodeId: n, label: r = n, type: o = "content", children: c }) => /* @__PURE__ */ i(t, { direction: "row", spacing: 1, alignItems: "center", pr: 1, children: [
6
- o === "header" ? /* @__PURE__ */ i(t, { direction: "row", spacing: 1, alignItems: "center", sx: { overflow: "hidden" }, children: [
7
- /* @__PURE__ */ e(a, { variant: "body1", sx: { wordWrap: "break-all" }, children: r.replace(" (TRUNCATED)", "") }),
8
- r.includes("TRUNCATED") && /* @__PURE__ */ e(d, { title: "Field is truncated.", children: /* @__PURE__ */ e(l, { icon: "ic:baseline-content-cut", fontSize: "small", style: { fontSize: "0.9em" } }) })
9
- ] }) : r,
10
- /* @__PURE__ */ e(s, {}),
11
- c
12
- ] });
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ import { Stack, Typography, Tooltip } from "@mui/material";
3
+ import { F as FlexOne } from "../../../../FlexOne-BSYAhhtG.js";
4
+ import Iconified from "../../icons/Iconified.js";
5
+ const NodeTag = ({ nodeId, label = nodeId, type = "content", children }) => {
6
+ return /* @__PURE__ */ jsxs(Stack, { direction: "row", spacing: 1, alignItems: "center", pr: 1, children: [
7
+ type === "header" ? /* @__PURE__ */ jsxs(Stack, { direction: "row", spacing: 1, alignItems: "center", sx: { overflow: "hidden" }, children: [
8
+ /* @__PURE__ */ jsx(Typography, { variant: "body1", sx: { wordWrap: "break-all" }, children: label.replace(" (TRUNCATED)", "") }),
9
+ label.includes("TRUNCATED") && /* @__PURE__ */ jsx(Tooltip, { title: "Field is truncated.", children: /* @__PURE__ */ jsx(Iconified, { icon: "ic:baseline-content-cut", fontSize: "small", style: { fontSize: "0.9em" } }) })
10
+ ] }) : label,
11
+ /* @__PURE__ */ jsx(FlexOne, {}),
12
+ children
13
+ ] });
14
+ };
13
15
  export {
14
- T as default
16
+ NodeTag as default
15
17
  };