@form-extendable/lib
Advanced tools
Comparing version 0.1.48 to 0.1.49
/// <reference types="react" /> | ||
import { IFormFieldValidationError } from './IErrors'; | ||
import { THeading } from './IHeading'; | ||
@@ -6,3 +7,5 @@ export interface IFieldProps<V, H extends THeading<V> = THeading<V>> { | ||
value: V; | ||
error?: IFormFieldValidationError; | ||
onChange: (v: V | null) => void; | ||
onBlur: () => void; | ||
additionalData: any; | ||
@@ -15,2 +18,3 @@ disableAutoFill?: boolean; | ||
onChange: (v: V | null) => void; | ||
onBlur: () => void; | ||
additionalData?: any; | ||
@@ -23,1 +27,8 @@ inputTypeOverride?: ''; | ||
export declare type TFieldReactComponent<V, H extends THeading<V>> = React.FC<IFieldComponentProps<V, H>>; | ||
export interface IFieldStatus { | ||
isValid: boolean; | ||
isDirty: boolean; | ||
isTouched: boolean; | ||
isRequired: boolean; | ||
isDisabled: boolean; | ||
} |
@@ -8,1 +8,2 @@ export * from './IField'; | ||
export * from './IPopupProps'; | ||
export { EFormValidationError, IFormFieldValidationError } from './IErrors'; |
@@ -17,2 +17,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.EFormValidationError = void 0; | ||
__exportStar(require("./IField"), exports); | ||
@@ -25,2 +26,4 @@ __exportStar(require("./IHeading"), exports); | ||
__exportStar(require("./IPopupProps"), exports); | ||
var IErrors_1 = require("./IErrors"); | ||
Object.defineProperty(exports, "EFormValidationError", { enumerable: true, get: function () { return IErrors_1.EFormValidationError; } }); | ||
//# sourceMappingURL=index.js.map |
@@ -0,1 +1,2 @@ | ||
import { IFormFieldValidationError } from './IErrors'; | ||
import { THeading } from './IHeading'; | ||
@@ -6,3 +7,5 @@ | ||
value: V; | ||
error?: IFormFieldValidationError; | ||
onChange: (v: V | null) => void; | ||
onBlur: () => void; | ||
additionalData: any; | ||
@@ -16,2 +19,3 @@ disableAutoFill?: boolean; | ||
onChange: (v: V | null) => void; | ||
onBlur: () => void; | ||
additionalData?: any; | ||
@@ -23,3 +27,6 @@ inputTypeOverride?: ''; | ||
export type IFieldComponentProps <V, H extends THeading<V>> = IFieldComponentPropsBase<V> & H; | ||
export type IFieldComponentProps< | ||
V, | ||
H extends THeading<V> | ||
> = IFieldComponentPropsBase<V> & H; | ||
@@ -29,1 +36,9 @@ export type TFieldReactComponent<V, H extends THeading<V>> = React.FC< | ||
>; | ||
export interface IFieldStatus { | ||
isValid: boolean; | ||
isDirty: boolean; | ||
isTouched: boolean; | ||
isRequired: boolean; | ||
isDisabled: boolean; | ||
} |
@@ -8,1 +8,2 @@ export * from './IField'; | ||
export * from './IPopupProps'; | ||
export { EFormValidationError, IFormFieldValidationError } from './IErrors'; |
{ | ||
"name": "@form-extendable/lib", | ||
"version": "0.1.48", | ||
"version": "0.1.49", | ||
"homepage": "https://bit.cloud/samnbuk/form-extendable/lib", | ||
@@ -9,3 +9,3 @@ "main": "dist/index.js", | ||
"name": "lib", | ||
"version": "0.1.48" | ||
"version": "0.1.49" | ||
}, | ||
@@ -12,0 +12,0 @@ "dependencies": { |
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
34342
43
779
0