@manojadams/metaforms-core
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -15,2 +15,5 @@ /// <reference types="react" /> | ||
export interface IFormRenderer extends IUISchema { | ||
baseFormControl?: Function; | ||
baseFormGroup?: Function; | ||
baseFormStepper?: Function; | ||
onError?: Function; | ||
@@ -17,0 +20,0 @@ onPrevious?: Function; |
@@ -16,3 +16,2 @@ /// <reference types="react" /> | ||
errorHandler: Function | undefined; | ||
componentMapper: Map<string, JSX.Element>; | ||
constructor(schema: ISchema, eventEmitter: EventEmitter); | ||
@@ -19,0 +18,0 @@ /** page functions */ |
/// <reference types="react" /> | ||
import { IError } from '../../constants/common-interface'; | ||
import MetaForm from '../../constants/MetaForm'; | ||
import { IConfig, IMeta } from '../../constants/model-interfaces'; | ||
export declare function MandatoryLabel(): JSX.Element; | ||
export declare function Search(props: IProps): JSX.Element; | ||
interface IProps { | ||
name: string; | ||
form: IMeta; | ||
variant: string; | ||
config: IConfig; | ||
label: string; | ||
loading: boolean; | ||
handleChange: Function; | ||
handleValidation: Function; | ||
context: MetaForm; | ||
section: string; | ||
error: IError; | ||
} | ||
export {}; |
@@ -5,2 +5,3 @@ import React from "react"; | ||
import { IError, IFormRenderer } from "./constants/common-interface"; | ||
import FormImpls from "./constants/FormImpls"; | ||
export default class FormRenderer extends React.Component<IFormRenderer> { | ||
@@ -10,2 +11,3 @@ schema: ISchema; | ||
metaform: MetaForm; | ||
formImpls: FormImpls; | ||
constructor(props: IFormRenderer); | ||
@@ -12,0 +14,0 @@ componentDidMount(): void; |
{ | ||
"name": "@manojadams/metaforms-core", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "React Library for rendering dynamic forms from json schema", | ||
"author": "manojgetwealthy", | ||
"license": "MIT", | ||
"repository": "manojgetwealthy/metaform-core", | ||
"repository": "manojgetwealthy/metaforms-core", | ||
"main": "dist/index.js", | ||
@@ -9,0 +9,0 @@ "module": "dist/index.modern.js", |
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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
557632
49
5633