@formkit/core
Advanced tools
Comparing version 1.0.0-beta.5-426c03a to 1.0.0-beta.5-6431f64
@@ -75,2 +75,12 @@ /** | ||
/** | ||
* Creates the initial value for a node based on the options passed in and the | ||
* type of the input. | ||
* @param options - | ||
* @param type - | ||
* @returns | ||
* @internal | ||
*/ | ||
export declare function createValue(options: FormKitOptions): unknown; | ||
/** | ||
* Deregister a node from the registry. | ||
@@ -326,2 +336,4 @@ * @param node - A node to remove | ||
off: (receipt: string) => void; | ||
pause: (node?: FormKitNode) => void; | ||
play: (node?: FormKitNode) => void; | ||
} | ||
@@ -451,2 +463,7 @@ | ||
/** | ||
* True when the input has completed its internal debounce cycle and the | ||
* value was committed to the form. | ||
*/ | ||
settled: boolean; | ||
/** | ||
* If the form has been submitted. | ||
@@ -485,2 +502,3 @@ */ | ||
[index: string]: unknown; | ||
__init?: boolean; | ||
} | ||
@@ -763,2 +781,6 @@ | ||
/** | ||
* Reset a node’s value back to its original value. | ||
*/ | ||
reset: () => FormKitNode; | ||
/** | ||
* Sets errors on the input, and optionally, and child inputs. | ||
@@ -1131,2 +1153,11 @@ */ | ||
/** | ||
* Resets an input to it’s "initial" value — if the input is a group or list it | ||
* resets all the children as well. | ||
* @param id - The id of an input to reset | ||
* @returns | ||
* @public | ||
*/ | ||
export declare function reset(id: string | FormKitNode, resetTo?: unknown): FormKitNode | undefined; | ||
/** | ||
* Reports the global number of node registrations, useful for deterministic | ||
@@ -1133,0 +1164,0 @@ * node naming. |
{ | ||
"name": "@formkit/core", | ||
"version": "1.0.0-beta.5-426c03a", | ||
"version": "1.0.0-beta.5-6431f64", | ||
"type": "module", | ||
@@ -36,5 +36,5 @@ "description": "The framework agnostic core of FormKit", | ||
"dependencies": { | ||
"@formkit/utils": "1.0.0-beta.5-426c03a" | ||
"@formkit/utils": "1.0.0-beta.5-6431f64" | ||
}, | ||
"devDependencies": {} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
204419
6109
+ Added@formkit/utils@1.0.0-beta.5-6431f64(transitive)
- Removed@formkit/utils@1.0.0-beta.5-426c03a(transitive)