@assistant-ui/react-devtools 1.2.19 → 1.2.21
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/DevToolsModal.d.ts +10 -13
- package/dist/DevToolsModal.d.ts.map +1 -1
- package/dist/DevToolsModalImpl.d.ts +3 -5
- package/dist/DevToolsModalImpl.d.ts.map +1 -1
- package/dist/data/createInProcessClient.d.ts +3 -6
- package/dist/data/createInProcessClient.d.ts.map +1 -1
- package/dist/data/projectApi.d.ts +6 -8
- package/dist/data/projectApi.d.ts.map +1 -1
- package/dist/data/projectApi.js +2 -2
- package/dist/data/projectApi.js.map +1 -1
- package/dist/data/types.d.ts +33 -35
- package/dist/data/types.d.ts.map +1 -1
- package/dist/data/useDevToolsClient.d.ts +7 -10
- package/dist/data/useDevToolsClient.d.ts.map +1 -1
- package/dist/index.d.ts +10 -10
- package/dist/index.d.ts.map +1 -0
- package/dist/shell/DevToolsOverlay.d.ts +7 -10
- package/dist/shell/DevToolsOverlay.d.ts.map +1 -1
- package/dist/shell/DevToolsPanel.d.ts +12 -15
- package/dist/shell/DevToolsPanel.d.ts.map +1 -1
- package/dist/shell/ShadowRoot.d.ts +7 -10
- package/dist/shell/ShadowRoot.d.ts.map +1 -1
- package/dist/shell/SplitLayout.d.ts +13 -16
- package/dist/shell/SplitLayout.d.ts.map +1 -1
- package/dist/shell/registry.d.ts +34 -37
- package/dist/shell/registry.d.ts.map +1 -1
- package/dist/shell/tabs/ActivityTab.d.ts +2 -5
- package/dist/shell/tabs/ActivityTab.d.ts.map +1 -1
- package/dist/shell/tabs/ContextTab.d.ts +2 -5
- package/dist/shell/tabs/ContextTab.d.ts.map +1 -1
- package/dist/shell/tabs/RawTab.d.ts +2 -5
- package/dist/shell/tabs/RawTab.d.ts.map +1 -1
- package/dist/shell/tabs/ThreadTab.d.ts +2 -5
- package/dist/shell/tabs/ThreadTab.d.ts.map +1 -1
- package/dist/shell/tabs/navSelection.d.ts +1 -4
- package/dist/shell/tabs/navSelection.d.ts.map +1 -1
- package/dist/styles/panel.generated.d.ts +1 -4
- package/dist/styles/panel.generated.d.ts.map +1 -1
- package/dist/types.d.ts +6 -9
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/common.d.ts +13 -16
- package/dist/utils/common.d.ts.map +1 -1
- package/dist/utils/diff.d.ts +6 -9
- package/dist/utils/diff.d.ts.map +1 -1
- package/dist/utils/serialization.d.ts +7 -10
- package/dist/utils/serialization.d.ts.map +1 -1
- package/dist/utils/serialization.js +17 -0
- package/dist/utils/serialization.js.map +1 -1
- package/dist/utils/toolNormalization.d.ts +14 -17
- package/dist/utils/toolNormalization.d.ts.map +1 -1
- package/dist/utils/unserializable.d.ts +2 -5
- package/dist/utils/unserializable.d.ts.map +1 -1
- package/dist/views/activity/EventLogRow.d.ts +12 -15
- package/dist/views/activity/EventLogRow.d.ts.map +1 -1
- package/dist/views/activity/EventStreamPane.d.ts +3 -6
- package/dist/views/activity/EventStreamPane.d.ts.map +1 -1
- package/dist/views/activity/OrphansPane.d.ts +3 -6
- package/dist/views/activity/OrphansPane.d.ts.map +1 -1
- package/dist/views/activity/RunDetailPane.d.ts +3 -6
- package/dist/views/activity/RunDetailPane.d.ts.map +1 -1
- package/dist/views/activity/activityNodes.d.ts +29 -32
- package/dist/views/activity/activityNodes.d.ts.map +1 -1
- package/dist/views/activity/index.d.ts +7 -6
- package/dist/views/activity/index.d.ts.map +1 -0
- package/dist/views/attachments/AttachmentList.d.ts +5 -8
- package/dist/views/attachments/AttachmentList.d.ts.map +1 -1
- package/dist/views/attachments/MediaPartView.d.ts +10 -13
- package/dist/views/attachments/MediaPartView.d.ts.map +1 -1
- package/dist/views/attachments/formatBytes.d.ts +3 -6
- package/dist/views/attachments/formatBytes.d.ts.map +1 -1
- package/dist/views/attachments/index.d.ts +5 -5
- package/dist/views/attachments/index.d.ts.map +1 -0
- package/dist/views/attachments/parseAttachment.d.ts +3 -6
- package/dist/views/attachments/parseAttachment.d.ts.map +1 -1
- package/dist/views/attachments/types.d.ts +12 -15
- package/dist/views/attachments/types.d.ts.map +1 -1
- package/dist/views/context/ContextDetail.d.ts +5 -8
- package/dist/views/context/ContextDetail.d.ts.map +1 -1
- package/dist/views/context/ToolUIsView.d.ts +2 -5
- package/dist/views/context/ToolUIsView.d.ts.map +1 -1
- package/dist/views/context/contextNodes.d.ts +21 -24
- package/dist/views/context/contextNodes.d.ts.map +1 -1
- package/dist/views/context/index.d.ts +5 -4
- package/dist/views/context/index.d.ts.map +1 -0
- package/dist/views/mcp/McpView.d.ts +3 -6
- package/dist/views/mcp/McpView.d.ts.map +1 -1
- package/dist/views/mcp/index.d.ts +2 -2
- package/dist/views/mcp/index.d.ts.map +1 -0
- package/dist/views/mcp/parse.d.ts +2 -5
- package/dist/views/mcp/parse.d.ts.map +1 -1
- package/dist/views/mcp/types.d.ts +15 -18
- package/dist/views/mcp/types.d.ts.map +1 -1
- package/dist/views/message/ChainOfThought.d.ts +3 -6
- package/dist/views/message/ChainOfThought.d.ts.map +1 -1
- package/dist/views/message/MessageDetailPane.d.ts +4 -7
- package/dist/views/message/MessageDetailPane.d.ts.map +1 -1
- package/dist/views/message/MessageItem.d.ts +5 -8
- package/dist/views/message/MessageItem.d.ts.map +1 -1
- package/dist/views/message/MessageList.d.ts +4 -7
- package/dist/views/message/MessageList.d.ts.map +1 -1
- package/dist/views/message/MessageMetrics.d.ts +3 -6
- package/dist/views/message/MessageMetrics.d.ts.map +1 -1
- package/dist/views/message/MessageTimeline.d.ts +7 -10
- package/dist/views/message/MessageTimeline.d.ts.map +1 -1
- package/dist/views/message/PartDisclosure.d.ts +6 -9
- package/dist/views/message/PartDisclosure.d.ts.map +1 -1
- package/dist/views/message/PartView.d.ts +4 -7
- package/dist/views/message/PartView.d.ts.map +1 -1
- package/dist/views/message/RoleLabel.d.ts +3 -6
- package/dist/views/message/RoleLabel.d.ts.map +1 -1
- package/dist/views/message/StatusBadge.d.ts +7 -10
- package/dist/views/message/StatusBadge.d.ts.map +1 -1
- package/dist/views/message/ToolCallView.d.ts +4 -7
- package/dist/views/message/ToolCallView.d.ts.map +1 -1
- package/dist/views/message/TtftBar.d.ts +3 -6
- package/dist/views/message/TtftBar.d.ts.map +1 -1
- package/dist/views/message/index.d.ts +6 -6
- package/dist/views/message/index.d.ts.map +1 -0
- package/dist/views/message/messagePlainText.d.ts +2 -5
- package/dist/views/message/messagePlainText.d.ts.map +1 -1
- package/dist/views/message/parse.d.ts +5 -8
- package/dist/views/message/parse.d.ts.map +1 -1
- package/dist/views/message/types.d.ts +108 -110
- package/dist/views/message/types.d.ts.map +1 -1
- package/dist/views/model-context/ModelContextView.d.ts +9 -12
- package/dist/views/model-context/ModelContextView.d.ts.map +1 -1
- package/dist/views/nav.d.ts +10 -13
- package/dist/views/nav.d.ts.map +1 -1
- package/dist/views/raw/RawDetail.d.ts +5 -8
- package/dist/views/raw/RawDetail.d.ts.map +1 -1
- package/dist/views/raw/index.d.ts +4 -3
- package/dist/views/raw/index.d.ts.map +1 -0
- package/dist/views/raw/rawNodes.d.ts +13 -16
- package/dist/views/raw/rawNodes.d.ts.map +1 -1
- package/dist/views/raw/statePreview.d.ts +1 -4
- package/dist/views/raw/statePreview.d.ts.map +1 -1
- package/dist/views/runs/PayloadDiff.d.ts +3 -6
- package/dist/views/runs/PayloadDiff.d.ts.map +1 -1
- package/dist/views/runs/parse.d.ts +3 -6
- package/dist/views/runs/parse.d.ts.map +1 -1
- package/dist/views/runs/types.d.ts +18 -21
- package/dist/views/runs/types.d.ts.map +1 -1
- package/dist/views/scopes/ScopesView.d.ts +2 -5
- package/dist/views/scopes/ScopesView.d.ts.map +1 -1
- package/dist/views/scopes/index.d.ts +2 -2
- package/dist/views/scopes/index.d.ts.map +1 -0
- package/dist/views/scopes/parse.d.ts +2 -5
- package/dist/views/scopes/parse.d.ts.map +1 -1
- package/dist/views/scopes/types.d.ts +5 -8
- package/dist/views/scopes/types.d.ts.map +1 -1
- package/dist/views/thread/ComposerAttachments.d.ts +3 -6
- package/dist/views/thread/ComposerAttachments.d.ts.map +1 -1
- package/dist/views/thread/ComposerFlags.d.ts +3 -6
- package/dist/views/thread/ComposerFlags.d.ts.map +1 -1
- package/dist/views/thread/ComposerQueue.d.ts +3 -6
- package/dist/views/thread/ComposerQueue.d.ts.map +1 -1
- package/dist/views/thread/ConversationList.d.ts +7 -10
- package/dist/views/thread/ConversationList.d.ts.map +1 -1
- package/dist/views/thread/ConversationStatusDot.d.ts +12 -15
- package/dist/views/thread/ConversationStatusDot.d.ts.map +1 -1
- package/dist/views/thread/ThreadDetails.d.ts +4 -7
- package/dist/views/thread/ThreadDetails.d.ts.map +1 -1
- package/dist/views/thread/Transcript.d.ts +8 -11
- package/dist/views/thread/Transcript.d.ts.map +1 -1
- package/dist/views/thread/index.d.ts +10 -10
- package/dist/views/thread/index.d.ts.map +1 -0
- package/dist/views/thread/resolve.d.ts +3 -6
- package/dist/views/thread/resolve.d.ts.map +1 -1
- package/dist/views/thread/types.d.ts +40 -42
- package/dist/views/thread/types.d.ts.map +1 -1
- package/dist/views/thread/utils.d.ts +5 -8
- package/dist/views/thread/utils.d.ts.map +1 -1
- package/dist/views/ui/CenteredMessage.d.ts +3 -6
- package/dist/views/ui/CenteredMessage.d.ts.map +1 -1
- package/dist/views/ui/Chip.d.ts +4 -7
- package/dist/views/ui/Chip.d.ts.map +1 -1
- package/dist/views/ui/ControlButton.d.ts +2 -5
- package/dist/views/ui/ControlButton.d.ts.map +1 -1
- package/dist/views/ui/CopyButton.d.ts +7 -10
- package/dist/views/ui/CopyButton.d.ts.map +1 -1
- package/dist/views/ui/EmptyState.d.ts +3 -6
- package/dist/views/ui/EmptyState.d.ts.map +1 -1
- package/dist/views/ui/InfoCard.d.ts +6 -9
- package/dist/views/ui/InfoCard.d.ts.map +1 -1
- package/dist/views/ui/JSONTree.d.ts +4 -7
- package/dist/views/ui/JSONTree.d.ts.map +1 -1
- package/dist/views/ui/PaneHeader.d.ts +8 -11
- package/dist/views/ui/PaneHeader.d.ts.map +1 -1
- package/dist/views/ui/RailTime.d.ts +3 -6
- package/dist/views/ui/RailTime.d.ts.map +1 -1
- package/dist/views/ui/SectionLabel.d.ts +3 -6
- package/dist/views/ui/SectionLabel.d.ts.map +1 -1
- package/dist/views/ui/SelectableRow.d.ts +8 -11
- package/dist/views/ui/SelectableRow.d.ts.map +1 -1
- package/dist/views/ui/Sparkline.d.ts +3 -6
- package/dist/views/ui/Sparkline.d.ts.map +1 -1
- package/dist/views/ui/SummaryItem.d.ts +6 -9
- package/dist/views/ui/SummaryItem.d.ts.map +1 -1
- package/dist/views/ui/ToneBadge.d.ts +7 -10
- package/dist/views/ui/ToneBadge.d.ts.map +1 -1
- package/dist/views/ui/badgeTone.d.ts +13 -16
- package/dist/views/ui/badgeTone.d.ts.map +1 -1
- package/dist/views/ui/getInlineJson.d.ts +1 -4
- package/dist/views/ui/getInlineJson.d.ts.map +1 -1
- package/dist/views/ui/index.d.ts +17 -16
- package/dist/views/ui/index.d.ts.map +1 -0
- package/dist/views/ui/useCopyToClipboard.d.ts +4 -7
- package/dist/views/ui/useCopyToClipboard.d.ts.map +1 -1
- package/package.json +14 -13
- package/src/data/projectApi.test.ts +41 -0
- package/src/data/projectApi.ts +2 -2
- package/src/utils/serialization.test.ts +81 -0
- package/src/utils/serialization.ts +36 -0
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import { EventLogEntry } from "../../data/types.js";
|
|
2
|
-
import { RunGrouping } from "./types.js";
|
|
3
|
-
|
|
4
|
-
declare const groupRuns: (logs: readonly EventLogEntry[]) => RunGrouping;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { groupRuns };
|
|
1
|
+
import type { EventLogEntry } from "../../data/types.js";
|
|
2
|
+
import type { RunGrouping } from "./types.js";
|
|
3
|
+
export declare const groupRuns: (logs: readonly EventLogEntry[]) => RunGrouping;
|
|
7
4
|
//# sourceMappingURL=parse.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parse.d.ts","
|
|
1
|
+
{"version":3,"file":"parse.d.ts","sourceRoot":"","sources":["../../../src/views/runs/parse.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,4BAAyB;AACtD,OAAO,KAAK,EAAiB,WAAW,EAAc,mBAAgB;AA6BtE,eAAO,MAAM,SAAS,GAAI,MAAM,SAAS,aAAa,EAAE,KAAG,WA8E1D,CAAC"}
|
|
@@ -1,25 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
readonly data: unknown;
|
|
1
|
+
export interface RunEventEntry {
|
|
2
|
+
readonly time: Date;
|
|
3
|
+
readonly event: string;
|
|
4
|
+
readonly scope: string;
|
|
5
|
+
readonly offsetMs: number;
|
|
6
|
+
readonly data: unknown;
|
|
8
7
|
}
|
|
9
|
-
interface RunPreview {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
8
|
+
export interface RunPreview {
|
|
9
|
+
readonly id: string;
|
|
10
|
+
readonly threadId?: string;
|
|
11
|
+
readonly index: number;
|
|
12
|
+
readonly startTime: Date;
|
|
13
|
+
readonly endTime?: Date;
|
|
14
|
+
readonly durationMs?: number;
|
|
15
|
+
readonly spanMs: number;
|
|
16
|
+
readonly events: readonly RunEventEntry[];
|
|
18
17
|
}
|
|
19
|
-
interface RunGrouping {
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
export interface RunGrouping {
|
|
19
|
+
readonly runs: readonly RunPreview[];
|
|
20
|
+
readonly orphans: readonly RunEventEntry[];
|
|
22
21
|
}
|
|
23
|
-
//#endregion
|
|
24
|
-
export { RunEventEntry, RunGrouping, RunPreview };
|
|
25
22
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/views/runs/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC;IACpB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,SAAS,EAAE,IAAI,CAAC;IACzB,QAAQ,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC;IACxB,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,MAAM,EAAE,SAAS,aAAa,EAAE,CAAC;CAC3C;AAED,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,IAAI,EAAE,SAAS,UAAU,EAAE,CAAC;IACrC,QAAQ,CAAC,OAAO,EAAE,SAAS,aAAa,EAAE,CAAC;CAC5C"}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
scopes?: unknown;
|
|
1
|
+
export declare const ScopesView: ({ scopes }: {
|
|
2
|
+
scopes?: unknown;
|
|
4
3
|
}) => import("react").JSX.Element;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { ScopesView };
|
|
7
4
|
//# sourceMappingURL=ScopesView.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScopesView.d.ts","
|
|
1
|
+
{"version":3,"file":"ScopesView.d.ts","sourceRoot":"","sources":["../../../src/views/scopes/ScopesView.tsx"],"names":[],"mappings":"AAkEA,eAAO,MAAM,UAAU,GAAI,YAAY;IAAE,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,gCAsC1D,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export { ScopesView } from "./ScopesView.js";
|
|
2
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/views/scopes/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,wBAAqB"}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { ScopePreview } from "./types.js";
|
|
2
|
-
|
|
3
|
-
declare const parseScopes: (value: unknown) => ScopePreview[];
|
|
4
|
-
//#endregion
|
|
5
|
-
export { parseScopes };
|
|
1
|
+
import type { ScopePreview } from "./types.js";
|
|
2
|
+
export declare const parseScopes: (value: unknown) => ScopePreview[];
|
|
6
3
|
//# sourceMappingURL=parse.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parse.d.ts","
|
|
1
|
+
{"version":3,"file":"parse.d.ts","sourceRoot":"","sources":["../../../src/views/scopes/parse.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,mBAAgB;AAe5C,eAAO,MAAM,WAAW,GAAI,OAAO,OAAO,KAAG,YAAY,EAaxD,CAAC"}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
readonly methods: readonly string[];
|
|
1
|
+
export interface ScopePreview {
|
|
2
|
+
readonly name: string;
|
|
3
|
+
readonly source: string | null;
|
|
4
|
+
readonly query: unknown;
|
|
5
|
+
readonly methods: readonly string[];
|
|
7
6
|
}
|
|
8
|
-
//#endregion
|
|
9
|
-
export { ScopePreview };
|
|
10
7
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/views/scopes/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,CAAC;CACrC"}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import { AttachmentPreview } from "../attachments/types.js";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
attachments: readonly AttachmentPreview[];
|
|
1
|
+
import type { AttachmentPreview } from "../attachments/types.js";
|
|
2
|
+
export declare const ComposerAttachments: ({ attachments, }: {
|
|
3
|
+
attachments: readonly AttachmentPreview[];
|
|
5
4
|
}) => import("react").JSX.Element;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { ComposerAttachments };
|
|
8
5
|
//# sourceMappingURL=ComposerAttachments.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComposerAttachments.d.ts","
|
|
1
|
+
{"version":3,"file":"ComposerAttachments.d.ts","sourceRoot":"","sources":["../../../src/views/thread/ComposerAttachments.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,gCAA6B;AAG9D,eAAO,MAAM,mBAAmB,GAAI,kBAEjC;IACD,WAAW,EAAE,SAAS,iBAAiB,EAAE,CAAC;CAC3C,gCAA8E,CAAC"}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import { ComposerPreview } from "./types.js";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
composer: ComposerPreview;
|
|
1
|
+
import type { ComposerPreview } from "./types.js";
|
|
2
|
+
export declare const ComposerFlags: ({ composer }: {
|
|
3
|
+
composer: ComposerPreview;
|
|
5
4
|
}) => import("react").JSX.Element;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { ComposerFlags };
|
|
8
5
|
//# sourceMappingURL=ComposerFlags.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComposerFlags.d.ts","
|
|
1
|
+
{"version":3,"file":"ComposerFlags.d.ts","sourceRoot":"","sources":["../../../src/views/thread/ComposerFlags.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,mBAAgB;AAE/C,eAAO,MAAM,aAAa,GAAI,cAAc;IAAE,QAAQ,EAAE,eAAe,CAAA;CAAE,gCAexE,CAAC"}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import { ComposerQueueItem } from "./types.js";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
queue: readonly ComposerQueueItem[];
|
|
1
|
+
import type { ComposerQueueItem } from "./types.js";
|
|
2
|
+
export declare const ComposerQueue: ({ queue, }: {
|
|
3
|
+
queue: readonly ComposerQueueItem[];
|
|
5
4
|
}) => import("react").JSX.Element | null;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { ComposerQueue };
|
|
8
5
|
//# sourceMappingURL=ComposerQueue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComposerQueue.d.ts","
|
|
1
|
+
{"version":3,"file":"ComposerQueue.d.ts","sourceRoot":"","sources":["../../../src/views/thread/ComposerQueue.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,mBAAgB;AAEjD,eAAO,MAAM,aAAa,GAAI,YAE3B;IACD,KAAK,EAAE,SAAS,iBAAiB,EAAE,CAAC;CACrC,uCAkBA,CAAC"}
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { ThreadListPreview } from "./types.js";
|
|
2
|
-
|
|
3
|
-
declare const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
onSelect: (threadId: string) => void;
|
|
1
|
+
import type { ThreadListPreview } from "./types.js";
|
|
2
|
+
export declare const conversationListHeader: (threadList: ThreadListPreview) => import("react").JSX.Element;
|
|
3
|
+
export declare const ConversationList: ({ threadList, snapshots, selectedId, onSelect, }: {
|
|
4
|
+
threadList: ThreadListPreview;
|
|
5
|
+
snapshots: Readonly<Record<string, unknown>> | undefined;
|
|
6
|
+
selectedId: string;
|
|
7
|
+
onSelect: (threadId: string) => void;
|
|
9
8
|
}) => import("react").JSX.Element;
|
|
10
|
-
//#endregion
|
|
11
|
-
export { ConversationList, conversationListHeader };
|
|
12
9
|
//# sourceMappingURL=ConversationList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConversationList.d.ts","
|
|
1
|
+
{"version":3,"file":"ConversationList.d.ts","sourceRoot":"","sources":["../../../src/views/thread/ConversationList.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAyB,iBAAiB,EAAE,mBAAgB;AAcxE,eAAO,MAAM,sBAAsB,GAAI,YAAY,iBAAiB,gCAUnE,CAAC;AAwCF,eAAO,MAAM,gBAAgB,GAAI,kDAK9B;IACD,UAAU,EAAE,iBAAiB,CAAC;IAC9B,SAAS,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GAAG,SAAS,CAAC;IACzD,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;CACtC,gCAiDA,CAAC"}
|
|
@@ -1,18 +1,15 @@
|
|
|
1
|
-
import { ThreadListItemPreview, ThreadPreview } from "./types.js";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
snapshots: Readonly<Record<string, unknown>> | undefined;
|
|
1
|
+
import type { ThreadListItemPreview, ThreadPreview } from "./types.js";
|
|
2
|
+
export type ConversationDotState = "unloaded" | "loading" | "loaded" | "running" | "active" | "active-running" | "error" | "new";
|
|
3
|
+
export declare const resolveConversationDotState: ({ item, mainThreadId, main, snapshots, }: {
|
|
4
|
+
item: ThreadListItemPreview;
|
|
5
|
+
mainThreadId: string | undefined;
|
|
6
|
+
main: ThreadPreview | undefined;
|
|
7
|
+
snapshots: Readonly<Record<string, unknown>> | undefined;
|
|
9
8
|
}) => ConversationDotState;
|
|
10
|
-
declare const ConversationStatusDot: ({ item, mainThreadId, main, snapshots }: {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
export declare const ConversationStatusDot: ({ item, mainThreadId, main, snapshots, }: {
|
|
10
|
+
item: ThreadListItemPreview;
|
|
11
|
+
mainThreadId: string | undefined;
|
|
12
|
+
main: ThreadPreview | undefined;
|
|
13
|
+
snapshots: Readonly<Record<string, unknown>> | undefined;
|
|
15
14
|
}) => import("react").JSX.Element;
|
|
16
|
-
//#endregion
|
|
17
|
-
export { ConversationDotState, ConversationStatusDot, resolveConversationDotState };
|
|
18
15
|
//# sourceMappingURL=ConversationStatusDot.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConversationStatusDot.d.ts","
|
|
1
|
+
{"version":3,"file":"ConversationStatusDot.d.ts","sourceRoot":"","sources":["../../../src/views/thread/ConversationStatusDot.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,aAAa,EAAE,mBAAgB;AAGpE,MAAM,MAAM,oBAAoB,GAC5B,UAAU,GACV,SAAS,GACT,QAAQ,GACR,SAAS,GACT,QAAQ,GACR,gBAAgB,GAChB,OAAO,GACP,KAAK,CAAC;AAiDV,eAAO,MAAM,2BAA2B,GAAI,0CAKzC;IACD,IAAI,EAAE,qBAAqB,CAAC;IAC5B,YAAY,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,IAAI,EAAE,aAAa,GAAG,SAAS,CAAC;IAChC,SAAS,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GAAG,SAAS,CAAC;CAC1D,KAAG,oBAmBH,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,0CAKnC;IACD,IAAI,EAAE,qBAAqB,CAAC;IAC5B,YAAY,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,IAAI,EAAE,aAAa,GAAG,SAAS,CAAC;IAChC,SAAS,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GAAG,SAAS,CAAC;CAC1D,gCAuBA,CAAC"}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import { ThreadPreview } from "./types.js";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
title?: string;
|
|
1
|
+
import type { ThreadPreview } from "./types.js";
|
|
2
|
+
export declare const ThreadDetails: ({ thread, title, }: {
|
|
3
|
+
thread: ThreadPreview;
|
|
4
|
+
title?: string;
|
|
6
5
|
}) => import("react").JSX.Element;
|
|
7
|
-
//#endregion
|
|
8
|
-
export { ThreadDetails };
|
|
9
6
|
//# sourceMappingURL=ThreadDetails.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThreadDetails.d.ts","
|
|
1
|
+
{"version":3,"file":"ThreadDetails.d.ts","sourceRoot":"","sources":["../../../src/views/thread/ThreadDetails.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,aAAa,EAAE,mBAAgB;AAE7C,eAAO,MAAM,aAAa,GAAI,oBAG3B;IACD,MAAM,EAAE,aAAa,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,gCAsEA,CAAC"}
|
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
import { ThreadPreview } from "./types.js";
|
|
2
|
-
|
|
3
|
-
declare const
|
|
4
|
-
|
|
5
|
-
thread: ThreadPreview;
|
|
1
|
+
import type { ThreadPreview } from "./types.js";
|
|
2
|
+
export declare const messageNodeId: (id: string) => string;
|
|
3
|
+
export declare const TranscriptHeader: import("react").MemoExoticComponent<({ thread, }: {
|
|
4
|
+
thread: ThreadPreview;
|
|
6
5
|
}) => import("react").JSX.Element>;
|
|
7
|
-
declare const Transcript: ({ thread, selection, onSelect }: {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
export declare const Transcript: ({ thread, selection, onSelect, }: {
|
|
7
|
+
thread: ThreadPreview;
|
|
8
|
+
selection: string | null;
|
|
9
|
+
onSelect: (nodeId: string) => void;
|
|
11
10
|
}) => import("react").JSX.Element;
|
|
12
|
-
//#endregion
|
|
13
|
-
export { Transcript, TranscriptHeader, messageNodeId };
|
|
14
11
|
//# sourceMappingURL=Transcript.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Transcript.d.ts","
|
|
1
|
+
{"version":3,"file":"Transcript.d.ts","sourceRoot":"","sources":["../../../src/views/thread/Transcript.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAmB,aAAa,EAAE,mBAAgB;AAQ9D,eAAO,MAAM,aAAa,GAAI,IAAI,MAAM,WAAgB,CAAC;AA4JzD,eAAO,MAAM,gBAAgB,oDAE1B;IACD,MAAM,EAAE,aAAa,CAAC;CACvB,iCAgGC,CAAC;AAEH,eAAO,MAAM,UAAU,GAAI,kCAIxB;IACD,MAAM,EAAE,aAAa,CAAC;IACtB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC,gCAmCA,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
export { ConversationList, conversationListHeader } from "./ConversationList.js";
|
|
2
|
+
export { ThreadDetails } from "./ThreadDetails.js";
|
|
3
|
+
export { Transcript, TranscriptHeader, messageNodeId } from "./Transcript.js";
|
|
4
|
+
export { ComposerAttachments } from "./ComposerAttachments.js";
|
|
5
|
+
export { ComposerFlags } from "./ComposerFlags.js";
|
|
6
|
+
export { ComposerQueue } from "./ComposerQueue.js";
|
|
7
|
+
export { parseComposerPreview, parseThreadListItemPreview, parseThreadListPreview, parseThreadPreview, } from "./utils.js";
|
|
8
|
+
export { resolveSingleThread, resolveThreadForId } from "./resolve.js";
|
|
9
|
+
export type { ComposerPreview, ThreadListItemPreview, ThreadListPreview, ThreadPreview, } from "./types.js";
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/views/thread/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,8BAA2B;AAC9E,OAAO,EAAE,aAAa,EAAE,2BAAwB;AAChD,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,aAAa,EAAE,wBAAqB;AAC3E,OAAO,EAAE,mBAAmB,EAAE,iCAA8B;AAC5D,OAAO,EAAE,aAAa,EAAE,2BAAwB;AAChD,OAAO,EAAE,aAAa,EAAE,2BAAwB;AAChD,OAAO,EACL,oBAAoB,EACpB,0BAA0B,EAC1B,sBAAsB,EACtB,kBAAkB,GACnB,mBAAgB;AACjB,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,qBAAkB;AACpE,YAAY,EACV,eAAe,EACf,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,GACd,mBAAgB"}
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { ThreadListPreview, ThreadPreview } from "./types.js";
|
|
2
|
-
//#region src/views/thread/resolve.d.ts
|
|
1
|
+
import type { ThreadListPreview, ThreadPreview } from "./types.js";
|
|
3
2
|
/**
|
|
4
3
|
* Picks the thread to show for a selected conversation id, preferring a cached
|
|
5
4
|
* snapshot, then the live main thread, then the single-thread runtime state.
|
|
6
5
|
*/
|
|
7
|
-
declare const resolveThreadForId: (state: Record<string, unknown>, snapshots: Readonly<Record<string, unknown>> | undefined, threadId: string, threadList: ThreadListPreview | null) => ThreadPreview | null;
|
|
6
|
+
export declare const resolveThreadForId: (state: Record<string, unknown>, snapshots: Readonly<Record<string, unknown>> | undefined, threadId: string, threadList: ThreadListPreview | null) => ThreadPreview | null;
|
|
8
7
|
/** Picks the thread to show when the runtime exposes no conversation list. */
|
|
9
|
-
declare const resolveSingleThread: (state: Record<string, unknown>) => ThreadPreview | null;
|
|
10
|
-
//#endregion
|
|
11
|
-
export { resolveSingleThread, resolveThreadForId };
|
|
8
|
+
export declare const resolveSingleThread: (state: Record<string, unknown>) => ThreadPreview | null;
|
|
12
9
|
//# sourceMappingURL=resolve.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolve.d.ts","
|
|
1
|
+
{"version":3,"file":"resolve.d.ts","sourceRoot":"","sources":["../../../src/views/thread/resolve.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,mBAAgB;AAEhE;;;GAGG;AACH,eAAO,MAAM,kBAAkB,GAC7B,OAAO,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC9B,WAAW,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GAAG,SAAS,EACxD,UAAU,MAAM,EAChB,YAAY,iBAAiB,GAAG,IAAI,KACnC,aAAa,GAAG,IAYlB,CAAC;AAEF,8EAA8E;AAC9E,eAAO,MAAM,mBAAmB,GAC9B,OAAO,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAC7B,aAAa,GAAG,IAMlB,CAAC"}
|
|
@@ -1,49 +1,47 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
interface ThreadListItemPreview {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import type { MessagePreview } from "../message/index.js";
|
|
2
|
+
import type { AttachmentPreview } from "../attachments/types.js";
|
|
3
|
+
export type { AttachmentPreview };
|
|
4
|
+
export interface ThreadListItemPreview {
|
|
5
|
+
id: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
status?: string;
|
|
8
|
+
externalId?: string;
|
|
9
|
+
remoteId?: string;
|
|
10
|
+
lastMessageAt?: string;
|
|
11
11
|
}
|
|
12
|
-
interface SuggestionPreview {
|
|
13
|
-
|
|
12
|
+
export interface SuggestionPreview {
|
|
13
|
+
prompt?: string;
|
|
14
14
|
}
|
|
15
|
-
interface ComposerQueueItem {
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
export interface ComposerQueueItem {
|
|
16
|
+
id?: string;
|
|
17
|
+
prompt: string;
|
|
18
18
|
}
|
|
19
|
-
interface ComposerPreview {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
19
|
+
export interface ComposerPreview {
|
|
20
|
+
textLength: number;
|
|
21
|
+
role?: string;
|
|
22
|
+
attachments: AttachmentPreview[];
|
|
23
|
+
isEditing?: boolean;
|
|
24
|
+
canCancel?: boolean;
|
|
25
|
+
canSend?: boolean;
|
|
26
|
+
isEmpty?: boolean;
|
|
27
|
+
type?: string;
|
|
28
|
+
queue: ComposerQueueItem[];
|
|
29
29
|
}
|
|
30
|
-
interface ThreadPreview {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
30
|
+
export interface ThreadPreview {
|
|
31
|
+
isDisabled?: boolean;
|
|
32
|
+
isLoading?: boolean;
|
|
33
|
+
isRunning?: boolean;
|
|
34
|
+
messages: MessagePreview[];
|
|
35
|
+
suggestions: SuggestionPreview[];
|
|
36
|
+
capabilities: string[];
|
|
37
|
+
composer?: ComposerPreview;
|
|
38
38
|
}
|
|
39
|
-
interface ThreadListPreview {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
39
|
+
export interface ThreadListPreview {
|
|
40
|
+
mainThreadId?: string;
|
|
41
|
+
newThreadId?: string | null;
|
|
42
|
+
threadIds: string[];
|
|
43
|
+
archivedThreadIds: string[];
|
|
44
|
+
threadItems: ThreadListItemPreview[];
|
|
45
|
+
main?: ThreadPreview;
|
|
46
46
|
}
|
|
47
|
-
//#endregion
|
|
48
|
-
export { type AttachmentPreview, ComposerPreview, ComposerQueueItem, SuggestionPreview, ThreadListItemPreview, ThreadListPreview, ThreadPreview };
|
|
49
47
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/views/thread/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,4BAAmB;AACjD,OAAO,KAAK,EAAE,iBAAiB,EAAE,gCAA6B;AAE9D,YAAY,EAAE,iBAAiB,EAAE,CAAC;AAElC,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,iBAAiB;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,iBAAiB;IAChC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,eAAe;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,iBAAiB,EAAE,CAAC;IACjC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,iBAAiB,EAAE,CAAC;CAC5B;AAED,MAAM,WAAW,aAAa;IAC5B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,cAAc,EAAE,CAAC;IAC3B,WAAW,EAAE,iBAAiB,EAAE,CAAC;IACjC,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,QAAQ,CAAC,EAAE,eAAe,CAAC;CAC5B;AAED,MAAM,WAAW,iBAAiB;IAChC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,iBAAiB,EAAE,MAAM,EAAE,CAAC;IAC5B,WAAW,EAAE,qBAAqB,EAAE,CAAC;IACrC,IAAI,CAAC,EAAE,aAAa,CAAC;CACtB"}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import { ComposerPreview, ThreadListItemPreview, ThreadListPreview, ThreadPreview } from "./types.js";
|
|
2
|
-
|
|
3
|
-
declare const
|
|
4
|
-
declare const
|
|
5
|
-
declare const
|
|
6
|
-
declare const parseThreadListPreview: (value: unknown) => ThreadListPreview | null;
|
|
7
|
-
//#endregion
|
|
8
|
-
export { parseComposerPreview, parseThreadListItemPreview, parseThreadListPreview, parseThreadPreview };
|
|
1
|
+
import type { ComposerPreview, ThreadListItemPreview, ThreadListPreview, ThreadPreview } from "./types.js";
|
|
2
|
+
export declare const parseComposerPreview: (value: unknown) => ComposerPreview | undefined;
|
|
3
|
+
export declare const parseThreadListItemPreview: (value: unknown) => ThreadListItemPreview | null;
|
|
4
|
+
export declare const parseThreadPreview: (value: unknown) => ThreadPreview | null;
|
|
5
|
+
export declare const parseThreadListPreview: (value: unknown) => ThreadListPreview | null;
|
|
9
6
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/views/thread/utils.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,eAAe,EAGf,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,EACd,mBAAgB;AAQjB,eAAO,MAAM,oBAAoB,GAC/B,OAAO,OAAO,KACb,eAAe,GAAG,SAgCpB,CAAC;AASF,eAAO,MAAM,0BAA0B,GACrC,OAAO,OAAO,KACb,qBAAqB,GAAG,IAiB1B,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,OAAO,OAAO,KAAG,aAAa,GAAG,IAoCnE,CAAC;AAEF,eAAO,MAAM,sBAAsB,GACjC,OAAO,OAAO,KACb,iBAAiB,GAAG,IAyBtB,CAAC"}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
children: ReactNode;
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
export declare const CenteredMessage: ({ children }: {
|
|
3
|
+
children: ReactNode;
|
|
5
4
|
}) => import("react").JSX.Element;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { CenteredMessage };
|
|
8
5
|
//# sourceMappingURL=CenteredMessage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CenteredMessage.d.ts","
|
|
1
|
+
{"version":3,"file":"CenteredMessage.d.ts","sourceRoot":"","sources":["../../../src/views/ui/CenteredMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,eAAO,MAAM,eAAe,GAAI,cAAc;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,gCAIpE,CAAC"}
|
package/dist/views/ui/Chip.d.ts
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
children: ReactNode;
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
export declare const Chip: ({ className, children, }: {
|
|
3
|
+
className?: string | undefined;
|
|
4
|
+
children: ReactNode;
|
|
6
5
|
}) => import("react").JSX.Element;
|
|
7
|
-
//#endregion
|
|
8
|
-
export { Chip };
|
|
9
6
|
//# sourceMappingURL=Chip.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Chip.d.ts","
|
|
1
|
+
{"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../src/views/ui/Chip.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,eAAO,MAAM,IAAI,GAAI,0BAGlB;IACD,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,QAAQ,EAAE,SAAS,CAAC;CACrB,gCAMA,CAAC"}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { ButtonHTMLAttributes } from "react";
|
|
2
|
-
|
|
3
|
-
declare const ControlButton: ({ className, ...props }: ButtonHTMLAttributes<HTMLButtonElement>) => import("react").JSX.Element;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { ControlButton };
|
|
1
|
+
import type { ButtonHTMLAttributes } from "react";
|
|
2
|
+
export declare const ControlButton: ({ className, ...props }: ButtonHTMLAttributes<HTMLButtonElement>) => import("react").JSX.Element;
|
|
6
3
|
//# sourceMappingURL=ControlButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ControlButton.d.ts","
|
|
1
|
+
{"version":3,"file":"ControlButton.d.ts","sourceRoot":"","sources":["../../../src/views/ui/ControlButton.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAElD,eAAO,MAAM,aAAa,GAAI,yBAG3B,oBAAoB,CAAC,iBAAiB,CAAC,gCAQzC,CAAC"}
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
size?: "default" | "sm";
|
|
1
|
+
export declare const CopyButton: ({ value, label, copiedLabel, className, iconOnly, size, }: {
|
|
2
|
+
value: string | (() => string);
|
|
3
|
+
label?: string;
|
|
4
|
+
copiedLabel?: string;
|
|
5
|
+
className?: string | undefined;
|
|
6
|
+
iconOnly?: boolean;
|
|
7
|
+
size?: "default" | "sm";
|
|
9
8
|
}) => import("react").JSX.Element;
|
|
10
|
-
//#endregion
|
|
11
|
-
export { CopyButton };
|
|
12
9
|
//# sourceMappingURL=CopyButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CopyButton.d.ts","
|
|
1
|
+
{"version":3,"file":"CopyButton.d.ts","sourceRoot":"","sources":["../../../src/views/ui/CopyButton.tsx"],"names":[],"mappings":"AA6BA,eAAO,MAAM,UAAU,GAAI,2DAOxB;IACD,KAAK,EAAE,MAAM,GAAG,CAAC,MAAM,MAAM,CAAC,CAAC;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;CACzB,gCA6BA,CAAC"}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
children: ReactNode;
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
export declare const EmptyState: ({ children }: {
|
|
3
|
+
children: ReactNode;
|
|
5
4
|
}) => import("react").JSX.Element;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { EmptyState };
|
|
8
5
|
//# sourceMappingURL=EmptyState.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmptyState.d.ts","
|
|
1
|
+
{"version":3,"file":"EmptyState.d.ts","sourceRoot":"","sources":["../../../src/views/ui/EmptyState.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,eAAO,MAAM,UAAU,GAAI,cAAc;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,gCAI/D,CAAC"}
|