@localstack/appinspector-ui 1.0.88 → 1.0.89
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 +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10234,6 +10234,7 @@ var EVENT_DETAILS_REQUEST_ID_TEST_ID = "event-details-request-id";
|
|
|
10234
10234
|
var EVENT_DETAILS_REQUEST_PAYLOAD = "event-details-request-payload";
|
|
10235
10235
|
var EVENT_DETAILS_RESPONSE_PAYLOAD_TEST_ID = "event-details-response-payload";
|
|
10236
10236
|
var EVENT_DETAILS_EXCEPTION_PAYLOAD_TEST_ID = "event-details-exception-payload";
|
|
10237
|
+
var EVENT_DETAILS_IAM_ERRORS_SUPPRESSED_TEST_ID = "event-details-iam-errors-suppressed";
|
|
10237
10238
|
var SERVICE_NODE_TEST_ID = "service-node";
|
|
10238
10239
|
var SERVICE_NODE_SERVICE_NAME_TEST_ID = "service-node-service-name";
|
|
10239
10240
|
var SERVICE_NODE_OPERATION_NAME_TEST_ID = "service-node-operation-name";
|
|
@@ -14235,7 +14236,7 @@ import { useCallback as useCallback9, useEffect as useEffect20, useRef as useRef
|
|
|
14235
14236
|
|
|
14236
14237
|
// src/components/event-details/event-details.tsx
|
|
14237
14238
|
import { Close as Close2 } from "@mui/icons-material";
|
|
14238
|
-
import { Box as Box14, Chip as Chip3, Divider as Divider3, FormControlLabel as FormControlLabel2, IconButton as IconButton4, Stack as Stack2, Switch, Typography as Typography10, useTheme as useTheme3 } from "@mui/material";
|
|
14239
|
+
import { Alert as Alert3, Box as Box14, Chip as Chip3, Divider as Divider3, FormControlLabel as FormControlLabel2, IconButton as IconButton4, Stack as Stack2, Switch, Typography as Typography10, useTheme as useTheme3 } from "@mui/material";
|
|
14239
14240
|
|
|
14240
14241
|
// node_modules/@textea/json-viewer/dist/index.mjs
|
|
14241
14242
|
var import_copy_to_clipboard = __toESM(require_copy_to_clipboard(), 1);
|
|
@@ -26610,7 +26611,8 @@ var EventDetails = ({ onClose, selectedEvent }) => {
|
|
|
26610
26611
|
] }) }),
|
|
26611
26612
|
/* @__PURE__ */ jsx137(Divider3, {}),
|
|
26612
26613
|
/* @__PURE__ */ jsxs130(ToggleSection, { headline: "Permissions", children: [
|
|
26613
|
-
|
|
26614
|
+
selectedEvent.iam_errors_suppressed && /* @__PURE__ */ jsx137(Alert3, { "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" }),
|
|
26615
|
+
!selectedEvent.iam_errors_suppressed && !eventGroups.permissions && !eventGroups.errors && !eventGroups.warnings && /* @__PURE__ */ jsx137(Typography10, { color: "text.secondary", variant: "body2", children: "There is no permission information available." }),
|
|
26614
26616
|
eventGroups.permissions && /* @__PURE__ */ jsx137(EventDetail, { displayText: "Permissions", events: eventGroups.permissions, type: "permission" }),
|
|
26615
26617
|
eventGroups.errors && /* @__PURE__ */ jsx137(EventDetail, { displayText: "Error", events: eventGroups.errors, type: "error" }),
|
|
26616
26618
|
eventGroups.warnings && /* @__PURE__ */ jsx137(EventDetail, { displayText: "Warning", events: eventGroups.warnings, type: "warning" })
|
|
@@ -26697,7 +26699,7 @@ var PayloadViewer = memo10(({ testId, value }) => {
|
|
|
26697
26699
|
|
|
26698
26700
|
// src/components/trace-graph/trace-graph.tsx
|
|
26699
26701
|
import "@xyflow/react/dist/base.css";
|
|
26700
|
-
import { Alert as
|
|
26702
|
+
import { Alert as Alert4, Button as Button5, useTheme as useTheme4 } from "@mui/material";
|
|
26701
26703
|
import { Background, MarkerType, Position as Position2, ReactFlow, useEdgesState, useNodesState } from "@xyflow/react";
|
|
26702
26704
|
import { useEffect as useEffect19 } from "react";
|
|
26703
26705
|
|
|
@@ -27016,7 +27018,7 @@ var TraceGraph = ({
|
|
|
27016
27018
|
const theme = useTheme4();
|
|
27017
27019
|
return /* @__PURE__ */ jsxs133(Fragment9, { children: [
|
|
27018
27020
|
spans.error && /* @__PURE__ */ jsxs133(
|
|
27019
|
-
|
|
27021
|
+
Alert4,
|
|
27020
27022
|
{
|
|
27021
27023
|
action: /* @__PURE__ */ jsx141(Button5, { onClick: () => {
|
|
27022
27024
|
onRefresh();
|