@localstack/appinspector-ui 1.0.214 → 1.0.215
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 +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -15619,6 +15619,7 @@ var AwsServiceIcon = (0, import_react35.memo)(({ hideTooltip, service, size = "m
|
|
|
15619
15619
|
|
|
15620
15620
|
// src/components/operation-identity/operation-identity.tsx
|
|
15621
15621
|
var import_jsx_runtime126 = require("react/jsx-runtime");
|
|
15622
|
+
var RESOURCE_CODE_SX = { backgroundColor: "action.hover", borderRadius: "4px", fontFamily: "monospace", px: "4px" };
|
|
15622
15623
|
var OperationIdentity = (0, import_react36.memo)(({
|
|
15623
15624
|
arn = "",
|
|
15624
15625
|
children,
|
|
@@ -15650,7 +15651,7 @@ var OperationIdentity = (0, import_react36.memo)(({
|
|
|
15650
15651
|
hasOperation && /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material5.Typography, { component: "span", "data-testid": SERVICE_NODE_OPERATION_NAME_TEST_ID, noWrap: true, sx: { flex: "0 1 auto", minWidth: 0 }, variant: "inherit", children: operation2 })
|
|
15651
15652
|
] }),
|
|
15652
15653
|
(hasResource || resourcePlaceholder !== void 0 || children !== void 0) && /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)(import_material5.Box, { sx: { alignItems: "center", color: "text.secondary", columnGap: "6px", display: "flex", flexWrap: isText ? "nowrap" : "wrap", fontSize: 12, lineHeight: "18px", minWidth: 0, rowGap: "4px" }, children: [
|
|
15653
|
-
hasResource && /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material5.Typography, { component: "span", "data-testid": SERVICE_NODE_SERVICE_NAME_TEST_ID, noWrap: true, sx: { flex: "0 3 auto", minWidth: "3ch" }, title: resourceName || arn, variant: "inherit", children: resource }),
|
|
15654
|
+
hasResource && /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material5.Typography, { component: "span", "data-testid": SERVICE_NODE_SERVICE_NAME_TEST_ID, noWrap: true, sx: { ...RESOURCE_CODE_SX, flex: "0 3 auto", minWidth: "3ch" }, title: resourceName || arn, variant: "inherit", children: resource }),
|
|
15654
15655
|
!hasResource && resourcePlaceholder !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material5.Box, { component: "span", sx: { color: "text.disabled", flex: "none" }, children: resourcePlaceholder }),
|
|
15655
15656
|
(hasResource || resourcePlaceholder !== void 0) && isText && /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material5.Box, { "aria-hidden": true, component: "span", sx: { color: "text.disabled", flex: "none" }, children: "\xB7" }),
|
|
15656
15657
|
isText ? /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material5.Typography, { component: "span", "data-testid": tailTestId, noWrap: true, sx: { flex: "1 1 0", minWidth: 0 }, title: children, variant: "inherit", children }) : children
|
|
@@ -15665,7 +15666,7 @@ var OperationIdentity = (0, import_react36.memo)(({
|
|
|
15665
15666
|
/* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material5.Typography, { component: "span", noWrap: true, sx: { flex: "0 1 auto", fontWeight: 700, minWidth: 0 }, variant: "inherit", children: getServiceDisplayName(service) }),
|
|
15666
15667
|
hasOperation && /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material5.Typography, { component: "span", "data-testid": SERVICE_NODE_OPERATION_NAME_TEST_ID, noWrap: true, sx: { flex: "0 1 auto", minWidth: 0 }, variant: "inherit", children: operation2 }),
|
|
15667
15668
|
children,
|
|
15668
|
-
hasResource && /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material5.Typography, { color: "text.secondary", component: "span", "data-testid": SERVICE_NODE_SERVICE_NAME_TEST_ID, noWrap: true, sx: { flex: "
|
|
15669
|
+
hasResource && /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material5.Typography, { color: "text.secondary", component: "span", "data-testid": SERVICE_NODE_SERVICE_NAME_TEST_ID, noWrap: true, sx: { ...RESOURCE_CODE_SX, flex: "0 1 auto", fontSize: "0.875em", minWidth: 0 }, title: resourceName || arn, children: resource })
|
|
15669
15670
|
] });
|
|
15670
15671
|
}
|
|
15671
15672
|
return /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)(import_material5.Box, { "data-testid": testId, sx: { alignItems: "center", display: "flex", gap: "8px", minWidth: 0, ...sx }, children: [
|
|
@@ -15677,7 +15678,7 @@ var OperationIdentity = (0, import_react36.memo)(({
|
|
|
15677
15678
|
] }),
|
|
15678
15679
|
(hasResource || resourcePlaceholder !== void 0 || resourcePrefix !== void 0) && /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)(import_material5.Box, { sx: { alignItems: "center", columnGap: "4px", display: "flex", height: 14, minWidth: 0 }, children: [
|
|
15679
15680
|
resourcePrefix,
|
|
15680
|
-
hasResource && /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material5.Typography, { color: "text.secondary", "data-testid": SERVICE_NODE_SERVICE_NAME_TEST_ID, noWrap: true, sx: { lineHeight: "14px", minWidth: 0 }, title: resourceName || arn, variant: "caption", children: resource }),
|
|
15681
|
+
hasResource && /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material5.Typography, { color: "text.secondary", "data-testid": SERVICE_NODE_SERVICE_NAME_TEST_ID, noWrap: true, sx: { ...RESOURCE_CODE_SX, lineHeight: "14px", minWidth: 0 }, title: resourceName || arn, variant: "caption", children: resource }),
|
|
15681
15682
|
!hasResource && resourcePlaceholder !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material5.Typography, { color: "text.disabled", sx: { lineHeight: "14px" }, variant: "caption", children: resourcePlaceholder })
|
|
15682
15683
|
] })
|
|
15683
15684
|
] })
|
|
@@ -31816,7 +31817,7 @@ var EventDetails = ({ onClose, onOperationShown, selectedEvent }) => {
|
|
|
31816
31817
|
statusLabel: errorType
|
|
31817
31818
|
}
|
|
31818
31819
|
);
|
|
31819
|
-
const identity = { arn: selectedEvent.arn, operation: /* @__PURE__ */ (0, import_jsx_runtime145.jsx)(OperationName, { span: selectedEvent }), resourceName: selectedEvent.resource_name,
|
|
31820
|
+
const identity = { arn: selectedEvent.arn, operation: /* @__PURE__ */ (0, import_jsx_runtime145.jsx)(OperationName, { span: selectedEvent }), resourceName: selectedEvent.resource_name, service: selectedEvent.service_name };
|
|
31820
31821
|
const rawDataSwitch = /* @__PURE__ */ (0, import_jsx_runtime145.jsx)(
|
|
31821
31822
|
import_material21.FormControlLabel,
|
|
31822
31823
|
{
|
|
@@ -31890,7 +31891,7 @@ var EventDetails = ({ onClose, onOperationShown, selectedEvent }) => {
|
|
|
31890
31891
|
/* @__PURE__ */ (0, import_jsx_runtime145.jsx)(Field, { label: "Action", testId: EVENT_DETAILS_OPERATION_NAME_TEST_ID, children: /* @__PURE__ */ (0, import_jsx_runtime145.jsx)(OperationName, { span: selectedEvent }) })
|
|
31891
31892
|
] }),
|
|
31892
31893
|
/* @__PURE__ */ (0, import_jsx_runtime145.jsxs)(import_material21.Box, { sx: cfnResourceType ? { display: "grid", gap: 2, gridTemplateColumns: "1.3fr 1fr" } : void 0, children: [
|
|
31893
|
-
/* @__PURE__ */ (0, import_jsx_runtime145.jsx)(Field, { copy: selectedEvent.resource_name, label: "Resource", testId: EVENT_DETAILS_RESOURCE_NAME_TEST_ID, testIdOn: "row", children: selectedEvent.resource_name
|
|
31894
|
+
/* @__PURE__ */ (0, import_jsx_runtime145.jsx)(Field, { copy: selectedEvent.resource_name, label: "Resource", testId: EVENT_DETAILS_RESOURCE_NAME_TEST_ID, testIdOn: "row", children: selectedEvent.resource_name ? /* @__PURE__ */ (0, import_jsx_runtime145.jsx)(import_material21.Box, { component: "span", sx: RESOURCE_CODE_SX, children: selectedEvent.resource_name }) : /* @__PURE__ */ (0, import_jsx_runtime145.jsx)(import_material21.Box, { component: "span", sx: { color: "text.disabled" }, children: "\u2014" }) }),
|
|
31894
31895
|
Boolean(cfnResourceType) && /* @__PURE__ */ (0, import_jsx_runtime145.jsx)(Field, { label: "Resource Type", testId: EVENT_DETAILS_CFN_RESOURCE_TYPE_TEST_ID, children: cfnResourceType })
|
|
31895
31896
|
] }),
|
|
31896
31897
|
Boolean(resourceArn) && /* @__PURE__ */ (0, import_jsx_runtime145.jsx)(Field, { label: "Resource ARN", testId: EVENT_DETAILS_RESOURCE_ARN_TEST_ID, testIdOn: "row", children: resourceArn }),
|
|
@@ -33090,7 +33091,6 @@ var TraceSidebar = ({ onClose, onOperationShown, onRequestRendered, onSelectSpan
|
|
|
33090
33091
|
label: "Request",
|
|
33091
33092
|
operation: /* @__PURE__ */ (0, import_jsx_runtime151.jsx)(OperationName, { span: root2 }),
|
|
33092
33093
|
resourceName: root2.resource_name,
|
|
33093
|
-
resourcePlaceholder: "\u2014",
|
|
33094
33094
|
service: root2.service_name,
|
|
33095
33095
|
sx: { flex: 1 },
|
|
33096
33096
|
tailTestId: TRACE_SIDEBAR_STATS_TEST_ID,
|