@factorialco/f0-react 1.372.0 → 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/{DataCollectionStorageProvider-ByGwhGvW.js → DataCollectionStorageProvider-P3r2oy3e.js} +16883 -18057
- package/dist/{F0AiChat-DWvnnMvo.js → F0AiChat-CDAHnaiX.js} +304 -304
- package/dist/{F0HILActionConfirmation-DVSBJ87p.js → F0HILActionConfirmation-DK9urnzZ.js} +1 -1
- package/dist/ai.d.ts +2 -0
- package/dist/ai.js +2 -2
- package/dist/experimental.d.ts +13 -56
- package/dist/experimental.js +1471 -1531
- package/dist/f0.d.ts +6 -0
- package/dist/f0.js +6222 -4944
- package/dist/i18n-provider-defaults.d.ts +2 -0
- package/dist/i18n-provider-defaults.js +2 -0
- package/dist/styles.css +1 -1
- package/package.json +1 -1
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 */
|