@cossistant/next 0.1.0 → 0.1.2
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/_virtual/rolldown_runtime.js +1 -42
- package/feedback/index.d.ts +5 -0
- package/feedback/index.js +1 -0
- package/hooks/index.d.ts +3 -2
- package/hooks/index.js +1 -5
- package/identify-visitor.js +1 -7
- package/index.d.ts +10 -4
- package/index.js +1 -24
- package/package.json +6 -2
- package/primitives/index.d.ts +7 -2
- package/primitives/index.js +1 -13
- package/provider.js +1 -7
- package/react/src/feedback/context/handle.d.ts +12 -0
- package/react/src/feedback/index.d.ts +73 -0
- package/react/src/feedback/internal/trigger.d.ts +10 -0
- package/react/src/hooks/index.d.ts +2 -1
- package/react/src/hooks/private/use-default-messages.d.ts +9 -1
- package/react/src/hooks/use-conversation-preview.d.ts +1 -0
- package/react/src/hooks/use-conversation-processing.d.ts +7 -0
- package/react/src/hooks/use-conversation-timeline.d.ts +4 -3
- package/react/src/identify-visitor.d.ts +1 -1
- package/react/src/primitives/conversation-timeline.d.ts +1 -0
- package/react/src/primitives/feedback-comment-input.d.ts +16 -0
- package/react/src/primitives/feedback-rating-selector.d.ts +31 -0
- package/react/src/primitives/feedback-topic-select.d.ts +24 -0
- package/react/src/primitives/index.d.ts +5 -0
- package/react/src/primitives/index.parts.d.ts +5 -0
- package/react/src/primitives/router.d.ts +1 -1
- package/react/src/primitives/timeline-item-group.d.ts +1 -1
- package/react/src/primitives/timeline-read-receipts.d.ts +35 -0
- package/react/src/primitives/tool-activity-row.d.ts +46 -0
- package/react/src/primitives/trigger.d.ts +1 -0
- package/react/src/provider.d.ts +1 -1
- package/react/src/realtime/index.d.ts +1 -0
- package/react/src/realtime/processing-store.d.ts +13 -0
- package/react/src/realtime/provider.d.ts +4 -17
- package/react/src/realtime/support-provider.d.ts +8 -6
- package/react/src/support/components/button.d.ts +2 -2
- package/react/src/support/components/typing-indicator.d.ts +1 -1
- package/react/src/support/context/events.d.ts +1 -1
- package/react/src/support/context/handle.d.ts +1 -1
- package/react/src/support/context/websocket.d.ts +17 -7
- package/react/src/support/index.d.ts +2 -2
- package/react/src/support/router.d.ts +1 -1
- package/react/src/support/store/support-store.d.ts +5 -5
- package/react/src/support/types.d.ts +1 -1
- package/react/src/support-config.d.ts +3 -30
- package/realtime/index.d.ts +2 -1
- package/realtime/index.js +1 -7
- package/support/index.d.ts +1 -1
- package/support/index.js +1 -8
- package/support-config.d.ts +2 -2
- package/support-config.js +1 -7
- package/utils/index.js +1 -7
- package/index.js.map +0 -1
- package/primitives/index.d.ts.map +0 -1
- package/primitives/index.js.map +0 -1
- package/react/src/hooks/private/typing.d.ts.map +0 -1
- package/react/src/hooks/private/use-client-query.d.ts.map +0 -1
- package/react/src/hooks/private/use-default-messages.d.ts.map +0 -1
- package/react/src/hooks/private/use-grouped-messages.d.ts.map +0 -1
- package/react/src/hooks/private/use-multimodal-input.d.ts.map +0 -1
- package/react/src/hooks/private/use-rest-client.d.ts.map +0 -1
- package/react/src/hooks/use-composer-refocus.d.ts.map +0 -1
- package/react/src/hooks/use-conversation-auto-seen.d.ts.map +0 -1
- package/react/src/hooks/use-conversation-history-page.d.ts.map +0 -1
- package/react/src/hooks/use-conversation-lifecycle.d.ts.map +0 -1
- package/react/src/hooks/use-conversation-page.d.ts.map +0 -1
- package/react/src/hooks/use-conversation-preview.d.ts.map +0 -1
- package/react/src/hooks/use-conversation-seen.d.ts.map +0 -1
- package/react/src/hooks/use-conversation-timeline-items.d.ts.map +0 -1
- package/react/src/hooks/use-conversation-timeline.d.ts.map +0 -1
- package/react/src/hooks/use-conversation-typing.d.ts.map +0 -1
- package/react/src/hooks/use-conversation.d.ts.map +0 -1
- package/react/src/hooks/use-conversations.d.ts.map +0 -1
- package/react/src/hooks/use-create-conversation.d.ts.map +0 -1
- package/react/src/hooks/use-file-upload.d.ts.map +0 -1
- package/react/src/hooks/use-home-page.d.ts.map +0 -1
- package/react/src/hooks/use-message-composer.d.ts.map +0 -1
- package/react/src/hooks/use-new-message-sound.d.ts.map +0 -1
- package/react/src/hooks/use-realtime-support.d.ts.map +0 -1
- package/react/src/hooks/use-scroll-mask.d.ts.map +0 -1
- package/react/src/hooks/use-send-message.d.ts.map +0 -1
- package/react/src/hooks/use-sound-effect.d.ts.map +0 -1
- package/react/src/hooks/use-typing-sound.d.ts.map +0 -1
- package/react/src/hooks/use-visitor.d.ts.map +0 -1
- package/react/src/hooks/use-window-visibility-focus.d.ts.map +0 -1
- package/react/src/identify-visitor.d.ts.map +0 -1
- package/react/src/primitives/avatar/avatar.d.ts.map +0 -1
- package/react/src/primitives/avatar/fallback.d.ts.map +0 -1
- package/react/src/primitives/avatar/image.d.ts.map +0 -1
- package/react/src/primitives/button.d.ts.map +0 -1
- package/react/src/primitives/command-block-utils.d.ts.map +0 -1
- package/react/src/primitives/conversation-timeline.d.ts.map +0 -1
- package/react/src/primitives/day-separator.d.ts.map +0 -1
- package/react/src/primitives/multimodal-input.d.ts.map +0 -1
- package/react/src/primitives/router.d.ts.map +0 -1
- package/react/src/primitives/timeline-code-block.d.ts.map +0 -1
- package/react/src/primitives/timeline-command-block.d.ts.map +0 -1
- package/react/src/primitives/timeline-item-attachments.d.ts.map +0 -1
- package/react/src/primitives/timeline-item-group.d.ts.map +0 -1
- package/react/src/primitives/timeline-item.d.ts.map +0 -1
- package/react/src/primitives/timeline-message-layout.d.ts.map +0 -1
- package/react/src/primitives/trigger.d.ts.map +0 -1
- package/react/src/primitives/window.d.ts.map +0 -1
- package/react/src/provider.d.ts.map +0 -1
- package/react/src/realtime/provider.d.ts.map +0 -1
- package/react/src/realtime/seen-store.d.ts.map +0 -1
- package/react/src/realtime/support-provider.d.ts.map +0 -1
- package/react/src/realtime/typing-store.d.ts.map +0 -1
- package/react/src/realtime/use-realtime.d.ts.map +0 -1
- package/react/src/support/components/button.d.ts.map +0 -1
- package/react/src/support/components/header.d.ts.map +0 -1
- package/react/src/support/components/typing-indicator.d.ts.map +0 -1
- package/react/src/support/context/events.d.ts.map +0 -1
- package/react/src/support/context/handle.d.ts.map +0 -1
- package/react/src/support/context/slots.d.ts.map +0 -1
- package/react/src/support/context/websocket.d.ts.map +0 -1
- package/react/src/support/index.d.ts.map +0 -1
- package/react/src/support/router.d.ts.map +0 -1
- package/react/src/support/store/support-store.d.ts.map +0 -1
- package/react/src/support/text/index.d.ts.map +0 -1
- package/react/src/support/text/locales/keys.d.ts.map +0 -1
- package/react/src/support/types.d.ts.map +0 -1
- package/react/src/support-config.d.ts.map +0 -1
- package/react/src/utils/conversation.d.ts.map +0 -1
- package/react/src/utils/id.d.ts.map +0 -1
- package/react/src/utils/merge-refs.d.ts.map +0 -1
- package/react/src/utils/use-render-element.d.ts.map +0 -1
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { SeenActorType } from "@cossistant/core";
|
|
2
|
+
|
|
3
|
+
//#region ../react/src/primitives/timeline-read-receipts.d.ts
|
|
4
|
+
type TimelineReadReceiptReaderMeta = {
|
|
5
|
+
id: string;
|
|
6
|
+
actorType: SeenActorType | null;
|
|
7
|
+
lastSeenAt: string | null;
|
|
8
|
+
};
|
|
9
|
+
type TimelineResolvedReadReceipt<TParticipant> = TimelineReadReceiptReaderMeta & {
|
|
10
|
+
participant: TParticipant;
|
|
11
|
+
};
|
|
12
|
+
type ResolveTimelineReadReceiptParticipant<TParticipant> = (reader: TimelineReadReceiptReaderMeta) => TParticipant | null;
|
|
13
|
+
type ResolveTimelineReadReceiptReadersOptions<TParticipant> = {
|
|
14
|
+
itemId: string;
|
|
15
|
+
lastReadItemIds?: Map<string, string>;
|
|
16
|
+
seenData?: ConversationSeen[];
|
|
17
|
+
currentViewerId?: string | null;
|
|
18
|
+
senderIds?: readonly string[];
|
|
19
|
+
resolveParticipant: ResolveTimelineReadReceiptParticipant<TParticipant>;
|
|
20
|
+
};
|
|
21
|
+
declare function getTimelineLastReaderIds(itemId: string, lastReadItemIds?: Map<string, string>): string[];
|
|
22
|
+
declare function resolveTimelineReadReceiptReaders<TParticipant>({
|
|
23
|
+
itemId,
|
|
24
|
+
lastReadItemIds,
|
|
25
|
+
seenData,
|
|
26
|
+
currentViewerId,
|
|
27
|
+
senderIds,
|
|
28
|
+
resolveParticipant
|
|
29
|
+
}: ResolveTimelineReadReceiptReadersOptions<TParticipant>): {
|
|
30
|
+
lastReaderIds: string[];
|
|
31
|
+
readers: TimelineResolvedReadReceipt<TParticipant>[];
|
|
32
|
+
};
|
|
33
|
+
//#endregion
|
|
34
|
+
export { ResolveTimelineReadReceiptParticipant, TimelineReadReceiptReaderMeta, TimelineResolvedReadReceipt, getTimelineLastReaderIds, resolveTimelineReadReceiptReaders };
|
|
35
|
+
//# sourceMappingURL=timeline-read-receipts.d.ts.map
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
//#region ../react/src/primitives/tool-activity-row.d.ts
|
|
4
|
+
type ToolActivityRowState = "partial" | "result" | "error";
|
|
5
|
+
type ToolActivityRowTone = "dashboard" | "widget";
|
|
6
|
+
type ToolActivityRowProps = {
|
|
7
|
+
state: ToolActivityRowState;
|
|
8
|
+
text: React.ReactNode;
|
|
9
|
+
leading?: React.ReactNode;
|
|
10
|
+
details?: React.ReactNode;
|
|
11
|
+
timestamp?: React.ReactNode;
|
|
12
|
+
showIndicator?: boolean;
|
|
13
|
+
showTerminalIndicator?: boolean;
|
|
14
|
+
className?: string;
|
|
15
|
+
bodyClassName?: string;
|
|
16
|
+
textRowClassName?: string;
|
|
17
|
+
textClassName?: string;
|
|
18
|
+
detailsClassName?: string;
|
|
19
|
+
timestampClassName?: string;
|
|
20
|
+
indicatorSlotClassName?: string;
|
|
21
|
+
indicatorClassName?: string;
|
|
22
|
+
spinnerClassName?: string;
|
|
23
|
+
tone?: ToolActivityRowTone;
|
|
24
|
+
};
|
|
25
|
+
declare function ToolActivityRow({
|
|
26
|
+
state,
|
|
27
|
+
text,
|
|
28
|
+
leading,
|
|
29
|
+
details,
|
|
30
|
+
timestamp,
|
|
31
|
+
showIndicator,
|
|
32
|
+
showTerminalIndicator,
|
|
33
|
+
className,
|
|
34
|
+
bodyClassName,
|
|
35
|
+
textRowClassName,
|
|
36
|
+
textClassName,
|
|
37
|
+
detailsClassName,
|
|
38
|
+
timestampClassName,
|
|
39
|
+
indicatorSlotClassName,
|
|
40
|
+
indicatorClassName,
|
|
41
|
+
spinnerClassName,
|
|
42
|
+
tone
|
|
43
|
+
}: ToolActivityRowProps): React.ReactElement;
|
|
44
|
+
//#endregion
|
|
45
|
+
export { ToolActivityRow, ToolActivityRowProps, ToolActivityRowState, ToolActivityRowTone };
|
|
46
|
+
//# sourceMappingURL=tool-activity-row.d.ts.map
|
package/react/src/provider.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ConfigurationError } from "./hooks/private/use-rest-client.js";
|
|
2
|
+
import React from "react";
|
|
2
3
|
import { CossistantClient } from "@cossistant/core";
|
|
3
4
|
import { DefaultMessage, PublicWebsiteResponse } from "@cossistant/types";
|
|
4
|
-
import React from "react";
|
|
5
5
|
|
|
6
6
|
//#region ../react/src/provider.d.ts
|
|
7
7
|
type SupportProviderProps = {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { applyProcessingCompletedEvent, applyProcessingProgressEvent, clearProcessingFromTimelineItem, useProcessingStore } from "./processing-store.js";
|
|
1
2
|
import { RealtimeAuthConfig, RealtimeContextValue, RealtimeProvider, RealtimeProviderProps, useRealtimeConnection } from "./provider.js";
|
|
2
3
|
import { applyConversationSeenEvent, hydrateConversationSeen, upsertConversationSeen } from "./seen-store.js";
|
|
3
4
|
import { SupportRealtimeProvider } from "./support-provider.js";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ProcessingState } from "@cossistant/core";
|
|
2
|
+
|
|
3
|
+
//#region ../react/src/realtime/processing-store.d.ts
|
|
4
|
+
|
|
5
|
+
type Selector<T> = (state: ProcessingState) => T;
|
|
6
|
+
type EqualityChecker<T> = (previous: T, next: T) => boolean;
|
|
7
|
+
declare function useProcessingStore<TSelected>(selector: Selector<TSelected>, isEqual?: EqualityChecker<TSelected>): TSelected;
|
|
8
|
+
declare function applyProcessingProgressEvent(event: RealtimeEvent<"aiAgentProcessingProgress">): void;
|
|
9
|
+
declare function applyProcessingCompletedEvent(event: RealtimeEvent<"aiAgentProcessingCompleted">): void;
|
|
10
|
+
declare function clearProcessingFromTimelineItem(event: RealtimeEvent<"timelineItemCreated">): void;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { applyProcessingCompletedEvent, applyProcessingProgressEvent, clearProcessingFromTimelineItem, useProcessingStore };
|
|
13
|
+
//# sourceMappingURL=processing-store.d.ts.map
|
|
@@ -1,20 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import { RealtimeAuthConfig, RealtimeAuthConfig as RealtimeAuthConfig$1 } from "@cossistant/core";
|
|
2
3
|
|
|
3
4
|
//#region ../react/src/realtime/provider.d.ts
|
|
4
5
|
type SubscribeHandler = (event: AnyRealtimeEvent) => void;
|
|
5
|
-
type VisitorAuthConfig = {
|
|
6
|
-
kind: "visitor";
|
|
7
|
-
visitorId: string | null;
|
|
8
|
-
websiteId?: string | null;
|
|
9
|
-
publicKey?: string | null;
|
|
10
|
-
};
|
|
11
|
-
type SessionAuthConfig = {
|
|
12
|
-
kind: "session";
|
|
13
|
-
sessionToken: string | null;
|
|
14
|
-
websiteId?: string | null;
|
|
15
|
-
userId?: string | null;
|
|
16
|
-
};
|
|
17
|
-
type RealtimeAuthConfig = VisitorAuthConfig | SessionAuthConfig;
|
|
18
6
|
type RealtimeProviderProps = {
|
|
19
7
|
children: React.ReactNode;
|
|
20
8
|
wsUrl?: string;
|
|
@@ -24,7 +12,7 @@ type RealtimeProviderProps = {
|
|
|
24
12
|
onDisconnect?: () => void;
|
|
25
13
|
onError?: (error: Error) => void;
|
|
26
14
|
};
|
|
27
|
-
type
|
|
15
|
+
type RealtimeContextValue = {
|
|
28
16
|
isConnected: boolean;
|
|
29
17
|
isConnecting: boolean;
|
|
30
18
|
error: Error | null;
|
|
@@ -34,14 +22,13 @@ type RealtimeConnectionState = {
|
|
|
34
22
|
lastEvent: AnyRealtimeEvent | null;
|
|
35
23
|
connectionId: string | null;
|
|
36
24
|
reconnect: () => void;
|
|
37
|
-
};
|
|
38
|
-
type RealtimeContextValue = RealtimeConnectionState & {
|
|
39
25
|
visitorId: string | null;
|
|
40
26
|
websiteId: string | null;
|
|
41
27
|
userId: string | null;
|
|
42
28
|
};
|
|
43
29
|
/**
|
|
44
30
|
* Provides websocket connectivity and heartbeating logic for realtime events.
|
|
31
|
+
* Backed by the framework-agnostic RealtimeClient from @cossistant/core.
|
|
45
32
|
*/
|
|
46
33
|
declare function RealtimeProvider({
|
|
47
34
|
children,
|
|
@@ -57,5 +44,5 @@ declare function RealtimeProvider({
|
|
|
57
44
|
*/
|
|
58
45
|
declare function useRealtimeConnection(): RealtimeContextValue;
|
|
59
46
|
//#endregion
|
|
60
|
-
export { type RealtimeAuthConfig, type RealtimeContextValue, RealtimeProvider, type RealtimeProviderProps, useRealtimeConnection };
|
|
47
|
+
export { type RealtimeAuthConfig$1 as RealtimeAuthConfig, type RealtimeContextValue, RealtimeProvider, type RealtimeProviderProps, useRealtimeConnection };
|
|
61
48
|
//# sourceMappingURL=provider.d.ts.map
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
|
|
3
3
|
//#region ../react/src/realtime/support-provider.d.ts
|
|
4
|
-
|
|
5
|
-
children: React.ReactNode;
|
|
6
|
-
};
|
|
4
|
+
|
|
7
5
|
/**
|
|
8
|
-
*
|
|
9
|
-
*
|
|
6
|
+
* Previously bridged websocket events into the core client stores.
|
|
7
|
+
* Event routing is now handled by CossistantClient.handleRealtimeEvent()
|
|
8
|
+
* in @cossistant/core, so this component is a no-op passthrough retained
|
|
9
|
+
* for tree compatibility.
|
|
10
10
|
*/
|
|
11
11
|
declare function SupportRealtimeProvider({
|
|
12
12
|
children
|
|
13
|
-
}:
|
|
13
|
+
}: {
|
|
14
|
+
children: React.ReactNode;
|
|
15
|
+
}): React.ReactElement;
|
|
14
16
|
//#endregion
|
|
15
17
|
export { SupportRealtimeProvider };
|
|
16
18
|
//# sourceMappingURL=support-provider.d.ts.map
|
|
@@ -4,8 +4,8 @@ import { VariantProps } from "class-variance-authority";
|
|
|
4
4
|
|
|
5
5
|
//#region ../react/src/support/components/button.d.ts
|
|
6
6
|
declare const coButtonVariants: (props?: ({
|
|
7
|
-
variant?: "default" | "
|
|
8
|
-
size?: "default" | "
|
|
7
|
+
variant?: "default" | "tab" | "secondary" | "ghost" | "outline" | "tab-selected" | null | undefined;
|
|
8
|
+
size?: "default" | "small" | "large" | "icon" | null | undefined;
|
|
9
9
|
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
10
10
|
type CossistantButtonProps = React$1.ComponentProps<"button"> & {
|
|
11
11
|
asChild?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AvailableAIAgent, AvailableHumanAgent } from "@cossistant/types";
|
|
2
1
|
import * as React$1 from "react";
|
|
2
|
+
import { AvailableAIAgent, AvailableHumanAgent } from "@cossistant/types";
|
|
3
3
|
|
|
4
4
|
//#region ../react/src/support/components/typing-indicator.d.ts
|
|
5
5
|
type TypingParticipantType = "visitor" | "team_member" | "ai";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Conversation } from "@cossistant/types";
|
|
2
1
|
import "react";
|
|
2
|
+
import { Conversation } from "@cossistant/types";
|
|
3
3
|
|
|
4
4
|
//#region ../react/src/support/context/events.d.ts
|
|
5
5
|
type SupportEventType = "conversationStart" | "conversationEnd" | "messageSent" | "messageReceived" | "error";
|
|
@@ -1,9 +1,19 @@
|
|
|
1
|
-
import { RealtimeContextValue } from "../../realtime/provider.js";
|
|
2
|
-
import "../../realtime/index.js";
|
|
3
|
-
import React from "react";
|
|
4
|
-
|
|
5
1
|
//#region ../react/src/support/context/websocket.d.ts
|
|
6
|
-
type
|
|
2
|
+
type SubscribeHandler = (event: AnyRealtimeEvent) => void;
|
|
3
|
+
type WebSocketContextValue = {
|
|
4
|
+
isConnected: boolean;
|
|
5
|
+
isConnecting: boolean;
|
|
6
|
+
error: Error | null;
|
|
7
|
+
send: (event: AnyRealtimeEvent) => void;
|
|
8
|
+
sendRaw: (data: string) => void;
|
|
9
|
+
subscribe: (handler: SubscribeHandler) => () => void;
|
|
10
|
+
lastEvent: AnyRealtimeEvent | null;
|
|
11
|
+
connectionId: string | null;
|
|
12
|
+
reconnect: () => void;
|
|
13
|
+
visitorId: string | null;
|
|
14
|
+
websiteId: string | null;
|
|
15
|
+
userId: string | null;
|
|
16
|
+
};
|
|
7
17
|
type WebSocketProviderProps = {
|
|
8
18
|
children: React.ReactNode;
|
|
9
19
|
publicKey?: string;
|
|
@@ -16,8 +26,8 @@ type WebSocketProviderProps = {
|
|
|
16
26
|
onError?: (error: Error) => void;
|
|
17
27
|
};
|
|
18
28
|
/**
|
|
19
|
-
* Support-specific realtime provider that authenticates visitors
|
|
20
|
-
* connection alive with presence pings.
|
|
29
|
+
* Support-specific realtime provider that authenticates visitors using the
|
|
30
|
+
* core client's RealtimeClient and keeps the connection alive with presence pings.
|
|
21
31
|
*/
|
|
22
32
|
declare const WebSocketProvider: React.FC<WebSocketProviderProps>;
|
|
23
33
|
/**
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
+
import { Align, CollisionPadding, ContentProps, RootProps, Side, TriggerRenderProps } from "./types.js";
|
|
1
2
|
import { SupportLocale, SupportTextContentOverrides } from "./text/locales/keys.js";
|
|
2
3
|
import { CustomPage, PageProps } from "./router.js";
|
|
3
4
|
import { SlotProps } from "./context/slots.js";
|
|
4
5
|
import { ConversationEndEvent, ConversationStartEvent, ErrorEvent, MessageReceivedEvent, MessageSentEvent, SupportEvent, SupportEventCallbacks, SupportEventType, useSupportEventEmitter, useSupportEvents } from "./context/events.js";
|
|
5
6
|
import { SupportHandle, useSupportHandle } from "./context/handle.js";
|
|
6
7
|
import { Text, useSupportText } from "./text/index.js";
|
|
7
|
-
import { Align, CollisionPadding, ContentProps, RootProps, Side, TriggerRenderProps } from "./types.js";
|
|
8
8
|
import { CoButton } from "./components/button.js";
|
|
9
9
|
import { Header } from "./components/header.js";
|
|
10
10
|
import { WebSocketContextValue, WebSocketProvider, useWebSocket } from "./context/websocket.js";
|
|
11
11
|
import { useSupportConfig, useSupportNavigation, useSupportStore } from "./store/support-store.js";
|
|
12
12
|
import "./store/index.js";
|
|
13
|
+
import * as React$1 from "react";
|
|
13
14
|
import * as _cossistant_core0 from "@cossistant/core";
|
|
14
15
|
import { DefaultRoutes, NavigationState, RouteRegistry as RouteRegistry$1, SupportPage as SupportPageType } from "@cossistant/core";
|
|
15
16
|
import { DefaultMessage } from "@cossistant/types";
|
|
16
|
-
import * as React$1 from "react";
|
|
17
17
|
|
|
18
18
|
//#region ../react/src/support/index.d.ts
|
|
19
19
|
type SupportProps<Locale extends string = SupportLocale> = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _cossistant_core6 from "@cossistant/core";
|
|
2
2
|
import { SupportConfig, SupportStore, SupportStoreState } from "@cossistant/core";
|
|
3
3
|
|
|
4
4
|
//#region ../react/src/support/store/support-store.d.ts
|
|
@@ -43,15 +43,15 @@ declare const useSupportConfig: () => UseSupportConfigResult;
|
|
|
43
43
|
* const { navigate, goBack, page, params } = useSupportNavigation();
|
|
44
44
|
*/
|
|
45
45
|
declare const useSupportNavigation: () => {
|
|
46
|
-
current:
|
|
46
|
+
current: _cossistant_core6.NavigationState<_cossistant_core6.RouteRegistry>;
|
|
47
47
|
page: "HOME" | "ARTICLES" | "CONVERSATION" | "CONVERSATION_HISTORY";
|
|
48
48
|
params: {
|
|
49
49
|
conversationId: string;
|
|
50
50
|
initialMessage?: string;
|
|
51
51
|
} | undefined;
|
|
52
|
-
previousPages:
|
|
53
|
-
navigate: (state:
|
|
54
|
-
replace: (state:
|
|
52
|
+
previousPages: _cossistant_core6.NavigationState<_cossistant_core6.RouteRegistry>[];
|
|
53
|
+
navigate: (state: _cossistant_core6.NavigationState<_cossistant_core6.RouteRegistry>) => void;
|
|
54
|
+
replace: (state: _cossistant_core6.NavigationState<_cossistant_core6.RouteRegistry>) => void;
|
|
55
55
|
goBack: () => void;
|
|
56
56
|
canGoBack: boolean;
|
|
57
57
|
};
|
|
@@ -24,7 +24,7 @@ type Align = "start" | "center" | "end";
|
|
|
24
24
|
type TriggerRenderProps = {
|
|
25
25
|
/** Whether the support window is currently open */
|
|
26
26
|
isOpen: boolean;
|
|
27
|
-
/** Whether
|
|
27
|
+
/** Whether a team member is currently typing */
|
|
28
28
|
isTyping: boolean;
|
|
29
29
|
/** Number of unread messages */
|
|
30
30
|
unreadCount: number;
|
|
@@ -1,36 +1,10 @@
|
|
|
1
|
-
import { DefaultMessage, SenderType } from "@cossistant/types";
|
|
2
1
|
import * as React$1 from "react";
|
|
2
|
+
import { DefaultMessage } from "@cossistant/types";
|
|
3
3
|
|
|
4
4
|
//#region ../react/src/support-config.d.ts
|
|
5
|
-
type DefaultMessageProps = {
|
|
6
|
-
content: string;
|
|
7
|
-
senderType: SenderType;
|
|
8
|
-
senderId?: string;
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* Declarative message entry for `SupportConfig`.
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* <SupportConfig>
|
|
15
|
-
* <DefaultMessage senderType="team_member" content="How can we help?" />
|
|
16
|
-
* </SupportConfig>
|
|
17
|
-
*/
|
|
18
|
-
declare function DefaultMessage$1(_props: DefaultMessageProps): React$1.ReactElement | null;
|
|
19
|
-
declare namespace DefaultMessage$1 {
|
|
20
|
-
var displayName: string;
|
|
21
|
-
}
|
|
22
|
-
declare function extractDefaultMessagesFromChildren(children: React$1.ReactNode): DefaultMessage[];
|
|
23
|
-
declare function resolveSupportConfigMessages({
|
|
24
|
-
children,
|
|
25
|
-
defaultMessages
|
|
26
|
-
}: {
|
|
27
|
-
children?: React$1.ReactNode;
|
|
28
|
-
defaultMessages?: DefaultMessage[];
|
|
29
|
-
}): DefaultMessage[] | undefined;
|
|
30
5
|
type SupportConfigProps = {
|
|
31
6
|
defaultMessages?: DefaultMessage[];
|
|
32
7
|
quickOptions?: string[];
|
|
33
|
-
children?: React$1.ReactNode;
|
|
34
8
|
};
|
|
35
9
|
/**
|
|
36
10
|
* Component exposed by Cossistant allowing you to change the support widget default messages and quick response whenever rendered.
|
|
@@ -38,11 +12,10 @@ type SupportConfigProps = {
|
|
|
38
12
|
declare const SupportConfig: {
|
|
39
13
|
({
|
|
40
14
|
defaultMessages,
|
|
41
|
-
quickOptions
|
|
42
|
-
children
|
|
15
|
+
quickOptions
|
|
43
16
|
}: SupportConfigProps): React$1.ReactElement | null;
|
|
44
17
|
displayName: string;
|
|
45
18
|
};
|
|
46
19
|
//#endregion
|
|
47
|
-
export {
|
|
20
|
+
export { SupportConfig, SupportConfigProps };
|
|
48
21
|
//# sourceMappingURL=support-config.d.ts.map
|
package/realtime/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { applyProcessingCompletedEvent, applyProcessingProgressEvent, clearProcessingFromTimelineItem, useProcessingStore } from "../react/src/realtime/processing-store.js";
|
|
1
2
|
import { RealtimeAuthConfig, RealtimeContextValue, RealtimeProvider, RealtimeProviderProps, useRealtimeConnection } from "../react/src/realtime/provider.js";
|
|
2
3
|
import { applyConversationSeenEvent, hydrateConversationSeen, upsertConversationSeen } from "../react/src/realtime/seen-store.js";
|
|
3
4
|
import { SupportRealtimeProvider } from "../react/src/realtime/support-provider.js";
|
|
4
5
|
import { applyConversationTypingEvent, clearTypingFromTimelineItem, clearTypingState, setTypingState } from "../react/src/realtime/typing-store.js";
|
|
5
6
|
import { RealtimeEventHandler, RealtimeEventHandlerEntry, RealtimeEventHandlersMap, RealtimeEventMeta, useRealtime } from "../react/src/realtime/use-realtime.js";
|
|
6
7
|
import "../react/src/realtime/index.js";
|
|
7
|
-
export { RealtimeAuthConfig, RealtimeContextValue, RealtimeEventHandler, RealtimeEventHandlerEntry, RealtimeEventHandlersMap, RealtimeEventMeta, RealtimeProvider, RealtimeProviderProps, SupportRealtimeProvider, applyConversationSeenEvent, applyConversationTypingEvent, clearTypingFromTimelineItem, clearTypingState, hydrateConversationSeen, setTypingState, upsertConversationSeen, useRealtime, useRealtimeConnection };
|
|
8
|
+
export { RealtimeAuthConfig, RealtimeContextValue, RealtimeEventHandler, RealtimeEventHandlerEntry, RealtimeEventHandlersMap, RealtimeEventMeta, RealtimeProvider, RealtimeProviderProps, SupportRealtimeProvider, applyConversationSeenEvent, applyConversationTypingEvent, applyProcessingCompletedEvent, applyProcessingProgressEvent, clearProcessingFromTimelineItem, clearTypingFromTimelineItem, clearTypingState, hydrateConversationSeen, setTypingState, upsertConversationSeen, useProcessingStore, useRealtime, useRealtimeConnection };
|
package/realtime/index.js
CHANGED
|
@@ -1,7 +1 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
|
-
import { __reExport } from "../_virtual/rolldown_runtime.js";
|
|
4
|
-
|
|
5
|
-
export * from "@cossistant/react/realtime"
|
|
6
|
-
|
|
7
|
-
export { };
|
|
1
|
+
"use client";import{__reExport as e}from"../_virtual/rolldown_runtime.js";export*from"@cossistant/react/realtime";export{};
|
package/support/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { Align, CollisionPadding, ContentProps, RootProps, Side, TriggerRenderProps } from "../react/src/support/types.js";
|
|
1
2
|
import { SupportLocale, SupportTextContentOverrides } from "../react/src/support/text/locales/keys.js";
|
|
2
3
|
import { CustomPage } from "../react/src/support/router.js";
|
|
3
4
|
import { ConversationEndEvent, ConversationStartEvent, ErrorEvent, MessageReceivedEvent, MessageSentEvent, SupportEvent, SupportEventCallbacks, SupportEventType, useSupportEventEmitter, useSupportEvents } from "../react/src/support/context/events.js";
|
|
4
5
|
import { SupportHandle, useSupportHandle } from "../react/src/support/context/handle.js";
|
|
5
6
|
import { Text, useSupportText } from "../react/src/support/text/index.js";
|
|
6
|
-
import { Align, CollisionPadding, ContentProps, RootProps, Side, TriggerRenderProps } from "../react/src/support/types.js";
|
|
7
7
|
import { CoButton } from "../react/src/support/components/button.js";
|
|
8
8
|
import { Header } from "../react/src/support/components/header.js";
|
|
9
9
|
import { WebSocketContextValue, WebSocketProvider, useWebSocket } from "../react/src/support/context/websocket.js";
|
package/support/index.js
CHANGED
|
@@ -1,8 +1 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
|
-
import { __export, __reExport } from "../_virtual/rolldown_runtime.js";
|
|
4
|
-
import support_default from "@cossistant/react/support";
|
|
5
|
-
|
|
6
|
-
export * from "@cossistant/react/support"
|
|
7
|
-
|
|
8
|
-
export { support_default as default };
|
|
1
|
+
"use client";import{__export as e,__reExport as t}from"../_virtual/rolldown_runtime.js";import n from"@cossistant/react/support";export*from"@cossistant/react/support";export{n as default};
|
package/support-config.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { SupportConfig, SupportConfigProps } from "./react/src/support-config.js";
|
|
2
|
+
export { SupportConfig, SupportConfigProps };
|
package/support-config.js
CHANGED
|
@@ -1,7 +1 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
|
-
import { __reExport } from "./_virtual/rolldown_runtime.js";
|
|
4
|
-
|
|
5
|
-
export * from "@cossistant/react/support-config"
|
|
6
|
-
|
|
7
|
-
export { };
|
|
1
|
+
"use client";import{__reExport as e}from"./_virtual/rolldown_runtime.js";export*from"@cossistant/react/support-config";export{};
|
package/utils/index.js
CHANGED
package/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../src/index.ts"],"sourcesContent":["\"use client\";\n\nexport * from \"./hooks\";\nexport * from \"./identify-visitor\";\nexport * as Primitives from \"./primitives\";\nexport * from \"./provider\";\nexport * from \"./realtime\";\nexport * from \"./support\";\nexport * from \"./support-config\";\nexport * from \"./utils\";\n"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../src/primitives/index.ts"],"sourcesContent":[],"mappings":""}
|
package/primitives/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../src/primitives/index.ts"],"sourcesContent":["\"use client\";\n\nexport * from \"@cossistant/react/primitives\";\n"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"typing.d.ts","names":[],"sources":["../../../../../../react/src/hooks/private/typing.ts"],"sourcesContent":[],"mappings":";;;;;KAIY,yBAAA;;EAAA,IAAA,EAAA,aAAA,GAAA,IAAA;AAKZ,CAAA;KAAY,wBAAA,GAA2B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-client-query.d.ts","names":[],"sources":["../../../../../../react/src/hooks/private/use-client-query.ts"],"sourcesContent":[],"mappings":";;;KAGK,iCACI,yBACD,sBACH,QAAQ;KAER;EALA,MAAA,EAMI,gBANG,GAAA,IAAA;EACH,OAAA,EAMC,OAND,CAMS,KANT,EAMgB,KANhB,CAAA;EACD;;;;AACI;EAGH,QAAA,CAAA,EAAA,MAAA;EACS,OAAA,CAAA,EAAA,OAAA;EAAO,eAAA,CAAA,EAAA,MAAA,GAAA,KAAA;EAAf,oBAAA,CAAA,EAAA,OAAA;EAWK,cAAA,CAAA,EAAA,OAAA;EACA,WAAA,CAAA,EADA,KACA;EAAK,WAAA,CAAA,EAAL,KAAK;EAIf,YAAA,CAAA,EAAA,SAAoB,OAAA,EAAA;CAClB;KADF,oBAEG,CAAA,KAAA,EAAA,KAAA,CAAA,GAAA;EAEU,IAAA,EAHX,KAGW,GAAA,SAAA;EAAkB,KAAA,EAF5B,KAE4B,GAAA,IAAA;EAAR,SAAA,EAAA,OAAA;EAAO,OAAA,EAAA,CAAA,IAAA,CAAA,EAAjB,KAAiB,EAAA,GAAP,OAAO,CAAC,KAAD,GAAA,SAAA,CAAA;AAqDnC,CAAA;;;;;;AAEG,iBAFa,cAEb,CAAA,KAAA,EAAA,QAAA,IAAA,CAAA,CAAA,OAAA,EADO,qBACP,CAD6B,KAC7B,EADoC,KACpC,CAAA,CAAA,EAAA,oBAAA,CAAqB,KAArB,EAA4B,KAA5B,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-default-messages.d.ts","names":[],"sources":["../../../../../../react/src/hooks/private/use-default-messages.ts"],"sourcesContent":[],"mappings":";AAEwE,KAInE,wBAAA,GAAwB;EAUb,cAAA,EAAA,MAAkB;CACjC;;;;;;;iBADe,kBAAA;;GAEb,2BAA2B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-grouped-messages.d.ts","names":[],"sources":["../../../../../../react/src/hooks/private/use-grouped-messages.ts"],"sourcesContent":[],"mappings":";;;AAMY,KAAA,cAAA,GAAc;EAGb,IAAA,EAAA,eAAA;EACL,QAAA,EAAA,MAAA;EAGW,UAAA,EAJN,UAIM;EACD,KAAA,EAJV,YAIU,EAAA;EAAI,cAAA,EAAA,MAAA;EAGV,aAAA,EAAA,MAAe;EAGd,gBAAA,EAPM,IAON;EACL,eAAA,EAPU,IAOV;CAGQ;AACD,KARH,eAAA,GAQG;EAAI,IAAA,EAAA,gBAAA;EAKP,QAAA,EAAA,MAAA;EAMA,UAAA,EAhBC,UAgBe;EAOhB,KAAA,EAtBJ,YAsBoB,EAAA;EAMhB,WAAA,EAAA,MAAgB;EACzB,UAAA,EAAA,MAAA;EACA,aAAA,EA3Ba,IA2Bb;EACA,YAAA,EA3BY,IA2BZ;EACA,QAAA,EAAA,OAAA;EACA,OAAA,EAAA,OAAA;CAAgB;AAEP,KA1BA,iBAAA,GA0ByB;EAMzB,IAAA,EAAA,gBAAA;EAEA,IAAA,EAhCL,YAgCK;EAMC,SAAA,EArCD,IAqCC;AA2Eb,CAAA;AAmEa,KAhLD,gBAAA,GA6UX;EAIY,IAAA,EAAA,eAAA;EACF,IAAA,EAhVJ,YAgVI;EACU,IAAA,EAAA,MAAA,GAAA,IAAA;aA/UT;;KAGA,gBAAA;;QAEL;EA0YM,UAAA,EAAA,MAAA;CAAsB;AAAA,KAtYvB,gBAAA,GACT,cAqYgC,GApYhC,eAoYgC,GAnYhC,iBAmYgC,GAlYhC,gBAkYgC,GAjYhC,gBAiYgC;AAAA,KA/XvB,yBAAA,GA+XuB;EAIhC,KAAA,EAlYK,YAkYL,EAAA;aAjYS;;;KAIA,uBAAA,GAA0B;KAE1B,qBAAA;SACJ;;;;cAKK;cA2EA,8BACL,mBACL;cAiEU,4BACL,wCAEL;cA8JU,yCACF,wCACU;;;;;;;;;;;cAgER;;;;GAIV"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-multimodal-input.d.ts","names":[],"sources":["../../../../../../react/src/hooks/private/use-multimodal-input.ts"],"sourcesContent":[],"mappings":";KAYY,yBAAA;EAAA,QAAA,CAAA,EAAA,CAAA,IAAA,EAAA;IACiC,OAAA,EAAA,MAAA;IAAoB,KAAA,EAApB,IAAoB,EAAA;EAC9C,CAAA,EAAA,GAAA,IAAA,GAD8C,OAC9C,CAAA,IAAA,CAAA;EAAK,OAAA,CAAA,EAAA,CAAA,KAAA,EAAL,KAAK,EAAA,GAAA,IAAA;EAMZ,WAAA,CAAA,EAAA,MAAA;EAGJ,QAAA,CAAA,EAAA,MAAA;EAEA,gBAAA,CAAA,EAAA,MAAA,EAAA;CAIW;AAGJ,KAZH,wBAAA,GAYG;EAAO,OAAA,EAAA,MAAA;EAaT,KAAA,EAtBL,IAsBK,EAAA;EAAsB,YAAA,EAAA,OAAA;EAAA,KAAA,EApB3B,KAoB2B,GAAA,IAAA;EAAA,UAAA,EAAA,CAAA,OAAA,EAAA,MAAA,EAAA,GAAA,IAAA;EAAA,QAAA,EAAA,CAAA,KAAA,EAhBhB,IAgBgB,EAAA,EAAA,GAAA,IAAA;EAAA,UAAA,EAAA,CAAA,KAAA,EAAA,MAAA,EAAA,GAAA,IAAA;EAMhC,UAAA,EAAA,GAAA,GAAA,IAAA;EAAiC,MAAA,EAAA,GAAA,GAnBrB,OAmBqB,CAAA,IAAA,CAAA;EAwKnC,KAAA,EAAA,GAAA,GAAA,IAAA;;;;;;;;;cA9KY;;;;;;IAMV,8BAAiC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-rest-client.d.ts","names":[],"sources":["../../../../../../react/src/hooks/private/use-rest-client.ts"],"sourcesContent":[],"mappings":";;;KAMY,kBAAA;;EAAA,OAAA,EAAA,MAAA;EAMA,UAAA,EAAA,MAAe;AA8B3B,CAAA;KA9BY,eAAA;UAED;;;;;;sBAOY;;;;;;;;iBAqBP,SAAA,kEAIb"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-composer-refocus.d.ts","names":[],"sources":["../../../../../react/src/hooks/use-composer-refocus.ts"],"sourcesContent":[],"mappings":";;;KAGY,yBAAA;;EAAA,UAAA,EAAA,OAAA;EAMA,YAAA,EAAA,OAAA;AAKZ,CAAA;AAAmC,KALvB,wBAAA,GAKuB;EAAA,aAAA,EAAA,GAAA,GAAA,IAAA;EAAA,QAAA,EAHxB,gBAGwB,CAHP,mBAGO,GAAA,IAAA,CAAA;CAIhC;AAA4B,cAJlB,kBAIkB,EAAA,CAAA;EAAA,QAAA;EAAA,UAAA;EAAA;AAAA,CAAA,EAA5B,yBAA4B,EAAA,GAAA,wBAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-conversation-auto-seen.d.ts","names":[],"sources":["../../../../../react/src/hooks/use-conversation-auto-seen.ts"],"sourcesContent":[],"mappings":";;;cASa,+BAAA;AAAA,KAMD,8BAAA,GANgC;EAMhC;AA4DZ;;UAxDS;;;;;;;;;;;;;oBAgBU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAwCH,uBAAA,UACN"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-conversation-history-page.d.ts","names":[],"sources":["../../../../../react/src/hooks/use-conversation-history-page.ts"],"sourcesContent":[],"mappings":";;;KAKY,iCAAA;;AAAZ;AAwBA;;EAIQ,mBAAA,CAAA,EAAA,MAAA;EAGe;;AA0DvB;;;;;;;;;;;;KAjEY,gCAAA;iBAEI;;SAER;wBAGe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA0DP,0BAAA,WACN,oCACP"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-conversation-lifecycle.d.ts","names":[],"sources":["../../../../../react/src/hooks/use-conversation-lifecycle.ts"],"sourcesContent":[],"mappings":";KAGY,0BAAA;EAAA;AAqBZ;AA8BA;AAkCA;;;;;;;;;;;;;;KAhEY,+BAAA;;;;;;;;;;;;;;;;;;;;;;;;;KA8BA,8BAAA,GAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAkC7B,wBAAA,WACN,kCACP"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-conversation-page.d.ts","names":[],"sources":["../../../../../react/src/hooks/use-conversation-page.ts"],"sourcesContent":[],"mappings":";AAgBY,KAAA,0BAAA,GAA0B;EA+B1B;;;;EAgBQ,cAAA,EAAA,MAAA;EAOD;;AA2CnB;;;;;;;;;;UA5ES;;;;;;;;KAUG,yBAAA;;;SAIJ;;SAEA;;;WAKC;;;;;sBAKW;;;;;oBAOD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA2CH,mBAAA,UACN,6BACP"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-conversation-preview.d.ts","names":[],"sources":["../../../../../react/src/hooks/use-conversation-preview.ts"],"sourcesContent":[],"mappings":";;;;;KAeY,8BAAA;EAAA,OAAA,EAAA,MAAA;EAQA,IAAA,EAAA,MAAA;EAQA,aAAA,EAAA,OAAA;EAEA,UAAA,CAAA,EAAA,MAAA;EAOA,WAAA,CAAA,EAAA,MAAA,GAAA,IAAA;AAsBZ,CAAA;AACe,KAxCH,gCAAA,GAwCG;EAED,IAAA,EAAA,MAAA;EACE,KAAA,EAAA,MAAA,GAAA,IAAA;EACP,IAAA,EAAA,OAAA,GAAA,IAAA,GAAA,UAAA;EACoB;EAAlB,UAAA,CAAA,EAAA,MAAA,GAAA,IAAA;CAAU;AA0BL,KA/DJ,oCAAA,GAAuC,wBAiEhD;KA/DS,8BAAA;gBACG;sBACM;;;;KAKT,6BAAA;gBACG;;;;;;;;;;yBAUS;;;;;;;;;;KAWZ,4BAAA;gBACG;;eAED;iBACE;UACP;YACE,kBAAkB;;;;;;iBA0Bb,sBAAA,UACN,gCACP"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-conversation-seen.d.ts","names":[],"sources":["../../../../../react/src/hooks/use-conversation-seen.ts"],"sourcesContent":[],"mappings":";AAAkE,KAI7D,0BAAA,GAA0B;EAgBf,WAAA,CAAA,EAfD,gBAeoB,EAAA;AA8DnC,CAAA;;;;;iBA9DgB,mBAAA,sDAEN,6BACP;;;;;;;iBA2Da,4BAAA,sDAEN,6CAEP"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-conversation-timeline-items.d.ts","names":[],"sources":["../../../../../react/src/hooks/use-conversation-timeline-items.ts"],"sourcesContent":[],"mappings":";;;KAoBY,mCAAA;EAAA,KAAA,CAAA,EAAA,MAAA;EAQA,MAAA,CAAA,EAAA,MAAA,GAAA,IAAA;EACX,OAAA,CAAA,EAAA,OAAA;EAEQ,eAAA,CAAA,EAAA,MAAA,GAAA,KAAA;EAEM,oBAAA,CAAA,EAAA,OAAA;CAAL;AACK,KANH,kCAAA,GACX,8BAKc,GAAA;EAAR,SAAA,EAAA,OAAA;EAEJ,KAAA,EALM,KAKN,GAAA,IAAA;EADoB,OAAA,EAAA,CAAA,IAAA,CAAA,EAFb,IAEa,CAFR,mCAEQ,EAAA,QAAA,GAAA,OAAA,CAAA,EAAA,GADhB,OACgB,CADR,oCACQ,GAAA,SAAA,CAAA;EAAO,aAAA,EAAA,GAAA,GAAP,OAAO,CAC3B,oCAD2B,GAAA,SAAA,CAAA;AAS9B,CAAA;;;;;iBAAgB,4BAAA,sDAEN,sCACP"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-conversation-timeline.d.ts","names":[],"sources":["../../../../../react/src/hooks/use-conversation-timeline.ts"],"sourcesContent":[],"mappings":";;;;;;KAWY,qCAAA,GAAwC;AAAxC,KAEA,8BAAA,GAFqC;EAErC,cAAA,EAAA,MAAA;EAMA,KAAA,EAJJ,YAII,EAAA;EACwB,gBAAA,CAAA,EAAA,MAAA;CAAlB;AACW,KAFjB,6BAAA,GAEiB;EAAlB,eAAA,EADO,UACP,CAAA,OADyB,kBACzB,CAAA;EACuB,QAAA,EADvB,UACuB,CAAA,OADL,4BACK,CAAA;EAAlB,aAAA,EAAA,UAAA,CAAA,OAAkB,qBAAlB,CAAA;EACK,kBAAA,EAAA,qCAAA,EAAA;EAAqC,4BAAA,EAAA,MAAA;AAQ1D,CAAA;;;;;AAIoC,iBAJpB,uBAAA,CAIoB;EAAA,cAAA;EAAA,KAAA,EAF5B,aAE4B;EAAA;AAAA,CAAA,EAAjC,8BAAiC,CAAA,EAAA,6BAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-conversation-typing.d.ts","names":[],"sources":["../../../../../react/src/hooks/use-conversation-typing.ts"],"sourcesContent":[],"mappings":";;;KAIY,6BAAA,GAAgC;KAEvC,4BAAA;EAFO,gBAAA,CAAA,EAAA,MAAA,GAAA,IAA6B;EAEpC,aAAA,CAAA,EAAA,MAAA,GAAA,IAAA;EA6BW,gBAAA,CAAA,EAAA,MAAqB,GAAA,IAAA;;;;;;iBAArB,qBAAA,sDAEN,+BACP"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-conversation.d.ts","names":[],"sources":["../../../../../react/src/hooks/use-conversation.ts"],"sourcesContent":[],"mappings":";AAQY,KAAA,sBAAA,GAAsB;EAMtB,OAAA,CAAA,EAAA,OAAA;EACG,eAAA,CAAA,EAAA,MAAA,GAAA,KAAA;EAEP,oBAAA,CAAA,EAAA,OAAA;CAEC;AACK,KANF,qBAAA,GAME;EAAR,YAAA,EALS,uBAKT,CAAA,cAAA,CAAA,GAAA,IAAA;EAAO,SAAA,EAAA,OAAA;EAcG,KAAA,EAjBR,KAiBQ,GAAA,IAAe;mBAftB,2BACH,QAAQ;;;;;;;;;;;;;iBAcE,eAAA,0CAEN,yBACP"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-conversations.d.ts","names":[],"sources":["../../../../../react/src/hooks/use-conversations.ts"],"sourcesContent":[],"mappings":";;;KA0CY,uBAAA,GAA0B,QACrC,KAAK;EADM,OAAA,CAAA,EAAA,OAAA;EACN,eAAA,CAAA,EAAA,MAAA,GAAA,KAAA;EAAL,oBAAA,CAAA,EAAA,OAAA;CADqC;AAAO,KAQjC,sBAAA,GARiC;EAQjC,aAAA,EACI,yBADkB,CAAA,eAAA,CAAA;EAClB,UAAA,EACH,sBADG,GAAA,IAAA;EACH,SAAA,EAAA,OAAA;EAEL,KAAA,EAAA,KAAA,GAAA,IAAA;EAES,OAAA,EAAA,CAAA,IAAA,CAAA,EAAR,OAAQ,CAAA,wBAAA,CAAA,EAAA,GACX,OADW,CACH,yBADG,GAAA,SAAA,CAAA;CAAR;;;;AAgBT;;;;;;;;;iBAAgB,gBAAA,WACN,0BACP"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-create-conversation.d.ts","names":[],"sources":["../../../../../react/src/hooks/use-create-conversation.ts"],"sourcesContent":[],"mappings":";;;;AAQU,KADE,4BAAA,GACF;EACU,MAAA,CAAA,EADV,gBACU;EACD,SAAA,CAAA,EAAA,CAAA,IAAA,EADC,8BACD,EAAA,GAAA,IAAA;EAAK,OAAA,CAAA,EAAA,CAAA,KAAA,EAAL,KAAK,EAAA,GAAA,IAAA;AAGxB,CAAA;AASY,KATA,2BAAA,GAS2B;EACjB,cAAA,CAAA,EAAA,MAAA;EAER,oBAAA,CAAA,EAVU,YAUV,EAAA;EACA,SAAA,CAAA,EAAA,MAAA;EAAR,SAAA,CAAA,EAAA,MAAA,GAAA,IAAA;EAEE,MAAA,CAAA,EAVE,YAUF,CAAA,QAAA,CAAA;EAAK,KAAA,CAAA,EAAA,MAAA,GAAA,IAAA;AAqBb,CAAA;KA3BY,2BAAA;uBACU;4BAER,gCACR,QAAQ;;SAEN;;;;;;;;iBAqBQ,qBAAA,WACN,+BACP"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-file-upload.d.ts","names":[],"sources":["../../../../../react/src/hooks/use-file-upload.ts"],"sourcesContent":[],"mappings":";;;KAeY,cAAA,GAAiB,oBAAoB;AAArC,KAEA,oBAAA,GAFiB;EAEjB;AAQZ;;;EAQM,MAAA,CAAA,EAXI,gBAWJ;CAeE;AAAK,KAvBD,mBAAA,GAuBC;EAwBG;;;;uBAzCP,mCAEH,QAAQ;;;;;;;;;;;;SAeN;;;;;;;;;;;;;;;;;;;;;;iBAwBQ,aAAA,WACN,uBACP"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-home-page.d.ts","names":[],"sources":["../../../../../react/src/hooks/use-home-page.ts"],"sourcesContent":[],"mappings":";;;KAKY,kBAAA;;AAAZ;AAuBA;;EAIQ,OAAA,CAAA,EAAA,OAAA;EAGe;;AAuDvB;;;;;;;;;;;KA9DY,iBAAA;iBAEI;;SAER;wBAGe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAuDP,WAAA,WACN,qBACP"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-message-composer.d.ts","names":[],"sources":["../../../../../react/src/hooks/use-message-composer.ts"],"sourcesContent":[],"mappings":";;;;AAWY,KAAA,yBAAA,GAAyB;EAK3B;;;;EAwCK,MAAA,CAAA,EAxCL,gBAwCK;EASU;;AAQzB;;EAIQ,cAAA,EAAA,MAAA,GAAA,IAAA;EASW;;AAwCnB;yBAnGwB;;;;;;;;;;;;;;;;;;;;oBAwBL;;;;gBAKJ,KACb;;;;;0BAQuB;;;;;;KAQb,wBAAA;;SAGJ;SACA;;;;;oBASW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAwCH,kBAAA,UACN,4BACP"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-new-message-sound.d.ts","names":[],"sources":["../../../../../react/src/hooks/use-new-message-sound.ts"],"sourcesContent":[],"mappings":";;AAmBA;;;;;;;;;;;;;;iBAAgB,kBAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-realtime-support.d.ts","names":[],"sources":["../../../../../react/src/hooks/use-realtime-support.ts"],"sourcesContent":[],"mappings":";AAIY,KAAA,yBAAA,GAAyB;EAIzB,OAAA,CAAA,EAAA,CAAA,KAAA,EAHO,gBAGiB,EAAA,GAAA,IAAA;CAG5B;AACO,KAJH,wBAAA,GAIG;EACH,WAAA,EAAA,OAAA;EAEE,YAAA,EAAA,OAAA;EACgB,KAAA,EALtB,KAKsB,GAAA,IAAA;EAAgB,IAAA,EAAA,CAAA,KAAA,EAJ/B,gBAI+B,EAAA,GAAA,IAAA;EAQ9B,SAAA,EAXJ,gBAWsB,GAAA,IACxB;;eAVI;+BACgB;;;;;;;iBAQd,kBAAA,WACN,4BACP"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-scroll-mask.d.ts","names":[],"sources":["../../../../../react/src/hooks/use-scroll-mask.ts"],"sourcesContent":[],"mappings":";;;KAEY,oBAAA;;EAAA,cAAA,CAAA,EAAA,MAAoB;EAOpB,YAAA,CAAA,EAAA,MAAA;EACU,eAAA,CAAA,EAAA,MAAA;CAAhB;AACE,KAFI,mBAAA,GAEE;EAAa,GAAA,EADrB,OAAA,CAAM,SACe,CADL,cACK,GAAA,IAAA,CAAA;EAUX,KAAA,EAVR,OAAA,CAAM,aAUe;;;;;;;;;iBAAb,aAAA,WACN,uBACP"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-send-message.d.ts","names":[],"sources":["../../../../../react/src/hooks/use-send-message.ts"],"sourcesContent":[],"mappings":";;;AAiBY,KAAA,kBAAA,GAAkB;EAGrB,cAAA,CAAA,EAAA,MAAA,GAAA,IAAA;EACe,OAAA,EAAA,MAAA;EAQL,KAAA,CAAA,EATV,IASU,EAAA;EAAK,oBAAA,CAAA,EARA,YAQA,EAAA;EASZ,SAAA,CAAA,EAAA,MAAA;EAOA;;;;EAIN,SAAA,CAAA,EAAA,MAAA;EAGE,SAAA,CAAA,EAAA,CAAA,cAAA,EAAA,MAAA,EAAA,SAAA,EAAA,MAAA,EAAA,GAAA,IAAA;EAAK,OAAA,CAAA,EAAA,CAAA,KAAA,EAvBM,KAuBN,EAAA,GAAA,IAAA;EAID;AAoHZ;;;;;;KAtIY,iBAAA;;;iBAGI;yBACQ;;KAGZ,oBAAA;oBACO;yBAER,uBACL,QAAQ;;;SAGN;;;KAII,qBAAA;WACF;;;;;;iBAmHM,cAAA,WACN,wBACP"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-sound-effect.d.ts","names":[],"sources":["../../../../../react/src/hooks/use-sound-effect.ts"],"sourcesContent":[],"mappings":";KAEY,qBAAA;EAAA,IAAA,CAAA,EAAA,OAAA;EAMA,MAAA,CAAA,EAAA,MAAA;EAqBI,YAAA,CAAA,EAAA,MAAc;;KArBlB,oBAAA;;;;;SAKJ;;;;;;;;;;;;;;;iBAgBQ,cAAA,8BAEN,wBACP"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-typing-sound.d.ts","names":[],"sources":["../../../../../react/src/hooks/use-typing-sound.ts"],"sourcesContent":[],"mappings":";;AAcA;;;;;;;;;iBAAgB,cAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-visitor.d.ts","names":[],"sources":["../../../../../react/src/hooks/use-visitor.ts"],"sourcesContent":[],"mappings":";;;KAQY,gBAAA;WACF;EADE,kBAAA,EAAgB,CAAA,QAAA,EAGhB,eAHgB,EAAA,GAItB,OAJsB,CAId,eAJc,GAAA,IAAA,CAAA;EAClB,QAAA,EAAA,CAAA,MAAA,EAAA;IAEE,UAAA,CAAA,EAAA,MAAA;IACE,KAAA,CAAA,EAAA,MAAA;IAAR,IAAA,CAAA,EAAA,MAAA;IAMO,KAAA,CAAA,EAAA,MAAA;IACN,QAAA,CAAA,EADM,MACN,CAAA,MAAA,EAAA,OAAA,CAAA;EAAO,CAAA,EAAA,GAAP,OAAO,CAAA;IAsBE,SAAU,EAAA,MAAA;;;;;;;;;;;iBAAV,UAAA,CAAA,GAAc"}
|