@plitzi/sdk-dev-tools 0.37.1 → 0.37.3
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/CHANGELOG.md +1300 -0
- package/dist/DevToolsContainer.d.ts +11 -1
- package/dist/DevToolsContainer.mjs +65 -57
- package/dist/DevToolsContextProvider.d.ts +1 -1
- package/dist/DevToolsContextProvider.mjs +8 -8
- package/dist/DevToolsRoot.d.ts +1 -1
- package/dist/DevToolsRoot.mjs +9 -9
- package/dist/components/DevToolsIndicator/DevToolsIndicator.d.ts +1 -1
- package/dist/components/DevToolsOverlay/DevToolsOverlay.d.ts +1 -1
- package/dist/components/DevToolsPanel/DevToolsBody.d.ts +1 -1
- package/dist/components/DevToolsPanel/DevToolsButton.d.ts +1 -1
- package/dist/components/DevToolsPanel/DevToolsHeader.d.ts +1 -1
- package/dist/components/DevToolsPanel/DevToolsPanel.d.ts +1 -1
- package/dist/components/DevToolsPanel/DevToolsSubHeader.d.ts +1 -1
- package/dist/components/DevToolsPanel/DevToolsSubHeader.mjs +8 -8
- package/dist/components/DevToolsPanel/ThemeControl.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/ActionsViewer/ActionsViewer.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/ActionsViewer/components/ActionsToolbar/ActionsToolbar.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/ActionsViewer/components/DetailShell/DetailShell.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/ActionsViewer/components/FlowTimeline/FlowTimeline.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/ActionsViewer/components/RunDetail/RunDetail.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/ActionsViewer/components/RunList/RunList.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/ActionsViewer/components/RunRow/RunRow.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/ActionsViewer/components/StepRow/StepRow.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/CacheViewer/CacheViewer.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/CacheViewer/components/CacheRow/CacheRow.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/ElementsViewer/DetailsAttributes.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/ElementsViewer/DetailsDefinition.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/ElementsViewer/DetailsValue.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/ElementsViewer/DetailsValue.mjs +9 -9
- package/dist/components/DevToolsPanel/tabs/ElementsViewer/ElementDetails.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/ElementsViewer/ElementsList.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/ElementsViewer/ElementsList.mjs +10 -10
- package/dist/components/DevToolsPanel/tabs/ElementsViewer/ElementsListItem.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/ElementsViewer/ElementsViewer.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/HistoryViewer/HistoryViewer.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/HistoryViewer/components/HistoryEntryItem/HistoryEntryItem.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/HistoryViewer/components/HistoryToolbar/HistoryToolbar.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/Logs/Log.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/Logs/LogStatus.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/Logs/LogStatusIcon.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/Logs/Logs.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/Logs/LogsSummary/LogsSummary.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/Logs/LogsSummary/LogsSummaryItem.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/Logs/categories/LogAction/LogAction.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/BodyContent.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/BodyContent.mjs +8 -8
- package/dist/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/BodyHeader.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/BodyHeader.mjs +33 -33
- package/dist/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/ExecutionTree/ExecutionTree.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/ExecutionTree/ExecutionTree.mjs +11 -11
- package/dist/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/ExecutionTree/ExecutionTreeNode.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/InteractionNode/InteractionNode.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/InteractionNode/NodeHeader.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/InteractionNode/NodeMetadata.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/InteractionNode/NodeWhen.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/LogInteraction.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/LogInteractionBody.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/LogInteractionHeader.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/LogInteractionNote.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/Logs/categories/LogNavigation/LogNavigation.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/Logs/categories/LogNavigation/LogNavigationBody.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/Logs/categories/LogNavigation/LogNavigationBody.mjs +26 -26
- package/dist/components/DevToolsPanel/tabs/Logs/categories/LogNavigation/LogNavigationHeader.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/Logs/categories/LogNetwork/LogNetwork.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/Logs/categories/LogStore/LogStore.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/Logs/categories/LogStore/LogStoreBody.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/Logs/categories/LogStore/LogStoreHeader.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/PluginsViewer/PluginDetails.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/PluginsViewer/PluginsViewer.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/StoreViewer/StoreViewer.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/StoreViewer/components/FreshnessMark/FreshnessMark.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/TracingViewer/TracingViewer.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/TracingViewer/components/CommitCause/CommitCause.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/TracingViewer/components/CommitStrip/CommitStrip.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/TracingViewer/components/DetailSidebar/DetailSidebar.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/TracingViewer/components/DurationLegend/DurationLegend.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/TracingViewer/components/Flamegraph/FlameFrame.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/TracingViewer/components/Flamegraph/Flamegraph.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/TracingViewer/components/HotspotSidebar/HotspotSidebar.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/TracingViewer/components/HotspotsList/HotspotsList.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/TracingViewer/components/MetricToggle/MetricToggle.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/TracingViewer/components/RankedList/RankedList.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/TracingViewer/components/SidebarShell/SidebarEmpty.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/TracingViewer/components/SidebarShell/SidebarShell.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/TracingViewer/components/SidebarToggle/SidebarToggle.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/TracingViewer/components/TracingToolbar/TracingToolbar.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/VariablesViewer/VariableValue.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/VariablesViewer/VariablesList.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/VariablesViewer/VariablesListItem.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/VariablesViewer/VariablesStyleList.d.ts +1 -1
- package/dist/components/DevToolsPanel/tabs/VariablesViewer/VariablesViewer.d.ts +1 -1
- package/dist/components/List/List.d.ts +1 -1
- package/dist/components/List/ListItem.d.ts +1 -1
- package/dist/components/PayloadView/PayloadView.d.ts +1 -1
- package/dist/scope/useScope.mjs +14 -14
- package/dist/useRegisterQueriesStore.mjs +3 -3
- package/package.json +9 -9
|
@@ -7,5 +7,5 @@ export type LogProps = {
|
|
|
7
7
|
message?: ReactNode;
|
|
8
8
|
params: LogParams;
|
|
9
9
|
};
|
|
10
|
-
declare const _default: import('react').MemoExoticComponent<({ category, message, time, params }: LogProps) => import(
|
|
10
|
+
declare const _default: import('react').MemoExoticComponent<({ category, message, time, params }: LogProps) => import('react').JSX.Element>;
|
|
11
11
|
export default _default;
|
|
@@ -6,5 +6,5 @@ export type LogStatusProps = {
|
|
|
6
6
|
className?: string;
|
|
7
7
|
logType: LogType | 'custom';
|
|
8
8
|
};
|
|
9
|
-
declare const LogStatus: ({ className, logType, iconClassName, children }: LogStatusProps) => import(
|
|
9
|
+
declare const LogStatus: ({ className, logType, iconClassName, children }: LogStatusProps) => import('react').JSX.Element;
|
|
10
10
|
export default LogStatus;
|
|
@@ -7,5 +7,5 @@ export type LogStatusIconProps = {
|
|
|
7
7
|
logType: LogType | 'custom';
|
|
8
8
|
title?: string;
|
|
9
9
|
};
|
|
10
|
-
declare const LogStatusIcon: ({ className, logType, iconClassName, title, children }: LogStatusIconProps) => import(
|
|
10
|
+
declare const LogStatusIcon: ({ className, logType, iconClassName, title, children }: LogStatusIconProps) => import('react').JSX.Element;
|
|
11
11
|
export default LogStatusIcon;
|
|
@@ -8,5 +8,5 @@ export type LogsProps = {
|
|
|
8
8
|
logTypeFilter?: LogType;
|
|
9
9
|
onClear?: () => void;
|
|
10
10
|
};
|
|
11
|
-
declare const Logs: ({ items, autoScrollOffset, orientation, logTypeFilter, onClear }: LogsProps) => import(
|
|
11
|
+
declare const Logs: ({ items, autoScrollOffset, orientation, logTypeFilter, onClear }: LogsProps) => import('react').JSX.Element;
|
|
12
12
|
export default Logs;
|
|
@@ -7,5 +7,5 @@ export type LogsSummaryProps = {
|
|
|
7
7
|
orientation: Orientation;
|
|
8
8
|
onClick?: (logType?: LogType) => void;
|
|
9
9
|
};
|
|
10
|
-
declare const LogsSummary: ({ className, orientation, items, logTypeSelected, onClick }: LogsSummaryProps) => import(
|
|
10
|
+
declare const LogsSummary: ({ className, orientation, items, logTypeSelected, onClick }: LogsSummaryProps) => import('react').JSX.Element;
|
|
11
11
|
export default LogsSummary;
|
|
@@ -7,5 +7,5 @@ export type LogsSummaryItemProps = {
|
|
|
7
7
|
suffix?: string;
|
|
8
8
|
onClick?: (logType?: LogType) => void;
|
|
9
9
|
};
|
|
10
|
-
declare const LogsSummaryItem: ({ className, amount, suffix, selected, logType, onClick }: LogsSummaryItemProps) => import(
|
|
10
|
+
declare const LogsSummaryItem: ({ className, amount, suffix, selected, logType, onClick }: LogsSummaryItemProps) => import('react').JSX.Element;
|
|
11
11
|
export default LogsSummaryItem;
|
|
@@ -7,5 +7,5 @@ export type LogActionProps = {
|
|
|
7
7
|
params: TLogAction['params'];
|
|
8
8
|
};
|
|
9
9
|
/** Adds mode, server run id and refusal reason to the message line. */
|
|
10
|
-
declare const LogAction: ({ className, time, message, params }: LogActionProps) => import(
|
|
10
|
+
declare const LogAction: ({ className, time, message, params }: LogActionProps) => import('react').JSX.Element;
|
|
11
11
|
export default LogAction;
|
|
@@ -4,5 +4,5 @@ export type BodyContentProps = {
|
|
|
4
4
|
node: InteractionFlowParams['node'];
|
|
5
5
|
nodes: InteractionFlowParams['nodes'];
|
|
6
6
|
};
|
|
7
|
-
declare const BodyContent: ({ className, node, nodes }: BodyContentProps) => import(
|
|
7
|
+
declare const BodyContent: ({ className, node, nodes }: BodyContentProps) => import('react').JSX.Element;
|
|
8
8
|
export default BodyContent;
|
|
@@ -2,25 +2,25 @@ import e from "./ExecutionTree/index.mjs";
|
|
|
2
2
|
import t from "./InteractionNode/index.mjs";
|
|
3
3
|
import n from "clsx";
|
|
4
4
|
import { useCallback as r, useMemo as i, useState as a } from "react";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { get as o } from "@plitzi/plitzi-ui/helpers";
|
|
6
|
+
import { jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
7
7
|
//#region src/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/BodyContent.tsx
|
|
8
8
|
var l = ({ className: l, node: u, nodes: d }) => {
|
|
9
|
-
let [f, p] = a(u.id), m = i(() =>
|
|
10
|
-
return /* @__PURE__ */
|
|
9
|
+
let [f, p] = a(u.id), m = i(() => o(d, `${f}`), [f, d]), h = r((e) => p(e), []);
|
|
10
|
+
return /* @__PURE__ */ c("div", {
|
|
11
11
|
className: n("flex", l),
|
|
12
12
|
children: [
|
|
13
|
-
/* @__PURE__ */
|
|
13
|
+
/* @__PURE__ */ s(e, {
|
|
14
14
|
className: "grow basis-0",
|
|
15
15
|
nodeId: u.id,
|
|
16
16
|
nodes: d,
|
|
17
17
|
selected: f,
|
|
18
18
|
onSelect: h
|
|
19
19
|
}),
|
|
20
|
-
/* @__PURE__ */
|
|
21
|
-
f && /* @__PURE__ */
|
|
20
|
+
/* @__PURE__ */ s("div", { className: "mx-1 w-px shrink-0 bg-zinc-200 dark:bg-zinc-800" }),
|
|
21
|
+
f && /* @__PURE__ */ s("div", {
|
|
22
22
|
className: "flex min-w-0 grow basis-0",
|
|
23
|
-
children: /* @__PURE__ */
|
|
23
|
+
children: /* @__PURE__ */ s(t, {
|
|
24
24
|
whenParams: m.whenParams,
|
|
25
25
|
status: m.status,
|
|
26
26
|
name: m.node.title,
|
|
@@ -8,5 +8,5 @@ export type BodyHeaderProps = {
|
|
|
8
8
|
elementId?: string;
|
|
9
9
|
hostElementId?: string;
|
|
10
10
|
};
|
|
11
|
-
declare const BodyHeader: ({ triggerName, startTime, endTime, duration, elementId, hostElementId }: BodyHeaderProps) => import(
|
|
11
|
+
declare const BodyHeader: ({ triggerName, startTime, endTime, duration, elementId, hostElementId }: BodyHeaderProps) => import('react').JSX.Element;
|
|
12
12
|
export default BodyHeader;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { useCallback as e, useMemo as t } from "react";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { get as n } from "@plitzi/plitzi-ui/helpers";
|
|
3
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
4
|
+
import { useCommonStore as a } from "@plitzi/sdk-shared/store";
|
|
5
5
|
import { formatDate as o } from "@plitzi/sdk-shared/helpers";
|
|
6
6
|
//#region src/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/BodyHeader.tsx
|
|
7
7
|
var s = ({ triggerName: s, startTime: c, endTime: l, duration: u, elementId: d, hostElementId: f }) => {
|
|
8
|
-
let [p] =
|
|
8
|
+
let [p] = a("schema.flat"), m = t(() => d ? n(p, d) : void 0, [d, p]), h = t(() => o(c, "HH:mm:ss.SSS"), [c]), g = t(() => o(l, "HH:mm:ss.SSS"), [l]), _ = t(() => {
|
|
9
9
|
if (typeof document < "u") return document.querySelector(`[data-id="${d}"]`);
|
|
10
10
|
}, [d]), v = e(() => {
|
|
11
11
|
_?.scrollIntoView({
|
|
@@ -18,34 +18,34 @@ var s = ({ triggerName: s, startTime: c, endTime: l, duration: u, elementId: d,
|
|
|
18
18
|
}, [_]), b = e(() => {
|
|
19
19
|
_?.classList.remove("devtools-element-hovered");
|
|
20
20
|
}, [_]);
|
|
21
|
-
return /* @__PURE__ */
|
|
21
|
+
return /* @__PURE__ */ i("div", {
|
|
22
22
|
className: "flex justify-around gap-3",
|
|
23
23
|
children: [
|
|
24
|
-
/* @__PURE__ */
|
|
24
|
+
/* @__PURE__ */ i("div", {
|
|
25
25
|
className: "flex min-w-0 grow basis-0 flex-col",
|
|
26
|
-
children: [/* @__PURE__ */
|
|
26
|
+
children: [/* @__PURE__ */ i("div", {
|
|
27
27
|
className: "mb-1 flex items-center gap-1.5 text-[10px] font-semibold tracking-wider text-zinc-400 uppercase dark:text-zinc-500",
|
|
28
|
-
children: [/* @__PURE__ */
|
|
29
|
-
}), /* @__PURE__ */
|
|
28
|
+
children: [/* @__PURE__ */ r("i", { className: "fa-regular fa-clock" }), "Times"]
|
|
29
|
+
}), /* @__PURE__ */ i("div", {
|
|
30
30
|
className: "flex flex-col gap-0.5 font-mono text-zinc-700 dark:text-zinc-300",
|
|
31
31
|
children: [
|
|
32
|
-
/* @__PURE__ */
|
|
32
|
+
/* @__PURE__ */ i("div", {
|
|
33
33
|
className: "flex gap-1",
|
|
34
|
-
children: [/* @__PURE__ */
|
|
34
|
+
children: [/* @__PURE__ */ r("span", {
|
|
35
35
|
className: "text-zinc-400 dark:text-zinc-500",
|
|
36
36
|
children: "Start"
|
|
37
37
|
}), h]
|
|
38
38
|
}),
|
|
39
|
-
/* @__PURE__ */
|
|
39
|
+
/* @__PURE__ */ i("div", {
|
|
40
40
|
className: "flex gap-1",
|
|
41
|
-
children: [/* @__PURE__ */
|
|
41
|
+
children: [/* @__PURE__ */ r("span", {
|
|
42
42
|
className: "text-zinc-400 dark:text-zinc-500",
|
|
43
43
|
children: "End"
|
|
44
44
|
}), g]
|
|
45
45
|
}),
|
|
46
|
-
/* @__PURE__ */
|
|
46
|
+
/* @__PURE__ */ i("div", {
|
|
47
47
|
className: "flex gap-1",
|
|
48
|
-
children: [/* @__PURE__ */
|
|
48
|
+
children: [/* @__PURE__ */ r("span", {
|
|
49
49
|
className: "text-zinc-400 dark:text-zinc-500",
|
|
50
50
|
children: "Duration"
|
|
51
51
|
}), u]
|
|
@@ -53,53 +53,53 @@ var s = ({ triggerName: s, startTime: c, endTime: l, duration: u, elementId: d,
|
|
|
53
53
|
]
|
|
54
54
|
})]
|
|
55
55
|
}),
|
|
56
|
-
/* @__PURE__ */
|
|
57
|
-
/* @__PURE__ */
|
|
56
|
+
/* @__PURE__ */ r("div", { className: "w-px shrink-0 bg-zinc-200 dark:bg-zinc-800" }),
|
|
57
|
+
/* @__PURE__ */ i("div", {
|
|
58
58
|
className: "flex min-w-0 grow basis-0 flex-col",
|
|
59
|
-
children: [/* @__PURE__ */
|
|
59
|
+
children: [/* @__PURE__ */ i("div", {
|
|
60
60
|
className: "mb-1 flex items-center gap-1.5 text-[10px] font-semibold tracking-wider text-zinc-400 uppercase dark:text-zinc-500",
|
|
61
|
-
children: [/* @__PURE__ */
|
|
62
|
-
}), /* @__PURE__ */
|
|
61
|
+
children: [/* @__PURE__ */ r("i", { className: "fa-solid fa-circle-info" }), "Details"]
|
|
62
|
+
}), /* @__PURE__ */ i("div", {
|
|
63
63
|
className: "flex flex-col gap-0.5 text-zinc-700 dark:text-zinc-300",
|
|
64
64
|
children: [
|
|
65
|
-
/* @__PURE__ */
|
|
65
|
+
/* @__PURE__ */ i("div", {
|
|
66
66
|
className: "flex gap-1",
|
|
67
|
-
children: [/* @__PURE__ */
|
|
67
|
+
children: [/* @__PURE__ */ r("span", {
|
|
68
68
|
className: "text-zinc-400 dark:text-zinc-500",
|
|
69
69
|
children: "Type"
|
|
70
|
-
}), /* @__PURE__ */
|
|
70
|
+
}), /* @__PURE__ */ r("span", { children: "Interaction" })]
|
|
71
71
|
}),
|
|
72
|
-
/* @__PURE__ */
|
|
72
|
+
/* @__PURE__ */ i("div", {
|
|
73
73
|
className: "flex min-w-0 gap-1",
|
|
74
|
-
children: [/* @__PURE__ */
|
|
74
|
+
children: [/* @__PURE__ */ r("span", {
|
|
75
75
|
className: "shrink-0 text-zinc-400 dark:text-zinc-500",
|
|
76
76
|
children: "Trigger"
|
|
77
|
-
}), /* @__PURE__ */
|
|
77
|
+
}), /* @__PURE__ */ r("span", {
|
|
78
78
|
className: "truncate",
|
|
79
79
|
children: s
|
|
80
80
|
})]
|
|
81
81
|
}),
|
|
82
|
-
f && /* @__PURE__ */
|
|
82
|
+
f && /* @__PURE__ */ i("div", {
|
|
83
83
|
className: "flex min-w-0 gap-1",
|
|
84
|
-
children: [/* @__PURE__ */
|
|
84
|
+
children: [/* @__PURE__ */ r("span", {
|
|
85
85
|
className: "shrink-0 text-zinc-400 dark:text-zinc-500",
|
|
86
86
|
children: "Fired on"
|
|
87
|
-
}), /* @__PURE__ */
|
|
87
|
+
}), /* @__PURE__ */ r("span", {
|
|
88
88
|
className: "truncate font-mono",
|
|
89
89
|
children: f
|
|
90
90
|
})]
|
|
91
91
|
}),
|
|
92
|
-
/* @__PURE__ */
|
|
92
|
+
/* @__PURE__ */ i("div", {
|
|
93
93
|
className: "flex min-w-0 gap-1",
|
|
94
|
-
children: [/* @__PURE__ */
|
|
94
|
+
children: [/* @__PURE__ */ r("span", {
|
|
95
95
|
className: "shrink-0 text-zinc-400 dark:text-zinc-500",
|
|
96
96
|
children: "Element"
|
|
97
|
-
}), /* @__PURE__ */
|
|
97
|
+
}), /* @__PURE__ */ i("span", {
|
|
98
98
|
className: "cursor-pointer truncate text-violet-600 hover:text-violet-500 dark:text-violet-400 dark:hover:text-violet-300",
|
|
99
99
|
onClick: v,
|
|
100
100
|
onMouseEnter: y,
|
|
101
101
|
onMouseLeave: b,
|
|
102
|
-
children: [m?.definition.label, d && /* @__PURE__ */
|
|
102
|
+
children: [m?.definition.label, d && /* @__PURE__ */ i("span", {
|
|
103
103
|
className: "ml-1 font-mono text-[10px] text-zinc-400 dark:text-zinc-500",
|
|
104
104
|
children: [
|
|
105
105
|
"[",
|
|
@@ -7,5 +7,5 @@ export type ExecutionTreeProps = {
|
|
|
7
7
|
nodes: Nodes;
|
|
8
8
|
onSelect?: (id?: string) => void;
|
|
9
9
|
};
|
|
10
|
-
declare const ExecutionTree: ({ className, nodeId, nodes, selected, onSelect }: ExecutionTreeProps) => import(
|
|
10
|
+
declare const ExecutionTree: ({ className, nodeId, nodes, selected, onSelect }: ExecutionTreeProps) => import('react').JSX.Element;
|
|
11
11
|
export default ExecutionTree;
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import e from "./ExecutionTreeNode.mjs";
|
|
2
2
|
import t from "clsx";
|
|
3
3
|
import { useCallback as n, useMemo as r } from "react";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { get as i } from "@plitzi/plitzi-ui/helpers";
|
|
5
|
+
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
6
6
|
import { getDurationMs as s } from "@plitzi/sdk-shared";
|
|
7
7
|
//#region src/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/ExecutionTree/ExecutionTree.tsx
|
|
8
8
|
var c = ({ className: c, nodeId: l, nodes: u, selected: d, onSelect: f }) => {
|
|
9
9
|
let p = r(() => {
|
|
10
|
-
let e =
|
|
10
|
+
let e = i(u, l), t = [];
|
|
11
11
|
for (; e;) {
|
|
12
|
-
let { node: n, startTime: r, endTime:
|
|
12
|
+
let { node: n, startTime: r, endTime: a } = e, o = `${s(r, a)}ms`, c = n.id === l ? 0 : 1;
|
|
13
13
|
t.push({
|
|
14
14
|
id: n.id,
|
|
15
15
|
action: n.action,
|
|
16
16
|
title: n.title,
|
|
17
17
|
status: e.status,
|
|
18
18
|
level: c,
|
|
19
|
-
duration:
|
|
20
|
-
}), e =
|
|
19
|
+
duration: o
|
|
20
|
+
}), e = i(u, n.afterNode);
|
|
21
21
|
}
|
|
22
22
|
return t;
|
|
23
23
|
}, [l, u]), m = n((e) => f?.(e), [f]);
|
|
24
|
-
return /* @__PURE__ */
|
|
24
|
+
return /* @__PURE__ */ o("div", {
|
|
25
25
|
className: t("flex flex-col gap-1.5", c),
|
|
26
|
-
children: [/* @__PURE__ */
|
|
26
|
+
children: [/* @__PURE__ */ o("div", {
|
|
27
27
|
className: "flex items-center gap-1.5 px-2 text-[10px] font-semibold tracking-wider text-zinc-400 uppercase dark:text-zinc-500",
|
|
28
|
-
children: [/* @__PURE__ */
|
|
29
|
-
}), /* @__PURE__ */
|
|
28
|
+
children: [/* @__PURE__ */ a("i", { className: "fa-solid fa-code-merge" }), "Execution Tree"]
|
|
29
|
+
}), /* @__PURE__ */ a("div", {
|
|
30
30
|
className: "flex flex-col",
|
|
31
|
-
children: p.map((t, n) => /* @__PURE__ */
|
|
31
|
+
children: p.map((t, n) => /* @__PURE__ */ a(e, {
|
|
32
32
|
id: t.id,
|
|
33
33
|
action: t.action,
|
|
34
34
|
title: t.title,
|
|
@@ -9,5 +9,5 @@ export type ExecutionTreeNodeProps = {
|
|
|
9
9
|
status?: InteractionNodeStatus;
|
|
10
10
|
onClick: (id: string) => void;
|
|
11
11
|
};
|
|
12
|
-
declare const ExecutionTreeNode: ({ title, action, duration, status, level, id, isSelected, onClick }: ExecutionTreeNodeProps) => import(
|
|
12
|
+
declare const ExecutionTreeNode: ({ title, action, duration, status, level, id, isSelected, onClick }: ExecutionTreeNodeProps) => import('react').JSX.Element;
|
|
13
13
|
export default ExecutionTreeNode;
|
|
@@ -10,5 +10,5 @@ export type InteractionNodeProps = {
|
|
|
10
10
|
type?: string;
|
|
11
11
|
action?: string;
|
|
12
12
|
};
|
|
13
|
-
declare const InteractionNode: ({ whenParams, name, startTime, endTime, status, when, type, action }: InteractionNodeProps) => import(
|
|
13
|
+
declare const InteractionNode: ({ whenParams, name, startTime, endTime, status, when, type, action }: InteractionNodeProps) => import('react').JSX.Element;
|
|
14
14
|
export default InteractionNode;
|
|
@@ -5,5 +5,5 @@ export type NodeHeaderProps = {
|
|
|
5
5
|
type?: string;
|
|
6
6
|
action?: string;
|
|
7
7
|
};
|
|
8
|
-
declare const NodeHeader: ({ duration, status, type, action }: NodeHeaderProps) => import(
|
|
8
|
+
declare const NodeHeader: ({ duration, status, type, action }: NodeHeaderProps) => import('react').JSX.Element;
|
|
9
9
|
export default NodeHeader;
|
|
@@ -4,5 +4,5 @@ export type NodeMetadataProps = {
|
|
|
4
4
|
when?: RuleGroup;
|
|
5
5
|
whenParams?: Record<string, RuleValue>;
|
|
6
6
|
};
|
|
7
|
-
declare const NodeMetadata: ({ when, whenParams }: NodeMetadataProps) => import(
|
|
7
|
+
declare const NodeMetadata: ({ when, whenParams }: NodeMetadataProps) => import('react').JSX.Element | null;
|
|
8
8
|
export default NodeMetadata;
|
|
@@ -2,5 +2,5 @@ import { RuleGroup } from '@plitzi/plitzi-ui/QueryBuilder';
|
|
|
2
2
|
export type NodeWhenProps = {
|
|
3
3
|
when?: RuleGroup;
|
|
4
4
|
};
|
|
5
|
-
declare const NodeWhen: ({ when }: NodeWhenProps) => import(
|
|
5
|
+
declare const NodeWhen: ({ when }: NodeWhenProps) => import('react').JSX.Element | null;
|
|
6
6
|
export default NodeWhen;
|
package/dist/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/LogInteraction.d.ts
CHANGED
|
@@ -11,5 +11,5 @@ export type LogInteractionProps = {
|
|
|
11
11
|
params: TLogInteraction['params'];
|
|
12
12
|
time?: string;
|
|
13
13
|
};
|
|
14
|
-
declare const LogInteraction: ({ time, message, params }: LogInteractionProps) => import(
|
|
14
|
+
declare const LogInteraction: ({ time, message, params }: LogInteractionProps) => import('react').JSX.Element;
|
|
15
15
|
export default LogInteraction;
|
package/dist/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/LogInteractionBody.d.ts
CHANGED
|
@@ -9,5 +9,5 @@ export type LogInteractionBodyProps = {
|
|
|
9
9
|
elementId?: string;
|
|
10
10
|
hostElementId?: string;
|
|
11
11
|
};
|
|
12
|
-
declare const LogInteractionBody: ({ node, nodes, startTime, endTime, duration, elementId, hostElementId }: LogInteractionBodyProps) => import(
|
|
12
|
+
declare const LogInteractionBody: ({ node, nodes, startTime, endTime, duration, elementId, hostElementId }: LogInteractionBodyProps) => import('react').JSX.Element;
|
|
13
13
|
export default LogInteractionBody;
|
package/dist/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/LogInteractionHeader.d.ts
CHANGED
|
@@ -6,5 +6,5 @@ export type LogInteractionHeaderProps = {
|
|
|
6
6
|
message?: ReactNode;
|
|
7
7
|
time?: string;
|
|
8
8
|
};
|
|
9
|
-
declare const LogInteractionHeader: ({ status, message, time }: LogInteractionHeaderProps) => import(
|
|
9
|
+
declare const LogInteractionHeader: ({ status, message, time }: LogInteractionHeaderProps) => import('react').JSX.Element;
|
|
10
10
|
export default LogInteractionHeader;
|
package/dist/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/LogInteractionNote.d.ts
CHANGED
|
@@ -13,5 +13,5 @@ export type LogInteractionNoteProps = {
|
|
|
13
13
|
* step itself and, usually, the one fact that explains it: what was thrown, or what names WERE registered where
|
|
14
14
|
* this one looked.
|
|
15
15
|
*/
|
|
16
|
-
declare const LogInteractionNote: ({ time, message, params }: LogInteractionNoteProps) => import(
|
|
16
|
+
declare const LogInteractionNote: ({ time, message, params }: LogInteractionNoteProps) => import('react').JSX.Element;
|
|
17
17
|
export default LogInteractionNote;
|
|
@@ -6,5 +6,5 @@ export type LogNavigationProps = {
|
|
|
6
6
|
params?: TLogNavigation['params'];
|
|
7
7
|
time?: string | Date;
|
|
8
8
|
};
|
|
9
|
-
declare const LogNavigation: ({ time, message, params }: LogNavigationProps) => import(
|
|
9
|
+
declare const LogNavigation: ({ time, message, params }: LogNavigationProps) => import('react').JSX.Element;
|
|
10
10
|
export default LogNavigation;
|
package/dist/components/DevToolsPanel/tabs/Logs/categories/LogNavigation/LogNavigationBody.d.ts
CHANGED
|
@@ -5,5 +5,5 @@ export type LogNavigationBodyProps = {
|
|
|
5
5
|
duration?: string;
|
|
6
6
|
elementId?: string;
|
|
7
7
|
};
|
|
8
|
-
declare const LogNavigationBody: ({ elementId, startTime, endTime, duration }: LogNavigationBodyProps) => import(
|
|
8
|
+
declare const LogNavigationBody: ({ elementId, startTime, endTime, duration }: LogNavigationBodyProps) => import('react').JSX.Element;
|
|
9
9
|
export default LogNavigationBody;
|
package/dist/components/DevToolsPanel/tabs/Logs/categories/LogNavigation/LogNavigationBody.mjs
CHANGED
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import { useMemo as e } from "react";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { get as t } from "@plitzi/plitzi-ui/helpers";
|
|
3
|
+
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
4
|
+
import { useCommonStore as i } from "@plitzi/sdk-shared/store";
|
|
5
5
|
import { formatDate as a } from "@plitzi/sdk-shared/helpers";
|
|
6
6
|
//#region src/components/DevToolsPanel/tabs/Logs/categories/LogNavigation/LogNavigationBody.tsx
|
|
7
7
|
var o = ({ elementId: o, startTime: s, endTime: c, duration: l }) => {
|
|
8
|
-
let [u] =
|
|
9
|
-
return /* @__PURE__ */
|
|
8
|
+
let [u] = i("schema.flat"), d = e(() => o ? t(u, o) : void 0, [o, u]);
|
|
9
|
+
return /* @__PURE__ */ r("div", {
|
|
10
10
|
className: "m-2 flex justify-around gap-4",
|
|
11
11
|
children: [
|
|
12
|
-
/* @__PURE__ */
|
|
12
|
+
/* @__PURE__ */ r("div", {
|
|
13
13
|
className: "flex min-w-0 grow basis-0 flex-col gap-2",
|
|
14
|
-
children: [/* @__PURE__ */
|
|
14
|
+
children: [/* @__PURE__ */ r("div", {
|
|
15
15
|
className: "flex items-center gap-1 font-bold",
|
|
16
|
-
children: [/* @__PURE__ */
|
|
17
|
-
}), /* @__PURE__ */
|
|
16
|
+
children: [/* @__PURE__ */ n("i", { className: "fa-regular fa-clock" }), "Times"]
|
|
17
|
+
}), /* @__PURE__ */ r("div", {
|
|
18
18
|
className: "flex flex-col",
|
|
19
19
|
children: [
|
|
20
|
-
/* @__PURE__ */
|
|
20
|
+
/* @__PURE__ */ r("div", {
|
|
21
21
|
className: "flex gap-1",
|
|
22
|
-
children: [/* @__PURE__ */
|
|
22
|
+
children: [/* @__PURE__ */ n("span", { children: "Started:" }), typeof s == "string" ? s : a(s)]
|
|
23
23
|
}),
|
|
24
|
-
/* @__PURE__ */
|
|
24
|
+
/* @__PURE__ */ r("div", {
|
|
25
25
|
className: "flex gap-1",
|
|
26
|
-
children: [/* @__PURE__ */
|
|
26
|
+
children: [/* @__PURE__ */ n("span", { children: "End:" }), typeof c == "string" ? c : a(c)]
|
|
27
27
|
}),
|
|
28
|
-
/* @__PURE__ */
|
|
28
|
+
/* @__PURE__ */ r("div", {
|
|
29
29
|
className: "flex gap-1",
|
|
30
|
-
children: [/* @__PURE__ */
|
|
30
|
+
children: [/* @__PURE__ */ n("span", { children: "Duration:" }), l]
|
|
31
31
|
})
|
|
32
32
|
]
|
|
33
33
|
})]
|
|
34
34
|
}),
|
|
35
|
-
/* @__PURE__ */
|
|
36
|
-
/* @__PURE__ */
|
|
35
|
+
/* @__PURE__ */ n("div", { className: "border-r border-gray-300" }),
|
|
36
|
+
/* @__PURE__ */ r("div", {
|
|
37
37
|
className: "flex min-w-0 grow basis-0 flex-col gap-2",
|
|
38
|
-
children: [/* @__PURE__ */
|
|
38
|
+
children: [/* @__PURE__ */ r("div", {
|
|
39
39
|
className: "flex items-center gap-1",
|
|
40
|
-
children: [/* @__PURE__ */
|
|
41
|
-
}), /* @__PURE__ */
|
|
40
|
+
children: [/* @__PURE__ */ n("i", { className: "fa-solid fa-circle-info" }), "Details"]
|
|
41
|
+
}), /* @__PURE__ */ r("div", {
|
|
42
42
|
className: "flex flex-col",
|
|
43
43
|
children: [
|
|
44
|
-
/* @__PURE__ */
|
|
44
|
+
/* @__PURE__ */ r("div", {
|
|
45
45
|
className: "flex gap-1",
|
|
46
|
-
children: [/* @__PURE__ */
|
|
46
|
+
children: [/* @__PURE__ */ n("span", { children: "Type:" }), /* @__PURE__ */ n("span", { children: "Navigation" })]
|
|
47
47
|
}),
|
|
48
|
-
/* @__PURE__ */
|
|
48
|
+
/* @__PURE__ */ r("div", {
|
|
49
49
|
className: "flex gap-1",
|
|
50
|
-
children: [/* @__PURE__ */
|
|
50
|
+
children: [/* @__PURE__ */ n("span", { children: "Trigger:" }), /* @__PURE__ */ n("span", {
|
|
51
51
|
className: "truncate",
|
|
52
52
|
children: "-"
|
|
53
53
|
})]
|
|
54
54
|
}),
|
|
55
|
-
d && /* @__PURE__ */
|
|
55
|
+
d && /* @__PURE__ */ r("div", {
|
|
56
56
|
className: "flex gap-1",
|
|
57
|
-
children: [/* @__PURE__ */
|
|
57
|
+
children: [/* @__PURE__ */ n("span", { children: "Element:" }), /* @__PURE__ */ r("span", {
|
|
58
58
|
className: "cursor-pointer truncate text-blue-500",
|
|
59
59
|
children: [
|
|
60
60
|
d.definition.label,
|
package/dist/components/DevToolsPanel/tabs/Logs/categories/LogNavigation/LogNavigationHeader.d.ts
CHANGED
|
@@ -6,5 +6,5 @@ export type LogNavigationHeaderProps = {
|
|
|
6
6
|
message?: ReactNode;
|
|
7
7
|
time?: string | Date;
|
|
8
8
|
};
|
|
9
|
-
declare const LogNavigationHeader: ({ status, message, time }: LogNavigationHeaderProps) => import(
|
|
9
|
+
declare const LogNavigationHeader: ({ status, message, time }: LogNavigationHeaderProps) => import('react').JSX.Element;
|
|
10
10
|
export default LogNavigationHeader;
|
|
@@ -6,5 +6,5 @@ export type LogNetworkProps = {
|
|
|
6
6
|
params: TLogNetwork['params'];
|
|
7
7
|
time?: string;
|
|
8
8
|
};
|
|
9
|
-
declare const LogNetwork: ({ time, message, params: { event, issues, payload } }: LogNetworkProps) => import(
|
|
9
|
+
declare const LogNetwork: ({ time, message, params: { event, issues, payload } }: LogNetworkProps) => import('react').JSX.Element;
|
|
10
10
|
export default LogNetwork;
|
|
@@ -5,5 +5,5 @@ export type LogStoreProps = {
|
|
|
5
5
|
params?: TLogStore['params'];
|
|
6
6
|
time?: string | Date;
|
|
7
7
|
};
|
|
8
|
-
declare const LogStore: ({ time, message, params }: LogStoreProps) => import(
|
|
8
|
+
declare const LogStore: ({ time, message, params }: LogStoreProps) => import('react').JSX.Element;
|
|
9
9
|
export default LogStore;
|
|
@@ -22,5 +22,5 @@ export type LogStoreBodyProps = {
|
|
|
22
22
|
next?: unknown;
|
|
23
23
|
contextLines?: number;
|
|
24
24
|
};
|
|
25
|
-
declare const LogStoreBody: ({ path, prev, next, contextLines }: LogStoreBodyProps) => import(
|
|
25
|
+
declare const LogStoreBody: ({ path, prev, next, contextLines }: LogStoreBodyProps) => import('react').JSX.Element;
|
|
26
26
|
export default LogStoreBody;
|
|
@@ -5,5 +5,5 @@ export type LogStoreHeaderProps = {
|
|
|
5
5
|
message?: ReactNode;
|
|
6
6
|
time?: string | Date;
|
|
7
7
|
};
|
|
8
|
-
declare const LogStoreHeader: ({ storeName, path, message, time }: LogStoreHeaderProps) => import(
|
|
8
|
+
declare const LogStoreHeader: ({ storeName, path, message, time }: LogStoreHeaderProps) => import('react').JSX.Element;
|
|
9
9
|
export default LogStoreHeader;
|
|
@@ -11,5 +11,5 @@ export type PluginEntry = {
|
|
|
11
11
|
export type PluginDetailsProps = {
|
|
12
12
|
entry: PluginEntry;
|
|
13
13
|
};
|
|
14
|
-
declare const PluginDetails: ({ entry }: PluginDetailsProps) => import(
|
|
14
|
+
declare const PluginDetails: ({ entry }: PluginDetailsProps) => import('react').JSX.Element;
|
|
15
15
|
export default PluginDetails;
|
|
@@ -2,5 +2,5 @@ export type PluginsViewerProps = {
|
|
|
2
2
|
className?: string;
|
|
3
3
|
};
|
|
4
4
|
/** Plugins from both registers: installed bundles (PluginsContext) and space-shipped ones (component registry). */
|
|
5
|
-
declare const PluginsViewer: ({ className }: PluginsViewerProps) => import(
|
|
5
|
+
declare const PluginsViewer: ({ className }: PluginsViewerProps) => import('react').JSX.Element;
|
|
6
6
|
export default PluginsViewer;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type StoreViewerProps = {
|
|
2
2
|
elementSelected?: string;
|
|
3
3
|
};
|
|
4
|
-
declare const StoreViewer: ({ elementSelected }: StoreViewerProps) => import(
|
|
4
|
+
declare const StoreViewer: ({ elementSelected }: StoreViewerProps) => import('react').JSX.Element;
|
|
5
5
|
export default StoreViewer;
|
package/dist/components/DevToolsPanel/tabs/StoreViewer/components/FreshnessMark/FreshnessMark.d.ts
CHANGED
|
@@ -12,5 +12,5 @@ export type FreshnessMarkProps = {
|
|
|
12
12
|
* every path unless somebody asked for one. The rest of what there is to say about it is the Cache tab's job, so
|
|
13
13
|
* nothing here hides behind a tooltip.
|
|
14
14
|
*/
|
|
15
|
-
declare const FreshnessMark: ({ record: { expiresAt }, now }: FreshnessMarkProps) => import(
|
|
15
|
+
declare const FreshnessMark: ({ record: { expiresAt }, now }: FreshnessMarkProps) => import('react').JSX.Element;
|
|
16
16
|
export default FreshnessMark;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const TracingViewer: () => import(
|
|
1
|
+
declare const TracingViewer: () => import('react').JSX.Element;
|
|
2
2
|
export default TracingViewer;
|
package/dist/components/DevToolsPanel/tabs/TracingViewer/components/CommitCause/CommitCause.d.ts
CHANGED
|
@@ -6,5 +6,5 @@ export type CommitCauseProps = {
|
|
|
6
6
|
active: FlameNode | undefined;
|
|
7
7
|
onSelectElement: (id: string | undefined) => void;
|
|
8
8
|
};
|
|
9
|
-
declare const CommitCause: ({ commit, model, active, onSelectElement }: CommitCauseProps) => import(
|
|
9
|
+
declare const CommitCause: ({ commit, model, active, onSelectElement }: CommitCauseProps) => import('react').JSX.Element | null;
|
|
10
10
|
export default CommitCause;
|
package/dist/components/DevToolsPanel/tabs/TracingViewer/components/CommitStrip/CommitStrip.d.ts
CHANGED
|
@@ -5,5 +5,5 @@ export type CommitStripProps = {
|
|
|
5
5
|
hydrated: boolean;
|
|
6
6
|
onSelect: (commitId: number) => void;
|
|
7
7
|
};
|
|
8
|
-
declare const CommitStrip: ({ commits, selectedIndex, hydrated, onSelect }: CommitStripProps) => import(
|
|
8
|
+
declare const CommitStrip: ({ commits, selectedIndex, hydrated, onSelect }: CommitStripProps) => import('react').JSX.Element;
|
|
9
9
|
export default CommitStrip;
|
package/dist/components/DevToolsPanel/tabs/TracingViewer/components/DetailSidebar/DetailSidebar.d.ts
CHANGED
|
@@ -5,5 +5,5 @@ export type DetailSidebarProps = {
|
|
|
5
5
|
commit: CommitEntry;
|
|
6
6
|
model: FlameModel;
|
|
7
7
|
};
|
|
8
|
-
declare const DetailSidebar: ({ node, commit, model }: DetailSidebarProps) => import(
|
|
8
|
+
declare const DetailSidebar: ({ node, commit, model }: DetailSidebarProps) => import('react').JSX.Element;
|
|
9
9
|
export default DetailSidebar;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const DurationLegend: () => import(
|
|
1
|
+
declare const DurationLegend: () => import('react').JSX.Element;
|
|
2
2
|
export default DurationLegend;
|
package/dist/components/DevToolsPanel/tabs/TracingViewer/components/Flamegraph/FlameFrame.d.ts
CHANGED
|
@@ -8,5 +8,5 @@ export type FlameFrameProps = {
|
|
|
8
8
|
selected: boolean;
|
|
9
9
|
onClick: (node: FlameNode) => void;
|
|
10
10
|
};
|
|
11
|
-
declare const FlameFrame: ({ node, left, width, top, selected, onClick }: FlameFrameProps) => import(
|
|
11
|
+
declare const FlameFrame: ({ node, left, width, top, selected, onClick }: FlameFrameProps) => import('react').JSX.Element;
|
|
12
12
|
export default FlameFrame;
|
package/dist/components/DevToolsPanel/tabs/TracingViewer/components/Flamegraph/Flamegraph.d.ts
CHANGED
|
@@ -9,5 +9,5 @@ export type FlamegraphProps = {
|
|
|
9
9
|
onSelectElement: (id: string | undefined) => void;
|
|
10
10
|
onToggleSidebar: () => void;
|
|
11
11
|
};
|
|
12
|
-
declare const Flamegraph: ({ commit, model, active, origin, sidebarOpen, onSelectElement, onToggleSidebar }: FlamegraphProps) => import(
|
|
12
|
+
declare const Flamegraph: ({ commit, model, active, origin, sidebarOpen, onSelectElement, onToggleSidebar }: FlamegraphProps) => import('react').JSX.Element;
|
|
13
13
|
export default Flamegraph;
|