@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.
- package/library/axiom-ui-forms.d.ts +9 -1
- package/library/index.js +305 -253
- package/library/index.js.map +1 -1
- package/library/umd.js +599 -546
- package/library/umd.js.map +1 -1
- package/package.json +1 -1
- package/rollup.config.mjs +10 -0
- package/src/Form/index.ts +1 -0
@@ -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 };
|