@factorialco/f0-react 1.346.0 → 1.348.0
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/{DataCollectionStorageProvider-hMAvFkmY.js → DataCollectionStorageProvider-CBrAqjA6.js} +1 -1
- package/dist/{F0AiChat-DwdTiTfe.js → F0AiChat-zZ3n4mtZ.js} +16106 -16077
- package/dist/F0HILActionConfirmation-vCrEe127.js +1205 -0
- package/dist/ai.d.ts +554 -3
- package/dist/ai.js +37 -32
- package/dist/experimental.js +3563 -3571
- package/dist/f0.d.ts +28 -0
- package/dist/f0.js +218 -217
- package/dist/styles.css +1 -1
- package/package.json +5 -1
- package/dist/F0HILActionConfirmation-DZ7lrrAm.js +0 -80
package/dist/ai.d.ts
CHANGED
|
@@ -1,15 +1,22 @@
|
|
|
1
|
+
import { AgentState } from '@livekit/components-react';
|
|
1
2
|
import { AIMessage } from '@copilotkit/shared';
|
|
2
3
|
import { AssistantMessageProps } from '@copilotkit/react-ui';
|
|
4
|
+
import { ClassValue } from 'cva';
|
|
5
|
+
import { ComponentProps } from 'react';
|
|
3
6
|
import { Context } from 'react';
|
|
4
7
|
import { CopilotKitProps } from '@copilotkit/react-core';
|
|
5
8
|
import { ForwardRefExoticComponent } from 'react';
|
|
6
9
|
import { JSX as JSX_2 } from 'react';
|
|
10
|
+
import { LocalAudioTrack } from 'livekit-client';
|
|
7
11
|
import { Message } from '@copilotkit/shared';
|
|
8
12
|
import { MessagesProps } from '@copilotkit/react-ui';
|
|
9
13
|
import { ReactNode } from 'react';
|
|
10
14
|
import { RefAttributes } from 'react';
|
|
15
|
+
import { RemoteAudioTrack } from 'livekit-client';
|
|
11
16
|
import { SVGProps } from 'react';
|
|
12
17
|
import * as SwitchPrimitive from '@radix-ui/react-switch';
|
|
18
|
+
import { TrackReferenceOrPlaceholder } from '@livekit/components-react';
|
|
19
|
+
import { VariantProps } from 'cva';
|
|
13
20
|
|
|
14
21
|
export declare function A({ children, ...props }: React.AnchorHTMLAttributes<HTMLAnchorElement>): JSX_2.Element;
|
|
15
22
|
|
|
@@ -17,6 +24,8 @@ export declare type ActionItemStatus = (typeof actionItemStatuses)[number];
|
|
|
17
24
|
|
|
18
25
|
export declare const actionItemStatuses: readonly ["inProgress", "executing", "completed"];
|
|
19
26
|
|
|
27
|
+
/* Excluded from this release type: AgentState */
|
|
28
|
+
|
|
20
29
|
/**
|
|
21
30
|
* Props for the AiChatProvider component
|
|
22
31
|
*/
|
|
@@ -108,7 +117,7 @@ declare interface AiChatState {
|
|
|
108
117
|
/**
|
|
109
118
|
* AI Chat translations type
|
|
110
119
|
*/
|
|
111
|
-
export declare type AiChatTranslations =
|
|
120
|
+
export declare type AiChatTranslations = TranslationShape_2<typeof aiTranslations>;
|
|
112
121
|
|
|
113
122
|
export declare function AiChatTranslationsProvider({ children, translations, }: AiChatTranslationsProviderProps): JSX.Element;
|
|
114
123
|
|
|
@@ -159,6 +168,501 @@ export declare function Blockquote({ children, ...props }: React.HTMLAttributes<
|
|
|
159
168
|
|
|
160
169
|
export declare const ChatSpinner: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
|
|
161
170
|
|
|
171
|
+
export declare const defaultTranslations: {
|
|
172
|
+
readonly countries: {
|
|
173
|
+
ad: string;
|
|
174
|
+
ae: string;
|
|
175
|
+
af: string;
|
|
176
|
+
ag: string;
|
|
177
|
+
ai: string;
|
|
178
|
+
al: string;
|
|
179
|
+
am: string;
|
|
180
|
+
ao: string;
|
|
181
|
+
ar: string;
|
|
182
|
+
as: string;
|
|
183
|
+
at: string;
|
|
184
|
+
au: string;
|
|
185
|
+
aw: string;
|
|
186
|
+
ax: string;
|
|
187
|
+
az: string;
|
|
188
|
+
ba: string;
|
|
189
|
+
bb: string;
|
|
190
|
+
bd: string;
|
|
191
|
+
be: string;
|
|
192
|
+
bf: string;
|
|
193
|
+
bg: string;
|
|
194
|
+
bh: string;
|
|
195
|
+
bi: string;
|
|
196
|
+
bj: string;
|
|
197
|
+
bm: string;
|
|
198
|
+
bo: string;
|
|
199
|
+
br: string;
|
|
200
|
+
bt: string;
|
|
201
|
+
bw: string;
|
|
202
|
+
by: string;
|
|
203
|
+
bz: string;
|
|
204
|
+
ca: string;
|
|
205
|
+
cd: string;
|
|
206
|
+
cf: string;
|
|
207
|
+
cg: string;
|
|
208
|
+
ch: string;
|
|
209
|
+
ci: string;
|
|
210
|
+
ck: string;
|
|
211
|
+
cl: string;
|
|
212
|
+
cm: string;
|
|
213
|
+
cn: string;
|
|
214
|
+
co: string;
|
|
215
|
+
cr: string;
|
|
216
|
+
cu: string;
|
|
217
|
+
cv: string;
|
|
218
|
+
cw: string;
|
|
219
|
+
cy: string;
|
|
220
|
+
cz: string;
|
|
221
|
+
de: string;
|
|
222
|
+
dj: string;
|
|
223
|
+
dk: string;
|
|
224
|
+
dm: string;
|
|
225
|
+
do: string;
|
|
226
|
+
dz: string;
|
|
227
|
+
ec: string;
|
|
228
|
+
ee: string;
|
|
229
|
+
eg: string;
|
|
230
|
+
er: string;
|
|
231
|
+
es: string;
|
|
232
|
+
et: string;
|
|
233
|
+
fi: string;
|
|
234
|
+
fj: string;
|
|
235
|
+
fk: string;
|
|
236
|
+
fm: string;
|
|
237
|
+
fo: string;
|
|
238
|
+
fr: string;
|
|
239
|
+
ga: string;
|
|
240
|
+
gb: string;
|
|
241
|
+
gd: string;
|
|
242
|
+
ge: string;
|
|
243
|
+
gg: string;
|
|
244
|
+
gh: string;
|
|
245
|
+
gi: string;
|
|
246
|
+
gl: string;
|
|
247
|
+
gm: string;
|
|
248
|
+
gn: string;
|
|
249
|
+
gq: string;
|
|
250
|
+
gr: string;
|
|
251
|
+
gt: string;
|
|
252
|
+
gu: string;
|
|
253
|
+
gw: string;
|
|
254
|
+
hk: string;
|
|
255
|
+
hn: string;
|
|
256
|
+
hr: string;
|
|
257
|
+
ht: string;
|
|
258
|
+
hu: string;
|
|
259
|
+
id: string;
|
|
260
|
+
ie: string;
|
|
261
|
+
il: string;
|
|
262
|
+
im: string;
|
|
263
|
+
in: string;
|
|
264
|
+
io: string;
|
|
265
|
+
iq: string;
|
|
266
|
+
ir: string;
|
|
267
|
+
is: string;
|
|
268
|
+
it: string;
|
|
269
|
+
je: string;
|
|
270
|
+
jm: string;
|
|
271
|
+
jo: string;
|
|
272
|
+
jp: string;
|
|
273
|
+
ke: string;
|
|
274
|
+
};
|
|
275
|
+
readonly approvals: {
|
|
276
|
+
readonly history: "Approval history";
|
|
277
|
+
readonly statuses: {
|
|
278
|
+
readonly waiting: "Waiting";
|
|
279
|
+
readonly pending: "Pending";
|
|
280
|
+
readonly approved: "Approved";
|
|
281
|
+
readonly rejected: "Rejected";
|
|
282
|
+
};
|
|
283
|
+
readonly requiredNumbers: {
|
|
284
|
+
readonly one: "One approval required";
|
|
285
|
+
readonly other: "{{count}} approvals required";
|
|
286
|
+
};
|
|
287
|
+
};
|
|
288
|
+
readonly navigation: {
|
|
289
|
+
readonly sidebar: {
|
|
290
|
+
readonly label: "Main navigation";
|
|
291
|
+
readonly companySelector: {
|
|
292
|
+
readonly label: "Select a company";
|
|
293
|
+
readonly placeholder: "Select a company";
|
|
294
|
+
};
|
|
295
|
+
};
|
|
296
|
+
readonly previous: "Previous";
|
|
297
|
+
readonly next: "Next";
|
|
298
|
+
};
|
|
299
|
+
readonly inputs: {
|
|
300
|
+
readonly password: {
|
|
301
|
+
readonly show: "Show password";
|
|
302
|
+
readonly hide: "Hide password";
|
|
303
|
+
};
|
|
304
|
+
};
|
|
305
|
+
readonly actions: {
|
|
306
|
+
readonly add: "Add";
|
|
307
|
+
readonly edit: "Edit";
|
|
308
|
+
readonly save: "Save";
|
|
309
|
+
readonly send: "Send";
|
|
310
|
+
readonly cancel: "Cancel";
|
|
311
|
+
readonly delete: "Delete";
|
|
312
|
+
readonly copy: "Copy";
|
|
313
|
+
readonly paste: "Paste";
|
|
314
|
+
readonly close: "Close";
|
|
315
|
+
readonly collapse: "Collapse";
|
|
316
|
+
readonly expand: "Expand";
|
|
317
|
+
readonly showAll: "Show all";
|
|
318
|
+
readonly showLess: "Show less";
|
|
319
|
+
readonly skipToContent: "Skip to content";
|
|
320
|
+
readonly view: "View";
|
|
321
|
+
readonly unselect: "Unselect";
|
|
322
|
+
readonly search: "Search";
|
|
323
|
+
readonly clear: "Clear";
|
|
324
|
+
readonly more: "More";
|
|
325
|
+
readonly moveUp: "Move up";
|
|
326
|
+
readonly moveDown: "Move down";
|
|
327
|
+
readonly thumbsUp: "Like";
|
|
328
|
+
readonly thumbsDown: "Dislike";
|
|
329
|
+
readonly other: "Other actions";
|
|
330
|
+
readonly toggle: "Toggle";
|
|
331
|
+
readonly toggleDropdownMenu: "Toggle dropdown menu";
|
|
332
|
+
readonly selectAll: "Select all";
|
|
333
|
+
};
|
|
334
|
+
readonly status: {
|
|
335
|
+
readonly selected: {
|
|
336
|
+
readonly singular: "Selected";
|
|
337
|
+
readonly plural: "Selected";
|
|
338
|
+
readonly all: "All selected";
|
|
339
|
+
};
|
|
340
|
+
};
|
|
341
|
+
readonly syncStatus: {
|
|
342
|
+
readonly synced: "Sync completed successfully.";
|
|
343
|
+
readonly syncing: "Sync in progress.";
|
|
344
|
+
readonly pending: "Not yet started.";
|
|
345
|
+
readonly partiallySynced: "All aggregated data was synced but at least 1 failed.";
|
|
346
|
+
readonly outdated: "Data might need to be synced again.";
|
|
347
|
+
readonly failed: "Sync failed.";
|
|
348
|
+
};
|
|
349
|
+
readonly filters: {
|
|
350
|
+
readonly searchPlaceholder: "Search filters...";
|
|
351
|
+
readonly inFilter: {
|
|
352
|
+
readonly searchPlaceholder: "Search options...";
|
|
353
|
+
};
|
|
354
|
+
readonly activeFilters: "Active filters: {{filters}}";
|
|
355
|
+
readonly filteringBy: "Filtering by {{label}}";
|
|
356
|
+
readonly availableFilters: "Available filters";
|
|
357
|
+
readonly label: "Filters";
|
|
358
|
+
readonly applyFilters: "Apply filters";
|
|
359
|
+
readonly applySelection: "Apply selection";
|
|
360
|
+
readonly cancel: "Cancel";
|
|
361
|
+
readonly failedToLoadOptions: "Failed to load options";
|
|
362
|
+
readonly retry: "Retry";
|
|
363
|
+
readonly number: {
|
|
364
|
+
readonly value: "Value";
|
|
365
|
+
readonly equal: "Equal to";
|
|
366
|
+
readonly equalTo: "Equal to {{value}}";
|
|
367
|
+
readonly lessOrEqual: "Less or equal to";
|
|
368
|
+
readonly lessThan: "Less than";
|
|
369
|
+
readonly greaterOrEqual: "Greater or equal to";
|
|
370
|
+
readonly greaterThan: "Greater than";
|
|
371
|
+
readonly equalShort: "= {{value}}";
|
|
372
|
+
readonly greaterThanOrEqualShort: ">= {{value}}";
|
|
373
|
+
readonly greaterThanShort: "> {{value}}";
|
|
374
|
+
readonly lessThanOrEqualShort: "<= {{value}}";
|
|
375
|
+
readonly lessThanShort: "< {{value}}";
|
|
376
|
+
readonly rangeTitle: "Use range";
|
|
377
|
+
readonly range: "{{minStrict}} {{min}} and {{maxStrict}} {{max}}";
|
|
378
|
+
};
|
|
379
|
+
readonly search: {
|
|
380
|
+
readonly relaxed: "Relaxed";
|
|
381
|
+
readonly strict: "Strict";
|
|
382
|
+
};
|
|
383
|
+
readonly selectAll: "Select all";
|
|
384
|
+
readonly clear: "Clear";
|
|
385
|
+
};
|
|
386
|
+
readonly toc: {
|
|
387
|
+
readonly search: "Search...";
|
|
388
|
+
};
|
|
389
|
+
readonly collections: {
|
|
390
|
+
readonly sorting: {
|
|
391
|
+
readonly noSorting: "No sorting";
|
|
392
|
+
readonly toggleDirection: "Toggle sorting direction";
|
|
393
|
+
readonly sortBy: "Sort by";
|
|
394
|
+
};
|
|
395
|
+
readonly grouping: {
|
|
396
|
+
readonly noGrouping: "No grouping";
|
|
397
|
+
readonly groupBy: "Group by";
|
|
398
|
+
readonly toggleDirection: "Toggle direction";
|
|
399
|
+
};
|
|
400
|
+
readonly actions: {
|
|
401
|
+
readonly actions: "Actions";
|
|
402
|
+
};
|
|
403
|
+
readonly visualizations: {
|
|
404
|
+
readonly table: "Table view";
|
|
405
|
+
readonly card: "Card view";
|
|
406
|
+
readonly list: "List view";
|
|
407
|
+
readonly kanban: "Kanban view";
|
|
408
|
+
readonly pagination: {
|
|
409
|
+
readonly of: "of";
|
|
410
|
+
};
|
|
411
|
+
readonly settings: "{{visualizationName}} settings";
|
|
412
|
+
readonly reset: "Reset to default";
|
|
413
|
+
};
|
|
414
|
+
readonly table: {
|
|
415
|
+
readonly settings: {
|
|
416
|
+
readonly showAllColumns: "Show all";
|
|
417
|
+
readonly hideAllColumns: "Hide all";
|
|
418
|
+
};
|
|
419
|
+
};
|
|
420
|
+
readonly itemsCount: "items";
|
|
421
|
+
readonly emptyStates: {
|
|
422
|
+
readonly noData: {
|
|
423
|
+
readonly title: "No data";
|
|
424
|
+
readonly description: "No data available";
|
|
425
|
+
};
|
|
426
|
+
readonly noResults: {
|
|
427
|
+
readonly title: "No results";
|
|
428
|
+
readonly description: "No results found try another search or clear the filters";
|
|
429
|
+
readonly clearFilters: "Clear filters";
|
|
430
|
+
};
|
|
431
|
+
readonly error: {
|
|
432
|
+
readonly title: "Error";
|
|
433
|
+
readonly description: "An error occurred while loading the data";
|
|
434
|
+
readonly retry: "Retry";
|
|
435
|
+
};
|
|
436
|
+
};
|
|
437
|
+
readonly summaries: {
|
|
438
|
+
readonly types: {
|
|
439
|
+
readonly sum: "sum";
|
|
440
|
+
};
|
|
441
|
+
};
|
|
442
|
+
};
|
|
443
|
+
readonly shortcut: "Shortcut";
|
|
444
|
+
readonly date: {
|
|
445
|
+
readonly from: "From";
|
|
446
|
+
readonly to: "To";
|
|
447
|
+
readonly none: "None";
|
|
448
|
+
readonly date: "Date";
|
|
449
|
+
readonly custom: "Custom period";
|
|
450
|
+
readonly selectDate: "Select Date";
|
|
451
|
+
readonly compareTo: "Compare to";
|
|
452
|
+
readonly presets: {
|
|
453
|
+
readonly last7Days: "Last 7 days";
|
|
454
|
+
readonly last30Days: "Last 30 days";
|
|
455
|
+
readonly last3Months: "Last 3 months";
|
|
456
|
+
readonly last6Months: "Last 6 months";
|
|
457
|
+
readonly lastYear: "Last year";
|
|
458
|
+
readonly last3Years: "Last 3 years";
|
|
459
|
+
readonly last100Years: "Last 100 years";
|
|
460
|
+
};
|
|
461
|
+
readonly range: "Range";
|
|
462
|
+
readonly selectedBy: "Selected by";
|
|
463
|
+
readonly groups: {
|
|
464
|
+
readonly today: "Today";
|
|
465
|
+
readonly yesterday: "Yesterday";
|
|
466
|
+
readonly lastWeek: "Last week";
|
|
467
|
+
readonly lastMonth: "Last month";
|
|
468
|
+
readonly other: "Other";
|
|
469
|
+
};
|
|
470
|
+
readonly granularities: {
|
|
471
|
+
readonly day: {
|
|
472
|
+
readonly currentDate: "Today";
|
|
473
|
+
readonly label: "Day";
|
|
474
|
+
};
|
|
475
|
+
readonly week: {
|
|
476
|
+
readonly currentDate: "This week";
|
|
477
|
+
readonly label: "Week";
|
|
478
|
+
readonly long: "Week of {{day}} {{month}} {{year}}";
|
|
479
|
+
readonly longSingular: "Week of {{date}}";
|
|
480
|
+
readonly longPlural: "Weeks of {{date}}";
|
|
481
|
+
};
|
|
482
|
+
readonly month: {
|
|
483
|
+
readonly currentDate: "This month";
|
|
484
|
+
readonly label: "Month";
|
|
485
|
+
};
|
|
486
|
+
readonly quarter: {
|
|
487
|
+
readonly currentDate: "This quarter";
|
|
488
|
+
readonly label: "Quarter";
|
|
489
|
+
};
|
|
490
|
+
readonly halfyear: {
|
|
491
|
+
readonly currentDate: "This half year";
|
|
492
|
+
readonly label: "Half year";
|
|
493
|
+
};
|
|
494
|
+
readonly year: {
|
|
495
|
+
readonly currentDate: "This year";
|
|
496
|
+
readonly label: "Year";
|
|
497
|
+
};
|
|
498
|
+
readonly range: {
|
|
499
|
+
readonly currentDate: "Today";
|
|
500
|
+
readonly label: "Range";
|
|
501
|
+
};
|
|
502
|
+
};
|
|
503
|
+
readonly month: {
|
|
504
|
+
readonly january: "January";
|
|
505
|
+
readonly february: "February";
|
|
506
|
+
readonly march: "March";
|
|
507
|
+
readonly april: "April";
|
|
508
|
+
readonly may: "May";
|
|
509
|
+
readonly june: "June";
|
|
510
|
+
readonly july: "July";
|
|
511
|
+
readonly august: "August";
|
|
512
|
+
readonly september: "September";
|
|
513
|
+
readonly october: "October";
|
|
514
|
+
readonly november: "November";
|
|
515
|
+
readonly december: "December";
|
|
516
|
+
};
|
|
517
|
+
};
|
|
518
|
+
readonly favorites: {
|
|
519
|
+
readonly favorites: "Favorites";
|
|
520
|
+
readonly remove: "Remove favorite";
|
|
521
|
+
};
|
|
522
|
+
readonly notifications: "Notifications";
|
|
523
|
+
readonly ai: {
|
|
524
|
+
readonly openChat: "Open Chat with One AI";
|
|
525
|
+
readonly closeChat: "Close Chat with One AI";
|
|
526
|
+
readonly startNewChat: "Start new chat";
|
|
527
|
+
readonly scrollToBottom: "Scroll to bottom";
|
|
528
|
+
readonly welcome: "Ask or create with One";
|
|
529
|
+
readonly defaultInitialMessage: "How can I help you today?";
|
|
530
|
+
readonly inputPlaceholder: "Ask about time, people, or company info and a lot of other things...";
|
|
531
|
+
readonly stopAnswerGeneration: "Stop generating";
|
|
532
|
+
readonly sendMessage: "Send message";
|
|
533
|
+
readonly thoughtsGroupTitle: "Reflection";
|
|
534
|
+
readonly resourcesGroupTitle: "Resources";
|
|
535
|
+
readonly thinking: "Thinking...";
|
|
536
|
+
readonly exportTable: "Download table";
|
|
537
|
+
readonly generatedTableFilename: "OneGeneratedTable";
|
|
538
|
+
readonly feedbackModal: {
|
|
539
|
+
readonly positive: {
|
|
540
|
+
readonly title: "What did you like about this response?";
|
|
541
|
+
readonly label: "Your feedback helps us make Factorial AI better";
|
|
542
|
+
readonly placeholder: "Share what worked well";
|
|
543
|
+
};
|
|
544
|
+
readonly negative: {
|
|
545
|
+
readonly title: "What could have been better?";
|
|
546
|
+
readonly label: "Your feedback helps us improve future answers";
|
|
547
|
+
readonly placeholder: "Share what didn’t work";
|
|
548
|
+
};
|
|
549
|
+
};
|
|
550
|
+
readonly ask: "Ask One";
|
|
551
|
+
};
|
|
552
|
+
readonly select: {
|
|
553
|
+
readonly noResults: "No results found";
|
|
554
|
+
readonly loadingMore: "Loading...";
|
|
555
|
+
readonly applySelection: "Apply selection";
|
|
556
|
+
};
|
|
557
|
+
readonly numberInput: {
|
|
558
|
+
readonly between: "It should be between {{min}} and {{max}}";
|
|
559
|
+
readonly greaterThan: "It should be greater than {{min}}";
|
|
560
|
+
readonly lessThan: "It should be less than {{max}}";
|
|
561
|
+
};
|
|
562
|
+
readonly imageUpload: {
|
|
563
|
+
readonly uploading: "Uploading...";
|
|
564
|
+
readonly uploadError: "Upload failed";
|
|
565
|
+
readonly insertImage: "Image";
|
|
566
|
+
readonly deleteImage: "Delete";
|
|
567
|
+
readonly errors: {
|
|
568
|
+
readonly fileTooLarge: "The file is too large";
|
|
569
|
+
readonly invalidType: "Invalid file type. Only images are allowed";
|
|
570
|
+
readonly uploadFailed: "Failed to upload image. Please try again";
|
|
571
|
+
readonly dismiss: "Dismiss";
|
|
572
|
+
};
|
|
573
|
+
};
|
|
574
|
+
readonly coCreationForm: {
|
|
575
|
+
readonly actions: {
|
|
576
|
+
readonly actions: "Actions";
|
|
577
|
+
readonly duplicateQuestion: "Duplicate question";
|
|
578
|
+
readonly deleteQuestion: "Delete question";
|
|
579
|
+
readonly duplicateSection: "Duplicate section";
|
|
580
|
+
readonly deleteSection: "Delete section";
|
|
581
|
+
};
|
|
582
|
+
readonly questionTypes: {
|
|
583
|
+
readonly section: "Section";
|
|
584
|
+
readonly rating: "Rating";
|
|
585
|
+
readonly multipleChoice: "Multiple choice";
|
|
586
|
+
readonly singleChoice: "Single choice";
|
|
587
|
+
readonly text: "Text";
|
|
588
|
+
readonly longText: "Long text";
|
|
589
|
+
readonly numeric: "Numeric";
|
|
590
|
+
readonly link: "Link";
|
|
591
|
+
readonly date: "Date";
|
|
592
|
+
};
|
|
593
|
+
readonly selectQuestion: {
|
|
594
|
+
readonly addOption: "Add option";
|
|
595
|
+
readonly newOption: "New option {{number}}";
|
|
596
|
+
readonly markAsCorrect: "Mark as correct";
|
|
597
|
+
readonly remove: "Remove";
|
|
598
|
+
readonly correct: "Correct";
|
|
599
|
+
readonly optionPlaceholder: "Type anything you want here...";
|
|
600
|
+
};
|
|
601
|
+
readonly answer: {
|
|
602
|
+
readonly label: "Answer";
|
|
603
|
+
readonly placeholder: "Respondent's answer";
|
|
604
|
+
};
|
|
605
|
+
readonly labels: {
|
|
606
|
+
readonly applyingChanges: "Applying changes";
|
|
607
|
+
readonly endOfSection: "End of section";
|
|
608
|
+
readonly title: "Title";
|
|
609
|
+
readonly titlePlaceholder: "Question title";
|
|
610
|
+
readonly description: "Description";
|
|
611
|
+
readonly questionDescriptionPlaceholder: "Describe the question in a few words";
|
|
612
|
+
readonly sectionDescriptionPlaceholder: "Describe the section in a few words";
|
|
613
|
+
readonly required: "Required";
|
|
614
|
+
readonly questionType: "Question type";
|
|
615
|
+
readonly questionOptions: "Question options";
|
|
616
|
+
readonly actions: "Actions";
|
|
617
|
+
readonly sectionTitlePlaceholder: "Section title";
|
|
618
|
+
};
|
|
619
|
+
};
|
|
620
|
+
readonly richTextEditor: {
|
|
621
|
+
readonly bold: "Bold";
|
|
622
|
+
readonly italic: "Italic";
|
|
623
|
+
readonly underline: "Underline";
|
|
624
|
+
readonly strike: "Strike";
|
|
625
|
+
readonly highlight: "Highlight";
|
|
626
|
+
readonly heading1: "Heading 1";
|
|
627
|
+
readonly heading2: "Heading 2";
|
|
628
|
+
readonly heading3: "Heading 3";
|
|
629
|
+
readonly left: "Left";
|
|
630
|
+
readonly center: "Center";
|
|
631
|
+
readonly right: "Right";
|
|
632
|
+
readonly justify: "Justify";
|
|
633
|
+
readonly bulletList: "Bullet List";
|
|
634
|
+
readonly orderedList: "Ordered List";
|
|
635
|
+
readonly taskList: "Task List";
|
|
636
|
+
readonly codeBlock: "Code Block";
|
|
637
|
+
readonly horizontalRule: "Horizontal Rule";
|
|
638
|
+
readonly quote: "Quote";
|
|
639
|
+
readonly moreOptions: "More Options";
|
|
640
|
+
readonly code: "Code";
|
|
641
|
+
readonly divider: "Divider";
|
|
642
|
+
readonly bullet: "Bullet";
|
|
643
|
+
readonly ordered: "Ordered";
|
|
644
|
+
readonly task: "Task";
|
|
645
|
+
readonly details: "Dropdown";
|
|
646
|
+
readonly link: "Link";
|
|
647
|
+
readonly linkPlaceholder: "Enter a link";
|
|
648
|
+
readonly groups: {
|
|
649
|
+
readonly textStyles: "Text Styles";
|
|
650
|
+
readonly lists: "Lists";
|
|
651
|
+
readonly blocks: "Blocks";
|
|
652
|
+
};
|
|
653
|
+
readonly ai: {
|
|
654
|
+
readonly enhanceButtonLabel: "Enhance";
|
|
655
|
+
readonly loadingEnhanceLabel: "Loading...";
|
|
656
|
+
readonly defaultError: "An error occurred while loading";
|
|
657
|
+
readonly closeErrorButtonLabel: "Continue editing";
|
|
658
|
+
readonly acceptChangesButtonLabel: "Accept";
|
|
659
|
+
readonly rejectChangesButtonLabel: "Reject";
|
|
660
|
+
readonly repeatButtonLabel: "Repeat";
|
|
661
|
+
readonly customPromptPlaceholder: "What do you want to do?";
|
|
662
|
+
};
|
|
663
|
+
};
|
|
664
|
+
};
|
|
665
|
+
|
|
162
666
|
export declare function downloadTableAsExcel(table: HTMLTableElement, filename?: string): void;
|
|
163
667
|
|
|
164
668
|
export declare function Em({ children, ...props }: React.HTMLAttributes<HTMLSpanElement>): JSX_2.Element;
|
|
@@ -257,6 +761,28 @@ export declare interface F0AiCollapsibleMessageProps {
|
|
|
257
761
|
*/
|
|
258
762
|
export declare const F0AiFullscreenChat: () => JSX_2.Element | null;
|
|
259
763
|
|
|
764
|
+
export declare function F0AuraVoiceAnimation({ size, state, color, colorShift, audioTrack, themeMode, className, ref, ...props }: F0AuraVoiceAnimationProps & ComponentProps<"div"> & VariantProps<typeof F0AuraVoiceAnimationVariants>): JSX_2.Element;
|
|
765
|
+
|
|
766
|
+
export declare interface F0AuraVoiceAnimationProps {
|
|
767
|
+
className?: string;
|
|
768
|
+
size?: "icon" | "sm" | "md" | "lg" | "xl";
|
|
769
|
+
state?: AgentState;
|
|
770
|
+
color?: string;
|
|
771
|
+
colorShift?: number;
|
|
772
|
+
themeMode?: "dark" | "light";
|
|
773
|
+
audioTrack?: LocalAudioTrack | RemoteAudioTrack | TrackReferenceOrPlaceholder;
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
declare const F0AuraVoiceAnimationVariants: (props?: ({
|
|
777
|
+
size?: "lg" | "md" | "sm" | "icon" | "xl" | undefined;
|
|
778
|
+
} & ({
|
|
779
|
+
class?: ClassValue;
|
|
780
|
+
className?: never;
|
|
781
|
+
} | {
|
|
782
|
+
class?: never;
|
|
783
|
+
className?: ClassValue;
|
|
784
|
+
})) | undefined) => string;
|
|
785
|
+
|
|
260
786
|
export declare const F0HILActionConfirmation: ({ text, confirmationText, onConfirm, cancelText, onCancel, }: F0HILActionConfirmationProps) => JSX_2.Element;
|
|
261
787
|
|
|
262
788
|
/**
|
|
@@ -402,6 +928,13 @@ export declare function H3({ children, ...props }: React.HTMLAttributes<HTMLHead
|
|
|
402
928
|
|
|
403
929
|
export declare function Hr({ ...props }: React.HTMLAttributes<HTMLHRElement>): JSX_2.Element;
|
|
404
930
|
|
|
931
|
+
export declare function I18nProvider({ children, translations, }: I18nProviderProps): JSX.Element;
|
|
932
|
+
|
|
933
|
+
export declare interface I18nProviderProps {
|
|
934
|
+
children: ReactNode;
|
|
935
|
+
translations: TranslationsType;
|
|
936
|
+
}
|
|
937
|
+
|
|
405
938
|
declare type IconType = ForwardRefExoticComponent<SVGProps<SVGSVGElement> & RefAttributes<SVGSVGElement> & {
|
|
406
939
|
animate?: "normal" | "animate";
|
|
407
940
|
}>;
|
|
@@ -409,6 +942,8 @@ declare type IconType = ForwardRefExoticComponent<SVGProps<SVGSVGElement> & RefA
|
|
|
409
942
|
declare function Image_2({ src, alt, ...props }: React.ImgHTMLAttributes<HTMLImageElement>): JSX_2.Element;
|
|
410
943
|
export { Image_2 as Image }
|
|
411
944
|
|
|
945
|
+
declare type Join<T extends string[], D extends string> = T extends [] ? never : T extends [infer F] ? F : T extends [infer F, ...infer R] ? F extends string ? `${F}${D}${Join<Extract<R, string[]>, D>}` : never : string;
|
|
946
|
+
|
|
412
947
|
export declare function Li({ children, ...props }: React.HTMLAttributes<HTMLLIElement>): JSX_2.Element;
|
|
413
948
|
|
|
414
949
|
export declare function Ol({ children, ...props }: React.HTMLAttributes<HTMLOListElement>): JSX_2.Element;
|
|
@@ -419,6 +954,10 @@ export declare const oneIconSizes: readonly ["xs", "sm", "md", "lg"];
|
|
|
419
954
|
|
|
420
955
|
export declare function P({ children, ...props }: React.HTMLAttributes<HTMLParagraphElement>): JSX_2.Element;
|
|
421
956
|
|
|
957
|
+
declare type PathsToStringProps<T> = T extends string ? [] : {
|
|
958
|
+
[K in Extract<keyof T, string>]: [K, ...PathsToStringProps<T[K]>];
|
|
959
|
+
}[Extract<keyof T, string>];
|
|
960
|
+
|
|
422
961
|
export declare function Pre({ children, ...props }: React.HTMLAttributes<HTMLPreElement>): JSX_2.Element;
|
|
423
962
|
|
|
424
963
|
export declare function Strong({ children, ...props }: React.HTMLAttributes<HTMLSpanElement>): JSX_2.Element;
|
|
@@ -429,13 +968,21 @@ export declare function Td({ children, ...props }: React.HTMLAttributes<HTMLTabl
|
|
|
429
968
|
|
|
430
969
|
export declare function Th({ children, ...props }: React.HTMLAttributes<HTMLTableCellElement>): JSX_2.Element;
|
|
431
970
|
|
|
971
|
+
declare type TranslationKey = Join<PathsToStringProps<typeof defaultTranslations>, ".">;
|
|
972
|
+
|
|
973
|
+
declare type TranslationShape<T> = {
|
|
974
|
+
[K in keyof T]: T[K] extends string ? string : T[K] extends Record<string, string | Record<string, unknown>> ? TranslationShape<T[K]> : never;
|
|
975
|
+
};
|
|
976
|
+
|
|
432
977
|
/**
|
|
433
978
|
* Translation shape helper type
|
|
434
979
|
*/
|
|
435
|
-
declare type
|
|
436
|
-
[K in keyof T]: T[K] extends string ? string : T[K] extends Record<string, string | Record<string, unknown>> ?
|
|
980
|
+
declare type TranslationShape_2<T> = {
|
|
981
|
+
[K in keyof T]: T[K] extends string ? string : T[K] extends Record<string, string | Record<string, unknown>> ? TranslationShape_2<T[K]> : never;
|
|
437
982
|
};
|
|
438
983
|
|
|
984
|
+
export declare type TranslationsType = TranslationShape<typeof defaultTranslations>;
|
|
985
|
+
|
|
439
986
|
export declare function Ul({ children, ...props }: React.HTMLAttributes<HTMLUListElement>): JSX_2.Element;
|
|
440
987
|
|
|
441
988
|
export declare function useAiChat(): AiChatProviderReturnValue;
|
|
@@ -455,6 +1002,10 @@ export declare function useAiChatTranslations(): AiChatTranslations;
|
|
|
455
1002
|
*/
|
|
456
1003
|
export declare const useDefaultCopilotActions: () => void;
|
|
457
1004
|
|
|
1005
|
+
export declare function useI18n(): TranslationsType & {
|
|
1006
|
+
t: (key: TranslationKey, args?: Record<string, string | number>) => string;
|
|
1007
|
+
};
|
|
1008
|
+
|
|
458
1009
|
/**
|
|
459
1010
|
* Hook to register the message sources action.
|
|
460
1011
|
* Attaches information sources to the assistant's response to show where the AI got its information from.
|