@manojadams/metaforms-core
Advanced tools
Comparing version 4.0.5 to 4.0.6
@@ -116,2 +116,3 @@ import { SyntheticEvent } from "react"; | ||
baseFormWizard?: typeof BaseFormWizard; | ||
loader?: JSX.Element; | ||
/** | ||
@@ -165,2 +166,3 @@ * Basic inputs params | ||
onSubmitError?: (params: IEventPayload) => void; | ||
setLoading?: (isLoading: boolean) => void; | ||
} | ||
@@ -167,0 +169,0 @@ export declare type TComponent<T> = (props: T) => JSX.Element; |
@@ -109,2 +109,6 @@ import { IFieldConfig, TCondition, TFieldRef } from "./common-interface"; | ||
gapY?: number; | ||
loader?: { | ||
color?: string; | ||
enabled?: boolean; | ||
}; | ||
} | ||
@@ -111,0 +115,0 @@ export interface IFormConfig { |
@@ -8,4 +8,5 @@ import React from "react"; | ||
interface IState { | ||
error: IError; | ||
isLoading: boolean; | ||
validated: boolean; | ||
error: IError; | ||
} | ||
@@ -32,4 +33,5 @@ /** | ||
handleNext(): Promise<boolean | void>; | ||
handleSubmit(...params: Array<unknown>): Promise<void>; | ||
handleSubmit(...params: Array<unknown>): Promise<boolean | void>; | ||
setLoading(isLoading: boolean): void; | ||
} | ||
export {}; |
@@ -21,6 +21,2 @@ import { IForm, IFormData, IFormField, IFormSection, IRequestBody } from "../constants/common-interface"; | ||
static getBase64(file?: File): Promise<unknown>; | ||
static getFileValue(name: string, file: File | null, isBlob: boolean): Promise<{ | ||
[x: string]: unknown; | ||
name: string; | ||
} | null>; | ||
static getFormFieldValue(formField: IFormField): Promise<string | number | boolean | { | ||
@@ -27,0 +23,0 @@ [x: string]: unknown; |
{ | ||
"name": "@manojadams/metaforms-core", | ||
"version": "4.0.5", | ||
"version": "4.0.6", | ||
"description": "React Library for rendering dynamic forms from json schema", | ||
@@ -5,0 +5,0 @@ "author": "manojadams", |
@@ -5,3 +5,3 @@ # metaform-core | ||
## Change logs | ||
- [enhancement #75: add support for uploading multiple files](https://github.com/manojadams/metaforms-core/issues/75) | ||
- [feature #78: add loader for next and submit actions](https://github.com/manojadams/metaforms-core/issues/78) | ||
@@ -8,0 +8,0 @@ ## Introduction |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1064805
9282