finform-react-builder 1.6.2 → 1.7.1
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/components/FinForm/types.d.ts +4 -0
- package/dist/index.es.js +2770 -2725
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +28 -28
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -22,6 +22,7 @@ export interface ApiConfig {
|
|
|
22
22
|
}>;
|
|
23
23
|
dependsOn?: string;
|
|
24
24
|
conditional?: boolean;
|
|
25
|
+
passThroughFields?: string[];
|
|
25
26
|
}
|
|
26
27
|
export interface BaseField {
|
|
27
28
|
id?: string;
|
|
@@ -33,6 +34,7 @@ export interface BaseField {
|
|
|
33
34
|
required?: boolean;
|
|
34
35
|
disabled?: boolean;
|
|
35
36
|
copyWhenDisabled?: boolean;
|
|
37
|
+
passThroughFields?: string[];
|
|
36
38
|
helperText?: string;
|
|
37
39
|
validation?: ValidationRule;
|
|
38
40
|
step?: number;
|
|
@@ -106,6 +108,7 @@ export interface AutocompleteField extends BaseField {
|
|
|
106
108
|
multiple?: boolean;
|
|
107
109
|
freeSolo?: boolean;
|
|
108
110
|
filterOptions?: boolean;
|
|
111
|
+
selectedAssignments?: Record<string, string>;
|
|
109
112
|
api_endpoint?: string;
|
|
110
113
|
api_method?: 'GET' | 'POST' | 'PUT' | 'DELETE';
|
|
111
114
|
value_field?: string;
|
|
@@ -255,6 +258,7 @@ export interface FieldRendererProps {
|
|
|
255
258
|
baseUrl?: string;
|
|
256
259
|
apiHeaders?: Record<string, string>;
|
|
257
260
|
formData?: Record<string, any>;
|
|
261
|
+
setValue?: (name: string, value: any, options?: any) => void;
|
|
258
262
|
}
|
|
259
263
|
export interface StepNavigationProps {
|
|
260
264
|
currentStep: number;
|