@vinaverse/react-native 0.0.0-stage → 0.1.0-alpha.11
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/LICENSE +202 -0
- package/README.md +326 -2
- package/dist/ask.cjs +62 -0
- package/dist/ask.cjs.map +1 -0
- package/dist/ask.d.cts +38 -0
- package/dist/ask.d.ts +38 -0
- package/dist/ask.js +5 -0
- package/dist/ask.js.map +1 -0
- package/dist/chat.cjs +274 -0
- package/dist/chat.cjs.map +1 -0
- package/dist/chat.d.cts +292 -0
- package/dist/chat.d.ts +292 -0
- package/dist/chat.js +5 -0
- package/dist/chat.js.map +1 -0
- package/dist/chunk-2J2LIJLW.js +624 -0
- package/dist/chunk-2J2LIJLW.js.map +1 -0
- package/dist/chunk-4PXQ7DEY.cjs +680 -0
- package/dist/chunk-4PXQ7DEY.cjs.map +1 -0
- package/dist/chunk-6QYDPGRS.cjs +97 -0
- package/dist/chunk-6QYDPGRS.cjs.map +1 -0
- package/dist/chunk-7KPCO443.js +74 -0
- package/dist/chunk-7KPCO443.js.map +1 -0
- package/dist/chunk-EFEXTVIT.js +88 -0
- package/dist/chunk-EFEXTVIT.js.map +1 -0
- package/dist/chunk-KSHDF3MG.js +1996 -0
- package/dist/chunk-KSHDF3MG.js.map +1 -0
- package/dist/chunk-MG32E4JI.cjs +268 -0
- package/dist/chunk-MG32E4JI.cjs.map +1 -0
- package/dist/chunk-NMKJ7LIJ.cjs +76 -0
- package/dist/chunk-NMKJ7LIJ.cjs.map +1 -0
- package/dist/chunk-POJP52GE.js +261 -0
- package/dist/chunk-POJP52GE.js.map +1 -0
- package/dist/chunk-XAG2P447.cjs +2035 -0
- package/dist/chunk-XAG2P447.cjs.map +1 -0
- package/dist/context-gHCLFsJh.d.cts +212 -0
- package/dist/context-gHCLFsJh.d.ts +212 -0
- package/dist/history.cjs +673 -0
- package/dist/history.cjs.map +1 -0
- package/dist/history.d.cts +177 -0
- package/dist/history.d.ts +177 -0
- package/dist/history.js +618 -0
- package/dist/history.js.map +1 -0
- package/dist/index.cjs +304 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +12 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -0
- package/dist/launcher.cjs +86 -0
- package/dist/launcher.cjs.map +1 -0
- package/dist/launcher.d.cts +122 -0
- package/dist/launcher.d.ts +122 -0
- package/dist/launcher.js +5 -0
- package/dist/launcher.js.map +1 -0
- package/dist/theme-BhiEGv64.d.cts +35 -0
- package/dist/theme-BhiEGv64.d.ts +35 -0
- package/package.json +311 -3
package/dist/chat.d.ts
ADDED
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
export { AgentRuntimeProvider, GreetingStorage, UseAgentConversation, UseAgentLauncher, forgetGreeting, greetedKey, useAgentConversation, useAgentFeatures, useAgentLauncher, useAgentName, useAgentProfile, useAgentRuntime, useAgentStatus, useAgentStatusState } from '@vinaverse/react/agent';
|
|
2
|
+
import { b as CardProps, c as ChatHandlers, d as ChatSlots, g as Chip, I as ImagePolicy, H as HeaderProps, h as ComposerProps, j as FailureState, M as MessageBubbleProps } from './context-gHCLFsJh.js';
|
|
3
|
+
export { C as CardCarousel, a as CardGroupProps, e as ChatStore, f as ChatWarning, E as EmptyStateProps, F as FailureAction, i as FailureProps, L as ListProps, P as ProposalDecision, u as useChat } from './context-gHCLFsJh.js';
|
|
4
|
+
import * as react from 'react';
|
|
5
|
+
import { ReactNode, ComponentType } from 'react';
|
|
6
|
+
import * as _vinaverse_client_conversation from '@vinaverse/client/conversation';
|
|
7
|
+
import { CardItem, Question, ConversationStore, MessageItem, TimelineItem, SystemItem, Welcome as Welcome$1 } from '@vinaverse/client/conversation';
|
|
8
|
+
import { AgentKey, AgentPlace, AgentEntryPoint, AgentFailureReason, AgentRating } from '@vinaverse/client/agent';
|
|
9
|
+
import { CopyOverrides } from '@vinaverse/react';
|
|
10
|
+
import { StyleProp, ViewStyle } from 'react-native';
|
|
11
|
+
import { a as ThemeOverrides, C as ColorSchemeSetting } from './theme-BhiEGv64.js';
|
|
12
|
+
export { T as Theme, b as ThemeProvider, c as createTheme, t as themeProblems, u as useTheme } from './theme-BhiEGv64.js';
|
|
13
|
+
import '@vinaverse/tokens';
|
|
14
|
+
|
|
15
|
+
declare function CardFrame(props: {
|
|
16
|
+
readonly label: string;
|
|
17
|
+
readonly restored?: boolean;
|
|
18
|
+
readonly children?: ReactNode;
|
|
19
|
+
readonly testID?: string;
|
|
20
|
+
}): react.JSX.Element;
|
|
21
|
+
/** A rating in millionths as the locale writes it, one decimal: 4.8, or 4,8 in Spanish and Portuguese. */
|
|
22
|
+
declare function ratingText(valuePpm: number, locale: string | undefined): string;
|
|
23
|
+
/** A photo the image policy allows: https, and from one of its hosts when it names them. */
|
|
24
|
+
declare function allowedImage(url: string | undefined, hosts: readonly string[] | undefined): string | null;
|
|
25
|
+
|
|
26
|
+
/** The kit's own renderer for a kind. */
|
|
27
|
+
declare function defaultCard(kind: string): ComponentType<Omit<CardProps, 'Default'>>;
|
|
28
|
+
declare const CardView: react.NamedExoticComponent<{
|
|
29
|
+
readonly item: CardItem;
|
|
30
|
+
/** Inside a carousel (`CardCarousel`). */
|
|
31
|
+
readonly grouped?: boolean;
|
|
32
|
+
}>;
|
|
33
|
+
|
|
34
|
+
declare function InfoCard(props: Omit<CardProps, 'Default'>): react.JSX.Element;
|
|
35
|
+
/** A card's actions: a link that passes the deep-link rule opens the tenant's page, any other goes to the session. */
|
|
36
|
+
declare function CardActions(props: Omit<CardProps, 'Default'>): react.JSX.Element | null;
|
|
37
|
+
|
|
38
|
+
declare function LinksCard(props: Omit<CardProps, 'Default'>): react.JSX.Element;
|
|
39
|
+
|
|
40
|
+
declare function ListingCard(props: Omit<CardProps, 'Default'>): react.JSX.Element;
|
|
41
|
+
/** The first letters of the first two words: "Bell's Barber Lounge" is "BB". */
|
|
42
|
+
declare function monogram(title: string): string;
|
|
43
|
+
|
|
44
|
+
declare function NextStepCard(props: Omit<CardProps, 'Default'>): react.JSX.Element;
|
|
45
|
+
|
|
46
|
+
/** A field's value as text, by its type (`text`, `list`, `time_range`, `address`, `money_cents`). */
|
|
47
|
+
declare function fieldText(type: string, value: unknown, locale: string | undefined, timeZone: string | undefined): string;
|
|
48
|
+
declare function ProposalCard(props: Omit<CardProps, 'Default'>): react.JSX.Element | null;
|
|
49
|
+
|
|
50
|
+
declare function QuestionCard(props: Omit<CardProps, 'Default'>): react.JSX.Element | null;
|
|
51
|
+
/** A recorded answer, in words. */
|
|
52
|
+
declare function answerText(question: Question, locale: string | undefined, otherLabel: string): string | null;
|
|
53
|
+
|
|
54
|
+
declare function TimeSlotsCard(props: Omit<CardProps, 'Default'>): react.JSX.Element;
|
|
55
|
+
|
|
56
|
+
declare const ActivityLine: react.NamedExoticComponent<object>;
|
|
57
|
+
|
|
58
|
+
interface VinaverseChatProps extends ChatHandlers {
|
|
59
|
+
/** The conversation (`createConversation`), created where it can outlive the screen. */
|
|
60
|
+
readonly conversation: ConversationStore;
|
|
61
|
+
/** The person's locale: the copy, dates, money and text direction (pass the same one to `getSession`). */
|
|
62
|
+
readonly locale?: string;
|
|
63
|
+
/** For dates and times on cards; default: the device's. */
|
|
64
|
+
readonly timeZone?: string;
|
|
65
|
+
readonly copy?: CopyOverrides;
|
|
66
|
+
readonly theme?: ThemeOverrides;
|
|
67
|
+
readonly colorScheme?: ColorSchemeSetting;
|
|
68
|
+
/** Parts to replace. Keep the object stable (module level, or memoized). */
|
|
69
|
+
readonly components?: ChatSlots;
|
|
70
|
+
/** The agent's picture, until the session carries one. */
|
|
71
|
+
readonly agentAvatar?: string;
|
|
72
|
+
/** Hide the header (a screen that draws its own); the disclosure stays. */
|
|
73
|
+
readonly hideHeader?: boolean;
|
|
74
|
+
/** iOS: the height above the keyboard that is not this view's (a navigation header). */
|
|
75
|
+
readonly keyboardVerticalOffset?: number;
|
|
76
|
+
/**
|
|
77
|
+
* How the composer stays above the keyboard. Default: `padding` on iOS, none on Android (the window resizes). An
|
|
78
|
+
* edge-to-edge Android app whose window does not resize passes `padding`; one that manages the keyboard itself
|
|
79
|
+
* (react-native-keyboard-controller) passes `none`.
|
|
80
|
+
*/
|
|
81
|
+
readonly keyboardBehavior?: 'padding' | 'height' | 'position' | 'none';
|
|
82
|
+
readonly style?: StyleProp<ViewStyle>;
|
|
83
|
+
/** Chips for an empty conversation when the session brings no welcome (`Session.welcome` comes first). Keep stable. */
|
|
84
|
+
readonly starters?: readonly Chip[];
|
|
85
|
+
/** Which card photos are drawn, their frame, and what stands in for one that is not. Keep stable. */
|
|
86
|
+
readonly imagePolicy?: ImagePolicy;
|
|
87
|
+
/** One chip above the composer: a question about where the person now is (`AgentChat` offers it when they moved). */
|
|
88
|
+
readonly suggestion?: Chip | null;
|
|
89
|
+
/** The suggestion chip's test id. Default `vinaverse-suggestion`. */
|
|
90
|
+
readonly suggestionTestID?: string;
|
|
91
|
+
/** Drawn under the composer, inside the kit's providers (`AgentChat`'s thumbs and footer). */
|
|
92
|
+
readonly footer?: ReactNode;
|
|
93
|
+
}
|
|
94
|
+
/** The providers alone, for a tenant composing its own layout from the exported parts. */
|
|
95
|
+
declare function VinaverseChatProvider(props: Omit<VinaverseChatProps, 'hideHeader' | 'keyboardVerticalOffset' | 'keyboardBehavior' | 'style' | 'suggestion' | 'suggestionTestID' | 'footer'> & {
|
|
96
|
+
readonly children?: ReactNode;
|
|
97
|
+
}): ReactNode;
|
|
98
|
+
declare function VinaverseChat(props: VinaverseChatProps): ReactNode;
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* The full-screen states (`Ended`, `Unreachable`, `UnavailableScreen`) are slots: each gets everything its screen
|
|
102
|
+
* needs (why, the actions, a person to contact) and the kit's own part as `Default`, so an app replaces the layout and
|
|
103
|
+
* the words entirely, or only the words through `copy`.
|
|
104
|
+
*/
|
|
105
|
+
interface AgentEndedProps {
|
|
106
|
+
readonly onStartNew: () => void;
|
|
107
|
+
/** Why: `ended`, `not_found`, `expired`, `mismatch`, `completed`. */
|
|
108
|
+
readonly reason: AgentFailureReason | null;
|
|
109
|
+
/** The API's code (`conversation_not_found`, `conversation_expired`), when it gave one. */
|
|
110
|
+
readonly code: string | null;
|
|
111
|
+
/** A person instead (the chat's `onContact`); absent when the app gave none. */
|
|
112
|
+
readonly onContact: (() => void) | undefined;
|
|
113
|
+
}
|
|
114
|
+
/** No agent here: switched off for this tenant, mode or person, or the backend refused the session. */
|
|
115
|
+
interface AgentUnavailableScreenProps {
|
|
116
|
+
/** Why: `off`, `auth`, `invalid_session`, … */
|
|
117
|
+
readonly reason: AgentFailureReason | null;
|
|
118
|
+
readonly code: string | null;
|
|
119
|
+
/** A person instead (the chat's `onContact`); absent when the app gave none. */
|
|
120
|
+
readonly onContact: (() => void) | undefined;
|
|
121
|
+
/** Ask again (after a sign-in, or the agent switched back on). */
|
|
122
|
+
readonly onRetry: () => void;
|
|
123
|
+
}
|
|
124
|
+
interface AgentUnreachableProps {
|
|
125
|
+
readonly onRetry: () => void;
|
|
126
|
+
/** Why: `network`, `server`, `rate_limited`, … */
|
|
127
|
+
readonly reason: AgentFailureReason | null;
|
|
128
|
+
/** A person instead (the chat's `onContact`); absent when the app gave none. */
|
|
129
|
+
readonly onContact: (() => void) | undefined;
|
|
130
|
+
}
|
|
131
|
+
/** A slot gets the kit's own part as `Default`, to wrap rather than rewrite. */
|
|
132
|
+
type Slot<P> = ComponentType<P & {
|
|
133
|
+
readonly Default: ComponentType<P>;
|
|
134
|
+
}>;
|
|
135
|
+
interface AgentFooterProps {
|
|
136
|
+
/** The newest whole reply's turn, to rate; null when there is none or it was restored from before. */
|
|
137
|
+
readonly turnId: string | null;
|
|
138
|
+
readonly rating: AgentRating | undefined;
|
|
139
|
+
readonly onRate: (rating: AgentRating) => void;
|
|
140
|
+
readonly onOpenPrivacy: (() => void) | undefined;
|
|
141
|
+
}
|
|
142
|
+
interface AgentChatSlots extends ChatSlots {
|
|
143
|
+
readonly Ended?: Slot<AgentEndedProps>;
|
|
144
|
+
readonly Unreachable?: Slot<AgentUnreachableProps>;
|
|
145
|
+
/**
|
|
146
|
+
* The whole screen when there is no agent (off, or the session refused). Not `Unavailable`: that is the chat's own
|
|
147
|
+
* "couldn't connect" banner, still drawn for a session that drops.
|
|
148
|
+
*/
|
|
149
|
+
readonly UnavailableScreen?: Slot<AgentUnavailableScreenProps>;
|
|
150
|
+
/** Under the composer; null hides it. Default: thumbs on the newest whole reply, and the privacy link. */
|
|
151
|
+
readonly Footer?: Slot<AgentFooterProps> | null;
|
|
152
|
+
}
|
|
153
|
+
interface AgentChatProps extends Omit<VinaverseChatProps, 'conversation' | 'components' | 'suggestion' | 'suggestionTestID' | 'footer'> {
|
|
154
|
+
/** Whose conversation: one per person, mode, business and thread. */
|
|
155
|
+
readonly agentKey: AgentKey;
|
|
156
|
+
/** Where the person asks from, told to the agent as a session opens. */
|
|
157
|
+
readonly place?: AgentPlace | null;
|
|
158
|
+
/** How the person came in: `launcher` and `ask` from the kit's parts, `deep_link`, or the app's own words. */
|
|
159
|
+
readonly entryPoint?: AgentEntryPoint | null;
|
|
160
|
+
/** The question about this place, offered when the session was told another one (`moved`). */
|
|
161
|
+
readonly askAbout?: string | null;
|
|
162
|
+
/** A person: offered on a failed turn, "couldn't connect" and no agent. */
|
|
163
|
+
readonly onContact?: () => void;
|
|
164
|
+
readonly onOpenPrivacy?: () => void;
|
|
165
|
+
/** The agent's name until the session or the status gives one. */
|
|
166
|
+
readonly agentName?: string;
|
|
167
|
+
/**
|
|
168
|
+
* A first question for a flow that asks for itself (setting a business up): a chip the person taps, offered until they
|
|
169
|
+
* say anything. Never sent in their name: what the transcript shows as theirs, they typed or tapped.
|
|
170
|
+
*/
|
|
171
|
+
readonly opener?: Chip | null;
|
|
172
|
+
/** The opener chip's test id. Default `vinaverse-opener`. */
|
|
173
|
+
readonly openerTestID?: string;
|
|
174
|
+
readonly components?: AgentChatSlots;
|
|
175
|
+
}
|
|
176
|
+
declare function AgentChat(props: AgentChatProps): ReactNode;
|
|
177
|
+
/** The newest reply when it came whole (not cut off, not a refusal): the one to rate. */
|
|
178
|
+
declare function newestWholeReply(view: {
|
|
179
|
+
readonly items: readonly _vinaverse_client_conversation.TimelineItem[];
|
|
180
|
+
}): string | null;
|
|
181
|
+
/** The conversation is over: a new one starts only when the person asks. */
|
|
182
|
+
declare function DefaultEnded(props: AgentEndedProps): ReactNode;
|
|
183
|
+
/** No agent here: says so, and offers a person when the app has one. */
|
|
184
|
+
declare function DefaultUnavailableScreen(props: AgentUnavailableScreenProps): ReactNode;
|
|
185
|
+
/** The app's backend could not be reached, after its tries: try again. */
|
|
186
|
+
declare function DefaultUnreachable(props: AgentUnreachableProps): ReactNode;
|
|
187
|
+
/** Thumbs on the newest whole reply (thanks once given), and the privacy link. */
|
|
188
|
+
declare function AgentFooter(props: AgentFooterProps): ReactNode;
|
|
189
|
+
|
|
190
|
+
declare const Avatar: react.NamedExoticComponent<{
|
|
191
|
+
readonly name: string;
|
|
192
|
+
readonly uri: string | null;
|
|
193
|
+
readonly person?: boolean;
|
|
194
|
+
}>;
|
|
195
|
+
|
|
196
|
+
interface ButtonProps {
|
|
197
|
+
readonly label: string;
|
|
198
|
+
readonly onPress: () => void;
|
|
199
|
+
readonly variant?: 'primary' | 'secondary' | 'text';
|
|
200
|
+
readonly disabled?: boolean;
|
|
201
|
+
readonly busy?: boolean;
|
|
202
|
+
/** A role other than a button: `radio` and `checkbox` for choices. */
|
|
203
|
+
readonly role?: 'button' | 'radio' | 'checkbox' | 'link';
|
|
204
|
+
readonly selected?: boolean;
|
|
205
|
+
readonly hint?: string;
|
|
206
|
+
readonly children?: ReactNode;
|
|
207
|
+
readonly testID?: string;
|
|
208
|
+
}
|
|
209
|
+
declare const Button: react.NamedExoticComponent<ButtonProps>;
|
|
210
|
+
|
|
211
|
+
declare function DefaultHeader(props: Omit<HeaderProps, 'Default'>): react.JSX.Element;
|
|
212
|
+
declare const ChatHeader: react.NamedExoticComponent<object>;
|
|
213
|
+
|
|
214
|
+
declare const ChatSkeleton: react.NamedExoticComponent<object>;
|
|
215
|
+
|
|
216
|
+
declare function DefaultComposer(props: Omit<ComposerProps, 'Default'>): react.JSX.Element;
|
|
217
|
+
declare const Composer: react.NamedExoticComponent<{
|
|
218
|
+
readonly onError?: (error: unknown) => void;
|
|
219
|
+
}>;
|
|
220
|
+
|
|
221
|
+
declare const DisclosureBar: react.NamedExoticComponent<object>;
|
|
222
|
+
|
|
223
|
+
/** The tenant's failure action as a button, or nothing when there is none. */
|
|
224
|
+
declare function FailureActionButton(props: {
|
|
225
|
+
readonly state: FailureState;
|
|
226
|
+
}): ReactNode;
|
|
227
|
+
|
|
228
|
+
declare function DefaultBubble(props: Omit<MessageBubbleProps, 'Default'>): react.JSX.Element;
|
|
229
|
+
declare const MessageBubble: react.NamedExoticComponent<{
|
|
230
|
+
readonly item: MessageItem;
|
|
231
|
+
/** The first of a run from the same author: its label is shown. */
|
|
232
|
+
readonly showAuthor: boolean;
|
|
233
|
+
}>;
|
|
234
|
+
/** The reply streaming now: the only cell that re-renders as the text arrives. */
|
|
235
|
+
declare const StreamingBubble: react.NamedExoticComponent<{
|
|
236
|
+
readonly item: MessageItem;
|
|
237
|
+
readonly showAuthor: boolean;
|
|
238
|
+
}>;
|
|
239
|
+
|
|
240
|
+
/** Rows of one kind recycle together. */
|
|
241
|
+
declare function itemType(item: TimelineItem): string;
|
|
242
|
+
/**
|
|
243
|
+
* Carousel groups of two or more cards (`group.layout: carousel`, the same `group.id` in the same turn), wherever in
|
|
244
|
+
* the turn they arrive, another card or a message between them included: drawn as one row where the group's first
|
|
245
|
+
* card is, by that card's key, with the keys of the cards the row draws after it. A row equal to the previous one is
|
|
246
|
+
* the same array, so it does not render again.
|
|
247
|
+
*/
|
|
248
|
+
declare function carousels(items: readonly TimelineItem[], previous: ReadonlyMap<string, readonly CardItem[]>): {
|
|
249
|
+
runs: Map<string, readonly CardItem[]>;
|
|
250
|
+
inside: Set<string>;
|
|
251
|
+
};
|
|
252
|
+
declare const Row: react.NamedExoticComponent<{
|
|
253
|
+
readonly item: TimelineItem;
|
|
254
|
+
readonly showAuthor: boolean;
|
|
255
|
+
/** The carousel this card starts (`components.CardGroup`). */
|
|
256
|
+
readonly run?: readonly CardItem[] | undefined;
|
|
257
|
+
/** A card a carousel earlier in the list draws. */
|
|
258
|
+
readonly inside?: boolean;
|
|
259
|
+
}>;
|
|
260
|
+
declare const MessageList: react.NamedExoticComponent<object>;
|
|
261
|
+
|
|
262
|
+
declare const StatusBanner: react.NamedExoticComponent<object>;
|
|
263
|
+
/** The kit's own "Couldn't connect." banner: try again, and the tenant's failure action when there is one. */
|
|
264
|
+
declare function DefaultUnavailable(props: {
|
|
265
|
+
readonly state: FailureState;
|
|
266
|
+
}): ReactNode;
|
|
267
|
+
|
|
268
|
+
declare const SystemRow: react.NamedExoticComponent<{
|
|
269
|
+
readonly item: SystemItem;
|
|
270
|
+
}>;
|
|
271
|
+
/** The kit's own failed-turn row: "Something went wrong.", and the tenant's failure action when there is one. */
|
|
272
|
+
declare function DefaultTurnFailed(props: {
|
|
273
|
+
readonly state: FailureState;
|
|
274
|
+
}): ReactNode;
|
|
275
|
+
|
|
276
|
+
declare const Welcome: react.NamedExoticComponent<{
|
|
277
|
+
readonly welcome: Welcome$1;
|
|
278
|
+
readonly onChip: (message: string) => void;
|
|
279
|
+
}>;
|
|
280
|
+
|
|
281
|
+
/** The part of the conversation store the adapter drives. */
|
|
282
|
+
interface LifecycleTarget {
|
|
283
|
+
setForeground(foreground: boolean): void;
|
|
284
|
+
}
|
|
285
|
+
/** Tells the store when the app comes to the foreground or goes to the background (it pings only in the foreground). */
|
|
286
|
+
declare function useNativeLifecycle(store: LifecycleTarget): void;
|
|
287
|
+
/** Whether the person asked for reduced motion: animations and animated scrolling stay off. */
|
|
288
|
+
declare function useReducedMotion(): boolean;
|
|
289
|
+
/** Reads a line to a screen reader, without moving focus. */
|
|
290
|
+
declare function announce(text: string): void;
|
|
291
|
+
|
|
292
|
+
export { ActivityLine, AgentChat, type AgentChatProps, type AgentChatSlots, type AgentEndedProps, AgentFooter, type AgentFooterProps, type AgentUnavailableScreenProps, type AgentUnreachableProps, Avatar, Button, type ButtonProps, CardActions, CardFrame, CardProps, CardView, ChatHandlers, ChatHeader, ChatSkeleton, ChatSlots, Chip, ColorSchemeSetting, Composer, ComposerProps, DefaultBubble, DefaultComposer, DefaultEnded, DefaultHeader, DefaultTurnFailed, DefaultUnavailable, DefaultUnavailableScreen, DefaultUnreachable, DisclosureBar, FailureActionButton, FailureState, HeaderProps, ImagePolicy, InfoCard, type LifecycleTarget, LinksCard, ListingCard, MessageBubble, MessageBubbleProps, MessageList, NextStepCard, ProposalCard, QuestionCard, Row, StatusBanner, StreamingBubble, SystemRow, ThemeOverrides, TimeSlotsCard, VinaverseChat, type VinaverseChatProps, VinaverseChatProvider, Welcome, allowedImage, announce, answerText, carousels, defaultCard, fieldText, itemType, monogram, newestWholeReply, ratingText, useNativeLifecycle, useReducedMotion };
|
package/dist/chat.js
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { AgentChat, AgentFooter, AgentRuntimeProvider, Composer, DefaultComposer, DefaultEnded, DefaultUnavailable, DefaultUnavailableScreen, DefaultUnreachable, StatusBanner, VinaverseChat, VinaverseChatProvider, forgetGreeting, greetedKey, newestWholeReply, useAgentConversation, useAgentFeatures, useAgentLauncher, useAgentName, useAgentProfile, useAgentRuntime, useAgentStatus, useAgentStatusState } from './chunk-2J2LIJLW.js';
|
|
2
|
+
export { ActivityLine, Avatar, Button, CardActions, CardCarousel, CardFrame, CardView, ChatHeader, ChatSkeleton, DefaultBubble, DefaultHeader, DefaultTurnFailed, DisclosureBar, FailureActionButton, InfoCard, LinksCard, ListingCard, MessageBubble, MessageList, NextStepCard, ProposalCard, QuestionCard, Row, StreamingBubble, SystemRow, TimeSlotsCard, Welcome, allowedImage, answerText, carousels, defaultCard, fieldText, itemType, monogram, ratingText, useChat } from './chunk-KSHDF3MG.js';
|
|
3
|
+
export { ThemeProvider, announce, createTheme, themeProblems, useNativeLifecycle, useReducedMotion, useTheme } from './chunk-EFEXTVIT.js';
|
|
4
|
+
//# sourceMappingURL=chat.js.map
|
|
5
|
+
//# sourceMappingURL=chat.js.map
|
package/dist/chat.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"chat.js"}
|