@arudovwen/form-builder-react 1.9.14 → 1.9.15
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/form-builder-react.css +1 -1
- package/dist/form-builder.es.js +1 -1
- package/dist/form-builder.umd.js +15 -15
- package/dist/{index-B84gL1zr.js → index-C5vp0-9z.js} +3133 -3078
- package/dist/{logic-flow-Dydg7dis.js → logic-flow-C_LivZrL.js} +1 -1
- package/package.json +1 -1
- package/types/assets/svgs/check.d.ts +3 -0
- package/types/components/viewer/index.d.ts +1 -0
- package/types/demo-data.d.ts +34 -0
- package/types/pages/viewer/index.d.ts +2 -1
|
@@ -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-
|
|
4
|
+
import { A as Ia } from "./index-C5vp0-9z.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
|
@@ -24,6 +24,7 @@ export interface FormRendererProps {
|
|
|
24
24
|
showResults?: boolean;
|
|
25
25
|
hideInputsOnResults?: boolean;
|
|
26
26
|
sendHiddenSectionsAsEmpty?: boolean;
|
|
27
|
+
preview?: boolean;
|
|
27
28
|
}
|
|
28
29
|
declare const _default: React.NamedExoticComponent<FormRendererProps>;
|
|
29
30
|
export default _default;
|
package/types/demo-data.d.ts
CHANGED
|
@@ -1913,6 +1913,16 @@ export declare const demoAnswerData: ({
|
|
|
1913
1913
|
};
|
|
1914
1914
|
dateFormat?: undefined;
|
|
1915
1915
|
};
|
|
1916
|
+
} | {
|
|
1917
|
+
id: string;
|
|
1918
|
+
sectionId: string;
|
|
1919
|
+
type: string;
|
|
1920
|
+
value: number;
|
|
1921
|
+
files: any;
|
|
1922
|
+
metaData: {
|
|
1923
|
+
responseObject?: undefined;
|
|
1924
|
+
dateFormat?: undefined;
|
|
1925
|
+
};
|
|
1916
1926
|
} | {
|
|
1917
1927
|
id: string;
|
|
1918
1928
|
sectionId: string;
|
|
@@ -1927,6 +1937,30 @@ export declare const demoAnswerData: ({
|
|
|
1927
1937
|
};
|
|
1928
1938
|
dateFormat?: undefined;
|
|
1929
1939
|
};
|
|
1940
|
+
} | {
|
|
1941
|
+
id: string;
|
|
1942
|
+
sectionId: string;
|
|
1943
|
+
type: string;
|
|
1944
|
+
value: {
|
|
1945
|
+
base64: string;
|
|
1946
|
+
type: string;
|
|
1947
|
+
name: string;
|
|
1948
|
+
}[];
|
|
1949
|
+
files: any;
|
|
1950
|
+
metaData: {
|
|
1951
|
+
responseObject?: undefined;
|
|
1952
|
+
dateFormat?: undefined;
|
|
1953
|
+
};
|
|
1954
|
+
} | {
|
|
1955
|
+
id: string;
|
|
1956
|
+
sectionId: string;
|
|
1957
|
+
type: string;
|
|
1958
|
+
value: string[];
|
|
1959
|
+
files: any;
|
|
1960
|
+
metaData: {
|
|
1961
|
+
responseObject?: undefined;
|
|
1962
|
+
dateFormat?: undefined;
|
|
1963
|
+
};
|
|
1930
1964
|
} | {
|
|
1931
1965
|
id: string;
|
|
1932
1966
|
sectionId: string;
|
|
@@ -20,5 +20,6 @@ export interface RenderProps {
|
|
|
20
20
|
showResults?: boolean;
|
|
21
21
|
hideInputsOnResults?: boolean;
|
|
22
22
|
sendHiddenSectionsAsEmpty?: boolean;
|
|
23
|
+
preview?: boolean;
|
|
23
24
|
}
|
|
24
|
-
export default function Viewer({ answerData, form_data, ignoreValidation, onSubmit, isReadOnly, loading, config, renderType, children, hideFooter, onGetValues, uploadUrl, pollResults, showResults, hideInputsOnResults, sendHiddenSectionsAsEmpty, }: RenderProps): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export default function Viewer({ answerData, form_data, ignoreValidation, onSubmit, isReadOnly, loading, config, renderType, children, hideFooter, onGetValues, uploadUrl, pollResults, showResults, hideInputsOnResults, sendHiddenSectionsAsEmpty, preview, }: RenderProps): import("react/jsx-runtime").JSX.Element;
|