@arudovwen/form-builder-react 1.8.7 → 1.8.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.
@@ -1,7 +1,7 @@
1
1
  import { jsxs as ce, jsx as D, Fragment as De } from "react/jsx-runtime";
2
2
  import ht, { memo as le, useState as xe, useCallback as we, forwardRef as Oo, useRef as ne, useEffect as ie, useContext as gt, createContext as fn, useMemo as be, useLayoutEffect as Aa } from "react";
3
3
  import "react-dom";
4
- import { A as Ia } from "./index-BUUkbgGD.js";
4
+ import { A as Ia } from "./index-BTXex7Qy.js";
5
5
  function ue(e) {
6
6
  if (typeof e == "string" || typeof e == "number") return "" + e;
7
7
  let t = "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arudovwen/form-builder-react",
3
- "version": "1.8.7",
3
+ "version": "1.8.9",
4
4
  "description": "A React-based form builder component library.",
5
5
  "type": "module",
6
6
  "main": "./dist/form-builder.umd.js",
@@ -12,5 +12,5 @@ interface CustomSearchSelectProps {
12
12
  name: string;
13
13
  customClass?: string;
14
14
  }
15
- export default function CustomSearchSelect({ options, apiUrl, value, defaultValue, onGetValue, readOnly, name, customClass }: CustomSearchSelectProps): import("react/jsx-runtime").JSX.Element;
15
+ export default function CustomSearchSelect({ options, apiUrl, value, defaultValue, onGetValue, readOnly, name, customClass, }: CustomSearchSelectProps): import("react/jsx-runtime").JSX.Element;
16
16
  export {};
@@ -1,4 +1,4 @@
1
- declare const FileReaderComponent: ({ setValue, name, isFloating, label, type, }: {
1
+ declare const FileReaderComponent: ({ setValue, name, label, type, }: {
2
2
  setValue: (e: string, n: any) => void;
3
3
  name: string;
4
4
  isFloating?: boolean;
@@ -15,5 +15,5 @@ interface PhoneInputProps {
15
15
  onChange?: (val: string) => void;
16
16
  onError?: (err: string | null) => void;
17
17
  }
18
- export default function PhoneInput({ label, placeholder, classLabel, isRequired, isOptional, name, value, error, disabled, readOnly, horizontal, description, validate, onChange, onError, }: PhoneInputProps): import("react/jsx-runtime").JSX.Element;
18
+ export default function PhoneInput({ label, placeholder, classLabel, isRequired, isOptional, name, value, error, disabled, readOnly, horizontal, description, onChange, onError, }: PhoneInputProps): import("react/jsx-runtime").JSX.Element;
19
19
  export {};
@@ -1,3 +1 @@
1
- import React from "react";
2
- export declare const elementMap: Record<string, React.FC<any>>;
3
1
  export declare const RenderElement: (element: any, sectionId: string) => import("react/jsx-runtime").JSX.Element;
@@ -11,6 +11,7 @@ type SignDocumentProps = {
11
11
  validationData: {
12
12
  register?: (id: string) => any;
13
13
  isReadOnly?: boolean;
14
+ setValue?: (id: string, value: any) => void;
14
15
  };
15
16
  };
16
17
  export default function SignDocument({ element, validationData, }: SignDocumentProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import React from "react";
2
+ export declare const elementMap: Record<string, React.FC<any>>;
@@ -1,4 +1 @@
1
- export default function SectionInput({ element, state, }: {
2
- element: string;
3
- state: string;
4
- }): import("react/jsx-runtime").JSX.Element;
1
+ export default function SectionInput(): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,3 @@
1
- export declare const getElementOptions: (element: any, options: any) => any;
2
1
  export default function SinglePage({ form_data, options }: {
3
2
  form_data: any;
4
3
  options: any;
@@ -0,0 +1 @@
1
+ export declare const getElementOptions: (element: any, options: any) => any;