@factorialco/f0-react 1.303.5 → 1.304.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.
@@ -437,6 +437,8 @@ declare type AiChatProviderReturnValue = {
437
437
  shouldPlayEntranceAnimation: boolean;
438
438
  setShouldPlayEntranceAnimation: React.Dispatch<React.SetStateAction<boolean>>;
439
439
  tmp_setAgent: (agent?: string) => void;
440
+ placeholders: string[];
441
+ setPlaceholders: React.Dispatch<React.SetStateAction<string[]>>;
440
442
  /**
441
443
  * Set the amount of minutes after which the chat will be cleared automatically
442
444
  * Set `null` to disable auto-clearing
@@ -473,6 +475,8 @@ declare interface AiChatState {
473
475
  agent?: string;
474
476
  initialMessage?: string | string[];
475
477
  welcomeScreenSuggestions?: WelcomeScreenSuggestion[];
478
+ placeholders?: string[];
479
+ setPlaceholders?: React.Dispatch<React.SetStateAction<string[]>>;
476
480
  onThumbsUp?: (message: AIMessage, { threadId, feedback }: {
477
481
  threadId: string;
478
482
  feedback: string;
@@ -1479,7 +1483,7 @@ declare interface ClockInGraphProps {
1479
1483
 
1480
1484
  declare type ClockInStatus = "clocked-in" | "break" | "clocked-out";
1481
1485
 
1482
- export declare const CoCreationForm: ({ elements: elementsProp, isEditMode, onChange, disallowOptionalQuestions, allowedQuestionTypes, }: CoCreationFormProps) => JSX_2.Element;
1486
+ export declare const CoCreationForm: ({ elements: elementsProp, isEditMode, onChange, disallowOptionalQuestions, allowedQuestionTypes, applyingChanges, }: CoCreationFormProps) => JSX_2.Element;
1483
1487
 
1484
1488
  export declare type CoCreationFormCallbacks = {
1485
1489
  onQuestionChange?: (params: OnChangeQuestionParams) => void;
@@ -1502,6 +1506,7 @@ export declare type CoCreationFormProps = {
1502
1506
  isEditMode?: boolean;
1503
1507
  disallowOptionalQuestions?: boolean;
1504
1508
  allowedQuestionTypes?: QuestionType[];
1509
+ applyingChanges?: boolean;
1505
1510
  };
1506
1511
 
1507
1512
  declare type ColId = string;
@@ -2502,6 +2507,7 @@ declare const defaultTranslations: {
2502
2507
  readonly placeholder: "Respondent's answer";
2503
2508
  };
2504
2509
  readonly labels: {
2510
+ readonly applyingChanges: "Applying changes";
2505
2511
  readonly endOfSection: "End of section";
2506
2512
  readonly title: "Title";
2507
2513
  readonly titlePlaceholder: "Question title";