@factorialco/f0-react 1.388.3 → 1.389.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.
@@ -439,6 +439,8 @@ export declare const defaultTranslations: {
439
439
  readonly deleteQuestion: "Delete question";
440
440
  readonly duplicateSection: "Duplicate section";
441
441
  readonly deleteSection: "Delete section";
442
+ readonly confirmMoveLastQuestion: "Move question";
443
+ readonly cancelMoveLastQuestion: "Cancel";
442
444
  };
443
445
  readonly questionTypes: {
444
446
  readonly section: "Section";
@@ -450,6 +452,7 @@ export declare const defaultTranslations: {
450
452
  readonly numeric: "Numeric";
451
453
  readonly link: "Link";
452
454
  readonly date: "Date";
455
+ readonly dropdownSingle: "Dropdown";
453
456
  };
454
457
  readonly selectQuestion: {
455
458
  readonly addOption: "Add option";
@@ -476,6 +479,8 @@ export declare const defaultTranslations: {
476
479
  readonly questionOptions: "Question options";
477
480
  readonly actions: "Actions";
478
481
  readonly sectionTitlePlaceholder: "Section title";
482
+ readonly lastQuestionDialogTitle: "Remove last question from section";
483
+ readonly lastQuestionDialogDescription: "Moving this question will leave the section empty and it will be removed. Do you want to continue?";
479
484
  };
480
485
  };
481
486
  readonly richTextEditor: {
@@ -640,6 +645,11 @@ declare module "gridstack" {
640
645
  }
641
646
 
642
647
 
648
+ declare namespace Calendar {
649
+ var displayName: string;
650
+ }
651
+
652
+
643
653
  declare module "@tiptap/core" {
644
654
  interface Commands<ReturnType> {
645
655
  aiBlock: {
@@ -652,8 +662,9 @@ declare module "@tiptap/core" {
652
662
 
653
663
  declare module "@tiptap/core" {
654
664
  interface Commands<ReturnType> {
655
- moodTracker: {
656
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
665
+ enhanceHighlight: {
666
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
667
+ clearEnhanceHighlight: () => ReturnType;
657
668
  };
658
669
  }
659
670
  }
@@ -661,9 +672,8 @@ declare module "@tiptap/core" {
661
672
 
662
673
  declare module "@tiptap/core" {
663
674
  interface Commands<ReturnType> {
664
- enhanceHighlight: {
665
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
666
- clearEnhanceHighlight: () => ReturnType;
675
+ moodTracker: {
676
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
667
677
  };
668
678
  }
669
679
  }
@@ -687,8 +697,3 @@ declare module "@tiptap/core" {
687
697
  };
688
698
  }
689
699
  }
690
-
691
-
692
- declare namespace Calendar {
693
- var displayName: string;
694
- }
@@ -438,7 +438,9 @@ const e = {
438
438
  duplicateQuestion: "Duplicate question",
439
439
  deleteQuestion: "Delete question",
440
440
  duplicateSection: "Duplicate section",
441
- deleteSection: "Delete section"
441
+ deleteSection: "Delete section",
442
+ confirmMoveLastQuestion: "Move question",
443
+ cancelMoveLastQuestion: "Cancel"
442
444
  },
443
445
  questionTypes: {
444
446
  section: "Section",
@@ -449,7 +451,8 @@ const e = {
449
451
  longText: "Long text",
450
452
  numeric: "Numeric",
451
453
  link: "Link",
452
- date: "Date"
454
+ date: "Date",
455
+ dropdownSingle: "Dropdown"
453
456
  },
454
457
  selectQuestion: {
455
458
  addOption: "Add option",
@@ -475,7 +478,9 @@ const e = {
475
478
  questionType: "Question type",
476
479
  questionOptions: "Question options",
477
480
  actions: "Actions",
478
- sectionTitlePlaceholder: "Section title"
481
+ sectionTitlePlaceholder: "Section title",
482
+ lastQuestionDialogTitle: "Remove last question from section",
483
+ lastQuestionDialogDescription: "Moving this question will leave the section empty and it will be removed. Do you want to continue?"
479
484
  }
480
485
  },
481
486
  richTextEditor: {