@localstack/appinspector-ui 1.0.115 → 1.0.117
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/dist/index.cjs +58 -75
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +96 -113
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2491,6 +2491,9 @@ var EVENT_DETAILS_REQUEST_PAYLOAD = "event-details-request-payload";
|
|
|
2491
2491
|
var EVENT_DETAILS_RESPONSE_PAYLOAD_TEST_ID = "event-details-response-payload";
|
|
2492
2492
|
var EVENT_DETAILS_EXCEPTION_PAYLOAD_TEST_ID = "event-details-exception-payload";
|
|
2493
2493
|
var EVENT_DETAILS_IAM_ERRORS_SUPPRESSED_TEST_ID = "event-details-iam-errors-suppressed";
|
|
2494
|
+
var EVENT_DETAILS_IAM_PRINCIPAL_TEST_ID = "event-details-iam-principal";
|
|
2495
|
+
var EVENT_DETAILS_IAM_ACTIONS_TEST_ID = "event-details-iam-actions";
|
|
2496
|
+
var EVENT_DETAILS_IAM_RESOURCES_TEST_ID = "event-details-iam-resources";
|
|
2494
2497
|
var ERROR_COUNT_TEST_ID = "error-count";
|
|
2495
2498
|
var WARNING_COUNT_TEST_ID = "warning-count";
|
|
2496
2499
|
var SERVICE_NODE_TEST_ID = "service-node";
|
|
@@ -15716,31 +15719,19 @@ var StatusMessage = ({
|
|
|
15716
15719
|
children: [
|
|
15717
15720
|
/* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_material9.AlertTitle, { sx: { fontWeight: "bold" }, children: "App Inspector Is Not Enabled" }),
|
|
15718
15721
|
/* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_material9.Typography, { sx: { mb: 2 }, variant: "body2", children: "App Inspector is not currently enabled in LocalStack. You can enable it now, or at startup." }),
|
|
15719
|
-
/* @__PURE__ */ (0, import_jsx_runtime130.
|
|
15720
|
-
|
|
15721
|
-
|
|
15722
|
-
|
|
15723
|
-
|
|
15724
|
-
|
|
15725
|
-
|
|
15726
|
-
|
|
15727
|
-
|
|
15728
|
-
|
|
15729
|
-
|
|
15730
|
-
|
|
15731
|
-
|
|
15732
|
-
),
|
|
15733
|
-
onRetry && /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(
|
|
15734
|
-
import_material9.Button,
|
|
15735
|
-
{
|
|
15736
|
-
"aria-label": "Check if App Inspector is enabled",
|
|
15737
|
-
disabled: enabling,
|
|
15738
|
-
onClick: onRetry,
|
|
15739
|
-
variant: "outlined",
|
|
15740
|
-
children: "Check Again"
|
|
15741
|
-
}
|
|
15742
|
-
)
|
|
15743
|
-
] }),
|
|
15722
|
+
/* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_material9.Box, { sx: { display: "flex", gap: 1, mb: 2 }, children: onEnable && /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(
|
|
15723
|
+
import_material9.Button,
|
|
15724
|
+
{
|
|
15725
|
+
"aria-label": "Enable App Inspector Now",
|
|
15726
|
+
disabled: enabling,
|
|
15727
|
+
onClick: () => {
|
|
15728
|
+
void handleEnable();
|
|
15729
|
+
},
|
|
15730
|
+
startIcon: enabling ? /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_material9.CircularProgress, { size: 16 }) : void 0,
|
|
15731
|
+
variant: "contained",
|
|
15732
|
+
children: "Enable App Inspector Now"
|
|
15733
|
+
}
|
|
15734
|
+
) }),
|
|
15744
15735
|
/* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_material9.Typography, { sx: { mb: 1 }, variant: "body2", children: "If you'd prefer to automatically enable App Inspector at start up, use:" }),
|
|
15745
15736
|
/* @__PURE__ */ (0, import_jsx_runtime130.jsx)(
|
|
15746
15737
|
import_material9.Box,
|
|
@@ -18606,14 +18597,14 @@ var useSpans = () => {
|
|
|
18606
18597
|
};
|
|
18607
18598
|
|
|
18608
18599
|
// src/pages/trace-graph-page.tsx
|
|
18609
|
-
var
|
|
18600
|
+
var import_icons_material12 = require("@mui/icons-material");
|
|
18610
18601
|
var import_material23 = require("@mui/material");
|
|
18611
18602
|
var import_styles = require("@mui/material/styles");
|
|
18612
18603
|
var import_react67 = require("@xyflow/react");
|
|
18613
18604
|
var import_react68 = require("react");
|
|
18614
18605
|
|
|
18615
18606
|
// src/components/event-details/event-details.tsx
|
|
18616
|
-
var
|
|
18607
|
+
var import_icons_material9 = require("@mui/icons-material");
|
|
18617
18608
|
var import_material18 = require("@mui/material");
|
|
18618
18609
|
var import_react59 = require("react");
|
|
18619
18610
|
|
|
@@ -18726,7 +18717,7 @@ var getEventGroupsByType = (events) => {
|
|
|
18726
18717
|
};
|
|
18727
18718
|
|
|
18728
18719
|
// src/components/event-details/event-detail.tsx
|
|
18729
|
-
var
|
|
18720
|
+
var import_icons_material7 = require("@mui/icons-material");
|
|
18730
18721
|
var import_material15 = require("@mui/material");
|
|
18731
18722
|
var import_react56 = require("react");
|
|
18732
18723
|
|
|
@@ -18836,57 +18827,48 @@ var IAMEventDetail = ({ event }) => {
|
|
|
18836
18827
|
};
|
|
18837
18828
|
|
|
18838
18829
|
// src/components/event-details/iam-permission-detail.tsx
|
|
18839
|
-
var import_icons_material7 = require("@mui/icons-material");
|
|
18840
18830
|
var import_material12 = require("@mui/material");
|
|
18841
18831
|
var import_react53 = require("react");
|
|
18842
18832
|
var import_jsx_runtime135 = require("react/jsx-runtime");
|
|
18843
|
-
var
|
|
18844
|
-
|
|
18845
|
-
|
|
18846
|
-
|
|
18847
|
-
|
|
18848
|
-
|
|
18849
|
-
/* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_material12.Typography, { sx: {
|
|
18833
|
+
var getChipColor = (isAllowed, spanStatusCode) => {
|
|
18834
|
+
if (isAllowed) return "success.main";
|
|
18835
|
+
if (spanStatusCode === 2) return "error.main";
|
|
18836
|
+
return "warning.main";
|
|
18837
|
+
};
|
|
18838
|
+
var LabelValue = ({ label, value }) => /* @__PURE__ */ (0, import_jsx_runtime135.jsxs)(import_material12.Box, { children: [
|
|
18839
|
+
/* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_material12.Typography, { sx: { display: "block", fontWeight: 600 }, variant: "caption", children: label }),
|
|
18840
|
+
/* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_material12.Typography, { sx: { wordBreak: "break-all" }, variant: "body2", children: value })
|
|
18850
18841
|
] });
|
|
18851
|
-
var IAMPermissionItem = ({ event }) => {
|
|
18852
|
-
const [isOpen, setIsOpen] = (0, import_react53.useState)(false);
|
|
18842
|
+
var IAMPermissionItem = ({ event, spanStatusCode }) => {
|
|
18853
18843
|
const parsedData = (0, import_react53.useMemo)(() => {
|
|
18854
18844
|
const payloadString = event.attributes?.payload;
|
|
18855
18845
|
if (!payloadString) return;
|
|
18856
18846
|
const parsedIAM2 = parseIAMEvent(payloadString);
|
|
18857
18847
|
if (!parsedIAM2) return;
|
|
18858
|
-
return {
|
|
18848
|
+
return { parsedIAM: parsedIAM2 };
|
|
18859
18849
|
}, [event.attributes?.payload]);
|
|
18860
18850
|
if (!parsedData) {
|
|
18861
18851
|
return null;
|
|
18862
18852
|
}
|
|
18863
|
-
const {
|
|
18853
|
+
const { parsedIAM } = parsedData;
|
|
18854
|
+
const isAllowed = parsedIAM.permission === "explicitly_allowed" || parsedIAM.permission === "implicitly_allowed";
|
|
18855
|
+
const chipColors = { backgroundColor: getChipColor(isAllowed, spanStatusCode), color: "white" };
|
|
18864
18856
|
return /* @__PURE__ */ (0, import_jsx_runtime135.jsxs)(import_material12.Box, { sx: { mb: 0.5 }, children: [
|
|
18865
|
-
/* @__PURE__ */ (0, import_jsx_runtime135.
|
|
18866
|
-
|
|
18867
|
-
|
|
18868
|
-
|
|
18869
|
-
|
|
18870
|
-
|
|
18871
|
-
parsedIAM.service,
|
|
18872
|
-
":",
|
|
18873
|
-
parsedIAM.operation
|
|
18874
|
-
] })
|
|
18875
|
-
] }),
|
|
18876
|
-
isOpen && /* @__PURE__ */ (0, import_jsx_runtime135.jsxs)(import_material12.Box, { sx: { borderColor: "divider", borderLeft: "2px solid", ml: 1, mt: 0.5, pl: 1.5, py: 0.5 }, children: [
|
|
18877
|
-
/* @__PURE__ */ (0, import_jsx_runtime135.jsx)(LabelValue, { label: "Principal", value: parsedIAM.principal }),
|
|
18878
|
-
parsedIAM.details.actions && parsedIAM.details.actions.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime135.jsxs)(import_material12.Box, { sx: { display: "grid", gap: 1, gridTemplateColumns: "72px 1fr", mb: 0.5 }, children: [
|
|
18879
|
-
/* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_material12.Typography, { color: "text.secondary", sx: { fontWeight: 600 }, variant: "caption", children: "Actions" }),
|
|
18880
|
-
/* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_material12.Box, { children: parsedIAM.details.actions.map((action) => /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_material12.Typography, { sx: { display: "block" }, variant: "caption", children: action }, action)) })
|
|
18857
|
+
/* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_material12.Box, { sx: { alignItems: "center", display: "flex", gap: 1, mb: 0.5 }, children: /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_material12.Chip, { label: formatPermissionStatus(parsedIAM.permission), size: "small", sx: { ...chipColors, fontWeight: 500 } }) }),
|
|
18858
|
+
/* @__PURE__ */ (0, import_jsx_runtime135.jsxs)(import_material12.Stack, { spacing: 1, children: [
|
|
18859
|
+
/* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_material12.Box, { "data-testid": EVENT_DETAILS_IAM_PRINCIPAL_TEST_ID, children: /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(LabelValue, { label: "Principal", value: parsedIAM.principal }) }),
|
|
18860
|
+
parsedIAM.details.actions && parsedIAM.details.actions.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime135.jsxs)(import_material12.Box, { "data-testid": EVENT_DETAILS_IAM_ACTIONS_TEST_ID, children: [
|
|
18861
|
+
/* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_material12.Typography, { sx: { display: "block", fontWeight: 600 }, variant: "caption", children: "Actions" }),
|
|
18862
|
+
parsedIAM.details.actions.map((action) => /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_material12.Typography, { sx: { display: "block" }, variant: "body2", children: action }, action))
|
|
18881
18863
|
] }),
|
|
18882
|
-
parsedIAM.details.resources && parsedIAM.details.resources.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime135.jsxs)(import_material12.Box, {
|
|
18883
|
-
/* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_material12.Typography, {
|
|
18884
|
-
|
|
18864
|
+
parsedIAM.details.resources && parsedIAM.details.resources.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime135.jsxs)(import_material12.Box, { "data-testid": EVENT_DETAILS_IAM_RESOURCES_TEST_ID, children: [
|
|
18865
|
+
/* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_material12.Typography, { sx: { display: "block", fontWeight: 600 }, variant: "caption", children: "Resources" }),
|
|
18866
|
+
parsedIAM.details.resources.map((resource) => /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_material12.Typography, { sx: { display: "block", wordBreak: "break-all" }, variant: "body2", children: resource }, resource))
|
|
18885
18867
|
] })
|
|
18886
18868
|
] })
|
|
18887
18869
|
] });
|
|
18888
18870
|
};
|
|
18889
|
-
var IAMPermissionDetail = ({ events }) => /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_material12.Box, { children: events.map((event) => /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(IAMPermissionItem, { event }, `${event.span_id}-${event.event_id}`)) });
|
|
18871
|
+
var IAMPermissionDetail = ({ events, spanStatusCode }) => /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_material12.Box, { children: events.map((event) => /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(IAMPermissionItem, { event, spanStatusCode }, `${event.span_id}-${event.event_id}`)) });
|
|
18890
18872
|
|
|
18891
18873
|
// src/components/event-details/payload-viewer.tsx
|
|
18892
18874
|
var import_material14 = require("@mui/material");
|
|
@@ -20772,7 +20754,7 @@ var EventMessage = ({ event }) => {
|
|
|
20772
20754
|
},
|
|
20773
20755
|
size: "small",
|
|
20774
20756
|
sx: { mr: 1, p: 0 },
|
|
20775
|
-
children: isOpen ? /* @__PURE__ */ (0, import_jsx_runtime138.jsx)(
|
|
20757
|
+
children: isOpen ? /* @__PURE__ */ (0, import_jsx_runtime138.jsx)(import_icons_material7.KeyboardArrowDown, { sx: { fontSize: 16 } }) : /* @__PURE__ */ (0, import_jsx_runtime138.jsx)(import_icons_material7.KeyboardArrowRight, { sx: { fontSize: 16 } })
|
|
20776
20758
|
}
|
|
20777
20759
|
),
|
|
20778
20760
|
/* @__PURE__ */ (0, import_jsx_runtime138.jsx)(
|
|
@@ -20827,10 +20809,11 @@ var getEventLevelFromGroup = (group4) => {
|
|
|
20827
20809
|
var EventDetail = ({
|
|
20828
20810
|
displayText,
|
|
20829
20811
|
events,
|
|
20812
|
+
spanStatusCode,
|
|
20830
20813
|
type
|
|
20831
20814
|
}) => {
|
|
20832
20815
|
if (type === "permission") {
|
|
20833
|
-
return /* @__PURE__ */ (0, import_jsx_runtime138.jsx)(IAMPermissionDetail, { events });
|
|
20816
|
+
return /* @__PURE__ */ (0, import_jsx_runtime138.jsx)(IAMPermissionDetail, { events, spanStatusCode });
|
|
20834
20817
|
}
|
|
20835
20818
|
const eventLevel = getEventLevelFromGroup(type);
|
|
20836
20819
|
return /* @__PURE__ */ (0, import_jsx_runtime138.jsxs)(import_material15.Box, { children: [
|
|
@@ -30636,7 +30619,7 @@ var LambdaInvokeLogsSection = ({ endTimeNano, functionName: functionName2, regio
|
|
|
30636
30619
|
};
|
|
30637
30620
|
|
|
30638
30621
|
// src/components/event-details/toggle-section.tsx
|
|
30639
|
-
var
|
|
30622
|
+
var import_icons_material8 = require("@mui/icons-material");
|
|
30640
30623
|
var import_material17 = require("@mui/material");
|
|
30641
30624
|
var import_react58 = require("react");
|
|
30642
30625
|
var import_jsx_runtime140 = require("react/jsx-runtime");
|
|
@@ -30668,7 +30651,7 @@ var ToggleSection = ({ action, children, headline, initialOpen = true }) => {
|
|
|
30668
30651
|
},
|
|
30669
30652
|
children: [
|
|
30670
30653
|
/* @__PURE__ */ (0, import_jsx_runtime140.jsx)(import_material17.Typography, { sx: { fontWeight: 600 }, variant: "subtitle2", children: headline }),
|
|
30671
|
-
isOpen ? /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(
|
|
30654
|
+
isOpen ? /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(import_icons_material8.KeyboardArrowDown, { sx: { color: "text.secondary", height: 20, width: 20 } }) : /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(import_icons_material8.KeyboardArrowRight, { sx: { color: "text.secondary", height: 20, width: 20 } })
|
|
30672
30655
|
]
|
|
30673
30656
|
}
|
|
30674
30657
|
),
|
|
@@ -30742,7 +30725,7 @@ var EventDetails = ({ onClose, selectedEvent }) => {
|
|
|
30742
30725
|
},
|
|
30743
30726
|
children: [
|
|
30744
30727
|
/* @__PURE__ */ (0, import_jsx_runtime141.jsx)(import_material18.Box, { children: /* @__PURE__ */ (0, import_jsx_runtime141.jsx)(import_material18.Typography, { sx: { fontWeight: 600 }, variant: "h6", children: "Operation Details" }) }),
|
|
30745
|
-
onClose && /* @__PURE__ */ (0, import_jsx_runtime141.jsx)(import_material18.IconButton, { "data-testid": EVENT_DETAILS_CLOSE_BUTTON_TEST_ID, onClick: onClose, size: "small", children: /* @__PURE__ */ (0, import_jsx_runtime141.jsx)(
|
|
30728
|
+
onClose && /* @__PURE__ */ (0, import_jsx_runtime141.jsx)(import_material18.IconButton, { "data-testid": EVENT_DETAILS_CLOSE_BUTTON_TEST_ID, onClick: onClose, size: "small", children: /* @__PURE__ */ (0, import_jsx_runtime141.jsx)(import_icons_material9.Close, {}) })
|
|
30746
30729
|
]
|
|
30747
30730
|
}
|
|
30748
30731
|
),
|
|
@@ -30812,7 +30795,7 @@ var EventDetails = ({ onClose, selectedEvent }) => {
|
|
|
30812
30795
|
/* @__PURE__ */ (0, import_jsx_runtime141.jsxs)(ToggleSection, { headline: "Permissions", children: [
|
|
30813
30796
|
selectedEvent.iam_errors_suppressed && /* @__PURE__ */ (0, import_jsx_runtime141.jsx)(import_material18.Alert, { "data-testid": EVENT_DETAILS_IAM_ERRORS_SUPPRESSED_TEST_ID, severity: "warning", sx: { mb: 1 }, children: "IAM errors are suppressed \u2014 upgrade your license to view" }),
|
|
30814
30797
|
!selectedEvent.iam_errors_suppressed && !eventGroups.permissions && !eventGroups.errors && !eventGroups.warnings && /* @__PURE__ */ (0, import_jsx_runtime141.jsx)(import_material18.Typography, { color: "text.secondary", variant: "body2", children: "There is no permission information available." }),
|
|
30815
|
-
eventGroups.permissions && /* @__PURE__ */ (0, import_jsx_runtime141.jsx)(EventDetail, { displayText: "Permissions", events: eventGroups.permissions, type: "permission" }),
|
|
30798
|
+
eventGroups.permissions && /* @__PURE__ */ (0, import_jsx_runtime141.jsx)(EventDetail, { displayText: "Permissions", events: eventGroups.permissions, spanStatusCode: selectedEvent.status_code, type: "permission" }),
|
|
30816
30799
|
eventGroups.errors && /* @__PURE__ */ (0, import_jsx_runtime141.jsx)(EventDetail, { displayText: "Error", events: eventGroups.errors, type: "error" }),
|
|
30817
30800
|
eventGroups.warnings && /* @__PURE__ */ (0, import_jsx_runtime141.jsx)(EventDetail, { displayText: "Warning", events: eventGroups.warnings, type: "warning" })
|
|
30818
30801
|
] }),
|
|
@@ -30895,7 +30878,7 @@ var import_react61 = require("@xyflow/react");
|
|
|
30895
30878
|
var import_react62 = require("react");
|
|
30896
30879
|
|
|
30897
30880
|
// src/components/trace-graph/problem-indicator.tsx
|
|
30898
|
-
var
|
|
30881
|
+
var import_icons_material10 = require("@mui/icons-material");
|
|
30899
30882
|
var import_material19 = require("@mui/material");
|
|
30900
30883
|
var import_react60 = require("react");
|
|
30901
30884
|
var import_jsx_runtime142 = require("react/jsx-runtime");
|
|
@@ -30903,13 +30886,13 @@ var ProblemIndicator = ({ error }) => {
|
|
|
30903
30886
|
const icon = (0, import_react60.useMemo)(() => {
|
|
30904
30887
|
switch (error.level) {
|
|
30905
30888
|
case "error": {
|
|
30906
|
-
return /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(
|
|
30889
|
+
return /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(import_icons_material10.Error, { sx: { color: "#d32f2f", fontSize: "14px" } });
|
|
30907
30890
|
}
|
|
30908
30891
|
case "warning": {
|
|
30909
|
-
return /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(
|
|
30892
|
+
return /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(import_icons_material10.Warning, { sx: { color: "#ff9800", fontSize: "14px" } });
|
|
30910
30893
|
}
|
|
30911
30894
|
default: {
|
|
30912
|
-
return /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(
|
|
30895
|
+
return /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(import_icons_material10.Info, { sx: { color: "#2196f3", fontSize: "14px" } });
|
|
30913
30896
|
}
|
|
30914
30897
|
}
|
|
30915
30898
|
}, [error.level]);
|
|
@@ -31106,7 +31089,7 @@ var getLayoutedNodesAndEdges = (inputNodes, inputEdges) => {
|
|
|
31106
31089
|
};
|
|
31107
31090
|
|
|
31108
31091
|
// src/components/trace-graph/xyflow/controls.tsx
|
|
31109
|
-
var
|
|
31092
|
+
var import_icons_material11 = require("@mui/icons-material");
|
|
31110
31093
|
var import_material21 = require("@mui/material");
|
|
31111
31094
|
var import_react63 = require("@xyflow/react");
|
|
31112
31095
|
var import_react64 = require("react");
|
|
@@ -31150,7 +31133,7 @@ var Controls = (0, import_react64.memo)(() => {
|
|
|
31150
31133
|
disabled: maxZoomReached,
|
|
31151
31134
|
onClick: onZoomInHandler,
|
|
31152
31135
|
size: "small",
|
|
31153
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime144.jsx)(
|
|
31136
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime144.jsx)(import_icons_material11.Add, {})
|
|
31154
31137
|
}
|
|
31155
31138
|
),
|
|
31156
31139
|
/* @__PURE__ */ (0, import_jsx_runtime144.jsx)(
|
|
@@ -31160,7 +31143,7 @@ var Controls = (0, import_react64.memo)(() => {
|
|
|
31160
31143
|
disabled: minZoomReached,
|
|
31161
31144
|
onClick: onZoomOutHandler,
|
|
31162
31145
|
size: "small",
|
|
31163
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime144.jsx)(
|
|
31146
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime144.jsx)(import_icons_material11.Remove, {})
|
|
31164
31147
|
}
|
|
31165
31148
|
),
|
|
31166
31149
|
/* @__PURE__ */ (0, import_jsx_runtime144.jsx)(
|
|
@@ -31169,7 +31152,7 @@ var Controls = (0, import_react64.memo)(() => {
|
|
|
31169
31152
|
className: "react-flow__controls-fitview",
|
|
31170
31153
|
onClick: onFitViewHandler,
|
|
31171
31154
|
size: "small",
|
|
31172
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime144.jsx)(
|
|
31155
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime144.jsx)(import_icons_material11.FitScreen, {})
|
|
31173
31156
|
}
|
|
31174
31157
|
)
|
|
31175
31158
|
]
|
|
@@ -31354,7 +31337,7 @@ var TraceGraphView = ({
|
|
|
31354
31337
|
/* @__PURE__ */ (0, import_jsx_runtime146.jsxs)(import_material23.Box, { sx: { display: "flex", width: "100%" }, children: [
|
|
31355
31338
|
/* @__PURE__ */ (0, import_jsx_runtime146.jsx)(import_material23.Button, { onClick: () => {
|
|
31356
31339
|
navigateToSpansList();
|
|
31357
|
-
}, startIcon: /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(
|
|
31340
|
+
}, startIcon: /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(import_icons_material12.ArrowBack, {}), children: "Go back" }),
|
|
31358
31341
|
/* @__PURE__ */ (0, import_jsx_runtime146.jsx)(import_material23.Box, { sx: { flexGrow: 1 } })
|
|
31359
31342
|
] }),
|
|
31360
31343
|
/* @__PURE__ */ (0, import_jsx_runtime146.jsx)(
|