@factorialco/f0-react 1.371.1 → 1.372.1

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/f0.d.ts CHANGED
@@ -2542,6 +2542,8 @@ export declare const defaultTranslations: {
2542
2542
  readonly forms: {
2543
2543
  readonly actionBar: {
2544
2544
  readonly unsavedChanges: "You have changes pending to be saved";
2545
+ readonly saving: "Saving...";
2546
+ readonly saved: "Your changes have been saved";
2545
2547
  readonly discard: "Discard";
2546
2548
  readonly issues: {
2547
2549
  readonly one: "{{count}} issue";
@@ -4071,6 +4073,8 @@ declare interface F0FormSubmitConfigBase {
4071
4073
  * - IconType: custom icon
4072
4074
  */
4073
4075
  icon?: IconType | null;
4076
+ /** Label shown in the action bar while submitting (defaults to i18n "forms.actionBar.saving") */
4077
+ savingMessage?: string;
4074
4078
  }
4075
4079
 
4076
4080
  /**
@@ -4078,6 +4082,8 @@ declare interface F0FormSubmitConfigBase {
4078
4082
  */
4079
4083
  export declare type F0FormSubmitResult = {
4080
4084
  success: true;
4085
+ /** Optional message shown in the action bar after successful submission */
4086
+ message?: string;
4081
4087
  } | {
4082
4088
  success: false;
4083
4089
  /** Root error message displayed at the top of the form */
@@ -7777,11 +7783,6 @@ declare module "gridstack" {
7777
7783
  }
7778
7784
 
7779
7785
 
7780
- declare namespace Calendar {
7781
- var displayName: string;
7782
- }
7783
-
7784
-
7785
7786
  declare module "@tiptap/core" {
7786
7787
  interface Commands<ReturnType> {
7787
7788
  aiBlock: {
@@ -7813,10 +7814,8 @@ declare module "@tiptap/core" {
7813
7814
 
7814
7815
  declare module "@tiptap/core" {
7815
7816
  interface Commands<ReturnType> {
7816
- videoEmbed: {
7817
- setVideoEmbed: (options: {
7818
- src: string;
7819
- }) => ReturnType;
7817
+ transcript: {
7818
+ insertTranscript: (data: TranscriptData) => ReturnType;
7820
7819
  };
7821
7820
  }
7822
7821
  }
@@ -7824,8 +7823,15 @@ declare module "@tiptap/core" {
7824
7823
 
7825
7824
  declare module "@tiptap/core" {
7826
7825
  interface Commands<ReturnType> {
7827
- transcript: {
7828
- insertTranscript: (data: TranscriptData) => ReturnType;
7826
+ videoEmbed: {
7827
+ setVideoEmbed: (options: {
7828
+ src: string;
7829
+ }) => ReturnType;
7829
7830
  };
7830
7831
  }
7831
7832
  }
7833
+
7834
+
7835
+ declare namespace Calendar {
7836
+ var displayName: string;
7837
+ }