@arudovwen/form-builder-react 1.0.8 → 1.1.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.
- package/README.md +2 -0
- package/dist/form-builder.es.js +25 -17
- package/dist/form-builder.umd.js +21 -21
- package/dist/index.css +1 -1
- package/package.json +2 -2
- package/types/components/editor/element-canvas.d.ts +16 -16
- package/types/components/editor/layout.d.ts +9 -8
- package/types/components/editor/main.d.ts +4 -4
- package/types/components/editor/topbar.d.ts +3 -1
- package/types/components/elements/element-container.d.ts +13 -13
- package/types/components/elements/grid-input.d.ts +17 -17
- package/types/components/elements/multi-input-options.d.ts +13 -13
- package/types/components/elements/multi-input.d.ts +15 -15
- package/types/components/viewer/index.d.ts +16 -16
- package/types/components/viewer/multi-page.d.ts +5 -5
- package/types/components/viewer/single-page.d.ts +4 -4
- package/types/context/editor-context.d.ts +19 -19
- package/types/pages/builder/index.d.ts +3 -3
- package/types/pages/viewer/index.d.ts +11 -11
- package/types/utils/contants.d.ts +52 -52
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
export interface ElementType {
|
|
2
|
-
type: string;
|
|
3
|
-
label: string;
|
|
4
|
-
icon: string;
|
|
5
|
-
inputLabel: string;
|
|
6
|
-
required?: boolean;
|
|
7
|
-
inputType: string;
|
|
8
|
-
maxLength?: number | null;
|
|
9
|
-
minLength?: number | null;
|
|
10
|
-
placeholder?: string;
|
|
11
|
-
description?: string;
|
|
12
|
-
isReadOnly?: boolean;
|
|
13
|
-
isDisabled?: boolean;
|
|
14
|
-
isRequired?: boolean;
|
|
15
|
-
requiredMessage?: string;
|
|
16
|
-
minLengthMessage?: string;
|
|
17
|
-
maxLengthMessage?: string;
|
|
18
|
-
value?: any;
|
|
19
|
-
options?: Array<{
|
|
20
|
-
label: string;
|
|
21
|
-
value: any;
|
|
22
|
-
id: string;
|
|
23
|
-
}>;
|
|
24
|
-
columns?: number;
|
|
25
|
-
gridId?: string;
|
|
26
|
-
gridPosition?: Record<string, any>;
|
|
27
|
-
maxAmount?: number | null;
|
|
28
|
-
minAmount?: number | null;
|
|
29
|
-
minAmountMessage?: string;
|
|
30
|
-
maxAmountMessage?: string;
|
|
31
|
-
prefix?: string | null;
|
|
32
|
-
sectionId?: string;
|
|
33
|
-
url?: string;
|
|
34
|
-
method?: string;
|
|
35
|
-
denominators?: null;
|
|
36
|
-
responseType?: string;
|
|
37
|
-
headerClass?: string;
|
|
38
|
-
customClass?: string | null;
|
|
39
|
-
elementClass?: string;
|
|
40
|
-
}
|
|
41
|
-
export declare const Elements: ElementType[];
|
|
42
|
-
export declare const AllowValidationPrefix: string[];
|
|
43
|
-
export declare const AllowValidationMaxMin: string[];
|
|
44
|
-
export declare const AllowValidationPlaceholder: string[];
|
|
45
|
-
export declare const AllowValidationAmount: string[];
|
|
46
|
-
export declare const noAllowValidation: string[];
|
|
47
|
-
export declare const AllowOptions: string[];
|
|
48
|
-
export declare const AllowApiOptions: string[];
|
|
49
|
-
export declare const AllowTableOptions: string[];
|
|
50
|
-
export declare const AllowTextOptions: string[];
|
|
51
|
-
export declare const noAllowEdit: string[];
|
|
52
|
-
export declare const allowValue: string[];
|
|
1
|
+
export interface ElementType {
|
|
2
|
+
type: string;
|
|
3
|
+
label: string;
|
|
4
|
+
icon: string;
|
|
5
|
+
inputLabel: string;
|
|
6
|
+
required?: boolean;
|
|
7
|
+
inputType: string;
|
|
8
|
+
maxLength?: number | null;
|
|
9
|
+
minLength?: number | null;
|
|
10
|
+
placeholder?: string;
|
|
11
|
+
description?: string;
|
|
12
|
+
isReadOnly?: boolean;
|
|
13
|
+
isDisabled?: boolean;
|
|
14
|
+
isRequired?: boolean;
|
|
15
|
+
requiredMessage?: string;
|
|
16
|
+
minLengthMessage?: string;
|
|
17
|
+
maxLengthMessage?: string;
|
|
18
|
+
value?: any;
|
|
19
|
+
options?: Array<{
|
|
20
|
+
label: string;
|
|
21
|
+
value: any;
|
|
22
|
+
id: string;
|
|
23
|
+
}>;
|
|
24
|
+
columns?: number;
|
|
25
|
+
gridId?: string;
|
|
26
|
+
gridPosition?: Record<string, any>;
|
|
27
|
+
maxAmount?: number | null;
|
|
28
|
+
minAmount?: number | null;
|
|
29
|
+
minAmountMessage?: string;
|
|
30
|
+
maxAmountMessage?: string;
|
|
31
|
+
prefix?: string | null;
|
|
32
|
+
sectionId?: string;
|
|
33
|
+
url?: string;
|
|
34
|
+
method?: string;
|
|
35
|
+
denominators?: null;
|
|
36
|
+
responseType?: string;
|
|
37
|
+
headerClass?: string;
|
|
38
|
+
customClass?: string | null;
|
|
39
|
+
elementClass?: string;
|
|
40
|
+
}
|
|
41
|
+
export declare const Elements: ElementType[];
|
|
42
|
+
export declare const AllowValidationPrefix: string[];
|
|
43
|
+
export declare const AllowValidationMaxMin: string[];
|
|
44
|
+
export declare const AllowValidationPlaceholder: string[];
|
|
45
|
+
export declare const AllowValidationAmount: string[];
|
|
46
|
+
export declare const noAllowValidation: string[];
|
|
47
|
+
export declare const AllowOptions: string[];
|
|
48
|
+
export declare const AllowApiOptions: string[];
|
|
49
|
+
export declare const AllowTableOptions: string[];
|
|
50
|
+
export declare const AllowTextOptions: string[];
|
|
51
|
+
export declare const noAllowEdit: string[];
|
|
52
|
+
export declare const allowValue: string[];
|