@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.js
CHANGED
|
@@ -15632,6 +15632,7 @@ var AwsServiceIcon = memo6(({ hideTooltip, service, size = "medium", title }) =>
|
|
|
15632
15632
|
|
|
15633
15633
|
// src/components/operation-identity/operation-identity.tsx
|
|
15634
15634
|
import { jsx as jsx126, jsxs as jsxs120 } from "react/jsx-runtime";
|
|
15635
|
+
var RESOURCE_CODE_SX = { backgroundColor: "action.hover", borderRadius: "4px", fontFamily: "monospace", px: "4px" };
|
|
15635
15636
|
var OperationIdentity = memo7(({
|
|
15636
15637
|
arn = "",
|
|
15637
15638
|
children,
|
|
@@ -15663,7 +15664,7 @@ var OperationIdentity = memo7(({
|
|
|
15663
15664
|
hasOperation && /* @__PURE__ */ jsx126(Typography3, { component: "span", "data-testid": SERVICE_NODE_OPERATION_NAME_TEST_ID, noWrap: true, sx: { flex: "0 1 auto", minWidth: 0 }, variant: "inherit", children: operation2 })
|
|
15664
15665
|
] }),
|
|
15665
15666
|
(hasResource || resourcePlaceholder !== void 0 || children !== void 0) && /* @__PURE__ */ jsxs120(Box3, { sx: { alignItems: "center", color: "text.secondary", columnGap: "6px", display: "flex", flexWrap: isText ? "nowrap" : "wrap", fontSize: 12, lineHeight: "18px", minWidth: 0, rowGap: "4px" }, children: [
|
|
15666
|
-
hasResource && /* @__PURE__ */ jsx126(Typography3, { 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 }),
|
|
15667
|
+
hasResource && /* @__PURE__ */ jsx126(Typography3, { 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 }),
|
|
15667
15668
|
!hasResource && resourcePlaceholder !== void 0 && /* @__PURE__ */ jsx126(Box3, { component: "span", sx: { color: "text.disabled", flex: "none" }, children: resourcePlaceholder }),
|
|
15668
15669
|
(hasResource || resourcePlaceholder !== void 0) && isText && /* @__PURE__ */ jsx126(Box3, { "aria-hidden": true, component: "span", sx: { color: "text.disabled", flex: "none" }, children: "\xB7" }),
|
|
15669
15670
|
isText ? /* @__PURE__ */ jsx126(Typography3, { component: "span", "data-testid": tailTestId, noWrap: true, sx: { flex: "1 1 0", minWidth: 0 }, title: children, variant: "inherit", children }) : children
|
|
@@ -15678,7 +15679,7 @@ var OperationIdentity = memo7(({
|
|
|
15678
15679
|
/* @__PURE__ */ jsx126(Typography3, { component: "span", noWrap: true, sx: { flex: "0 1 auto", fontWeight: 700, minWidth: 0 }, variant: "inherit", children: getServiceDisplayName(service) }),
|
|
15679
15680
|
hasOperation && /* @__PURE__ */ jsx126(Typography3, { component: "span", "data-testid": SERVICE_NODE_OPERATION_NAME_TEST_ID, noWrap: true, sx: { flex: "0 1 auto", minWidth: 0 }, variant: "inherit", children: operation2 }),
|
|
15680
15681
|
children,
|
|
15681
|
-
hasResource && /* @__PURE__ */ jsx126(Typography3, { color: "text.secondary", component: "span", "data-testid": SERVICE_NODE_SERVICE_NAME_TEST_ID, noWrap: true, sx: { flex: "
|
|
15682
|
+
hasResource && /* @__PURE__ */ jsx126(Typography3, { 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 })
|
|
15682
15683
|
] });
|
|
15683
15684
|
}
|
|
15684
15685
|
return /* @__PURE__ */ jsxs120(Box3, { "data-testid": testId, sx: { alignItems: "center", display: "flex", gap: "8px", minWidth: 0, ...sx }, children: [
|
|
@@ -15690,7 +15691,7 @@ var OperationIdentity = memo7(({
|
|
|
15690
15691
|
] }),
|
|
15691
15692
|
(hasResource || resourcePlaceholder !== void 0 || resourcePrefix !== void 0) && /* @__PURE__ */ jsxs120(Box3, { sx: { alignItems: "center", columnGap: "4px", display: "flex", height: 14, minWidth: 0 }, children: [
|
|
15692
15693
|
resourcePrefix,
|
|
15693
|
-
hasResource && /* @__PURE__ */ jsx126(Typography3, { 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 }),
|
|
15694
|
+
hasResource && /* @__PURE__ */ jsx126(Typography3, { 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 }),
|
|
15694
15695
|
!hasResource && resourcePlaceholder !== void 0 && /* @__PURE__ */ jsx126(Typography3, { color: "text.disabled", sx: { lineHeight: "14px" }, variant: "caption", children: resourcePlaceholder })
|
|
15695
15696
|
] })
|
|
15696
15697
|
] })
|
|
@@ -31842,7 +31843,7 @@ var EventDetails = ({ onClose, onOperationShown, selectedEvent }) => {
|
|
|
31842
31843
|
statusLabel: errorType
|
|
31843
31844
|
}
|
|
31844
31845
|
);
|
|
31845
|
-
const identity = { arn: selectedEvent.arn, operation: /* @__PURE__ */ jsx145(OperationName, { span: selectedEvent }), resourceName: selectedEvent.resource_name,
|
|
31846
|
+
const identity = { arn: selectedEvent.arn, operation: /* @__PURE__ */ jsx145(OperationName, { span: selectedEvent }), resourceName: selectedEvent.resource_name, service: selectedEvent.service_name };
|
|
31846
31847
|
const rawDataSwitch = /* @__PURE__ */ jsx145(
|
|
31847
31848
|
FormControlLabel,
|
|
31848
31849
|
{
|
|
@@ -31916,7 +31917,7 @@ var EventDetails = ({ onClose, onOperationShown, selectedEvent }) => {
|
|
|
31916
31917
|
/* @__PURE__ */ jsx145(Field, { label: "Action", testId: EVENT_DETAILS_OPERATION_NAME_TEST_ID, children: /* @__PURE__ */ jsx145(OperationName, { span: selectedEvent }) })
|
|
31917
31918
|
] }),
|
|
31918
31919
|
/* @__PURE__ */ jsxs132(Box18, { sx: cfnResourceType ? { display: "grid", gap: 2, gridTemplateColumns: "1.3fr 1fr" } : void 0, children: [
|
|
31919
|
-
/* @__PURE__ */ jsx145(Field, { copy: selectedEvent.resource_name, label: "Resource", testId: EVENT_DETAILS_RESOURCE_NAME_TEST_ID, testIdOn: "row", children: selectedEvent.resource_name
|
|
31920
|
+
/* @__PURE__ */ jsx145(Field, { copy: selectedEvent.resource_name, label: "Resource", testId: EVENT_DETAILS_RESOURCE_NAME_TEST_ID, testIdOn: "row", children: selectedEvent.resource_name ? /* @__PURE__ */ jsx145(Box18, { component: "span", sx: RESOURCE_CODE_SX, children: selectedEvent.resource_name }) : /* @__PURE__ */ jsx145(Box18, { component: "span", sx: { color: "text.disabled" }, children: "\u2014" }) }),
|
|
31920
31921
|
Boolean(cfnResourceType) && /* @__PURE__ */ jsx145(Field, { label: "Resource Type", testId: EVENT_DETAILS_CFN_RESOURCE_TYPE_TEST_ID, children: cfnResourceType })
|
|
31921
31922
|
] }),
|
|
31922
31923
|
Boolean(resourceArn) && /* @__PURE__ */ jsx145(Field, { label: "Resource ARN", testId: EVENT_DETAILS_RESOURCE_ARN_TEST_ID, testIdOn: "row", children: resourceArn }),
|
|
@@ -33116,7 +33117,6 @@ var TraceSidebar = ({ onClose, onOperationShown, onRequestRendered, onSelectSpan
|
|
|
33116
33117
|
label: "Request",
|
|
33117
33118
|
operation: /* @__PURE__ */ jsx151(OperationName, { span: root2 }),
|
|
33118
33119
|
resourceName: root2.resource_name,
|
|
33119
|
-
resourcePlaceholder: "\u2014",
|
|
33120
33120
|
service: root2.service_name,
|
|
33121
33121
|
sx: { flex: 1 },
|
|
33122
33122
|
tailTestId: TRACE_SIDEBAR_STATS_TEST_ID,
|