@axdspub/axiom-ui-forms 0.1.2 → 0.1.3

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.
@@ -160,6 +160,14 @@ declare function getPathFromField(field: IFormField): string;
160
160
  declare const checkCondition: (field: IFormField, formValues: IFormValues) => boolean;
161
161
  declare function cleanUnusedDependenciesFromFormValues(form: IForm, formValues: IFormValues): IFormValues;
162
162
 
163
+ declare const FormCreator: ({ form, formValueState, note, error, onChange }: {
164
+ form: IForm;
165
+ formValueState: [IFormValues, (v: IFormValues) => void];
166
+ note?: string;
167
+ error?: string;
168
+ onChange?: IValueChangeFn;
169
+ }) => ReactElement;
170
+
163
171
  interface IFieldCreator {
164
172
  field: IFormField;
165
173
  form: IForm;
@@ -183,4 +191,4 @@ declare const LongStringInput: ({ field, onChange, value }: IFieldInputProps) =>
183
191
 
184
192
  declare const SingleSelectInput: ({ field, onChange, value }: IFieldInputProps) => ReactElement;
185
193
 
186
- export { BooleanInput, FieldCreator, type IBooleanField, type ICheckboxField, type ICompositeValueType, type IFieldInputProps, type IForm, type IFormField, type IFormFieldProps, type IFormFieldSection, type IFormFieldType, type IFormInputComponent, type IFormValues, type IFormWithPages, type IObjectField, type IPage, type IRadioField, type ISelectField, type IValueChangeFn, type IValueType, JSONStringInput, LongStringInput as LongTextInput, NumberInput, SingleSelectInput as SelectInput, StringInput as TextInput, addFieldPath, checkCondition, cleanUnusedDependenciesFromFormValues, copyAndAddPathToFields, getChildFields, getFieldValue, getFields, getPathFromField, getUniqueFormFields };
194
+ export { BooleanInput, FieldCreator, FormCreator, type IBooleanField, type ICheckboxField, type ICompositeValueType, type IFieldInputProps, type IForm, type IFormField, type IFormFieldProps, type IFormFieldSection, type IFormFieldType, type IFormInputComponent, type IFormValues, type IFormWithPages, type IObjectField, type IPage, type IRadioField, type ISelectField, type IValueChangeFn, type IValueType, JSONStringInput, LongStringInput as LongTextInput, NumberInput, SingleSelectInput as SelectInput, StringInput as TextInput, addFieldPath, checkCondition, cleanUnusedDependenciesFromFormValues, copyAndAddPathToFields, getChildFields, getFieldValue, getFields, getPathFromField, getUniqueFormFields };