@arudovwen/form-builder-react 1.6.3 → 1.6.4
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/README.md +5 -1
- package/dist/form-builder.es.js +1 -1
- package/dist/form-builder.umd.js +13 -13
- package/dist/{index-C1hmK0J7.js → index-Cr7HZu5N.js} +3145 -2976
- package/dist/{logic-flow-BjzG2Elt.js → logic-flow-CD82VQN6.js} +1 -1
- package/package.json +1 -1
- package/types/utils/default-templates.d.ts +70 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as fe, jsx as z, Fragment as Xe } from "react/jsx-runtime";
|
|
2
2
|
import Pt, { memo as de, useState as qe, useCallback as Ne, forwardRef as Fv, useRef as ie, useEffect as oe, useContext as kt, createContext as Un, useMemo as Ae, useLayoutEffect as R_ } from "react";
|
|
3
3
|
import "react-dom";
|
|
4
|
-
import { A as I_ } from "./index-
|
|
4
|
+
import { A as I_ } from "./index-Cr7HZu5N.js";
|
|
5
5
|
function he(e) {
|
|
6
6
|
if (typeof e == "string" || typeof e == "number") return "" + e;
|
|
7
7
|
let t = "";
|
package/package.json
CHANGED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
export declare const defaultTemplates: ({
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
description: string;
|
|
5
|
+
sections: {
|
|
6
|
+
id: string;
|
|
7
|
+
title: string;
|
|
8
|
+
description: string;
|
|
9
|
+
questionData: ({
|
|
10
|
+
id: string;
|
|
11
|
+
type: string;
|
|
12
|
+
label: string;
|
|
13
|
+
inputLabel: string;
|
|
14
|
+
inputType: string;
|
|
15
|
+
} | {
|
|
16
|
+
id: string;
|
|
17
|
+
type: string;
|
|
18
|
+
label: string;
|
|
19
|
+
inputLabel: string;
|
|
20
|
+
inputType?: undefined;
|
|
21
|
+
})[];
|
|
22
|
+
}[];
|
|
23
|
+
} | {
|
|
24
|
+
id: string;
|
|
25
|
+
name: string;
|
|
26
|
+
description: string;
|
|
27
|
+
sections: {
|
|
28
|
+
id: string;
|
|
29
|
+
title: string;
|
|
30
|
+
questionData: ({
|
|
31
|
+
id: string;
|
|
32
|
+
type: string;
|
|
33
|
+
label: string;
|
|
34
|
+
inputLabel: string;
|
|
35
|
+
inputType: string;
|
|
36
|
+
} | {
|
|
37
|
+
id: string;
|
|
38
|
+
type: string;
|
|
39
|
+
label: string;
|
|
40
|
+
inputLabel: string;
|
|
41
|
+
inputType?: undefined;
|
|
42
|
+
})[];
|
|
43
|
+
}[];
|
|
44
|
+
} | {
|
|
45
|
+
id: string;
|
|
46
|
+
name: string;
|
|
47
|
+
description: string;
|
|
48
|
+
sections: {
|
|
49
|
+
id: string;
|
|
50
|
+
title: string;
|
|
51
|
+
questionData: ({
|
|
52
|
+
id: string;
|
|
53
|
+
type: string;
|
|
54
|
+
label: string;
|
|
55
|
+
inputLabel: string;
|
|
56
|
+
inputType: string;
|
|
57
|
+
options?: undefined;
|
|
58
|
+
} | {
|
|
59
|
+
id: string;
|
|
60
|
+
type: string;
|
|
61
|
+
label: string;
|
|
62
|
+
inputLabel: string;
|
|
63
|
+
options: {
|
|
64
|
+
label: string;
|
|
65
|
+
value: string;
|
|
66
|
+
}[];
|
|
67
|
+
inputType?: undefined;
|
|
68
|
+
})[];
|
|
69
|
+
}[];
|
|
70
|
+
})[];
|