@factorialco/f0-react 1.352.0 → 1.354.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.
@@ -491,6 +491,45 @@ export declare const defaultTranslations: {
491
491
  readonly customPromptPlaceholder: "What do you want to do?";
492
492
  };
493
493
  };
494
+ readonly forms: {
495
+ readonly actionBar: {
496
+ readonly unsavedChanges: "You have changes pending to be saved";
497
+ readonly discard: "Discard";
498
+ readonly issues: {
499
+ readonly one: "{{count}} issue";
500
+ readonly other: "{{count}} issues";
501
+ };
502
+ };
503
+ readonly validation: {
504
+ readonly required: "This field is required";
505
+ readonly invalidType: "Invalid value";
506
+ readonly string: {
507
+ readonly email: "Enter a valid email address";
508
+ readonly url: "Enter a valid URL";
509
+ readonly min: "Must be at least {{min}} characters";
510
+ readonly max: "Must be at most {{max}} characters";
511
+ };
512
+ readonly number: {
513
+ readonly min: "Must be at least {{min}}";
514
+ readonly max: "Must be at most {{max}}";
515
+ readonly positive: "Must be a positive number";
516
+ readonly negative: "Must be a negative number";
517
+ readonly integer: "Must be a whole number";
518
+ };
519
+ readonly date: {
520
+ readonly min: "Date must be after {{min}}";
521
+ readonly max: "Date must be before {{max}}";
522
+ readonly invalid: "Enter a valid date";
523
+ };
524
+ readonly array: {
525
+ readonly min: "Select at least {{min}} option";
526
+ readonly max: "Select at most {{max}} options";
527
+ };
528
+ readonly checkbox: {
529
+ readonly mustBeChecked: "This option must be selected";
530
+ };
531
+ };
532
+ };
494
533
  };
495
534
 
496
535
  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;
@@ -490,6 +490,45 @@ const e = {
490
490
  repeatButtonLabel: "Repeat",
491
491
  customPromptPlaceholder: "What do you want to do?"
492
492
  }
493
+ },
494
+ forms: {
495
+ actionBar: {
496
+ unsavedChanges: "You have changes pending to be saved",
497
+ discard: "Discard",
498
+ issues: {
499
+ one: "{{count}} issue",
500
+ other: "{{count}} issues"
501
+ }
502
+ },
503
+ validation: {
504
+ required: "This field is required",
505
+ invalidType: "Invalid value",
506
+ string: {
507
+ email: "Enter a valid email address",
508
+ url: "Enter a valid URL",
509
+ min: "Must be at least {{min}} characters",
510
+ max: "Must be at most {{max}} characters"
511
+ },
512
+ number: {
513
+ min: "Must be at least {{min}}",
514
+ max: "Must be at most {{max}}",
515
+ positive: "Must be a positive number",
516
+ negative: "Must be a negative number",
517
+ integer: "Must be a whole number"
518
+ },
519
+ date: {
520
+ min: "Date must be after {{min}}",
521
+ max: "Date must be before {{max}}",
522
+ invalid: "Enter a valid date"
523
+ },
524
+ array: {
525
+ min: "Select at least {{min}} option",
526
+ max: "Select at most {{max}} options"
527
+ },
528
+ checkbox: {
529
+ mustBeChecked: "This option must be selected"
530
+ }
531
+ }
493
532
  }
494
533
  };
495
534
  export {