@hievilmath/browser-formidavim 1.2.8 → 1.2.9

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.
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ import { FormComponent } from '../../../../../../axios/formidavim/src/index.ts';
3
+ export declare const Address: FC<{
4
+ formComponent: Partial<FormComponent>;
5
+ }>;
@@ -6,6 +6,7 @@ export interface DatePickerProps {
6
6
  propertyId: string;
7
7
  minDate?: string;
8
8
  maxDate?: string;
9
+ minAge?: number;
9
10
  }
10
11
  export declare const DatePickerInput: FC<{
11
12
  formComponent: Partial<FormComponent>;
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ import { FormComponent } from '../../../../../../axios/formidavim/src/index.ts';
3
+ export declare const Email: FC<{
4
+ formComponent: Partial<FormComponent>;
5
+ }>;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ import { FormComponent } from '../../../../../../axios/formidavim/src/index.ts';
3
+ export declare const Otp: React.FC<{
4
+ formComponent: Partial<FormComponent>;
5
+ }>;
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ import { FormComponent } from '../../../../../../axios/formidavim/src/index.ts';
3
+ export declare const Password: FC<{
4
+ formComponent: Partial<FormComponent>;
5
+ }>;
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ import { FormComponent } from '../../../../../../axios/formidavim/src/index.ts';
3
+ export declare const Phone: FC<{
4
+ formComponent: Partial<FormComponent>;
5
+ }>;
@@ -44,6 +44,7 @@ export declare const InlineLink: import('styled-components/dist/types').IStyledC
44
44
  }, TypographyBaseProps>> & string & Omit<import('react').ForwardRefExoticComponent<import('react-router-dom').LinkProps & import('react').RefAttributes<HTMLAnchorElement>>, keyof import('react').Component<any, {}, any>>;
45
45
  export declare const InlineA: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, TypographyBaseProps>> & string;
46
46
  export declare const InlineFormError: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, ErrorProps>> & string;
47
+ export declare const FormErrorWithIcon: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ErrorProps>> & string;
47
48
  export declare const FormErrorTitle: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, ErrorProps>> & string;
48
49
  export declare const InputSmallNote: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<Omit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof LegacyTypographyProps> & LegacyTypographyProps, "ref"> & {
49
50
  ref?: ((instance: HTMLParagraphElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLParagraphElement> | null | undefined;
@@ -0,0 +1,7 @@
1
+ export declare const domainList: string[];
2
+ export interface EmailValidationResult {
3
+ valid: boolean;
4
+ errorMsg: string;
5
+ suggestion: string;
6
+ }
7
+ export declare const isValidEmail: (email: string) => EmailValidationResult;
@@ -2,7 +2,7 @@ import { EvaluatedFormComponent } from '../components/FlowRenderer';
2
2
  /**
3
3
  * Validates that all required visible fields have values
4
4
  */
5
- export declare const validateRequiredFields: (evaluatedComponents: EvaluatedFormComponent[], getFlowValue: (field: string) => any) => boolean;
5
+ export declare const validateRequiredFields: (evaluatedComponents: EvaluatedFormComponent[], getFlowValue: (field: string) => any, getFlowError: (field: string) => any) => boolean;
6
6
  /**
7
7
  * Get all required components that are currently visible
8
8
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hievilmath/browser-formidavim",
3
- "version": "1.2.8",
3
+ "version": "1.2.9",
4
4
  "main": "./index.js",
5
5
  "module": "./index.mjs",
6
6
  "typings": "./index.d.ts",